* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body,
html {
    /* 背景色を指定 */
    color: #323232;
    /* テキストの色を指定 */
    /* font-family: 'Hiragino Kaku Gothic ProN', sans-serif; */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    /* 横方向のスクロールを防ぐ */
    width: 100%;
    height: auto;
    /* 高さをコンテンツに合わせる */
}

p {
    /* font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif; */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
}

.container {
    width: 100%;
    max-width: 1280px;
    /* 固定幅 */
    margin: 0 auto;
    /* padding: 20px; */
}

.recommended-section {
    padding: 36px 0 0;
    margin-bottom: 0;
}

.section-image-sp {
    display: none !important;
}

.full-width-line {
    width: 100%;
    /* 画面幅全体をカバー */
    height: 1px;
    /* 横線の高さ */
    background-color: #4BC314;
    /* 線の色 */
    border: none;
    margin: 20px 0;
    /* 上下に余白を設定 */
}

/* バナーセクション */
.scene-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 40vh;
}

/* セクションタイトル（scene専用） */
.scene-section-title {
    color: #4BC314;
    font-size: 1.4rem;
    margin-bottom: 36px;
    text-align: center;
}

/* ===== 体力推移 コードグラフ ===== */
.fitness-chart-wrap {
    padding: 20px 24px 12px;
    background: #f7faf4;
    border: 1px solid #d4edcc;
    border-radius: 10px;
    max-width: 100%;
}

.fitness-chart-title {
    font-size: 0.78rem;
    color: #555;
    text-align: center;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.fitness-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 140px;
    padding: 0 4px;
    border-left: 2px solid #bbb;
    border-bottom: 2px solid #bbb;
    position: relative;
}

.chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 80%;
    height: var(--h, 80%);
    background: linear-gradient(to top, #3aaa08, #6dcd44);
    border-radius: 3px 3px 0 0;
    transition: opacity 0.2s;
}

.chart-bar--low {
    background: linear-gradient(to top, #e07b00, #f5a832);
}

.chart-bar:hover { opacity: 0.8; }

.chart-label {
    font-size: 0.6rem;
    color: #666;
    margin-top: 5px;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

.fitness-chart-source {
    font-size: 0.65rem;
    color: #999;
    text-align: right;
    margin-top: 8px;
}

/* ===== 効果説明セクション（お母さん・シニア・ドライバー・アスリート） ===== */
.scene-effect-section {
    padding: 48px 0 60px;
}

.scene-effect-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 画像の上に表示するテキスト要素 */
.banner-text {
    position: absolute;
    left: 9%;
    top: 40%;
    transform: none;
    text-align: left;
    color: #fff;
}

/* 見出しのスタイル */
.banner-text h2 {
    font-size: 1.2rem;
    /* 見出しのフォントサイズを調整 */
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
}

/* サブテキストのスタイル */
.banner-text p {
    font-size: 2.5rem;
    font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
    font-weight: 700;
    color: #fff;
}


/* ===== セクションタイトル ===== */
.section-title {
    text-align: center;
    color: #4BC314;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* タブコンテンツの初期状態を非表示にする */
.tab-content {
    display: none;
    /* すべてのタブコンテンツを初期状態で非表示に */
}

/* アクティブなタブコンテンツだけを表示 */
.tab-content.active {
    display: block;
    /* アクティブなタブコンテンツのみ表示 */
}


/* ===== タブのスタイル ===== */
.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    background-color: #4BC314;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Zen Kaku Gothic New', system-ui;
    font-weight: 500;
}

.tab-item.active {
    background-color: #FF6600;
}

.tab-item+.tab-item {
    border-left: 2px solid white;
}


/* スマホ用のレイアウト変更 */
@media only screen and (max-width: 768px) {
    .scene-banner { height: 30vh; }
    .banner-text  { top: 30%; }

    .scene-section-title { font-size: 1.1rem; }

    /* イントロ: 縦積み・写真フルブリード */
    .scene-intro-section {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    .scene-photo-col { width: 100%; }
    .scene-photo-col img { border-radius: 0; }
    .scene-text-col { padding: 16px 16px 0; }

    /* 丸: 2×2 グリッド配置 */
    .benefits {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin-top: 20px;
    }
    .benefit-item {
        width: 130px;
        height: 130px;
        font-size: 0.78rem;
        margin-left: 0 !important;
        z-index: auto !important;
    }

    .scene-title-green { font-size: 1.3rem; }

    /* ツボ: 縦積み・図を上に */
    .tubo-layout {
        flex-direction: column;
        padding: 20px 16px;
        gap: 20px;
    }
    .tubo-columns {
        flex-direction: column;
    }
    .tubo-image-col {
        width: 100%;
        order: -1;
    }
    .tubo-text-col { width: 100%; }

    .pickup-detail { padding: 20px 16px; }
    .pickup-detail-inner { flex-direction: column; }
    .pickup-detail-photos { width: 100%; }
    .stats-compare-wrap { flex-direction: column; align-items: flex-start; }
    .stats-arrow { display: none; }
    .pickup-bottom-text { font-size: 1.1rem; }

    /* グラフ SP */
    .fitness-chart-wrap { padding: 16px 12px 10px; }
    .fitness-chart       { height: 100px; gap: 3px; }
    .chart-label         { font-size: 0.55rem; }
    .fitness-chart-title { font-size: 0.72rem; }

    /* 効果セクション SP */
    .scene-effect-section { padding: 32px 0 40px; }

    .tabs { flex-direction: column; }

    .tab-item {
        border-left: none;
        margin-bottom: 3px;
    }

    .tab-item+.tab-item { border-left: none; }
}

/* ===== グローバル画像のスタイル削除 ===== */
/* img {
    display: block;
    max-width: 90%;
    height: auto;
    margin: 20px 0;
} */

/* 見出し全体のスタイル */
.highlighted-text-wrapper {
    position: absolute;
    /* 絶対配置を適用 */
    top: 400px;
    /* 上からの位置を指定 */
    right: 20px;
    /* 右からの位置を指定 */
    text-align: right;
    /* テキストを右揃えにする */
    margin: 20px;
    /* 上下の余白 */
    z-index: 100;
    /* 他の要素の上に表示する */
}

/* 上部の小さいタイトル */
.small-title {
    color: #4BC314;
    /* 緑色の文字 */
    font-size: 0.9rem;
    /* 小さめのフォントサイズ */
    font-weight: bold;
    /* 太字 */
    letter-spacing: 0.1em;
    /* 文字間のスペース */
    margin-bottom: 8px;
    /* タイトルとメイン見出しの間に余白 */
    text-align: right;
    /* テキストを右揃えに */
}

/* メインの見出しスタイル */
.main-title {
    display: inline-block;
    line-height: 1.4;
    /* 行間を調整 */
    text-align: right;
    /* テキストを右揃えに */
}

/* 各行を緑色の背景で囲むスタイル */
.highlighted-line {
    background-color: #4BC314;
    /* 背景色（緑） */
    color: white;
    /* テキストの色を白にする */
    padding: 5px 10px;
    /* 上下左右にパディングを設定 */
    display: inline-block;
    font-size: 1.2rem;
    /* フォントサイズを少し大きく */
    margin: 2px 0;
    /* 各行の間に少し余白を追加 */
}


/* ===== 2カラム イントロセクション ===== */
.scene-intro-section {
    display: flex;
    align-items: stretch;
    gap: 48px;
    padding: 40px 40px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.scene-photo-col {
    width: 44%;
    flex-shrink: 0;
}

.scene-photo-col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.scene-text-col {
    flex: 1;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
}

.tubo-section img {
    display: block;
    max-width: 100%;
    /* PICK UP セクションの画像に限定 */
    height: auto;
    margin: 0 auto;
    /* 中央揃え */
    margin-bottom: 50px;
}

.pickup-image-section img {}

/* PICK UP 詳細セクションの画像スタイル */
.pickup-image img {
    display: block;
    max-width: 100%;
    /* PICK UP セクションの画像に限定 */
    height: auto;
    margin: 0 auto;
    /* 中央揃え */
}

/* 比較表セクションの画像スタイル */
.comparison-table-section img {
    display: block;
    max-width: 100%;
    /* 比較表セクションの画像に限定 */
    height: auto;
    margin: 0 auto;
    /* 中央揃え */
    margin-left: 0px;
    width: 55%;
    margin-top: 20px;
}

/* メッセージセクションの画像スタイル */
.message-content .pickup-image img {
    display: block;
    max-width: 100%;
    /* メッセージセクションの画像に限定 */
    height: auto;
    margin: 0 auto;
    /* 中央揃え */
}


/* ===== PICK UP セクション ===== */
.pickup-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.pickup-title {
    color: #4BC314;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pickup-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pickup2-text {
    margin-top: 30px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1rem;
    line-height: 1.75rem;
}

/* ===== 比較表セクション ===== */
.comparison-table-section {}

/* メッセージセクションのスタイル */
.message-section {
    /* padding: 50px 20px; */
    text-align: center;
    /* 全体を中央揃え */
}

.message-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* 小さい画面では縦に並べる */
    gap: 50px;
    /* コンテンツ間の余白 */
}

.text-content {
    flex: 1;
    max-width: 500px;
    text-align: center;
    /* テキストを中央に */
}

.benefits {
    display: flex;
    gap: 0;
    margin-top: auto;
}

.green-text {
    color: #4BC314;
    /* 緑色のコード */
    font-weight: bold;
    /* 太字にする（任意） */
    text-align: left;
    font-size: 24px;
    letter-spacing: 1px;
    font-family: 'Zen Kaku Gothic New', system-ui;
    font-weight: 500;
}

.benefit-item {
    width: 162px;
    height: 162px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    font-family: 'Zen Kaku Gothic New', system-ui;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    margin-left: -34px;
}

.benefit-item:first-child {
    margin-left: 0;
    z-index: 4;
}

.benefit-item:nth-child(2) { z-index: 3; }
.benefit-item:nth-child(3) { z-index: 2; }
.benefit-item:nth-child(4) { z-index: 1; }

/* 色バリアント（半透明・重ねる） */
.benefit-item.bc-blue   { background-color: rgba(70, 190, 230, 0.42);  color: #fff; }
.benefit-item.bc-peach  { background-color: rgba(255, 160, 80, 0.42);  color: #fff; }
.benefit-item.bc-purple { background-color: rgba(160, 110, 220, 0.42); color: #fff; }
.benefit-item.bc-silver { background-color: rgba(200, 170, 130, 0.42); color: #fff; }
.benefit-item.bc-mint   { background-color: rgba(60, 200, 180, 0.42);  color: #fff; }
.benefit-item.bc-pink   { background-color: rgba(240, 130, 160, 0.42); color: #fff; }

.benefit-item:nth-child(5) { z-index: 0; }

/* ===== 緑背景・白文字タイトル ===== */
.scene-title-green {
    display: block;
    width: fit-content;
    font-family: 'Zen Kaku Gothic New', system-ui;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    background-color: #4BC314;
    line-height: 1.4;
    margin: 0 0 6px;
    padding: 0 10px;
}

/* ===== ツボ 2カラムレイアウト ===== */
.tubo-layout {
    display: flex;
    flex-direction: column;
    padding: 32px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.tubo-section-heading {
    font-size: 1.0rem;
    font-weight: 700;
    color: #323232;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.tubo-columns {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 16px;
}

.tubo-text-col { flex: 1; }

.tubo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tubo-item {
    margin: 14px 0;
    border-left: 3px solid #FF6600;
    padding-left: 10px;
}

.tubo-category {
    display: block;
    font-size: 0.72rem;
    color: #4BC314;
    font-weight: 600;
    margin-bottom: 2px;
}

.tubo-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tubo-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    background-color: #FF6600;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tubo-kanji {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
}

.tubo-reading {
    font-size: 0.75rem;
    color: #666;
}

.tubo-desc {
    font-size: 0.78rem;
    color: #666;
    margin: 0;
    padding-left: 0;
}

.tubo-image-col {
    width: 44%;
    flex-shrink: 0;
}

.tubo-image-col img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== PICK UP 詳細セクション ===== */
.pickup-detail {
    padding: 32px 40px 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.pickup-detail-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: 20px;
}

.pickup-detail-main { flex: 1; }

.pickup-detail-photos {
    width: 36%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pickup-detail-photos img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* 比較データ表 */
.stats-compare-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 6px;
    flex-wrap: wrap;
}

.stats-table {
    border-collapse: collapse;
    font-size: 0.78rem;
}

.stats-table th {
    background-color: #4472C4;
    color: #fff;
    padding: 5px 8px;
    text-align: center;
    font-weight: 700;
}

.stats-table th.sub-th {
    background-color: #7094CC;
    font-size: 0.72rem;
    padding: 3px 8px;
}

.stats-table td {
    padding: 4px 8px;
    text-align: center;
    border: 1px solid #ddd;
    background: #fff;
    white-space: nowrap;
}

.stats-table tr:nth-child(even) td { background-color: #EEF2FA; }
.stats-table td.down { color: #CC0000; font-weight: 700; }

.stats-arrow {
    font-size: 1.8rem;
    color: #4BC314;
    flex-shrink: 0;
}

.stats-source {
    font-size: 0.65rem;
    color: #999;
    margin: 4px 0 0;
}

.pickup-bottom-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4BC314;
    margin-top: 28px;
    font-family: 'Zen Kaku Gothic New', system-ui;
    line-height: 1.6;
}

/* 画像のスタイル調整 */
.pickup-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    /* 画像の最大幅を指定 */
}

.pickup-image img {
    max-width: 100%;
    height: auto;
}


/* タイトルとラインの親コンテナを定義 */
.section-title-wrapper {
    display: flex;
    /* 横並びにする */
    align-items: center;
    /* 垂直方向で中央揃え */
}

/* タイトルのスタイル */
.section-title {
    color: #4BC314;
    /* 緑色のテキスト */
    font-size: 1.5rem;
    /* テキストサイズ */
    font-weight: bold;
    /* 太字に設定 */
    margin: 15px;
    /* 余白をリセット */
    padding-right: 15px;
    /* 右側の余白を設定（ラインとの距離） */
}

/* タイトル横のラインを定義 */
.title-line {
    flex-grow: 1;
    /* 余白分だけラインを伸ばす */
    height: 1px;
    /* ラインの高さ */
    background-color: #4BC314;
    /* 緑色のライン */
}

/* 文字を右上に配置するための設定 */
.text-container-kodomo {
    position: absolute;
    top: 62%;
    /* セクション内の上部10%に配置 */
    right: 34%;
    /* セクション内の右端から5%内側に配置 */
    z-index: 1;
    /* 画像の上に表示 */
}


.text-container-parent {
    position: absolute;
    top: 62%;
    /* セクション内の上部10%に配置 */
    left: 20%;
    z-index: 1;
    /* 画像の上に表示 */
}

.text-container-senior {
    position: absolute;
    top: 62%;
    /* セクション内の上部10%に配置 */
    right: 37%;
    /* セクション内の右端から5%内側に配置 */
    z-index: 1;
    /* 画像の上に表示 */
}


/* 文字を右上に配置するための設定 */
.text-container-driver {
    position: absolute;
    top: 62%;
    /* セクション内の上部10%に配置 */
    left: 22;
    z-index: 1;
    /* 画像の上に表示 */
}

.text-container-athlete {
    position: absolute;
    top: 62%;
    /* セクション内の上部10%に配置 */
    z-index: 1;
    /* 画像の上に表示 */
    right: 32%;
    /* セクション内の右端から5%内側に配置 */
}


.pickup {
    color: #4BC314;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    /* font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif; */
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* SemiBoldウェイトを指定 */
    letter-spacing: 0.5px;
}

.green-box {
    background-color: #4BC314;
    margin-bottom: 5px;
    display: block;
    /* .green-boxをブロック要素にして改行を強制 */
    padding: 5px 10px;
    width: fit-content;
    /* 背景の幅を文字幅にフィットさせる */
    padding: 0 2px;
}

.green-box p {
    color: white;
    /* テキストの色を白に設定 */
    font-size: 35px;
    /* フォントサイズを35pxに設定 */
    font-weight: bold;
    /* 太字に設定 */
    margin: 0;
    /* 余白をリセット */
    display: block;
    /* pタグをブロック要素にして縦並びを維持 */
    font-family: 'Zen Kaku Gothic New', system-ui;
}


/* デフォルトでは両方表示される設定 */
.section-image.pc {
    display: none;
    /* 初期状態でPC版を非表示に */
}

.section-image.sp {
    display: block;
    /* 初期状態でSP版を表示 */
}

.graph-pc {
    width: 60%;
}

/* PC用のスタイル (画面幅が768px以上のときに適用) */
@media screen and (min-width: 768px) {
    .section-image.pc {
        display: block;
    }
    .section-image.sp {
        display: none;
    }
    .section-image-pc {
        display: block !important;
    }
    .section-image-sp {
        display: none !important;
    }
}

/* SP用のスタイル (画面幅が768px未満のときに適用) */
@media screen and (max-width: 767px) {
    .section-image.pc {
        display: none;
        /* PCの画像を非表示 */
    }

    .section-image.sp {
        display: block;
        /* SPの画像を表示 */
    }
}


/* メディアクエリでレスポンシブ対応 */
@media (max-width: 768px) {

    .message-content {
        flex-direction: column;
        display: flex;
    }
}


/* PC用スタイル */
@media (min-width: 768px) {
    .section-image-pc {
        display: block;
        max-width: 100%;
        /* PICK UP セクションの画像に限定 */
        height: auto;
        margin: 0 auto;
        /* 中央揃え */
    }

    .section-image-sp {
        display: none;
    }

    .text-container-athlete {
        /* PC向けのスタイル */
    }
}

/* スマートフォン用スタイル */
@media (max-width: 767px) {
    .section-image-pc {
        display: block !important;
        width: 100%;
        height: auto;
    }

    .section-image-sp {
        display: none !important;
    }

    .pc {
        display: none;
    }


    .green-box p {
        color: white;
        /* テキストの色を白に設定 */
        font-size: 1.4rem;
        /* フォントサイズを35pxに設定 */
        font-weight: bold;
        /* 太字に設定 */
        margin: 0;
        /* 余白をリセット */
        display: block;
        /* pタグをブロック要素にして縦並びを維持 */
        font-family: 'Zen Kaku Gothic New', system-ui;
    }

    .text-container-athlete {
        position: absolute;
        display: flex;
        flex-direction: column;
        top: 130%;
        /* セクション内の上部10%に配置 */
        z-index: 1;
        /* 画像の上に表示 */
        right: 28%;
        /* セクション内の右端から5%内側に配置 */
    }
}

/* ===== SP 最終上書き（ベースルールより後に記述して確実に上書き） ===== */
@media (max-width: 768px) {

    /* イントロ: 縦積み・写真フルブリード */
    .scene-intro-section {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    .scene-photo-col {
        width: 100% !important;
    }
    .scene-photo-col img {
        border-radius: 0 !important;
        width: 100% !important;
    }
    .scene-text-col {
        padding: 16px 16px 0 !important;
    }

    /* 丸: 2×2 重なりグリッド配置 */
    .benefits {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        width: 240px !important;
        gap: 0 !important;
        margin: 20px auto 0 !important;
    }
    .benefit-item {
        width: 130px !important;
        height: 130px !important;
        font-size: 0.78rem !important;
        margin-left: 0 !important;
        margin-right: -20px !important;
        margin-bottom: -20px !important;
    }
    .benefit-item:nth-child(1) { z-index: 4 !important; }
    .benefit-item:nth-child(2) { z-index: 3 !important; }
    .benefit-item:nth-child(3) { z-index: 2 !important; }
    .benefit-item:nth-child(4) { z-index: 1 !important; }
    .benefit-item:nth-child(5) { z-index: 0 !important; }

    /* ツボ: 図を上に・縦積み */
    .tubo-columns {
        flex-direction: column !important;
    }
    .tubo-image-col {
        width: 100% !important;
        order: -1 !important;
    }
    .tubo-image-col img {
        width: 100% !important;
    }
    .tubo-text-col {
        width: 100% !important;
    }

    /* pickup detail: 縦積み・画像フルサイズ */
    .pickup-detail-inner {
        flex-direction: column !important;
    }
    .pickup-detail-photos {
        width: 100% !important;
    }
    .pickup-detail-photos img {
        width: 100% !important;
    }
}