@charset "UTF-8";

:root {
    --color-bg: #fffcf5;
    --color-primary: #6b9080;
    --color-primary-dark: #4a665a;
    --color-accent: #f6bd60;
    --color-accent-pop: #ef8354;
    --color-text: #555b6e;
    --color-text-light: #89b0ae;
    --color-white: #ffffff;

    --font-main: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --radius-xl: 50px;

    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.75;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: rgba(255, 252, 245, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-sub-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 5px;
}

.logo-sub {
    font-size: 0.75rem;
    margin: 0;
    color: var(--color-accent-pop);
    font-weight: bold;
    line-height: 1.2;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-symbol {
    height: 50px;
    margin-right: 10px;
}

.logo-text-img {
    height: 35px;
    width: auto;
}

.btn-header {
    background: #6ca0dc;
    /* Blue */
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-header:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Hero（調整版） */
.hero {
    margin-top: 80px;
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 2;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* 背景写真を少し抑えて文字を読みやすく */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.80) 0%,
            rgba(255, 255, 255, 0.55) 40%,
            rgba(255, 255, 255, 0.10) 100%);
    pointer-events: none;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.hero-text-box {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 40px;
}

/* 一番上の細いタグライン */
.hero-tagline {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* メインキャッチを主役に */
.hero-catch {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.4;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

/* サブコピーは読みやすい太さで */
.hero-sub {
    font-size: 1.15rem;
    font-weight: 600;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

/* CTA周りを縦に揃える */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 既存 .btn-cta はそのまま利用 */

.micro-copy--hero {
    font-size: 0.9rem;
    color: #6f7b74;
    margin-top: 14px;
}

/* 信頼ポイント（PCでは横並び） */
.hero-trust {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    max-width: 780px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.hero-trust li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.hero-trust li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-accent-pop);
    font-weight: 700;
}

/* PCレイアウトで横並びにする */
@media (min-width: 900px) {
    .hero-trust {
        display: flex;
        justify-content: center;
        gap: 24px;
    }

    .hero-trust li {
        margin-bottom: 0;
        width: 30%;
        text-align: left;
    }
}

/* スマホ時は余白を少し強めに */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-text-box {
        padding: 20px;
    }

    .hero-catch {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: 0.95rem;
    }
}

.btn-cta,
.btn-cta-large,
.btn-cta-small {
    display: inline-block;
    background: var(--color-accent-pop);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(239, 131, 84, 0.25);
    text-align: center;
    transition: 0.25s ease;
    border: none;
}

.btn-cta-large {
    font-size: 1.4rem;
    padding: 20px 60px;
}

.btn-cta:hover,
.btn-cta-large:hover,
.btn-cta-small:hover {
    background: #ff9e75;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(239, 131, 84, 0.35);
}

.micro-copy {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

.wave-bottom {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin: 0 0 25px;
}

.section-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
    opacity: 0.8;
}

.section-lead {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 50px;
    line-height: 1.4;
    margin-top: 0;
}

/* Education */
.section-education {
    background: var(--color-bg);
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Specific adjustment for long title in Education section */
.section-education .section-title {
    font-size: 1.6rem;
    max-width: 100%;
}

@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
}

.bad-habits {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.icon-img {
    width: 1.6em;
    height: 1.6em;
    vertical-align: middle;
    margin-right: 4px;
    object-fit: contain;
    transform: translateY(-2px);
}

.flow-item.good {
    background: var(--color-primary);
    color: white;
}

.flow-item.bad {
    background: #ececec;
    color: #777;
}

.flow-vs {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-accent-pop);
}

/* ── Path Comparison（正しい発育 vs クセ）── */
.path-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.path-column {
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.path-good {
    background: #f0f7f4;
}

.path-bad {
    background: #fdf0f0;
}

.path-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
    text-align: center;
}

.path-label-bad {
    color: #c0392b;
}

.path-step {
    background: #fff;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    text-align: center;
    width: 100%;
    max-width: 320px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.path-arrow {
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1;
    padding: 6px 0;
    font-weight: 700;
}

.path-arrow-bad {
    color: #c0392b;
}

.path-result-good {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
}

.path-result-bad {
    background: #f5c6c6;
    color: #c0392b;
    font-weight: 700;
}

.mechanism-summary {
    text-align: center;
    margin-top: 32px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

.mechanism-summary strong {
    color: var(--color-accent-pop);
    font-weight: 800;
}

.sp-only {
    display: none;
}

.habit-note {
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-accent-pop);
    line-height: 1.6;
}

.education-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.9;
    color: var(--color-primary-dark);
}

/* Symptoms Check */
.section-symptoms {
    background: #fff7ec;
    padding: 80px 0;
}

.symptoms-lead {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.8;
    color: #666;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto 30px;
}

.symptom-item {
    background: #ffffff;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3e0c8;
}

.symptom-text {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
}

/* フッター文 */
.symptoms-bottom {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .symptoms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .symptom-item {
        border-radius: 20px;
        aspect-ratio: auto;
        padding: 14px 10px;
    }

    .symptom-text {
        font-size: 0.9rem;
    }
}

/* Myobrace Comparison */
.section-myobrace {
    background: #f0f7f4;
    /* Very light green */
    border-radius: var(--radius-xl);
    margin: 20px;
    padding-bottom: 60px;
}

.comparison-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .comparison-table {
        grid-template-columns: 1fr;
    }
}

.compare-col {
    background: #fffcf5;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    border: 1px solid #eee;
}

.compare-img {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 15px;
}

.compare-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-col h3 {
    color: var(--color-text);
    font-size: 1.1rem;
}

.compare-col.highlight {
    border: 6px solid var(--color-accent-pop);
    background: #fff;
    transform: scale(1.04);
    box-shadow: var(--shadow-strong);
    z-index: 3;
}

.badge {
    background: var(--color-accent-pop);
    color: #fff;
    padding: 7px 22px;
    font-weight: 800;
    border-radius: 30px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.compare-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.compare-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
    min-height: 60px;
    /* Align rows */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compare-list li:last-child {
    border-bottom: none;
}

.compare-list .label {
    display: block;
    font-size: 0.8rem;
    color: #999;
    font-weight: bold;
    margin-bottom: 2px;
}

.compare-list strong {
    color: var(--color-accent-pop);
    font-size: 1.1rem;
}

.compare-list .note {
    font-size: 0.85rem;
    color: #888;
}

.compare-cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.compare-cta-wrapper p {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

.btn-cta-small {
    display: inline-block;
    background: var(--color-accent-pop);
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(239, 131, 84, 0.3);
    transition: transform 0.3s;
}

.btn-cta-small:hover {
    transform: scale(1.05);
    background: #ff9e75;
}

/* Timing */
.section-timing {
    background-image: radial-gradient(#d0d0d0 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    /* Denser and more visible dots */
    padding-bottom: 90px;
    /* Tighter padding */
    border-bottom: 1px dashed #e0e0e0;
}

.timing-box {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.timing-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.timing-text strong {
    font-weight: 600;
}

/* Timing 3-card layout */
.timing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}
.timing-card {
    background: #fff;
    border: 1px solid #f0ebe4;
    border-radius: 16px;
    padding: 28px 20px 24px;
    text-align: center;
}
.timing-card-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.timing-card-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #2D2018;
    margin-bottom: 10px;
}
.timing-card-text {
    font-size: 0.88rem;
    color: #6B5E52;
    line-height: 1.7;
}

/* Timing alert (golden age) */
.timing-alert {
    background: #FFF3E6;
    padding: 28px 32px;
    border-radius: 16px;
    text-align: center;
    border: none;
    display: block;
}
.timing-alert-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: #FF6B00;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.timing-alert-text {
    font-size: 0.95rem;
    color: #6B5E52;
    line-height: 1.6;
}

.timing-bottom {
    margin-top: 40px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-primary-dark);
    line-height: 1.8;
}

/* Features */
.section-features {
    background: var(--color-bg);
    padding-top: 100px;
    /* Strengthen separation */
}

.features-sub {
    text-align: center;
    font-size: 1rem;
    color: #555555;
    line-height: 1.55;
    max-width: 640px;
    margin: -4px auto 40px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-num {
    font-size: 54px;
    font-weight: 700;
    color: rgba(138, 165, 156, 0.25);
    position: absolute;
    top: 10px;
    right: 20px;
    left: auto;
    z-index: 0;
    pointer-events: none;
}

.feature-item h3 {
    position: relative;
    z-index: 1;
    color: var(--color-primary);
    margin-bottom: 10px;
    /* Reduced from default */
}

.feature-item p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    color: #333333;
    /* Darker text for readability */
}



/* Results (Before/After) */
.section-results {
    background: #ffffff;
    padding-top: 100px;
}

.results-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.results-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #3b7356;
    margin-bottom: 8px;
}

.results-sub {
    text-align: center;
    font-size: 14px;
    color: #666666;
    margin-top: 0;
    margin-bottom: 32px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* 個々のケース */
.result-card {
    background: #fffaf1;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

/* ピル型ラベル */
.result-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: #d9f3df;
    color: #3a8753;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Before / After 部分 */
.result-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.result-column {
    display: flex;
    flex-direction: column;
}

/* Before/After のラベル */
.result-ba-label {
    font-size: 12px;
    color: #999999;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
}

/* グレーのボックス */
.result-ba-box {
    background: #e4e4e4;
    border-radius: 16px;
    padding: 0 12px 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* After側は少し明るくして希望感を出す */
.result-ba-box--after {
    border: 1px solid #f3d9a8;
}

/* 矢印 */
.result-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-arrow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f9c27b;
    color: #ffffff;
    font-size: 16px;
    /* Ensure 16px */
    font-weight: 700;
    margin: 0 16px;
    /* Increased margin */
    position: relative;
    top: -2px;
    /* Shift UP */
}

/* 下の説明文 */
.result-desc {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.6;
    /* Tighter line height */
    color: #6f7b74;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .result-card {
        padding: 18px 16px 16px;
    }

    .result-flow {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .result-arrow span {
        margin: 0 auto;
        transform: rotate(90deg);
        /* 縦並びでは下向き矢印っぽく */
    }
}

/* Voices (Parent's Voice) */
.section-voices {
    padding-top: 40px;
    /* Reduced top padding */
    padding-bottom: 120px;
    background: #fff7e6;
}

.voices-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.voices-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #3b7356;
    margin-bottom: 8px;
}

.voices-sub {
    text-align: center;
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 32px;
}

.voices-grid {
    display: flex;
    /* Flex for perfect centering */
    justify-content: center;
    gap: 40px;
    /* Reduced gap for tighter centering */
    margin: 0 auto;
}

/* 吹き出しカード */
.voice-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 22px 40px;
    /* Bottom padding increased for name */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    min-height: 200px;
    /* Align heights */
    width: 300px;
    /* Fixed width for symmetry */
    display: flex;
    flex-direction: column;
}

/* 吹き出し尻尾 */
.voice-card::after {
    content: "";
    position: absolute;
    left: 32px;
    bottom: -12px;
    border-width: 12px 10px 0 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

/* テキスト */
.voice-text {
    font-size: 13px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 12px;
    flex-grow: 1;
}

/* 名前 */
.voice-name {
    font-size: 11px;
    /* Smaller size */
    font-weight: 500;
    /* Lighter font */
    color: #3b7356;
    position: absolute;
    bottom: 20px;
    right: 22px;
    text-align: right;
    opacity: 0.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .voices-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .voice-card {
        padding: 20px 18px 24px;
    }
}

/* FAQ */
.section-faq {
    background: white;
}

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

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item summary {
    font-weight: bold;
    cursor: pointer;
    padding: 20px 0;
    list-style: none;
    position: relative;
    padding-right: 30px;
    color: var(--color-primary-dark);
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--color-accent);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
}

/* Treatment Flow */
.section-flow {
    background: #f7fbfa;
    padding: 80px 0;
}

.flow-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.flow-lead {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 50px;
    color: #666;
    line-height: 1.7;
}

.flow-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.flow-step {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e0f0ea;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.step-title {
    font-size: 1.3rem;
    color: var(--color-primary-dark);
    margin-bottom: 14px;
}

.step-text {
    line-height: 1.8;
    color: #444;
}

/* スマホ最適化 */
@media (max-width: 768px) {
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .flow-step {
        padding: 24px;
    }
}

/* Payment Methods */
.section-payment {
    background: #ffffff;
    padding: 40px 0 60px;
}

.payment-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #faf8f3;
    border-radius: 16px;
    padding: 40px 40px 36px;
}

.payment-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 24px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.payment-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payment-card-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}

.payment-card-desc {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* スマホ最適化 */
@media (max-width: 768px) {
    .payment-wrapper {
        padding: 24px 20px;
    }

    .payment-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .payment-card {
        padding: 20px 12px;
    }

    .payment-card-heading {
        font-size: 0.9rem;
    }

    .payment-card-desc {
        font-size: 0.8rem;
    }
}

/* Medical Expense Deduction */
.section-medical {
    background: #f7fbfa;
}

.medical-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #e0f0ea;
}

.medical-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--color-primary-dark);
    margin: 0 0 12px;
}

.medical-lead {
    text-align: center;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.medical-body p {
    margin-top: 0;
    margin-bottom: 14px;
    line-height: 1.9;
}

.medical-cta {
    text-align: center;
    margin-top: 24px;
}

/* Program Section（マイオで何をするか） */
.section-program {
    background: #fffcf5;
    padding: 80px 0;
}

.program-lead {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

/* 中央に縦並びでカードを配置 */
.program-rows {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* 1行分のカード */
.program-row {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

/* 2段目だけ左右入れ替え */
.program-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
}

.program-row--reverse .program-row-image {
    order: 2;
}

/* 画像エリア */
.program-row-image img {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 18px;
}

/* テキストエリア */
.program-row-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
}

.program-row-title {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

/* 注意文 */
.program-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .section-program {
        padding: 60px 0;
    }

    .program-rows {
        gap: 20px;
    }

    .program-row,
    .program-row--reverse {
        grid-template-columns: 1fr;
        padding: 18px 16px;
    }

    .program-row-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .program-row-image img {
        max-height: none;
    }

    .program-row-text {
        font-size: 0.9rem;
    }
}

/* Fee Section（治療費） */
.section-fee {
    background: #ffffff;
    padding: 80px 0;
}

.fee-title {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.fee-title-bar {
    width: 40px;
    height: 4px;
    background: #e8854a;
    margin: 16px auto 48px;
    border-radius: 2px;
}

/* Fee Cards */
.fee-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f7f5;
    border-radius: 8px;
    padding: 28px 36px;
    max-width: 900px;
    margin: 0 auto 16px;
}

.fee-card-left {
    flex: 1;
}

.fee-card-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px;
}

.fee-card-desc {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.fee-card-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fee-free {
    font-size: 2.2rem;
    font-weight: 700;
    color: #6b8e5a;
    line-height: 1.1;
}

.fee-free-sub {
    font-size: 0.85rem;
    color: #6b8e5a;
}

.fee-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

.fee-price-unit {
    font-size: 0.95rem;
    color: #666;
    margin-left: 2px;
}

/* Myobrace System */
.fee-myobrace-section {
    max-width: 900px;
    margin: 32px auto;
}

.fee-myobrace-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px;
}

.fee-myobrace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fee-myobrace-grid-single {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.fee-myobrace-grid-three {
    grid-template-columns: 1fr 1fr 1fr;
}

.fee-stage-label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: #6aab9e;
    border-radius: 6px;
    padding: 6px 18px;
    display: inline-block;
    margin: 24px 0 12px;
}

.fee-stage-label-2 {
    background: #8e7cc3;
}

.fee-myobrace-card {
    background: #f7f7f5;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}

.fee-myobrace-label {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 12px;
}

.fee-myobrace-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* パスポート調整料 */
.fee-passport-section {
    max-width: 900px;
    margin: 32px auto 0;
    border-top: 1px solid #e5e5e5;
    padding-top: 28px;
}

.fee-passport-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.fee-passport-card {
    background: #f7f7f5;
    border-radius: 8px;
    padding: 20px 12px;
    text-align: center;
    border: 2px solid transparent;
}

.fee-passport-recommended {
    border-color: #6aab9e;
    background: #f0f8f6;
}

.fee-passport-cash {
    background: #fafafa;
}

.fee-passport-label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.fee-passport-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px;
}

.fee-passport-note {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}

.fee-passport-tip {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.7;
    margin: 4px 0 0;
}

/* 調整・管理料（旧） */
.fee-card-adjust {
    border-top: 1px solid #e5e5e5;
    border-radius: 0;
    background: transparent;
    padding: 28px 36px;
    margin-top: 16px;
}

/* Notes */
.fee-notes {
    max-width: 900px;
    margin: 32px auto 0;
    background: #f7f7f5;
    border-radius: 8px;
    padding: 24px 36px;
    border-left: 4px solid #d4c9a8;
}

.fee-notes p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.9;
    margin: 0;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .section-fee {
        padding: 60px 0;
    }

    .fee-title {
        font-size: 1.5rem;
    }

    .fee-card {
        padding: 20px 20px;
    }

    .fee-myobrace-grid {
        grid-template-columns: 1fr;
    }

    .fee-myobrace-grid-three {
        grid-template-columns: 1fr;
    }

    .fee-myobrace-grid-single {
        max-width: 100%;
    }

    .fee-passport-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fee-myobrace-price {
        font-size: 1.5rem;
    }

    .fee-card-adjust {
        padding: 20px 20px;
    }

    .fee-notes {
        padding: 20px 20px;
    }

    .sp-only {
        display: inline;
    }
}

@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
}

/* FAQ Director Comment */
.faq-director-comment {
    margin-top: 40px;
    background: #f9f9f9;
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    border: 1px solid #eee;
}

.director-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.director-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

.director-message {
    flex: 1;
}

.dm-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.dm-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* LINE Consultation */
.section-line {
    background: #f0f8f7;
    padding: 80px 0;
    border-top: 1px solid #e4edea;
}

.line-lead {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

/* 2カラムレイアウト */
.line-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.line-column {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 26px 30px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
    border: 1px solid #dceee8;
}

.line-column-title {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.line-column-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

/* 箇条書き（中のポイント）を丸pill風に */
.line-points {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.line-points li {
    background: #f0f8f7;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #3b7356;
}

/* ボタン・CTA周り */
.line-cta {
    text-align: center;
    margin-top: 10px;
}

.btn-line {
    display: inline-block;
    background: #06C755;
    color: white;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 18px rgba(6, 199, 85, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-line-secondary {
    background: #00b341;
}

.btn-line:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 22px rgba(6, 199, 85, 0.4);
}

.line-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #777;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .line-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .line-column {
        padding: 22px 18px 24px;
    }

    .btn-line {
        width: 100%;
        max-width: 320px;
    }

    .line-points {
        gap: 6px;
    }

    .line-points li {
        font-size: 0.8rem;
    }
}

/* Contact Final */
.section-contact-final {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 100px 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-strong);
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.contact-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.contact-menu li {
    background: #e0f2f1;
    color: var(--color-primary-dark);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-cta-large {
    display: inline-block;
    background: var(--color-accent-pop);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 20px 60px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(239, 131, 84, 0.4);
    transition: transform 0.3s;
}

.btn-cta-large:hover {
    transform: scale(1.05);
    background: #ff9e75;
}

.contact-micro {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Clinic */
.section-clinic {
    background: #ffffff;
    padding: 80px 0 100px;
}

/* Clinic Profile */
.clinic-profile {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);

    max-width: 960px;
    margin: 0 auto;

    display: flex;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .clinic-profile {
        flex-direction: column;
    }
}

.doctor-img {
    max-width: 280px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.doctor-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.doctor-text h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    line-height: 1.7;
    margin: 0 0 16px;
}

.doctor-name {
    font-weight: bold;
    text-align: right;
    margin-top: 16px;
    font-size: 0.95rem;
    color: #555;
}

/* Footer */
footer {
    background: var(--color-primary-dark);
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* .flow-result {
    white-space: nowrap;
} */

@media (min-width: 768px) {
    .flow-result {
        white-space: nowrap;
    }
}

/* ============================
   📱 Mobile Optimization (768px以下)
   ============================ */
@media (max-width: 768px) {

    /* ★ 全体：スマホは余白を広げると“高級感”が出る */
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* ★ 見出しは少し小さくし、行間をゆったり */
    .section-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    /* ----------------------------
       ① ヒーロー
       ---------------------------- */
    .hero {
        min-height: auto;
        padding: 40px 0 60px;
    }

    .hero-text-box {
        padding: 0 20px;
    }

    .hero-catch {
        font-size: 1.6rem;
        line-height: 1.35;
        margin-bottom: 15px;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .btn-cta {
        font-size: 1.1rem;
        padding: 14px 30px;
        width: 100%;
        max-width: 320px;
        margin: 20px auto 0;
    }

    .hero-trust {
        padding-left: 16px;
        margin-top: 20px;
    }

    /* ----------------------------
       ② 教育（お口のクセ）
       ---------------------------- */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bad-habits {
        padding: 24px;
    }

    .flow-chart {
        flex-direction: row;
        gap: 8px;
        align-items: stretch;
    }

    .flow-item {
        flex: 1;
        padding: 14px 10px;
        border-radius: 12px;
        font-size: 0.8rem;
    }

    .flow-title {
        font-size: 0.85rem !important;
    }

    .flow-desc, .flow-result {
        font-size: 0.75rem !important;
    }

    .flow-vs {
        font-size: 1rem;
        align-self: center;
        flex-shrink: 0;
    }

    /* Path Comparison モバイル */
    .path-comparison {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .path-column {
        padding: 16px 10px;
        border-radius: 12px;
    }

    .path-label {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .path-step {
        font-size: 0.8rem;
        padding: 10px 12px;
        max-width: 100%;
    }

    .path-arrow {
        font-size: 1rem;
        padding: 4px 0;
    }

    .mechanism-summary {
        font-size: 0.9rem;
        margin-top: 24px;
    }

    .sp-only {
        display: inline;
    }

    /* ----------------------------
       ③ 比較表
       ---------------------------- */
    .comparison-table {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .compare-col.highlight {
        transform: none;
    }

    .badge {
        font-size: 0.85rem;
        padding: 6px 18px;
    }

    /* ----------------------------
       ④ タイミング
       ---------------------------- */
    .timing-box {
        padding: 32px 20px;
    }

    .timing-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* ----------------------------
       ⑤ 特徴（発育を戻す矯正）
       ---------------------------- */
    .features-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-item {
        padding: 24px;
    }

    .feature-num {
        font-size: 40px;
        right: 12px;
    }

    /* ----------------------------
       ⑥ Before / After
       ---------------------------- */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .result-ba-box {
        height: auto;
        min-height: 160px;
        padding: 14px;
    }

    .result-arrow span {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    /* ----------------------------
       ⑦ 保護者の声
       ---------------------------- */
    .voices-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .voice-card {
        width: 100%;
        max-width: 330px;
    }

    /* ----------------------------
       ⑧ FAQ
       ---------------------------- */
    .faq-item summary {
        font-size: 1rem;
        padding: 18px 0;
    }

    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .faq-director-comment {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .faq-item summary {
        font-size: 1rem;
        padding: 18px 0;
    }

    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    /* ----------------------------
       ⑨ 最終CTA（相談会）
       ---------------------------- */
    .contact-card {
        padding: 40px 24px;
    }

    .contact-title {
        font-size: 1.6rem;
    }

    .btn-cta-large {
        font-size: 1.2rem;
        padding: 16px 32px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* ----------------------------
       ⑩ 医院紹介
       ---------------------------- */
    .clinic-profile {
        flex-direction: column;
        text-align: left;
        padding: 32px 20px;
        gap: 24px;
    }

    .doctor-img {
        max-width: 260px;
        margin: 0 auto;
    }

    .doctor-text h3 {
        font-size: 1.3rem;
    }
}

/* ============================
   📱 Mobile Typography Fine-tuning
   ============================ */
@media (max-width: 768px) {

    /* ベース文字の調整：少し軽く＆読みやすく */
    body {
        font-size: 15px;
        line-height: 1.8;
        font-weight: 400;
    }

    /* セクションリード（説明文）は“少し軽く” */
    .section-lead,
    .features-sub,
    .timing-text,
    .education-bottom,
    .results-sub,
    .voices-sub,
    .contact-micro,
    .timing-bottom {
        font-size: 0.95rem;
        line-height: 1.8;
        font-weight: 400;
    }

    /* 本文系（pタグ）は統一して“読みやすい行間”に */
    p {
        line-height: 1.8;
        font-weight: 400;
    }

    /* 見出しは太さを少し落として“ギラつき”を抑える */
    .section-title,
    .results-heading,
    .voices-heading,
    .contact-title,
    .doctor-text h3 {
        font-weight: 700;
        line-height: 1.4;
    }

    /* ヒーロー周り：主役だけ少し強め */
    .hero-catch {
        font-weight: 800;
        line-height: 1.35;
    }

    .hero-sub {
        font-weight: 500;
        line-height: 1.7;
    }

    .hero-tagline {
        font-size: 0.9rem;
        font-weight: 500;
    }

    /* FAQなどのテキスト密集ゾーンは行間をたっぷり */
    .faq-item summary {
        line-height: 1.7;
        font-weight: 600;
    }

    .faq-answer p {
        line-height: 1.9;
        font-weight: 400;
    }

    /* リスト系の文字も少し細く＆行間広めで圧迫感を減らす */
    .bad-habits li,
    .compare-list li,
    .contact-menu li {
        line-height: 1.8;
        font-weight: 500;
    }
    .timing-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ボタン内の文字は“しっかり強め”のまま */
    .btn-cta,
    .btn-cta-large,
    .btn-cta-small {
        font-weight: 800;
        letter-spacing: 0.03em;
    }

    /* 保護者の声は、ふわっと軽く読めるように */
    .voice-text {
        line-height: 1.9;
        font-weight: 400;
    }

    .voice-name {
        font-weight: 500;
    }

    /* 医院紹介は“落ち着いた読み物”っぽく */
    .doctor-text p {
        line-height: 1.9;
        font-weight: 400;
    }
}

/* ヒーロー直下：マイオブレースルーム（縦長写真用） */
.section-hero-room {
    padding: 40px 0 72px;
    background: var(--color-bg);
}

.hero-room-inner {
    max-width: 780px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
    padding: 28px 32px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 縦長写真をそのまま見せるための枠 */
.hero-room-photo-wrapper {
    border-radius: 26px;
    overflow: hidden;
}

/* ここがポイント：高さは自動、切り取りなし */
.hero-room-img {
    display: block;
    width: 100%;
    max-width: 360px;
    /* PC時の縦長の幅 */
    height: auto;
    object-fit: contain;
    /* 画像を切らない */
}

/* 写真下の説明テキスト */
.hero-room-caption {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #6f7b74;
    text-align: center;
}

/* スマホ最適化 */
@media (max-width: 768px) {
    .hero-room-inner {
        padding: 22px 20px 22px;
        border-radius: 24px;
    }

    .hero-room-img {
        max-width: 420px;
        /* スマホでは少し大きめに見せる */
    }

    .hero-room-caption {
        font-size: 0.9rem;
    }
}

/* ▼ 新しく追加する 3枚ギャラリー ▼ */
.clinic-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.clinic-photo {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.clinic-photo img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.clinic-photo figcaption {
    padding: 12px 14px 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .clinic-profile {
        flex-direction: column;
        padding: 28px 20px;
    }

    .doctor-img {
        margin: 0 auto 12px;
        max-width: 220px;
    }

    .clinic-photos {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .clinic-photo img {
        height: 190px;
    }
}

/* 比較セクション：装置写真 */
.compare-photo {
    margin-bottom: 12px;
}

.compare-photo img {
    width: 100%;
    max-width: 220px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
}

/* ヒーロー右下に重ねる丸いバッジ写真 */
.hero-photo-badge {
    position: absolute;
    right: 5%;
    bottom: 6%;
    width: 280px;
    height: 280px;
    z-index: 10;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    border: 6px solid #fffcf5;
    background: #fff;
}

.hero-photo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 28%;
}

/* スマホではヒーロー下にはみ出す演出 */
@media (max-width: 768px) {
    .hero-photo-badge {
        width: 220px;
        height: 220px;
        right: 50%;
        transform: translateX(50%);
        bottom: -110px;
    }

    /* はみ出した分だけ、ヒーロー下の余白を増やす */
    .hero {
        padding-bottom: 140px;
    }
}

/* =========================================
   Added Styles for Polish (2025-12-04)
   ========================================= */

/* 2-1. Container Definition */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 2-2. Header Button Color */
.btn-header {
    background: var(--color-accent-pop);
}

/* 3-3. Scroll Margin for Anchors */
section[id] {
    scroll-margin-top: 90px;
}

/* 3-1. Header Responsive */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .logo {
        gap: 10px;
    }

    .logo-symbol {
        height: 40px;
    }

    .logo-text-img {
        height: 28px;
    }

    .btn-header {
        align-self: stretch;
        text-align: center;
        width: 100%;
    }
}

/* 3-2. Voices Grid Responsive */
@media (max-width: 768px) {
    .voices-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .voice-card {
        width: 100%;
        max-width: 330px;
    }
}

/* 3-4. Tablet Responsive */
@media (max-width: 1024px) {
    .comparison-table {
        grid-template-columns: 1fr;
    }

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

    .clinic-photos {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================
   New Element Styles
   ========================================= */

/* Mechanism Visual */
.mechanism-visual {
    text-align: center;
    margin-bottom: 24px;
}

.mechanism-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* Symptom Icon */
.symptom-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
}

.symptom-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.symptom-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
}

/* Specific adjustment for posture icon removed as new icon is used */

/* Adjust specific icons to be slightly smaller */
.symptom-icon img[src*="icon_openmouth"],
.symptom-icon img[src*="icon_breath"],
.symptom-icon img[src*="icon_posture"] {
    transform: scale(1.1);
}

/* Timing Graph */
.timing-graph {
    text-align: center;
    margin: 32px 0;
}

.timing-graph img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* Feature Photo */
.feature-photo {
    margin: -30px -30px 20px -30px;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-item:hover .feature-photo img {
    transform: scale(1.05);
}

/* Step Icon (legacy) */
.step-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}
.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Step Illustration (SVG) */
.step-illust {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 16px;
}
.step-illust svg {
    width: 100%;
    height: auto;
    display: block;
}
.step-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Result Photos */
.result-photos {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.result-photos figure {
    margin: 0;
    flex: 1;
    text-align: center;
}

.result-photos img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
}

.result-photos figcaption {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
    font-weight: bold;
}

/* Voice Icon */
.voice-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.voice-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Contact Card Final Layout */
.contact-card-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-image {
    flex: 1;
    max-width: 400px;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
    .contact-card-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-image {
        max-width: 100%;
        margin-bottom: 24px;
        order: -1;
    }

    .contact-menu {
        display: inline-block;
        text-align: left;
    }
}

/* 6つの特徴グリッド用スタイル */
.features-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* PCでは3列 */
    gap: 30px;
    /* カード間の隙間 */
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: transform 0.3s;
}

/* ホバー時に少し浮き上がる演出 */
.feature-card:hover {
    transform: translateY(-5px);
    border-color: #FF9F1C;
    /* テーマカラーに合わせて変更可 */
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    background: #FFF5E0;
    /* 薄いオレンジ背景 */
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
    border-bottom: 2px solid #FF9F1C;
    display: inline-block;
    padding-bottom: 5px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
    /* 文章は左揃えの方が読みやすい */
}

/* スマホ対応（レスポンシブ） */
@media (max-width: 768px) {
    .features-grid-6 {
        grid-template-columns: 1fr;
        /* スマホでは1列 */
        gap: 20px;
    }

    .feature-card {
        padding: 25px 15px;
    }
}

/* Features Image Replacement */
.feature-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
}

.feature-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img-container img {
    transform: scale(1.05);
}
/* チェックリスト周りのスタイル調整 (Added for Prototype 03) */
.check-sub {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.check-list-container h4 {
    font-size: 1rem;
    color: #FF9F1C; /* テーマカラー */
    border-bottom: 1px dashed #FF9F1C;
    margin-top: 15px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.check-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* リストは左揃えが見やすい */
}

.check-list-container ul li {
    margin-bottom: 8px;
    font-weight: 500;
}

.check-alert {
    background: #FFF5E0;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #FFD085;
}

/* レイアウト調整（PC時に横並びにするなど） */
@media (min-width: 768px) {
    .education-grid {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    .mechanism, .bad-habits {
        flex: 1;
        background: #fff;
        padding: 30px;
        border-radius: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
}

/* =========================================
   Comprehensive Mobile Optimization
   ========================================= */

/* --- Prevent horizontal overflow --- */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* --- Header Mobile Fix (override existing 768px rules) --- */
@media (max-width: 768px) {
    header {
        padding: 6px 0 !important;
    }

    .header-inner {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 10px !important;
        gap: 6px !important;
    }

    .logo-sub-container {
        display: none !important;
    }

    .logo {
        gap: 4px !important;
        min-width: 0;
        overflow: hidden;
        flex: 1;
    }

    .logo-link {
        min-width: 0;
        overflow: hidden;
        align-items: center;
    }

    .logo-symbol {
        height: 30px !important;
        flex-shrink: 0;
        margin-right: 4px !important;
    }

    .logo-text-img {
        height: 18px !important;
        flex-shrink: 1;
        min-width: 0;
    }

    .btn-header {
        white-space: nowrap !important;
        padding: 8px 14px !important;
        font-size: 0.72rem !important;
        flex-shrink: 0 !important;
        width: auto !important;
        align-self: center !important;
        border-radius: 20px !important;
    }
}

/* --- Hide desktop-oriented <br> on mobile in body text --- */
@media (max-width: 768px) {
    .section-lead br,
    .hero-sub br,
    .hero-tagline br,
    .timing-text br,
    .program-lead br,
    .program-row-text p br,
    .program-note br,
    .flow-lead br,
    .step-text br,
    .check-alert p br,
    .check-sub br,
    .medical-body p br,
    .medical-lead br,
    .fee-notes br,
    .features-sub br,
    .doctor-text > p br,
    .voices-sub br,
    .results-sub br,
    .result-desc br,
    .line-lead br,
    .line-column-text br,
    .hero-room-caption br,
    .contact-micro br,
    .voice-text br,
    .dm-text br,
    .compare-cta-wrapper p br {
        display: none;
    }

    /* Keep sp-only breaks visible */
    br.sp-only {
        display: inline !important;
    }
}

/* --- Mobile Typography & Spacing --- */
@media (max-width: 768px) {

    /* Global phrase-based line breaking for natural Japanese text wrapping */
    .section-title,
    .section-lead,
    .hero-catch,
    .hero-sub,
    .hero-tagline,
    .hero-trust li,
    .hero-room-caption,
    .timing-text,
    .timing-alert-title,
    .timing-alert-text,
    .timing-card-text,
    .features-sub,
    .feature-card p,
    .feature-card h3,
    .program-lead,
    .program-row-text p,
    .program-row-title,
    .program-note,
    .flow-lead,
    .step-text,
    .fee-notes p,
    .check-alert p,
    .check-sub,
    .mechanism-summary,
    .doctor-text > p,
    .voices-sub,
    .voice-text,
    .results-sub,
    .result-desc,
    .line-lead,
    .line-column-text,
    .medical-lead,
    .medical-body p,
    .contact-micro,
    .clinic-photo figcaption,
    .dm-text,
    .payment-card-desc {
        word-break: auto-phrase;
        overflow-wrap: break-word;
    }

    .section-title {
        font-size: 1.2rem !important;
        line-height: 1.55 !important;
    }

    .section-lead {
        font-size: 0.85rem !important;
        line-height: 1.8 !important;
    }

    .hero-catch {
        font-size: 1.15rem !important;
        line-height: 1.55 !important;
    }

    .hero-sub {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
    }

    .hero-tagline {
        font-size: 0.75rem !important;
        line-height: 1.6 !important;
    }

    .hero-trust {
        text-align: left !important;
    }

    .hero-trust li {
        font-size: 0.78rem !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }

    .hero-room-caption {
        font-size: 0.82rem !important;
        line-height: 1.7 !important;
        text-align: left !important;
    }

    .timing-text {
        font-size: 0.85rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .timing-alert {
        padding: 20px 16px;
    }
    .timing-alert-title {
        font-size: 1.05rem;
    }

    .timing-card-text {
        font-size: 0.82rem !important;
        line-height: 1.7 !important;
    }

    .check-alert p {
        font-size: 0.82rem !important;
        line-height: 1.7 !important;
        text-align: left !important;
    }

    .check-sub {
        font-size: 0.82rem !important;
        line-height: 1.7 !important;
    }

    .program-lead {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .program-row-title {
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
    }

    .program-row-text p {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .program-note {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .features-sub {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .feature-card p {
        font-size: 0.82rem !important;
        line-height: 1.7 !important;
        text-align: left !important;
    }

    .feature-card h3 {
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
    }

    .flow-lead {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
    }

    .step-text {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .fee-notes p {
        font-size: 0.8rem !important;
        line-height: 1.8 !important;
    }

    .doctor-text > p {
        font-size: 0.82rem !important;
        line-height: 1.9 !important;
        text-align: left !important;
    }

    .doctor-name {
        font-size: 0.78rem !important;
    }

    .voices-sub {
        font-size: 0.85rem !important;
        line-height: 1.8 !important;
    }

    .voice-text {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
    }

    .results-sub {
        font-size: 0.85rem !important;
        line-height: 1.8 !important;
    }

    .result-desc {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
    }

    .line-lead {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
    }

    .line-column-text {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .medical-lead {
        font-size: 0.85rem !important;
        line-height: 1.8 !important;
    }

    .medical-body p {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .contact-title {
        font-size: 1.15rem !important;
        line-height: 1.5 !important;
        word-break: auto-phrase;
    }

    .contact-content h3 {
        font-size: 1.0rem !important;
    }

    .contact-micro {
        font-size: 0.8rem !important;
        line-height: 1.7 !important;
    }

    .clinic-photo figcaption {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }

    .dm-text {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .mechanism-summary {
        font-size: 0.82rem !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }

    .payment-card-desc {
        font-size: 0.78rem !important;
        white-space: nowrap;
    }

    /* Container padding */
    .container {
        padding: 0 16px !important;
    }

    /* Section vertical spacing */
    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Hero section special */
    .hero {
        padding-top: 0 !important;
        padding-bottom: 170px !important;
        overflow: visible;
    }

    /* Comparison table mobile layout */
    .comparison-table {
        gap: 16px !important;
    }

    .compare-col {
        padding: 20px 16px !important;
    }

    .compare-list li {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
    }

    /* Program rows stack on mobile */
    .program-row {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .program-row--reverse {
        flex-direction: column !important;
    }

    .program-row-image {
        width: 100% !important;
        max-width: 100% !important;
    }

    .program-row-text {
        width: 100% !important;
    }

    /* Flow steps */
    .flow-steps {
        gap: 20px !important;
    }

    .flow-step {
        padding: 20px 16px !important;
    }

    /* Results section */
    .result-flow {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .result-arrow {
        transform: rotate(90deg);
    }

    .result-ba-box {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
    }

    /* Voice cards */
    .voice-card {
        padding: 22px 22px 22px !important;
    }

    .voice-text {
        font-size: 0.88rem !important;
        line-height: 1.7 !important;
        margin-bottom: 8px !important;
    }

    .voice-name {
        position: static !important;
        text-align: right !important;
        margin-top: 4px;
        font-size: 0.78rem !important;
    }

    /* Clinic photos grid */
    .clinic-photos {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* LINE section */
    .line-columns {
        max-width: 100% !important;
    }

    /* Footer spacing for fixed CTA bar */
    footer {
        padding-bottom: 100px !important;
    }

    /* FAQ */
    .faq-item summary {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        padding: 14px 16px !important;
    }

    .faq-answer p {
        font-size: 0.85rem !important;
        line-height: 1.8 !important;
    }

    /* Director comment in FAQ */
    .faq-director-comment {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .dm-text {
        font-size: 0.88rem !important;
        line-height: 1.7 !important;
    }

    /* Doctor section */
    .clinic-profile {
        flex-direction: column !important;
        text-align: center !important;
    }

    .doctor-img {
        margin: 0 auto 20px !important;
    }

    .doctor-text h3 {
        font-size: 1.15rem !important;
        line-height: 1.5 !important;
    }

    /* Fixed CTA bar - slim design */
    #fixed-cta-bar a {
        min-height: 0 !important;
    }
}

/* =========================================
   Tablet Responsive (769px - 1024px)
   ========================================= */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Header: Tighter layout for tablet */
    header {
        padding: 10px 0;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo-sub {
        font-size: 0.6rem;
        line-height: 1.2;
    }

    .logo-symbol {
        height: 38px;
    }

    .logo-text-img {
        height: 24px;
    }

    .btn-header {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    /* Container */
    .container {
        padding: 0 24px;
        max-width: 720px;
        margin: 0 auto;
    }

    /* Section spacing */
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }

    .section-lead {
        font-size: 0.95rem;
    }

    /* Education: Stack vertically on tablet (flowchart overflows in 2-col) */
    .education-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .mechanism, .bad-habits {
        flex: none !important;
        width: 100% !important;
    }

    /* Flow chart: horizontal on tablet */
    .flow-chart {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }

    /* Comparison table: single column */
    .comparison-table {
        grid-template-columns: 1fr;
    }

    /* Features grid: 2 columns */
    .features-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Program rows: keep horizontal but adjust grid for tablet */
    .program-row {
        grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
        gap: 20px;
    }

    .program-row--reverse {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    }

    .program-row-image img {
        max-height: 180px;
    }

    /* Flow steps */
    .flow-steps {
        gap: 24px;
    }

    /* Before/After results */
    .result-flow {
        gap: 16px;
    }

    /* Voice cards */
    .voice-cards {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .voice-card {
        width: calc(50% - 10px);
        max-width: 340px;
    }

    /* Clinic photos: 2 columns */
    .clinic-photos {
        grid-template-columns: 1fr 1fr;
    }

    /* Doctor section */
    .clinic-profile {
        gap: 30px;
    }

    .doctor-img {
        width: 180px;
        height: 180px;
    }

    /* Contact card */
    .contact-card {
        max-width: 680px;
        margin: 0 auto;
    }

    /* LINE columns */
    .line-columns {
        gap: 20px;
    }

    /* Footer */
    footer {
        padding-bottom: 60px;
    }

    /* Hero photo badge: tablet — モバイルと同様に中央配置 */
    .hero-photo-badge {
        width: 200px;
        height: 200px;
        right: 50%;
        transform: translateX(50%);
        bottom: -100px;
    }

    .hero {
        padding-bottom: 130px !important;
    }
}

/* =========================================
   Desktop+ Enhancements (1025px+)
   ========================================= */
@media (min-width: 1025px) {
    /* Ensure proper container width */
    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 30px;
    }

    /* Hero: proper spacing */
    .hero {
        min-height: 520px;
    }

    /* Hero photo badge: larger on desktop */
    .hero-photo-badge {
        width: 300px;
        height: 300px;
    }

    /* Features grid: 3 columns on desktop */
    .features-grid-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* Program rows: grid handles width via grid-template-columns */
    .program-row-image {
        width: 100%;
    }

    /* Voice cards: 3 columns */
    .voice-cards {
        flex-wrap: nowrap;
        gap: 24px;
    }

    .voice-card {
        flex: 1;
        max-width: 360px;
    }

    /* Footer */
    footer {
        padding-bottom: 60px;
    }
}

/* =========================================
   CTA Bar Responsive (all screen sizes)
   ========================================= */

/* Tablet CTA bar */
@media (min-width: 769px) and (max-width: 1024px) {
    #fixed-cta-bar {
        padding: 5px 16px !important;
    }

    #fixed-cta-bar > div {
        max-width: 440px !important;
        gap: 6px !important;
    }

    #fixed-cta-bar a {
        height: 34px !important;
        font-size: 0.72rem !important;
        border-radius: 8px !important;
        gap: 4px !important;
        min-height: 0 !important;
    }
}

/* Desktop CTA bar */
@media (min-width: 1025px) {
    #fixed-cta-bar {
        padding: 6px 20px !important;
    }

    #fixed-cta-bar > div {
        max-width: 480px !important;
        gap: 8px !important;
    }

    #fixed-cta-bar a {
        height: 38px !important;
        font-size: 0.78rem !important;
        border-radius: 8px !important;
        gap: 5px !important;
        min-height: 0 !important;
    }
}

/* =============================================
   セクションナビバー
   ============================================= */
.section-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 252, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8e5de;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.section-nav.visible {
    transform: translateY(60px);
}
.section-nav-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover {
    color: var(--color-primary-dark);
}
.nav-link.active {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-primary);
}

@media (max-width: 768px) {
    .section-nav.visible {
        transform: translateY(50px);
    }
    .nav-link {
        padding: 8px 12px;
        font-size: 0.72rem;
    }
}

/* =============================================
   信頼バー（スクロールアニメーション）
   ============================================= */
.trust-bar {
    background: var(--color-primary);
    overflow: hidden;
    padding: 8px 0;
}
.trust-bar-track {
    overflow: hidden;
}
.trust-bar-scroll {
    display: flex;
    gap: 32px;
    animation: trustScroll 20s linear infinite;
    width: max-content;
}
.trust-badge {
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}
@keyframes trustScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   固定CTAバー（アップグレード版）
   ============================================= */
.fixed-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    border-top: 1px solid #e5e7eb;
    padding: 0 10px;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
    display: none;
}
.cta-status {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 0 2px;
    line-height: 1;
}
.cta-status-open {
    color: #16a34a;
}
.cta-status-closed {
    color: #9ca3af;
}
.cta-status-sub {
    font-size: 0.6rem;
    font-weight: 500;
    opacity: 0.85;
}
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
.status-dot.status-open {
    background: #16a34a;
    animation: pulse-dot 1.5s infinite;
}
.status-dot.status-closed {
    background: #dc2626;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.cta-buttons {
    max-width: 480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 4px 0;
}
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    height: 42px;
    transition: opacity 0.2s;
}
.cta-btn:hover {
    opacity: 0.9;
}
.cta-btn svg {
    flex-shrink: 0;
}
.cta-btn-phone {
    background: #2d8a78;
}
.cta-btn-line {
    background: #06C755;
}
.cta-btn-web {
    background: #f59e0b;
}

@media (max-width: 768px) {
    .cta-btn {
        height: 40px;
        font-size: 0.7rem;
        gap: 4px;
    }
    .cta-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* =============================================
   チェックリスト チェックボックスUI
   ============================================= */
.check-list-container ul {
    list-style: none;
    padding: 0;
}
.check-list-container li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    line-height: 1.6;
}
.check-list-container li .check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-accent-pop);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background: #fff;
}
.check-list-container li .check-icon svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .check-list-container li {
        font-size: 0.82rem;
        gap: 8px;
    }
}

/* =============================================
   比較テーブル
   ============================================= */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px;
}
.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
    table-layout: fixed;
}
.compare-table th,
.compare-table td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}
.compare-th-label {
    width: 80px;
    background: transparent;
}
.compare-th-highlight {
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ee 100%);
    border-top: 3px solid var(--color-primary);
    border-radius: 12px 12px 0 0;
    padding: 16px 10px;
}
.compare-th-normal {
    background: #fafafa;
    padding: 16px 10px;
}
.compare-th-img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 10px;
}
.compare-th-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
}
.compare-th-subtitle-myo {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 4px;
    line-height: 1.4;
}
.compare-th-shared {
    background: #fafafa;
    padding: 8px 10px !important;
    text-align: center;
    border-top: none;
}
.compare-th-shared-badge {
    display: inline-block;
    background: #999;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    line-height: 1.4;
}
.compare-th-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin-top: 4px;
}
.compare-row-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #555;
    text-align: center;
    background: #fafafa;
    white-space: nowrap;
    width: 80px;
}
.compare-highlight-cell {
    background: #f8fbf9;
    color: var(--color-primary-dark);
}
.compare-highlight-cell strong {
    color: var(--color-primary-dark);
}
.compare-highlight-cell small {
    font-size: 0.72rem;
    color: #888;
}
.compare-table tbody td {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
    border-bottom: none;
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        margin: 0 -16px;
        padding: 0 4px;
    }
    .compare-table {
        min-width: 0;
        width: 100%;
        font-size: 0.68rem;
        table-layout: fixed;
    }
    .compare-th-label {
        width: 48px;
    }
    .compare-th-img {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        margin-bottom: 4px;
    }
    .compare-th-subtitle-myo {
        font-size: 0.5rem;
    }
    .compare-th-shared {
        padding: 4px 2px !important;
    }
    .compare-th-shared-badge {
        font-size: 0.5rem;
        padding: 2px 6px;
    }
    .compare-th-name {
        font-size: 0.68rem;
    }
    .compare-th-badge {
        font-size: 0.55rem;
        padding: 2px 6px;
    }
    .compare-th-highlight,
    .compare-th-normal {
        padding: 10px 4px;
    }
    .compare-row-label {
        font-size: 0.62rem;
        width: 48px;
        white-space: normal;
        word-break: keep-all;
    }
    .compare-table th,
    .compare-table td {
        padding: 7px 4px;
    }
    .compare-table tbody td {
        font-size: 0.65rem;
        line-height: 1.4;
    }
    .compare-highlight-cell small {
        font-size: 0.58rem;
    }
}

/* ==============================================
   ゴールデンエイジチャート
   ============================================== */
.golden-age-chart {
    margin: 28px 0;
}
.gac-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 40px 44px 32px;
    box-shadow:
        0 4px 24px rgba(255, 140, 50, 0.08),
        0 1px 3px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.gac-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #FFD4A8 0%, #FF8C32 35%, #FF6B00 50%, #FF8C32 65%, #FFD4A8 100%);
}
.gac-title-area {
    text-align: center;
    margin-bottom: 28px;
}
.gac-title-main {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #2D2018;
    letter-spacing: 0.02em;
    line-height: 1.5;
}
.gac-age-hl {
    color: #FF6B00;
    font-size: 28px;
    position: relative;
}
.gac-age-hl::after {
    content: '';
    position: absolute;
    bottom: -2px; left: -2px; right: -2px;
    height: 8px;
    background: rgba(255, 107, 0, 0.12);
    border-radius: 4px;
}
.gac-title-sub {
    font-size: 13px;
    color: #9A8A78;
    margin-top: 6px;
    font-weight: 400;
}
/* Icons */
.gac-icons-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
}
.gac-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: gacFadeUp 0.6s ease both;
}
.gac-icon-item:nth-child(1) { animation-delay: 0.2s; }
.gac-icon-item:nth-child(2) { animation-delay: 0.35s; }
.gac-icon-item:nth-child(3) { animation-delay: 0.5s; }
@keyframes gacFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.gac-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.gac-icon-circle.bone   { background: #FFF0E0; }
.gac-icon-circle.nose   { background: #E8F5E9; }
.gac-icon-circle.tongue { background: #E3F2FD; }
.gac-icon-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #5A4A3A;
    letter-spacing: 0.03em;
}
/* Bar Chart */
.gac-bar-section {
    margin-bottom: 16px;
}
.gac-age-labels {
    display: flex;
    position: relative;
    height: 24px;
    margin-bottom: 6px;
    padding: 0 1px;
    padding-right: 30px;
}
.gac-age-label {
    position: absolute;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    color: #9A8A78;
    transform: translateX(-50%);
}
.gac-bar-container {
    position: relative;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    animation: gacBarGrow 0.8s ease 0.3s both;
}
@keyframes gacBarGrow {
    from { opacity: 0; transform: scaleX(0.3); }
    to   { opacity: 1; transform: scaleX(1); }
}
.gac-bar-zone {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.gac-zone-early {
    width: 20%;
    background: linear-gradient(135deg, #FFE8CC 0%, #FFD9AD 100%);
}
.gac-zone-early .gac-zone-label {
    white-space: normal;
    line-height: 1.4;
    font-size: 11px;
}
.gac-zone-golden {
    width: 55%;
    background: linear-gradient(135deg, #FF9A3C 0%, #FF6B00 100%);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}
.gac-zone-golden::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(255,255,255,0.07) 6px,
        rgba(255,255,255,0.07) 12px
    );
}
.gac-zone-later {
    width: 25%;
    background: linear-gradient(135deg, #FFD9AD 0%, #FFE8CC 100%);
}
.gac-zone-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #8A6A48;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.gac-zone-golden .gac-zone-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 900;
    text-shadow: 0 1px 4px rgba(180, 60, 0, 0.5), 0 0 8px rgba(255, 107, 0, 0.3);
    letter-spacing: 0.08em;
}
/* Sparkle */
.gac-sparkle {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: gacSparkle 2.5s ease-in-out infinite;
}
.gac-sparkle:nth-child(2) { top: 10px; left: 20%; animation-delay: 0s; }
.gac-sparkle:nth-child(3) { top: 32px; left: 60%; animation-delay: 0.8s; }
.gac-sparkle:nth-child(4) { top: 16px; left: 80%; animation-delay: 1.5s; }
@keyframes gacSparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50%      { opacity: 1; transform: scale(1.2); }
}
/* Arrow */
.gac-golden-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: gacBounce 1.8s ease-in-out infinite;
}
@keyframes gacBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(4px); }
}
.gac-golden-arrow svg {
    width: 16px; height: 12px;
    fill: #FF6B00;
    filter: drop-shadow(0 1px 2px rgba(255, 107, 0, 0.3));
}
/* Legend */
.gac-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 4px;
    margin-bottom: 0;
}
.gac-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}
.gac-legend-swatch {
    width: 16px; height: 10px;
    border-radius: 3px;
}
.gac-legend-swatch.golden { background: linear-gradient(135deg, #FF9A3C, #FF6B00); }
.gac-legend-swatch.light  { background: linear-gradient(135deg, #FFE8CC, #FFD9AD); }
.gac-legend-text {
    font-size: 11px;
    color: #8A7A68;
    font-weight: 500;
}
/* Bottom Row */
.gac-bottom-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 16px;
    gap: 16px;
}
.gac-note-text {
    font-size: 11px;
    color: #B0A090;
    line-height: 1.6;
    flex: 1;
}
.gac-cta-box {
    flex-shrink: 0;
    background: #FFF5EC;
    border: 1.5px solid #FFD4A8;
    border-radius: 12px;
    padding: 10px 16px;
    max-width: 220px;
    text-align: center;
    animation: gacFadeUp 0.6s ease 0.7s both;
}
.gac-cta-box p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #C05800;
    line-height: 1.6;
}
/* Responsive */
@media (max-width: 768px) {
    .gac-card {
        padding: 28px 20px 24px;
        border-radius: 20px;
        overflow: visible;
    }
    .gac-card::before {
        border-radius: 20px 20px 0 0;
    }
    .gac-age-labels {
        padding-right: 20px;
    }
    .gac-title-main {
        font-size: 17px;
    }
    .gac-age-hl {
        font-size: 22px;
    }
    .gac-icons-row {
        gap: 24px;
    }
    .gac-icon-circle {
        width: 50px;
        height: 50px;
    }
    .gac-icon-circle svg {
        width: 36px;
        height: 36px;
    }
    .gac-bar-container {
        height: 48px;
        border-radius: 12px;
    }
    .gac-zone-label {
        font-size: 10px;
    }
    .gac-zone-early .gac-zone-label {
        display: block;
        font-size: 8px;
        white-space: normal;
        line-height: 1.3;
    }
    .gac-zone-later .gac-zone-label {
        display: none;
    }
    .gac-zone-golden .gac-zone-label {
        font-size: 12px;
        letter-spacing: 0.1em;
    }
    .gac-bottom-row {
        flex-direction: column;
        align-items: center;
    }
    .gac-cta-box {
        max-width: 100%;
        width: 100%;
    }
}
