/* まごころ病院 - 共立美容外科風 見やすくわかりやすい */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
  --bg-beige: #f8f6f2;
  --bg-beige-alt: #f5f2ec;
  --bg-beige-dark: #ebe6de;
  --text-dark: #333333;
  --text-muted: #555555;
  --accent-gold: #8b7355;
  --accent-gold-light: #a68b5b;
  --accent-gold-bg: rgba(139, 115, 85, 0.08);
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Zen Kaku Gothic New', sans-serif;
  --border-color: #e0dbd2;
  /* サブページ互換 */
  --accent-teal: #8b7355;
  --accent-teal-dark: #a68b5b;
  --bg-color: #f8f6f2;
  --text-color: #333333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans), 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--bg-beige);
  overflow-x: hidden;
}
a, a:link, a:visited {
  color: inherit;
  text-decoration: none;
}
a:hover { color: var(--accent-gold); }
h1, h2, h3, h4 { font-family: var(--font-serif), 'Hiragino Mincho ProN', serif; }

/* スキップ・戻る・バッジ */
.clinic-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent-gold);
  color: #fff !important;
  font-weight: 600;
}
.clinic-skip:focus { left: 0; right: 0; text-align: center; }

.clinic-back {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-beige-dark);
  border-bottom: 1px solid var(--border-color);
}
.clinic-back:hover { color: var(--accent-gold); }

.clinic-badge {
  position: fixed;
  top: 50px;
  right: 16px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.9);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  z-index: 100;
}

/* トップバー - 共立風 */
.top-bar {
  background: #f0ebe5;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.top-bar.is-closed { display: none; }
.top-bar-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}
.top-bar-close:hover { color: var(--accent-gold); }
.top-bar-tel {
  color: var(--text-dark) !important;
  font-weight: 500;
}
.top-bar-tel:hover { color: var(--accent-gold) !important; text-decoration: none !important; }
.top-bar-tel strong { color: var(--accent-gold); margin-right: 8px; }
.top-bar-tel-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238b7355'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
  vertical-align: middle;
  margin-right: 6px;
}

/* ヒーロー - 共立風 */
.clinic-hero-kyoritsu {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: #1a1a1a;
}
.clinic-hero-kyoritsu-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1920&h=1080&fit=crop') center/cover no-repeat;
}
.clinic-hero-kyoritsu-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}
.clinic-hero-kyoritsu-content {
  position: relative;
  z-index: 1;
  padding: 60px 5%;
  max-width: 520px;
  text-align: right;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.clinic-hero-kyoritsu-label {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  opacity: 0.95;
}
.clinic-hero-kyoritsu-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.clinic-hero-kyoritsu-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* ヒーロー直下 CTA バー - 共立風 */
.hero-cta-bar {
  background: linear-gradient(180deg, #f8f6f2 0%, #f0ebe5 100%);
  padding: 40px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.hero-cta-lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.8;
}
.hero-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
}
.hero-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.hero-cta-tel {
  background: #dc2626;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}
.hero-cta-tel:hover { background: #b91c1c; color: #fff !important; }
.hero-cta-web {
  background: #2563eb;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}
.hero-cta-web:hover { background: #1d4ed8; color: #fff !important; }

/* スティッキーナビ */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border-color);
}
.sticky-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.sticky-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
  cursor: pointer;
  padding: 8px 0;
}
.sticky-nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}
.sticky-nav-logo:hover { color: var(--accent-gold); }
.sticky-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sticky-nav-list li { margin: 0; }
.sticky-nav-list a {
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--text-dark) !important;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}
.sticky-nav-list a:hover {
  color: var(--accent-gold);
  background: var(--accent-gold-bg);
}
.sticky-nav-cta-tel {
  background: #dc2626 !important;
  color: #fff !important;
  font-weight: 600;
  margin-left: 8px;
  border-radius: 6px;
  padding: 10px 20px !important;
}
.sticky-nav-cta-tel:hover { background: #b91c1c !important; color: #fff !important; }
.sticky-nav-cta-web {
  background: #2563eb !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 20px !important;
}
.sticky-nav-cta-web:hover { background: #1d4ed8 !important; color: #fff !important; }

/* コンテナ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* セクション共通 */
.kyo-section {
  padding: 72px 0;
  scroll-margin-top: 88px;
}
.clinic-hero-kyoritsu { scroll-margin-top: 0; }
.kyo-section:nth-child(even) { background: var(--bg-beige); }
.kyo-section:nth-child(odd):not(.kyo-about) { background: #fff; }

.kyo-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
}
.kyo-section-en {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.kyo-section-lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ボタン */
.kyo-btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
}
.kyo-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.kyo-btn-gold {
  background: var(--accent-gold);
  color: #fff !important;
  border: none;
  cursor: pointer;
}
.kyo-btn-gold:hover {
  background: var(--accent-gold-light);
  color: #fff !important;
  text-decoration: none;
}
.kyo-btn-outline-light {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.8);
}
.kyo-btn-outline-light:hover { background: rgba(255,255,255,0.15); color: #fff !important; }
.kyo-cta-wrap { text-align: center; margin-top: 32px; }

/* MENU グリッド */
.kyo-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kyo-menu-item {
  display: block;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text-dark) !important;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.kyo-menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  color: var(--text-dark) !important;
  text-decoration: none !important;
}
.kyo-menu-thumb {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.kyo-menu-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 16px;
  background: #fff;
}

/* ABOUT */
.kyo-about {
  position: relative;
  padding: 80px 0;
  color: #fff;
}
.kyo-about-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1920&h=600&fit=crop') center/cover no-repeat;
}
.kyo-about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
}
.kyo-about-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.kyo-section-title-light .kyo-section-en { color: rgba(255,255,255,0.9); }
.kyo-section-title-light { color: #fff; }
.kyo-about-lead {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}
.kyo-about-desc {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* PICK UP 横スクロール */
.kyo-pickup-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}
.kyo-pickup-scroll::-webkit-scrollbar { height: 6px; }
.kyo-pickup-scroll::-webkit-scrollbar-track { background: var(--bg-beige-dark); border-radius: 3px; }
.kyo-pickup-scroll::-webkit-scrollbar-thumb { background: var(--accent-gold); border-radius: 3px; }
.kyo-pickup-card {
  flex: 0 0 280px;
  display: block;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.kyo-pickup-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.kyo-pickup-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}
.kyo-pickup-title {
  display: block;
  padding: 16px 16px 4px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}
.kyo-pickup-desc {
  display: block;
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* POINT 比較表 */
.kyo-point-lead {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.7;
}
.kyo-compare-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}
.kyo-compare-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.kyo-compare-table th,
.kyo-compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.kyo-compare-table th {
  background: var(--accent-gold-bg);
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 0.95rem;
}
.kyo-compare-table tr:last-child td { border-bottom: none; }
.kyo-compare-table td {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* DOCTOR */
.kyo-doctor-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.kyo-doctor-card {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.kyo-doctor-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.kyo-doctor-photo {
  height: 240px;
  background-size: cover;
  background-position: top center;
}
.kyo-doctor-info { padding: 24px; }
.kyo-doctor-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.kyo-doctor-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.kyo-doctor-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
}
.kyo-doctor-link:hover { text-decoration: underline; }

/* FACILITY */
.kyo-facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.kyo-facility-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.kyo-facility-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.kyo-facility-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.kyo-facility-body { padding: 24px; }
.kyo-facility-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.kyo-facility-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CONTENTS */
.kyo-contents-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.kyo-contents-list a {
  font-size: 1rem;
  color: var(--text-dark) !important;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.kyo-contents-list a:hover {
  color: var(--accent-gold) !important;
  background: var(--accent-gold-bg);
  text-decoration: none !important;
}

/* RESERVE */
.kyo-reserve {
  background: var(--accent-gold-bg) !important;
}
.kyo-reserve-lead {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: var(--text-dark);
}
.kyo-reserve-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.kyo-reserve-btn {
  display: inline-block;
  padding: 18px 48px;
  min-width: 200px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.kyo-reserve-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.kyo-reserve-tel {
  background: #dc2626;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}
.kyo-reserve-tel:hover { background: #b91c1c; color: #fff !important; }
.kyo-reserve-web {
  background: #2563eb;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.kyo-reserve-web:hover { background: #1d4ed8; color: #fff !important; }
.kyo-reserve-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* NEWS */
.kyo-news-list {
  list-style: none;
  margin-bottom: 24px;
}
.kyo-news-list li { border-bottom: 1px solid var(--border-color); }
.kyo-news-list li:last-child { border-bottom: none; }
.kyo-news-list a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  transition: background 0.15s;
  color: var(--text-dark) !important;
}
.kyo-news-list a:hover {
  background: var(--accent-gold-bg);
  color: var(--text-dark) !important;
  text-decoration: none !important;
}
.kyo-news-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-width: 100px;
}
.kyo-news-title {
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
}

/* ACCESS */
.kyo-access-info {
  padding: 32px 40px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.8;
}
.kyo-access-info p { margin-bottom: 12px; }
.kyo-access-info p:last-child { margin-bottom: 0; }
.kyo-access-tel a {
  color: var(--accent-gold) !important;
  font-weight: 600;
}
.kyo-access-tel a:hover {
  text-decoration: underline;
  color: var(--accent-gold-light) !important;
}

/* Footer */
.kyo-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 32px;
}
.kyo-footer-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  text-align: center;
}
.kyo-footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.kyo-footer-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.kyo-footer-nav a:hover { color: #fff; text-decoration: underline; }
.kyo-footer-tel {
  text-align: center;
  margin-bottom: 8px;
}
.kyo-footer-tel a {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.kyo-footer-hours {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.kyo-footer-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 16px;
}
.kyo-footer-copy {
  text-align: center;
  font-size: 0.9rem;
}
.kyo-footer-copy a { color: var(--accent-gold-light); }
.kyo-footer-copy a:hover { text-decoration: underline; }

/* Fade-in（clinic-main.js用） */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* サブページ互換（reserve, facility, blog等） */
.clinic-page .reserve-form,
.clinic-page .staff-wrap,
.clinic-page .blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  line-height: 1.8;
}
.clinic-page .reserve-form h1,
.clinic-page .blog-article h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.4;
}
.clinic-page .reserve-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}
.clinic-page .reserve-flow {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}
.clinic-page .reserve-flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.6;
}
.clinic-page .reserve-flow-num {
  width: 36px;
  height: 36px;
  background: var(--accent-gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.clinic-page .reserve-step {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}
.clinic-page .reserve-step:last-of-type { border-bottom: none; }
.clinic-page .reserve-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.clinic-page .reserve-step h3::before {
  content: '';
  width: 4px;
  height: 1.2em;
  background: var(--accent-gold);
  border-radius: 2px;
}
.clinic-page .reserve-step .required {
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 500;
}
.clinic-page .reserve-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}
.clinic-page .reserve-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.clinic-page .reserve-form input,
.clinic-page .reserve-form select,
.clinic-page .reserve-form textarea {
  border: 2px solid var(--border-color);
  background: #fff;
  color: var(--text-dark);
  font-size: 16px;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.clinic-page .reserve-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: inherit;
}
.clinic-page .reserve-form input:focus,
.clinic-page .reserve-form select:focus,
.clinic-page .reserve-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-bg);
}
.clinic-page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.clinic-page .form-field {
  margin-bottom: 0;
}
.clinic-page .form-field:last-child { margin-bottom: 0; }
.clinic-page .form-row + .form-field { margin-top: 20px; }
.clinic-page .dept-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.clinic-page .dept-opt {
  min-height: 56px;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  background: #fff;
  transition: all 0.2s;
}
.clinic-page .dept-opt:hover,
.clinic-page .time-slot:hover { border-color: var(--accent-gold); }
.clinic-page .dept-opt:has(input:checked),
.clinic-page .time-slot.selected {
  border-color: var(--accent-gold);
  background: var(--accent-gold-bg);
  box-shadow: 0 0 0 2px var(--accent-gold-bg);
}
.clinic-page .visit-options {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.clinic-page .visit-opt {
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s;
  background: #fff;
}
.clinic-page .visit-opt:hover { border-color: var(--accent-gold); }
.clinic-page .visit-opt:has(input:checked) {
  border-color: var(--accent-gold);
  background: var(--accent-gold-bg);
}
.clinic-page .visit-opt input { width: 18px; height: 18px; }
.clinic-page .time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.clinic-page .time-slot {
  min-height: 48px;
  min-width: 80px;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: #fff;
}
.clinic-page .time-slot.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--bg-beige-dark);
}
.clinic-page .reserve-summary {
  padding: 24px 28px;
  margin: 32px 0 24px;
  background: var(--accent-gold-bg);
  border: 1px solid rgba(139, 115, 85, 0.25);
  border-radius: 12px;
  line-height: 1.8;
}
.clinic-page .reserve-summary h3 {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--accent-gold);
}
.clinic-page .reserve-summary dl { display: grid; gap: 12px; }
.clinic-page .reserve-summary dt {
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 0.9rem;
}
.clinic-page .reserve-summary dd { margin: 0; color: var(--text-dark); }
.clinic-page .btn-submit {
  width: 100%;
  padding: 18px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--accent-gold);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
  min-height: 56px;
}
.clinic-page .btn-submit:hover {
  background: var(--accent-gold-light);
}
.clinic-page .reserve-notice {
  padding: 28px 32px;
  line-height: 2;
}
.clinic-page .reserve-notice ul { padding-left: 28px; }
.clinic-page .reserve-notice li { margin-bottom: 8px; }

/* 予約ページ 注意書き */
.clinic-notice {
  padding: 24px 28px;
  background: rgba(254, 243, 199, 0.5);
  border: 1px solid rgba(139, 115, 85, 0.3);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 24px 0;
}
.clinic-notice strong { display: block; margin-bottom: 12px; }
.clinic-notice ul { margin: 0; padding-left: 24px; line-height: 1.8; }

/* 旧ヘッダー非表示（index専用でkyoritsuスタイル時） */
.clinic-kyoritsu-style .clinic-header { display: none; }

/* サブページ用ヘッダー（light theme） */
.clinic-page:not(.clinic-kyoritsu-style) .clinic-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border-color);
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
/* ヘッダー内レイアウト・行間 */
.clinic-page:not(.clinic-kyoritsu-style) .clinic-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  min-height: 58px;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-logo {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 6px 0;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-logo:hover { color: var(--accent-gold); }
.clinic-page:not(.clinic-kyoritsu-style) .clinic-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-header-nav a {
  color: var(--text-dark);
  padding: 10px 16px;
  line-height: 1.6;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-header-nav a:hover { color: var(--accent-gold); background: var(--accent-gold-bg); }
.clinic-page:not(.clinic-kyoritsu-style) .clinic-nav-cta {
  background: var(--accent-gold) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 600;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-nav-cta:hover {
  background: var(--accent-gold-light) !important;
  color: #fff !important;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-section {
  background: var(--bg-beige);
  color: var(--text-dark);
  padding: 60px 24px;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-section h1 { color: var(--text-dark); }
.clinic-page:not(.clinic-kyoritsu-style) .clinic-section p { color: var(--text-muted); }
.clinic-page:not(.clinic-kyoritsu-style) .feature-card,
.clinic-page:not(.clinic-kyoritsu-style) .dept-card,
.clinic-page:not(.clinic-kyoritsu-style) .facility-card {
  background: #fff;
  border-color: var(--border-color);
}
.clinic-page:not(.clinic-kyoritsu-style) .feature-card:hover,
.clinic-page:not(.clinic-kyoritsu-style) .dept-card:hover,
.clinic-page:not(.clinic-kyoritsu-style) .facility-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(139, 115, 85, 0.12);
}
.clinic-page:not(.clinic-kyoritsu-style) .feature-icon { background: var(--accent-gold); }
.clinic-page:not(.clinic-kyoritsu-style) .dept-surgery .dept-icon,
.clinic-page:not(.clinic-kyoritsu-style) .dept-internal .dept-icon,
.clinic-page:not(.clinic-kyoritsu-style) .dept-ent .dept-icon,
.clinic-page:not(.clinic-kyoritsu-style) .dept-ortho .dept-icon { filter: brightness(0.9); }
.clinic-page:not(.clinic-kyoritsu-style) .dept-link { color: var(--accent-gold); }
.clinic-page:not(.clinic-kyoritsu-style) .blog-item { border-color: var(--border-color); }
.clinic-page:not(.clinic-kyoritsu-style) .blog-item:hover { background: var(--accent-gold-bg); }
.clinic-page:not(.clinic-kyoritsu-style) .blog-item-date { color: var(--text-muted); }
.clinic-page:not(.clinic-kyoritsu-style) .blog-item-title { color: var(--text-dark); }
.clinic-page:not(.clinic-kyoritsu-style) .blog-item-excerpt { color: var(--text-muted); }
.clinic-page:not(.clinic-kyoritsu-style) .facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.clinic-page:not(.clinic-kyoritsu-style) .facility-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.clinic-page:not(.clinic-kyoritsu-style) .facility-card-body { padding: 24px; }
.clinic-page:not(.clinic-kyoritsu-style) .facility-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.clinic-page:not(.clinic-kyoritsu-style) .facility-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.clinic-page:not(.clinic-kyoritsu-style) .clinic-info { background: #fff; border-color: var(--border-color); }
.clinic-page:not(.clinic-kyoritsu-style) .hours-days { color: var(--accent-gold); }
.clinic-page:not(.clinic-kyoritsu-style) .clinic-footer {
  background: var(--text-dark);
  margin-top: 0;
  padding: 48px 24px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 0.95rem;
}
.clinic-page:not(.clinic-kyoritsu-style) .footer-main { margin-bottom: 12px; }
.clinic-page:not(.clinic-kyoritsu-style) .footer-links a { color: var(--accent-gold-light); }
.clinic-page:not(.clinic-kyoritsu-style) .footer-links a:hover { text-decoration: underline; }
.clinic-page:not(.clinic-kyoritsu-style) .clinic-cta {
  background: var(--accent-gold);
  color: #fff !important;
}
.clinic-page:not(.clinic-kyoritsu-style) .clinic-cta:hover {
  background: var(--accent-gold-light);
  color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .top-bar { padding: 8px 16px; font-size: 13px; }
  .clinic-hero-kyoritsu-content { padding: 40px 20px; text-align: center; }
  .clinic-hero-kyoritsu-bg::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.3) 100%);
  }
  .hero-cta-bar { padding: 28px 16px; }
  .hero-cta-btns { flex-direction: column; }
  .hero-cta-btn { width: 100%; max-width: 280px; }
  .sticky-nav-toggle { display: block; }
  .sticky-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border-color);
  }
  .sticky-nav-list.is-open { display: flex; }
  .sticky-nav-list a { padding: 12px 16px; }
  .kyo-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .kyo-pickup-card { flex: 0 0 240px; }
  .kyo-doctor-card { max-width: 100%; }
  .kyo-section { padding: 48px 0; }
  .kyo-reserve-btns { flex-direction: column; }
  .kyo-reserve-btn { width: 100%; max-width: 280px; margin: 0 auto; }
  .kyo-footer-nav { flex-direction: column; align-items: center; }
}
@media (max-width: 520px) {
  .kyo-menu-grid { grid-template-columns: 1fr; }
  .kyo-section-title { font-size: 1.25rem; }
}

/* ヘッダーナビ モバイル */
@media (max-width: 768px) {
  .clinic-page:not(.clinic-kyoritsu-style) .clinic-header-inner {
    padding: 12px 16px;
    gap: 12px;
  }
  .clinic-page:not(.clinic-kyoritsu-style) .clinic-header-nav {
    gap: 6px;
  }
  .clinic-page:not(.clinic-kyoritsu-style) .clinic-header-nav a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

/* 予約フォーム モバイル */
@media (max-width: 768px) {
  .clinic-page .form-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
  .clinic-page .form-row .form-field { margin-bottom: 20px; }
  .clinic-page .form-row .form-field:last-child { margin-bottom: 0; }
  .clinic-page .reserve-flow {
    flex-direction: column;
    gap: 20px;
  }
  .clinic-page .reserve-flow-step {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 16px;
  }
  .clinic-page .dept-options {
    grid-template-columns: 1fr;
  }
  .clinic-page .dept-opt { min-height: 52px; }
  .clinic-page .visit-options { flex-direction: column; }
  .clinic-page .visit-opt { min-width: 120px; }
}
