@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Yusei+Magic&display=swap');

/* ==========================================================================
   変数の定義 (Theme Tokens)
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #008800; /* エネコープのグリーン系（仮） */
    --color-primary-hover: #006600;
    --color-secondary: #00B1B1;
    --color-accent: #FF5A5F;
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-bg-base: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-bg-alt: #EBF5EB; /* セクションの色分け用（薄いグリーン） */
    --color-border: #DDDDDD;
    
    /* Typography */
    --font-family-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Layout */
    --container-width: 1000px;
    --section-padding: 80px 0;
}

/* ==========================================================================
   リセット & ベース
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0; padding: 0;
    font-family: var(--font-family-base);
    color: var(--color-text-main);
    background-color: var(--color-bg-base);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--color-primary); text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.7; }
h1, h2, h3, h4, h5, h6, p { margin: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   レイアウト
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.content-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */
section {
    padding: var(--section-padding);
}
.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
}
.section-desc {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

/* セクション背景の出し分け（リズムを作るため） */
.section-price { background-color: var(--color-bg-base); }
.section-savings { background-color: var(--color-bg-alt); }
.section-point { background-color: var(--color-bg-base); }
.section-delivery { background-color: var(--color-bg-light); }
.section-faq { background-color: var(--color-bg-base); }
.section-notes { 
    background-color: #f1f1f1; 
    padding: 60px 0; 
}

/* ==========================================================================
   各セクション詳細
   ========================================================================== */
/* Header */
.header {
    background-color: var(--color-bg-base);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}
.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    display: flex;
    align-items: center;
}
.header-logo img {
    height: 40px; /* ロゴの高さ調整 */
    width: auto;
}

/* Hero Section */
.hero-section {
    padding: 0;
    /* 上部は背景色、36%に茶色ライン、それ以降を緑色に */
    /* 背景色を白に近い色にして統一感を上げます */
    background: linear-gradient(
        to bottom, 
        #fcfcfc 36.5%, 
        #5d370c 36.5%, 
        #5d370c 37.69%, /* 茶色いラインの太さ */
        #00a33e 37.5%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* --- アリさん歩行アニメーション --- */
.ant-container {
    position: absolute;
    /* 存在感が出るようにサイズをひとまわり大きくしました */
    width: clamp(40px, 14%, 80px); 
    z-index: 8; /* キリギリスより上、メイン文字の下あたり */
    opacity: 0; 
    /* 12秒かけて道を歩き続ける */
    animation: antWalkPath 12s linear infinite;
    pointer-events: none; /* スマホタップの邪魔にならないようにする */
}
.ant1 {
    animation-delay: 0s;
}
.ant2 {
    /* 2匹目は1.8秒遅れて同じルートをついて歩く */
    animation-delay: 1.8s; 
}
.ant-wiggle {
    width: 100%;
    display: block;
    /* 生き物っぽく上下にピョコピョコ跳ねる動き */
    animation: antWiggle 0.3s infinite alternate ease-in-out;
}

@keyframes antWiggle {
    0% { transform: translateY(0) rotate(-3deg); }
    100% { transform: translateY(-3px) rotate(3deg); }
}

@keyframes antWalkPath {
    0% {
        opacity: 0;
        left: -8%;
        top: 55%;
        transform: rotate(0deg);
    }
    3% {
        opacity: 1; 
    }
    12% {
        /* 早めに一気に高さを上げる（キリギリスの左側から登り始める） */
        left: 10%;
        top: 39%;
        transform: rotate(-35deg);
    }
    22% {
        /* キリギリスの前半（茶色線のギリギリ下、空エリア手前まで高く） */
        left: 22%;
        top: 35.5%;
        transform: rotate(0deg);
    }
    32% {
        /* キリギリスの後半・触覚の上まで高さを絶対キープ（被り防止の要！） */
        left: 33%;
        top: 36.0%;
        transform: rotate(15deg);
    }
    43% {
        /* キリギリスを完全に通り過ぎて、リンゴの手前（谷）へ一気に下りる */
        left: 43%;
        top: 50%;
        transform: rotate(35deg);
    }
    55% {
        /* リンゴの真下（テキストとの間の隙間）を通る */
        left: 56%;
        top: 52%;
        transform: rotate(0deg);
    }
    68% {
        /* 家の扉へ向かって上っていく */
        left: 68%;
        top: 50%;
        transform: rotate(-10deg);
    }
    72% {
        left: 71.5%;
        top: 48%;
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    75% {
        /* 家の中へ！ */
        left: 73%;
        top: 48%;
        transform: rotate(0deg) scale(0.3);
        opacity: 0;
    }
    100% {
        left: 75%;
        top: 48%;
        opacity: 0;
    }
}

/* 画像を上に持ち上げて余白をカットする */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
    z-index: 2; /* 背景などが上に乗らないように */
}
.hero-image-wrapper img {
    display: block;
    width: 100%;
    /* 上部の余白を削って画像を上に持ち上げます */
    margin-top: -5.19%; 
}

/* メインテキスト（文字）画像 */
.hero-main-text-img {
    position: absolute;
    /* キリギリスの下（緑の野原の余白部分）にくるよう高さを設定 */
    top: 63%; 
    left: 50%;
    transform: translateX(-50%);
    /* 画像のサイズに合わせつつ、スマホ向けに最大幅を制限 */
    width: 65%; 
    z-index: 10;
    
    /* ぽよんと飛び出すアニメーション設定 */
    opacity: 0;
    /* 時間を1秒にして、イージング（弾力）とキーフレームの組み合わせでリッチに */
    animation: popInBounce 1s cubic-bezier(0.2, 0.8, 0.2, 1.2) forwards;
    /* 縦書き文字が出た直後にドーンと出る */
    animation-delay: 1.0s; 
}

/* メインテキスト画像用のアニメーション（よりリッチで凝ったポップエフェクト） */
@keyframes popInBounce {
    0% {
        opacity: 0;
        /* 下から、少し小さく、傾いた状態でスタート */
        transform: translate(-50%, 40px) scale(0.8) rotate(-5deg);
    }
    40% {
        opacity: 1;
        /* ポーンと上に飛び出しつつ、少し大きめに広がる */
        transform: translate(-50%, -10px) scale(1.06) rotate(3deg);
    }
    65% {
        /* 反動で少し沈み込む */
        transform: translate(-50%, 5px) scale(0.98) rotate(-1deg);
    }
    85% {
        /* リバウンド */
        transform: translate(-50%, -2px) scale(1.02) rotate(1deg);
    }
    100% {
        opacity: 1;
        /* 最終的な正しい位置とサイズにピタッと収まる */
        transform: translate(-50%, 0) scale(1) rotate(0deg);
    }
}

/* ヒーロー縦書き文字 */
.hero-text {
    position: absolute;
    writing-mode: vertical-rl;
    font-family: 'Yusei Magic', 'Noto Sans JP', sans-serif;
    font-size: clamp(16px, 3.2vw, 26px); /* 画面サイズに合わせて自然に縮小拡大 */
    font-weight: 400; 
    color: #5d370c; /* ご指定の茶色ラインと同じ色 */
    line-height: 1.2;
    letter-spacing: 0.15em; /* 文字の上下の余白を少し広めに */
    /* 背景画像と重なっても読みやすくするための白フチ */
    text-shadow: 
        1px 1px 0 #fff, -1px -1px 0 #fff,
        -1px 1px 0 #fff, 1px -1px 0 #fff,
        0 0 8px rgba(255,255,255,0.8);
}
.hero-text-right {
    top: 16%; /* くまの耳のやや上くらいから開始 */
    right: 5%
}
.hero-text-left {
    top: 16%; /* 右側よりも少し下から開始 */
    left: 5%;
}
.hero-text p {
    margin: 0 0.4em; /* 行と行の間の距離 */
}
/* フェードイン＆スライドアニメーション */
.fade-text {
    opacity: 0;
    animation: fadeInVertical 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1.2s; }
.delay-3 { animation-delay: 1.9s; }
.delay-4 { animation-delay: 2.8s; } /* 右が終わってから左へ */
.delay-5 { animation-delay: 3.5s; }
.delay-6 { animation-delay: 4.2s; }

@keyframes fadeInVertical {
    0% {
        opacity: 0;
        transform: translateY(-15px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* =========================================
   キャンペーンバナーセクション (Hero直下)
========================================= */
.campaign-banner-section {
    background-color: #eef3db; /* 画像に合わせた淡いイエローグリーン */
    padding: 40px 15px 40px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.campaign-banner-wrapper {
    text-align: center;
}

/* 日付バー */
.campaign-date-bar {
    background-color: #00a33e;
    color: #fff;
    padding: 10px 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    
    /* アニメーション用初期状態（上からスライドダウンしておく） */
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.campaign-date-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.campaign-date-bar .badge {
    letter-spacing: 2px;
}
.campaign-date-bar .date {
    letter-spacing: 1px;
}

/* ポイント表示エリア */
.campaign-points-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    color: #009944; /* コープの緑 */
    padding: 10px 0;
    overflow: hidden; /* 横から文字が入ってくるときのはみ出し防止 */
}

/* 各ブロックの初期状態（進入アニメーション用） */
.points-block-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 6px;
    opacity: 0;
    transform: translateX(-40px); /* 左へ押し出しておく */
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.points-block-center {
    display: flex;
    align-items: baseline;
}
.points-block-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(40px); /* 右へ押し出しておく */
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 表示時のアニメーション（ブロック共通） */
.campaign-points-display.is-visible .points-block-left,
.campaign-points-display.is-visible .points-block-right {
    opacity: 1;
    transform: translateX(0);
}

/* 左ブロック詳細 */
.text-join {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.2;
}
.text-normal-award {
    font-size: 0.8rem;
    font-weight: bold;
    color: #009944;
    border: 1.5px solid #009944; /* 四角い枠線 */
    padding: 4px 8px;
    line-height: 1.2;
    text-align: center;
}

/* 中央ブロック詳細（10倍の + 10,000） */
.times-group {
    display: inline-flex;
    align-items: baseline;
    margin-right: 8px; /* 「倍の」と「10,000」の隙間 */
}
.times-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
}
.times-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 2px;
}

.points-number-wrapper {
    display: inline-flex;
    align-items: baseline;
}

/* ポイント数字 */
.points-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

/* バウンシングアニメーション（中央の巨大数字群） */
.times-group,
.points-number {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.2s; /* 左右のテキストより一瞬遅れてドーン */
}

.campaign-points-display.is-visible .times-group,
.campaign-points-display.is-visible .points-number {
    opacity: 1;
    transform: scale(1);
}

/* 右ブロック詳細 */
.text-present {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 8px; /* baseline調整用 */
}

/* 注記コンテナ */
.campaign-notes {
    font-size: 0.75rem;
    color: #666;
    text-align: left; /* まとまった注記は左寄せが読みやすい */
    max-width: 800px;
    margin: 10px auto 25px auto;
    line-height: 1.6;
    padding: 0 15px;
}
.pc-only { display: inline; }

/* --- CTAボタングループ --- */
.campaign-cta-group {
    display: flex;
    justify-content: center;
    align-items: stretch; 
    gap: 25px; /* ボタン同士の隙間を少し広げる */
    margin-top: 25px; /* おすすめバッジがはみ出る分の空間を作る */
}

/* ボタン本体のフラットデザイン */
.cta-btn-main {
    background-color: #E60013; 
    color: #fff;
    text-decoration: none;
    border-radius: 60px; 
    padding: 20px 20px; 
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    max-width: 410px; 
    box-shadow: 0 4px 10px rgba(230,0,19,0.15); 
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* ホバーギミック（軽くフワッと浮かせる） */
.cta-btn-main:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(230,0,19,0.25);
    background-color: #f20014; 
}

/* おすすめバッジ（浮遊する吹き出し） */
.cta-btn-main.cta-recommend {
    overflow: visible; 
}
.recommend-badge {
    position: absolute;
    top: -18px;
    left: 30px;
    background-color: #FFF100;
    color: #E60013; 
    font-weight: bold;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: none; 
    z-index: 10;
    animation: floatingBadge 2s ease-in-out infinite alternate;
    letter-spacing: 1px;
}
.recommend-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 15px;
    border-width: 6px 6px 0 0;
    border-style: solid;
    border-color: #FFF100 transparent transparent transparent;
}
@keyframes floatingBadge {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

/* 2段組み文字ラッパー */
.cta-btn-main .btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 2;
}

/* 利用条件などの小さな注記 */
.cta-btn-main .btn-condition {
    font-size: 0.8rem;
    font-weight: normal;
    background-color: #c70010; 
    color: rgba(255,255,255,0.9);
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* ボタンの1行目 (お申し込み) */
.cta-btn-main .btn-title {
    font-size: 1.25rem; 
    font-weight: bold; 
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: none; 
    letter-spacing: 0.5px;
}
.cta-btn-main .btn-title small {
    font-size: 0.95rem;
    font-weight: normal;
}

/* ボタンの2行目 (ポイント獲得バッジ) */
.cta-btn-main .btn-point-badge {
    background-color: #fff; 
    border: none;
    box-shadow: none;
    border-radius: 40px;
    padding: 6px 20px;
    font-size: 1.05rem;
    font-weight: bold;
    color: #E60013; 
    display: inline-flex;
    align-items: baseline; 
    justify-content: center;
    gap: 4px;
}

/* ポイント数字 */
.cta-btn-main .text-yellow {
    color: #E60013; 
    font-size: 2.1rem; 
    font-weight: bold;
    line-height: 1;
    margin: 0 2px;
    text-shadow: none; 
}

/* スマホ用のレスポンシブ対応 */
@media (max-width: 600px) {
    .campaign-date-bar {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 5px;
    }
    .campaign-points-display {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    /* スマホ時は横からではなく、上下からフワッと合流するアニメーションに変更 */
    .points-block-left {
        align-items: center;
        text-align: center;
        transform: translateY(-20px); 
    }
    .points-block-right {
        align-items: center;
        text-align: center;
        transform: translateY(20px);
    }
    .campaign-points-display.is-visible .points-block-left,
    .campaign-points-display.is-visible .points-block-right {
        transform: translateY(0);
    }
    .times-number, .points-number {
        font-size: 4rem; /* スマホでは巨大数字を少し縮小 */
    }
    .times-text {
        font-size: 1.2rem;
    }
    .text-join {
        font-size: 1.1rem;
    }
    .text-present {
        font-size: 1.4rem;
        margin-bottom: 0px;
    }
}

/* ==========================================================================
   あったか灯油積立 詳細・比較エリア（箱組み）
   ========================================================================== */
.section-savings-detail {
    background-color: #0CA742; /* ご指定の緑のベタ塗りに戻す */
    padding: 60px 20px;
    position: relative;
    color: #fff; 
    overflow: hidden;
}

/* 全体を中央寄せでまとめるコンテナ */
.savings-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* 共通の赤文字 */
.section-savings-detail .text-red {
    color: #E60013;
}

/* ★★★ 追加：角丸白背景のタイトルバナー ★★★ */
.savings-title-pill {
    background-color: #fff;
    border-radius: 80px; /* 両端を丸くするカプセル型 */
    padding: 20px 40px; /* 窮屈さをなくすため、上下左右の余白を贅沢に */
    margin: 0 auto 35px; /* 下の見出しテキスト群へも少しゆとりを持たせる */
    max-width: 700px; /* 文字が追加されたので少し枠も広げる */
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 画面が狭いときは安全に折り返す */
    gap: 15px; /* 画像と「とは？」の間の余白 */
}
.title-pill-img {
    max-width: 100%;
    height: auto;
    max-height: 90px; /* スマホやPCで巨大化しすぎないように制限 */
}
.title-pill-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: #333;
    white-space: nowrap;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .savings-title-pill {
        padding: 15px 20px;
        border-radius: 40px;
        gap: 10px;
    }
    .title-pill-img {
        max-height: 50px;
    }
    .title-pill-text {
        font-size: 1.6rem;
    }
}

/* 1. 見出しテキスト群 */
.savings-text-group {
    text-align: center;
    margin-bottom: 25px; /* マーカーなので少し余白を広めに */
    line-height: 1.6;
}
.savings-text-group .text-docan,
.savings-text-group .text-nara {
    /* 箱ではなくマーカー風にする */
    background: linear-gradient(transparent 40%, #FFF500 40%); /* 下半分だけ黄色く塗る */
    color: #333;
    display: inline; /* 複数行にまたがる時のためにinlineに変更 */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 8px; /* 文字の左右から少しはみ出して引く */
    margin: 5px;
    line-height: 1.8; /* inlineで上下の隙間を確保する用 */
    font-weight: 900;
    font-size: clamp(1.1rem, 4.5vw, 1.5rem); /* スマホで縮小して1行に収まりやすく */
    box-shadow: none; /* 箱の影は消す */
    
    /* 外側を白くする袋文字（フチ取り効果） */
    text-shadow: 
        2px 2px 0 #fff, -2px -2px 0 #fff,
        2px -2px 0 #fff, -2px 2px 0 #fff,
        0px 2px 0 #fff,  0px -2px 0 #fff,
        2px 0px 0 #fff, -2px 0px 0 #fff;
}

/* Pタグ自体の上部マージンでゆとりを持たせる */
.savings-text-group p {
    margin-bottom: 12px;
}

/* 3行目をスタイリッシュに分離（黄色マーカーを外してクリーンに） */
.savings-text-group .text-bunsan {
    display: block;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    margin-top: 10px;
    letter-spacing: 1.5px;
}
.savings-text-group .text-bunsan .text-red {
    color: #FFF500; /* 黄色い文字でスタイリッシュに目立たせる */
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 「ドカーン」のアニメーション設定 */
@keyframes docanShake {
    0%   { transform: scale(1) rotate(0deg); }
    10%  { 
        transform: scale(1.3) rotate(-5deg); 
        /* アニメーション中も白い袋文字を維持しつつ、赤いオーラを足す */
        text-shadow: 
            0 0 15px #E60013,
            2px 2px 0 #fff, -2px -2px 0 #fff,
            2px -2px 0 #fff, -2px 2px 0 #fff,
            0px 2px 0 #fff,  0px -2px 0 #fff,
            2px 0px 0 #fff, -2px 0px 0 #fff; 
    }
    20%  { transform: scale(1.3) rotate(5deg); }
    30%  { transform: scale(1.3) rotate(-5deg); }
    40%  { 
        transform: scale(1) rotate(0deg); 
        /* 元の袋文字へ戻す */
        text-shadow: 
            2px 2px 0 #fff, -2px -2px 0 #fff,
            2px -2px 0 #fff, -2px 2px 0 #fff,
            0px 2px 0 #fff,  0px -2px 0 #fff,
            2px 0px 0 #fff, -2px 0px 0 #fff; 
    }
    100% { transform: scale(1) rotate(0deg); }
}

.animate-docan {
    display: inline-block;
    animation: docanShake 2.5s infinite ease-in-out;
    transform-origin: center;
}

/* 2. クマのプレースホルダー */
.placeholder-bear {
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.2);
    border: 3px dashed rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ★★★ 特典セパレーター（グラフと価格を分ける） ★★★ */
.benefits-separator {
    text-align: center;
    margin: 40px auto 10px;
}
.separator-heading {
    margin-bottom: 0;
}
.separator-heading span {
    color: #FFF500;
    font-size: 2.5rem;
    font-weight: 900;
    /* 袋文字風にして圧倒的な目立ちを！ */
    text-shadow: 
        2px 2px 0 #E60013, -2px -2px 0 #E60013, 
        2px -2px 0 #E60013, -2px 2px 0 #E60013;
}

/* 3. 価格アピール */
.savings-price-group {
    text-align: center;
    margin: 40px auto 30px; /* 余白多めにとってスッキリ */
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}
.savings-price-group.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-discount-prefix {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff; /* 緑背景に映える白 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.5;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.badge-point-wrap {
    margin-bottom: 15px;
}
.badge-point {
    background-color: #FFF500;
    color: #E60013;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 2px solid #fff;
    display: inline-block;
}

/* カウントダウン表示部 */
.price-display-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #FFF500; 
    /* 背景色に負けない黒フチ */
    text-shadow: 
        2px 2px 0 #333, -2px -2px 0 #333,
        2px -2px 0 #333, -2px 2px 0 #333,
        0px 2px 0 #333,  0px -2px 0 #333,
        2px 0px 0 #333, -2px 0px 0 #333;
}
.price-label {
    font-size: 1.6rem;
    font-weight: 900;
    margin-right: 5px;
}
.price-number {
    font-size: 5rem; /* ドカンと大きく */
    font-weight: 900;
    color: #fff; 
    line-height: 1;
    display: inline-block;
}
.price-unit {
    font-size: 1.6rem;
    font-weight: 900;
    margin-left: 5px;
}
.price-note {
    font-size: 0.9rem;
    color: #fff;
    margin-top: 5px;
    font-weight: bold;
    opacity: 0.9;
}

/* カウントダウン終了時のポップエフェクト */
@keyframes pricePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15) rotate(3deg); color: #FFF500; }
    100% { transform: scale(1) rotate(0); color: #FFF500; }
}
.price-number.animation-done {
    animation: pricePop 0.6s ease-out forwards;
}

@media (max-width: 600px) {
    .text-discount-prefix { font-size: 1.1rem; }
    .badge-point { font-size: 1rem; padding: 4px 12px; }
    .price-number { font-size: 3.5rem; }
    .price-label, .price-unit { font-size: 1.2rem; }
}

/* 4. 他社との価格比較表の箱 */
.savings-compare-table {
    background-color: #fff;
    color: #333;
    width: 100%;
    max-width: 400px;
    padding: 10px 20px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}
.table-row {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
}
.table-head {
    border-bottom: 2px solid #555;
    font-weight: bold;
    font-size: 1.1rem;
}
.table-body {
    font-size: 1.3rem;
    font-weight: 900;
}
.compare-notes {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 40px;
    font-weight: bold;
    opacity: 0.9;
    text-align: center;
    line-height: 1.5;
}
.compare-notes p {
    margin: 3px 0;
}

/* 5. 誘導テキストとボタン */
.savings-guide {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}
.savings-guide .guide-text {
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.savings-guide .btn-about-savings {
    background-color: #fff;
    color: #333;
    font-weight: 900;
    font-size: 1.8rem;
    padding: 15px 50px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 5px 0 rgba(0,0,0,0.1);
}

/* 6. グラフアニメーションの大枠 (フラット＆モダン版) */
.savings-graph-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

/* ★★★ グラフ凡例（Legend）★★★ */
.chart-legend {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 900;
    color: #fff; /* 背景が緑なので白文字が綺麗 */
    max-width: 800px;
    margin: 0 auto 10px;
    padding-right: 10px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}
.legend-save { 
    background-color: #FFD700; 
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8); 
}
.legend-nosave { 
    background-color: #c9bdae; 
    border: 1px solid rgba(0,0,0,0.1);
}

.css-chart-container {
    position: relative;
    background-color: #fff;
    border-radius: 16px; /* 角をもう少し丸くしてモダンに */
    padding: 45px 15px 30px 60px; /* 上部の余白（padding-top）を広げて余裕を持たせる */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* 影をふんわり広く */
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Y軸目盛り */
.chart-y-axis {
    position: absolute;
    left: 15px; /* 端から少し内側へ */
    top: 40px; /* 余白に合わせてY軸全体を少し下げる */
    bottom: 30px;
    width: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 5px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #888;
    z-index: 10;
}
.y-label {
    position: absolute;
    top: -20px;
    right: 5px;
}

/* グラフメインエリア（横スクロール廃止、常に見切れない設定） */
.chart-main-wrap {
    width: 100%;
    position: relative;
}

.chart-main-area {
    width: 100%; 
    height: 300px; /* 高さを250pxから300pxに増やし、縦に余裕を持たせる */
    position: relative;
    display: flex;
    align-items: flex-end;
}

/* 背景罫線 */
.chart-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}
.grid-line {
    border-top: 1px dashed #eaeaea;
    height: 0;
    width: 100%;
}

/* バーを並べるコンテナ */
.chart-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
    gap: 2%; /* 月ごとの隙間をパーセントに */
}

/* 1ヶ月の単位（X軸ラベル含む） */
.chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    width: 100%; /* フレックスで自動縮小 */
    position: relative;
}
.col-month {
    position: absolute;
    bottom: -25px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #666;
    white-space: nowrap;
}

/* 2本の棒グラフを並べる枠 */
.bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1px;
    width: 100%;
    height: 100%;
}

/* ★★★ スマートなフラットデザイン・バー ★★★ */
.bar {
    width: 100%;
    max-width: 16px; /* PCでは太すぎないように制限 */
    height: 0%; 
    border-radius: 4px 4px 0 0;
    transition: height 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.css-chart-container.is-visible .bar {
    height: var(--bg-height);
}

/* 積立なし（茶色） - 落ち着いたトーンで背景に馴染ませる */
.bar-nosave {
    background-color: #c9bdae;
    transition-delay: 0.2s;
}

/* 積立あり（黄色） - コープらしい鮮やかなイエローで強調！ */
.bar-save {
    background-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* ほんのり光らせる */
    position: relative;
    z-index: 3;
    transition-delay: 0.6s;
}

/* ★★★ 巨大な緑の矢印アニメーション ★★★ */
.chart-arrow-wrap {
    position: absolute;
    left: 20px; 
    bottom: 30%; 
    display: flex;
    align-items: center;
    z-index: 5;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    transition-delay: 1.5s; 
}
.css-chart-container.is-visible .chart-arrow-wrap {
    width: 85%; /* 画面端まで突き抜けない手前で止める */
    opacity: 1;
}

.chart-arrow {
    background: linear-gradient(90deg, #078c35, #0CA742); /* グラデーションで疾走感追加 */
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 8px 15px;
    white-space: nowrap;
    border-radius: 6px 0 0 6px;
    box-shadow: 0 5px 15px rgba(12, 167, 66, 0.3); /* 美しい影で浮遊感 */
}
.chart-arrow-head {
    width: 0; 
    height: 0; 
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #0CA742;
    filter: drop-shadow(4px 0px 4px rgba(12, 167, 66, 0.3));
}

/* ★★★ 吹き出しポップアップ ★★★ */
.balloon-winter {
    position: absolute;
    right: 15%; 
    top: 25px;
    background: linear-gradient(135deg, #FF4B2B, #E60013); /* コープ赤のグラデーションでモダンに */
    box-shadow: 0 8px 20px rgba(230,0,19,0.3); /* 美しい影 */
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 12px 14px;
    border-radius: 12px; /* 丸みを強くしてAppっぽく */
    text-align: center;
    z-index: 6;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 2.2s; 
}
.balloon-winter::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    border-width: 8px 8px 0 0;
    border-style: solid;
    border-color: #E60013 transparent transparent transparent;
}
.css-chart-container.is-visible .balloon-winter {
    opacity: 1;
    transform: scale(1);
}

/* スマホ用レスポンシブグラフ調整 */
@media (max-width: 600px) {
    .css-chart-container {
        padding: 15px 5px 30px 30px;
    }
    .chart-main-area {
        height: 200px; /* スマホでは高さを控えめに */
    }
    .chart-arrow {
        font-size: 0.75rem; /* 矢印テキストも縮小 */
        padding: 4px 8px;
    }
    .chart-arrow-head {
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-left: 15px solid #0CA742;
    }
    .balloon-winter {
        right: 5%;
        font-size: 0.7rem;
        padding: 6px;
    }
    .col-month {
        font-size: 0.6rem;
    }
}

/* 7. 家のプレースホルダー */
.placeholder-house {
    width: 200px;
    height: 140px;
    background: rgba(255,255,255,0.2);
    border: 3px dashed rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    /* CTAボタンもスマホではくっつきすぎないように縦並びへ */
    .campaign-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }
    .cta-btn-main {
        max-width: 100%;
        padding: 16px 20px;
    }
    .cta-btn-main .btn-text {
        font-size: 1.15rem; /* スマホなら少しだけ文字を小さく */
    }
}

/* 積立エリア：Swiper（スライダー）設定 */
.savings-swiper {
    width: 100%;
    padding-bottom: 50px; /* ページネーション用の余白 */
}
.savings-swiper .swiper-slide {
    height: auto; 
}
.slide-content {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
}
.slide-content h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 24px;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--color-primary) !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-primary) !important;
}

/* Q&A (FAQ) アコーディオン設定 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-q {
    font-weight: bold;
    font-size: 18px;
    padding: 20px;
    cursor: pointer;
    position: relative;
    list-style: none; /* デフォルトの矢印を非表示に */
}
.faq-q::-webkit-details-marker {
    display: none;
}
.faq-q::after {
    content: "＋";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 20px;
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-q::after {
    content: "－";
    transform: translateY(-50%) rotate(180deg);
}
.faq-a {
    padding: 0 20px 20px;
    color: var(--color-text-main);
    border-top: 1px dashed var(--color-border);
    margin-top: 10px;
    padding-top: 15px;
}

/* 注意事項 */
.notes-list {
    max-width: 800px;
    margin: 0 auto;
    font-size: 14px;
    color: var(--color-text-light);
}
.notes-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
}
.notes-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}

/* CTAエリア（お申し込みボタン） */
.cta-section {
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
}
.cta-section .section-title {
    color: #fff;
}
.cta-button-wrapper {
    display: flex;
    justify-content: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 60px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 6px 0 #cc484d; /* 立体感を持たせる */
}
.btn-primary:hover {
    background-color: #ff6f73;
    transform: translateY(2px);
    box-shadow: 0 4px 0 #cc484d;
    color: #fff;
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 24px 0;
}
.copyright { font-size: 12px; opacity: 0.8; }

/* ==================================================
   メインコンテンツスライダー (Swiper) - savings-main-box
   ================================================== */
.savings-main-box {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 20px; /* スマホなら狭める */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 500px; /* ★大きすぎて高さが巨大化するのを防ぐため、500pxに縮小（コンパクト化） */
    width: 100%; /* ここで幅100%を指定しないとSwiperが潰れる */
    margin: 0 auto;
    position: relative;
    overflow: hidden; 
    box-sizing: border-box; /* paddingを含めた100%にする */
}

/* Swiperコンテナのパディング */
.savings-swiper {
    width: 100%; /* これも必須 */
    padding-bottom: 50px; 
}

/* 各スライド内の構成スタイル */
.swiper-slide {
    height: auto; /* 一番高いスライドに他のスライドも高さを合わせる設定 */
    display: flex;
}
.slide-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%; /* 親のスライド高さに追従 */
}
.slide-title {
    background-color: #E60013;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    padding: 15px;
    border-radius: 8px; /* 赤い見出し箱 */
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(230, 0, 19, 0.2);
    /* 高さを統一するためのflex設定 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 95px; /* 1行と2行で高さがブレないように固定 */
}
.slide-content {
    background: #FFFEF5; /* ちょっと暖かみのあるクリーム色背景 */
    padding: 20px 15px;
    border-radius: 12px;
    flex: 1; /* 高さが足りない場合でも下まで伸びるようにする */
    display: flex;
    flex-direction: column;
}
.slide-image-wrap {
    margin-bottom: 25px;
}
.slide-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* スライド中央にあるテキスト解説 */
.slide-desc-box {
    text-align: left;
    margin: 0 auto 30px;
    max-width: 500px;
    color: #333;
}
.desc-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.desc-row .icon {
    font-size: 1.8rem;
    margin-right: 15px;
    line-height: 1.2;
}
.text-block {
    flex: 1;
}
.text-block h4 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 5px;
    border-bottom: 2px solid #E60013; /* 赤い線で強調 */
    padding-bottom: 5px;
    color: #E60013;
}
.text-block h4 .sub {
    font-size: 1rem;
    font-weight: normal;
    color: #555;
    margin-left: 10px;
}
.text-block p {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.6;
    margin-top: 5px;
}

/* カスタムSwiperナビゲーションデザイン */
.swiper-button-next, .swiper-button-prev {
    color: #E60013; /* コープらしい赤色 */
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}
.swiper-pagination-bullet-active {
    background: #E60013;
}

/* スライド2固有のテキストレイアウト */
.slide-text-center {
    text-align: center;
    margin-top: 20px;
}
.slide-text-center p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}
.slide-text-center .text-bold {
    font-weight: 900;
}
.slide-text-center .mb-3 {
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .savings-main-box {
        padding: 20px 10px;
    }
    .slide-title {
        font-size: 1.3rem;
        padding: 10px;
        margin-bottom: 20px;
    }
    .text-block h4 {
        font-size: 1.1rem;
    }
    .text-block p {
        font-size: 1rem;
    }
    .swiper-button-next, .swiper-button-prev {
        display: none; /* スマホでは矢印を隠しスワイプを促す */
    }
}

/* ==================================
   Q&A SECTION STYLE (FLAT & WARM)
================================== */
.premium-faq-section {
    background-color: #00A03E; /* コープらしいフラットな緑 */
    position: relative;
    padding: 60px 0;
    color: #fff;
}
.premium-faq-item-wrap {
    position: relative;
    margin-bottom: 25px;
}
.premium-faq-category {
    display: inline-block;
    color: #fff; /* 緑背景に黒文字は読みづらいため白文字＋太字のテキストラベルに */
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    margin-left: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.premium-faq-details {
    background-color: transparent;
    cursor: pointer;
    position: relative;
}
.premium-faq-summary {
    background: #fff;
    color: #333;
    padding: 17px 60px 17px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.premium-faq-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}
.premium-faq-summary::-webkit-details-marker {
    display: none;
}
.premium-faq-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f0f5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}
.premium-faq-icon::before, .premium-faq-icon::after {
    content: '';
    position: absolute;
    background: #00A03E;
    border-radius: 2px;
    transition: transform 0.4s ease, opacity 0.4s ease, background 0.4s ease;
}
.premium-faq-icon::before { width: 14px; height: 2px; }
.premium-faq-icon::after { width: 2px; height: 14px; }

/* Open State */
.premium-faq-details[open] .premium-faq-summary {
    border-radius: 25px 25px 0 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    transform: none;
}
.premium-faq-details[open] .premium-faq-icon {
    background: #00A03E;
}
.premium-faq-details[open] .premium-faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.premium-faq-details[open] .premium-faq-icon::before {
    background: #fff;
    transform: rotate(180deg);
}

.premium-faq-answer-box {
    background: #fdfdfd;
    color: #444;
    padding: 25px 25px 30px 20px;
    border-radius: 0 0 25px 25px;
    font-size: clamp(0.9rem, 3.2vw, 1rem);
    line-height: 1.7;
    position: relative;
    border-top: 1px dashed #e0e0e0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    animation: premiumSlideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: top;
    z-index: 0;
    display: flex;
    gap: 15px;
}

@keyframes premiumSlideDown {
    0% { opacity: 0; transform: translateY(-15px) scaleY(0.98); }
    100% { opacity: 1; transform: translateY(0) scaleY(1); }
}

/* ==================================
   CROSS CAMPAIGN SECTION (ELECTRICITY & GAS)
================================== */
.cross-campaign-section {
    background-color: #F7F5E9; /* LPの背景に合わせたベージュ */
    padding: 60px 0;
    font-family: 'Noto Sans JP', sans-serif;
}
.cross-campaign-banner {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 3px solid #6C4F34;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.cc-header {
    background: #6C4F34;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 4px 4px 0 0;
    font-weight: 700;
    flex-wrap: wrap;
    position: relative;
}
.cc-speech-bubble {
    background: #fff;
    color: #e50012;
    border: 2px solid #6C4F34;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    position: relative;
    font-weight: 900;
    display: flex;
    align-items: center;
}


.cc-header-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cc-header-icons img {
    height: 35px;
    object-fit: contain;
}
.cc-header-title {
    font-size: clamp(1rem, 4vw, 1.4rem);
    letter-spacing: 0.05em;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.cc-header-title .cc-date {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: 0;
    font-family: 'Outfit', 'Montserrat', sans-serif;
}
.cc-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
    gap: 0;
    position: relative;
    padding: 30px 40px;
}
.cc-divider {
    background: repeating-linear-gradient(to bottom, #6C4F34, #6C4F34 4px, transparent 4px, transparent 8px);
    width: 2px;
    height: 100%;
}
.cc-and-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    background: #6C4F34;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid #fff;
    font-family: 'Outfit', sans-serif;
    z-index: 5;
}
.cc-col {
    text-align: center;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.cc-col-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    font-weight: 900;
    color: #5A3D25;
    line-height: 1.3;
}
.cc-col-subtitle {
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    color: #5A3D25;
    margin-top: 5px;
    font-weight: 700;
}
.cc-points-wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    color: #E60013;
    margin: 15px 0 20px;
    white-space: nowrap;
}
.cc-points-wrap.js-animate-trigger {
    cursor: default;
}
.cc-badge {
    background: #E60013;
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    line-height: 1;
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
}
.cc-badge::after {
    content:'';
    position: absolute;
    right: -8px; top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #E60013;
}
.cc-badge-number {
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
}
.cc-badge-text {
    font-size: 0.65rem;
    letter-spacing: -0.05em;
}
.cc-point-big {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-family: 'Outfit', 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-right: 5px;
    font-variant-numeric: tabular-nums;
}
.cc-point-unit {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}
.cc-note {
    font-size: 0.65rem;
    color: #555;
    text-align: left;
    line-height: 1.4;
    margin-top: auto; /* Push to bottom to align columns */
}

/* 右側のトドック（クマ）エリア */
.cc-todok-badge {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cc-todok-bubble {
    background: #fff;
    border: 2px solid #8E6C4E;
    border-radius: 12px;
    padding: 10px;
    font-size: 0.7rem;
    font-weight: 900;
    color: #111;
    position: relative;
    margin-bottom: 10px;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
    text-align: center;
    line-height: 1.4;
}
.cc-todok-bubble .blue-text { color: #0075C2; font-size: 1.1em; }
.cc-todok-bubble .green-text { color: #00A03E; font-size: 1.1em; }

.cc-todok-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px; right: 30px;
    border: 10px solid transparent;
    border-top-color: #8E6C4E;
}
.cc-todok-bubble::before {
    content: '';
    position: absolute;
    bottom: -7px; right: 32px;
    border: 8px solid transparent;
    border-top-color: #fff;
    z-index: 2;
}

@media (max-width: 900px) {
    .cc-todok-badge {
        right: -10px;
        width: 120px;
    }
}
@media (max-width: 768px) {
    .cc-header-title {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
    .cc-title-sep {
        display: none;
    }
    .cc-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    .cc-divider {
        width: 100%;
        height: 2px;
        background: repeating-linear-gradient(to right, #6C4F34, #6C4F34 4px, transparent 4px, transparent 8px);
    }
    .cc-todok-badge {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 20px auto 0;
        width: 100%;
        max-width: 200px;
    }
}

/* ---------------------------------
 * セクション背景のアニメーション（アリの道のり）
 * --------------------------------- */

@keyframes ant-journey {
    /* セクションの枠線（下端）を地面に見立てて、枠線スレスレを水平に歩いてくる */
    0%    { bottom: 0px; left: -10%; transform: translateX(-50%) scale(1); opacity: 1; }
    38%   { bottom: 0px; left: 45%; transform: translateX(-50%) scale(1); opacity: 1; }  /* ドア手前に到着 */
    41%   { bottom: 0px; left: 50%; transform: translateX(-50%) scale(0.6); opacity: 1; } /* ドアをくぐる */
    41.5% { bottom: 0px; left: 51%; transform: translateX(-50%) scale(0.2); opacity: 0; } /* サッと家に入って消える */
    100%  { bottom: 0px; left: 51%; transform: translateX(-50%) scale(0); opacity: 0; }
}

.ant-path-container {
    position: absolute;
    width: 90px;
    height: auto;
    z-index: 20;
    opacity: 0;
    transform-origin: bottom center;
    /* 30秒かけてのんびり歩く */
    animation: ant-journey 30s linear infinite;
}
.ant-path-container img {
    display: block;
    width: 100%;
    height: auto;
}

/* 9匹のアリが一定間隔（約3.3秒）で次々に出現する */
.ant-trail-1 { animation-delay: 0s; }
.ant-trail-2 { animation-delay: -3.3s; }
.ant-trail-3 { animation-delay: -6.6s; }
.ant-trail-4 { animation-delay: -9.9s; }
.ant-trail-5 { animation-delay: -13.2s; }
.ant-trail-6 { animation-delay: -16.5s; }
.ant-trail-7 { animation-delay: -19.8s; }
.ant-trail-8 { animation-delay: -23.1s; }
.ant-trail-9 { animation-delay: -26.4s; }

.road-house-dest {
    position: absolute;
    /* セクションの下端(bottom: 0)にドアの敷居部分（SVGの底から25px上）がピタリと乗るように調整 */
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: auto;
    z-index: 15;
}

/* ドアのアニメーション：アリの動き（30秒/9匹 = 3.33333秒周期）に合わせて開閉 */
#dynamic-door {
    animation: door-swing 3.33333s infinite;
}

@keyframes door-swing {
    0%, 35%   { transform: perspective(400px) rotateY(0deg); }      /* 閉じた状態 */
    40%       { transform: perspective(400px) rotateY(-105deg); }   /* アリが到着する直前に開く */
    75%       { transform: perspective(400px) rotateY(-105deg); }   /* アリが完全に入るまで開けたまま */
    80%, 100% { transform: perspective(400px) rotateY(0deg); }      /* スッと閉まる */
}

/* ==========================================================================
   共通・新規追加ボタン類 (Header & Footer CTA)
   ========================================================================== */

/* ヘッダー右 CTAボタン（今すぐお申し込み） */
.header-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #00A33E; /* ご指定のブランドカラー */
    color: #fff;
    font-weight: 900;
    font-size: clamp(0.7rem, 2.5vw, 0.95rem); /* スマホで縮小 */
    padding: 8px 24px;
    border-radius: 40px;
    border: 3px solid #333333;
    text-decoration: none;
    box-shadow: 0 4px 0 rgba(51,51,51,0.5); /* 下部ボタンと統一 */
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.05em;
    font-family: var(--font-family-base);
}
.header-cta-btn:hover {
    background-color: #008f36; /* ホバー時は少し濃い緑に */
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(51,51,51,0.5);
    color: #fff;
}

/* フッター＆中段共通CTAボタン（最短1分！ かんたんお申し込み） */
.footer-main-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #00A33E; /* 鮮やかなオレンジからブランドカラーの緑へ変更 */
    color: #fff;
    font-weight: 900;
    font-size: clamp(0.95rem, 3.5vw, 1.25rem);
    padding: 16px clamp(15px, 4vw, 40px); /* 狭い画面でも収まるようpaddingを変動 */
    white-space: nowrap; /* テキストの改行を防ぐ */
    border-radius: 50px;
    border: 3px solid #333333;
    text-decoration: none;
    box-shadow: 0 4px 0 rgba(51,51,51,0.5); /* 若干の立体感 */
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
}
.footer-main-btn:hover {
    background-color: #008f36; /* ホバー時は少し濃い緑に */
    transform: translateY(3px);
    box-shadow: 0 1px 0 rgba(51,51,51,0.5);
    color: #fff;
}

/* ページトップへ戻るボタン Hover */
.page-top-btn:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* ==========================================================================
   キャンペーンエリア（10,000ポイント箇所）のレスポンシブスタイル
   ========================================================================== */
.campaign-points-display {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: #00A03E;
    white-space: nowrap;
    width: 100%;
    padding: 0 5px;
}
.cp-left-block {
    text-align: left;
    font-weight: bold;
    line-height: 1.4;
    padding-bottom: 8px;
    margin-right: 5px;
}
.cp-left-block .cp-sub { font-size: clamp(0.8rem, 3vw, 1.05rem); letter-spacing: 0.05em; }
.cp-left-block .cp-main { font-size: clamp(0.95rem, 3.8vw, 1.3rem); }

.cp-center-block { line-height: 0.85; }
#point-counter {
    font-size: clamp(3.2rem, 11vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    font-family: Arial, Helvetica, sans-serif;
}

.cp-right-block {
    text-align: left;
    font-weight: bold;
    font-size: clamp(0.8rem, 3vw, 1.05rem);
    line-height: 1.3;
    padding-bottom: 8px;
    margin-left: 5px;
}

/* スマホ表示時の縦積み対応（表示崩れ防止） */
@media screen and (max-width: 540px) {
    .campaign-points-display {
        flex-direction: column;
        align-items: center;
        white-space: normal;
        gap: 8px;
    }
    .cp-left-block {
        text-align: center;
        margin-right: 0;
        padding-bottom: 0;
    }
    .cp-right-block {
        text-align: center;
        margin-left: 0;
        padding-bottom: 0;
        display: flex;
        gap: 5px;
        align-items: center;
    }
}

/* ==========================================================================
   CTA モーダル (Popup)
   ========================================================================== */
.cta-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 暗めの半透明 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cta-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cta-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cta-modal-overlay.active .cta-modal-content {
    transform: translateY(0) scale(1);
}

.cta-modal-close {
    position: absolute;
    top: -15px;
    right: -10px;
    background: #f1f1f1;
    border: 2px solid #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    color: #555;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.2s;
    z-index: 10;
}
.cta-modal-close:hover {
    background: #e0e0e0;
    transform: scale(1.05);
    color: #111;
}

.cta-modal-title {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.cta-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-modal-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 20px 10px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    border: 3px solid #333;
}
.cta-modal-btn:hover {
    transform: translateY(3px);
}

/* 1. 灯油新規申し込みボタン */
.cta-modal-btn.btn-new {
    background-color: #00A33E;
    color: #fff;
    box-shadow: 0 5px 0 rgba(51,51,51,0.6);
}
.cta-modal-btn.btn-new:hover {
    background-color: #008f36;
    box-shadow: 0 2px 0 rgba(51,51,51,0.6);
}
.cta-modal-btn.btn-new .btn-main-text {
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 900;
}
.cta-modal-btn.btn-new .btn-sub-text {
    font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    font-weight: bold;
    margin-top: 8px;
    color: #FFF9C4; /* 視認性の高い薄黄色 */
}

/* 2. 積立申し込みボタン */
.cta-modal-btn.btn-tsumitate {
    background-color: #F25C27; /* 差別化のためオレンジを採用 */
    color: #fff;
    box-shadow: 0 5px 0 rgba(51,51,51,0.6);
}
.cta-modal-btn.btn-tsumitate:hover {
    background-color: #D94D1A;
    box-shadow: 0 2px 0 rgba(51,51,51,0.6);
}
.cta-modal-btn.btn-tsumitate .btn-main-text {
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 900;
}
