@charset "UTF-8";

/* --- 基本スタイル & 変数定義 --- */
:root {
    --primary-color: #4a6f8a;
    /* 落ち着いたブルーグレー */
    --secondary-color: #e1e8ed;
    /* 薄いブルーグレー */
    --accent-color: #f0ad4e;
    /* アクセントのオレンジ系 (任意) */
    --text-color: #333;
    --heading-color: #2c4353;
    /* やや濃いブルーグレー */
    --bg-color: #f8f9fa;
    /* 薄いグレー */
    --white: #ffffff;
    --link-hover-color: #3a586e;
    /* 少し濃いブルーグレー */
    --font-family-base: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    /* フォント指定変更 */
    --font-family-rounded: 'M PLUS Rounded 1c', sans-serif;
    --border-radius: 8px;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.3s ease-in-out;
}

/* --- グローバルリセット & 基本設定 --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    /* 行間を広めに */
    font-size: 16px;
}

#container {
    overflow-x: hidden;
    /* 横スクロール防止 */
}

/* --- 共通コンテナ --- */
.container {
    max-width: 1100px;
    /* サイト全体の最大幅 */
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    /* LPコンテンツ部分の最大幅 */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 共通タイポグラフィ --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-family-rounded);
    font-weight: 700;
    margin-bottom: 0.8em;
    color: var(--heading-color);
    line-height: 1.4;
    /* 見出しの行間調整 */
}

h1 {
    font-size: 2.1rem;
    /* 少し調整 */
    text-align: center;
    line-height: 1.3;
}

h2.section-title {
    /* LP内のセクションタイトル */
    font-size: 1.7rem;
    /* 少し調整 */
    text-align: center;
    margin-bottom: 1.5em;
    position: relative;
    padding-bottom: 0.6em;
}

h2.section-title::after {
    /* セクションタイトルの下線 */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.3rem;
    /* 少し調整 */
    color: var(--primary-color);
    /* メインカラー使用 */
    margin-top: 1.8em;
    /* 少し広めに */
    margin-bottom: 0.6em;
    border-left: 4px solid var(--primary-color);
    padding-left: 0.8em;
}

p {
    margin-bottom: 1.2em;
}

strong {
    font-weight: 700;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

ul,
ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

li {
    margin-bottom: 0.9em;
    /* 少し広めに */
}

/* --- 共通ヘッダー (site-header) --- */
.site-header {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    /* スクロール追従 */
    top: 0;
    z-index: 1000;
}

#headernav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

#headernav nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

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

#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::after,
#headernav nav a.active::after {
    width: 100%;
}

/* ハンバーガーメニューアイコン (JSで生成される要素のスタイル) */
#menu-icon {
    display: none;
    /* デフォルトは非表示 */
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1010;
}

#menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

#menu-icon span:nth-child(1) {
    top: 0px;
}

#menu-icon span:nth-child(2) {
    top: 9px;
}

#menu-icon span:nth-child(3) {
    top: 18px;
}

#menu-icon.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

#menu-icon.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

#menu-icon.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* --- ページヘッダー (page-header) --- */
.page-header {
    background-color: var(--secondary-color);
    padding: 30px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 0.3em;
}

.page-header h1 i {
    margin-right: 10px;
    color: var(--primary-color);
    /* アイコンの色を調整 */
}

.page-header p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* --- メインコンテンツ (main-content) --- */
.main-content {
    padding-top: 1px;
    /* 上マージン相殺対策 */
    padding-bottom: 1px;
    /* 下マージン相殺対策 */
}

.main-content section {
    padding: 50px 0;
    background-color: var(--white);
    margin-bottom: 35px;
    /* Space between sections */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.main-content section:nth-child(even) {
    /* セクション背景を交互に */
    background-color: var(--secondary-color);
}

.section-content {
    /* container-narrow で幅指定 */
}

/* --- LP固有セクションスタイル --- */

/* キャッチフレーズ */
.lp-catchphrase {
    text-align: center;
    padding: 40px 0;
    background-color: transparent;
    /* 背景なし */
    box-shadow: none;
    border-radius: 0;
}

.lp-catchphrase h1 {
    font-size: 2.3rem;
    /* 少し大きく */
    margin-bottom: 0.5em;
}

.lp-catchphrase h3 {
    font-size: 1.2rem;
    /* 少し小さく */
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1.5em;
    border-left: none;
    /* 左ボーダー削除 */
    padding-left: 0;
}

.lp-catchphrase .book-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
}

/* 問題提起 */
.problem-section {
    background-color: var(--secondary-color);
    /* 問題提起は薄い背景色 */
}

.problem-section ul {
    list-style: none;
    padding-left: 0;
}

.problem-section ul li {
    position: relative;
    padding-left: 2.2em;
    /* アイコンスペース */
    margin-bottom: 1em;
}

.problem-section ul li i {
    position: absolute;
    left: 0;
    top: 0.2em;
    color: #d9534f;
    /* 赤系のアイコン */
    font-size: 1.2em;
    width: 1.5em;
    text-align: center;
}

.problem-section .metaphor {
    /* 黒船の比喩 */
    font-style: italic;
    color: #666;
    margin-top: 1.5em;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    background-color: #fff;
    border-radius: 4px;
}

/* 解決策 (書籍画像) */
.solution-section {
    background-color: var(--white);
    /* 背景を白に */
}

.solution-section h3 {
    /* サブ見出し調整 */
    border-left: none;
    padding-left: 0;
    text-align: center;
    font-size: 1.4rem;
    margin-top: 1.5em;
}

.solution-section ul {
    list-style: disc;
    /* 通常のリストマーカー */
    padding-left: 1.5em;
}

.book-cover {
    display: block;
    max-width: 280px;
    width: 70%;
    height: auto;
    margin: 30px auto 40px auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.book-cover:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ベネフィット */
.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 1.2em;
    font-size: 1.05rem;
}

.benefits-list li i {
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 1.3em;
    width: 1.5em;
    text-align: center;
}

/* アイコンの色分け例 */
.icon-yellow {
    color: #f0ad4e;
}

.icon-purple {
    color: #9b59b6;
}

.icon-blue {
    color: #3498db;
}

.icon-teal {
    color: #1abc9c;
}

.icon-green {
    color: #2ecc71;
}

.icon-blue-gray {
    color: var(--primary-color);
}

/* 目次ハイライト */
.toc-section {
    background-color: var(--secondary-color);
}

.toc-section h3 {
    /* サブ見出し調整 */
    border-left: none;
    padding-left: 0;
    text-align: center;
}

.toc-highlight {
    background-color: var(--white);
    padding: 20px;
    /* 少し広めに */
    border-radius: 5px;
    margin-top: 1.5em;
    /* 少し広めに */
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.toc-highlight strong {
    color: var(--heading-color);
    font-weight: 700;
}

.toc-keywords {
    font-size: 0.9em;
    color: #555;
    margin-top: 1em;
    /* 少し広めに */
}

.toc-keywords i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* 読者の声 */
.voices-section {
    background-color: var(--white);
}

.voices-section blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    margin: 2em 0;
    /* 上下のマージンを広めに */
    padding: 20px 25px;
    /* パディング調整 */
    font-style: italic;
    border-radius: 0 5px 5px 0;
}

.voices-section blockquote p {
    margin-bottom: 0.8em;
    /* 少し広めに */
    font-size: 1.05rem;
}

.voices-section blockquote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 0.95em;
    /* 少し大きく */
    color: #777;
    margin-top: 15px;
}

/* ターゲット読者 */
.target-list {
    list-style: none;
    padding-left: 0;
}

.target-list li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 1em;
}

.target-list li i {
    position: absolute;
    left: 0;
    top: 0.15em;
    font-size: 1.2em;
    width: 1.5em;
    text-align: center;
}

/* アイコンの色分け例 */
.icon-pink {
    color: #e83e8c;
}

/* 信頼性 */
.reliability-section {
    background-color: var(--secondary-color);
}

.reliability-point {
    background-color: var(--white);
    padding: 18px 20px;
    /* パディング調整 */
    border-radius: 5px;
    margin-top: 1.5em;
    /* 少し広めに */
    border: 1px solid #ccc;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.reliability-point strong {
    color: var(--heading-color);
}

.reliability-point i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--white));
    /* グラデーション背景 */
    text-align: center;
}

.cta-button-wrapper {
    margin: 35px 0;
    /* 少し広めに */
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #3a586e);
    /* ブルーグレー系グラデーション */
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 15px rgba(74, 111, 138, 0.4);
    /* 影の色調整 */
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 20px rgba(74, 111, 138, 0.5);
    /* 影の色調整 */
    color: var(--white);
    text-decoration: none;
}

.cta-button i {
    margin-right: 10px;
}

.cta-button strong {
    /* ボタン内太字 */
    color: var(--white);
    font-weight: 700;
}

.book-info-footer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.book-info-footer p {
    margin-bottom: 0.3em;
}

/* AdSense */
.adsense-section {
    padding: 30px 0;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* --- 共通フッターナビ (footer_navi) --- */
#footer_navi {
    background-color: #f1f1f1;
    /* 少し濃い背景 */
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

#footer_navi .container {
    display: flex;
    justify-content: space-around;
    /* 要素を均等配置 */
    flex-wrap: wrap;
    /* 折り返し */
    gap: 30px;
}

#footer_navi h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
    border-left: none;
    /* 左ボーダー削除 */
    padding-left: 0;
}

.daisosha_service {
    flex-basis: 100%;
    /* スマホでは全幅 */
    text-align: center;
}

.service-button-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cta-button-service {
    display: inline-flex;
    /* アイコンとテキストを横並び */
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid #eee;
}

.cta-button-service:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    background-color: var(--secondary-color);
}

.cta-button-service .button-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

.cta-button-service .arrow {
    margin-left: 8px;
    font-size: 0.9em;
    opacity: 0.7;
}

/* 個別ボタン色 (任意) */
.cta-button-service.yamamoto {
    border-left: 4px solid #6f42c1;
}

.cta-button-service.gakushu {
    border-left: 4px solid #007bff;
}

.cta-button-service.takugaku {
    border-left: 4px solid #fd7e14;
}

.cta-button-service.fortunetelling {
    border-left: 4px solid #ffc107;
}

.cta-button-service.ai-consulting {
    border-left: 4px solid #17a2b8;
}

.cta-button-service.media {
    border-left: 4px solid #dc3545;
}

/* --- 共通フッター (footer_wrapper) --- */
#footer_wrapper {
    background-color: #343a40;
    /* 濃いグレー */
    color: #ccc;
    padding: 30px 0;
    font-size: 0.9rem;
}

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

#footer li {
    display: inline-block;
    margin: 0 10px;
    margin-bottom: 10px;
    /* 縦並び時のマージン */
}

#footer a {
    color: #ccc;
    text-decoration: none;
}

#footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

#footer .copyright {
    display: block;
    /* 改行させる */
    margin-top: 15px;
    font-size: 0.85rem;
    color: #aaa;
}

#footer .copyright a {
    color: #bbb;
}

/* --- ページトップボタン (page-top) --- */
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition-smooth);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    /* 初期状態は非表示 (JSで制御) */
}

.page-top:hover {
    opacity: 1;
    background-color: var(--link-hover-color);
    transform: scale(1.1);
    color: var(--white);
    text-decoration: none;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2.section-title {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* 少し調整 */

    .container,
    .container-narrow {
        padding: 0 15px;
    }

    /* ハンバーガーメニュー表示 */
    #menu-icon {
        display: block;
    }

    #headernav nav {
        display: none;
        /* JSで制御 */
        position: absolute;
        top: 60px;
        /* ヘッダーの高さに合わせる */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
    }

    #headernav nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    #headernav nav li {
        width: 100%;
        text-align: center;
    }

    #headernav nav a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }

    #headernav nav a::after {
        display: none;
    }

    /* スマホでは下線不要 */
    #headernav nav li:last-child a {
        border-bottom: none;
    }

    .lp-catchphrase h1 {
        font-size: 2rem;
    }

    .lp-catchphrase h3 {
        font-size: 1.1rem;
    }

    .book-cover {
        max-width: 220px;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 15px 35px;
    }

    #footer_navi .container {
        flex-direction: column;
        align-items: center;
    }

    .daisosha_service {
        flex-basis: auto;
        width: 100%;
    }
}

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

    h1 {
        font-size: 1.6rem;
    }

    h2.section-title {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    /* 少し調整 */

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

    .lp-catchphrase h3 {
        font-size: 1rem;
    }

    .main-content section {
        padding: 40px 0;
    }

    .book-cover {
        max-width: 180px;
    }

    .benefits-list li,
    .target-list li {
        padding-left: 1.8em;
        font-size: 1rem;
    }

    .benefits-list li i,
    .target-list li i {
        top: 0.2em;
        font-size: 1.1em;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .cta-button-service {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    #footer li {
        display: block;
        margin: 5px 0;
    }

    /* フッターリンクを縦並び */
    .page-top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
}