/* ==========================================================================
   田園アイクリニック トップページ
   設計参照：ka-asada.jp（レイアウト・タイポグラフィ・余白）／配色：白＋淡いピンク
   モバイルファースト / SP 375 → TAB 768 → PC 1280
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* 色 */
  --c-white: #ffffff;
  --c-bg: #fbf7f7;              /* ページ地色（参考の #F7F7F5 をピンク寄りに） */
  --c-text: #403333;            /* 本文 */
  --c-sub: #6b5c5c;             /* 補足（白地 6.3:1） */
  --c-muted: #8c7d7d;           /* コピーライト等 */
  --c-accent: #cb8a8a;          /* 装飾ローズ：リボン・ドット・アイコン・線 */
  --c-accent-text: #b8707a;     /* 大きな文字（24px以上・太字）用ローズ 3.7:1 */
  --c-accent-deep: #a85f6a;     /* ボタン・小さなアクセント文字 4.66:1 */
  --c-accent-deep-hover: #9a5560;
  --c-pale: #f7ecec;            /* 淡ピンク面 */
  --c-pale-2: #fbf1f1;
  --c-pale-grad-a: #fdf3f3;     /* カードのグラデーション */
  --c-pale-grad-b: #f5e2e2;
  --c-tag: #efe6e6;             /* タグ地色（参考の #EBEBE8） */
  --c-line: #eee3e3;
  --c-closed: #dccfcf;          /* 休診の「／」 */

  /* グラデーション */
  --g-deep: linear-gradient(135deg, #b06a73 0%, #a85f6a 45%, #9a5560 100%);      /* 塗りボタン（白文字 4.6:1 以上の範囲） */
  --g-pale: linear-gradient(135deg, #fff8f8 0%, #f8e6e6 100%);                   /* 淡いカード・ピル */
  --g-pale-strong: linear-gradient(135deg, #fbeeee 0%, #f2d8d8 100%);
  --g-text: linear-gradient(90deg, #ad666f 0%, #bd7880 100%);                    /* 見出し文字（大文字のみ・3:1 以上） */
  --g-panel: linear-gradient(160deg, #fdf6f6 0%, #f6e5e5 100%);                  /* 大きな色面パネル */
  --g-tile: linear-gradient(135deg, #fbeeee 0%, #f3dcdc 100%);                   /* アイコンタイル */
  --shadow-rose: 0 10px 30px rgba(203, 138, 138, 0.2);
  --shadow-card: 0 12px 40px rgba(203, 138, 138, 0.12);

  /* フォント */
  --ff-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ff-en: "Montserrat", "Zen Kaku Gothic New", sans-serif;

  /* 文字サイズ（PC 基準の可変） */
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-note: 13px;
  --fs-nav: 16px;
  --fs-title-en: clamp(34px, 3.9vw, 50px);   /* Strength / News 等 */
  --fs-title-en-s: clamp(28px, 2.8vw, 36px);  /* Step / Facility 等 */
  --fs-title-jp: 17px;
  --fs-mv-small: clamp(15px, 1.55vw, 20px);
  --fs-mv-big: clamp(24px, 2.5vw, 32px);
  --fs-h-lead: clamp(22px, 2.35vw, 30px);     /* 院長紹介などの見出し */
  --fs-card-title: clamp(18px, 1.7vw, 22px);
  --fs-tel: clamp(22px, 2.1vw, 26px);

  /* 字間 */
  --ls-body: 0.06em;
  --ls-wide: 0.1em;
  --ls-xwide: 0.2em;
  --ls-en: 0.04em;

  /* 余白・寸法 */
  --container: 1120px;
  --wide: 1248px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius-s: 8px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 40px;
  --shadow: 0 8px 30px rgba(64, 51, 51, 0.06);
  --header-h: 64px;
  --sp-bar-h: 60px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* --------------------------------------------------------------------------
   2. リセット・ベース
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-jp);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: var(--ls-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--sp-bar-h);
  position: relative;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* ページ全体に敷く柔らかいピンクの光（参考：黄色のぼかし面） */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow::before, .bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.bg-glow::before {
  width: 70vw; height: 70vw;
  right: -25vw; top: -20vw;
  background: radial-gradient(circle, rgba(246, 222, 222, 0.6) 0%, rgba(246, 222, 222, 0) 70%);
}
.bg-glow::after {
  width: 60vw; height: 60vw;
  left: -25vw; bottom: -20vw;
  background: radial-gradient(circle, rgba(248, 230, 230, 0.55) 0%, rgba(248, 230, 230, 0) 70%);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.5; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
.en { font-family: var(--ff-en); letter-spacing: var(--ls-en); }

:focus-visible {
  outline: 3px solid var(--c-accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. レイアウト・共通部品
   -------------------------------------------------------------------------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 32px, var(--wide)); margin-inline: auto; }

.section { position: relative; padding-block: var(--section-y); }

/* 英字大見出し + 日本語小見出し（参考：c-title） */
.c-title { display: grid; gap: 2px; }
.c-title--center { text-align: center; justify-items: center; }
.c-title__en {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: var(--fs-title-en);
  line-height: 1.2;
  letter-spacing: var(--ls-en);
}
.c-title__en::before {
  content: "";
  width: 22px; height: 10px;
  flex: none;
  background:
    radial-gradient(circle at 5px 5px, var(--c-accent) 4.5px, transparent 5px),
    radial-gradient(circle at 17px 5px, var(--c-accent-text) 4.5px, transparent 5px);
  opacity: 0.9;
}
.c-title--center .c-title__en { flex-direction: column; gap: 10px; }
.c-title--small .c-title__en { font-size: var(--fs-title-en-s); }
.c-title__jp {
  font-size: var(--fs-title-jp);
  letter-spacing: var(--ls-wide);
  line-height: 1.6;
  padding-left: 36px;
}
.c-title--center .c-title__jp { padding-left: 0; }
.c-title__jp em { font-style: normal; color: var(--c-accent-deep); }

/* ボタン（参考サイト実測：本文用 66px / ヘッダー用 48px、角丸100px、2px線、ホバーで色反転 .4s ease-in） */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 66px;
  min-width: 278px;
  padding: 8px 50px 10px 28px;
  border-radius: 100px;
  border: 2px solid var(--c-accent-deep);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  transition: background-color 0.4s ease-in, color 0.4s ease-in, border-color 0.4s ease-in;
}
.btn--fill { background: var(--c-accent-deep); color: var(--c-white); }
.btn--fill:hover { background: var(--c-white); color: var(--c-accent-deep); }
.btn--line { background: var(--c-white); color: var(--c-accent-deep); }
.btn--line:hover { background: var(--c-accent-deep); color: var(--c-white); }
.btn__arrow {
  position: absolute;
  right: 22px; top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-accent-deep);
  transition: background-color 0.4s ease-in, color 0.4s ease-in;
}
.btn--fill:hover .btn__arrow { background: var(--c-accent-deep); color: var(--c-white); }
.btn--line .btn__arrow { background: var(--c-accent-deep); color: var(--c-white); }
.btn--line:hover .btn__arrow { background: var(--c-white); color: var(--c-accent-deep); }
.btn__arrow svg { width: 11px; height: 11px; }
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn .en { font-size: 26px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.2; }
/* 電話ボタン（矢印なし） */
.btn--tel { min-width: 0; padding: 10px 40px 10px 28px; }
/* ヘッダー用の小さいピル */
.btn--sm { min-height: 48px; min-width: 0; padding: 8px 22px 10px; letter-spacing: var(--ls-wide); }
.btn--sm .en { font-size: 18px; }

/* 丸矢印（参考：オレンジの丸） */
.arrow-circle {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4b7b7, #d59d9d);
  color: var(--c-white);
  flex: none;
  box-shadow: 0 4px 12px rgba(203, 138, 138, 0.22);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.arrow-circle svg { width: 14px; height: 14px; }

/* テキストリンク（参考：→ View All） */
.txt-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
}
.txt-link svg { width: 16px; height: 16px; color: var(--c-accent-deep); }

/* 写真プレースホルダ（{要確認}：移転後に撮影した写真へ差し替え） */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  color: var(--c-sub);
  font-size: var(--fs-note);
  letter-spacing: var(--ls-wide);
  line-height: 1.7;
  background: linear-gradient(135deg, #f8eeee 0%, #fdf8f8 50%, #f4e6e6 100%);
}

/* 背景の柔らかい光（参考：黄色のぼかし面） */
.glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  background: radial-gradient(circle, #f2d9d9 0%, rgba(242, 217, 217, 0) 70%);
}

/* {要確認} マーク */
.todo { color: var(--c-accent-deep); }

/* フェードイン */
.js-fade { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-fade { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   4. ヘッダー（参考：白地・細め・右にナビ＋ピルボタン）
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 247, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.header.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 1px 0 var(--c-line), 0 8px 24px rgba(64, 51, 51, 0.05); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  white-space: nowrap;
}
.header__tagline {
  display: none;
  position: absolute;
  top: 6px; right: 16px;
  font-size: 11px;
  letter-spacing: var(--ls-wide);
  color: var(--c-sub);
  line-height: 1.4;
}

/* ロゴ：現行サイトのロゴ画像を使用 */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 46px; } }
.footer .logo img { height: 40px; }

.header__right { display: flex; align-items: center; gap: 10px; }

.gnav { display: none; }
.gnav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.gnav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
}
.gnav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.gnav__link:hover::after { transform: scaleX(1); }

.header__tel {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--c-text);
}
.header__tel svg { width: 18px; height: 18px; color: var(--c-accent-deep); }
.header__btn { display: none; }

/* SP：電話 + ハンバーガー */
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--c-accent-deep);
  color: var(--c-accent-deep);
  background: var(--c-white);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--fill { background: var(--g-deep); color: var(--c-white); border-color: transparent; box-shadow: 0 6px 16px rgba(203, 138, 138, 0.3); }

.menu-btn__bars { position: relative; width: 18px; height: 12px; }
.menu-btn__bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn__bars span:nth-child(1) { top: 0; }
.menu-btn__bars span:nth-child(2) { top: 5px; }
.menu-btn__bars span:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* SP ドロワー */
.drawer {
  position: fixed;
  inset: var(--drawer-top, 0) 0 0 0;
  z-index: 90;
  background: var(--c-bg);
  padding: 24px var(--gutter) calc(var(--sp-bar-h) + 24px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer__list { border-top: 1px solid var(--c-line); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px;
  font-size: 16px; font-weight: 500; letter-spacing: var(--ls-wide);
  border-bottom: 1px solid var(--c-line);
}
.drawer__link .arrow-circle { width: 26px; height: 26px; }
.drawer__link .arrow-circle svg { width: 12px; height: 12px; }
.drawer__sub { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 4px 14px; border-bottom: 1px solid var(--c-line); }
.drawer__sub a { font-size: 14px; letter-spacing: var(--ls-wide); color: var(--c-sub); padding: 4px 0; }
.drawer__sub a::before { content: "– "; color: var(--c-accent); }
.drawer__info { margin-top: 28px; text-align: center; }
.drawer__info p { font-size: var(--fs-note); letter-spacing: var(--ls-wide); color: var(--c-sub); }
.drawer__info .btn { margin-top: 12px; width: 100%; }
body.is-menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .header { padding-top: 14px; }
  .header__tagline { display: block; }
  .gnav { display: block; }
  .header__tel { display: inline-flex; }
  .header__btn { display: inline-flex; }
  .icon-btn, .drawer { display: none; }
}

/* --------------------------------------------------------------------------
   5. メインビジュアル（参考：角丸の大写真 + リボン、直下に左コピー／右診療時間）
   -------------------------------------------------------------------------- */
.mv { position: relative; padding-top: 8px; overflow: hidden; }
.mv__photo {
  position: relative;
  width: min(100% - 24px, var(--wide));
  margin-inline: auto;
  border-radius: var(--radius-l);
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 60px rgba(203, 138, 138, 0.18);
}
/* 写真の背面に敷く淡い光 */
.mv__photo::before {
  content: "";
  position: absolute;
  inset: 10% -4% -6% -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(240, 205, 205, 0.6), rgba(240, 205, 205, 0) 70%);
  filter: blur(30px);
}
.mv__photo .ph, .mv__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; overflow: hidden; }
.mv__photo .ph span { font-size: 15px; letter-spacing: var(--ls-xwide); line-height: 2; }
/* 移転告知（写真上に置く小さなピル） */
.mv__notice {
  position: absolute;
  left: 16px; top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: var(--fs-note);
  letter-spacing: 0.04em;
  line-height: 1.5;
  box-shadow: var(--shadow);
}
.mv__notice svg { width: 16px; height: 16px; color: var(--c-accent-deep); flex: none; }
.mv__notice { background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(252, 243, 243, 0.94)); }
.mv__notice a { color: var(--c-accent-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* リボン（参考：黄色の帯） */
.ribbon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  opacity: 0.7;
  width: clamp(240px, 42vw, 560px);
  height: auto;
}
.ribbon--tr { right: -4%; top: -9%; }
.ribbon--bl { left: -5%; bottom: -10%; width: clamp(280px, 48vw, 640px); }
@media (min-width: 1024px) {
  .ribbon--tr { right: -3%; top: -14%; }
  .ribbon--bl { left: -4%; bottom: -16%; }
}

.mv__row {
  width: min(100% - var(--gutter) * 2, var(--wide) - 48px);
  margin: clamp(28px, 4vw, 44px) auto 0;
  display: grid;
  gap: 40px;
}
.mv__copy-small {
  font-size: var(--fs-mv-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.mv__copy-big {
  margin-top: 6px;
  font-size: var(--fs-mv-big);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-accent-text);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .mv__copy-big { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
}
.mv__lead {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: var(--ls-body);
  line-height: 1.9;
  max-width: 36em;
}
.mv__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--g-pale);
  border: 1px solid #efdede;
  font-size: 13px;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 10px rgba(203, 138, 138, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tag:hover { border-color: var(--c-accent); box-shadow: 0 6px 14px rgba(203, 138, 138, 0.18); }
.tag--new { background: var(--g-pale-strong); border-color: #e9cfcf; color: #8e4c56; font-weight: 700; }

/* 診療時間（参考：右カラムの小さな表） */
.hours__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-title-jp);
  letter-spacing: 0.4em;
  line-height: 1.3;
}
.hours__head svg { width: 20px; height: 20px; color: var(--c-accent); }
.hours__table { margin-top: 14px; font-size: 15px; letter-spacing: 0.15em; }
.hours__table th, .hours__table td { padding: 10px 2px; text-align: center; font-weight: 500; }
.hours__table thead th { font-size: 14px; }
.hours__table thead th:first-child, .hours__table tbody th { text-align: left; }
.hours__table tbody th { font-family: var(--ff-en); font-weight: 600; letter-spacing: 0.1em; white-space: nowrap; }
.hours__table tbody tr { border-top: 1px solid var(--c-line); }
.hours__table tbody tr:last-child { border-bottom: 1px solid var(--c-line); }
.hours__table td { font-size: 0; }
.hours__table td::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e8bcbc, #d19595); vertical-align: middle; }
.hours__table td.is-closed::before { width: 12px; height: 1.5px; border-radius: 0; background: var(--c-closed); transform: rotate(-60deg); }
.hours__note { margin-top: 10px; font-size: 12px; letter-spacing: 0.04em; line-height: 1.7; color: var(--c-sub); }
.hours__note span { color: var(--c-accent-deep); }
.hours__cta { margin-top: 20px; display: grid; gap: 8px; justify-items: start; }
.hours__cta small { font-size: var(--fs-note); letter-spacing: var(--ls-wide); color: var(--c-sub); }

@media (min-width: 768px) {
  .mv__photo { aspect-ratio: 16 / 9; }
  .mv__notice { left: 24px; top: 24px; }
  .mv__row { grid-template-columns: 1.15fr 1fr; align-items: start; gap: clamp(32px, 5vw, 80px); }
  .hours { padding-top: 6px; }
}
@media (min-width: 1024px) {
  .mv__photo { aspect-ratio: 1248 / 600; }
}

/* --------------------------------------------------------------------------
   6. お知らせ（参考：左見出し・右リスト・Montserrat の日付）
   -------------------------------------------------------------------------- */
.news .container { display: grid; gap: 28px; }
.news__side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.news__list { border-top: 1px solid var(--c-line); }
.news__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "date tag" "title title";
  align-items: center;
  gap: 8px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.25s;
}
.news__item:hover .arrow-circle { transform: translateX(4px); }
.news__date { grid-area: date; font-family: var(--ff-en); font-weight: 500; font-size: 22px; letter-spacing: 0.04em; line-height: 1.2; white-space: nowrap; }
.news__date small { font-size: 14px; margin-right: 6px; }
.news__tag {
  grid-area: tag;
  justify-self: start;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--g-pale-strong);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.news__tag--accent { background: var(--g-pale-strong); color: #8e4c56; font-weight: 700; border: 1px solid #ead2d2; }
.news__item:hover { background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)); }
.news__title { grid-area: title; font-size: 15px; letter-spacing: var(--ls-wide); line-height: 1.85; }
.news__item .arrow-circle { display: none; }

@media (min-width: 768px) {
  .news .container { grid-template-columns: 220px 1fr; gap: 48px; }
  .news__item {
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas: "date tag title arrow";
    gap: 20px;
    padding: 22px 8px;
  }
  .news__item .arrow-circle { display: inline-grid; grid-area: arrow; }
}

/* --------------------------------------------------------------------------
   7. SP 画面下固定バー
   -------------------------------------------------------------------------- */
.sp-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 247, 0.96);
  box-shadow: 0 -1px 0 var(--c-line);
}
.sp-bar .btn { min-height: 44px; min-width: 0; padding: 8px 12px; font-size: 14px; gap: 8px; }
@media (min-width: 768px) { .sp-bar { display: none; } }

/* --------------------------------------------------------------------------
   8. 共通：白い曲面パネル（参考：Strength の白いカーブ）・色面パネル
   -------------------------------------------------------------------------- */
.curve {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fdfafa 100%);
  border-top-left-radius: 50% 64px;
  border-top-right-radius: 50% 64px;
  border-bottom-left-radius: 50% 64px;
  border-bottom-right-radius: 50% 64px;
}
@media (min-width: 1024px) {
  .curve {
    border-top-left-radius: 50% 110px;
    border-top-right-radius: 50% 110px;
    border-bottom-left-radius: 50% 110px;
    border-bottom-right-radius: 50% 110px;
  }
}
.panel {
  background: var(--g-panel);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 64px);
  box-shadow: var(--shadow-card);
}

/* カード共通 */
.card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* アイコンタイル（参考：Step / Case Study のアイコン） */
.tile {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  flex: none;
  border-radius: 18px;
  background: var(--g-tile);
  color: var(--c-accent-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 6px 16px rgba(203, 138, 138, 0.12);
}
.tile svg { width: 34px; height: 34px; }

/* --------------------------------------------------------------------------
   9. 初めての方へ
   -------------------------------------------------------------------------- */
.first, .doctor { overflow: hidden; } /* 背面の光（::before）が SP で横にはみ出さないように */
.first__grid { display: grid; gap: 32px; margin-top: clamp(28px, 4vw, 48px); }
.first__photo { position: relative; }
.first__photo .ph { aspect-ratio: 4 / 3; border-radius: var(--radius-l); box-shadow: var(--shadow-card); }
.first__photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -10% -12% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(240, 210, 210, 0.55), rgba(240, 210, 210, 0) 70%);
  filter: blur(28px);
}
.steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--g-pale);
  border-radius: var(--radius);
  border: 1px solid #f3e6e6;
}
.step__num {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  color: var(--c-accent-text);
  letter-spacing: 0.02em;
}
.step__num small { display: block; font-size: 10px; letter-spacing: 0.2em; color: var(--c-sub); margin-bottom: 2px; }
.step__text { font-size: 15px; letter-spacing: var(--ls-wide); line-height: 1.7; font-weight: 700; }
.first__note { margin-top: 16px; font-size: var(--fs-small); letter-spacing: 0.04em; line-height: 1.8; color: var(--c-sub); }
.first__cta { margin-top: 24px; }
@media (min-width: 768px) {
  .first__grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
}

/* --------------------------------------------------------------------------
   10. 特長（参考：Strength の写真カード）
   -------------------------------------------------------------------------- */
.features__grid { display: grid; gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.feature {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
}
.feature .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.feature__label {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(203, 138, 138, 0.12);
}
.feature__label b {
  display: inline-grid;
  place-items: center;
  min-width: 34px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid var(--c-accent);
  color: var(--c-accent-deep);
  font-weight: 600;
  font-size: 12px;
}
.feature__body {
  background: linear-gradient(180deg, #ffffff 0%, #fdf6f6 100%);
  padding: 22px 24px 26px;
}
.feature__title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.55;
}
.feature__desc { margin-top: 10px; font-size: 15px; letter-spacing: 0.04em; line-height: 1.85; color: var(--c-sub); }
@media (min-width: 768px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
}

/* --------------------------------------------------------------------------
   11. 症状から探す（参考：患者セグメントの淡いカード）
   -------------------------------------------------------------------------- */
.symptom__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.symptom__card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 150px;
  padding: 22px 14px 20px;
  border-radius: var(--radius-s);
  background: linear-gradient(160deg, #fdf5f5 0%, #f6e3e3 100%);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.symptom__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.symptom__card svg { width: 40px; height: 40px; color: var(--c-accent-deep); }
.symptom__name { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; }
.symptom__disease { font-size: 12px; letter-spacing: var(--ls-wide); color: var(--c-sub); }
@media (min-width: 768px) {
  .symptom__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .symptom__card { min-height: 190px; padding: 28px 18px 24px; gap: 12px; }
  .symptom__name { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   12. 診療案内（参考：Step / Case Study の行カード）
   -------------------------------------------------------------------------- */
.medical__list { display: grid; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--c-line); }
.medical__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.25s;
}
.medical__item:hover .arrow-circle { transform: translateX(4px); }
.medical__title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: var(--fs-card-title);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.badge-new {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--g-pale-strong);
  border: 1px solid #ead2d2;
  color: #8e4c56;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.medical__desc { margin-top: 6px; font-size: 14px; letter-spacing: 0.04em; line-height: 1.8; color: var(--c-sub); }
.medical__more { font-size: 13px; font-weight: 700; letter-spacing: var(--ls-wide); color: var(--c-accent-deep); display: none; }
@media (min-width: 768px) {
  .medical__list { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); }
  .medical__item { padding: 26px 8px; }
}

/* --------------------------------------------------------------------------
   13. コンタクトレンズ・眼鏡処方（参考：Environment の色面パネル）
   -------------------------------------------------------------------------- */
.lens__grid { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 48px); }
.lens__table { overflow: hidden; }
.lens__table table { font-size: 15px; letter-spacing: 0.04em; }
.lens__table th, .lens__table td { padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.7; }
.lens__table thead tr { background: var(--g-pale-strong); }
.lens__table thead th { font-size: 13px; letter-spacing: var(--ls-wide); font-weight: 700; }
.lens__table tbody th { font-weight: 700; white-space: nowrap; }
.lens__table tbody tr + tr { border-top: 1px solid var(--c-line); }
/* SP：行をカード状に積む */
@media (max-width: 767px) {
  .lens__table thead { display: none; }
  .lens__table tbody, .lens__table tr, .lens__table th, .lens__table td { display: block; }
  .lens__table tbody th { padding: 12px 18px 4px; font-size: 14px; letter-spacing: var(--ls-wide); color: var(--c-accent-deep); }
  .lens__table tbody td { padding: 0 18px 14px; font-size: 14px; }
}
.lens__photo .ph { aspect-ratio: 4 / 3; border-radius: var(--radius-l); }
.lens__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 768px) {
  .lens__grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 4vw, 56px); }
}

/* --------------------------------------------------------------------------
   14. 院長紹介（参考：円形写真 + 見出し + 本文 + ピルボタン）
   -------------------------------------------------------------------------- */
.doctor__grid { display: grid; gap: 36px; align-items: center; }
.doctor__visual { position: relative; width: min(100%, 420px); margin-inline: auto; aspect-ratio: 1; }
.doctor__visual::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f9ecec 0%, #f1d6d6 60%, rgba(241, 214, 214, 0) 100%);
  filter: blur(6px);
}
.doctor__visual .ph { position: absolute; inset: 0; border-radius: 50%; }
.doctor__name-en {
  position: absolute;
  left: 10%; bottom: 14%;
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(160, 100, 100, 0.25);
  z-index: 1;
}
.doctor__title {
  font-size: var(--fs-h-lead);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.75;
}
.doctor__title em { font-style: normal; color: var(--c-accent-deep); }
.doctor__desc { margin-top: 18px; font-size: 15px; letter-spacing: 0.04em; line-height: 1.95; }
.doctor__name { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; letter-spacing: var(--ls-wide); }
.doctor__name small { font-size: 13px; color: var(--c-sub); }
.doctor__name strong { font-size: 20px; font-weight: 700; }
.doctor__quals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.doctor__quals li { padding: 4px 12px; border-radius: 999px; background: var(--g-pale-strong); font-size: 13px; letter-spacing: 0.04em; }
.doctor__cta { margin-top: 26px; }
@media (min-width: 768px) {
  .doctor__grid { grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(36px, 6vw, 96px); }
}

/* --------------------------------------------------------------------------
   15. 院内・設備（参考：Facility / Staff / FAQ の写真カード）
   -------------------------------------------------------------------------- */
.facility__grid { display: grid; gap: 24px; margin-top: clamp(32px, 5vw, 56px); }
.facility__card { display: grid; gap: 14px; }
.facility__card .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow-card); position: relative; }
.facility__card .arrow-circle { position: absolute; right: 14px; bottom: 14px; }
.facility__title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: 0.08em; }
.facility__title svg { width: 20px; height: 20px; color: var(--c-accent); flex: none; }
.facility__desc { font-size: 14px; letter-spacing: 0.04em; line-height: 1.85; color: var(--c-sub); }
@media (min-width: 768px) {
  .facility__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
}

/* --------------------------------------------------------------------------
   16. よくある質問
   -------------------------------------------------------------------------- */
.faq__list { display: grid; gap: 12px; margin-top: clamp(32px, 5vw, 56px); max-width: 880px; margin-inline: auto; }
.faq__item { border-radius: var(--radius); background: var(--c-white); box-shadow: var(--shadow-card); overflow: hidden; }
.faq__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--g-tile);
  color: var(--c-accent-deep);
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 14px;
}
.faq__toggle { position: relative; width: 22px; height: 22px; flex: none; }
.faq__toggle::before, .faq__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; background: var(--c-accent-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 0 20px 20px;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.85;
}
.faq__a .faq__mark { background: var(--g-deep); color: var(--c-white); }
.faq__a p { padding-top: 4px; }
.faq__a .todo { color: var(--c-accent-deep); }

/* --------------------------------------------------------------------------
   17. 診療時間・アクセス（参考：フッター上部の情報ブロック + 地図 + 徒歩バッジ）
   -------------------------------------------------------------------------- */
.access__grid { display: grid; gap: 32px; margin-top: clamp(28px, 4vw, 48px); }
.access__info dl { display: grid; gap: 14px; }
.access__info div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.access__info dt { padding-top: 3px; color: var(--c-accent); }
.access__info dt svg { width: 20px; height: 20px; }
.access__info dd { font-size: 15px; letter-spacing: 0.04em; line-height: 1.8; }
.access__info dd strong { font-weight: 700; }
.access__info .en { font-size: 22px; font-weight: 600; }
.access__map { position: relative; margin-top: 28px; }
.access__map .ph { aspect-ratio: 4 / 3; border-radius: var(--radius-l); box-shadow: var(--shadow-card); }
.access__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-l); display: block; }
.walk-badge {
  position: absolute;
  right: 12px; top: -24px;
  display: grid;
  place-items: center;
  width: 112px; height: 112px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  line-height: 1.5;
  padding: 12px;
}
.walk-badge span { display: block; color: var(--c-accent-deep); font-size: 18px; letter-spacing: 0.1em; margin-top: 4px; }
.access__move {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  background: var(--g-pale);
  border: 1px solid #f1e3e3;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .access__grid { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
  .access__map .ph, .access__map iframe { aspect-ratio: 16 / 7; }
  .walk-badge { right: 24px; top: -36px; width: 150px; height: 150px; font-size: 13px; }
  .walk-badge span { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   18. お問い合わせ CTA（参考：Reserve の白い角丸パネル）
   -------------------------------------------------------------------------- */
.contact .panel {
  background: linear-gradient(160deg, #ffffff 0%, #fbf3f3 100%);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.contact__title { font-size: var(--fs-h-lead); font-weight: 700; letter-spacing: 0.1em; line-height: 1.6; }
.contact__sub { font-size: 15px; letter-spacing: var(--ls-wide); color: var(--c-sub); }
.contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--c-accent-deep);
}
.contact__tel svg { width: 0.8em; height: 0.8em; }
.contact__hours { font-size: var(--fs-small); letter-spacing: 0.04em; color: var(--c-sub); }
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* --------------------------------------------------------------------------
   19. フッター
   -------------------------------------------------------------------------- */
.footer { padding: clamp(48px, 6vw, 80px) 0 calc(24px + var(--sp-bar-h)); }
@media (min-width: 768px) { .footer { padding-bottom: 32px; } }
.footer__grid { display: grid; gap: 36px; }
.footer__name { font-size: 15px; letter-spacing: var(--ls-wide); margin-top: 18px; font-weight: 700; }
.footer__addr { font-size: 14px; letter-spacing: 0.06em; line-height: 1.8; margin-top: 6px; }
.footer__tel { margin-top: 16px; }
.footer__tel .en { font-size: 18px; font-weight: 600; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer__ttl { font-size: 17px; letter-spacing: var(--ls-wide); margin-bottom: 12px; font-weight: 500; }
.footer__links li { font-size: 15px; letter-spacing: 0.04em; line-height: 2; }
.footer__links a { display: inline-block; padding-left: 1.3em; text-indent: -1.3em; }
.footer__links a::before { content: "–"; color: var(--c-accent); margin-right: 8px; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.1fr 1.6fr; gap: 64px; align-items: start; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 40px; }
}
