/* --- 基本スタイル & 変数定義 (daisoshaeducationalpublishing2.css と共通) --- */
:root {
    --primary-color: #3A7CA5;
    --secondary-color: #F7C5CC;
    --accent-color: #8A7E9A;
    --cta-color: #3A7CA5;
    --cta-hover-color: #2c5d8a;
    --text-color: #333333;
    --heading-color: #222222;
    --light-bg: #F5F5F5;
    --white: #ffffff;
    --border-color: #eee;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.1);
    --border-radius-small: 5px;
    --border-radius-medium: 12px;
    --border-radius-large: 20px;
    --transition-smooth: all 0.3s ease;
    --font-family-sans: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-family-rounded: 'M PLUS Rounded 1c', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.8;
    --content-max-width: 800px;
    --container-max-width: 1100px;
    --container-narrow-max-width: 960px;
}

/* --- グローバルスタイル (daisoshaeducationalpublishing2.css と共通) --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

#container {
    max-width: 100%;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: var(--container-narrow-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-rounded);
    color: var(--heading-color);
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.8em;
    font-weight: 700;
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 1.5em;
    /* h3の上のマージン調整 */
}

h4 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    color: var(--heading-color);
    font-weight: 700;
}

p {
    margin-bottom: 1.5em;
}

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

li {
    margin-bottom: 0.8em;
}

ul li::marker {
    color: var(--primary-color);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
}

section {
    padding: 60px 0;
    background-color: var(--white);
    margin-bottom: 1px;
}

/* --- 共通ヘッダー (daisoshaeducationalpublishing2.css と共通) --- */
.site-header {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

#headernav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#headernav .logo img {
    height: 45px;
    width: auto;
}

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

#headernav nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--border-radius-medium);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.95em;
    text-decoration: none;
}

#headernav nav a:hover,
#headernav nav a.active {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

#menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
}

#menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

#menu-icon.active span.first {
    transform: rotate(-45deg) translate(-5px, 6px);
}

#menu-icon.active span.second {
    opacity: 0;
}

#menu-icon.active span.third {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- ページヘッダー (daisoshaeducationalpublishing2.css と共通) --- */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.page-header h1 i {
    color: var(--white);
}

.page-header p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
}

/* --- メインコンテンツエリア --- */
.main-content {
    /* 必要に応じてパディングなど設定 */
}

/* --- LP固有セクション --- */

/* キャッチコピー */
.lp-catchphrase {
    background-color: var(--light-bg);
    padding: 50px 0;
    text-align: center;
}

.lp-catchphrase h1 {
    font-size: 2.4em;
    margin-bottom: 0.5em;
}

.lp-catchphrase h3 {
    font-size: 1.3em;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1.5em;
    margin-top: 0;
    /* 上マージンリセット */
}

/* 問題提起 */
.problem-section {
    background-color: var(--white);
}

.problem-section ul {
    list-style: none;
    padding-left: 0;
    max-width: 650px;
    margin: 20px auto 0;
}

.problem-section li {
    padding-left: 2.5em;
    position: relative;
    margin-bottom: 1.2em;
    font-size: 1.05em;
}

.problem-section li::before {
    content: "🤔";
    /* 絵文字変更 */
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 1.5em;
}

/* 解決策・書籍紹介 */
.solution-section {
    text-align: center;
    background-color: var(--light-bg);
}

.book-cover {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius-small);
}

.book-title {
    font-size: 1.5em;
    margin-top: 1em;
    font-weight: 700;
    color: var(--primary-color);
}


/* 特徴 (学習鑑賞の説明) */
.features-section {
    background-color: var(--white);
}

.features-section h3 {
    /* 「学習鑑賞ポートフォリオで実現すること」のスタイル */
    margin-top: 2em;
    /* 上マージン追加 */
    border-top: 1px dashed var(--border-color);
    /* 区切り線 */
    padding-top: 1.5em;
    /* 区切り線とのスペース */
}

.concept-list,
.process-list {
    /* 学習鑑賞の箇条書きスタイル */
    list-style: none;
    padding-left: 1.5em;
    /* インデント */
    margin-top: 1em;
    margin-bottom: 1.5em;
}

.concept-list li::before,
.process-list li::before {
    content: "✓";
    /* チェックマーク */
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}

.concept-list li,
.process-list li {
    margin-bottom: 0.6em;
}


/* ベネフィット */
.benefits-section {
    background-color: var(--light-bg);
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

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

.benefits-list li i.fas {
    position: absolute;
    left: 0;
    top: 0.2em;
    font-size: 1.4em;
    color: var(--primary-color);
    margin-right: 0;
    margin-left: 0;
    width: 1.5em;
    /* アイコン幅固定 */
    text-align: center;
}

/* 目次 */
.toc-section {
    background-color: var(--white);
}

.toc-details {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 25px 30px;
    background-color: var(--white);
}

.toc-details h4 {
    font-size: 1.1em;
    color: var(--primary-color);
    margin-top: 0.8em;
    /* マージン調整 */
    margin-bottom: 0.8em;
    padding-bottom: 0;
    /* 下線削除 */
    border-bottom: none;
    /* 下線削除 */
    text-align: left;
    position: relative;
    padding-left: 1.5em;
    /* アイコンスペース */
}

.toc-details h4::before {
    /* 章アイコン */
    content: "\f02d";
    /* Font Awesome book icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--accent-color);
    /* アイコン色変更 */
}

.toc-details h4:first-child {
    margin-top: 0;
}


/* ターゲット読者 */
.target-section {
    background-color: var(--light-bg);
}

.target-list {
    list-style: none;
    padding-left: 0;
}

.target-list li {
    margin-bottom: 1.5em;
    padding-left: 3em;
    position: relative;
    font-size: 1.05em;
}

.target-list li i.fas {
    position: absolute;
    left: 0;
    top: 0.15em;
    font-size: 1.6em;
    color: var(--primary-color);
    margin-right: 0;
    margin-left: 0;
    width: 1.5em;
    text-align: center;
}

.target-list li strong {
    display: block;
    margin-bottom: 0.2em;
}


/* 著者紹介 */
.author-section {
    background-color: var(--white);
}

/* CTA (Call to Action) */
.cta-section {
    background-color: var(--light-bg);
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-color);
}

.cta-button-wrapper {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cta-color);
    color: #FFFFFF;
    padding: 18px 40px;
    border-radius: var(--border-radius-large);
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(58, 124, 165, 0.3);
    width: auto;
    max-width: 450px;
    /* ボタン幅調整 */
}

.cta-button:hover {
    background-color: var(--cta-hover-color);
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(58, 124, 165, 0.4);
}

.cta-button i {
    margin-right: 10px;
    color: #FFFFFF;
    font-size: 1.1em;
}

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

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

.book-info-footer strong {
    color: var(--heading-color);
}


/* --- AdSense広告セクション (daisoshaeducationalpublishing2.css と共通) --- */
.adsense-section {
    padding: 30px 0;
    background-color: var(--white);
    text-align: center;
}

.adsense-section .container-narrow {
    /* 必要に応じて幅調整 */
}

/* --- 共通フッターナビゲーション (daisoshaeducationalpublishing2.css と共通) --- */
#footer_navi {
    background-color: var(--light-bg);
    padding: 50px 0;
}

#footer_navi .container {
    /* .container を適用 */
}

.daisosha_service {
    max-width: var(--container-narrow-max-width);
    margin: 0 auto;
}

.daisosha_service h3 {
    font-size: 1.4em;
    margin-bottom: 25px;
    color: var(--heading-color);
    text-align: center;
    font-weight: 700;
}

.service-button-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-button-service {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border-radius: var(--border-radius-medium);
    font-weight: 500;
    font-size: 0.95em;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
    color: var(--heading-color);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    text-align: center;
}

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

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

.cta-button-service .arrow {
    margin-left: auto;
    opacity: 0.6;
    font-size: 0.9em;
}

.cta-button-service.yamamoto {
    border-left: 4px solid var(--secondary-color);
}

.cta-button-service.gakushu {
    border-left: 4px solid var(--primary-color);
}

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

.cta-button-service.fortunetelling {
    border-left: 4px solid var(--accent-color);
}

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

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

/* --- 共通フッター (daisoshaeducationalpublishing2.css と共通) --- */
#footer_wrapper {
    background-color: var(--heading-color);
    color: #ccc;
    padding: 30px 0;
}

#footer {
    /* .container を適用 */
}

#footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer a {
    color: #eee;
    font-weight: 500;
    font-size: 0.9em;
    text-decoration: none;
}

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

#footer .copyright {
    width: 100%;
    font-size: 0.85em;
    margin-top: 15px;
    opacity: 0.8;
    text-align: center;
    color: #ccc;
}

#footer .copyright a {
    font-weight: normal;
    color: #eee;
}

#footer .copyright a:hover {
    color: var(--white);
}

#footer img {
    display: inline-block;
    vertical-align: middle;
}

/* --- ページトップへ戻るボタン (daisoshaeducationalpublishing2.css と共通) --- */
.page-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 100;
    display: none;
    text-align: center;
    line-height: 50px;
}

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

/* --- レスポンシブ対応 (daisoshaeducationalpublishing2.css と共通) --- */
@media screen and (max-width: 992px) {
    .page-header h1 {
        font-size: 2.2em;
    }

    .page-header p {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --font-size-base: 15px;
    }

    h1 {
        font-size: 1.9em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.3em;
    }

    section {
        padding: 40px 0;
    }

    #headernav {
        padding: 15px;
    }

    #headernav .logo {
        flex-basis: 80%;
    }

    #menu-icon {
        display: block;
        flex-basis: 15%;
        text-align: right;
    }

    #headernav nav {
        display: none;
        width: 100%;
        margin-top: 15px;
        background-color: white;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
    }

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

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

    #headernav nav a {
        display: block;
        padding: 12px;
        width: 90%;
        margin: 2px auto;
    }

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

    .lp-catchphrase h3 {
        font-size: 1.2em;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
        width: 90%;
        max-width: 350px;
        /* ボタン幅調整 */
        box-sizing: border-box;
    }

    .daisosha_service h3 {
        font-size: 1.3em;
    }

    .service-button-list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .cta-button-service {
        font-size: 0.9em;
        padding: 10px 12px;
    }

    #footer ul {
        gap: 10px 20px;
    }

    #footer a {
        font-size: 0.85em;
    }

    #footer .copyright {
        font-size: 0.8em;
    }

    .page-top {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.1em;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --font-size-base: 14px;
        --line-height-base: 1.7;
    }

    h1 {
        font-size: 1.7em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }

    .page-header h1 {
        font-size: 1.8em;
    }

    .page-header p {
        font-size: 1em;
    }

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

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

    .cta-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 1em;
    }

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

    .service-button-list {
        grid-template-columns: 1fr;
    }

    .toc-details h4 {
        padding-left: 1.2em;
        /* スマホでのアイコンスペース調整 */
    }

    .toc-details h4::before {
        left: 0;
    }

    .target-list li {
        padding-left: 2.5em;
    }

    .target-list li i.fas {
        font-size: 1.4em;
        width: 1.2em;
    }

}