/* --- 基本スタイル & 変数定義 --- */
:root {
    --primary-color: #ffcce0;
    /* ソフトピンク */
    --secondary-color: #cce0ff;
    /* ソフトブルー */
    --accent-color: #fffacd;
    /* ライトイエロー */
    --text-color: #555;
    /* 少し柔らかいテキスト色 */
    --text-dark: #333;
    --heading-color: #4a4a4a;
    /* 見出しの色 */
    --bg-color: #fff8fC;
    /* ごく薄いピンク背景 */
    --border-color: #eee;
    --button-hover-bg: #ffe0f0;
    /* ボタンホバー時のピンク */
    --card-bg: #ffffff;
    --success-color: #a0e7a0;
    /* ソフトグリーン */
    --shadow-light: 0 6px 20px rgba(200, 200, 230, 0.15);
    /* 柔らかい影 */
    --shadow-hover: 0 10px 25px rgba(180, 180, 220, 0.25);
    --border-radius-medium: 12px;
    --border-radius-large: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* 滑らかなトランジション */
    --font-family-sans: 'Noto Sans JP', sans-serif;
    --font-family-rounded: 'M PLUS Rounded 1c', sans-serif;
}

/* --- グローバルスタイル --- */
body {
    font-family: var(--font-family-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    /* 背景色変更 */
    margin: 0;
    padding: 0;
    line-height: 1.8;
    /* 行間広め */
    font-size: 16px;
}

#container {
    /* 必要であればコンテナ全体のスタイル */
}

/* --- サイト共通ヘッダー (既存のスタイルを尊重しつつ微調整) --- */
.site-header {
    background-color: #fff;
    border-bottom: 1px dashed var(--primary-color);
    /* 区切り線をピンクの点線に */
}

#headernav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    /* サイト共通の幅に合わせる */
    margin: 0 auto;
    padding: 10px 20px;
}

#headernav .logo img {
    height: 40px;
    /* ロゴサイズ調整 */
}

#headernav nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    /* メニュー間隔 */
}

#headernav nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

#headernav nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

#headernav nav a:hover,
#headernav nav a.active {
    color: var(--primary-color);
}

#headernav nav a:hover::after,
#headernav nav a.active::after {
    width: 100%;
}

/* ハンバーガーメニューアイコンのスタイルは既存のJS/CSSで対応想定 */
#menu-icon {
    display: none;
    /* PCでは非表示 */
    /* ... ハンバーガーメニューのスタイル ... */
}

/* --- LP固有コンテンツ --- */
.lp-content {
    max-width: 900px;
    /* LPのコンテンツ幅 */
    margin: 40px auto;
    padding: 0 20px;
}

/* --- LPヘッダー --- */
.lp-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    /* グラデーション背景 */
    border-radius: var(--border-radius-large);
    color: #fff;
    box-shadow: var(--shadow-light);
}

.lp-header h1 {
    font-family: var(--font-family-rounded);
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    margin: 0;
    /* h1のデフォルトマージンをリセット */
}

/* --- セクション共通 --- */
.lp-content section {
    padding: 40px 30px;
    margin-bottom: 40px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-large);
    /* 角丸を大きく */
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.lp-content section:nth-child(odd) {
    background-color: #fff;
    /* 背景色の交互設定は一旦白で統一 */
}

.lp-content h2 {
    font-family: var(--font-family-rounded);
    font-size: 1.8rem;
    color: var(--primary-color);
    /* 見出しの色をピンクに */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.lp-content h2::after {
    content: '＊*';
    /* 装飾的な要素 */
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    /* 装飾の色をブルーに */
    opacity: 0.8;
}

.lp-content h3 {
    font-family: var(--font-family-rounded);
    font-size: 1.4rem;
    color: var(--secondary-color);
    /* 小見出しの色をブルーに */
    margin-bottom: 15px;
    font-weight: 700;
    padding-left: 10px;
    border-left: 4px solid var(--primary-color);
    /* 左ボーダーをピンクに */
}

.lp-content p {
    margin-bottom: 1.5em;
    /* 段落下の余白を少し広げる */
    line-height: 1.9;
    /* 行間をさらに広げる */
}

.lp-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5em;
}

.lp-content ul li {
    position: relative;
    padding-left: 28px;
    /* アイコンスペース */
    margin-bottom: 12px;
    /* リスト項目間の余白 */
}

.lp-content ul li::before {
    content: '\f00c';
    /* Font Awesome チェックマーク (例) */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    /* アイコン位置調整 */
    color: var(--success-color);
    /* アイコンの色をグリーンに */
    font-size: 1.1em;
}

/* 問題提起セクションのリスト */
#problem ul li::before {
    content: '\f059';
    /* Font Awesome 疑問符 */
    color: var(--primary-color);
    /* アイコンの色をピンクに */
}

/* メリットセクションのリスト */
#benefits ul li::before {
    content: '\f005';
    /* Font Awesome 星 */
    color: var(--accent-color);
    /* アイコンの色をイエローに */
    font-weight: 900;
    /* Solid スタイル */
}

#benefits h4+ul li::before {
    content: '\f14a';
    /* Font Awesome チェック四角 */
    color: var(--success-color);
    font-weight: 900;
}


/* Why This Book セクションのリスト */
#why ul li::before {
    content: '\f0a9';
    /* Font Awesome 右向き矢印 */
    color: var(--secondary-color);
    /* アイコンの色をブルーに */
}

/* 対象読者セクションのリスト */
#audience ul li::before {
    content: '\f007';
    /* Font Awesome ユーザー */
    color: var(--primary-color);
    /* アイコンの色をピンクに */
}


/* --- 書籍画像 --- */
#solution img {
    display: block;
    max-width: 300px;
    /* 画像サイズ調整 */
    margin: 20px auto 30px;
    /* 中央寄せと余白 */
    border-radius: var(--border-radius-medium);
    /* 角丸 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    /* 影 */
}

/* --- CTAボタン --- */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-color), #ffe08a);
    /* イエロー系グラデーション */
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    /* 角を丸く */
    font-weight: 700;
    font-size: 1.15em;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 15px rgba(255, 224, 138, 0.4);
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 20px rgba(255, 224, 138, 0.5);
    text-decoration: none;
    color: var(--text-dark);
}

#cta {
    text-align: center;
    background-color: var(--light-bg);
    /* CTAセクションの背景色 */
}

/* --- サイト共通フッター (既存のスタイルを尊重しつつ微調整) --- */
#footer_navi {
    background-color: #f8f8f8;
    /* フッターナビ背景色 */
    padding: 30px 0;
}

#footer_navi .container {
    max-width: 1100px;
    /* サイト共通の幅に合わせる */
    display: grid;
    /* レイアウト調整 (例) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

#footer_navi h3 {
    font-family: var(--font-family-rounded);
    color: var(--heading-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

/* 更新情報、コンテンツ一覧のスタイルは既存CSSをベースに調整 */
.news dl {
    /* 例 */
    font-size: 0.9em;
}

.news dt {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.news dd {
    margin-left: 0;
    margin-bottom: 10px;
}

.service-button-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-button-service {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button-service:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    text-decoration: none;
}

.cta-button-service .button-icon {
    margin-right: 5px;
}

.cta-button-service .arrow {
    margin-left: 5px;
    opacity: 0.7;
}


#footer_wrapper {
    background-color: var(--heading-color);
    /* フッター背景色 */
    color: #ccc;
    padding: 20px 0;
    font-size: 0.9em;
}

#footer {
    max-width: 1100px;
    /* サイト共通の幅に合わせる */
}

#footer ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

#footer li {
    display: inline-block;
    margin: 0 10px;
}

#footer a {
    color: #eee;
}

#footer a:hover {
    color: #fff;
}

.copyright {
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
}

.w3c-validator-img {
    /* W3Cバリデータ画像 */
    width: 88px;
    height: 31px;
    border: 0;
    vertical-align: middle;
    /* 中央揃え */
}

/* ページトップボタン */
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, background-color 0.3s;
    opacity: 0;
    /* 初期状態は非表示 (JSで制御) */
    visibility: hidden;
    /* 初期状態は非表示 (JSで制御) */
    z-index: 100;
}

.page-top:hover {
    background-color: #ff80ab;
    /* ホバー時の濃いピンク */
}

.page-top.show {
    /* JSで表示状態にするクラス */
    opacity: 1;
    visibility: visible;
}


/* --- レスポンシブ --- */
@media (max-width: 768px) {
    #headernav {
        padding: 10px 15px;
    }

    #headernav nav {
        display: none;
        /* スマホでは通常非表示 (JSで表示切替) */
        /* ... モバイルメニュー用のスタイル ... */
    }

    #menu-icon {
        display: block;
        /* スマホで表示 */
    }

    .lp-content {
        margin: 20px auto;
        padding: 0 15px;
    }

    .lp-header h1 {
        font-size: 1.8rem;
    }

    .lp-content section {
        padding: 30px 20px;
    }

    .lp-content h2 {
        font-size: 1.6rem;
    }

    .lp-content h3 {
        font-size: 1.3rem;
    }

    #solution img {
        max-width: 250px;
    }

    .cta-button {
        font-size: 1.05em;
        padding: 12px 30px;
    }

    #footer_navi .container {
        grid-template-columns: 1fr;
        /* スマホでは1列 */
    }

    #footer li {
        display: block;
        /* フッターリンクを縦並び */
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .lp-header h1 {
        font-size: 1.6rem;
    }

    .lp-content h2 {
        font-size: 1.4rem;
    }

    .lp-content h3 {
        font-size: 1.2rem;
    }

    .lp-content ul li {
        padding-left: 24px;
        margin-bottom: 10px;
    }

    .lp-content ul li::before {
        top: 5px;
        font-size: 1em;
    }

    .cta-button {
        font-size: 1em;
        padding: 10px 25px;
    }

    .page-top {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
        bottom: 15px;
        right: 15px;
    }
}

/* ページトップボタン表示用JS連携クラス (backtotop.jsがこのクラスを付与する想定) */
.page-top.show {
    opacity: 1;
    visibility: visible;
}