/*
Theme Name: Bliss Kawasaki
Theme URI: https://kawasaki.bliss-pc.com/
Description: 川崎エルムペットクリニック 専用テーマ。静的デザインをWordPress化したもの。外科・再生医療・読みやすさ重視。
Author: Bliss / Claude Code
Version: 1.0.0
Text Domain: bliss-kawasaki
*/
    /* ===========================================================
       川崎エルムペットクリニック ─ 読みやすさ最優先 / 外科を主役に
       設計方針：白基調・大きめ文字・高コントラスト（50代以降配慮）
       =========================================================== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
        /* 白基調・高コントラスト配色 */
        --paper:      #ffffff;   /* ベース：白 */
        --paper-deep: #f2f6f8;   /* 交互セクションの淡い水色グレー */
        --paper-warm: #faf8f3;   /* 温かみのある淡色 */
        --ink:        #15212c;   /* 見出し：濃紺に近い墨 */
        --ink-soft:   #333d47;   /* 本文：濃いスレート（しっかり読める） */
        --ink-mute:   #5b6772;   /* キャプション：それでも読める灰 */
        --line:       #d6dde2;   /* 罫線 */
        --line-soft:  #e7ecef;   /* 淡い罫線 */
        --blue:       #2b7ea6;   /* メインアクセント（ブリス青） */
        --blue-deep:  #1b5e7e;   /* 濃青 */
        --teal:       #11808c;   /* 外科アクセント（クリニカルなティール） */
        --teal-soft:  #e6f2f3;   /* 外科セクションの淡い塗り */
        --terracotta: #c0563f;   /* 再生医療アクセント */
        --terracotta-soft:#f7ece8;
        --moss:       #5d7a4d;   /* 症例タグ */
        --gold:       #b58a4a;   /* 歯科アクセント */
    }

    html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }

    body {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        font-size: 17px;            /* 国立15px → 17px に拡大 */
        line-height: 1.95;
        color: var(--ink-soft);      /* 濃いスレートで滲まない */
        background-color: var(--paper);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        overflow-x: clip;
    }
    @media (min-width: 768px) { body { font-size: 18px; } }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
    ul { list-style: none; }

    .mincho   { font-family: 'Shippori Mincho', serif; }
    .serif-en { font-family: 'Cormorant Garamond', serif; font-style: italic; letter-spacing: .02em; }

    .container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
    .container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

    /* セクション共通の見出し */
    .sec-head { margin-bottom: 44px; }
    .sec-en {
        display: block;
        font-family: 'Cormorant Garamond', serif; font-style: italic;
        color: var(--blue); font-size: 21px; letter-spacing: .04em; margin-bottom: 6px;
    }
    .sec-ja {
        font-family: 'Shippori Mincho', serif; font-weight: 600;
        color: var(--ink); font-size: clamp(27px, 5vw, 40px);
        line-height: 1.35; letter-spacing: .02em;
    }
    .sec-lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.0625rem; max-width: 760px; }

    /* スクロール表示（控えめ・短め＝高齢者にもうるさくない） */
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
    .reveal.visible { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) {
        .reveal { opacity: 1 !important; transform: none !important; transition: none; }
    }

    /* 共通CTA */
    .cta {
        display: inline-flex; align-items: center; gap: 14px;
        padding: 16px 26px; border: 1.5px solid var(--ink); border-radius: 2px;
        font-weight: 700; font-size: 1rem; color: var(--ink);
        background: var(--paper); transition: background .25s ease, color .25s ease;
        width: max-content;
    }
    .cta .arrow { transition: transform .25s ease; }
    .cta:hover { background: var(--ink); color: #fff; }
    .cta:hover .arrow { transform: translateX(5px); }
    .cta-primary { border-color: var(--teal); color: #fff; background: var(--teal); }
    .cta-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
    .cta-regen { border-color: var(--terracotta); color: #fff; background: var(--terracotta); }
    .cta-regen:hover { background: #9f4633; border-color: #9f4633; }

    /* 要確認プレースホルダーの可視マーカー */
    .todo { background: #fff6d6; outline: 2px dashed #d9a300; padding: 2px 6px; border-radius: 3px; font-style: normal; }

    /* ===========================  HEADER  =========================== */
    .site-header {
        position: sticky; top: 0; z-index: 100;
        background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line);
    }
    .header-inner { max-width: 1280px; margin: 0 auto; padding: 12px 24px;
        display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .logo-mark { display: flex; flex-direction: column; line-height: 1.25; }
    .logo-mark .name { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: .04em; }
    .logo-mark .en { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: .8rem; color: var(--blue); letter-spacing: .06em; }

    .nav { display: flex; align-items: center; gap: 26px; }
    .nav-list { display: flex; gap: 22px; }
    .nav-list a { font-size: .95rem; font-weight: 500; color: var(--ink); display: flex; align-items: baseline; gap: 5px; }
    .nav-list a:hover { color: var(--blue); }
    .nav-list .num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: .8rem; color: var(--blue); }
    .header-reserve {
        display: inline-flex; align-items: center; gap: 9px;
        background: var(--teal); color: #fff; font-weight: 700; font-size: .95rem;
        padding: 11px 20px; border-radius: 3px; white-space: nowrap;
    }
    .header-reserve:hover { background: var(--blue-deep); }
    .menu-toggle { display: none; width: 42px; height: 42px; position: relative; }
    .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
        content: ''; position: absolute; left: 9px; width: 24px; height: 2px; background: var(--ink); transition: .3s; }
    .menu-toggle span { top: 20px; }
    .menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
    .menu-toggle.open span { background: transparent; }
    .menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
    .menu-toggle.open span::after { top: 0; transform: rotate(-45deg); }

    @media (max-width: 980px) {
        .menu-toggle { display: block; }
        .nav { position: fixed; inset: 60px 0 auto 0; flex-direction: column; gap: 0;
            background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0 22px;
            transform: translateY(-130%); transition: transform .35s ease; box-shadow: 0 18px 30px rgba(0,0,0,.08); }
        .nav.open { transform: none; }
        .nav-list { flex-direction: column; gap: 0; width: 100%; }
        .nav-list li { width: 100%; border-bottom: 1px solid var(--line-soft); }
        .nav-list a { padding: 15px 28px; font-size: 1.05rem; }
        .header-reserve { margin: 14px 28px 0; }
    }

    /* ===========================  HERO  =========================== */
    .hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end;
        color: #fff; overflow: hidden; }
    .hero-bg { position: absolute; inset: 0; z-index: 0;
        background: url('https://images.unsplash.com/photo-1623387641168-d9803ddd3f35?auto=format&fit=crop&w=2400&q=80') center/cover no-repeat; }
    .hero-bg::after { content: ''; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(10,28,40,.30) 0%, rgba(10,28,40,.20) 40%, rgba(10,28,40,.72) 100%); }
    .hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px 64px; }
    .hero-tag { display: inline-block; font-family: 'Cormorant Garamond', serif; font-style: italic;
        font-size: 1.2rem; letter-spacing: .05em; margin-bottom: 16px; opacity: .95; }
    .hero-title { font-family: 'Shippori Mincho', serif; font-weight: 700;
        font-size: clamp(30px, 6vw, 56px); line-height: 1.45; letter-spacing: .02em;
        text-shadow: 0 2px 18px rgba(0,0,0,.35); }
    .hero-sub { margin-top: 22px; font-size: 1.0625rem; font-weight: 500; line-height: 1.9;
        max-width: 600px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
    .hero-strength { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 30px; }
    .hero-strength span { position: relative; padding: 0 20px; font-size: 1rem; font-weight: 600; letter-spacing: .08em; }
    .hero-strength span:first-child { padding-left: 0; }
    .hero-strength span + span::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 15px; background: rgba(255,255,255,.55); }
    .hero-foot { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 1;
        display: flex; justify-content: space-between; padding: 0 28px; font-size: .78rem; letter-spacing: .08em; opacity: .85; }

    /* ===========================  HOURS BAR  =========================== */
    .hours-bar { background: var(--ink); color: #fff; }
    .hours-bar-inner { max-width: 1180px; margin: 0 auto; padding: 18px 28px;
        display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
    .hours-bar .lab { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #8fd0dd; font-size: 1.15rem; margin-right: 4px; }
    .hours-bar .lab b { font-family: 'Shippori Mincho', serif; font-style: normal; color: #fff; font-weight: 600; margin-left: 10px; font-size: 1rem; }
    .hours-bar .times { font-size: 1.05rem; font-weight: 700; letter-spacing: .03em; }
    .hours-bar .tag { font-size: .98rem; font-weight: 600; letter-spacing: .04em; }
    .hours-bar .tag.accent { color: #7fd3df; }

    /* ===========================  QUICK NAV  =========================== */
    .quick-nav { border-bottom: 1px solid var(--line); }
    .quick-nav-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); }
    .quick-nav-item { display: flex; flex-direction: column; gap: 8px; padding: 30px 22px;
        border-left: 1px solid var(--line); position: relative; min-height: 132px; justify-content: center; }
    .quick-nav-item:last-child { border-right: 1px solid var(--line); }
    .quick-nav-item .no { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--blue); font-size: 1rem; }
    .quick-nav-item .ja { font-family: 'Shippori Mincho', serif; font-weight: 600; color: var(--ink); font-size: 1.12rem; }
    .quick-nav-item .en { font-size: .72rem; color: var(--ink-mute); letter-spacing: .05em; }
    .quick-nav-item .arrow { position: absolute; right: 18px; bottom: 16px; color: var(--blue); opacity: 0; transition: .25s; }
    .quick-nav-item:hover { background: var(--paper-deep); }
    .quick-nav-item:hover .arrow { opacity: 1; transform: translateX(4px); }
    @media (max-width: 860px) {
        .quick-nav-grid { grid-template-columns: repeat(2, 1fr); }
        .quick-nav-item { border-top: 1px solid var(--line); min-height: 108px; }
        .quick-nav-item:nth-child(odd) { border-left: none; }
        .quick-nav-item:last-child { border-right: none; }
    }

    /* ===========================  NEWS（コンパクト）  =========================== */
    .news { padding: 48px 0; }
    .news .sec-head { margin-bottom: 22px; }
    .news .sec-en { font-size: 1rem; margin-bottom: 2px; }
    .news .sec-ja { font-size: 1.6rem; }
    .news-list { border-top: 1px solid var(--line); }
    .news-item { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap;
        padding: 14px 6px; border-bottom: 1px solid var(--line); }
    .news-item:hover { background: var(--paper-deep); }
    .news-item .date { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--ink-mute); font-size: 1.05rem; min-width: 96px; }
    .news-cat { font-size: .8rem; font-weight: 700; color: #fff; background: var(--blue); padding: 3px 12px; border-radius: 3px; margin-right: 14px; }
    .news-cat.notice { background: var(--blue); }
    .news-cat.case { background: var(--moss); }
    .news-title-text { color: var(--ink); font-weight: 500; }
    .news-empty { color: var(--ink-mute); padding: 22px 6px; border-bottom: 1px solid var(--line); }
    .news-cta-wrap { margin-top: 22px; }
    .news-cta-wrap .cta { padding: 12px 22px; font-size: .95rem; }

    /* ===========================  SURGERY（外科：主役）  =========================== */
    .surgery { padding: 96px 0; position: relative; }
    .surgery-band { position: absolute; inset: 0 0 auto 0; height: 360px; background: var(--teal-soft); z-index: 0; }
    .surgery .container { position: relative; z-index: 1; }
    .surgery-flag { display: inline-block; color: var(--teal); font-weight: 700; font-size: .92rem; letter-spacing: .16em;
        padding-bottom: 10px; border-bottom: 2px solid var(--teal); margin-bottom: 24px; }
    .surgery-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; margin-bottom: 64px; }
    .surgery-hero-photo { border-radius: 4px; overflow: hidden; box-shadow: 0 24px 50px rgba(17,128,140,.18); }
    .surgery-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
    .surgery-title { font-family: 'Shippori Mincho', serif; font-weight: 700; color: var(--ink);
        font-size: clamp(26px, 4.4vw, 40px); line-height: 1.5; margin-bottom: 22px; word-break: keep-all; line-break: strict; }
    .surgery-title .accent { color: var(--teal); }
    .surgery-lead { font-size: 1.08rem; color: var(--ink-soft); line-height: 2; }
    .surgery-cert { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
    .surgery-cert span { border: 1px solid var(--teal); color: var(--teal); border-radius: 3px;
        padding: 8px 16px; font-size: .9rem; font-weight: 700; }

    .surgery-menu-head { text-align: center; margin-bottom: 40px; }
    .surgery-menu-head .en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--teal); font-size: 1.2rem; }
    .surgery-menu-head h3 { font-family: 'Shippori Mincho', serif; font-weight: 600; color: var(--ink); font-size: clamp(22px,4vw,32px); margin-top: 4px; }
    .surgery-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .surgery-card { border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 3px; padding: 30px 26px; background: #fff; }
    .surgery-card .no { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--teal); font-size: 1.1rem; }
    .surgery-card h4 { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 1.3rem; color: var(--ink); margin: 6px 0 12px; }
    .surgery-card p { font-size: .98rem; color: var(--ink-soft); line-height: 1.85; }
    @media (max-width: 880px) { .surgery-hero { grid-template-columns: 1fr; gap: 34px; } .surgery-menu { grid-template-columns: 1fr; } }

    /* 歯科サブブロック */
    .dental { margin-top: 70px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
        border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
    .dental-photo { min-height: 320px; background: url('images/dental-care.png') center/cover; }
    .dental-text { padding: 44px 40px; }
    .dental-text .en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); font-size: 1.15rem; }
    .dental-text h3 { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: clamp(22px,4vw,30px); color: var(--ink); margin: 4px 0 16px; }
    .dental-text p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.95; }
    @media (max-width: 880px) { .dental { grid-template-columns: 1fr; } .dental-photo { min-height: 240px; order: -1; } }

    /* ===========================  CONCERNS → REGEN（エクソソーム）  =========================== */
    .concerns { padding: 90px 0; background: var(--paper-warm); }
    .concerns-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 34px; margin-top: 40px; }
    .concern { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 3px; }
    .concern .check { flex: 0 0 20px; width: 20px; height: 22px; position: relative; margin-top: 4px; }
    .concern .check::after { content: ''; position: absolute; left: 5px; top: 1px; width: 8px; height: 14px;
        border: solid var(--terracotta); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
    .concern p { font-size: 1.02rem; color: var(--ink-soft); }
    .concern .em { color: var(--terracotta); font-weight: 700; }
    .concerns-bridge { text-align: center; margin-top: 46px; }
    .concerns-bridge .arr { font-family: 'Shippori Mincho', serif; color: var(--terracotta); font-weight: 600; font-size: 1.15rem; }
    .concerns-bridge p { font-family: 'Shippori Mincho', serif; font-size: clamp(22px,4.5vw,33px); color: var(--ink); margin-top: 12px; line-height: 1.6; }
    .concerns-bridge strong { color: var(--terracotta); border-bottom: 3px solid var(--terracotta); padding-bottom: 2px; }
    .concerns-bridge .down { display: block; margin: 28px auto 0; width: 1px; height: 48px; background: linear-gradient(var(--terracotta), transparent); }
    @media (max-width: 700px) { .concerns-grid { grid-template-columns: 1fr; } }

    .regen { padding: 86px 0 96px; background: var(--ink); color: #e9eef1; position: relative; border-top: 4px solid var(--terracotta); overflow: hidden; }
    .regen::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 240px; background: radial-gradient(120% 100% at 22% 0%, rgba(192,86,63,.30), transparent 62%); pointer-events: none; }
    .regen .container { position: relative; z-index: 1; }
    .regen .sec-en { color: #e89c87; }
    .regen .sec-ja { color: #fff; }
    .regen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
    .regen-label { display: inline-block; font-family: 'Cormorant Garamond', serif; font-style: italic; color: #f0b6a4; font-size: 1.2rem; letter-spacing: .06em; padding-bottom: 10px; border-bottom: 2px solid #e89c87; }
    .regen-topic { display: block; margin: 18px 0 24px; }
    .regen-topic .ja-main { display: block; font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: clamp(28px,5.2vw,46px); color: #fff; line-height: 1.4; }
    .regen-topic .sub { display: block; font-size: .82rem; letter-spacing: .12em; color: #9fb0ba; margin-top: 8px; }
    .regen-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(22px,3.8vw,33px); line-height: 1.65; color: #fff; margin-bottom: 22px; }
    .regen-title .accent { color: #e89c87; }
    .regen-desc { font-size: 1.05rem; line-height: 2.05; color: #cdd6db; }
    .regen-list { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
    .regen-item { display: flex; gap: 18px; }
    .regen-item .no { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #e89c87; font-size: 1.5rem; flex: 0 0 auto; }
    .regen-item h4 { font-family: 'Shippori Mincho', serif; font-weight: 600; color: #fff; font-size: 1.18rem; margin-bottom: 6px; }
    .regen-item p { font-size: .98rem; color: #c2cdd3; line-height: 1.85; }
    .regen-cta-wrap { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
    @media (max-width: 880px) { .regen-grid { grid-template-columns: 1fr; gap: 38px; } }

    /* 適応疾患グリッド */
    .regen-conditions { margin-top: 70px; }
    .regen-conditions h3 { font-family: 'Shippori Mincho', serif; font-weight: 600; color: #fff; font-size: clamp(20px,4vw,28px); text-align: center; }
    .regen-conditions .lead { text-align: center; color: #aebac1; margin: 12px 0 36px; font-size: 1rem; }
    .conditions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .condition { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 4px;
        padding: 26px 16px; text-align: center; position: relative; }
    .condition::before { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
        width: 28px; height: 2px; background: #e89c87; }
    .condition .name { font-family: 'Shippori Mincho', serif; font-weight: 600; color: #fff; font-size: 1.12rem; }
    .condition .en { font-size: .72rem; color: #9fb0ba; margin-top: 5px; letter-spacing: .04em; }
    @media (max-width: 820px) { .conditions-grid { grid-template-columns: repeat(2, 1fr); } }

    /* ===========================  DOCTOR  =========================== */
    .doctor { padding: 96px 0; }
    .doctor-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
    .doctor-photo { aspect-ratio: 3/4; background: var(--paper-deep) center/cover; border-radius: 4px;
        display: flex; align-items: center; justify-content: center; color: var(--ink-mute); border: 1px solid var(--line); }
    .doctor-en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--blue); font-size: 1.2rem; }
    .doctor-name-row { display: flex; align-items: baseline; gap: 18px; margin: 6px 0 4px; }
    .doctor-name { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(28px,5vw,42px); color: var(--ink); }
    .doctor-role { font-size: .8rem; letter-spacing: .12em; color: var(--ink-mute); }
    .doctor-essay { margin-top: 26px; }
    .doctor-essay p { margin-bottom: 18px; font-size: 1.05rem; line-height: 2.05; color: var(--ink-soft); }
    .doctor-essay .lead { font-family: 'Shippori Mincho', serif; font-size: 1.2rem; color: var(--ink); }
    .doctor-profile { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 26px; }
    .doctor-profile .ttl { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--blue); font-size: 1.1rem; margin-bottom: 16px; }
    .doctor-profile li { display: flex; gap: 20px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 1rem; }
    .doctor-profile .year { font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: .82rem; color: var(--blue); min-width: 64px; letter-spacing: .04em; }
    @media (max-width: 820px) { .doctor-grid { grid-template-columns: 1fr; gap: 30px; } .doctor-photo { max-width: 360px; } }

    /* ===========================  GALLERY  =========================== */
    .gallery { padding: 90px 0 100px; background: var(--paper-deep); }
    .gallery-scroll-wrap { margin-top: 40px; }
    .gallery-scroll.dragging, .reviews-scroll.dragging { cursor: grabbing; }
    .gallery-scroll { display: flex; gap: 22px; overflow-x: auto; padding: 4px 28px 22px; scroll-snap-type: x mandatory; cursor: grab; }
    .gallery-scroll::-webkit-scrollbar { height: 6px; }
    .gallery-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
    .gallery-item { flex: 0 0 340px; scroll-snap-align: start; }
    .gallery-img { aspect-ratio: 4/3; border-radius: 4px; background: #cdd6da center/cover; }
    .gallery-title { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 1.1rem; color: var(--ink); margin-top: 14px; }
    .gallery-caption { font-size: .92rem; color: var(--ink-mute); margin-top: 3px; }
    .gallery-hint { max-width: 1180px; margin: 8px auto 0; padding: 0 28px; text-align: right; color: var(--ink-mute); font-family: 'Cormorant Garamond', serif; font-style: italic; }

    /* ===========================  TARGET  =========================== */
    .target { padding: 90px 0; }
    .target-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 36px auto 0; max-width: 720px; }
    .target-card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
    .target-img { aspect-ratio: 16/9; background: center/cover; }
    .target-card.dog .target-img { background-image: url('https://images.unsplash.com/photo-1587300003388-59208cc962cb?auto=format&fit=crop&w=900&q=80'); }
    .target-card.cat .target-img { background-image: url('https://images.unsplash.com/photo-1574158622682-e40e69881006?auto=format&fit=crop&w=900&q=80'); }
    .target-info { padding: 16px 22px; }
    .target-info .en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--blue); }
    .target-name { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 1.35rem; color: var(--ink); }
    .target-note { text-align: center; color: var(--ink-mute); margin-top: 24px; font-size: .95rem; }
    @media (max-width: 620px) { .target-grid { grid-template-columns: 1fr; } }

    /* ===========================  MISSION  =========================== */
    .mission { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
    .mission-photo { background: url('images/dog-cat.png') center/cover; min-height: 420px; }
    .mission-inner { background: var(--ink); color: #fff; padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
    .mission-label { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #8fd0dd; font-size: 1.2rem; }
    .mission-title { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: clamp(24px,4vw,34px); line-height: 1.6; margin: 14px 0 20px; }
    .mission-text { font-size: 1.05rem; line-height: 2.05; color: #cdd6db; }
    @media (max-width: 820px) { .mission { grid-template-columns: 1fr; } .mission-inner { padding: 52px 30px; } }

    /* ===========================  HOURS TABLE  =========================== */
    .hours { padding: 90px 0; background: var(--paper-deep); }
    .hours-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
    .hours-note { color: var(--ink-soft); margin-top: 18px; line-height: 2; }
    .hours-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
    .hours-table th, .hours-table td { border: 1px solid var(--line); padding: 14px 8px; text-align: center; font-size: 1rem; }
    .hours-table thead th { background: var(--ink); color: #fff; font-weight: 600; }
    .hours-table tbody th { background: var(--paper-deep); color: var(--ink); font-weight: 600; white-space: nowrap; }
    .hours-table .open { color: var(--teal); font-weight: 700; font-size: 1.15rem; }
    .hours-table .close { color: var(--ink-mute); }
    @media (max-width: 820px) { .hours-grid { grid-template-columns: 1fr; gap: 24px; } .hours-table th, .hours-table td { padding: 10px 4px; font-size: .85rem; } }

    /* ===========================  ACCESS  =========================== */
    .access { padding: 90px 0; }
    .access-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; margin-top: 40px; }
    .access-map { aspect-ratio: 16/11; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-deep); }
    .access-map iframe { width: 100%; height: 100%; border: 0; }
    .access-map-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-mute); }
    .access-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
    .access-row:first-child { border-top: 1px solid var(--line); }
    .access-row .lab { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--blue); font-size: 1rem; display: block; margin-bottom: 4px; }
    .access-row .val { color: var(--ink); font-size: 1.08rem; line-height: 1.7; }
    .access-row .val.tel { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: 1.5rem; }
    @media (max-width: 820px) { .access-grid { grid-template-columns: 1fr; } }

    /* ===========================  FOOTER  =========================== */
    .site-footer { background: var(--ink); color: #aeb9c0; padding: 64px 0 36px; }
    .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
    .footer-brand .name { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: 1.4rem; color: #fff; }
    .footer-brand .en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #8fd0dd; margin-top: 4px; }
    .footer-brand p { margin-top: 18px; font-size: .92rem; line-height: 1.9; }
    .footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; margin-bottom: 16px; }
    .footer-col a { display: block; padding: 6px 0; font-size: .95rem; color: #aeb9c0; }
    .footer-col a:hover { color: #fff; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px;
        display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
    .footer-bottom a { color: #aeb9c0; margin-left: 18px; }
    @media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

    /* セクション見出しの英字色（再生医療以外） */
    .section-pad { padding: 90px 0; }

    /* ===========================  CASES & BLOG（症例・獣医師ブログ）  =========================== */
    .cases { padding: 96px 0; }
    .cases-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 10px; }
    .cases-block-head { margin-bottom: 18px; }
    .cases-block-head .en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--blue); font-size: 1.05rem; }
    .cases-block-head h3 { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 1.5rem; color: var(--ink); margin-top: 2px; }
    .cases-list { border-top: 1px solid var(--line); }
    .cases-cta { margin-top: 22px; }
    @media (max-width: 760px) { .cases-row { grid-template-columns: 1fr; gap: 30px; } }

    /* ===========================  REVIEWS（口コミ）  =========================== */
    .reviews { padding: 90px 0; background: var(--paper-deep); }
    .reviews-scroll-wrap { margin-top: 40px; }
    .reviews-scroll { display: flex; gap: 22px; overflow-x: auto; padding: 4px 28px 22px; cursor: grab; }
    .reviews-scroll::-webkit-scrollbar { height: 6px; }
    .reviews-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
    .review-item { flex: 0 0 420px; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.05); }
    .review-item img { width: 100%; height: auto; display: block; }
    .review-item--ph { display: flex; align-items: center; justify-content: center; color: var(--ink-mute); min-height: 180px; border-style: dashed; padding: 28px; }
    @media (max-width: 600px) { .review-item { flex: 0 0 300px; } }

    /* ===========================  INSTAGRAM  =========================== */
    .instagram { padding: 90px 0; }
    .ig-feed { max-width: 1040px; margin: 0 auto; }
    .ig-feed:has(#sb_instagram), .ig-feed:has(.sbi_photo) { margin: 36px auto 0; } /* 実フィードがある時だけ余白 */
    #sbi_mod_error { display: none !important; } /* 連携前の管理者向けエラーを公開ページで非表示 */
    /* Smash Balloon を自前デザインに馴染ませる：独自ヘッダー・もっと見る/フォローを隠し、投稿グリッドのみ表示 */
    #sb_instagram { padding: 0 !important; background: transparent !important; }
    #sb_instagram .sb_instagram_header, #sb_instagram #sbi_load, #sb_instagram .sbi_load { display: none !important; }
    #sb_instagram #sbi_images .sbi_item:nth-child(n+9) { display: none !important; } /* トップは最新8件のみ表示 */
    .instagram .ig-card { margin-top: 30px; }
    .ig-card { margin: 28px auto 0; text-align: center; }
    .ig-follow { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 6px;
        background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%); color: #fff; font-weight: 700; font-size: 1rem; transition: opacity .25s ease; }
    .ig-follow:hover { opacity: .9; }
    .ig-ico { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
    .ig-ico svg { width: 22px; height: 22px; }
    .ig-follow .arrow { transition: transform .25s ease; }
    .ig-follow:hover .arrow { transform: translateX(4px); }

    /* ===========================  FLOATING BUTTONS（右下固定）  =========================== */
    .floating-buttons { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; flex-direction: column; gap: 10px; }
    .floating-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 4px;
        font-weight: 700; font-size: .92rem; box-shadow: 0 8px 22px rgba(0,0,0,.16); transition: transform .25s ease, box-shadow .25s ease; }
    .floating-btn:hover { transform: translateY(-2px); }
    .floating-btn .num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; }
    .floating-btn.tel { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
    .floating-btn.line { background: #22B94E; color: #fff; }
    .floating-btn.line img { width: 18px; height: 18px; }
    .floating-btn.reserve { background: var(--teal); color: #fff; position: relative; }
    .floating-btn.reserve::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--teal); opacity: 0; animation: fbPulse 2.6s ease-out infinite; pointer-events: none; }
    @keyframes fbPulse { 0% { opacity: .6; transform: scale(1); } 80%,100% { opacity: 0; transform: scale(1.22); } }
    @media (max-width: 600px) {
        .floating-buttons { right: 10px; bottom: 10px; gap: 8px; }
        .floating-btn { padding: 10px 14px; font-size: .8rem; }
        .floating-btn .num { font-size: .9rem; }
        .floating-btn.tel .num { display: none; }
    }

        /* === グループ病院（トップ用） ===*/
/* ---------- スタッフ：グループ病院 ---------- */
    .group-clinics{ background:var(--paper-deep); border-top:1px solid var(--line); padding:80px 0 90px; }
    .gc-head{ text-align:center; max-width:840px; margin:0 auto 48px; }
    .gc-head .en{ font-family:'Cormorant Garamond',serif; font-style:italic; color:var(--blue); font-size:1.3rem; }
    .gc-head h2{ font-family:'Shippori Mincho',serif; font-weight:700; color:var(--ink); font-size:clamp(24px,4.4vw,36px); margin:4px 0 16px; }
    .gc-head p{ color:var(--ink-soft); line-height:2; }
    .gc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
    .gc-card{ background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden; text-align:center; }
    .gc-card.is-current{ border:2px solid var(--teal); }
    .gc-photo{ aspect-ratio:1/1; background:var(--paper-deep) center/cover; }
    .gc-body{ padding:18px 16px 22px; }
    .gc-current-badge{ display:inline-block; font-size:.72rem; font-weight:700; color:#fff; background:var(--teal); padding:2px 10px; border-radius:3px; margin-bottom:8px; }
    .gc-clinic{ font-size:.86rem; color:var(--ink-mute); }
    .gc-name{ font-family:'Shippori Mincho',serif; font-weight:600; font-size:1.3rem; color:var(--ink); margin:4px 0 12px; }
    .gc-field{ display:inline-block; font-size:.85rem; font-weight:700; color:var(--teal); border:1px solid var(--teal); border-radius:3px; padding:4px 12px; }
    @media (max-width:820px){ .gc-grid{ grid-template-columns:repeat(2,1fr); } }
    @media (max-width:460px){ .gc-grid{ grid-template-columns:1fr; max-width:320px; margin:0 auto; } }
