/* =========================================
   村田眼科 - 仮ホームページ
   現行サイトの配色を踏襲（ブラウン文字＋ピンク＋ブルー＋紫陽花背景）
   ========================================= */

:root {
  --color-text: #6d3c30;          /* 現行サイトのメインブラウン */
  --color-text-mute: #8c6a60;
  --color-text-light: #b9a9a1;    /* 現行サイトのサブブラウン */
  --color-bg: #ffffff;
  --color-bg-dots: #E5EDFC;       /* 現行サイトの水玉色（ライトブルー） */
  --color-cream: #fdeccd;          /* 現行サイトのクリーム */
  --color-blue: #0000cd;           /* 現行サイトのロイヤルブルー */
  --color-blue-dark: #00009a;
  --color-blue-light: #d8e1f7;
  --color-pink: #c9b5b0;           /* 落ち着いたピンクベージュ（装飾用） */
  --color-pink-deep: #0000cd;      /* 強調色：現行のブランドブルーに統一 */
  --color-pink-soft: #eaf0fb;      /* 淡いブルーグレー（タグ背景用） */
  --color-pink-bg: #f6f8fd;         /* ごく淡いブルー寄り背景 */
  --icon-stroke: #3a3a3a;           /* 線画アイコンのストローク色 */
  --icon-accent: #e3a8a8;           /* 線画アイコンの淡いコーラル */
  --icon-accent-soft: #f5dcdc;      /* 線画アイコンの淡いコーラル背景 */
  --color-border: #f0e3df;
  --shadow-soft: 0 6px 24px rgba(109, 60, 48, 0.10);
  --shadow-card: 0 4px 14px rgba(109, 60, 48, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-jp: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  --font-serif: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  line-height: 1.8;
  background-color: #fff;
  background-image: radial-gradient(var(--color-bg-dots) 10%, transparent 20%);
  background-size: 8px 8px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.75; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

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

.text-link { color: var(--color-blue); text-decoration: underline; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.logo {
  display: flex; flex-direction: column; line-height: 1.1;
  color: var(--color-text);
}
.logo-main {
  font-family: var(--font-serif); font-weight: 700; font-size: 22px;
  color: var(--color-text);
  letter-spacing: 0.05em;
}
.logo-sub { font-size: 10px; color: var(--color-text-light); letter-spacing: 0.15em; margin-top: 2px; }

.global-nav { flex: 1; }
.global-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; gap: 22px;
}
.global-nav a {
  color: var(--color-text); font-size: 14px; font-weight: 500;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.global-nav a:hover { color: var(--color-pink-deep); border-bottom-color: var(--color-pink); opacity: 1; }

.header-tel {
  display: flex; align-items: center; gap: 8px;
  background: var(--color-blue);
  color: #fff; padding: 10px 18px;
  border-radius: 999px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 205, 0.25);
}
.header-tel:hover { opacity: 1; background: var(--color-blue-dark); }
.header-tel .tel-icon { display: inline-flex; width: 16px; height: 16px; }
.header-tel .tel-icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.header-tel .tel-number { font-size: 15px; letter-spacing: 0.02em; }

.btn-icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; }
.btn-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-large .btn-icon { width: 24px; height: 24px; }
.sp-fixed-tel .btn-icon { width: 20px; height: 20px; }
.sp-fixed-tel svg { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; width: 100%; height: 100%; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-text);
  margin: 0 auto;
}

@media (max-width: 960px) {
  .global-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .3s ease; border-top: 1px solid var(--color-border);
  }
  .global-nav.is-open { max-height: 80vh; padding: 12px 0; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav li { border-bottom: 1px solid var(--color-border); }
  .global-nav a { display: block; padding: 14px 24px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .header-tel .tel-number { display: none; }
  .header-tel { padding: 10px 14px; }
}

/* ===== ファーストビュー（紫陽花背景） ===== */
.hero {
  position: relative;
  background: url("../img/keyv.jpg") center/cover no-repeat;
  min-height: 540px;
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(1px);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero-box {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 48px 48px;
  max-width: 700px;
  box-shadow: 0 12px 40px rgba(109, 60, 48, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-lead {
  display: inline-block;
  background: var(--color-blue-light); color: var(--color-blue);
  padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; margin: 0 0 22px;
  letter-spacing: 0.04em;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.55; color: var(--color-text);
  margin: 0 0 22px; letter-spacing: 0.04em;
}
.hero-title .accent { color: var(--color-blue); }
.hero-sub {
  font-size: 15px; color: var(--color-text);
  margin: 0 0 32px; line-height: 1.95;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-note {
  margin: 24px 0 0; font-size: 13px; color: var(--color-text-mute);
  padding: 12px 16px; background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--color-pink); border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero { min-height: 480px; }
  .hero-inner { padding: 48px 18px; }
  .hero-box { padding: 32px 24px; }
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform .15s, background .2s, box-shadow .2s;
  text-align: center; line-height: 1.4;
}
.btn-primary {
  background: var(--color-blue); color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 205, 0.25);
}
.btn-primary:hover { opacity: 1; background: var(--color-blue-dark); transform: translateY(-1px); }
.btn-primary .btn-label strong { font-size: 18px; letter-spacing: 0.04em; display: block; }
.btn-primary .btn-icon { font-size: 18px; }

.btn-secondary {
  background: #fff; color: var(--color-blue);
  border: 2px solid var(--color-blue);
}
.btn-secondary:hover { background: var(--color-blue); color: #fff; opacity: 1; }

.btn-large {
  padding: 20px 44px; font-size: 18px;
}
.btn-large .btn-label { font-size: 22px; letter-spacing: 0.06em; }
.btn-large .btn-icon { font-size: 22px; }

/* ===== 特徴セクション ===== */
.features {
  padding: 70px 0 40px;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: #fff; padding: 36px 24px; text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  position: relative;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 56px; height: 4px; background: var(--color-pink);
  transform: translateX(-50%); border-radius: 0 0 4px 4px;
}
.feature-icon { font-size: 40px; margin-bottom: 10px; }
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 18px; margin: 12px 0 14px;
  color: var(--color-text); line-height: 1.5;
}
.feature-card p { margin: 0; font-size: 14px; color: var(--color-text-mute); line-height: 1.85; }

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 40px 0 20px; }
}

/* ===== セクション共通 ===== */
.section { padding: 80px 0; position: relative; }
.section-white { background: rgba(255, 255, 255, 0.85); }
.section-pink { background: var(--color-pink-bg); }
.section-blue {
  background: var(--color-blue);
  color: #fff;
}
.section-blue .section-title,
.section-blue .section-sub,
.section-blue .section-desc { color: #fff; }
.section-blue .section-sub { color: var(--color-pink-soft); }

.section-head { text-align: center; margin-bottom: 50px; }
.section-sub {
  display: block; font-size: 12px; letter-spacing: 0.3em;
  color: var(--color-pink-deep); font-weight: 700; margin: 0 0 12px;
}
.section-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 0 0 20px; color: var(--color-text);
  letter-spacing: 0.06em;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 40px; height: 2px; background: var(--color-pink);
  transform: translateX(-50%);
}
.section-blue .section-title::after { background: #fff; }
.section-desc {
  max-width: 720px; margin: 0 auto;
  font-size: 15px; line-height: 1.95;
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
}

/* ===== はじめての方へ ===== */
.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.info-card {
  background: #fff; padding: 28px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.info-card h3 {
  font-family: var(--font-serif);
  font-size: 17px; margin: 0 0 14px;
  color: var(--color-pink-deep);
  padding-bottom: 10px; border-bottom: 1px dashed var(--color-pink);
  display: flex; align-items: center; gap: 10px;
}
.info-card h3 .ic {
  display: inline-flex; width: 32px; height: 32px; flex-shrink: 0;
}
.info-card h3 .ic svg { width: 100%; height: 100%; }
.info-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.9; }
.info-card ul, .info-card ol { padding-left: 22px; margin: 0; }
.info-card li { font-size: 14px; line-height: 1.85; margin-bottom: 4px; }
.info-card small { color: var(--color-text-mute); font-size: 12px; }

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

/* ===== 診療内容 ===== */
.symptom-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.symptom-card {
  background: #fff; padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.symptom-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-pink);
}
.symptom-icon {
  display: flex;
  width: 72px; height: 72px;
  align-items: center; justify-content: center;
  margin: 0 auto 8px;
}
.symptom-icon svg { width: 100%; height: 100%; }
.symptom-card { text-align: center; }
.symptom-card h3 {
  font-family: var(--font-serif);
  font-size: 16px; margin: 4px 0 8px;
  color: var(--color-text);
}
.symptom-card p { margin: 0; font-size: 13.5px; color: var(--color-text-mute); line-height: 1.8; }
.medical-note {
  text-align: center; margin-top: 36px; font-size: 13px;
  color: var(--color-text-mute);
}

@media (max-width: 768px) {
  .symptom-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .symptom-card { padding: 18px 14px; }
  .symptom-card h3 { font-size: 14px; }
  .symptom-card p { font-size: 12.5px; }
  .symptom-icon { width: 60px; height: 60px; }
}

/* ===== 線画SVGアイコン共通 ===== */
.line-icon {
  display: block; width: 100%; height: 100%;
  overflow: visible;
}
.line-icon .ln { stroke: var(--icon-stroke); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.line-icon .ln-thin { stroke: var(--icon-stroke); stroke-width: 1.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.line-icon .ac { stroke: var(--icon-accent); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.line-icon .ac-thin { stroke: var(--icon-accent); stroke-width: 1.1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.line-icon .ac-fill { fill: var(--icon-accent); stroke: none; }
.line-icon .ac-soft { fill: var(--icon-accent-soft); stroke: none; }
.line-icon .ln-fill { fill: var(--icon-stroke); stroke: none; }
.line-icon .wh { fill: #fff; stroke: none; }

/* ===== 専門医診察（青背景＋眼科機器画像オーバーレイ） ===== */
#specialist {
  position: relative;
  background: linear-gradient(rgba(0, 0, 205, 0.85), rgba(0, 0, 205, 0.92)),
              url("../img/treatment_bg.jpg") center/cover no-repeat;
  color: #fff;
}
#specialist .section-title,
#specialist .section-sub { color: #fff; }
#specialist .section-sub { color: var(--color-pink-soft); }
#specialist .section-title::after { background: #fff; }

.specialist-block {
  max-width: 820px; margin: 0 auto;
  background: #fff; padding: 48px 48px;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 50, 0.25);
  color: var(--color-text);
}
.specialist-text h3 {
  font-family: var(--font-serif);
  font-size: 22px; margin: 0 0 24px;
  color: var(--color-pink-deep); line-height: 1.6;
}
.specialist-text p { font-size: 15px; line-height: 2; margin: 0 0 16px; }
.specialist-note {
  margin-top: 30px; padding: 22px 24px;
  background: var(--color-pink-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-pink);
}
.specialist-note p { margin: 0; font-size: 14px; }
.specialist-note strong { color: var(--color-pink-deep); }

@media (max-width: 768px) {
  .specialist-block { padding: 28px 22px; }
  .specialist-text h3 { font-size: 18px; }
}

.doctors-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #fff;
  text-align: center;
  font-size: 20px;
  margin: 56px 0 28px;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 14px;
}
.doctors-heading::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 40px; height: 2px; background: #fff;
  transform: translateX(-50%);
}

.doctor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 1100px; margin: 0 auto;
}
.doctor-specialist {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(0, 0, 50, 0.18);
  overflow: hidden;
  display: flex; flex-direction: column;
  border-top: 5px solid var(--color-pink-deep);
}
.doctor-specialist-head {
  padding: 26px 24px 18px;
  background: linear-gradient(180deg, var(--color-pink-bg) 0%, #fff 100%);
  text-align: center;
  border-bottom: 1px dashed var(--color-pink);
}
.doctor-specialist-tag {
  display: inline-block;
  background: var(--color-pink-deep); color: #fff;
  padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; margin-bottom: 12px;
}
.doctor-specialist-head h4 {
  font-family: var(--font-serif);
  font-size: 20px; margin: 0 0 6px;
  color: var(--color-text); letter-spacing: 0.04em;
}
.doctor-specialist-aff {
  margin: 0; font-size: 12.5px;
  color: var(--color-text-mute); line-height: 1.6;
}
.doctor-specialist-body {
  padding: 22px 24px 26px;
  color: var(--color-text);
  flex: 1;
}
.doctor-specialist-body p {
  margin: 0 0 14px; font-size: 14px;
  line-height: 1.85; color: var(--color-text);
}
.doctor-specialist-body p:last-child { margin-bottom: 0; }
.doctor-specialist-target {
  background: var(--color-pink-bg);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 13px !important;
  line-height: 1.85 !important;
  border-left: 3px solid var(--color-pink);
}
.doctor-specialist-target strong {
  color: var(--color-pink-deep); display: block; margin-bottom: 6px;
  font-size: 13px;
}

.specialist-cta {
  margin-top: 48px; text-align: center;
  background: rgba(255,255,255,0.96);
  padding: 32px 24px; border-radius: var(--radius-lg);
  max-width: 720px; margin-left: auto; margin-right: auto;
  margin-top: 48px;
}
.specialist-cta p {
  margin: 0 0 20px; color: var(--color-text); font-size: 15px;
}

@media (max-width: 860px) {
  .doctor-grid { grid-template-columns: 1fr; gap: 18px; }
  .doctors-heading { font-size: 18px; margin: 40px 0 22px; }
  .doctor-specialist-head h4 { font-size: 18px; }
  .specialist-cta { padding: 24px 18px; }
}

/* ===== 当院について ===== */
.about-block { max-width: 920px; margin: 0 auto; }
.about-message {
  text-align: center; margin-bottom: 56px;
  background: #fff; padding: 44px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.about-lead {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--color-pink-deep); line-height: 1.7;
  margin: 0 0 28px; letter-spacing: 0.04em;
}
.about-message p { font-size: 15px; line-height: 2; margin: 0 0 14px; }

.doctor-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.doctor-card {
  background: #fff; padding: 36px 28px; text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-pink);
}
.doctor-photo {
  width: 110px; height: 110px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--color-pink-soft);
  display: flex; align-items: center; justify-content: center;
}
.doctor-photo-placeholder { font-size: 48px; }
.doctor-card h3 {
  font-family: var(--font-serif); font-size: 18px;
  margin: 0 0 14px; color: var(--color-text);
}
.doctor-card p { margin: 0; font-size: 14px; color: var(--color-text-mute); line-height: 1.85; }

@media (max-width: 640px) {
  .doctor-cards { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: var(--radius);
  margin-bottom: 12px; box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 26px;
  font-weight: 700; font-size: 15px; color: var(--color-text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q."; display: inline-block; margin-right: 12px;
  color: var(--color-pink-deep); font-weight: 700;
  font-family: var(--font-serif); font-size: 18px;
}
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--color-blue);
  border-bottom: 2px solid var(--color-blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-body {
  padding: 0 26px 22px 56px;
  font-size: 14.5px; line-height: 1.9;
  color: var(--color-text-mute);
}
.faq-body p { margin: 0; }

@media (max-width: 600px) {
  .faq-item summary { padding: 16px 46px 16px 18px; font-size: 14px; }
  .faq-body { padding: 0 18px 18px 42px; font-size: 13.5px; }
}

/* ===== アクセス ===== */
.access-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: start;
}
.access-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.access-table th, .access-table td {
  padding: 18px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--color-border);
  font-size: 14.5px;
}
.access-table th {
  background: var(--color-pink-bg);
  width: 100px; font-weight: 700;
  color: var(--color-pink-deep);
  white-space: nowrap;
}
.access-table tr:last-child th,
.access-table tr:last-child td { border-bottom: 0; }

.hours-table { width: 100%; border-collapse: collapse; margin: 0 0 10px; }
.hours-table th, .hours-table td {
  border: 1px solid var(--color-border);
  padding: 8px 4px; text-align: center; font-size: 13px;
  font-weight: 500; background: #fff; width: auto; white-space: nowrap;
  color: var(--color-text);
}
.hours-table thead th { background: var(--color-blue); color: #fff; }
.hours-table tbody th { background: var(--color-pink-bg); color: var(--color-pink-deep); }
.hours-note { font-size: 12.5px; color: var(--color-text-mute); margin: 8px 0 0; line-height: 1.7; }

.access-map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

@media (max-width: 860px) {
  .access-block { grid-template-columns: 1fr; gap: 24px; }
  .access-table th { width: 80px; padding: 14px 12px; font-size: 13.5px; }
  .access-table td { padding: 14px 12px; }
}

/* ===== 最終CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--color-pink-bg) 0%, #fff 100%);
  padding: 70px 0; text-align: center;
  border-top: 4px solid var(--color-pink);
}
.final-cta h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(22px, 3.2vw, 30px);
  margin: 0 0 16px; color: var(--color-pink-deep);
}
.final-cta > .container > p {
  font-size: 15px; color: var(--color-text); margin: 0 0 32px;
}
.final-cta-note {
  margin-top: 20px !important;
  font-size: 13px;
  color: var(--color-text-mute) !important;
}

/* ===== フッター ===== */
.site-footer {
  background: var(--color-blue); color: #fff;
  padding: 56px 0 24px; font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  margin-bottom: 32px;
}
.footer-info p { margin: 0; line-height: 1.9; }
.footer-logo {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: #fff; margin: 0 0 12px !important;
  letter-spacing: 0.06em;
}
.site-footer a { color: #fff; }
.footer-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.footer-nav a {
  display: block; padding: 6px 0;
  border-left: 2px solid var(--color-pink); padding-left: 12px;
}
.copyright {
  text-align: center; margin: 0;
  padding-top: 24px; font-size: 12px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== お知らせ ===== */
.notice-list {
  max-width: 820px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.notice-item {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 24px; padding: 24px 28px;
  border-bottom: 1px solid var(--color-border);
}
.notice-item:last-child { border-bottom: 0; }
.notice-meta {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
}
.notice-date {
  font-family: var(--font-serif);
  font-size: 15px; color: var(--color-blue);
  font-weight: 700; letter-spacing: 0.04em;
}
.notice-tag {
  display: inline-block;
  background: var(--color-pink-soft); color: var(--color-pink-deep);
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 999px;
  letter-spacing: 0.08em;
}
.notice-body h3 {
  font-family: var(--font-serif);
  font-size: 16px; margin: 0 0 8px;
  color: var(--color-text);
}
.notice-body p {
  margin: 0; font-size: 14px;
  color: var(--color-text-mute); line-height: 1.85;
}

@media (max-width: 640px) {
  .notice-item {
    grid-template-columns: 1fr; gap: 10px;
    padding: 20px 18px;
  }
  .notice-meta { flex-direction: row; align-items: center; gap: 12px; }
}

/* ===== ごあいさつ ===== */
.greeting-block {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 48px; align-items: start;
  max-width: 1000px; margin: 0 auto;
}
.greeting-image {
  position: sticky; top: 100px;
}
.greeting-doctors-photo {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
}
.greeting-text {
  background: #fff; padding: 40px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-pink);
}
.greeting-catch {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--color-pink-deep); line-height: 1.7;
  margin: 0 0 24px; letter-spacing: 0.04em;
}
.greeting-text p {
  margin: 0 0 16px; font-size: 15px; line-height: 2;
  color: var(--color-text);
}
.greeting-text p.greeting-lead {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}
.greeting-text p.greeting-mute {
  font-size: 14.5px;
  color: var(--color-text-mute);
  line-height: 1.95;
}
.greeting-text strong {
  color: var(--color-blue);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(0, 0, 205, 0.08) 60%);
  padding: 0 2px;
}
.greeting-text mark {
  background: transparent;
  color: inherit;
  padding: 0 2px;
  font-weight: 700;
}
.greeting-text mark.hi,
.greeting-text mark.hi-pink {
  background: linear-gradient(transparent 55%, rgba(0, 0, 205, 0.18) 55%);
  color: var(--color-text);
}
.greeting-subhead {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--color-blue); line-height: 1.7;
  margin: 36px 0 20px; letter-spacing: 0.04em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.greeting-subhead::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 60px; height: 2px; background: var(--color-blue);
}
.greeting-quote {
  margin: 24px 0 20px; padding: 24px 28px;
  background: var(--color-pink-bg);
  border-left: 4px solid var(--color-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.greeting-quote p {
  margin: 0 !important;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--color-blue) !important;
  line-height: 1.85; letter-spacing: 0.04em;
  text-align: center;
}
.greeting-doctors {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px dashed var(--color-pink);
  display: flex; gap: 32px; flex-wrap: wrap;
}
.greeting-doctor {
  display: flex; flex-direction: column; gap: 4px;
}
.greeting-doctor-role {
  font-size: 12px; color: var(--color-pink-deep);
  letter-spacing: 0.12em; font-weight: 700;
}
.greeting-doctor-name {
  font-family: var(--font-serif);
  font-size: 20px; color: var(--color-text);
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .greeting-block { grid-template-columns: 1fr; gap: 24px; }
  .greeting-image { position: static; max-width: 260px; margin: 0 auto; }
  .greeting-text { padding: 28px 22px; }
  .greeting-doctors { gap: 20px; }
}

/* ===== 当院が選ばれる理由 ===== */
.reason-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.reason-card {
  position: relative;
  background: #fff; padding: 48px 28px 32px; text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform .2s, box-shadow .2s;
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.reason-no {
  position: absolute; top: 16px; left: 24px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 28px; font-weight: 700;
  color: var(--color-pink);
  letter-spacing: 0.05em;
}
.reason-card .reason-icon {
  width: 92px; height: 92px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.reason-card .reason-icon svg { width: 100%; height: 100%; }
.reason-card h3 {
  font-family: var(--font-serif);
  font-size: 19px; margin: 12px 0 16px;
  color: var(--color-text); line-height: 1.55;
}
.reason-card p {
  margin: 0; font-size: 14px;
  color: var(--color-text-mute); line-height: 1.95;
  text-align: left;
}

@media (max-width: 860px) {
  .reason-grid { grid-template-columns: 1fr; gap: 18px; }
  .reason-card { padding: 40px 22px 26px; }
}

/* ===== アクセス注釈 ===== */
.access-notes {
  margin-top: 22px;
  background: #fff;
  padding: 22px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-blue);
  box-shadow: var(--shadow-card);
}
.access-notes p {
  margin: 0 0 12px; font-size: 13.5px;
  color: var(--color-text-mute); line-height: 1.85;
}
.access-notes p:last-child { margin-bottom: 0; }
.access-notes strong { color: var(--color-pink-deep); }

.hours-recv {
  display: block; font-size: 11px;
  color: var(--color-text-mute); font-weight: 400;
  margin-top: 2px;
}

.map-link {
  display: inline-block; margin-top: 10px;
  font-size: 13px; color: var(--color-blue);
  font-weight: 700;
}

/* ===== 下層ページ ヘッダー ===== */
.page-hero {
  background: url("../img/keyv.jpg") center/cover no-repeat;
  padding: 90px 24px 70px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.75);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-sub {
  display: block; font-size: 12px; letter-spacing: 0.3em;
  color: var(--color-blue); font-weight: 700; margin: 0 0 12px;
}
.page-hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--color-text); margin: 0 0 22px;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.page-hero-title::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 50px; height: 2px; background: var(--color-blue);
  transform: translateX(-50%);
}
.page-hero-desc {
  margin: 0 auto; max-width: 680px;
  font-size: 15px; line-height: 1.95; color: var(--color-text);
}

@media (max-width: 640px) {
  .page-hero { padding: 60px 18px 50px; }
}

/* ===== 院内設備 ハイライトカード ===== */
.facility-hero {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  margin: 0 auto 64px;
  max-width: 980px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--color-blue);
}
.facility-hero-tag {
  display: inline-block;
  background: var(--color-blue); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 999px;
  letter-spacing: 0.1em;
  position: absolute; top: -14px; left: 40px;
}
.facility-hero-inner {
  display: grid; grid-template-columns: 220px 1fr; gap: 36px;
  align-items: center;
}
.facility-hero-icon {
  width: 100%; aspect-ratio: 1;
  background: var(--color-pink-bg);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.facility-hero-icon svg { width: 100%; height: 100%; }
.facility-hero-text h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--color-text); margin: 0 0 18px;
  line-height: 1.5; letter-spacing: 0.04em;
}
.facility-hero-jp {
  font-size: 14px; font-weight: 500;
  color: var(--color-text-mute); display: inline-block;
  margin-top: 6px; letter-spacing: 0.06em;
}
.facility-hero-text p {
  margin: 0 0 12px; font-size: 14.5px;
  line-height: 1.95; color: var(--color-text);
}
.facility-hero-text p:last-child { margin: 0; }

@media (max-width: 780px) {
  .facility-hero { padding: 32px 22px; }
  .facility-hero-tag { left: 22px; }
  .facility-hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .facility-hero-icon { max-width: 200px; margin: 0 auto; }
  .facility-hero-text h2 { text-align: center; }
}

.facility-section-title {
  font-family: var(--font-serif); font-weight: 700;
  text-align: center; font-size: 20px;
  color: var(--color-text); margin: 40px 0 32px;
  letter-spacing: 0.06em;
  position: relative; padding-bottom: 14px;
}
.facility-section-title::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 40px; height: 2px; background: var(--color-blue);
  transform: translateX(-50%);
}

/* ===== 院内設備 グリッド ===== */
.facility-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 980px; margin: 0 auto;
}
.facility-card {
  display: grid; grid-template-columns: 92px 1fr; gap: 20px;
  background: #fff; padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}
.facility-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.facility-icon {
  width: 92px; height: 92px;
  background: var(--color-pink-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.facility-icon svg { width: 100%; height: 100%; }
.facility-card h4 {
  font-family: var(--font-serif);
  font-size: 16px; margin: 0 0 8px;
  color: var(--color-text); line-height: 1.55;
  letter-spacing: 0.02em;
}
.facility-card p {
  margin: 0; font-size: 13.5px; line-height: 1.85;
  color: var(--color-text-mute);
}

@media (max-width: 780px) {
  .facility-grid { grid-template-columns: 1fr; gap: 16px; }
  .facility-card { grid-template-columns: 72px 1fr; gap: 16px; padding: 20px 18px; }
  .facility-icon { width: 72px; height: 72px; padding: 8px; }
}

.facility-note {
  max-width: 900px; margin: 48px auto 0;
  padding: 22px 24px;
  background: var(--color-pink-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-blue);
}
.facility-note p {
  margin: 0 0 8px; font-size: 13px;
  color: var(--color-text-mute); line-height: 1.85;
}
.facility-note p:last-child { margin: 0; }

/* ===== SP固定電話ボタン ===== */
.sp-fixed-tel {
  display: none;
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  background: var(--color-blue); color: #fff !important;
  padding: 16px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 205, 0.35);
  z-index: 99;
  align-items: center; justify-content: center; gap: 10px;
}
.sp-fixed-tel:hover { opacity: 1; }

@media (max-width: 768px) {
  .sp-fixed-tel { display: flex; }
  body { padding-bottom: 80px; }
}
