/* ==========================================
   13 あさいクリニック V2 - Enhanced Design
   装飾強化版スタイルシート
   ========================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-primary: #808789;          /* 装飾・背景用（テキストには使用不可） */
    --color-primary-light: #9aa2a5;    /* 装飾専用 */
    --color-primary-dark: #6a7275;     /* テキスト用グレー (white: 4.92:1 ✅ AA) */
    --color-accent: #D2691E;           /* 装飾・大見出し用オレンジ */
    --color-accent-text: #b85a18;      /* テキスト用オレンジ (white: 4.65:1 ✅ AA) */
    --color-accent-light: #e8a070;     /* 装飾専用（薄めオレンジ） */
    --color-accent-yellow: #D2691E;    /* CTAセクション背景 */
    --color-subtle: #d6d6d6;
    --color-bg-warm: #ffffff;
    --color-bg-cool: #f0f0f0;
    --color-bg-deep: #d6d6d6;
    --color-text: #4c4c4c;             /* メインテキスト (white: 8.62:1 ✅ AAA) */
    --color-text-muted: #6a7275;       /* サブテキスト (white: 4.92:1 ✅ AA) */
    --color-white: #ffffff;
    --color-white-soft: #f8f8f8;       /* ハレーション対策用オフホワイト */
    --color-dark: #4c4c4c;
    --color-text-green: #4c4c4c;

    --gradient-hero: linear-gradient(
        135deg,
        rgba(210, 105, 30, 0.20) 0%,
        rgba(210, 105, 30, 0.20) 100%
    );
    --gradient-cta: linear-gradient(135deg, #9e3d10 0%, #b85a18 100%);
    --gradient-section: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);

    --font-heading: "Shippori Mincho", serif;
    --font-body: "Noto Sans JP", sans-serif;
    --font-accent: "Cormorant Garamond", serif;

    --section-padding: 120px;
    --section-padding-mobile: 80px;
    --container-max: 1200px;
    --container-padding: 24px;
    --container-padding-tablet: max(4vw, 40px); /* タブレット用安全地帯 */

    --transition-base: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    --shadow-sm: 0 2px 8px rgba(76, 76, 76, 0.08);
    --shadow-md: 0 8px 24px rgba(76, 76, 76, 0.12);
    --shadow-lg: 0 16px 48px rgba(76, 76, 76, 0.15);
    --shadow-xl: 0 24px 64px rgba(76, 76, 76, 0.18);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg-warm);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---------- Typography Enhancements ---------- */
/* 文節ごとの塊指定（Widow/Orphan防止） */
.text-chunk {
    display: inline-block;
    white-space: nowrap;
}

/* 和文カーニング処理 */
h1,
h2,
h3,
h4,
h5,
h6,
.hero__title,
.section-header__title,
.concept__title {
    font-feature-settings: "palt";
    letter-spacing: 0.02em;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.text-accent {
    color: var(--color-accent);
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

/* ---------- Floating Shapes (Decorative) ---------- */
.floating-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.1s linear;
}

.floating-shape--circle {
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(128, 135, 137, 0.12),
        rgba(214, 208, 200, 0.08)
    );
    backdrop-filter: blur(2px);
}

.floating-shape--ring {
    border-radius: 50%;
    border: 2px solid rgba(128, 135, 137, 0.20);
    background: transparent;
}

.floating-shape--dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(
        circle,
        var(--color-accent) 2px,
        transparent 2px
    );
    background-size: 16px 16px;
    opacity: 0.25;
}

.floating-shape--1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -100px;
}

.floating-shape--2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -50px;
}

.floating-shape--3 {
    top: 60%;
    right: 10%;
}

.floating-shape--concept-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    left: -80px;
}

.floating-shape--cta-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    left: 10%;
}

.floating-shape--cta-2 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: 15%;
}

.floating-shape--endo-1 {
    bottom: 10%;
    right: 5%;
}

.floating-shape--feat-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -60px;
}

.floating-shape--feat-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: -40px;
}

.floating-shape--msg-1 {
    top: 30%;
    left: 5%;
}

/* ---------- Diagonal Sections ---------- */
.diagonal-section {
    position: relative;
    height: 80px;
    overflow: hidden;
}

/* .diagonal-section--hero-to-concept {
    background: var(--color-bg-warm);
    margin-top: -80px;
    clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
} */

/* .diagonal-section--endo-to-diseases {
    background: var(--color-primary);
    margin-top: -1px;
} */

/* ---------- Animations ---------- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.15s;
}

.animate-delay-2 {
    animation-delay: 0.3s;
}

.animate-delay-3 {
    animation-delay: 0.45s;
}

.animate-delay-4 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(50px);
    animation: slideLeft 0.8s ease-out 0.5s forwards;
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal {
    opacity: 0;
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

/* .reveal:not(.reveal-left):not(.reveal-right) {
    transform: translateY(40px);
} */
.reveal {
    transform: translateY(40px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    padding: 14px 28px;
    font-size: 0.95rem;
    /* border-radius: 6px; */
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--xl {
    padding: 20px 40px;
    font-size: 1.0625rem;
    min-width: 250px;
}

.btn--full {
    width: 100%;
}

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

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

.btn--accent {
    background: var(--gradient-cta);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

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

/* Hero内の電話ボタン：写真背景上で白アウトライン＋白文字（WEB予約との明確な視覚的階層） */
.hero .btn--outline {
    border-color: rgba(255, 255, 255, 0.85);
    border-width: 2px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.hero .btn--outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--color-white); /* 暗い背景用：white on #6a7275 = 4.92:1 ✅ */
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-white);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-dark {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary-dark);
    min-width: 155px;
}

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

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 5;
}

.section-header__label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-text); /* #b85a18 (white: 4.65:1 ✅) */
    margin-bottom: 12px;
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-dark); /* #4c4c4c (white: 8.62:1 ✅) */
    line-height: 1.4;
}

.section-header__desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted); /* #6a7275 (white: 4.92:1 ✅) */
    margin-top: 12px;
}

.section-header--light .section-header__label {
    color: var(--color-accent-light);
}

.section-header--light .section-header__title {
    color: var(--color-white);
}

.section-header--light .section-header__desc {
    color: var(--color-subtle);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

/* ヘッダー下部に独立したフェード帯（レイアウトに影響しない） */
.header::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 36px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.30) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(118, 150, 161, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header.is-scrolled::after {
    opacity: 0;
    pointer-events: none;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.header__logo-img {
    height: 44px;
    width: auto;
    display: block;
    filter: none;
    opacity: 1;
}

.header__logo-number {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    transition: color var(--transition-base);
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    transition: color var(--transition-base);
}

.header.is-scrolled .header__logo-number,
.header.is-scrolled .header__logo-text {
    color: var(--color-primary-dark);
}

.header.is-scrolled .header__tel {
    color: var(--color-primary-dark);
}

.header.is-scrolled .header__hamburger span {
    background: var(--color-primary);
}

.header.is-scrolled .header__nav-list a {
    color: var(--color-primary-dark);
}

.header.is-scrolled .nav-en {
    color: var(--color-text-muted);
}

/* --- Mobile Navigation (full-screen overlay) --- */
.header__nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background: var(--color-accent-yellow);
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px;
    overflow-y: auto;
    clip-path: circle(0% at calc(100% - 40px) 32px);
    visibility: hidden;
    transition:
        clip-path 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0.65s;
}

.header__nav.is-open {
    clip-path: circle(150% at calc(100% - 40px) 32px);
    visibility: visible;
    transition:
        clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0s;
}

/* Decorative background elements */
.header__nav-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.header__nav-deco-number {
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-family: var(--font-accent);
    font-size: min(22rem, 50vw);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.03);
    line-height: 0.85;
    user-select: none;
}

.header__nav-deco-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: 12%;
    right: -80px;
}

.header__nav-deco-circle--sm {
    width: 140px;
    height: 140px;
    top: auto;
    bottom: 15%;
    right: auto;
    left: -40px;
}

/* Nav list styling */
.header__nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 2;
}

.header__nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header__nav.is-open .header__nav-list li {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__nav.is-open .header__nav-list li:nth-child(1) { transition-delay: 0.15s; }
.header__nav.is-open .header__nav-list li:nth-child(2) { transition-delay: 0.2s; }
.header__nav.is-open .header__nav-list li:nth-child(3) { transition-delay: 0.25s; }
.header__nav.is-open .header__nav-list li:nth-child(4) { transition-delay: 0.3s; }
.header__nav.is-open .header__nav-list li:nth-child(5) { transition-delay: 0.35s; }

.header__nav-list a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.06em;
    position: relative;
    transition: color 0.2s ease;
}

.header__nav-list a:active {
    color: rgba(255, 255, 255, 0.6);
}

.nav-en {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header__nav-list a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.header__nav-list a:hover::after {
    width: 100%;
}

/* Nav CTA area */

.header__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ヘッダーWEB予約ボタン：常時アクセントカラー */
.header__cta .btn--primary {
    background: var(--gradient-cta);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.header__cta .btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.header__tel {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    background-color: transparent;
    transition: color var(--transition-base);
}

.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    z-index: 1001;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.header__hamburger.is-active span {
    background: var(--color-white);
}

.header__hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Nav CTA & Footer (mobile overlay) --- */
.header__nav-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 36px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header__nav.is-open .header__nav-cta {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.header__nav-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.2s ease;
}

.header__nav-tel:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
}

.header__nav-tel:active {
    transform: scale(0.97);
}

.header__nav-reserve {
    padding: 14px;
    font-size: 1.125rem;
    text-align: center;
    background: var(--color-white);
    color: var(--color-primary-dark);
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
}

.header__nav-reserve:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header__nav-reserve:active {
    transform: scale(0.97);
}

/* Nav footer info */
.header__nav-footer {
    padding-top: 24px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.header__nav.is-open .header__nav-footer {
    opacity: 1;
    transition: opacity 0.5s ease 0.5s;
}

.header__nav-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}

.header__nav-footer-name {
    font-family: var(--font-heading);
    font-size: 0.8125rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 4px;
}

@media (min-width: 1025px) {
    .header__nav {
        position: static;
        display: block;
        visibility: visible;
        clip-path: none;
        background: transparent;
        padding: 0;
        overflow: visible;
        inset: auto;
        width: auto;
        height: auto;
        transition: none;
    }

    .header__nav-list {
        flex-direction: row;
        gap: 18px;
    }

    .header__nav-list li {
        opacity: 1;
        transform: none;
        transition: none;
        border-bottom: none;
    }

    .header__nav-list a {
        font-family: var(--font-body);
        font-size: 0.875rem;
        font-weight: 500;
        padding: 0;
        letter-spacing: 0;
        color: var(--color-primary-dark);
    }

    .header.is-scrolled .header__nav-list a {
        color: var(--color-text);
    }

    .nav-en {
        display: none;
    }

    .header__nav-deco,
    .header__nav-footer {
        display: none;
    }

    .header__nav-cta {
        display: none;
        opacity: 1;
        transform: none;
    }

    .header__tel {
        display: flex;
    }

    .header__hamburger {
        display: none;
    }
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: zoomOut 1.5s ease-out forwards;
}

@keyframes zoomOut {
    to {
        transform: scale(1);
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(210, 105, 30, 0.20);
}


.hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
}

.hero__content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 120px;
}

.hero__main {
    max-width: 650px;
}

.hero__label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-accent);
    font-size: 0.9375rem;
    letter-spacing: 0.25em;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
}

.hero__label-line {
    width: 40px;
    height: 1px;
    background: var(--color-primary);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero__title-accent {
    font-family: var(--font-accent);
    font-size: 1.1em;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-dark);
    margin-bottom: 40px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Doctor Card */
.hero__doctor-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px 24px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.hero__doctor-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-sm);
}

.hero__doctor-info {
    text-align: left;
}

.hero__doctor-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-accent-text);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 8px;
}

.hero__doctor-position {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.hero__doctor-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.hero__doctor-accent {
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--color-accent);
    z-index: -1;
}

.hero__doctor-card::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--color-accent-yellow);
    bottom: -15px;
    right: -15px;
    z-index: -2;
}

/* Hero Feature Tags */
.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--color-primary-dark);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background var(--transition-base);
}

.hero-tag--compact {
    padding: 5px 14px;
    font-size: 0.75rem;
}

.hero-tag:hover {
    background: rgba(255, 255, 255, 0.85);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    z-index: 5;
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scroll-line 2s ease-out infinite;
}

@keyframes scroll-line {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    50.01% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* ========== CONCEPT ========== */
.concept {
    position: relative;
    padding: 80px 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.concept__bg {
    position: absolute;
    inset: 0;
}

.concept__pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        var(--color-subtle) 1px,
        transparent 1px
    );
    background-size: 24px 24px;
    opacity: 0.12;
}

.concept__bg-text {
    position: absolute;
    bottom: -20px;
    right: -30px;
    font-family: var(--font-accent);
    font-size: clamp(6rem, 14vw, 12rem);
    color: var(--color-primary-dark);
    opacity: 0.035;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.concept__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
}

.concept__quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.concept__quote-mark--end {
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
}

.concept__title {
    margin-bottom: 32px;
}

.concept__title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-primary-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

.concept__title-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-accent);
}

.concept__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 2.2;
}

/* ========== OVERVIEW ========== */
.overview {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.overview__bg {
    position: absolute;
    inset: 0;
}

.overview__texture {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        var(--color-subtle) 30px,
        var(--color-subtle) 31px
    );
    opacity: 0.07;
}

.overview__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.info-card {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    z-index: 3;
}

.info-card__accent {
    position: absolute;
    top: -6px;
    left: 24px;
    right: 24px;
    height: 6px;
    background: var(--gradient-cta);
    border-radius: 3px;
}

.info-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.info-card__title .icon {
    color: var(--color-accent);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    margin-bottom: 16px;
}

.hours-table th,
.hours-table td {
    padding: 12px 6px;
    text-align: center;
    border-bottom: 1px solid var(--color-bg-cool);
}

.hours-table thead th {
    font-weight: 500;
    color: var(--color-text-muted);
}

.hours-table tbody th {
    text-align: left;
    font-weight: 400;
}

.hours-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.hours-table td {
    color: var(--color-accent-text);
    font-weight: 600;
}

.hours-table td.closed {
    color: var(--color-text-muted);
    font-weight: 400;
}

.info-card__note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.info-card__note .icon-sm {
    color: var(--color-accent);
}

.info-card__address {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.info-card__transport {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-accent-text);
}

/* Overview Visual */
.overview__visual {
    position: relative;
}

.overview__image-stack {
    position: relative;
    padding: 20px 0 0 20px;
}

.overview__image {
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
}

.overview__image--main {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    z-index: 2;
}

.overview__image--sub {
    position: absolute;
    width: 45%;
    aspect-ratio: 1;
    bottom: -30px;
    left: -20px;
    z-index: 3;
    border: 4px solid var(--color-white);
}

.overview__frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 40px;
    bottom: 40px;
    border: 3px solid var(--color-accent);
    border-radius: 12px;
    z-index: 1;
}

/* Yellow accent decorative box */
.overview__image-stack::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--color-accent-yellow);
    bottom: -50px;
    right: 20px;
    z-index: -1;
}

/* ========== RESERVATION CTA ========== */
.reservation-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.reservation-cta__bg {
    position: absolute;
    inset: 0;
}

.reservation-cta__gradient {
    position: absolute;
    inset: 0;
    background: var(--color-primary-dark); /* #6a7275 → white text 4.92:1 ✅ */
}

.reservation-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.reservation-cta__badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.reservation-cta__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 4px 14px;
    letter-spacing: 0.06em;
}

.reservation-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white); /* white on #6a7275: 4.92:1 ✅ */
    margin-bottom: 12px;
}

.reservation-cta__text {
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 28px;
    font-size: 0.9375rem;
}

.reservation-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ========== ENDOSCOPY INTRO ========== */
.endoscopy-intro {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.endoscopy-intro__bg {
    position: absolute;
    inset: 0;
}

.endoscopy-intro__texture {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        var(--color-subtle) 1.5px,
        transparent 1.5px
    );
    background-size: 32px 32px;
    opacity: 0.12;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.intro-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.intro-card__number {
    position: relative;
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.intro-card__number-dots {
    position: absolute;
    top: 50%;
    left: 60px;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.3;
}

.intro-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
}

.intro-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.intro-card__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* ========== DISEASES ========== */
.diseases {
    position: relative;
    padding: var(--section-padding) 0 calc(var(--section-padding) + 60px);
    background-color: var(--color-bg-warm);
    overflow: hidden;
}

.diseases__bg {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        var(--color-subtle) 30px,
        var(--color-subtle) 31px
    );
    opacity: 0.15;
}

/* diseases セクション内：背景が明るいので文字色をダーク系に上書き */
.diseases .section-header__label {
    color: var(--color-primary-dark);
}

.diseases .section-header__title {
    color: var(--color-primary-dark);
}

.diseases .section-header__desc {
    color: var(--color-text);
}

.diseases__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    color: var(--color-bg-warm);
}

.diseases__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.diseases__grid .disease-item:nth-child(1),
.diseases__grid .disease-item:nth-child(2) {
    grid-column: span 2;
}

.diseases__grid .disease-item:nth-child(n + 3) {
    grid-column: span 2;
}

.disease-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(76, 76, 76, 0.15);
    backdrop-filter: blur(4px);
    transition: all var(--transition-base);
}

/* .disease-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
} */

.disease-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 76, 76, 0.12);
    border-radius: 50%;
    color: var(--color-primary-dark);
}

.disease-item__content h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

.disease-item__content p {
    font-size: 0.8125rem;
    color: var(--color-text);
}

/* ========== FEATURES ========== */
.features {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.features__bg {
    position: absolute;
    inset: 0;
}

.features__pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 30px,
        var(--color-subtle) 30px,
        var(--color-subtle) 31px
    );
    opacity: 0.12;
}

.features__grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-block--reverse {
    direction: rtl;
}

.feature-block--reverse > * {
    direction: ltr;
}

.feature-block__visual {
    position: relative;
    /* padding: 12px; */
    max-width: 520px;
}

.feature-block__image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    object-fit: cover;
    object-position: center center;
    position: relative;
    z-index: 2;
}

.feature-block__frame {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    z-index: 1;
    transform: translate(12px, 12px);
}

.feature-block--reverse .feature-block__frame {
    transform: translate(-12px, 12px);
}

/* Yellow accent for feature blocks */
.feature-block__visual::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-accent-yellow);
    bottom: -30px;
    right: -30px;
    z-index: -1;
}

.feature-block--reverse .feature-block__visual::after {
    right: auto;
    left: -30px;
}

.feature-block__number {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 3;
}

.feature-block--reverse .feature-block__number {
    left: auto;
    right: -20px;
}

.feature-block__number span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.feature-block__number-bg {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.feature-block__content {
    position: relative;
    z-index: 3;
}

.feature-block .feature-block__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--color-bg-cool);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 16px;
}

.feature-block__tag--accent {
    background: var(--color-accent-text);
    color: var(--color-white);
}

.feature-block__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 500;
    color: var(--color-primary-dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

.feature-block__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 24px;
}

.feature-block__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-block__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.feature-block__list .icon-sm {
    color: var(--color-accent);
}

/* Feature Cards V2 */
.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: -24px;
    position: relative;
}

.feature-card-v2 {
    background: var(--color-white);
    padding: 32px 28px 36px;
    transition: background var(--transition-base);
    position: relative;
    overflow: hidden;
    /* 上線で区切り：左ラインより自然な「始まり」を演出 */
    border-top: 2px solid var(--color-primary-light);
}

.feature-card-v2::before {
    display: none;
}

@media screen and (max-width: 768px) {
    .feature-card-v2:nth-child(2) {
        margin-top: 24px;
    }
}

.feature-card-v2:hover {
    background: var(--color-bg-warm);
}

.feature-card-v2__header {
    display: block;
    margin-bottom: 20px;
}

.feature-card-v2__number {
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.7;
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

/* アイコンは非表示（タイポグラフィで十分） */
.feature-card-v2__icon {
    display: none;
}

.feature-card-v2__title {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    line-height: 1.55;
    margin-bottom: 14px;
}

.feature-card-v2__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.85;
}

/* ========== FAQ ========== */
.faq {
    position: relative;
    padding: 80px 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.faq__bg {
    position: absolute;
    inset: 0;
}

.faq__texture {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        var(--color-subtle) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    opacity: 0.12;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-item__question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    list-style: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 50%;
}

.faq-item__text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.faq-item__icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer-inner {
    padding: 0 24px 24px 80px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ========== MESSAGE ========== */
.message {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.message__bg {
    position: absolute;
    inset: 0;
}

.message__content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.message__image-wrap {
    position: relative;
}

.message__image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    object-fit: cover;
    object-position: center 15%;
    position: relative;
    z-index: 2;
}

.message__image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 3px solid var(--color-accent);
    border-radius: 12px;
    z-index: 1;
}

.message__image-dots {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: var(--color-accent-yellow);
    z-index: -1;
}

.message__text-wrap {
    position: relative;
    z-index: 3;
}

.message__profile {
    margin-bottom: 32px;
}

.message__position {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.message__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    line-height: 1.3;
}

.message__name span {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 16px;
}

.message__credential {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--color-accent);
}

.message__body {
    margin-bottom: 32px;
}

.message__body p {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 16px;
}

.message__career h4 {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.message__career ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message__career li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    padding-left: 16px;
    position: relative;
}

.message__career li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 1px;
    background: var(--color-accent);
}

/* ========== CLINIC GUIDE ========== */
.clinic-guide {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.clinic-guide__bg {
    position: absolute;
    inset: 0;
}

.clinic-guide__texture {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        var(--color-subtle) 30px,
        var(--color-subtle) 31px
    );
    opacity: 0.07;
}

.clinic-guide__gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
    position: relative;
}

/* Yellow accent for gallery */
.clinic-guide__gallery::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-accent-yellow);
    top: -30px;
    right: -30px;
    z-index: -1;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-item--large {
    grid-row: span 2;
}

.gallery-item__image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-item__image {
    transform: scale(1.05);
}

.gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--color-white);
    font-size: 0.875rem;
}

.clinic-guide__info {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.clinic-dl {
    display: grid;
    gap: 20px;
}

.clinic-dl__item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-bg-cool);
}

.clinic-dl__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.clinic-dl__item dt {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.clinic-dl__item dd {
    font-size: 0.9375rem;
    color: var(--color-text);
}

.clinic-dl__item dd a {
    color: var(--color-primary-dark);
    font-weight: 500;
}

.clinic-dl__item dd a:hover {
    color: var(--color-accent);
}

/* ========== ACCESS & RESERVATION ========== */
.access-reservation {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
}

.access-reservation__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.access-reservation__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
}

.access-reservation__title .icon {
    color: var(--color-accent);
}

.map-frame {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-bg-deep);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
}

.access-reservation__transport {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--color-accent);
}

.cta-box {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.cta-box::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-accent-yellow);
    top: -20px;
    left: -20px;
    z-index: -1;
}

.cta-box__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.cta-box__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.cta-box__divider::before,
.cta-box__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-bg-cool);
}

.cta-box__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
}

.cta-box__tel:hover {
    color: var(--color-accent);
}

.cta-box__hours {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 64px 0 36px;
}

.footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
    margin-bottom: 40px;
}

/* Left column: brand + contact grouped */
.footer__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.footer__logo-img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer__logo-number {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 1rem;
}

.footer__tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer__address {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer__access {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer__tel {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.footer__tel:hover {
    color: var(--color-accent-light);
}

/* Right column: nav + hours */
.footer__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer__nav-heading,
.footer__hours-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__nav-list a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer__nav-list a:hover {
    color: var(--color-white);
}

.footer__hours-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__hours-row {
    display: flex;
    gap: 12px;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.footer__hours-row dt {
    color: rgba(255, 255, 255, 0.5);
    min-width: 3.5em;
    flex-shrink: 0;
}

.footer__hours-row dd {
    color: rgba(255, 255, 255, 0.7);
}

.footer__bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ========== RESPONSIVE ========== */

/* Large tablets / small desktops (1280px~1200px) */
@media (max-width: 1280px) {
    .container {
        padding: 0 max(3vw, 32px);
    }
}

/* Tablets landscape (1200px~1100px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--container-padding-tablet);
    }

    .feature-block {
        gap: 40px;
    }

    .feature-block__image {
        aspect-ratio: 4/3;
    }

    /* ヘッダーCTAの調整 */
    .header__tel span {
        display: none;
    }

    .header__tel {
        padding: 8px;
        border-radius: 50%;
    }

    .header__cta .btn--sm {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }
}

/* Tablets (1100px) - 早期1カラム化開始 */
@media (max-width: 1100px) {
    :root {
        --section-padding: 100px;
    }

    .container {
        padding: 0 max(4vw, 40px);
    }

    /* 特徴セクションを縦積みに */
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-block--reverse {
        direction: ltr;
    }

    .feature-block__visual {
        max-width: 520px;
        margin: 0 auto;
    }

    .feature-block__image {
        height: 320px;
    }

    /* 院長メッセージも縦積み */
    .message__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .message__image-wrap {
        max-width: 320px;
        margin: 0 auto;
    }

    /* アクセス・予約 */
    .access-reservation__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Tablets portrait (1024px) */
@media (max-width: 1024px) {
    /* ヘッダーのWEB予約ボタンを非表示（モバイルメニュー内にあるため） */
    .header__cta .btn--sm {
        display: none;
    }

    /* 病気一覧を2列に */
    .diseases__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .diseases__grid .disease-item:nth-child(1),
    .diseases__grid .disease-item:nth-child(2),
    .diseases__grid .disease-item:nth-child(n + 3) {
        grid-column: span 1;
    }

    /* Reduce decorative element visibility on tablets */
    .floating-shape {
        opacity: 0.4;
    }

    .overview__image-stack::after,
    .feature-block__visual::after,
    .message__image-dots,
    .clinic-guide__gallery::before,
    .gastroscopy-features__image-wrap::after {
        opacity: 0.4;
        width: 60px;
        height: 60px;
    }

    .overview__image-stack::after {
        bottom: 30px;
        right: -10px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero__title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .hero__doctor-card {
        margin: 0 auto;
        padding: 20px 24px;
    }

    .hero__doctor-image {
        width: 80px;
        height: 80px;
    }

    .hero__scroll {
        display: none;
    }

    /* クリニック概要 */
    .overview__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .overview__visual {
        order: -1;
        max-width: 100%;
        width: 100%;
    }

    .overview__image-stack {
        padding: 30px 20px 50px 30px;
        max-width: 600px;
        margin: 0 auto;
    }

    .overview__image--main {
        aspect-ratio: 16/10;
        min-height: 280px;
    }

    .overview__image--sub {
        width: 40%;
        max-width: 200px;
        bottom: 0;
        left: 0;
    }

    .overview__frame {
        top: 10px;
        left: 10px;
        right: 30px;
        bottom: 60px;
    }

    /* アクセスカードを診療時間カードに重ねて配置 */
    .overview__info {
        position: relative;
        padding-bottom: 60px;
    }

    .info-card:first-child {
        padding-bottom: 80px;
    }

    .info-card--access {
        position: absolute;
        bottom: 10px;
        right: -12px;
        width: 280px;
        margin-bottom: 0;
        padding: 20px 24px;
        background: var(--color-bg-cool);
        border-left: 3px solid var(--color-accent);
        z-index: 5;
    }

    .info-card--access .info-card__title {
        font-size: 0.9375rem;
        margin-bottom: 12px;
    }

    .info-card--access .info-card__address {
        font-size: 0.8125rem;
        margin-bottom: 8px;
    }

    .info-card--access .info-card__transport {
        font-size: 0.8125rem;
    }

    /* イントロカード */
    .intro-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .intro-card {
        padding: 32px 28px;
    }

    /* 特徴カード */
    .feature-block__visual {
        max-width: 500px;
        /* padding: 16px; */
    }

    .feature-block__content {
        padding: 0 8px;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card-v2 {
        padding: 14px 12px 28px 24px;
    }

    /* クリニックガイド */
    .clinic-guide__gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item--large {
        grid-row: span 1;
        grid-column: span 2;
    }

    .access-reservation__grid {
        grid-template-columns: 1fr;
    }

    .footer__main {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__right {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
        --container-padding: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .floating-shape {
        display: none;
    }

    /* 病気一覧を1列に */
    .diseases__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Reduce reveal animation offset to prevent overflow clipping */
    .reveal.reveal-left {
        transform: translateX(0px);
    }

    .reveal.reveal-right {
        transform: translateX(0px);
    }

    /* Hide decorative yellow accents on mobile */
    .overview__image-stack::after,
    .feature-block__visual::after,
    .message__image-dots,
    .clinic-guide__gallery::before,
    .gastroscopy-features__image-wrap::after,
    .cta-box::before {
        display: none;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header__title {
        font-size: 1.5rem;
    }

    /* ヒーロー — 100vh内に全要素を収める */
    .hero__content {
        padding-top: 80px;
        padding-bottom: 28px;
        gap: 20px;
    }

    .hero__main {
        text-align: center;
    }

    .hero__label {
        justify-content: center;
        margin-bottom: 16px;
    }

    .hero__title {
        margin-bottom: 12px;
    }

    .hero__subtitle {
        margin-bottom: 20px;
    }

    .hero__features {
        justify-content: center;
        margin-bottom: 24px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero__cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-tag {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .hero-tag--compact {
        padding: 4px 12px;
        font-size: 0.75rem;
    }

    .hero__doctor-card {
        padding: 18px 22px;
        gap: 16px;
    }

    .hero__doctor-image {
        width: 72px;
        height: 72px;
    }

    .hero__doctor-badge {
        font-size: 0.75rem;
        padding: 4px 11px;
        margin-bottom: 6px;
    }

    .hero__doctor-name {
        font-size: 1.125rem;
    }

    /* コンセプト */
    .concept__content {
        padding: 28px 16px;
    }

    .concept__quote-mark {
        font-size: 3rem;
    }

    /* 概要 */
    .overview__image-stack {
        padding: 20px 15px 40px 20px;
        max-width: 100%;
    }

    .overview__image--main {
        aspect-ratio: 4/3;
        min-height: 220px;
    }

    .overview__image--sub {
        width: 35%;
        /* max-width: 140px; */
        bottom: 10px;
        left: 0;
    }

    .overview__frame {
        top: 8px;
        left: 8px;
        right: 20px;
        bottom: 50px;
        border-width: 2px;
    }

    /* アクセスカード - 768px */
    .overview__info {
        padding-bottom: 50px;
    }

    .info-card:first-child {
        padding-bottom: 70px;
    }

    .info-card--access {
        width: 240px;
        right: 24px;
        bottom: 8px;
        padding: 16px 20px;
    }

    .info-card {
        padding: 24px 20px;
    }

    .disease-item {
        padding: 16px;
    }

    /* 特徴 - フレームは transform のみで意図的にオフセット */
    .feature-block__frame {
        transform: translate(10px, 10px);
    }

    .feature-block--reverse .feature-block__frame {
        transform: translate(-10px, 10px);
    }

    .gastroscopy-features__image-accent {
        transform: translate(10px, 10px);
    }

    .feature-block__number {
        top: -14px;
        left: -10px;
    }

    .feature-block--reverse .feature-block__number {
        left: auto;
        right: -10px;
    }

    .feature-block__number span {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .feature-block__number-bg {
        width: 48px;
        height: 48px;
        top: 6px;
        left: 6px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card-v2 {
        padding: 24px 20px;
    }

    /* FAQ */
    .faq-item__answer-inner {
        padding-left: 24px;
    }

    /* 院長メッセージ - フレームは画像の背面にクリーンに配置 */
    .message__image-wrap {
        max-width: 280px;
    }

    .message__image-accent {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    .message__name {
        font-size: 1.5rem;
    }

    .message__name span {
        display: block;
        margin-left: 0;
        margin-top: 8px;
    }

    /* クリニックガイド */
    .clinic-guide__gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-item--large {
        grid-column: span 1;
    }

    .clinic-guide__info {
        padding: 28px 20px;
    }

    /* アクセス・予約 */
    .map-frame {
        height: 300px;
    }

    .cta-box {
        padding: 32px 24px;
    }

    /* フッター */
    .footer {
        padding: 40px 0 28px;
    }

    .footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer__info {
        gap: 14px;
    }

    .footer__right {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer__nav-heading,
    .footer__hours-heading {
        margin-bottom: 10px;
    }

    .footer__tel {
        font-size: 1rem;
    }

    .footer__bottom {
        padding-top: 20px;
    }
}

/* Short screens (iPhone SE, etc.) — ドクターカードは後のセクションで紹介されるため非表示 */
@media (max-height: 680px) and (max-width: 768px) {
    .hero__doctor-card {
        display: none;
    }

    .hero__doctor-accent,
    .hero__doctor-card::after {
        display: none;
    }

    .hero__content {
        gap: 0;
    }
}

/* Small tablets / large phones */
@media (max-width: 600px) {
    .intro-card {
        padding: 32px 24px;
    }

    .intro-card__number {
        font-size: 2rem;
    }

    .gastroscopy-features__details,
    .colonoscopy-features__info {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .hero__subtitle {
        font-size: 0.9375rem;
    }

    .hero__doctor-card {
        padding: 16px 20px;
        gap: 14px;
    }

    .hero__doctor-image {
        width: 64px;
        height: 64px;
    }

    .hero__doctor-badge {
        font-size: 0.75rem;
    }

    .hero__doctor-name {
        font-size: 1.0625rem;
    }

    .hero-tag {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .hero-tag--compact {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .hero__features {
        gap: 6px;
        margin-bottom: 20px;
    }

    .hero__content {
        padding-top: 72px;
        padding-bottom: 20px;
        gap: 16px;
    }

    .hero__label {
        margin-bottom: 12px;
    }

    .hero__subtitle {
        margin-bottom: 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header__title {
        font-size: 1.5rem;
    }

    .section-header__label {
        font-size: 0.75rem;
    }

    /* 概要 - モバイル最適化 */
    .overview__image-stack {
        padding: 0 0 48px 0;
    }

    .overview__image--main {
        min-height: 180px;
    }

    .overview__image--sub {
        width: 35%;
        /* max-width: 120px; */
        left: 16px;
        bottom: 0;
        border-width: 3px;
    }

    .overview__frame {
        display: none;
    }

    /* アクセスカード - 480px：重ねを解除して縦並びに */
    .overview__info {
        padding-bottom: 0;
    }

    .info-card:first-child {
        padding-bottom: 24px;
    }

    .info-card--access {
        position: static;
        width: 100%;
        box-shadow: none;
        background: var(--color-bg-cool);
        padding: 20px;
    }

    .feature-block__frame {
        transform: translate(8px, 8px);
    }

    .feature-block--reverse .feature-block__frame {
        transform: translate(-8px, 8px);
    }

    .gastroscopy-features__image-accent {
        transform: translate(8px, 8px);
    }

    .feature-block__number {
        top: -10px;
        left: -8px;
    }

    .feature-block--reverse .feature-block__number {
        left: auto;
        right: -8px;
    }

    .feature-block__number span {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .feature-block__number-bg {
        width: 48px;
        height: 48px;
    }

    .feature-block__title {
        font-size: 1.25rem;
    }

    .feature-block__text {
        font-size: 0.875rem;
    }

    .intro-card {
        padding: 28px 20px;
    }

    .intro-card__title {
        font-size: 1.125rem;
    }

    .disease-item {
        padding: 16px;
        gap: 12px;
    }

    .disease-item__icon {
        width: 32px;
        height: 32px;
    }

    .clinic-dl__item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .message__name {
        font-size: 1.5rem;
    }

    .gastroscopy-feature-item__content h3,
    .colonoscopy-feature-block__title {
        font-size: 1.125rem;
    }

    /* フッター */
    .footer__main {
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer__info {
        gap: 12px;
    }

    .footer__tagline {
        margin-top: 4px;
    }

    .footer__right {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer__nav-heading,
    .footer__hours-heading {
        margin-bottom: 8px;
    }

    .footer__nav-list {
        gap: 0px;
    }

    .footer__bottom {
        padding-top: 18px;
    }
}

/* ========== GASTROSCOPY FEATURES ========== */
.gastroscopy-features {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.gastroscopy-features__bg {
    position: absolute;
    inset: 0;
}

.gastroscopy-features__texture {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        var(--color-subtle) 1.5px,
        transparent 1.5px
    );
    background-size: 28px 28px;
    opacity: 0.1;
}

.gastroscopy-features__content {
    position: relative;
    z-index: 2;
}

.gastroscopy-features__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 48px;
}

.gastroscopy-features__image-wrap {
    position: relative;
    /* padding: 12px; */
    max-width: 520px;
}

.gastroscopy-features__image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 2;
}

.gastroscopy-features__image-accent {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    z-index: 1;
    transform: translate(12px, 12px);
}

.gastroscopy-features__image-wrap::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--color-accent-yellow);
    bottom: -25px;
    right: -35px;
    z-index: -1;
}

.gastroscopy-features__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 3;
}

.gastroscopy-feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.gastroscopy-feature-item__number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.gastroscopy-feature-item__content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.gastroscopy-feature-item__content p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

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

.gastroscopy-detail-card {
    background: var(--color-white);
    padding: 28px;
    position: relative;
    overflow: hidden;
    /* 左ライン廃止：タイトル下線で区切る */
}

.gastroscopy-detail-card::before {
    display: none;
}

.gastroscopy-detail-card h4 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(118, 150, 161, 0.25);
}

.gastroscopy-detail-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    z-index: 10;
    position: relative;
}

/* ========== COLONOSCOPY FEATURES ========== */
.colonoscopy-features {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.colonoscopy-features__bg {
    position: absolute;
    inset: 0;
}

.colonoscopy-features__gradient {
    position: absolute;
    inset: 0;
    background: var(--color-bg-warm);
}

.colonoscopy-features__content {
    position: relative;
    z-index: 2;
}

.colonoscopy-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.colonoscopy-feature-block {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-base);
}

.colonoscopy-feature-block:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.colonoscopy-feature-block--accent {
    background: var(--gradient-cta);
    color: var(--color-white);
}

.colonoscopy-feature-block__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 14px;
    background: var(--color-accent-text);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.colonoscopy-feature-block__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-accent);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50%;
    margin-bottom: 20px;
}

.colonoscopy-feature-block__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    line-height: 1.5;
    margin-bottom: 16px;
}

.colonoscopy-feature-block__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

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

.colonoscopy-info-box {
    background: var(--color-white);
    padding: 28px;
    position: relative;
    overflow: hidden;
    /* 左ライン廃止 */
}

.colonoscopy-info-box::before {
    display: none;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--color-bg-cool);
    opacity: 0.6;
    border-radius: 50%;
}

.colonoscopy-info-box h4 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(118, 150, 161, 0.25);
}

.colonoscopy-info-box ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.colonoscopy-info-box li {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    padding-left: 20px;
    position: relative;
}

.colonoscopy-info-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background: var(--color-accent);
}

/* ========== PARTNER HOSPITALS ========== */
.partner-hospitals {
    position: relative;
    padding: 80px 0;
    background: var(--color-bg-warm);
    overflow: hidden;
}

.partner-hospitals__bg {
    position: absolute;
    inset: 0;
}

.partner-hospitals__texture {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 25px,
        var(--color-subtle) 25px,
        var(--color-subtle) 26px
    );
    opacity: 0.07;
}

.partner-hospitals__accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--color-accent-yellow);
    opacity: 0.15;
    border-radius: 50%;
    top: 20px;
    right: -40px;
}

/* --- 左右分割レイアウト --- */
.partner-hospitals__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* --- 左カラム: タイトル＋装飾ブロック --- */
.partner-hospitals__left {
    position: sticky;
    top: 120px;
}

.partner-hospitals__label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.partner-hospitals__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.4;
    margin-bottom: 16px;
}

.partner-hospitals__desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* 装飾ブロック - タイトル下の有機的なアクセント */
.partner-hospitals__block {
    width: 48px;
    height: 3px;
    background: var(--color-accent-yellow);
    opacity: 0.7;
    margin-top: 24px;
}

/* --- 右カラム: 暖簾帯リスト --- */
.partner-hospitals__right {
    position: relative;
}

.partner-hospitals__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- 各帯カード --- */
.partner-hospital-card {
    position: relative;
    background: var(--color-bg-cool);
    padding: 24px 36px;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease;
}

.partner-hospital-card__area {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.partner-hospital-card__name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.5;
}

/* ========== RESPONSIVE - NEW SECTIONS ========== */

/* 1100px - 早期調整開始 */
@media (max-width: 1100px) {
    .gastroscopy-features__main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gastroscopy-features__image-wrap {
        max-width: 520px;
        margin: 0 auto;
    }

    .gastroscopy-features__image {
        height: 320px;
    }

    .colonoscopy-features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .gastroscopy-features__details {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gastroscopy-detail-card {
        padding: 24px 20px;
    }

    .colonoscopy-features__info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .colonoscopy-info-box {
        padding: 24px 20px;
    }

    .partner-hospital-card {
        padding: 20px 28px;
    }

    .partner-hospitals__layout {
        grid-template-columns: 220px 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .gastroscopy-features__details {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gastroscopy-feature-item {
        flex-direction: column;
        gap: 12px;
    }

    .gastroscopy-feature-item__number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .gastroscopy-feature-item__content h3 {
        font-size: 1.125rem;
    }

    .gastroscopy-features__info {
        gap: 24px;
    }

    .gastroscopy-detail-card {
        padding: 20px 16px;
    }

    .colonoscopy-features__info {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .colonoscopy-feature-block {
        padding: 28px 20px;
    }

    .colonoscopy-feature-block__badge {
        top: -10px;
        right: auto;
        left: 20px;
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .colonoscopy-feature-block__title {
        font-size: 1.125rem;
    }

    .colonoscopy-info-box {
        padding: 20px 16px;
    }

    .partner-hospitals__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .partner-hospitals__left {
        position: static;
        display: block;
    }
    .partner-hospitals__block {
        display: none;
    }
    .partner-hospitals__desc {
        margin-bottom: 0;
    }
    .partner-hospital-card {
        padding: 20px 24px;
    }
    .partner-hospital-card__name {
        font-size: 0.9375rem;
    }
    .partner-hospitals__accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .partner-hospital-card {
        padding: 18px 20px;
    }

    .gastroscopy-detail-card,
    .colonoscopy-info-box {
        padding: 20px;
    }
}

/* ========== DESIGN REFINEMENT ========== */
/* シンプルで統一感のある、有機的なデザイン */

/* ----- 角を四角に ----- */
.info-card,
.intro-card,
.feature-card-v2,
.faq-item,
.faq-item[open],
.cta-box,
.clinic-guide__info,
.hero__doctor-card,
.concept__content,
.gastroscopy-detail-card,
.gastroscopy-features__info,
.colonoscopy-feature-block,
.colonoscopy-info-box,
.partner-hospital-card,
.reservation-cta__content,
.disease-item,
.hero__image,
.info-card__accent,
.faq-item summary {
    border-radius: 0;
}

/* ----- 画像とフレームに統一した角丸を適用 ----- */
.overview__image,
.feature-block__image,
.message__image,
.gallery-item,
.gallery-item__image,
.gastroscopy-features__image {
    border-radius: 12px;
}

.overview__frame,
.feature-block__frame,
.message__image-accent,
.gastroscopy-features__image-accent {
    border-radius: 12px;
}

.map-frame {
    border-radius: 12px;
}

/* ----- シンプルなカードスタイル ----- */
/* 影を削除、シンプルな背景のみ */
.info-card {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.intro-card {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.intro-card:hover {
    box-shadow: none;
    transform: none;
    background: var(--color-bg-deep);
}

.feature-card-v2 {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.feature-card-v2:hover {
    box-shadow: none;
    transform: none;
    background: var(--color-bg-deep);
}

.disease-item {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.faq-item {
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--color-bg-deep);
    background: var(--color-bg-cool);
}

.faq-item[open] {
    box-shadow: none;
    background: var(--color-bg-cool);
}

/* ----- 画像：影なし、自然な見た目 ----- */
.overview__image,
.feature-block__image,
.message__image,
.gastroscopy-features__image,
.gallery-item__image {
    box-shadow: none;
    border: none;
}

/* ----- 重要な要素のみ影を維持 ----- */
.hero__doctor-card {
    box-shadow: var(--shadow-md);
}

.cta-box {
    box-shadow: none;
    background: var(--color-bg-cool);
}

/* ----- セクションカード ----- */
.gastroscopy-detail-card {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.colonoscopy-feature-block {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.colonoscopy-feature-block:hover {
    box-shadow: none;
    transform: none;
}

.colonoscopy-feature-block--accent {
    border: none;
}

.colonoscopy-info-box {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.clinic-guide__info {
    box-shadow: none;
    border: none;
    background: var(--color-bg-cool);
}

.concept__content {
    box-shadow: none;
    border: none;
}

.reservation-cta__content {
    box-shadow: none;
}

/* ----- info-cardのアクセントバーを非表示 ----- */
.info-card__accent {
    display: none;
}

/* ----- 装飾フレームをより繊細に ----- */
.overview__frame,
.feature-block__frame,
.message__image-accent,
.gastroscopy-features__image-accent {
    border-width: 2px;
    opacity: 0.7;
}

/* ----- セクション背景でリズムを作る ----- */
/* 各セクションの背景色を活かし、カードは白背景で統一 */

/* ----- ホバー効果を控えめに ----- */
.intro-card,
.feature-card-v2,
.disease-item,
.colonoscopy-feature-block {
    transition: background-color 0.2s ease;
}

/* ----- タイポグラフィでリズムを出す ----- */
.section-header__title .text-accent {
    font-weight: 400;
}

/* ----- 数字バッジの背景をより控えめに ----- */
.feature-block__number-bg {
    opacity: 0.5;
}

