/* 汎用：SP/PC切替用br（.br-sp=スマホのみ改行 / .br-pc=PCのみ改行） */
.br-sp { display: none; }
.br-pc { display: inline; }
@media (max-width: 768px) {
    .br-sp { display: inline; }
    .br-pc { display: none; }
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8AAFC4;
    --primary-dark: #6A9AB5;
    --secondary-color: #B8D0E0;
    --text-color: #4a6a7a;
    --text-light: #4a6a7a;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.10);
    --card-radius: 16px;
    --section-pad: 140px 0;
    --section-pad-md: 100px 0;
    --section-pad-sm: 72px 0;
}
@media (max-width: 768px) {
    :root {
        --section-pad: 64px 0;
        --section-pad-md: 48px 0;
        --section-pad-sm: 40px 0;
    }
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヘッダー */
.hidden-header {
    transform: translateY(-100%);
}

.header.visible {
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: background 0.3s ease;
}

.header .container {
    max-width: 100%;
    padding: 0 30px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

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

.phone-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}


/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-hero {
    background: var(--primary-color);
    color: white;
    font-size: 20px;
    padding: 18px 50px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-outline {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ファーストビュー */
.hero-wrapper {
    background: linear-gradient(135deg, #6BAED6 0%, #5BBFBF 100%);
    padding: 16px 16px 16px 16px;
    margin: 0;
    box-sizing: border-box;
}

.hero {
    background: linear-gradient(135deg, #6BAED6 0%, #5BBFBF 100%);
    min-height: calc(100vh - 32px);
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

/* 背景画像（img要素・SVG clip-pathで左上角カット） */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    z-index: 0;
    clip-path: url(#heroClip);
    -webkit-clip-path: url(#heroClip);
}

.hero-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    overflow: visible;
    z-index: -1;
}

/* FV装飾スクリプトテキスト */
.hero-script-deco {
    position: absolute;
    top: 80px;
    left: 380px;
    font-family: 'Dancing Script', cursive;
    font-size: 72px;
    font-weight: 700;
    color: #6BAED6;
    opacity: 0.55;
    transform: rotate(-4deg);
    transform-origin: left top;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
    letter-spacing: 2px;
    user-select: none;
}

/* FVロゴ */
.hero-logo {
    position: absolute;
    top: 24px;
    left: 10px;
    z-index: 10;
    pointer-events: none;
}

.hero-logo img {
    height: 60px;
    width: auto;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    margin-left: 60px;
    margin-top: 180px;
    padding: 0 20px;
    color: #6BAED6;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-emphasis {
    font-size: 64px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 36px;
    margin-bottom: 0;
    line-height: 1.3;
    font-weight: 600;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.hero-cta {
    margin: 40px 0 20px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hero-cta a {
    display: block;
    width: 340px;
    flex-shrink: 0;
}

.hero-btn-img {
    display: block;
    width: 100% !important;
    height: auto !important;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-btn-img:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.hero-note {
    font-size: 14px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.note {
    font-size: 12px;
    vertical-align: super;
    text-shadow: none;
}

.hero-note--tooltip {
    position: relative;
    display: inline-block;
}

.hero-note-trigger {
    cursor: help;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    outline: none;
}

.hero-note-trigger:focus-visible {
    outline: 2px solid #6BAED6;
    outline-offset: 2px;
    border-radius: 2px;
}

.hero-note-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(420px, calc(100vw - 40px));
    padding: 12px 16px;
    background: rgba(30, 40, 50, 0.95);
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 400;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    text-align: left;
    z-index: 1000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.hero-note--tooltip:hover .hero-note-text,
.hero-note--tooltip:focus-within .hero-note-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* セクション共通 */
section {
    padding: var(--section-pad);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 72px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.4;
}

.section-title-with-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 72px;
    overflow: visible;
}

.section-subtitle-brand {
    font-size: 2em;
    font-weight: 700;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.title-icon {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.colored-title {
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 40px;
}

/* 無料相談内容 */
.free-consultation {
    background: var(--bg-light);
}

.free-consultation .section-title-with-icon {
    margin-bottom: 20px;
}

.free-consultation .section-title {
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

.free-consultation .section-title-en {
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

.consultation-box {
    background: white;
    padding: 50px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.consultation-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.consultation-time {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.consultation-desc {
    text-align: center;
    margin-bottom: 20px;
    line-height: 2;
}

.consultation-note {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    margin: 30px 0;
}

.note-small {
    font-size: 14px;
    color: var(--text-light);
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-text {
    font-weight: 700;
    font-size: 16px;
}

.muryo-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 30px;
}

.muryo-cta a {
    display: block;
    flex: 1;
    max-width: 80%;
}

.muryo-cta img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.muryo-cta a:hover img {
    opacity: 0.85;
    transform: translateY(-2px);
}

.consultation-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 20px;
}

.consultation-cta a {
    display: block;
    max-width: 600px;
}

.consultation-cta img {
    width: 100%;
    height: auto;
    display: block;
}

.consultation-hours {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* こんなお悩み */
.concerns {
    background: white;
    padding-bottom: 0;
    padding-top: 140px;
}

.concerns-illust {
    text-align: center;
    margin-bottom: 30px;
}

.concerns-illust-img {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.concerns-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.concern-column {
    background: #F4F9FC;
    padding: 48px;
    border-radius: var(--card-radius);
    text-align: center;
}

.concern-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.concern-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.concern-list {
    list-style: none;
}

.concern-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid #D0E8F0;
    font-size: 22px;
    font-weight: normal;
}

.concern-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: middle;
    margin-top: -1px;
}

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

.concerns-highlight {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    color: white;
    margin-top: 0;
    overflow: hidden;
}

.concerns-highlight::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #8AAFC4 0%, #ff4454 100%);
    opacity: 0.5;
    animation: Grad 4s infinite alternate;
    z-index: 0;
}

.concerns-highlight > * {
    position: relative;
    z-index: 1;
}

@keyframes Grad {
    0% {
        -webkit-filter: hue-rotate(0deg);
        filter: hue-rotate(0deg);
    }
    100% {
        -webkit-filter: hue-rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

.concerns-script-deco {
    position: absolute;
    top: 20px;
    right: 40px;
    font-family: 'Dancing Script', cursive;
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
    transform: rotate(-5deg);
    user-select: none;
}

.concerns-highlight-border {
    width: 60px;
    height: 3px;
    background: white;
    margin: 0 auto 30px;
    opacity: 0.6;
}

.concerns-message {
    text-align: center;
    font-size: 3em;
    font-weight: 700;
    margin: 0 0 12px;
    color: white;
    letter-spacing: 0.05em;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.concerns-sub {
    text-align: center;
    font-size: 1.8em;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.6;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.concerns-emphasis {
    text-align: center;
    font-size: 1.8em;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.concerns-key {
    color: #FFD700;
    font-size: 1em;
    font-weight: 700;
    display: inline;
}

.concerns-key-sentence {
    color: #FFD700;
    font-weight: 700;
}

/* トラブル */
.troubles {
    background: #ffffff;
    padding-bottom: 0;
    padding-top: 0;
}

.troubles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.trouble-item {
    background: white;
    padding: 20px;
    border-radius: var(--card-radius);
    border-left: 4px solid var(--primary-color);
}

.troubles-highlight {
    background: #8AAFC4 url('https://d2xsxph8kpxj0f.cloudfront.net/310519663289260037/2XhgEZicfjmhFRHbK7Whhp/bg-blue2_f5870c6c.webp') center center / cover no-repeat;
    width: 100%;
    padding: 60px 20px;
    color: white;
    margin-top: 0;
}

.troubles-message {
    text-align: center;
    font-size: 3em;
    font-weight: 700;
    margin: 0 0 12px;
    color: white;
    letter-spacing: 0.05em;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.troubles-sub {
    text-align: center;
    font-size: 1.8em;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin: 0 0 12px;
    line-height: 1.5;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.troubles-emphasis {
    text-align: center;
    font-size: 1.8em;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin: 0 0 20px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.troubles-key {
    color: #FFD700;
    font-size: 1.2em;
    font-weight: 700;
    display: inline-block;
    margin-top: 8px;
}

/* 特徴グリッド */
.features {
    background: white;
}

.features .container,
.mouthpiece-features .container {
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

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

/* 2・3番目用：2列横並び */
.features-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--card-radius);
    transition: all 0.3s;
}

.feature-card.bg-blue {
    background: #f8f9fa;
}

/* Safe and easy セクション */
.features-safe {
    background: #ffffff;
    padding: 0 0 140px;
}
.features-safe .container {
    max-width: 1400px;
}

/* サブセクションヘッダー（Safe and easy等） */
.features-sub-header {
    background: #ffffff;
    padding: 100px 0 60px;
    text-align: center;
}

.features-sub-header .title-en-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1番目：画面100%幅フルワイドレイアウト */
.feature-featured-fullwidth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
    background: #f8f9fa;
    margin-bottom: 0;
}

.feature-featured-fullwidth .feature-image-double {
    position: static !important;
    height: auto !important;
    min-height: unset !important;
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
/* 1枚目：右上・右下のみ角丸（左上・左下は直角） */
.feature-img-1 {
    border-radius: 0 var(--card-radius) var(--card-radius) 0 !important;
}
/* 3枚目：右上・右下のみ角丸（左上・左下は直角） */
.feature-img-3 {
    border-radius: 0 var(--card-radius) var(--card-radius) 0 !important;
}

.feature-featured-fullwidth .feature-img-main {
    position: static !important;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.feature-featured-fullwidth .feature-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-featured-text {
    padding: 0 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.feature-featured-text--right {
    text-align: right;
    align-items: flex-end;
}

.feature-featured-text .feature-number {
    width: 84px;
    height: 84px;
    font-size: 52.8px;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
    background-image: url(https://files.manuscdn.com/user_upload_by_module/session_file/310519663289260037/LZjuhoYAgqyrTvtJ.png);
    background-size: cover;
    background-position: center;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6BAED6;
    text-shadow:
        -2px -2px 0 white,
         2px -2px 0 white,
        -2px  2px 0 white,
         2px  2px 0 white,
         0   -2px 0 white,
         0    2px 0 white,
        -2px  0   0 white,
         2px  0   0 white;
}

.feature-featured-text h4.feature-featured-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    background: linear-gradient(to right, #6BAED6, #5BBFBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.feature-featured-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .feature-featured-fullwidth {
        grid-template-columns: 1fr;
    }
    .feature-featured-fullwidth .feature-image-double {
        height: 280px !important;
        min-height: unset;
    }
    .feature-featured-text {
        padding: 20px 24px 48px;   /* top 32→20(写真との距離短縮)、bottom 32→48(項目間広げ) */
    }
    .feature-featured-text h4.feature-featured-title {
        font-size: 22px;
        text-align: center;         /* SP：タイトル中央寄せ */
    }
    /* SP：項目番号(1/2/3)を中央配置 */
    .feature-featured-text .feature-number {
        margin-left: auto;
        margin-right: auto;
    }
    /* SP：本文は両端揃え */
    .feature-featured-text p {
        text-align: justify;
    }
    /* SP：Safe and easy 見出しと最初のカードの間隔を圧縮（1/3目標） */
    .features-safe .features-sub-header {
        padding-bottom: 16px;
    }
    .features-safe .features-grid {
        margin-top: 12px;
    }
}

/* 2番目：リバースレイアウト（右写真・左テキスト） */
.feature-featured-fullwidth--reverse {
    grid-template-columns: 1fr 1fr;
    direction: ltr;
}

.feature-featured-fullwidth--reverse .feature-image-double--reverse {
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: static !important;
    height: auto !important;
    min-height: unset !important;
}
/* 2枚目：左上・左下のみ角丸（右上・右下は直角） */
.feature-img-2 {
    border-radius: var(--card-radius) 0 0 var(--card-radius) !important;
}

.feature-featured-fullwidth--reverse .feature-img-main {
    position: static !important;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.feature-featured-fullwidth--reverse .feature-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .feature-featured-fullwidth--reverse {
        grid-template-columns: 1fr;
    }
    /* スマホでは写真を上・テキストを下に（通常順） */
    .feature-featured-fullwidth--reverse .feature-featured-text {
        order: 2;
    }
    .feature-featured-fullwidth--reverse .feature-image-double--reverse {
        order: 1;
        height: 280px !important;
    }
}

/* 1番目のカード：全幅・横並びで目立たせる */
.feature-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0 40px;
    align-items: center;
    background: #f8f9fa !important;
    color: inherit;
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}

/* 左カラム：画像 */
.feature-card-featured .feature-image {
    grid-column: 1;
    grid-row: 1;
    height: 280px;
    margin-bottom: 0;
    margin-top: 0;
}

/* 写真2枚重ねレイアウト */
.feature-image-double {
    position: relative;
    height: 360px !important;
}

.feature-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.feature-img-sub {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 52%;
    height: 55%;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid white;
}

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

@media (max-width: 768px) {
    .feature-image-double {
        height: 260px !important;
    }
    .feature-img-sub {
        width: 48%;
        height: 50%;
        bottom: 12px;
    }
}

/* 右カラム：番号→タイトル→本文をまとめるコンテナ */
.feature-card-featured .feature-right-col {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-card-featured .feature-header {
    align-items: flex-start;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.feature-card-featured h4 {
    font-size: 28px;
    font-weight: 700;
    color: inherit;
    line-height: 1.4;
    margin: 0;
}

.feature-card-featured h4.feature-featured-title {
    font-size: 38px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .feature-card-featured h4.feature-featured-title {
        font-size: 24px;
    }
}

.feature-card-featured p {
    grid-column: 2;
    font-size: 16px;
    color: inherit;
    line-height: 1.8;
    margin-top: 0;
}

.feature-card-featured .feature-number {
    width: 70px;
    height: 70px;
    font-size: 44px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow:
        -2px -2px 0 white,
         2px -2px 0 white,
        -2px  2px 0 white,
         2px  2px 0 white,
         0   -2px 0 white,
         0    2px 0 white,
        -2px  0   0 white,
         2px  0   0 white;
}

@media (max-width: 768px) {
    .feature-card-featured {
        grid-template-columns: 1fr;
    }
    .feature-card-featured .feature-image,
    .feature-card-featured .feature-right-col {
        grid-column: 1;
        grid-row: auto;
    }
    .feature-card-featured .feature-image {
        height: 220px;
        margin-bottom: 8px;
    }
    .feature-card-featured h4 {
        font-size: 20px;
    }
}

.feature-card.bg-green {
    background: #f8f9fa;
}

.feature-card.bg-orange {
    background: #f8f9fa;
}

.feature-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-number {
    width: 70px;
    height: 70px;
    background-image: url(https://files.manuscdn.com/user_upload_by_module/session_file/310519663289260037/LZjuhoYAgqyrTvtJ.png);
    background-size: cover;
    background-position: center;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 700;
    flex-shrink: 0;
    text-shadow:
        -2px -2px 0 white,
         2px -2px 0 white,
        -2px  2px 0 white,
         2px  2px 0 white,
         0   -2px 0 white,
         0    2px 0 white,
        -2px  0   0 white,
         2px  0   0 white;
}

.feature-card-title {
    font-size: 14px;
    color: white;
    margin: 0;
    padding: 8px 16px;
    border-radius: var(--card-radius);
    font-weight: 600;
    display: inline-block;
}

.bg-blue .feature-card-title {
    background: #6BAED6;
}

.bg-green .feature-card-title {
    background: #6BAED6;
}

.bg-orange .feature-card-title {
    background: #8AAFC4;
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

.feature-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.4;
}

.feature-card p {
    font-size: 1em;
    line-height: 1.8;
}

/* 治療の種類 */
.treatment-types {
    background: var(--bg-light);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.type-card {
    background: white;
    padding: 40px;
    border-radius: var(--card-radius);
    text-align: center;
}

.type-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.type-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

/* マウスピース矯正の特徴 */
.mouthpiece-features {
    background: #8AAFC4;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}

.mouthpiece-features::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663289260037/2XhgEZicfjmhFRHbK7Whhp/mp_bg_compressed_c69a3de1.webp') center center / cover no-repeat;
    filter: blur(6px);
    z-index: 0;
}

.mp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.mp-feature-card {
    background: #f8f9fa;
    border-radius: var(--card-radius);
    overflow: visible;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 78, 162, 0.12);
}

.mp-feature-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.mp-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mp-feature-card:hover .mp-feature-image img {
    transform: scale(1.04);
}

.mp-feature-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    margin: 0 16px;
    padding: 10px 16px;
    line-height: 1.4;
    position: relative;
    top: -22px;
    border-radius: 6px;
    display: block;
    text-align: center;
}

.mp-feature-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a6a7a;
    margin: -10px 28px 28px;
    text-align: justify;
}

/* マウスピース矯正の特徴 スマホ */
@media (max-width: 768px) {
    .mp-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mp-feature-image {
        height: 200px;
    }
}

/* ドクター紹介 */
/* ==============================================
   矯正専門医紹介 - フルブリード斜め分割レイアウト
   Design: Left photo (clip-path diagonal) | Right light-blue text
   ============================================== */
.doctor-intro {
    background: white;
    overflow: hidden;
    padding: 140px 0 140px;
}
.doctor-intro > .container {
    padding-bottom: 0;
}
.doctor-intro > .container .section-title-with-icon {
    margin-bottom: 40px;
}

/* 斜め分割ラッパー */
.doctor-diagonal-wrap {
    display: flex;
    min-height: 640px;
    position: relative;
    width: 100%;
}

/* 左：写真エリア（SVG clipPath：左上・左下角丸＋右斜め） */
.doctor-diag-photo {
    position: relative;
    width: 48%;
    flex-shrink: 0;
    clip-path: url(#doctorPhotoClip);
    -webkit-clip-path: url(#doctorPhotoClip);
    z-index: 1;
}

.doctor-diag-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* 右：テキストエリア（水色背景） */
.doctor-diag-text {
    flex: 1;
    background: #F4F9FC;
    padding: 80px 80px 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 0;
    margin-left: -6%;
    padding-left: 10%;
}

/* タイトルブロック */
.doctor-diag-title-block {
    margin-bottom: 20px;
}

.doctor-diag-title-en {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #6BAED6, #5BBFBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.doctor-diag-title-ja {
    font-size: 28px;
    font-weight: 700;
    color: #2C4A5A;
    margin: 0;
    line-height: 1.3;
}

/* 医師名ブロック */
.doctor-diag-name-block {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #D0E8F0;
}

.doctor-diag-clinic {
    font-size: 17px;
    color: #6BAED6;
    margin: 0 0 6px;
    font-weight: 600;
}

.doctor-diag-name {
    font-size: 22px;
    font-weight: 700;
    color: #2C4A5A;
    margin: 0;
}

/* メッセージ */
.doctor-diag-message {
    margin-bottom: 28px;
}

.doctor-diag-message-lead {
    font-size: 24px !important;
    font-weight: 700;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0 0 12px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .doctor-diag-message-lead {
        font-size: 22px !important;
    }
}

.doctor-diag-message-sublead {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #6BAED6;
    margin-top: 2px;
}

.doctor-diag-message p {
    font-size: 16px;
    line-height: 1.8;
    color: #4A6A7A;
    margin-bottom: 10px;
}

/* 経歴タイムライン */
.doctor-diag-timeline {
    border-top: 1px solid #D0E8F0;
    padding-top: 24px;
}

.doctor-diag-timeline-title {
    font-size: 14px;
    font-weight: 700;
    color: #6BAED6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.doctor-diag-timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.doctor-diag-timeline-list::before {
    content: '';
    position: absolute;
    left: 68px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(180deg, #6BAED6, #5BBFBF);
}

.doctor-diag-timeline-list li {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    margin-bottom: 14px;
}

.doctor-diag-timeline-list li:last-child {
    margin-bottom: 0;
}

.tl-year {
    width: 60px;
    min-width: 60px;
    font-size: 12px;
    font-weight: 700;
    color: #6BAED6;
    text-align: right;
    padding-right: 12px;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.tl-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BAED6, #5BBFBF);
    border: 2px solid #F4F9FC;
    box-shadow: 0 0 0 2px #6BAED6;
    position: relative;
    z-index: 1;
    margin: 0 12px;
}

.tl-desc {
    font-size: 16px;
    color: #4a6a7a;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .tl-desc {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* 所属学会 */
.doctor-affiliations {
    margin-top: 24px;
}

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

.doctor-affiliations-list li {
    font-size: 16px;
    color: #4a6a7a;
    line-height: 1.8;
    padding-left: 1em;
    text-indent: -1em;
}

.doctor-affiliations-list li::before {
    content: '・';
}

@media (max-width: 768px) {
    .doctor-affiliations-list li {
        font-size: 14px;
    }
}

/* 旧スタイル（後方互換） */
.doctor-name-block-inline {
    margin-bottom: 24px;
    padding-bottom: 0;
}

.doctor-name-block-inline .doctor-clinic {
    font-size: 13px;
    color: #888;
    margin: 0 0 4px;
}

.doctor-name-block-inline .doctor-name {
    font-size: 20px;
    color: #6BAED6;
    font-weight: 700;
    margin: 0;
}

.doctor-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.doctor-image {
    width: 100%;
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.doctor-image img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    object-position: center top;
}

.doctor-name-block {
    text-align: center;
    padding: 12px 10px 8px;
    background: #F0F6FA;
    border-top: 3px solid #8AAFC4;
    width: 100%;
}

.doctor-clinic {
    font-size: 13px;
    color: #4a6a7a;
    margin: 0 0 4px;
    font-weight: 500;
}

.doctor-name {
    font-size: 18px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    margin: 0;
}

.doctor-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.doctor-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
}

.doctor-text p {
    margin-bottom: 15px;
    line-height: 2;
}

/* 経歴タイムライン */
.doctor-career {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 2px solid #EAF0F5;
}

.doctor-career-title {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: normal;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.doctor-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.doctor-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: #C8E0EC;
}

.doctor-timeline-item {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    margin-bottom: 18px;
}

.doctor-timeline-item:last-child {
    margin-bottom: 0;
}

.doctor-timeline-year {
    width: 72px;
    min-width: 72px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: right;
    padding-right: 16px;
    line-height: 1.4;
    font-family: 'Chillax', sans-serif;
    letter-spacing: 0.04em;
}

.doctor-timeline-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #8AAFC4;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #8AAFC4;
    position: relative;
    z-index: 1;
    margin: 0 14px;
}

.doctor-timeline-desc {
    font-size: 15px;
    color: #4A6A7A;
    line-height: 1.6;
}

/* 院長挨拶 */
.director-message {
    background: var(--bg-light);
}

.director-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.director-image {
    width: 100%;
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.director-image img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    object-position: center top;
}

.director-text p {
    margin-bottom: 15px;
    line-height: 2;
}

.director-text h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: var(--primary-color);
}

/* 動画セクション */
.video-section {
    background: white;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--bg-light);
    padding: 100px;
    text-align: center;
    border-radius: var(--card-radius);
    border: 2px dashed var(--border-color);
}

/* 治療の流れ */
.treatment-flow {
    background: var(--bg-light);
}

.flow-step {
    background: white;
    padding: 56px;
    border-radius: var(--card-radius);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.flow-step-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .flow-step {
        grid-template-columns: 1fr;
    }
    .flow-step-even .flow-step-image {
        order: -1;
    }
}

.flow-number {
    display: inline-block;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    color: white;
    padding: 12px 44px;
    border-radius: var(--card-radius);
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 14px;
    font-family: 'Niconne', cursive;
    letter-spacing: 0.05em;
}

.flow-content h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.flow-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    margin: 0;
}

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

.flow-content p {
    margin-bottom: 6px;
    line-height: 1.4;
}

.flow-content ul {
    list-style: none;
    margin: 20px 0;
}

.flow-content ul li {
    padding: 15px;
    background: var(--bg-light);
    margin-bottom: 10px;
    border-radius: 8px;
    line-height: 1.8;
}

.flow-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.flow-cta a {
    display: block;
    max-width: 600px;
}

.flow-cta img {
    width: 100%;
    height: auto;
    display: block;
}

.flow-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.flow-arrow {
    text-align: center;
    margin: -10px 0;
    position: relative;
    z-index: 1;
}

.flow-arrow span {
    display: inline-block;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 40px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 78, 162, 0.25));
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* 料金 */
.pricing {
    background: white;
}

.pricing-subtitle {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

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

.payment-method {
    background: var(--bg-light);
    padding: 52px;
    border-radius: var(--card-radius);
    text-align: center;
}

.payment-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.payment-icon-img {
    font-size: 0;
    margin-bottom: 20px;
}

.payment-icon-img img {
    width: 100%;
    max-width: 280px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.payment-icon-img img.card-logo-img {
    object-fit: contain;
    background-color: #d0dbdf;
    padding: 8px;
}

.payment-method h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* デンタルローン単体表示（横並びレイアウト） */
.payment-methods--single {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.payment-method--horizontal {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    padding: 40px;
    background: linear-gradient(135deg, #F0F7FB 0%, #F8FBFC 100%);
}

.payment-method-photo {
    flex: 0 0 400px;
}

.payment-method-photo img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.payment-method-body {
    flex: 1;
}

.payment-method--horizontal .payment-method-body h4 {
    font-size: 22px;
    margin-bottom: 14px;
    text-align: left;
}

.payment-method--horizontal .payment-method-body p {
    line-height: 1.9;
    color: var(--text-color);
    text-align: justify;
}

@media (max-width: 768px) {
    .payment-method--horizontal {
        flex-direction: column;
        gap: 20px;
        padding: 28px;
        text-align: center;
    }
    .payment-method-photo {
        flex: 0 0 auto;
    }
    .payment-method-photo img {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .payment-method--horizontal .payment-method-body h4 {
        text-align: center;
        font-size: 20px;
    }
}

/* 料金テーブル */
.price-tables {
    margin-bottom: 60px;
}

.price-category {
    margin-bottom: 48px;
}

.price-category-title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    border: none;
    border-radius: 0;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.price-table thead tr {
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    color: #fff;
}

.price-table th {
    padding: 12px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.price-table th:last-child,
.price-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.price-table tbody tr {
    border-bottom: 1px solid #deeaf3;
    transition: background 0.15s;
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody tr:nth-child(even) {
    background: #f5fafd;
}

.price-table tbody tr:hover {
    background: #e8f4fb;
}

.price-table td {
    padding: 14px 20px;
    color: #4a6a7a;
    line-height: 1.5;
}

.price-amount {
    font-weight: 700;
    color: #4a6a7a;
    font-size: 16px;
}

.price-note {
    font-size: 13px;
    color: #4a6a7a;
    margin-top: 10px;
    line-height: 1.7;
    padding-left: 4px;
}

@media (max-width: 768px) {
    .price-table {
        font-size: 13px;
    }
    .price-table th,
    .price-table td {
        padding: 10px 12px;
    }
    .price-category-title {
        font-size: 17px;
    }
    .price-amount {
        font-size: 14px;
    }
}

/* 3列表（部分矯正・小児矯正）の1列目を1文字ずつ縦積みに強制 */
@media (max-width: 480px) {
    .price-table--3col th:first-child,
    .price-table--3col td:first-child {
        width: 1em;
        min-width: 1em;
        max-width: 1em;
        word-break: break-all;
        overflow-wrap: anywhere;
        padding-left: 6px;
        padding-right: 6px;
        line-height: 1.3;
        text-align: center;
    }
    /* 1列目内で分割禁止の塊（例：「II」を1セットで扱う） */
    .price-table--3col td:first-child .nowrap,
    .price-table--3col th:first-child .nowrap {
        display: inline-block;
        word-break: keep-all;
        white-space: nowrap;
    }
}

/* 症例 */
.cases {
    background: var(--bg-light);
}

/* 症例カードスライダー */
.cases-slider-outer {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.cases-slider-wrap {
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.cases-slider {
    display: flex;
    gap: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.case-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* 幅はJavaScriptで設定 */
}

.case-card-images {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: #f7f9fc;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.case-card-img-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
}

.case-card-img-wrap img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.case-card-arrow {
    display: none;
}

.case-card-body {
    padding: 28px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid #EEF4F7;
}

@media (max-width: 768px) {
    .case-card-body {
        padding: 16px 16px 20px;
    }
}

.case-card-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.case-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: auto;
}

.case-card-list li {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
}

.case-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--card-radius);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ナビゲーションボタン（オーバーレイ配置） */
.cases-nav-btn {
    background: rgba(255,255,255,0.85);
    border: none;
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.cases-prev {
    left: 12px;
}

.cases-next {
    right: 12px;
}

.cases-nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.cases-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ドットインジケーター */
.cases-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.cases-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C8E0EC;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.cases-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.section-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 40px;
}

.case-detail {
    background: white;
    padding: 40px;
    border-radius: var(--card-radius);
    margin-bottom: 40px;
}

.case-type-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.case-images {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.case-image-item {
    position: relative;
    flex: 1;
}

.case-image-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.case-label {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--card-radius);
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    z-index: 1;
}

.case-label.before {
    background: rgba(255, 100, 100, 0.9);
    color: white;
}

.case-label.after {
    background: rgba(0, 153, 221, 0.9);
    color: white;
}

.case-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
}

.case-description h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.case-description p {
    margin-bottom: 20px;
    line-height: 2;
}

.case-details-list {
    list-style: none;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.case-details-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.case-comment {
    background: rgba(0, 153, 221, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-color);
}

.cases-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 40px;
    line-height: 1.8;
}

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

.case-card {
    background: white;
    padding: 30px;
    border-radius: var(--card-radius);
    text-align: center;
    overflow: hidden;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.case-image-placeholder {
    background: var(--bg-light);
    padding: 80px 20px;
    border-radius: 10px;
    border: 2px dashed var(--border-color);
}

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

.faq-list {
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(141, 206, 240, 0.15);
}

.faq-icon {
    font-size: 24px;
    color: #6BAED6;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 40px 28px;
}

/* 医院情報 */
.clinic-info {
    background: var(--bg-light);
}

.clinic-main-image {
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.clinic-main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.clinic-interior-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.interior-image {
    border-radius: 10px;
    overflow: hidden;
}

.interior-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* 内観画像ループスクロール */
.clinic-scroll-track {
    width: 100%;
    overflow: hidden;
    padding: 80px 0 90px;
    margin-bottom: 80px;
    position: relative;
    background: var(--bg-light);
}

.clinic-scroll-track::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663289260037/2XhgEZicfjmhFRHbK7Whhp/bg_clinic_room_fb6b1909.webp');
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.05);
    opacity: 0.18;
    z-index: 0;
}

.clinic-scroll-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: max-content;
    animation: clinic-scroll-left 50s linear infinite;
}

.clinic-scroll-inner:hover {
    animation-play-state: paused;
}

@keyframes clinic-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.scroll-item {
    flex-shrink: 0;
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
}

.scroll-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* ランダムサイズ＋縦位置 */
.scroll-item-1 { width: 280px; margin-top: 30px; }
.scroll-item-1 img { height: 200px; }

.scroll-item-2 { width: 400px; margin-top: 80px; }
.scroll-item-2 img { height: 300px; }

.scroll-item-3 { width: 240px; margin-top: 10px; }
.scroll-item-3 img { height: 180px; }

.scroll-item-4 { width: 360px; margin-top: 60px; }
.scroll-item-4 img { height: 260px; }

.scroll-item-5 { width: 300px; margin-top: 0px; }
.scroll-item-5 img { height: 220px; }

.clinic-location {
    scroll-margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    background: white;
    padding: 40px;
    border-radius: var(--card-radius);
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    background: var(--bg-light);
    padding: 150px 50px;
    text-align: center;
    border-radius: 10px;
    border: 2px dashed var(--border-color);
}

.location-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.location-info p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.8;
}

.location-info .address {
    font-size: 18px;
    margin-bottom: 20px;
}

.clinic-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.clinic-card {
    background: white;
    padding: 40px;
    border-radius: var(--card-radius);
    text-align: center;
}

.clinic-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

.clinic-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.map-section {
    margin-top: 50px;
}

/* お問い合わせフォーム */
.contact-form {
    background: white;
}

.contact-form-fields {
    max-width: 700px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.required {
    color: red;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form-fields .btn {
    width: 100%;
    margin-top: 20px;
}

/* フッター */
.footer {
    background: linear-gradient(to right, #6BAED6, #5BBFBF);
    color: white;
    padding: 80px 0 40px;
}

/* 固定CTAバー表示時はフッターに余白を追加 */
body.cta-visible .footer {
    padding-bottom: calc(20px + 140px); /* PCの固定CTAバーの高さ分 */
}

@media (max-width: 768px) {
    .footer {
        padding-top: 48px;
    }
    body.cta-visible .footer {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); /* 固定CTAバーの高さ分ぴったり */
    }
}

.footer-logo-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo-center img {
    height: 70px;
    filter: brightness(0) invert(1);
    margin-bottom: 12px;
}

.footer-clinic-name {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 0;
}

.footer-bottom p {
    font-size: 12px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
    /* 通いやすさ：タブレット2列 */
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 32px 0;
    }
    /* 個別指定セクションのSP余白も圧縮（class specificityが勝つため個別上書きが必要） */
    .why-certified-section,
    .doctor-intro,
    .mouthpiece-features,
    .features-sub-header,
    .disclosure {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    /* セクションタイトル下の余白も圧縮（デフォルト72px/40px→24px/20px） */
    .section-title-with-icon {
        margin-bottom: 24px;
    }
    .why-certified-section .section-title-with-icon,
    .doctor-intro > .container .section-title-with-icon {
        margin-bottom: 20px;
    }
    /* 認定医とは？の3カード間余白圧縮 */
    .certified-cards {
        margin-top: 20px;
        gap: 20px;
    }
    .certified-card {
        padding: 24px 20px 22px;
    }
    /* 認定医紹介：斜め分割テキストエリアの内側padding圧縮 */
    .doctor-diag-text {
        padding: 6% 20px 24px;
    }
    .doctor-diag-photo {
        height: 240px;
    }
    .container {
        padding: 0 20px;
    }
    .section-title {
        font-size: 28px;
    }

    .nav {
        display: none;
    }
    
    .header-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content {
        margin-left: 10px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-emphasis {
        font-size: 30px;
    }
    
    .consultation-features {
        grid-template-columns: 1fr;
    }
    
    .muryo-cta {
        flex-direction: column;
        align-items: center;
    }

    .muryo-cta a {
        width: 100%;
        max-width: 350px;
    }

    .consultation-cta {
        flex-direction: column;
    }
    
    .concerns-grid {
        grid-template-columns: 1fr;
    }
    
    .troubles-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    .features-grid-2col {
        grid-template-columns: 1fr;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-content,
    .director-content {
        grid-template-columns: 1fr;
    }

    /* 矯正専門医紹介 - 斜め分割 モバイル */
    .doctor-diagonal-wrap {
        flex-direction: column;
        min-height: auto;
    }

    .doctor-diag-photo {
        width: 100%;
        height: 320px;
        clip-path: url(#doctorPhotoClipMobile);
        -webkit-clip-path: url(#doctorPhotoClipMobile);
    }

    .doctor-diag-text {
        margin-left: 0;
        margin-top: -6%;
        padding: 10% 24px 48px;
        z-index: 2;
    }
    
    .flow-cta {
        flex-direction: column;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .case-content {
        grid-template-columns: 1fr;
    }
    
    .case-images {
        flex-direction: column;
    }
    
    .case-arrow {
        transform: rotate(90deg);
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .clinic-interior-images {
        grid-template-columns: 1fr;
    }
    
    .clinic-location {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .clinic-links {
        flex-direction: column;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-emphasis {
        font-size: 24px;
    }
    
    .btn-hero {
        font-size: 16px;
        padding: 15px 30px;
    }
}

@media (max-width: 375px) {
    .section-title {
        font-size: 19px;
    }
}
/* Updated: Wed Feb 18 02:55:30 EST 2026 */

/* 固定CTAバー */
.fixed-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #8AAFC4;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.fixed-cta-bar.visible {
    transform: translateY(0);
}

.fixed-cta-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.fixed-cta-btn {
    display: block;
    flex: 1;
    max-width: 360px;
}

.fixed-cta-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .fixed-cta-inner {
        gap: 10px;
        padding: 0 10px;
    }
}


/* =============================================
   当院の矯正治療の種類セクション
   ============================================= */
.ortho-types {
    padding: var(--section-pad);
    overflow: hidden;
    background-color: #f8f9fa;
}

.ortho-types .section-title-with-icon .section-title {
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.ortho-types .section-title-with-icon .title-icon {
    filter: none;
}

.ortho-types-row {
    display: grid;
    gap: 28px;
    margin-bottom: 28px;
}

.ortho-types-row:last-child {
    margin-bottom: 0;
}

.ortho-types-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
}

.ortho-types-3col {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.ortho-type-card {
    background: #ffffff;
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
}

.ortho-type-card:hover {
    transform: translateY(-5px);
}

.ortho-type-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.ortho-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ortho-type-card:hover .ortho-type-image img {
    transform: scale(1.04);
}

.ortho-type-body {
    padding: 24px 26px 28px;
    flex: 1;
    text-align: center;
}

.ortho-type-title {
    font-size: 1.9em;
    font-weight: 700;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0;
    padding: 8px 12px;
    text-align: center;
}

.ortho-type-title span {
    position: relative;
    z-index: 1;
}

.ortho-type-text {
    font-size: 1.1em;
    color: #4a6a7a;
    line-height: 1.8;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .ortho-types-2col {
        grid-template-columns: 1fr;
    }
    .ortho-types-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ortho-types {
        padding: 60px 0;
    }
    .ortho-types-3col {
        grid-template-columns: 1fr;
    }
    .ortho-type-body {
        padding: 18px 18px 22px;
    }
    .ortho-type-title {
        font-size: 1.1em;
    }
}

/* 矯正治療の種類：フル幅オーバーレイグリッド */
.ortho-fullgrid {
    display: grid;
    gap: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.ortho-fullgrid-2col {
    grid-template-columns: repeat(2, 1fr);
}

.ortho-fullgrid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.ortho-overlay-card {
    position: relative;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.ortho-overlay-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ortho-overlay-card:hover img {
    transform: scale(1.06);
}

/* 下部テキストエリア：水色→透明グラデーション（::after） */
.ortho-overlay-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(43, 180, 220, 0.75) 75%,
        rgba(46, 207, 207, 0.90) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ortho-overlay-card:hover::after {
    opacity: 1.0;
    background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(43, 180, 220, 0.85) 70%,
        rgba(46, 207, 207, 0.98) 100%
    );
}

.ortho-overlay-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px;
    z-index: 2;
    text-align: left;
}

.ortho-overlay-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.ortho-overlay-text {
    font-size: 0.95em;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .ortho-fullgrid-2col {
        grid-template-columns: 1fr;
    }
    .ortho-fullgrid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .ortho-overlay-title {
        font-size: 1.2em;
    }
    .ortho-overlay-body {
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    .ortho-fullgrid-3col {
        grid-template-columns: 1fr;
    }
}

/* インビザライン6つのメリット 左端画像レイアウト */
.mp-merit-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.mp-merit-image {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
}

.mp-merit-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.mp-merit-layout .mp-features-grid {
    flex: 1;
}

@media (max-width: 900px) {
    .mp-merit-layout {
        flex-direction: column;
    }
    .mp-merit-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: static;
    }
}

.inv-title-img {
    display: block;
    max-width: 700px;
    width: 100%;
    margin: 0 auto 2rem auto;
    height: auto;
}

/* ===== 見出しフォント: Zen Maru Gothic ===== */
h1, h2, h3, h4, h5, h6,
.hero-title,
.hero-subtitle,
.hero-emphasis,
.section-title,
.ortho-type-title,
.flow-content h3,
.type-card h3,
.doctor-text h3,
.clinic-card h3,
.case-card h3,
.location-info h3,
.mp-feature-card h3,
.reason-title,
.price-title,
.cta-title,
.merit-title {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

/* FAQ Q 丸バッジスタイル */
.faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    flex: 1;
}

.faq-q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BAED6, #5BBFBF);
    color: #fff;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 2px 6px rgba(141, 206, 240, 0.4);
    flex-shrink: 0;
}

.faq-q-text {
    font-size: 17px;
    line-height: 1.5;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ヘッダー内CTAボタン */
.header-cta-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-cta-btn {
    display: block;
}

.header-cta-img {
    width: auto;
    height: 100px;
    display: block;
}

@media (max-width: 768px) {
    .header-cta-btns {
        gap: 6px;
    }
    .header-cta-btn {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .header-cta-btn {
        width: 110px;
    }
}

/* ===== CTAボタン パルスアニメーション & シャドウ ===== */

/* パルスアニメーション定義（二重波紋・提案B） */
@keyframes cta-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(91, 184, 232, 0.8),
            0 0 0 0 rgba(46, 207, 207, 0.4),
            0 6px 20px rgba(91, 184, 232, 0.3);
    }
    50% {
        box-shadow:
            0 0 0 22px rgba(91, 184, 232, 0),
            0 0 0 11px rgba(46, 207, 207, 0.2),
            0 6px 20px rgba(91, 184, 232, 0.3);
    }
    100% {
        box-shadow:
            0 0 0 22px rgba(91, 184, 232, 0),
            0 0 0 22px rgba(46, 207, 207, 0),
            0 6px 20px rgba(91, 184, 232, 0.3);
    }
}

@keyframes cta-pulse-tel {
    0% {
        box-shadow:
            0 0 0 0 rgba(244, 114, 182, 0.8),
            0 0 0 0 rgba(251, 146, 60, 0.4),
            0 6px 20px rgba(244, 114, 182, 0.3);
    }
    50% {
        box-shadow:
            0 0 0 22px rgba(244, 114, 182, 0),
            0 0 0 11px rgba(251, 146, 60, 0.2),
            0 6px 20px rgba(244, 114, 182, 0.3);
    }
    100% {
        box-shadow:
            0 0 0 22px rgba(244, 114, 182, 0),
            0 0 0 22px rgba(251, 146, 60, 0),
            0 6px 20px rgba(244, 114, 182, 0.3);
    }
}

/* WEB予約ボタン（cta-web2.svg）を含む親aタグ */
a:has(img[src*="pc-ctr-006"]) {
    display: inline-block;
    border-radius: 9999px;
    animation: cta-pulse 1.8s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a:has(img[src*="pc-ctr-006"]):hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(91, 184, 232, 0.6) !important;
    animation: none;
}

/* 電話予約ボタンを含む親aタグ（全院対応） */
a:has(img[src*="pc-ctr-chuzan"]),
a:has(img[src*="pc-ctr-taniyama"]),
a:has(img[src*="pc-ctr-yoshino"]),
a:has(img[src*="pc-ctr-aira"]) {
    display: inline-block;
    border-radius: 9999px;
    animation: cta-pulse-tel 1.8s ease-in-out infinite;
    animation-delay: 0.9s;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a:has(img[src*="pc-ctr-chuzan"]):hover,
a:has(img[src*="pc-ctr-taniyama"]):hover,
a:has(img[src*="pc-ctr-yoshino"]):hover,
a:has(img[src*="pc-ctr-aira"]):hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(244, 114, 182, 0.6) !important;
    animation: none;
}

/* ===== STEP01 カード横3列 & CTA横2列 ===== */

.flow-step01-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 24px;
}

.flow-step01-card {
    background: #ffffff;
    border: 2px solid #6BAED6;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
}

.flow-step01-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.flow-step01-card h4 {
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.5;
}

.flow-step01-card p {
    font-size: 16px;
    color: #4a6a7a;
    line-height: 1.8;
    margin: 0;
}

/* CTA横2列 */
.flow-cta-row {
    display: flex;
    flex-direction: row !important;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.flow-cta-row a {
    flex: 1;
    max-width: 320px;
}

.flow-cta-row a img {
    width: 100%;
    height: auto;
}

/* スマホでは縦並びに戻す */
@media (max-width: 768px) {
    .flow-step01-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .flow-cta-row {
        flex-direction: column !important;
        gap: 12px;
    }

    .flow-cta-row a {
        max-width: 100%;
    }
}

/* ===== STEP01 全幅カード＆CTA レイアウト ===== */

.flow-step01-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px 40px;
    align-items: start;
}

/* 行1左：画像 */
.flow-step01-wrap .flow-step-image {
    grid-column: 1;
    grid-row: 1;
}

/* 行1右：テキスト */
.flow-step01-wrap .flow-content {
    grid-column: 2;
    grid-row: 1;
}

/* 行2：カード3列（全幅） */
.flow-step01-wrap .flow-step01-cards {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
}

/* 行3：CTA横2列（全幅） */
.flow-step01-wrap .flow-cta-row {
    grid-column: 1 / -1;
    grid-row: 3;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .flow-step01-wrap {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .flow-step01-wrap .flow-step-image {
        grid-column: 1;
        grid-row: 1;
    }

    .flow-step01-wrap .flow-content {
        grid-column: 1;
        grid-row: 2;
    }

    .flow-step01-wrap .flow-step01-cards {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: 1fr;
    }

    .flow-step01-wrap .flow-cta-row {
        grid-column: 1;
        grid-row: 4;
        flex-direction: column !important;
    }
}

/* ===== STEP01 カード下CTAボタン（案B） ===== */

.flow-step01-cta-btn {
    display: block;
    width: 100%;
}

.flow-step01-cta-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.flow-step01-cta-empty {
    /* ③カードの下の空白スペース */
}

/* スマホ：ボタンを縦並びに */
@media (max-width: 768px) {
    .flow-step01-cta-btn {
        max-width: 100%;
    }
    .flow-step01-cta-empty {
        display: none;
    }
}

/* ===== STEP01 CTAグリッド（カード下・全幅2列） ===== */

.flow-step01-cta-grid {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.flow-step01-cta-grid .flow-step01-cta-btn {
    display: block;
    width: 280px;
    flex-shrink: 0;
}

.flow-step01-cta-grid .flow-step01-cta-btn img {
    width: 100%;
    height: auto;
    display: block;
}

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

/* ===== セクションタイトル背面英字（案A：z-index重ね） ===== */

/* h2とINFORMATIONを同一座標に重ねるラッパー */
.title-en-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.title-en-wrap .section-title {
    position: relative;
    z-index: 1;
    margin-top: 0.5em;
    margin-bottom: 0;
}

.section-title-en {
    position: relative;
    display: block;
    width: 100vw;
    text-align: center;
    font-family: 'Chillax', sans-serif;
    font-size: 70px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    line-height: 1.15;
    overflow: hidden;
}

@media (max-width: 768px) {
    .section-title-en {
        font-size: 70px;
    }
}

@media (max-width: 480px) {
    .section-title-en {
        font-size: 48px;
    }
}

/* ============================================
   矯正治療の種類 - アイコンカードグリッド
   ============================================ */
.ortho-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 0 24px;
}

/* SP：見出しからの間隔を1/3に圧縮（ベース定義後に配置しないとsource order負け） */
@media (max-width: 768px) {
    .ortho-icon-grid {
        margin-top: 16px;
    }
}

.ortho-icon-card {
    background: #ffffff;
    border: 1px solid #EAF4F8;
    border-radius: 16px;
    padding: 48px 32px 40px;
    text-align: center;
    position: relative;
    margin: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ortho-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(91, 184, 232, 0.22);
}

/* アクセントカード（最後の1枚） */
.ortho-icon-card--accent {
    background: linear-gradient(135deg, #6BAED6 0%, #5BBFBF 100%);
    border-color: transparent;
    color: #ffffff;
}

.ortho-icon-card--accent:hover {
    box-shadow: 0 12px 36px rgba(46, 207, 207, 0.40);
}

/* アイコンラッパー */
.ortho-icon-wrap {
    width: 88px;
    height: 88px;
    margin: 0 auto 16px;
}

.ortho-icon-wrap svg,
.ortho-icon-wrap img {
    width: 100%;
    height: 100%;
    display: block;
}

/* 番号バッジ */
.ortho-icon-badge {
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6BAED6;
    background: rgba(91, 184, 232, 0.1);
    border-radius: var(--card-radius);
    padding: 2px 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.ortho-icon-badge--white {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
}

/* タイトル */
.ortho-icon-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    margin: 0 0 4px;
    line-height: 1.3;
    width: 100%;
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
}

.ortho-icon-card--accent .ortho-icon-title {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

/* 英語サブタイトル */
.ortho-icon-sub {
    font-size: 0.72em;
    color: #6BAED6;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
    font-style: italic;
}

.ortho-icon-card--accent .ortho-icon-sub {
    color: rgba(255, 255, 255, 0.8);
}

/* 説明文 */
.ortho-icon-desc {
    font-size: 0.88em;
    color: #4A6A7A;
    line-height: 1.7;
    margin: 0 0 16px;
}

.ortho-icon-card--accent .ortho-icon-desc {
    color: rgba(255, 255, 255, 0.92);
}

/* タグリスト */
.ortho-icon-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
}

.ortho-icon-tags li {
    font-size: 0.72em;
    font-weight: 600;
    color: #6BAED6;
    background: rgba(91, 184, 232, 0.1);
    border: 1px solid rgba(91, 184, 232, 0.3);
    border-radius: var(--card-radius);
    padding: 3px 10px;
    white-space: nowrap;
}

.ortho-icon-tags--white li {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .ortho-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ortho-icon-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 12px;
    }
    .ortho-icon-card {
        padding: 24px 16px 20px;
    }
    .ortho-icon-wrap {
        width: 90px;
        height: 90px;
    }
    .ortho-icon-badge {
        font-size: 14px;
    }
    .ortho-icon-title {
        font-size: 20px;
    }
    .ortho-icon-sub {
        font-size: 13px;
    }
    .ortho-icon-desc {
        font-size: 15px;
    }
    .ortho-icon-tags li {
        font-size: 12.5px;
    }
}

@media (max-width: 400px) {
    .ortho-icon-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   ディスクロージャーセクション
   背景色: doctor-diag-text と同じ #F4F9FC
   =========================== */
.disclosure {
    background-color: #F4F9FC;
    padding: 80px 0 72px;
    position: relative;
}

/* 上部区切り：直線 */
.disclosure::before {
    display: none;
}

.disclosure-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* スクロールボックス */
.disclosure-scroll-box {
    background: #fff;
    border: none;
    border-radius: 8px;
    height: 240px;
    overflow-y: scroll;  /* autoではなくscrollで常時スクロールトラック表示 */
    padding: 20px 24px;
    /* スクロールバーのスタイル */
    scrollbar-width: thin;
    scrollbar-color: #6BAED6 #e8f3f9;
    /* 下部フェード：スクロール可能であることを視覚的に示唆 */
    -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

.disclosure-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.disclosure-scroll-box::-webkit-scrollbar-track {
    background: #e8f3f9;
    border-radius: 3px;
}

.disclosure-scroll-box::-webkit-scrollbar-thumb {
    background: #6BAED6;
    border-radius: 3px;
}

.disclosure-main-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a7a9b;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.disclosure-item {
    margin-bottom: 32px;
}

.disclosure-item:last-child {
    margin-bottom: 0;
}

.disclosure-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4a7a9b;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid #6BAED6;
    line-height: 1.5;
}

.disclosure-lead {
    font-size: 0.9rem;
    color: #4a6a7a;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.disclosure-list li {
    font-size: 0.82rem;
    color: #4a6a7a;
    line-height: 1.8;
    padding: 4px 0 4px 16px;
    position: relative;
}

.disclosure-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #6BAED6;
}

@media (max-width: 768px) {
    .disclosure {
        padding: 48px 0 40px;
    }
    .disclosure-main-title {
        font-size: 0.95rem;
    }
    .disclosure-title {
        font-size: 0.88rem;
    }
    .disclosure-list li {
        font-size: 0.78rem;
    }
}

/* 矯正専門医紹介セクション：タイトルブロック調整 */
.doctor-section-title-wrap {
    margin-bottom: 20px;
    overflow: visible;
}

.doctor-section-title-wrap .title-en-wrap {
    overflow: visible;
    align-items: flex-start;
    text-align: left;
}

.doctor-section-title-wrap .section-title-en {
    width: auto;
    text-align: left;
}

.doctor-section-title-wrap .doctor-diag-title-ja {
    text-align: left;
    color: #2C4A5A;
    font-size: 28px;
    font-weight: 700;
    margin-top: -0.2em;
    position: relative;
    z-index: 1;
}

/* なぜ認定医なのか セクション */
.why-certified-section {
    padding: 140px 0;
    background: #fff;
    overflow: hidden;
}

.why-certified-section .section-title-with-icon {
    margin-bottom: 40px;
}

.why-certified-section .feature-number {
    display: none;
}

/* SP時の余白圧縮（ベース定義後に配置しないとsource order負け） */
@media (max-width: 768px) {
    .why-certified-section {
        padding-top: 74px;   /* 前のfv-copy-banner(水色)との境界で白余白確保 */
        padding-bottom: 32px;
    }
    .why-certified-section .section-title-with-icon {
        margin-bottom: 20px;
    }
    /* .features：視覚的上隣はdoctor-intro(白)なので白×白パターン（42+32=74px） */
    .features {
        padding-top: 42px;
        padding-bottom: 32px;
    }
    .features .section-title-with-icon {
        margin-bottom: 20px;
    }
}

/* ワイヤー矯正セクション */
.wire-features {
    padding: var(--section-pad);
    background: #F4F9FC;
}

.wire-intro {
    text-align: center;
    margin-bottom: 48px;
}

.wire-intro-text {
    font-size: 16px;
    color: #4A6A7A;
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
}

.wire-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.wire-image {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.wire-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.wire-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wire-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wire-feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6BAED6, #5BBFBF);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.wire-feature-content {
    flex: 1;
}

.wire-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #2C4A5A;
    margin: 0 0 6px;
}

.wire-feature-text {
    font-size: 16px;
    color: #4a6a7a;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .wire-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wire-image img {
        height: 240px;
    }
}


/* ===== FV直下コピーバナー（B案：フローティングカード） ===== */
.fv-copy-banner {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 0 20px;
    margin-top: -56px; /* FVに重なるネガティブマージン */
    z-index: 10;
}

.fv-copy-card {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

/* カード上部グラデーションライン */
.fv-copy-card-line {
    height: 4px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    width: 100%;
}

.fv-copy-card-inner {
    display: flex;
    align-items: center;
    padding: 36px 48px;
    gap: 0;
}

/* 左：問いかけエリア */
.fv-copy-left {
    flex: 0 0 auto;
    padding-right: 48px;
}

.fv-copy-question {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.75em;
    font-weight: 700;
    color: #1A3A5C;
    margin: 0;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1.3;
}

/* ？だけを大きく・グラデーションカラー */
.fv-copy-q-mark {
    display: inline-block;
    font-size: 2.2em;
    font-weight: 800;
    background: linear-gradient(135deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    vertical-align: middle;
    margin-left: 2px;
    letter-spacing: 0;
}

/* 縦区切り線 */
.fv-copy-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, #C8DFF0 40%, #C8DFF0 60%, transparent);
    flex-shrink: 0;
}

/* 右：答えエリア */
.fv-copy-right {
    flex: 1 1 auto;
    padding-left: 48px;
}

.fv-copy-answer {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.0em;
    font-weight: 400;
    color: #4A6A8A;
    margin: 0 0 10px;
    line-height: 1.6;
}

/* 技術・経験・学識 バッジ */
.fv-copy-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
}

.fv-copy-badge {
    display: inline-block;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.35em;
    font-weight: 700;
    color: #1A3A5C;
    background: linear-gradient(135deg, rgba(168,216,234,0.25) 0%, rgba(184,232,224,0.25) 100%);
    border: 1.5px solid #A8D8EA;
    border-radius: 6px;
    padding: 4px 14px;
    letter-spacing: 0.08em;
}

.fv-copy-badge-dot {
    font-size: 1.4em;
    color: #A8D8EA;
    font-weight: 700;
    line-height: 1;
}

.fv-copy-answer-sub {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.0em;
    font-weight: 400;
    color: #4A6A8A;
    margin: 0;
    line-height: 1.6;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .fv-copy-banner {
        margin-top: -32px;
        padding: 0 12px;
    }

    .fv-copy-card-inner {
        flex-direction: column;
        padding: 28px 24px;
        gap: 20px;
        text-align: center;
    }

    .fv-copy-left {
        padding-right: 0;
    }

    .fv-copy-question {
        font-size: 1.4em;
        white-space: normal;
    }

    .fv-copy-q-mark {
        font-size: 1.8em;
    }

    .fv-copy-divider {
        width: 80px;
        height: 1px;
        background: linear-gradient(90deg, transparent, #C8DFF0 40%, #C8DFF0 60%, transparent);
    }

    .fv-copy-right {
        padding-left: 0;
    }

    .fv-copy-badges {
        justify-content: center;
    }

    .fv-copy-badge {
        font-size: 1.15em;
        padding: 4px 10px;
    }
}



/* ===== FV直下コピーバナー（A案：縦積み中央揃え・リデザイン） ===== */
.fv-copy-banner--a {
    position: relative;
    width: 100%;
    background: #F5FAFE;
    padding: 100px 20px 96px;
    margin-top: 0;
    overflow: hidden;
    z-index: 2;
    text-align: center;
}

/* 背景：筆記体英文「What's the difference?」 */
.fv-copy-banner--a::before {
    content: "What's the difference?";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Dancing Script', cursive;
    font-size: 11vw;
    font-weight: 700;
    color: rgba(107, 174, 214, 0.12);
    line-height: 1.2;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    text-align: center;
    width: 100vw;
}

/* 内側コンテナ：縦積み・中央揃え */
.fv-copy-a-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* 1行目：問いかけ — ベースサイズ（他の2倍の基準） */
/* ？のサイズ = 1.4em → 全体の基準 = 2.8em */
 .fv-copy-a-question {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #6BAED6;
    margin: 0;
    padding-bottom: 24px;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-align: center;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    text-decoration-color: #6BAED6;
}
.fv-copy-a-qmark {
    font-size: 1em;
    line-height: inherit;
    vertical-align: baseline;
    display: inline;
}

/* 区切りライン */
.fv-copy-a-divider {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, #6BAED6, #5BBFBF);
    border-radius: 2px;
    flex-shrink: 0;
}

/* 2行目以降：答えブロック */
.fv-copy-a-answer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 「それは、学会が認めた」＋ボックス3つを1行に */
.fv-copy-a-answer-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
}

/* 「その違いは、学会が認めた」「による矯正治療にあります。」 */
.fv-copy-a-answer {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #6BAED6;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.03em;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

/* 「技術」「経験」「学識」— 四角枠ボックス横並び */
.fv-copy-a-highlight-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px 0;
}

.fv-copy-a-highlight-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding: 8px 24px;
    letter-spacing: 0.12em;
    line-height: 1.2;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    border: none;
    border-radius: 6px;
}

/* 旧クラス（未使用だが残置） */
.fv-copy-a-highlight {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.18em;
    margin: 4px 0;
    line-height: 1.2;
    text-align: center;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .fv-copy-banner--a {
        padding: 56px 16px 48px;
    }

    .fv-copy-banner--a::before {
        font-size: 7vw;
        white-space: normal;
        text-align: center;
        width: 90%;
        opacity: 0.08;
    }

    .fv-copy-a-answer-row {
        flex-direction: column;
        gap: 12px;
    }

    .fv-copy-a-question {
        font-size: 1.4em;
    }

    .fv-copy-a-answer {
        font-size: 1.4em;
    }

    .fv-copy-a-highlight {
        font-size: 1.4em;
        letter-spacing: 0.12em;
    }

    /* SPのみ：highlight-wrapをviewport80%幅で中央寄せ、box自体も調整 */
    .fv-copy-a-highlight-wrap {
        width: 80vw;
        max-width: 340px;
        margin: 8px auto;
        gap: 12px;
        padding-bottom: 10px;
    }
    .fv-copy-a-highlight-box {
        font-size: 1.5em;
        padding: 8px 18px;
    }
}

/* =====================================================
   日本矯正歯科学会認定医とは？ 3カラムカード
   ===================================================== */
.certified-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding-bottom: 16px;
}
.certified-card {
    background: #F4F9FC;
    border-radius: var(--card-radius);
    padding: 48px 36px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.certified-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.certified-card-num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.certified-card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.certified-card-icon svg {
    width: 120px;
    height: 120px;
}
.certified-card-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.65;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}
.certified-card-body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #4a5568;
    line-height: 1.9;
    text-align: justify;
}

/* スマホ：縦積み */
@media (max-width: 900px) {
    .certified-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    .certified-card {
        padding: 32px 24px 28px;
    }
    .certified-card-title {
        font-size: 22px;
    }
}

/* 認定医紹介：肩書きと名前の分割スタイル */
.doctor-diag-title {
    font-size: 17px;
    font-weight: 600;
    color: #5A7A8A;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}
.doctor-diag-fullname {
    font-size: 28px;
    font-weight: 700;
    color: #2C4A5A;
    letter-spacing: 0.08em;
}

/* ===== SP専用FV（スマホ用シンプルレイアウト） ===== */
/* PC: hero-pc-onlyを表示、hero-sp-onlyを非表示 */
.hero-pc-only {
    display: flex;
}
.hero-sp-only {
    display: none;
}

/* ===== タブレット専用FV調整（601-1024px：PCレイアウトを維持しつつサイズ縮小） ===== */
@media (min-width: 601px) and (max-width: 1024px) {
    /* コンテンツエリアのマージン詰める */
    .hero-content {
        margin-left: 30px;
        margin-top: 140px;
        padding: 0 16px;
        max-width: 100%;
    }
    /* メインタイトル：64px→42px（768px rule の 26px を上書き） */
    .hero-title {
        font-size: 42px;
        line-height: 1.35;
    }
    .hero-emphasis {
        font-size: 42px;
    }
    /* サブタイトル：36px→22px（768px rule を上書き） */
    .hero-subtitle {
        font-size: 22px;
        line-height: 1.4;
    }
    /* 装飾スクリプト：タブレットでは非表示 */
    .hero-script-deco {
        display: none;
    }
    /* ロゴ：PCと同じサイズ */
    .hero-logo img {
        height: 60px;
    }
    /* CTAボタン：280→220px、gap詰める */
    .hero-cta {
        gap: 16px;
        margin: 24px 0 16px;
    }
    .hero-cta a {
        width: 220px;
    }
    /* ※1注釈テキストのサイズ微調整 */
    .hero-note {
        font-size: 13px;
    }
}

/* SP: hero-pc-onlyを非表示、hero-sp-onlyを表示（スマホ幅600px以下のみSP画像・SPレイアウト。タブレットはPCレイアウトを維持） */
@media (max-width: 600px) {
    .hero-pc-only {
        display: none !important;
    }
    /* SP時はヘッダーを完全非表示 */
    .header {
        display: none !important;
    }
    /* hero-wrapperのSP時パディングをゼロに */
    .hero-wrapper {
        padding: 0;
        background: none;
    }
    /* SP時はFV内CTAボタンを非表示（固定バーに集約） */
    .hero-cta,
    .hero-sp-cta {
        display: none !important;
    }
    /* SP FVラッパー：背景色は全幅に展開 */
    .hero-sp-only {
        display: block;
        background: linear-gradient(135deg, #6BAED6 0%, #5BBFBF 100%);
        padding: 12px;
    }
    /* 写真+コピーのカード：SPはコンテンツ幅フル表示（タブレット向けclampは撤去） */
    /* 写真フルカバーコンテナ */
    .hero-sp-photo-wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        border-radius: 16px;
        margin-bottom: 0;
    }
    .hero-sp-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
        transform: scale(1.15) translateX(6%);
        transform-origin: center center;
    }
    /* ロゴオーバーレイ（左上） */
    .hero-sp-logo-overlay {
        position: absolute;
        top: 14px;
        left: 14px;
        background: none;
        backdrop-filter: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        z-index: 3;
    }
    .hero-sp-logo-overlay img {
        height: 50px;
        width: auto;
        display: block;
    }
    /* 横書きキャッチコピーオーバーレイ（左上ロゴの少し下） */
    .hero-sp-title-overlay {
        position: absolute;
        top: 104px;
        left: 24px;
        right: auto;
        bottom: auto;
        z-index: 3;
        pointer-events: none;
    }
    .hero-sp-title {
        writing-mode: initial;
        -webkit-writing-mode: initial;
        font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: 0.02em;
        background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        margin: 0;
        padding: 0;
    }
    .hero-sp-emphasis {
        font-size: inherit;
        font-weight: 700;
        background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }
    /* サブタイトル＋CTAオーバーレイ（写真下部に重ねる） */
    .hero-sp-copy {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 60px 20px 8px;
        background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
        z-index: 2;
    }
    /* サブコピー＋※1注釈の共通ラッパー（inline-blockで白枠幅にフィット） */
    .hero-sp-subtitle-wrap {
        display: inline-block;
        max-width: 100%;
    }
    /* サブコピー：フロストグラス背景を外側のpに */
    .hero-sp-subtitle {
        font-size: 22px;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 4px;
        line-height: 1.5;
        display: inline-block;
        padding: 12px 18px;
        background-color: rgba(255, 255, 255, 0.85);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    /* 内側のspanにグラデ文字色 */
    .hero-sp-subtitle-text {
        background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        font-weight: inherit;
    }
    /* CTAボタンエリア */
    .hero-sp-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 8px;
    }
    .hero-sp-btn-img {
        width: 100%;
        max-width: 340px;
        height: auto;
        display: block;
    }
    .hero-sp-note {
        font-size: 11px;
        background: linear-gradient(90deg, #6BAED6 0%, #5BBFBF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        text-shadow: none;
    }
}
@media (max-width: 480px) {
    .hero-sp-title {
        font-size: 24px;
        letter-spacing: 0.02em;
    }
    .hero-sp-title-overlay {
        top: 94px;
        left: 22px;
        right: auto;
    }
}
@media (max-width: 375px) {
    .hero-sp-title {
        font-size: 22px;
    }
    .hero-sp-title-overlay {
        top: 86px;
        left: 20px;
    }
}


@media (max-width: 600px) {
    /* ※1注釈テキスト：サブコピー白枠のすぐ右上に配置（SP FV内のみ） */
    .hero-sp-note-outside {
        display: block;
        /* .hero-note のグラデクリップを解除 */
        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
        color: rgba(255, 255, 255, 0.95);
        font-size: 10px;
        font-weight: 500;
        line-height: 1.4;
        padding: 0;
        margin: 0 0 6px 0;
        text-align: right;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    }
    .hero-sp-note-outside .hero-note-trigger {
        color: inherit;
        -webkit-text-fill-color: inherit;
        text-decoration-color: rgba(255, 255, 255, 0.6);
    }
    /* ツールチップ本文：右端寄せで画面外はみ出し防止 */
    .hero-sp-note-outside .hero-note-text {
        left: auto;
        right: 0;
    }
    /* 写真内の注釈テキストはSP時非表示 */
    .hero-sp-note:not(.hero-sp-note-outside) {
        display: none;
    }
}

/* === SP カードpadding縮小 === */
@media (max-width: 768px) {
    .feature-card {
        padding: 24px;
    }
    .payment-method {
        padding: 28px;
    }
    .flow-step {
        padding: 28px;
    }
    /* SP：Step番号＋タイトルを中央寄せ、本文は左寄せキープ */
    .flow-content {
        text-align: center;
    }
    .flow-content p {
        text-align: left;
    }
}

/* === SP 医院情報メイン画像の高さ調整 === */
@media (max-width: 768px) {
    .clinic-main-image img {
        height: auto;
        max-height: 280px;
        width: 100%;
        object-fit: cover;
    }
}

/* =============================================
   タイポグラフィ統一システム
   セクションタイトル: Zen Maru Gothic 32px / line-height 1.4
   カード見出し(h3): Zen Maru Gothic 22px / line-height 1.4
   カード小見出し(h4): Zen Maru Gothic 20px / line-height 1.4
   本文(p): Noto Sans JP 16px / line-height 1.8
   小文字・注釈: Noto Sans JP 13px / line-height 1.6
============================================= */

/* --- セクションタイトル統一 --- */
.section-title {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 32px;
    line-height: 1.4;
}

/* --- カード見出し h3/h4 統一 --- */
.feature-card h4,
.type-card h3,
.flow-content h3,
.case-card h3,
.location-info h3,
.clinic-card h3 {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 22px;
    line-height: 1.4;
}

.certified-card-title {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    line-height: 1.4;
}

/* --- カード小見出し h4 統一 --- */
.doctor-text h3,
.doctor-text h4,
.director-text h4,
.payment-method h4 {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 20px;
    line-height: 1.4;
}

/* --- 本文 p 統一 --- */
.feature-card p,
.flow-content p,
.payment-method p,
.doctor-text p,
.director-text p,
.type-card p,
.case-card p,
.location-info p,
.clinic-card p,
.certified-card-body,
.faq-answer p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* --- スマホ時のタイポグラフィ縮小 --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px !important;
        line-height: 1.4;
    }

    .feature-card h4,
    .type-card h3,
    .flow-content h3,
    .case-card h3,
    .location-info h3,
    .clinic-card h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .certified-card-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .doctor-text h3,
    .doctor-text h4,
    .director-text h4,
    .payment-method h4 {
        font-size: 18px;
        line-height: 1.4;
    }

    .feature-card p,
    .flow-content p,
    .payment-method p,
    .doctor-text p,
    .director-text p,
    .type-card p,
    .case-card p,
    .location-info p,
    .clinic-card p,
    .certified-card-body,
    .faq-answer p {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* ==============================
   SP固定CTAバー（FV通過後に出現）
   ============================== */
.sp-fixed-cta {
    display: none;
}

@media (max-width: 600px) {
    /* 固定CTA分の余白をページ下部に確保（フッターが隠れないように） */
    body {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }
    .sp-fixed-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        gap: 0;
        padding: 0;
        /* iPhoneセーフエリア対応：ホームインジケータ分を追加 */
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #fff;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        pointer-events: none;
    }
    /* iPhone最下部のセーフエリア */
    .sp-fixed-cta::after {
        content: '';
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: env(safe-area-inset-bottom, 0px);
        background: #fff;
        z-index: 101;
    }
    .sp-fixed-cta.is-visible {
        transform: translateY(0);
        pointer-events: auto;
    }
    .sp-fixed-cta-btn {
        flex: 1;
        display: flex;
        align-items: stretch;
        margin: 0 -1px;
        padding: 0;
        overflow: hidden;
    }
    .sp-fixed-cta-btn img {
        width: calc(100% + 4px);
        max-width: none;
        height: auto;
        display: block;
        margin: -1px -2px;
    }
}

/* ==============================
   Go to Top ボタン
   ============================== */
.go-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6BAED6 0%, #5BBFBF 100%);
    color: white;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 99;
    padding: 0;
}
.go-to-top.is-visible {
    opacity: 0.7;
    visibility: visible;
}
.go-to-top:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* SP：固定CTAバーの上に配置 */
@media (max-width: 600px) {
    .go-to-top {
        bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }
}
