@charset "utf-8";

/* === SEO Page Intro Section (Orange Accent Version) === */
.seo_page_intro_section {
    background-color: #F8F8F8;
    /* Heroセクションと合わせた明るいライトグレー */
    color: #333333;
    /* 基本テキストカラー (Heroに合わせる) */
    overflow: hidden;
    padding: 130px 0 80px;
    position: relative;
}

/* Intro Section Background Elements (Heroのものを参考に調整) */
.intro_section_bg_elements {
    height: 100%;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.intro_bg_shape {
    opacity: 0.06;
    /* Heroより少し控えめに */
    position: absolute;
}

.intro_bg_shape.intro_shape_1 {
    background-color: rgba(255, 120, 0, 0.5);
    /* 淡いオレンジ系 */
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    /* より有機的な形 */
    height: 450px;
    left: -180px;
    top: 30px;
    transform: rotate(20deg);
    width: 450px;
}

.intro_bg_shape.intro_shape_2 {
    background-color: rgba(255, 160, 0, 0.4);
    /* 淡いオレンジ系 */
    border-radius: 40% 60% 70% 30% / 60% 50% 50% 40%;
    bottom: -120px;
    height: 380px;
    right: -150px;
    transform: rotate(-25deg);
    width: 380px;
}

.intro_bg_grid_overlay {
    /* Heroのグリッドパターンを参考に */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
    background-size: 20px 20px;
    /* グリッドサイズ調整 */
    height: 100%;
    left: 0;
    opacity: 0.8;
    /* Heroに合わせるか調整 */
    position: absolute;
    top: 0;
    width: 100%;
}


.intro_content_wrapper {
    margin: 0 auto;
    max-width: 1100px;
    /* 目次があるので少し広めでも良いが、Heroに合わせる */
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page_article_top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Heroのボーダー色に合わせる */
    margin-bottom: 40px;
    padding-bottom: 30px;
    text-align: left;
}

.article_main_title {
    color: #1A1A1A;
    /* Heroのメインタイトル色 */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.6em;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.article_publish_date {
    color: #777777;
    /* Heroのラベル色に合わせる */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.85em;
    margin-bottom: 25px;
}

.article_intro_text {
    color: #555555;
    /* Heroの導入文色 */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05em;
    line-height: 1.75;
}

.article_intro_text p {
    margin-bottom: 1em;
}

.article_intro_text p:last-child {
    margin-bottom: 0;
}

/* Table of Contents (Heroのカードデザインを参考に) */
.table_of_contents_nav {
    background-color: #FFFFFF;
    /* 不透明な白 */
    border-radius: 12px;
    /* Heroのカードと合わせる */
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Heroのカードと合わせる */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    /* Heroのカードより少し控えめな影 */
    padding: 25px 30px;
    margin-top: 30px;
}

.toc_header {
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Heroのカード内ボーダーに合わせる */
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.toc_icon {
    color: var(--dark-orange);
    /* アクセントカラー (オレンジ系) */
    height: 24px;
    width: 24px;
}

.toc_title {
    color: #1A1A1A;
    /* Heroのカードタイトル色 */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    /* Heroのカードタイトルに合わせて太く */
    margin: 0;
}

.toc_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc_item {
    margin-bottom: 8px;
}

.toc_item:last-child {
    margin-bottom: 0;
}

.toc_item_level_2 {
    margin-left: 20px;
}

.toc_link {
    color: var(--dark-orange);
    /* アクセントカラー (オレンジ系) */
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95em;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.toc_link:hover {
    color: #E66A00;
    /* 少し濃いオレンジ */
    text-decoration: underline;
}

.toc_item_level_2 .toc_link {
    color: #FFA500;
    /* サブ項目は少し明るいオレンジ */
    font-size: 0.9em;
}

.toc_item_level_2 .toc_link:hover {
    color: #E66A00;
}

/* === Responsive Adjustments for SEO Intro Section === */
@media (max-width: 768px) {
    .seo_page_intro_section {
        padding: 60px 0 40px;
    }

    .article_main_title {
        font-size: 2.1em;
    }

    .article_intro_text {
        font-size: 1em;
    }

    .toc_title {
        font-size: 1.2em;
    }

    .table_of_contents_nav {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .seo_page_intro_section {
        padding: 50px 0 30px;
    }

    .intro_content_wrapper {
        padding: 0 15px;
    }

    .article_main_title {
        font-size: 1.8em;
    }

    .toc_item_level_2 {
        margin-left: 15px;
    }
}