
  :root {
    --brand-purple: #1B2A4A;
    --brand-pink: #A07E2C;
  }

  /* 数字（と区切り記号）だけを游ゴシックで描画するサブセット定義。
     対象: 半角/全角数字・カンマ・ハイフン・ピリオド・コロン・波ダッシュ・% */
  @font-face {
    font-family: "NumYu";
    src: local("Yu Gothic Medium"), local("YuGothic"), local("Yu Gothic"),
         local("游ゴシック体"), local("游ゴシック Medium"), local("游ゴシック");
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0025, U+002C-002E, U+003A, U+0030-0039, U+301C, U+FF0D, U+FF10-FF19, U+FF5E;
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: "NumYu", "Noto Sans JP", sans-serif;
    color: #2d2d2d;
    -webkit-font-smoothing: antialiased;
  }

  /* グラデーションアクセント */
  .gradient-text {
    background: linear-gradient(135deg, #C29B3C 0%, #8C6C24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .gradient-bg {
    background: linear-gradient(135deg, #28406B 0%, #16243F 100%);
  }

  /* ============================================
     ヒーロー背景:画像スライドショー
     ============================================ */
  .hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* slowなKen Burns(ズーム)効果でゆったり表示 */
    transform: scale(1.05);
    animation: heroFade 24s infinite ease-in-out;
  }
  .hero-slide:nth-child(1) { animation-delay:  0s; background-image: url('../img/common/hero_1.webp'); }
  .hero-slide:nth-child(2) { animation-delay:  6s; background-image: url('../img/common/hero_2.webp'); }
  .hero-slide:nth-child(3) { animation-delay: 12s; background-image: url('../img/common/hero_3.webp'); }
  .hero-slide:nth-child(4) { animation-delay: 18s; background-image: url('../img/common/hero_4.webp'); }

  /* 各画像が約6秒表示 → クロスフェード(計24秒/4枚ループ) */
  @keyframes heroFade {
    0%   { opacity: 0; transform: scale(1.05); }
    4%   { opacity: 1; transform: scale(1.05); }
    25%  { opacity: 1; transform: scale(1.12); }
    29%  { opacity: 0; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1.05); }
  }

  /* 画像の上に重ねる白のグラデーションオーバーレイ(テキスト可読性確保) */
  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(105deg,
        rgba(255,255,255,0.92) 0%,
        rgba(255,255,255,0.78) 38%,
        rgba(255,255,255,0.45) 65%,
        rgba(255,255,255,0.25) 100%
      );
  }
  /* 下部の自然なフェードアウト(次セクションへの繋ぎ) */
  .hero-overlay::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
  }

  /* 装飾的な背景 - ふわっとしたグラデーション円 */
  .bg-blob-1 {
    position: absolute;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(27,42,74,0.18) 0%, rgba(27,42,74,0) 70%);
    top: -180px; right: -120px;
    border-radius: 50%;
    filter: blur(20px);
    animation: floatBlob 14s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
  }
  .bg-blob-2 {
    position: absolute;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(160,126,44,0.16) 0%, rgba(160,126,44,0) 70%);
    bottom: -120px; left: -100px;
    border-radius: 50%;
    filter: blur(20px);
    animation: floatBlob 18s ease-in-out infinite reverse;
    z-index: 2;
    pointer-events: none;
  }
  @keyframes floatBlob {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(40px,-30px) scale(1.08); }
  }

  /* ふわっとフェードイン */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp .9s cubic-bezier(.22,.61,.36,1) forwards;
  }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
  .delay-1 { animation-delay: .15s; }
  .delay-2 { animation-delay: .35s; }
  .delay-3 { animation-delay: .55s; }
  .delay-4 { animation-delay: .75s; }
  .delay-5 { animation-delay: .95s; }

  /* 縦書きの装飾テキスト */
  .vertical-text {
    writing-mode: vertical-rl;
    letter-spacing: .35em;
  }

  /* 微細なドット模様 */
  .dot-pattern {
    background-image: radial-gradient(circle, rgba(27,42,74,0.18) 1px, transparent 1px);
    background-size: 14px 14px;
  }

  /* ボタンホバー */
  .btn-primary {
    background: linear-gradient(135deg, #28406B 0%, #16243F 100%);
    background-size: 200% 200%;
    transition: background-position .5s ease, transform .3s ease, box-shadow .3s ease;
  }
  .btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(27,42,74,.45);
  }
  .btn-outline {
    transition: all .35s ease;
  }
  .btn-outline:hover {
    background: linear-gradient(135deg, #28406B 0%, #16243F 100%);
    color: #fff;
    transform: translateY(-2px);
    border-color: transparent;
  }

  /* スクロールサイン */
  .scroll-indicator {
    animation: scrollPulse 2.4s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: .5; }
    50%      { transform: translateY(8px); opacity: 1; }
  }

  /* ============================================
     2段ヘッダー
     ============================================ */
  .site-header { box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
  .header-top { min-height: 64px; }
  @media (min-width: 1024px) {
    .header-top { min-height: 80px; }
  }

  /* 上段:塗り潰しのCTAブロック(背景全面に色) */
  .header-cta-block {
    transition: filter .3s ease, transform .3s ease;
    position: relative;
    overflow: hidden;
    min-width: 130px;
  }
  .header-cta-block.header-cta-tel {
    min-width: 280px;
  }
  .header-cta-block:hover {
    filter: brightness(1.08);
  }
  .header-cta-web {
    background: #1B2A4A;  /* 紫:WEB予約 */
  }
  .header-cta-tel {
    background: #A07E2C;  /* ピンク:電話 */
  }
  /* シャイン演出 */
  .header-cta-block::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.30) 50%,
      rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left .8s cubic-bezier(.22,.61,.36,1);
    pointer-events: none;
  }
  .header-cta-block:hover::before {
    left: 130%;
  }

  /* 下段:ナビゲーション */
  .header-nav { background: #fff; }

  /* ナビ:アンダーライン */
  .nav-link {
    position: relative;
    padding: 4px 2px;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, #1B2A4A, #A07E2C);
    transition: width .35s ease;
  }
  .nav-link:hover::after { width: 100%; }
  .nav-link:hover { color: #1B2A4A; }

  /* ============================================
     ページヘッダー(下層ページ共通)
     ============================================ */
  .page-hero {
    position: relative;
    padding: 180px 0 100px;
    background:
      radial-gradient(ellipse at top right, rgba(27,42,74,0.08) 0%, transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(160,126,44,0.06) 0%, transparent 55%),
      #ffffff;
    overflow: hidden;
  }
  .page-hero-deco {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
  }
  .page-hero-deco-1 {
    background: radial-gradient(circle, rgba(27,42,74,0.10) 0%, transparent 70%);
    top: -200px; right: -150px;
    animation: floatBlob 14s ease-in-out infinite;
  }
  .page-hero-deco-2 {
    background: radial-gradient(circle, rgba(160,126,44,0.10) 0%, transparent 70%);
    bottom: -200px; left: -150px;
    animation: floatBlob 18s ease-in-out infinite reverse;
  }
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #888;
    letter-spacing: 0.05em;
    flex-wrap: wrap;
  }
  .breadcrumb a { color: #888; transition: color .3s ease; }
  .breadcrumb a:hover { color: var(--brand-purple); }
  .breadcrumb svg { color: #ccc; }

  .page-hero-bg-text {
    position: absolute;
    bottom: -30px; right: -20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 200px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(27,42,74,0.06);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    max-width: 100vw;
  }
  @media (max-width: 1023px) {
    .page-hero { padding: 130px 0 70px; }
    .page-hero-bg-text { font-size: 110px; bottom: -10px; right: -10px; }
    .page-hero-deco { width: 380px; height: 380px; }
    .page-hero-deco-1 { top: -140px; right: -100px; }
    .page-hero-deco-2 { bottom: -140px; left: -100px; }
  }
  @media (max-width: 640px) {
    .page-hero { padding: 110px 0 56px; }
    .page-hero-bg-text { font-size: 83px; bottom: -6px; right: -6px; }
  }

  /* ============================================
     ハンバーガーメニュー(Tablet・SP)
     ============================================ */
  .mobile-menu-toggle {
    width: 56px;
  }
  .hamburger-icon {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 16px;
  }
  .hamburger-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2d2d2d;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, top .3s ease;
  }
  .hamburger-icon span:nth-child(1) { top: 0; }
  .hamburger-icon span:nth-child(2) { top: 7px; }
  .hamburger-icon span:nth-child(3) { top: 14px; }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
  }

  /* モバイルメニュー本体(ヘッダー直下にスライドダウン) */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #f3f4f6;
    box-shadow: 0 16px 40px -12px rgba(0,0,0,0.15);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s cubic-bezier(.22,.61,.36,1),
                opacity .3s ease,
                visibility .3s;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-list {
    padding: 8px 0;
  }
  .mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #2d2d2d;
    border-bottom: 1px solid #f5f5f5;
    transition: background .25s ease, color .25s ease;
  }
  .mobile-menu-link:hover {
    background: #fbf6fb;
    color: var(--brand-purple);
  }
  .mobile-menu-link[aria-current="page"] {
    color: var(--brand-purple);
    background: linear-gradient(90deg, rgba(27,42,74,0.06) 0%, rgba(160,126,44,0.03) 100%);
  }
  .mobile-menu-link svg { color: #c0c0c0; }
  .mobile-menu-cta {
    padding: 20px 20px 24px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-cta-web,
  .mobile-cta-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: filter .3s ease, transform .3s ease;
  }
  .mobile-cta-web { background: #1B2A4A; }
  .mobile-cta-tel { background: #A07E2C; }
  .mobile-cta-web:hover,
  .mobile-cta-tel:hover { filter: brightness(1.06); }
  .mobile-cta-hours {
    text-align: center;
    font-size: 11px;
    color: #777;
    margin-top: 4px;
    letter-spacing: 0.05em;
  }

  /* オーバーレイ(本体クリックで閉じる) */
  .mobile-menu-overlay {
    position: fixed;
    top: 64px;
    left: 0; right: 0; bottom: 0;
    background: rgba(20,10,25,0.35);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    z-index: -1;
  }
  .mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
  /* メニュー展開中はbodyをスクロール禁止 */
  body.mobile-menu-open {
    overflow: hidden;
  }

  /* スライドショーのインジケーター */
  .slide-indicators {
    display: flex;
    gap: 10px;
  }
  .slide-indicators .dot {
    width: 28px; height: 2px;
    background: rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
  }
  .slide-indicators .dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1B2A4A, #A07E2C);
    transform-origin: left;
    transform: scaleX(0);
    animation: dotProgress 24s infinite linear;
  }
  .slide-indicators .dot:nth-child(1)::before { animation-delay:  0s; }
  .slide-indicators .dot:nth-child(2)::before { animation-delay:  6s; }
  .slide-indicators .dot:nth-child(3)::before { animation-delay: 12s; }
  .slide-indicators .dot:nth-child(4)::before { animation-delay: 18s; }
  @keyframes dotProgress {
    0%   { transform: scaleX(0); }
    4%   { transform: scaleX(0); }
    25%  { transform: scaleX(1); }
    29%  { transform: scaleX(1); }
    30%  { transform: scaleX(0); }
    100% { transform: scaleX(0); }
  }

  /* ============================================
     セクション共通:見出し
     ============================================ */
  .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    letter-spacing: 0.35em;
    color: var(--brand-pink);
    font-weight: 500;
    text-transform: uppercase;
  }
  .section-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, #1B2A4A, #A07E2C);
  }

  /* スクロール連動フェード(IntersectionObserverで.is-visibleが付与される) */
  .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .25s; }
  .reveal-delay-3 { transition-delay: .4s; }
  .reveal-delay-4 { transition-delay: .55s; }

  /* ============================================
     コンセプトセクション:全身歯科
     ============================================ */
  .concept-bg {
    position: relative;
    background:
      radial-gradient(ellipse at top right, rgba(27,42,74,0.04) 0%, transparent 50%),
      radial-gradient(ellipse at bottom left, rgba(160,126,44,0.04) 0%, transparent 50%),
      #fefefe;
  }
  /* 縦ラインの装飾 */
  .vertical-line {
    position: relative;
    padding-left: 30px;
  }
  .vertical-line::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 1px; height: calc(100% - 16px);
    background: linear-gradient(to bottom, #1B2A4A 0%, #A07E2C 100%);
  }

  /* ボディの人体シルエットイラスト風の枠 */
  /* ============================================
     コンセプト画像フレーム
     ============================================ */
  .concept-image-frame {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 200px 200px 24px 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(27,42,74,0.30);
  }
  .concept-image-frame img {
    transition: transform 8s ease-out;
  }
  .concept-image-frame:hover img {
    transform: scale(1.05);
  }
  /* 上部のソフトな白フェード */
  .concept-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(255,255,255,0.10) 100%);
    pointer-events: none;
  }

  /* 装飾フレーム(画像の右下からはみ出すグラデ枠) */
  .concept-frame-deco {
    position: absolute;
    inset: 20px -20px -20px 20px;
    border: 1px solid;
    border-image: linear-gradient(135deg, #1B2A4A, #A07E2C) 1;
    border-radius: 200px 200px 24px 24px;
    z-index: -1;
    opacity: 0.5;
  }

  /* サブ画像(浮かぶ小さな円形) */
  .concept-sub-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 20px 40px -10px rgba(27,42,74,0.30);
  }
  @media (max-width: 1023px) {
    .concept-sub-image {
      width: 120px; height: 120px;
      bottom: -20px; right: -10px;
      border-width: 4px;
    }
  }

  /* ============================================
     4つの診療方針:特徴カード
     ============================================ */
  .feature-bg {
    position: relative;
    background: #fafafa;
    overflow: hidden;
  }
  .feature-bg::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(27,42,74,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .feature-bg::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(160,126,44,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .feature-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    isolation: isolate;
    cursor: pointer;
    transition: transform .6s cubic-bezier(.22,.61,.36,1),
                box-shadow .6s cubic-bezier(.22,.61,.36,1);
    box-shadow: 0 20px 50px -25px rgba(27,42,74,0.20);
  }
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -30px rgba(27,42,74,0.40);
  }

  /* 背景画像レイヤー */
  .feature-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  .feature-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.22,.61,.36,1);
  }
  .feature-card:hover .feature-card-bg img {
    transform: scale(1.08);
  }

  /* 左上から右下への白グラデーションハイライト */
  .feature-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.92) 18%,
      rgba(255,255,255,0.78) 35%,
      rgba(255,255,255,0.45) 60%,
      rgba(255,255,255,0.20) 82%,
      rgba(255,255,255,0.05) 100%
    );
    transition: opacity .6s ease;
  }
  .feature-card:hover .feature-card-overlay {
    opacity: 0.85;
  }

  /* ブランドカラーの薄いグラデを上に重ねる(全体の統一感) */
  .feature-card-tint {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      135deg,
      rgba(27,42,74,0.04) 0%,
      rgba(27,42,74,0) 30%,
      rgba(160,126,44,0) 70%,
      rgba(160,126,44,0.06) 100%
    );
  }

  /* カード上端のアクセントライン(ホバーで出現) */
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 4;
    background: linear-gradient(90deg, #1B2A4A 0%, #A07E2C 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .7s cubic-bezier(.22,.61,.36,1);
  }
  .feature-card:hover::before {
    transform: scaleX(1);
  }

  /* コンテンツレイヤー(テキスト) */
  .feature-card-content {
    position: relative;
    z-index: 3;
    padding: 44px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* 大きな番号 */
  .feature-number {
    font-family: "Cormorant Garamond", serif;
    font-size: 80px;
    line-height: 1;
    font-weight: 300;
    background: linear-gradient(135deg, #1B2A4A 0%, #A07E2C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.85;
  }

  /* SVGアイコン(円) */
  .feature-icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #fdf6fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-purple);
    box-shadow:
      0 8px 20px -8px rgba(27,42,74,0.25),
      inset 0 0 0 1px rgba(27,42,74,0.08);
  }

  /* ============================================
     CTAセクション(ボックス配置)
     ============================================ */
  .cta-section {
    background: #ffffff;
    position: relative;
  }
  /* 内側のボックス:背景にブランドカラーのグラデーション */
  .cta-box {
    position: relative;
    border-radius: 28px;
    padding: 64px 32px;
    overflow: hidden;
    background:
      linear-gradient(135deg,
        #f6f8fc 0%,
        #f3f1e7 35%,
        #eef1f7 65%,
        #f8f5ec 100%
      );
    box-shadow:
      0 30px 80px -40px rgba(27,42,74,0.30),
      0 1px 0 rgba(255,255,255,0.8) inset;
    isolation: isolate;
  }
  @media (min-width: 1024px) {
    .cta-box {
      padding: 80px 64px;
    }
  }
  /* 微細なノイズテクスチャ風の装飾(ドット) */
  .cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(27,42,74,0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
  }

  /* ============================================
     院長挨拶セクション
     ============================================ */
  /* 浮遊する装飾円(CTAボックス内側) */
  .cta-deco-1 {
    position: absolute;
    width: 350px; height: 350px;
    top: -100px; left: -80px;
    background: radial-gradient(circle, rgba(27,42,74,0.18) 0%, rgba(27,42,74,0) 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: floatBlob 16s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
  }
  .cta-deco-2 {
    position: absolute;
    width: 320px; height: 320px;
    bottom: -80px; right: -60px;
    background: radial-gradient(circle, rgba(160,126,44,0.18) 0%, rgba(160,126,44,0) 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: floatBlob 20s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -1;
  }
  .cta-deco-3 {
    position: absolute;
    width: 260px; height: 260px;
    top: 40%; right: 20%;
    background: radial-gradient(circle, rgba(27,42,74,0.10) 0%, rgba(160,126,44,0.06) 50%, transparent 80%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
  }

  /* ============================================
     院長挨拶
     ============================================ */
  .director-section {
    position: relative;
    background: #fff;
    overflow: hidden;
  }
  .director-image-frame {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 200px 24px 24px 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(27,42,74,0.30);
  }
  .director-image-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 8s ease-out;
  }
  .director-image-frame:hover img { transform: scale(1.05); }
  .director-image-frame::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(255,255,255,0.10) 100%);
    pointer-events: none;
  }
  /* 装飾の小サイン */
  .director-signature {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 36.5px;
    background: linear-gradient(135deg, #1B2A4A, #A07E2C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ============================================
     診療メニュー
     ============================================ */
  .menu-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #faf6fa 50%, #ffffff 100%);
    overflow: hidden;
  }
  .menu-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(27,42,74,0.08);
    transition: transform .5s cubic-bezier(.22,.61,.36,1),
                box-shadow .5s ease,
                border-color .5s ease;
    cursor: pointer;
  }
  .menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -20px rgba(27,42,74,0.30);
    border-color: rgba(27,42,74,0.20);
  }
  .menu-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
  }
  .menu-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22,.61,.36,1);
  }
  .menu-card:hover .menu-card-image img { transform: scale(1.08); }
  .menu-card-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0) 50%);
  }
  .menu-card-label {
    position: absolute;
    top: 16px; left: 16px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 15px;
    letter-spacing: 0.2em;
    color: var(--brand-purple);
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
  }

  /* ============================================
     院内紹介ギャラリー
     ============================================ */
  .clinic-section {
    background: #fafafa;
    position: relative;
    overflow: hidden;
  }
  .clinic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 16px;
  }
  @media (max-width: 768px) {
    .clinic-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 160px;
      gap: 10px;
    }
  }
  .clinic-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 30px -15px rgba(27,42,74,0.20);
  }
  .clinic-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22,.61,.36,1);
  }
  .clinic-item:hover img { transform: scale(1.06); }
  .clinic-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
    opacity: 0;
    transition: opacity .4s ease;
  }
  .clinic-item:hover::after { opacity: 1; }
  .clinic-item-label {
    position: absolute;
    bottom: 14px; left: 14px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.2em;
    font-family: "Cormorant Garamond", serif;
    opacity: 0;
    transform: translateY(8px);
    transition: all .4s ease;
    z-index: 2;
  }
  .clinic-item:hover .clinic-item-label {
    opacity: 1;
    transform: translateY(0);
  }
  /* グリッド配置(6列,各行必ず埋まる)
     Row1: [1 1 1 1][2 2]
     Row2: [1 1 1 1][3 3]      ← 1は4列×2行=8セル、2,3は2列ずつ
     Row3: [4 4][5 5 5][6]     ← 4=2列, 5=3列, 6=1列
     Row4: [7 7][8 8 8 8]       ← 7=2列, 8=4列
  */
  .clinic-item-1 { grid-column: span 4; grid-row: span 2; }
  .clinic-item-2 { grid-column: span 2; grid-row: span 1; }
  .clinic-item-3 { grid-column: span 2; grid-row: span 1; }
  .clinic-item-4 { grid-column: span 2; grid-row: span 1; }
  .clinic-item-5 { grid-column: span 3; grid-row: span 1; }
  .clinic-item-6 { grid-column: span 1; grid-row: span 1; }
  .clinic-item-7 { grid-column: span 2; grid-row: span 1; }
  .clinic-item-8 { grid-column: span 4; grid-row: span 1; }
  @media (max-width: 768px) {
    .clinic-item-1 { grid-column: span 2; grid-row: span 2; }
    .clinic-item-2,
    .clinic-item-3,
    .clinic-item-4,
    .clinic-item-5,
    .clinic-item-6,
    .clinic-item-7,
    .clinic-item-8 { grid-column: span 1; grid-row: span 1; }
  }

  /* ============================================
     アクセス・診療時間
     ============================================ */
  .access-section {
    position: relative;
    background: #fff;
    overflow: hidden;
  }
  .access-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 30px 60px -25px rgba(27,42,74,0.25);
  }
  .access-map iframe {
    width: 100%; height: 100%; border: 0;
    filter: saturate(0.85);
  }
  /* 診療時間テーブル */
  .schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 14px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(27,42,74,0.10);
    font-size: 21px;
  }
  .schedule-table th {
    font-family: "NumYu", "Shippori Mincho", serif;
    font-weight: 500;
    color: #555;
    background: rgba(27,42,74,0.04);
    font-size: 19.5px;
  }
  .schedule-table th:first-child { border-radius: 10px 0 0 0; }
  .schedule-table th:last-child  { border-radius: 0 10px 0 0; }
  .schedule-table td.label {
    font-family: "NumYu", "Shippori Mincho", serif;
    text-align: left;
    color: #333;
    background: #fafafa;
    padding-left: 18px;
  }
  .schedule-table td .holiday { color: #A07E2C; font-weight: 500; }
  .schedule-table td.symbol { font-size: 24px; color: var(--brand-purple); font-weight: 500; }

  /* ============================================
     フッター
     ============================================ */
  .site-footer {
    background:
      linear-gradient(135deg, #11203B 0%, #18283F 50%, #11203B 100%);
    color: #c7d0e0;
    position: relative;
    overflow: hidden;
  }
  .site-footer::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(27,42,74,0.20) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .site-footer::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(160,126,44,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .footer-link {
    color: #c7d0e0;
    transition: color .3s ease;
    position: relative;
    display: inline-block;
  }
  .footer-link:hover {
    color: #fff;
  }
  .footer-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    margin: 0;
  }

  /* ============================================
     SP固定フッター（スマホのみ：Web予約・電話・(LINE)）
     ============================================ */
  .sp-fixed-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    background: #fff;
    border-top: 1px solid rgba(27,42,74,0.10);
    box-shadow: 0 -8px 24px -12px rgba(27,42,74,0.22);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sp-fixed-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #fff;
    transition: filter .25s ease;
  }
  .sp-fixed-item:active { filter: brightness(0.93); }
  .sp-fixed-item svg { width: 20px; height: 20px; }
  .sp-fixed-web  { background: var(--brand-purple); }
  .sp-fixed-tel  { background: var(--brand-pink); }
  .sp-fixed-line { background: #06C755; }
  @media (min-width: 1024px) {
    .sp-fixed-footer { display: none; }
  }
  @media (max-width: 1023px) {
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    body.mobile-menu-open .sp-fixed-footer { display: none; }
  }

  /* 料金表以外のページで金額の代わりに料金表へ誘導するリンク */
  .spec-price-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-size: 0.9em;
    white-space: nowrap;
  }
  .spec-price-link:hover { opacity: 0.75; }

  /* ===== Instagram（トップの「医院からのお知らせ」）===== */
  .ig-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  @media (min-width: 768px) {
    .ig-grid { gap: 16px; }
  }
  .ig-grid > li { margin: 0; }

  .ig-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f4f6;
    box-shadow: 0 14px 34px -24px rgba(27,42,74,0.32);
  }
  .ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
  }
  .ig-item:hover img,
  .ig-item:focus-visible img { transform: scale(1.06); }

  /* ホバー時にかぶせる薄いベールとInstagramアイコン */
  .ig-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(40,64,107,.62) 0%, rgba(22,36,63,.62) 100%);
    opacity: 0;
    transition: opacity .35s ease;
  }
  .ig-overlay svg { width: 32px; height: 32px; }
  .ig-item:hover .ig-overlay,
  .ig-item:focus-visible .ig-overlay { opacity: 1; }

  /* 動画・複数枚投稿の目印（Instagram本体と同じ右上） */
  .ig-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.55));
    pointer-events: none;
  }
  .ig-badge svg { width: 100%; height: 100%; }

  /* ===== 患者様の声のページ送り ===== */
  .tkw-voice-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .tkw-voice-pagination li { margin: 0; }
  .tkw-voice-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(27,42,74,.16);
    border-radius: 999px;
    color: var(--brand-purple);
    font-size: 14px;
    text-decoration: none;
    transition: all .3s ease;
  }
  .tkw-voice-pagination a.page-numbers:hover {
    background: linear-gradient(135deg, #28406B 0%, #16243F 100%);
    border-color: transparent;
    color: #fff;
  }
  .tkw-voice-pagination .page-numbers.current {
    background: linear-gradient(135deg, #28406B 0%, #16243F 100%);
    border-color: transparent;
    color: #fff;
  }
  .tkw-voice-pagination .page-numbers.dots {
    border-color: transparent;
    color: #9ca3af;
  }

  /* アクセシビリティ */
  @media (prefers-reduced-motion: reduce) {
    .hero-slide, .bg-blob-1, .bg-blob-2,
    .fade-up, .scroll-indicator,
    .slide-indicators .dot::before,
    .reveal {
      animation: none !important;
      transition: none !important;
    }
    .hero-slide:nth-child(1) { opacity: 1; transform: none; }
    .fade-up, .reveal { opacity: 1; transform: none; }
  }
