/* リセットCSSとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #004d99; /* 濃い青 (メインカラー) */
    --color-accent: #ff6600; /* オレンジ (CTAカラー) */
    --color-text-dark: #333333;
    --color-bg-light: #f8f8f8;
    --font-weight-bold: 700;
    --font-weight-extra: 900;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background-color: var(--color-primary);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 26px;
    font-weight: var(--font-weight-extra);
    color: white;
}

.header__cta-link {
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: var(--font-weight-bold);
    transition: background-color 0.3s;
}

.header__cta-link:hover {
    background-color: #e65c00;
}

/* メインセクション（ヒーローセクション） */
.hero-section {
    position: relative;
    padding: 80px 0;
    min-height: 70vh; /* 画面の高さに応じて調整 */
    display: flex;
    align-items: center;
}

/* 背景画像の設定 */
.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('firstimage.jpg'); /* **ここに用意した画像URLを挿入** */
    background-size: cover;
    background-position: center;
    /* 画像の上に薄いオーバーレイをかけ、文字を見やすくする */
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.55); /* 黒の半透明オーバーレイ */
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white; /* 背景が暗いため文字色を白に */
    max-width: 700px; /* コンテンツ幅を絞る */
    text-align: left; /* 左寄せに変更 */
}

/* 共感フレーズ */
.hero-content__lead-in {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.2); /* 目立たせるための薄い背景 */
    display: inline-block;
}

/* メインコピー (H1) */
.hero-content__headline {
    font-size: 48px;
    font-weight: var(--font-weight-extra);
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-content__headline .highlight {
    display: block; /* 強調部分を改行して大きく見せる */
    color: #ffd700; /* ゴールド系の黄色で強調 */
    font-size: 1.2em;
    margin-top: 5px;
}

/* サブコピー */
.hero-content__subcopy {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-content__subcopy strong {
    font-weight: var(--font-weight-bold);
    color: #ffcc99; /* 薄いオレンジで強調 */
}

/* メリット箇条書き */
.hero-content__benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.hero-content__benefits li {
    background-color: rgba(255, 255, 255, 0.9); /* 白背景で文字を際立たせる */
    color: var(--color-text-dark);
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-weight: var(--font-weight-bold);
    position: relative;
    padding-left: 35px;
}

.hero-content__benefits li::before {
    content: "💡"; /* アイコン */
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/* CTAエリア */
.cta-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 10px;
    padding: 20px;
    background-color: var(--color-accent);
    color: white;
    font-size: 24px;
    font-weight: var(--font-weight-extra);
    text-decoration: none;
    border-radius: 50px; /* 丸いボタン */
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.5);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(255, 102, 0, 0.6);
}

.cta-microcopy {
    font-size: 15px;
    color: white;
    margin-top: 5px;
}

/* フッター */
.footer {
    padding: 20px 0;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        min-height: 85vh;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content__headline {
        font-size: 36px;
    }
    
    .hero-content__headline .highlight {
        font-size: 1.1em;
    }

    .hero-content__subcopy {
        font-size: 18px;
    }
    
    .hero-content__benefits li {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .cta-button {
        font-size: 20px;
        padding: 15px;
    }
}