/* 基本のリセットとフォント設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f4f7f9;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
}

/* コンテナのスタイリング */
.container {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* バナーセクション */
.banner {
  position: relative; /* 子要素の基準点になる */
  width: 100%;
  max-width: 1200px; /* 必要に応じて調整 */
  margin: 0 auto;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  display: block; /* 画像下の隙間を消す */
}

.banner-content {
  position: absolute;
  top: 50%; /* 上から50% */
  left: 50%; /* 左から50% */
  transform: translate(-50%, -50%); /* 自身のサイズ分戻して真ん中へ */
  
  color: #000000;
  text-align: center;
  text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.75); /* 文字を読みやすくする */
  width: 90%; /* スマホ対応用 */
}
.banner h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.banner p {
    font-size: 1rem;
    opacity: 0.9;
}

/* アクションエリア */
.actions {
    padding: 40px 20px;
    background-color: #9fa9b9;
}

/* ダウンロードボタン */
.btn.download-btn {
    display: inline-block;
    background-color: #142745;
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 124, 161, 0.3);
    margin-bottom: 20px;
}

.btn.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 98, 255, 0.4);
    background-color: #0056e0;
}

.btn.download-btn:active {
    transform: translateY(-1px);
}

.icon {
    margin-right: 8px;
}

/* プレビューリンク */
.sub-links {
    margin-top: 10px;
}

.link.preview-link {
    color: #171717;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.link.preview-link:hover {
    color: #333;
    border-bottom: 1px solid #333;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .banner h1 {
        font-size: 1.5rem;
    }
    .btn.download-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

