@charset "UTF-8";

/* ==========================================================================
   1. 基本リセット & 共通スタイル
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 
        "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "BIZ UDPGothic",
        Meiryo,
        sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fcfdfa;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 80px 0;
}
.section-lead {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* 共通見出し (h2) */
h2 {
    font-size: 2.8rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* カラー変数定義 */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --accent-color: #FF9800;
    --bg-light: #f4f9f4;
    --text-dark: #2c3e50;
}

/* 全体レスポンシブ共通 (スマホ・タブレット) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    section {
        padding: 45px 0 !important;
    }
    .container {
        padding: 0 16px !important;
    }
    h2 {
        font-size: 1.45rem !important;
        margin-bottom: 24px !important;
        line-height: 1.4 !important;
    }
    .section-lead {
        font-size: 0.95rem !important;
        margin-bottom: 25px !important;
        padding: 0 8px !important;
        text-align: left;
    }
}
@media (max-width: 375px) {
    h2 {
        font-size: 1.3rem !important;
    }
}


/* ==========================================================================
   2. ヘッダー & ナビゲーション (PC・スマホ対応)
   ========================================================================== */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    
    /* stickyからfixedに変更し、スマホのoverflow-xに邪魔されないようにする */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important; /* 他の要素（アニメーションなど）の下に隠れないよう最前面へ */
}

/* ヘッダーを固定したことで、直後のメインコンテンツ（ファーストビュー）が
   ヘッダーの下に潜り込んで隠れてしまうのを防ぐための余白調整 */
body {
    padding-top: 60px; /* ヘッダーの高さ分の隙間を空ける（PC・スマホ兼用） */
}

@media (max-width: 768px) {
    body {
        padding-top: 54px; /* スマホ時のヘッダーの高さに合わせて微調整 */
    }
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    box-sizing: border-box;
}

/* ロゴ */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo a {
    display: block;
    line-height: 0;
}
.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* PC版メニューレイアウト */
.nav-menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
    padding-bottom: 6px;
}
.nav-menu a:hover {
    color: var(--primary-color);
}

/* PC版：ホバー時の下線アニメーション */
.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-menu a:not(.nav-cta):hover::after {
    transform: scaleX(1);
}

/* PC版：CTAボタン */
.nav-menu a.nav-cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transition: all 0.2s ease;
    padding-bottom: 10px;
}
.nav-menu a.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.25);
}

/* ハンバーガーボタン (デフォルト非表示) */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 110;
    flex-shrink: 0;
}
.hamburger-btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}
.hamburger-btn span:nth-child(1) { top: 15%; transform: translateY(-50%); }
.hamburger-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-btn span:nth-child(3) { top: 85%; transform: translateY(-50%); }

/* スマホ・タブレット用ナビゲーション (max-width: 768px) */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 20px;
    }
    .logo-img {
        height: 28px;
        max-width: 180px;
    }
    .hamburger-btn {
        display: block;
    }
    .hamburger-btn.open span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .hamburger-btn.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.open span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    /* 全画面オーバーレイメニュー */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(244,249,244,0.98) 100%);
        backdrop-filter: blur(10px);
        padding: 100px 40px 40px 40px;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 105;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        opacity: 0;
        visibility: hidden;
    }
    .nav-menu.open {
        right: 0;
        opacity: 1;
        visibility: visible;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0 !important;
        width: 100%;
        max-width: 400px;
        padding: 0 20px !important;
    }
    .nav-menu li {
        width: 100%;
        text-align: left !important;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .nav-menu a {
        font-size: 1.2rem !important;
        font-weight: bold;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center;
        width: 100%;
        padding: 18px 0 !important;
        padding-left: 10px !important;
        color: var(--text-dark) !important;
        transition: all 0.2s ease;
        letter-spacing: 0.05em;
    }
    .nav-menu a:not(.nav-cta)::after {
        display: none !important;
    }
    .nav-menu a:not(.nav-cta):active {
        color: var(--primary-color) !important;
        background-color: rgba(76, 175, 80, 0.05);
    }
    .nav-icon {
        margin-right: 14px !important;
    }

    /* スマホ用メニュー内CTAボタン */
    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 30px;
    }
    .nav-menu a.nav-cta {
        background-color: var(--accent-color) !important;
        color: #fff !important;
        padding: 16px 30px !important;
        border-radius: 50px !important;
        font-size: 1.25rem !important;
        box-shadow: 0 8px 20px rgba(255, 152, 0, 0.25);
        text-align: center;
        justify-content: center !important;
        width: 100%;
        transform: none !important;
    }
}

/* ==========================================================================
   3. メインビジュアル (ヒーローセクション) — フルワイド・画像見切れ完全ゼロ版
   ========================================================================== */

/* カラー変数を上書き（ヒーロー用ブルー系） */
:root {
    --hero-blue:        #1565c0;
    --hero-blue-dark:   #0d47a1;
    --hero-blue-light:  #e3f2fd;
    --hero-blue-mid:    #90caf9;
    --hero-navy:        #0d2b5e;
}

/* ヒーローセクション全体：余白や干渉を完全にリセット */
.hero-section {
    background: var(--hero-blue-light);
    padding: 0 !important; /* 全体の共通paddingによる干渉をリセット */
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

/* 2カラムグリッド：左右の高さを完全に同期 */
.hero-grid {
    display: flex;
    align-items: stretch; /* 左右の高さを自動で一番高い方に揃える */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 左カラム：画像コンテナ（画面左端ぴったりに吸着） */
.hero-image-col {
    flex: 0 0 55%; /* 幅55%を固定 */
    width: 55%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    line-height: 0;
    display: flex;
    align-items: stretch; /* 画像をコンテナ全高に引き伸ばす（上下余白をなくす） */
    justify-content: flex-end; /* 画像を右（中央の境界線）に寄せる */
    /* ★重要：写真の左端の青空と全く同じ色を設定し、左右の隙間を自然に埋めて一体化させます */
    background-color: #98d0f5; 
}

/* 左カラムの中の画像：上下余白ゼロ・全高表示 */
.hero-image-col .hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    /* display は .hero-img-pc / .hero-img-sp クラスで制御するためここでは指定しない */
}

/* 右カラム：コンテンツ（画面右端ぴったりに吸着） */
.hero-content-col {
    flex: 0 0 45%; /* 幅45%を固定 */
    width: 45%;
    background: #f0f8ff;
    /* 画面端まで広がった際、文字が右の壁に張り付かないように右側の余白を広めに（8%）確保 */
    padding: 1.8rem 6% 1.8rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    box-sizing: border-box;
}

/* SEO用H1 */
.hero-h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hero-navy);
    letter-spacing: .08em;
    margin: 0;
}

/* タグライン */
.hero-tag {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--hero-blue-mid);
    border-radius: 99px;
    padding: 4px 14px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hero-blue);
    width: fit-content;
}

/* H2キャッチ */
.hero-h2 {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--hero-navy);
    line-height: 1.35;
    margin: 0;
    text-align: left;
}
.hero-h2::after { display: none; }
.hero-h2-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hero-blue);
    margin-top: 0.2rem;
}

/* 予約集中警告 */
.hero-warning {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff8e1;
    border-left: 3px solid #ffa000;
    border-radius: 0 6px 6px 0;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e65100;
    width: fit-content;
}

/* 信頼バッジ */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
.hero-trust span {
    background: #fff;
    border: 1px solid var(--hero-blue-mid);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hero-blue);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-trust span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21,101,192,.12);
}

/* 本文 */
.hero-desc {
    font-size: 0.88rem;
    color: #2a3a4a;
    line-height: 1.65;
    margin: 0;
}

/* CVコピー */
.hero-cv-copy {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hero-blue);
    margin: 0;
}

/* CTAボタン */
.hero-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0.1rem;
}
.btn-free {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(255,152,0,.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}
.btn-free:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,152,0,.4);
}
.btn-free.btn-sub {
    background-color: #fff;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: none;
}
.btn-free.btn-sub:hover {
    box-shadow: 0 4px 12px rgba(255,152,0,.2);
}

/* 下部バッジ帯（直下の要素との被りを防ぐ） */
.hero-badges {
    background: var(--hero-blue-dark);
    display: flex;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.hero-badge {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 16px 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    border-right: 1px solid rgba(255,255,255,.1);
    text-align: center;
}
.hero-badge:last-child { border-right: none; }
.hero-badge i { font-size: 1rem; flex-shrink: 0; }

/* ヒーロー：タブレット (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-h2 { font-size: 1.45rem; }
    .hero-content-col { padding: 1.8rem 4% 1.8rem 2rem; gap: 0.65rem; }
}

/* PC時：SP用画像を非表示、PC用画像を表示 */
.hero-image-col .hero-img-sp { display: none; }
.hero-image-col .hero-img-pc { display: block; }

/* ヒーロー：スマホ (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section { padding: 0 !important; }

    /* スマホ時は縦積みに切り替え */
    .hero-grid {
        display: block;
        width: 100% !important;
    }

    /* SP：画像カラムを全幅に、高さは画像の縦横比に自動追従 */
    .hero-image-col {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        max-height: none !important;
        background-color: transparent !important;
        display: block !important;
        line-height: 0;
    }

    /* PC用画像を非表示、SP用画像を表示 */
    .hero-image-col .hero-img-pc { display: none; }
    .hero-image-col .hero-img-sp {
        display: block;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* 右カラム（テキストエリア）：画像の下に縦積み */
    .hero-content-col {
        width: 100% !important;
        padding: 1.5rem 1.2rem 1.8rem;
        gap: 0.9rem;
        background: #f0f8ff;
    }

    /* SP時：画像に焼き込み済みの要素は非表示 */
    /* ※ h1・tag・h2・desc・cv-copy は画像内に含まれているため非表示 */
    .hero-h1     { display: none !important; }
    .hero-tag    { display: none !important; }
    .hero-h2     { display: none !important; }
    .hero-desc   { display: none !important; }
    .hero-cv-copy { display: none !important; }

    /* SP時：画像にない要素はテキストで表示・サイズ調整 */
    .hero-warning {
        font-size: 0.82rem;
        padding: 8px 12px;
        width: 100%;
        box-sizing: border-box;
    }
    .hero-trust {
        gap: 6px;
    }
    .hero-trust span {
        font-size: 0.82rem;
        padding: 5px 12px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    .btn-free {
        font-size: 1.05rem;
        padding: 14px 20px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* バッジ帯：SP時は2×2グリッド */
    .hero-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .hero-badge {
        font-size: 0.78rem;
        padding: 12px 6px;
        border-right: 1px solid rgba(255,255,255,.1);
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .hero-badge:nth-child(2) { border-right: none; }
    .hero-badge:nth-child(3),
    .hero-badge:nth-child(4) { border-bottom: none; }
    .hero-badge:nth-child(4) { border-right: none; }
}

@media (max-width: 375px) {
    .btn-free { font-size: 0.98rem; padding: 13px 16px; }
}

/* ==========================================================================
   新設：無料相談・お見積りセクション
   ========================================================================== */
.hero-cta-section {
    background-color: #f0f8ff; /* ヒーロー右カラムと同系の爽やかな背景色 */
    padding: 60px 0 !important;
    text-align: center;
}

/* 信頼バッジ（新セクション用：中央揃えに調整） */
.hero-cta-section .hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}
.hero-cta-section .hero-trust span {
    background: #fff;
    border: 1px solid var(--hero-blue-mid);
    border-radius: 99px;
    padding: 6px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hero-blue);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta-section .hero-trust span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21,101,192,.12);
}

/* 紹介本文 */
.hero-cta-section .hero-desc {
    font-size: 1.05rem;
    color: #2a3a4a;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

/* CVコピー */
.hero-cta-section .hero-cv-copy {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hero-blue);
    margin-bottom: 25px;
    text-align: center;
}

/* CTAボタンエリア */
.hero-cta-section .hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   新設セクション：スマホ対応（max-width: 768px）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* スマホ時、画像内に文字が焼き込まれている仕様に合わせて、
       新セクション内の全要素をスマホでもしっかり表示させます */
    .hero-cta-section .hero-h1,
    .hero-cta-section .hero-tag,
    .hero-cta-section .hero-h2,
    .hero-cta-section .hero-desc,
    .hero-cta-section .hero-cv-copy {
        display: block !important; /* 強制表示 */
    }

    .hero-cta-section {
        padding: 45px 0 !important;
    }
    
    .hero-cta-section .hero-trust {
        gap: 8px;
    }
    .hero-cta-section .hero-trust span {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    .hero-cta-section .hero-desc {
        font-size: 0.95rem !important;
        text-align: left; /* スマホでは左詰めで読みやすく */
        padding: 0 8px;
    }

    .hero-cta-section .hero-cv-copy {
        font-size: 1rem !important;
        padding: 0 8px;
    }

    .hero-cta-section .hero-btns {
        flex-direction: column;
        gap: 12px;
        padding: 0 8px;
    }
    .hero-cta-section .btn-free {
        font-size: 1.1rem;
        padding: 16px 20px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   4. お悩みセクション
   ========================================================================== */
/* セクション全体 */
.problem-section {
    padding: 0 !important;
    background: #f2f4f8;
}

/* ダークヘッダー帯 */
.problem-header {
    background: #1a2744;
    padding: 52px 20px 48px;
    text-align: center;
}
.problem-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f5a623;
    border: 1.5px solid #f5a623;
    border-radius: 99px;
    padding: 4px 20px;
    letter-spacing: .18em;
    margin-bottom: 18px;
}
.problem-box-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.55;
    margin: 0;
    text-align: center;
}
.problem-box-title::after { display: none; }

/* カードエリア */
.problem-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 52px 40px 56px;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    margin-bottom: 40px;
}

/* 各カード */
.problem-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    box-shadow: 0 2px 12px rgba(26,39,68,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26,39,68,0.13);
}

/* 円形画像ボックス（できる限り大きく） */
.problem-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    line-height: 0;
    box-shadow: 0 4px 16px rgba(26,39,68,0.12);
}
.problem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CASEラベル：画像の上にピルバッジとして表示 */
.problem-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f5a623;
    background: transparent;
    border: 1.5px solid #f5a623;
    padding: 3px 14px;
    border-radius: 99px;
    letter-spacing: .12em;
    white-space: nowrap;
    margin-bottom: 14px;
}

/* カード内テキスト */
.problem-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2744;
    line-height: 1.55;
    margin: 0;
}

/* まとめバナー */
.problem-summary {
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: #1a2744;
    padding: 18px 30px;
    border-radius: 10px;
    letter-spacing: 0.02em;
    line-height: 1.7;
}

/* スクロール出現アニメーション */
.js-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-left.is-active,
.js-fade-right.is-active {
    opacity: 1;
    transform: translateX(0);
}

/* お悩み：タブレット (max-width: 880px) */
@media (max-width: 880px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 24px;
    }
    .problem-body {
        padding: 40px 24px 48px;
    }
}

/* お悩み：スマホ (max-width: 768px) */
@media (max-width: 768px) {
    .problem-header {
        padding: 36px 20px 32px;
    }
    .problem-box-title {
        font-size: 1.4rem !important;
    }
    .problem-body {
        padding: 28px 16px 36px;
    }
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
        margin-bottom: 24px;
    }
    .problem-card {
        padding: 18px 12px 16px;
        border-radius: 12px;
    }
    .problem-img-box {
        margin-bottom: 12px;
    }
    .problem-text {
        font-size: 0.88rem;
    }
    .problem-summary {
        font-size: 0.9rem;
        padding: 14px 16px;
    }
}


/* ==========================================================================
   5. なぜ集まるのか
   ========================================================================== */
.reason-bg { 
    background-color: var(--bg-light); 
}
.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.reason-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.reason-img-box {
    width: 100%;
    height: auto;
    line-height: 0;
}
.reason-img {
    width: 100%;
    height: auto;
    display: block;
}
.alert-text {
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
    color: #c62828;
    font-size: 1.1rem;
}

/* ==========================================================================
   カメムシが集まる場所：ふわっと下からフェードインする動き
   ========================================================================== */

/* スクロール前：透明で、少し下に配置しておく */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* スクロール後（JavaScriptで .is-animated が付与されたとき） */
.js-fade-up.is-animated {
    opacity: 1;
    transform: translateY(0);
}

/* ─── オプション：カードが1つずつ順番にズレて出てくる演出（時間差設定） ─── */
.reason-grid .js-fade-up:nth-child(1) { transition-delay: 0s; }
.reason-grid .js-fade-up:nth-child(2) { transition-delay: 0.15s; }
.reason-grid .js-fade-up:nth-child(3) { transition-delay: 0.3s; }
.reason-grid .js-fade-up:nth-child(4) { transition-delay: 0.45s; }

/* なぜ集まるのか：レスポンシブ */
@media (max-width: 768px) {
    .alert-text {
        font-size: 0.9rem;
    }

}

@media (max-width: 520px) {
    .reason-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 20px;
    }
}


/* ==========================================================================
   6. 駆除vs予防 & 予防施工とは
   ========================================================================== */
.compare-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.compare-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px 25px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* ★当社の対策（recommend）：きつくない赤系（テラコッタ・コーラル）に変更 */
.compare-box.recommend {
    border: 2px solid #e55a43;
    background-color: #fffaf9; /* ほんのり薄い赤みのある白 */
    box-shadow: 0 6px 18px rgba(229, 90, 67, 0.15);
    
    /* アニメーションの仕込み */
    position: relative;
    z-index: 5;
    animation: entrance-bounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
               pulse-loop 2.5s infinite ease-in-out 0.8s;
}

/* ==========================================================================
   当社の対策：見出し文字（h3）のみを狙ってサイズ拡大
   ========================================================================== */

/* 「一般的な対策」の文字サイズは元のまま維持 */
.compare-box h3 {
    font-size: 1.15rem; /* 標準サイズに戻す */
    padding-bottom: 10px;
}

/* ★「当社の対策」の文字だけをガツンと大きく強調する */
.compare-box.recommend h3 {
    font-size: 1.55rem !important;   /* ★一般的な対策より圧倒的に大きくして目立たせる */
    font-weight: 800 !important;     /* ★文字を限界まで太くして存在感を出す */
    color: #e55a43 !important;       /* 上品な赤系 */
    border-bottom: 2px solid #e55a43 !important;
    letter-spacing: 0.05em !important; /* 文字の間隔を少し広げて、大見出しとしての風格を出す */
}

.flow-arrow {
    margin: 12px 0;
    font-weight: bold;
    color: #bbb;
    font-size: 1.2rem;
}

/* ★当社の対策 矢印：赤系に同期 */
.compare-box.recommend .flow-arrow {
    color: #e55a43;
}

.flow-step {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
}
.flow-step.gray-step {
    background: #e0e0e0;
    color: #666;
}

/* ★当社の対策 ステップ：きつくないコーラルレッドに変更 */
.compare-box.recommend .flow-step {
    background: #f6725c;
    color: #fff;
    font-weight: bold;
}

/* ─── 予防施工とは (4つの効果) ─── */
#about .container {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
}
.effect-box {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.effect-lead {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 25px;
}
.effect-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-dark);
}
.effect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}
.effect-img-box {
    width: 100%;
    max-width: 250px; 
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.effect-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.effect-card-text {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}
.caution {
    margin-top: 30px;
    text-align: center;
    font-size: 0.88rem;
    color: #666;
}

/* ─── アニメーションキーフレーム（JS不要・100%強制起動） ─── */
@keyframes entrance-bounce {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes pulse-loop {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 12px 24px rgba(229, 90, 67, 0.3); /* ★影の色も赤系に変更 */
    }
}

/* ==========================================================================
   レスポンシブ対応（整理整頓：ブレイクポイントの大きい順）
   ========================================================================== */

/* タブレット・PC中間層（画面幅1140px以下） */
@media (max-width: 1140px) {
    .effect-grid {
        gap: 20px;
    }
}

/* タブレット（画面幅960px以下） */
@media (max-width: 960px) {
    .effect-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* スマホ大（画面幅768px以下） */
@media (max-width: 768px) {
    .compare-container { 
        flex-direction: column; 
        align-items: center; 
    }
    .compare-box { 
        max-width: 100%; 
    }
    .effect-lead {
        font-size: 1rem;
    }
}

/* スマホ中（画面幅550px以下） */
@media (max-width: 550px) {
    .effect-box {
        padding: 25px 12px !important;
    }
    .effect-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 16px !important;
        margin-top: 20px !important;
    }
    .effect-img-box {
        width: 100% !important;
        max-width: 100% !important; /* 幅いっぱいに拡大 */
        height: auto !important;
        margin: 0 auto 10px !important;
    }
    .effect-card-text {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-top: 6px !important;
        font-weight: bold;
    }
    .effect-title {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }
    .effect-lead {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
}

/* スマホ小（画面幅480px以下）— 2列を維持したまま画像最大化 */
@media (max-width: 480px) {
    .effect-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 12px !important;
    }
    .effect-img-box {
        max-width: 100% !important;
    }
}


/* ==========================================================================
   7. 選ばれる理由 / こんな建物におすすめ
   ========================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary-color);
}
.card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* こんな建物におすすめ */
.building-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}
.building-tags span {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: bold;
}

/* 選ばれる理由 & 建物：レスポンシブ */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .card {
        padding: 20px !important;
    }
    .building-tags {
        gap: 10px !important;
        padding: 0 10px !important;
    }
    .building-tags span {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }
}

/* ==========================================================================
   施工事例セクション専用スタイル
   ========================================================================== */
.works-section {
    padding: 80px 0;
    background-color: #fcfdfa; /* 全体のベース背景色と合わせて自然に繋げます */
}
.works-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.works-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.works-card-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    text-align: left;
}
.works-images {
    display: flex;
    gap: 20px;
}
.works-img-box {
    flex: 1;
    position: relative;
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 15px;
    border: 1px solid #eee;
}
.works-img-box img {
    width: 100%;
    height: 240px; /* 画像の高さをお好みに応じて統一 */
    object-fit: cover;
    display: block;
}
.works-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 10;
}
.before-badge {
    background-color: #777; /* 施工前は落ち着いたグレー */
}
.after-badge {
    background-color: var(--primary-color); /* 施工後はブランドカラーの緑 */
}
.works-img-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    padding: 12px 12px 0 12px;
    text-align: left;
    margin: 0;
}

/* 施工事例：レスポンシブ対応（スマホ・タブレット） */
@media (max-width: 768px) {
    .works-section {
        padding: 45px 0 !important;
    }
    .works-card {
        padding: 20px 15px;
    }
    .works-card-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .works-images {
        flex-direction: column; /* スマホではBefore/Afterを縦並びにする */
        gap: 15px;
    }
    .works-img-box img {
        height: 180px; /* スマホ画面に合わせて画像の高さを少し縮小 */
    }
    .works-img-desc {
        font-size: 0.85rem;
        padding: 10px 10px 0 10px;
    }
}

/* ==========================================================================
   料金表セクション専用スタイル
   ========================================================================== */
.price-section {
    padding: 80px 0;
    background-color: var(--bg-light); /* 料金表との区切りをつけるため、薄い緑系の背景に */
}
.price-table-wrapper {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}
.price-table-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}
.price-table-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}
.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.price-card {
    background: var(--bg-light);
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 8px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-type {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-dark);
}
.price-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e65100;
}
.price-unit {
    font-size: 1rem;
    color: #333;
    font-weight: normal;
    margin-left: 2px;
}
.price-amount.price-estimate {
    font-size: 1.1rem;
    color: #555;
    background: #e0e0e0;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: bold;
}
.price-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
}

/* 料金表：レスポンシブ対応（スマホ・タブレット） */
@media (max-width: 768px) {
    .price-section {
        padding: 45px 0 !important; /* スマホ時のセクション余白共通値 */
    }
    .price-table-wrapper {
        padding: 30px 15px;
    }
    .price-grid {
        grid-template-columns: 1fr; /* 1列に縦並び */
        gap: 15px;
    }
    .price-card {
        padding: 15px 20px;
    }
    .price-type {
        font-size: 1rem;
    }
    .price-amount {
        font-size: 1.5rem;
    }
    .price-amount.price-estimate {
        font-size: 0.95rem;
        padding: 5px 10px;
    }
    .price-note {
        font-size: 0.85rem;
        margin-top: 20px;
        text-align: left;
        padding: 0 5px;
    }
}

/* 追加コンテンツの小見出し */
.price-section .sub-title {
    font-size: 1.35rem;
    color: var(--text-dark);
    text-align: center;
    margin: 55px 0 25px;
    font-weight: bold;
}

/* 1. 基本プランに含まれる安心の施工内容 */
.price-includes-box {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 35px 30px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.includes-item {
    display: flex;
    gap: 12px;
}
.includes-item .check-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.2;
    flex-shrink: 0;
}
.includes-item h4 {
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: left;
}
.includes-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* 2. 料金の具体例（モデルケース） */
.cases-flex {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.case-card {
    flex: 1;
    background-color: #fff;
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 12px;
    padding: 30px 25px 25px;
    position: relative;
    margin-top: 15px; /* バッジがはみ出るための余白 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.case-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background-color: var(--text-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 16px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.case-heading {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: left;
}
.case-details {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
}
.case-price-box {
    border-top: 1px dashed rgba(0,0,0,0.15);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.case-price-box .label {
    font-size: 0.85rem;
    color: #666;
    font-weight: bold;
}
.case-price-box .price {
    font-size: 1.65rem;
    font-weight: bold;
    color: #e65100;
}
.case-price-box .tax {
    font-size: 0.8rem;
    color: #444;
    font-weight: normal;
    margin-left: 2px;
}

/* 追加ボリューム分：レスポンシブ対応（スマホ・タブレット） */
@media (max-width: 860px) {
    .price-section .sub-title {
        font-size: 1.2rem;
        margin: 45px 0 20px;
    }
    .price-includes-box {
        padding: 25px 20px;
    }
    .includes-grid {
        grid-template-columns: 1fr; /* 縦1列に並び替え */
        gap: 22px;
    }
    .cases-flex {
        flex-direction: column; /* 縦1列に並び替え */
        gap: 40px; /* カード同士の間隔（バッジの衝突防止） */
    }
    .case-card {
        padding: 25px 20px 20px;
    }
    .case-heading {
        font-size: 1.1rem;
    }
    .case-price-box .price {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   8. おすすめ施工時期
   ========================================================================== */
.timing-box {
    background: linear-gradient(to bottom right, #ffffff, #fffde7);
    border: 2px solid #fff59d;
    padding: 50px 45px;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(230, 81, 0, 0.05);
    text-align: left;
}
.timing-lead {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
}
.timing-lead strong {
    color: #d32f2f;
    background: linear-gradient(transparent 60%, #ffeb3b 60%);
}
.timing-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #e65100;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 5px;
}
.timing-period-wrapper {
    text-align: center;
    margin: 10px 0 40px 0;
}
.timing-period {
    font-size: 2.8rem;
    font-weight: bold;
    color: #ffffff;
    background: #e65100;
    display: inline-block;
    padding: 12px 50px;
    border-radius: 50px;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
}

/* 1. 生態サイクル */
.timing-cycle {
    margin: 40px 0;
}
.timing-cycle h3 {
    font-size: 1.25rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}
.cycle-intro {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}
.cycle-timeline-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.cycle-card {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 25px 15px;
    box-sizing: border-box;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.cycle-badge {
    display: inline-block;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 20px;
    margin: 0 auto 15px auto;
    flex-shrink: 0;
}
.cycle-content {
    text-align: left;
}
.cycle-content h4 {
    font-size: 1.05rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}
.cycle-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.card-spring { border: 2px solid #81c784; }
.card-spring .cycle-badge {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}
.card-spring h4 { color: #2e7d32; }

.card-summer { border: 2px solid #ffb74d; }
.card-summer .cycle-badge {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffb74d;
}
.card-summer h4 { color: #e65100; }

/* 9月〜11月の強調カード */
.cycle-card.item-highlight {
    flex: 1.15;
    padding: 35px 20px;
    border: 4px solid #b71c1c;
    background: #fffde7;
    box-shadow: 0 10px 25px rgba(183, 28, 28, 0.15);
    min-height: 290px;
    z-index: 2;
}
.cycle-card.item-highlight .cycle-badge {
    background: #b71c1c;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 900;
    padding: 8px 24px;
    border-radius: 25px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(183, 28, 28, 0.35);
    margin-bottom: 20px;
}
.cycle-card.item-highlight h4 {
    color: #b71c1c;
    font-size: 1.15rem;
    line-height: 1.4;
}
.cycle-card.item-highlight .sub-title {
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 3px;
}
.cycle-card.item-highlight p {
    font-size: 0.95rem;
    color: #111;
}
.cycle-card.item-highlight strong {
    color: #d32f2f;
}

/* 2. なぜこの時期なのかの解説エリア */
.timing-reason {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 6px solid #e65100;
    padding: 30px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 35px;
    text-align: left;
}
.timing-reason h3 {
    font-size: 1.2rem;
    color: #e65100;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.timing-reason h3::before {
    content: "💡";
    font-size: 1.3rem;
}
.reason-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.reason-list li {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
}
.reason-list li:last-child {
    margin-bottom: 0;
}
.reason-list li::before {
    content: "✓";
    position: absolute;
    left: 2px;
    top: 2px;
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.2rem;
}
.reason-list strong {
    color: #111;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 4px;
}
.timing-sub-info {
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #666;
    text-align: left;
    margin-bottom: 40px;
}
.timing-footer {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.7;
    border-top: 1px dashed #ccc;
    padding-top: 30px;
    margin-bottom: 0;
    text-align: center;
}

/* おすすめ施工時期：レスポンシブ */
@media (max-width: 768px) {
    .timing-box {
        padding: 30px 15px !important;
    }
    .timing-period {
        font-size: 1.8rem !important;
        letter-spacing: 1px !important;
    }
    .cycle-timeline-flex {
        flex-direction: column;
        gap: 20px;
    }
    .cycle-card {
        width: 100%;
        min-height: auto !important;
        padding: 25px 15px;
    }
    .cycle-card.item-highlight {
        flex: none;
        padding: 30px 15px;
    }
}
@media (max-width: 500px) {
    .timing-period {
        font-size: 1.8rem;
        padding: 8px 25px;
    }
}


/* ==========================================================================
   9. 施工の流れ（PCのみ右向き三角、スマホは三角なし版）
   ========================================================================== */
.step-list {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}
.step-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px 15px;
    border-radius: 6px;
    flex: 1;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* PC版の三角マークの位置基準 */
}
.step-num {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}
.step-name {
    font-weight: bold;
    font-size: 1.05rem;
    margin-bottom: 15px;
}
.step-item img {
    width: 100%;
    max-width: 160px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    margin-top: auto;
}

/* ─── PC版：ステップの間の右向き三角（目立つ丸付き矢印デザイン） ─── */
.step-item:not(:last-child)::after {
    content: "▶"; 
    position: absolute;
    right: -20px;            /* 位置をカードとカードのちょうど中間に微調整 */
    top: 50%;
    transform: translateY(-50%); 
    z-index: 2;

    /* ★目立たせるためのスタイル変更 */
    font-size: 14px;         /* 矢印自体の大きさ */
    color: #fff;             /* 矢印の色を白抜きに */
    font-weight: bold;       /* 矢印をくっきり太く */
    
    /* ★背景にメインカラー（またはアクセントカラー）の丸を敷く */
    background-color: var(--primary-color); /* テーマの緑（お好みでオレンジ等に変更可） */
    width: 28px;             /* 丸の横幅 */
    height: 28px;            /* 丸の高さ */
    border-radius: 50%;      /* きれいな正円にする */
    
    /* ★丸のなかの矢印をど真ん中に配置する設定 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 2px;        /* 右向き矢印がちょっと左に寄るのを中央に微調整 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 矢印の丸に軽い立体感を出す影 */
}

/* --------------------------------------------------------------------------
   施工の流れ：レスポンシブ（スマホ表示・三角マークなしですっきり縦並び）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    .step-item {
        height: auto !important;
        min-height: 0 !important;
        padding: 18px 15px !important; 
        display: block !important;
        text-align: center !important;
        margin-bottom: 15px !important; /* カードとカードの間の程よい隙間 */
    }

    /* ─── ★スマホ版：PC版の右向き三角を完全に非表示（消去）にする ─── */
    .step-item::after {
        display: none !important;
    }

    /* テキストとイラストのスマホ調整 */
    .step-num {
        display: inline-block !important;
        margin-right: 5px !important;
        margin-bottom: 0 !important;
    }
    .step-name {
        display: inline-block !important;
        margin-bottom: 12px !important;
    }
    .step-item img {
        width: 100% !important;
        max-width: 200px !important;  
        height: auto !important;      
        object-fit: contain !important;
        display: block !important;
        margin: 4px auto 0 !important; 
    }
}

/* ==========================================================================
   10. よくある質問 (FAQ)
   ========================================================================== */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
.faq-q {
    background: var(--bg-light);
    padding: 18px 25px;
    font-weight: bold;
    color: var(--primary-dark);
    border-bottom: 1px solid #eaeaea;
}
.faq-a {
    padding: 18px 25px;
}

/* FAQ：レスポンシブ */
@media (max-width: 768px) {
    .faq-q, .faq-a {
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
    }
}


/* ==========================================================================
   11. お問い合わせ & フッター
   ========================================================================== */
.contact-section {
    background-color: var(--text-dark);
    color: #fff;
    text-align: center;
}
.contact-section h2 {
    color: #fff;
}
.contact-section h2::after {
    background-color: var(--accent-color);
}
.contact-lead {
    margin-bottom: 35px;
    font-size: 1.1rem;
}
.contact-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin: 0 auto;
}
.c-btn {
    display: block;
    padding: 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.2s;
}
.btn-tel { background-color: #25d366; color: #fff; }
.btn-mail { background-color: #3498db; color: #fff; }
.btn-estimate { background-color: var(--accent-color); color: #fff; }
.c-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* フッター */
footer {
    background-color: #1a252f;
    color: #999;
    text-align: center;
    padding: 25px 0;
    font-size: 0.88rem;
}
/* ==========================================================================
   追加：フッターリンクメニューのスタイル
   ========================================================================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px; /* 縦横のリンク間隔 */
    font-size: 0.85rem;
}

.footer-links li {
    position: relative;
}

/* リンクとリンクの間の区切り線（「｜」を自動で入れる設定） */
.footer-links li:not(:last-child)::after {
    content: "｜";
    color: #555;
    position: absolute;
    right: -20px;
    top: 0;
    pointer-events: none;
}

.footer-links a {
    color: #b0bec5; /* 少し明るめのグレーで読みやすく */
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color, #e74c3c); /* ホバー時にアクセントカラーに変更 */
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   フッターリンク：スマホ対応（max-width: 768px）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column; /* スマホでは縦並びにしてタップしやすく */
        gap: 12px;
        margin-bottom: 25px;
    }
    
    /* スマホ時は区切り線「｜」を非表示にする */
    .footer-links li:not(:last-child)::after {
        display: none;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        display: block;
        padding: 4px 0;
    }
}

/* お問い合わせ：レスポンシブ */
@media (max-width: 768px) {
    .contact-lead {
        font-size: 0.95rem !important;
        margin-bottom: 25px !important;
        padding: 0 10px !important;
    }
    .contact-btns {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    .c-btn {
        padding: 15px !important;
        font-size: 1.05rem !important;
    }
}

/* パソコン表示ではスマホ専用改行を非表示（無効）にする */
.sp-br {
    display: none;
}

/* スマホ表示（画面幅768px以下）のときだけ改行を有効にする */
@media (max-width: 768px) {
    .sp-br {
        display: inline;
    }
}