/* ── CSS VARIABLES ── */
:root {
  --blue:        #1a5276;
  --blue-mid:    #2e86c1;
  --blue-light:  #d6eaf8;
  --blue-pale:   #eaf4fb;
  --green:       #1a7a4a;
  --green-light: #d4efdf;
  --white:       #ffffff;
  --off-white:   #f8fbfd;
  --gray-100:    #f0f4f8;
  --gray-200:    #e0e8f0;
  --gray-400:    #a0b4c8;
  --gray-600:    #5a7a9a;
  --gray-800:    #2a3a4a;
  --text:        #1e2d3a;
  --serif:       'Noto Serif JP', serif;
  --sans:        'Noto Sans JP', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

/* WordPress admin bar offset */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 68px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: all .3s;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--blue-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; fill: white; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .05em;
  line-height: 1.2;
}
.logo-sub { font-size: 10px; color: var(--gray-600); letter-spacing: .08em; }

/* ── NAVIGATION ── */
#site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
#site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
#site-nav ul li a,
#site-nav > a {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-600);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all .2s;
  letter-spacing: .03em;
  display: inline-block;
}
#site-nav ul li a:hover,
#site-nav > a:hover { color: var(--blue); background: var(--blue-pale); }
.nav-reserve {
  background: var(--blue-mid) !important;
  color: white !important;
  padding: 9px 18px !important;
  border-radius: 4px;
  font-weight: 500 !important;
}
.nav-reserve:hover { background: var(--blue) !important; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: all .3s;
  display: block;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  z-index: 199;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--gray-800);
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}
.mobile-menu a:hover { background: var(--blue-pale); color: var(--blue); }
.mobile-menu.open { display: flex; }

/* ── SECTION COMMON ── */
section { position: relative; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--blue-mid);
  opacity: .5;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.4;
}
.section-lead { font-size: 14px; color: var(--gray-600); margin-top: 12px; line-height: 2; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--blue-mid);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; fill: white; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: 2px solid var(--blue-mid);
  color: var(--blue-mid);
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s;
  background: transparent;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--blue-pale); }
.btn-secondary svg { width: 16px; height: 16px; stroke: var(--blue-mid); fill: none; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: white;
  color: var(--blue-mid);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
}
.btn-white:hover { background: var(--blue-pale); transform: translateY(-1px); }
.btn-white svg { width: 16px; height: 16px; stroke: var(--blue-mid); fill: none; }
.btn-outline-w {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid rgba(255, 255, 255, .6);
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .3s;
}
.btn-outline-w:hover { border-color: white; background: rgba(255, 255, 255, .1); }
.btn-outline-w svg { width: 16px; height: 16px; stroke: white; fill: none; }

/* ── HERO ── */
.hero { min-height: 100vh; padding-top: 68px; display: flex; flex-direction: column; }
.hero-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 60px 60px;
  background: var(--white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--green-light);
  border-radius: 20px;
  margin-bottom: 28px;
  width: fit-content;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}
.badge-text { font-size: 12px; font-weight: 500; color: var(--green); letter-spacing: .05em; }

/* ── バッジ状態バリエーション ── */
/* is-open は既存の緑スタイルをそのまま使用 */
.hero-badge.is-break {
  background: #fef9e7;
}
.hero-badge.is-break .badge-dot {
  background: #e67e22;
}
.hero-badge.is-break .badge-text {
  color: #d35400;
}
.hero-badge.is-before {
  background: var(--blue-pale);
}
.hero-badge.is-before .badge-dot {
  background: var(--blue-mid);
  animation: none;
}
.hero-badge.is-before .badge-text {
  color: var(--blue);
}
.hero-badge.is-closed {
  background: var(--gray-100);
}
.hero-badge.is-closed .badge-dot {
  background: var(--gray-400);
  animation: none;
}
.hero-badge.is-closed .badge-text {
  color: var(--gray-600);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.5;
  margin-bottom: 20px;
}
.hero-title span { color: var(--blue-mid); }
.hero-desc { font-size: 14px; color: var(--gray-600); line-height: 2.2; margin-bottom: 36px; max-width: 440px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img {
  background: linear-gradient(135deg, #d6eaf8 0%, #aed6f1 40%, #7fb3d3 100%);
  position: relative;
  overflow: hidden;
}
.hero-img-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-illustration { width: 80%; max-width: 360px; }
/* 管理画面から設定した画像 */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-stats {
  background: var(--blue);
  padding: 20px 60px;
  display: flex;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-right: 1px solid rgba(255, 255, 255, .15);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 28px; font-weight: 600; color: white; line-height: 1; }
.stat-unit { font-size: 11px; color: rgba(255, 255, 255, .6); margin-left: 3px; }
.stat-label { font-size: 10px; color: rgba(255, 255, 255, .5); letter-spacing: .1em; margin-top: 4px; }

/* ── TICKER ── */
.ticker { background: var(--blue-mid); padding: 10px 0; overflow: hidden; }
.ticker-inner {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.ticker-badge {
  background: white;
  color: var(--blue-mid);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: .08em;
  white-space: nowrap;
  margin-right: 16px;
}
.ticker-text { font-size: 12px; color: rgba(255, 255, 255, .9); letter-spacing: .04em; }

/* ── NEWS ── */
.news-section { padding: 72px 0; background: var(--off-white); }
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.news-item {
  background: white;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background .2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.news-item:hover { background: var(--blue-pale); }
.news-tag {
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.tag-info, .tag-closed    { background: var(--blue-light); color: var(--blue); }
.tag-recruit              { background: var(--green-light); color: var(--green); }
.tag-news                 { background: #fdebd0; color: #d35400; }
.news-body { flex: 1; }
.news-date { font-size: 11px; color: var(--gray-400); margin-bottom: 5px; }
.news-title { font-size: 13px; color: var(--gray-800); line-height: 1.7; }
.news-more { text-align: center; margin-top: 28px; }

/* ── STRENGTHS ── */
.strengths-section { padding: 80px 0; background: var(--white); }
.strengths-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strength-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.strength-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-mid);
}
.strength-card:hover { box-shadow: 0 8px 32px rgba(46, 134, 193, .12); transform: translateY(-3px); }
.strength-icon {
  width: 60px;
  height: 60px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.strength-icon svg { width: 28px; height: 28px; stroke: var(--blue-mid); fill: none; stroke-width: 1.5; }
.strength-title { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.strength-text { font-size: 12px; color: var(--gray-600); line-height: 1.9; }

/* ── SERVICE ── */
.service-section { padding: 80px 0; background: var(--gray-100); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.service-img {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.si-1 { background: linear-gradient(135deg, #d6eaf8, #7fb3d3); }
.si-2 { background: linear-gradient(135deg, #d4efdf, #82c9a0); }
.si-3 { background: linear-gradient(135deg, #fdebd0, #f0b27a); }
.si-4 { background: linear-gradient(135deg, #e8d5f5, #c39bd3); }
.si-5 { background: linear-gradient(135deg, #d5f5e3, #7dcea0); }
.si-6 { background: linear-gradient(135deg, #fdf2e9, #f0a500); }
.service-icon-big {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, .5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon-big svg { width: 28px; height: 28px; stroke: white; fill: none; stroke-width: 1.5; }
.service-body { padding: 20px 18px; }
.service-name { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.service-desc { font-size: 12px; color: var(--gray-600); line-height: 1.9; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--blue-mid);
  margin-top: 10px;
  text-decoration: none;
}
.service-link svg { width: 14px; height: 14px; stroke: var(--blue-mid); fill: none; }

/* ── STAFF ── */
.staff-section { padding: 80px 0; background: var(--white); }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.staff-card {
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all .3s;
}
.staff-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.staff-photo {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-1 { background: linear-gradient(160deg, #aed6f1, #5dade2); }
.sp-2 { background: linear-gradient(160deg, #a9dfbf, #52be80); }
.sp-3 { background: linear-gradient(160deg, #f9e4b7, #f0a500); }
.sp-4 { background: linear-gradient(160deg, #d7bde2, #a569bd); }
.sp-5 { background: linear-gradient(160deg, #f5b7b1, #e74c3c); }
.sp-6 { background: linear-gradient(160deg, #a2d9ce, #1abc9c); }
.staff-avatar {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, .4);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .7);
}
.staff-info { padding: 16px 12px; }
.staff-role {
  display: inline-block;
  padding: 2px 10px;
  background: var(--blue-light);
  border-radius: 2px;
  font-size: 10px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: .05em;
}
.staff-name { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.staff-spec { font-size: 11px; color: var(--gray-600); }

/* ── VOICE ── */
.voice-section { padding: 80px 0; background: var(--blue); }
.voice-section .section-title { color: white; }
.voice-section .eyebrow { color: rgba(255, 255, 255, .7); }
.voice-section .eyebrow::before,
.voice-section .eyebrow::after { background: rgba(255, 255, 255, .4); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voice-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  padding: 24px 20px;
  backdrop-filter: blur(4px);
}
.voice-stars { color: #f1c40f; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.voice-text { font-size: 13px; color: rgba(255, 255, 255, .8); line-height: 2; margin-bottom: 16px; }
.voice-author {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.voice-author::before { content: ''; width: 16px; height: 1px; background: rgba(255, 255, 255, .3); }
.voice-tag {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(255, 255, 255, .1);
  border-radius: 2px;
  font-size: 10px;
  color: rgba(255, 255, 255, .5);
  margin-right: 6px;
}

/* ── 患者様の声 一覧ページ ── */
.voice-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice-list-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.voice-list-card .voice-text { color: var(--gray-800); font-size: 14px; }
.voice-list-card .voice-author { color: var(--gray-600); }
.voice-list-card .voice-author::before { background: var(--gray-200); }
.voice-list-card .voice-tag {
  background: var(--blue-pale);
  color: var(--blue-mid);
}

/* ── ACCESS ── */
.access-section { padding: 80px 0; background: var(--off-white); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.map-container { border-radius: 8px; overflow: hidden; height: 320px; background: var(--gray-200); position: relative; }
.map-container iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #e0ecf8 0%, #c8ddf0 100%);
  position: relative;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(46, 134, 193, .1) 40px),
              repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(46, 134, 193, .1) 40px);
}
.map-pin-big {
  width: 36px;
  height: 44px;
  background: var(--blue-mid);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  z-index: 2;
}
.map-pin-big::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
}
.map-label-box {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(26, 82, 118, .9);
  color: white;
  font-size: 11px;
  padding: 8px 14px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.access-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--blue); margin-bottom: 24px; }
.info-block {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.info-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon-wrap {
  width: 36px; height: 36px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-icon-wrap svg { width: 16px; height: 16px; stroke: var(--blue-mid); fill: none; stroke-width: 1.5; }
.info-label { font-size: 10px; font-weight: 500; letter-spacing: .1em; color: var(--blue-mid); margin-bottom: 4px; }
.info-value { font-size: 13px; color: var(--gray-800); line-height: 1.8; }
.info-note { font-size: 11px; color: var(--gray-600); margin-top: 3px; }

/* ── CTA BAND ── */
.cta-band { background: var(--blue-mid); padding: 60px 24px; }
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}
.cta-desc { font-size: 14px; color: rgba(255, 255, 255, .8); margin-bottom: 32px; line-height: 2; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-section { padding: 80px 0; background: var(--white); }
.contact-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.contact-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--blue); margin-bottom: 16px; }
.contact-info p { font-size: 13px; color: var(--gray-600); line-height: 2; margin-bottom: 24px; }
.contact-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--blue-pale);
  border-radius: 4px;
  margin-bottom: 12px;
  text-decoration: none;
}
.tel-icon {
  width: 36px; height: 36px;
  background: var(--blue-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tel-icon svg { width: 18px; height: 18px; fill: white; }
.tel-num { font-size: 20px; font-weight: 700; color: var(--blue); font-family: var(--serif); }
.tel-note { font-size: 10px; color: var(--gray-600); }
.contact-hours {
  font-size: 12px;
  color: var(--gray-600);
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: 4px;
  line-height: 1.9;
}
.form-wrap { background: var(--gray-100); padding: 32px; border-radius: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--gray-800); margin-bottom: 6px; }
.form-label span { font-size: 10px; color: var(--blue-mid); background: var(--blue-light); padding: 1px 5px; border-radius: 2px; margin-left: 4px; }
.form-input, .form-select, .form-textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus,
.wpcf7-form-control:focus { border-color: var(--blue-mid); }
.form-select,
.wpcf7-form-control.wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7a9a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-textarea,
.wpcf7-form-control.wpcf7-textarea { resize: vertical; min-height: 110px; line-height: 1.8; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue-mid); }
.form-check label { font-size: 12px; color: var(--gray-600); line-height: 1.8; }
.form-check a { color: var(--blue-mid); }
.btn-submit,
.wpcf7-form-control.wpcf7-submit {
  width: 100%;
  padding: 15px;
  background: var(--blue-mid);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  letter-spacing: .05em;
}
.btn-submit:hover,
.wpcf7-form-control.wpcf7-submit:hover { background: var(--blue); }

/* ── FOOTER ── */
#site-footer { background: var(--gray-800); padding: 56px 0 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 28px;
}
.footer-brand .logo-name { color: white; font-size: 18px; }
.footer-brand .logo-sub { color: rgba(255, 255, 255, .4); }
.footer-brand .logo-mark { background: var(--blue-mid); }
.footer-desc { font-size: 12px; color: rgba(255, 255, 255, .35); line-height: 2; margin-top: 16px; }
.footer-col h4 { font-size: 10px; font-weight: 500; letter-spacing: .2em; color: var(--blue-mid); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 12px; color: rgba(255, 255, 255, .4); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: rgba(255, 255, 255, .8); }
.footer-tel { font-size: 18px; font-weight: 700; color: white; font-family: var(--serif); margin-bottom: 4px; text-decoration: none; display: block; }
.footer-hours { font-size: 11px; color: rgba(255, 255, 255, .35); line-height: 1.8; }
.footer-bottom { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; flex-direction: column; }
.footer-copy { font-size: 11px; color: rgba(255, 255, 255, .2); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 11px; color: rgba(255, 255, 255, .3); text-decoration: none; }
.footer-links a:hover { color: rgba(255, 255, 255, .6); }

/* ── PAGE TOP BUTTON ── */
.page-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--blue-mid);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(46, 134, 193, .4);
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 100;
}
.page-top.show { opacity: 1; transform: translateY(0); }
.page-top svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; }

/* ── SCROLL ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ── PAGE HERO (固定ページ用) ── */
.page-main { padding-top: 68px; min-height: 60vh; }
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 56px 0;
  margin-bottom: 0;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: white;
  line-height: 1.4;
}
.page-body { padding: 60px 24px; }
.page-article .entry-content { font-size: 15px; line-height: 2; color: var(--text); max-width: 800px; }
.page-article .entry-content h2 { font-family: var(--serif); font-size: 22px; color: var(--blue); margin: 40px 0 16px; }
.page-article .entry-content h3 { font-size: 18px; color: var(--blue); margin: 32px 0 12px; }
.page-article .entry-content p { margin-bottom: 16px; }
.page-article .entry-content ul, .page-article .entry-content ol { padding-left: 24px; margin-bottom: 16px; list-style: disc; }

/* ════════════════════════════════════
   固定ページ共通
════════════════════════════════════ */
.inner-section { padding: 72px 0; }
.inner-section + .inner-section { padding-top: 0; }
.bg-off { background: var(--off-white); }
.bg-blue { background: var(--blue); }

/* ── 法人案内（about）── */
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.philosophy-card {
  padding: 32px 24px;
  background: var(--blue-pale);
  border-radius: 8px;
  border-top: 4px solid var(--blue-mid);
  text-align: center;
}
.philosophy-icon {
  width: 56px; height: 56px;
  background: var(--blue-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.philosophy-icon svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 1.5; }
.philosophy-card h3 { font-family: var(--serif); font-size: 18px; color: var(--blue); margin-bottom: 10px; }
.philosophy-card p { font-size: 13px; color: var(--gray-600); line-height: 1.9; }

.greeting-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.greeting-photo {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(160deg, #aed6f1, #5dade2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.greeting-photo .staff-avatar { width: 100px; height: 100px; }
.greeting-photo--img { background: none; overflow: hidden; }
.greeting-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 8px; display: block; }
.greeting-content h3 { font-family: var(--serif); font-size: 22px; color: var(--blue); margin-bottom: 8px; }
.greeting-role { font-size: 12px; color: var(--blue-mid); letter-spacing: .08em; margin-bottom: 24px; }
.greeting-text { font-size: 14px; color: var(--gray-800); line-height: 2.2; }
.greeting-sign { font-family: var(--serif); font-size: 18px; color: var(--blue); margin-top: 24px; }

.overview-table { width: 100%; border-collapse: collapse; max-width: 720px; }
.overview-table th,
.overview-table td {
  padding: 14px 20px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
  line-height: 1.8;
}
.overview-table th {
  width: 160px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-pale);
  white-space: nowrap;
}
.overview-table td { color: var(--gray-800); }

/* ── 診療案内（service）── */
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-detail-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  scroll-margin-top: 88px;
}
.service-detail-head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-detail-icon svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.5; }
.service-detail-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--blue); }
.service-detail-body { padding: 20px 24px; }
.service-detail-body p { font-size: 13px; color: var(--gray-600); line-height: 2; margin-bottom: 12px; }
.service-detail-body ul { list-style: none; padding: 0; }
.service-detail-body ul li {
  font-size: 13px; color: var(--gray-700);
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px dashed var(--gray-200);
}
.service-detail-body ul li:last-child { border-bottom: none; }
.service-detail-body ul li::before {
  content: '●';
  position: absolute; left: 0;
  color: var(--blue-mid);
  font-size: 8px;
  top: 9px;
}

/* ── スタッフ紹介（staff）── */
.staff-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.staff-detail-card {
  display: flex; gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: box-shadow .3s;
}
.staff-detail-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.staff-detail-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.staff-detail-photo .staff-avatar { width: 60px; height: 60px; }
.staff-detail-photo--img { background: none; overflow: hidden; }
.staff-photo--img { background: none; overflow: hidden; border-radius: 8px 8px 0 0; }
.staff-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.staff-detail-photo--img .staff-photo-img { border-radius: 50%; }
.staff-detail-info { flex: 1; }
.staff-detail-info .staff-role { display: inline-block; margin-bottom: 6px; }
.staff-detail-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.staff-detail-spec { font-size: 12px; color: var(--gray-600); line-height: 2; }
.staff-detail-msg { font-size: 13px; color: var(--gray-800); line-height: 2; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gray-200); }

/* ── 採用情報（recruit）── */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.job-card {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all .3s;
}
.job-card:hover { box-shadow: 0 8px 24px rgba(46,134,193,.1); transform: translateY(-3px); }
.job-card-head {
  background: var(--blue);
  padding: 20px 20px 16px;
  color: white;
}
.job-card-head h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.job-card-head p { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .05em; }
.job-card-body { padding: 20px; }
.job-row { display: flex; gap: 12px; font-size: 13px; margin-bottom: 10px; }
.job-row dt { color: var(--blue-mid); font-weight: 500; white-space: nowrap; min-width: 56px; }
.job-row dd { color: var(--gray-800); line-height: 1.7; }
.recruit-section-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
}

/* ── よくある質問（faq）── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  background: white;
  border: none;
  text-align: left;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  transition: background .2s;
  line-height: 1.6;
}
.faq-question:hover { background: var(--blue-pale); }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-mid);
  font-size: 18px;
  font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .2s;
  line-height: 1;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--blue-mid); color: white; }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2;
  background: white;
}
.faq-item.open .faq-answer { display: block; }

/* ── お問い合わせ（contact）── */
.contact-page-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.contact-page-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--blue); margin-bottom: 20px; }
.contact-page-map { border-radius: 8px; overflow: hidden; height: 240px; background: var(--gray-200); margin-bottom: 24px; }
.contact-page-map .map-placeholder { height: 100%; }

/* ── プライバシーポリシー（privacy）── */
.privacy-content { max-width: 800px; font-size: 15px; line-height: 2; color: var(--text); }
.privacy-content h2 { font-family: var(--serif); font-size: 20px; color: var(--blue); margin: 40px 0 16px; padding-left: 14px; border-left: 4px solid var(--blue-mid); }
.privacy-content p { margin-bottom: 16px; }
.privacy-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.privacy-content ul li { margin-bottom: 6px; }
.privacy-updated { font-size: 13px; color: var(--gray-600); margin-bottom: 40px; }

/* ── サイトマップ（sitemap）── */
.sitemap-content { max-width: 800px; }
.sitemap-group { margin-bottom: 48px; }
.sitemap-group h2 { font-family: var(--serif); font-size: 20px; color: var(--blue); margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--blue-mid); }
.sitemap-content ul { list-style: none; padding: 0; }
.sitemap-content > .sitemap-group > ul > li { border-bottom: 1px solid var(--gray-200); }
.sitemap-content ul li a { display: block; padding: 10px 0 10px 16px; color: var(--text); text-decoration: none; font-size: 15px; position: relative; }
.sitemap-content ul li a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-top: 2px solid var(--blue-mid); border-right: 2px solid var(--blue-mid); rotate: 45deg; }
.sitemap-content ul li a:hover { color: var(--blue-mid); }
.sitemap-content ul li ul { padding-left: 20px; border-top: 1px solid var(--gray-200); }
.sitemap-content ul li ul li { border-bottom: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-main { grid-template-columns: 1fr; }
  /* タブレット：テキストの下にフル幅で表示 */
  .hero-img {
    display: block;
    height: 300px;
  }
  .hero-content { padding: 48px 24px; }
  .hero-stats { padding: 20px 24px; flex-wrap: wrap; }
  .stat-item { min-width: 50%; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .strengths-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .voice-list-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding: 0 24px; }
  #site-nav { display: none; }
  .hamburger { display: flex; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* スマホ：画像の高さをコンパクトに */
  .hero-img { height: 220px; }
  .strengths-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .staff-detail-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .greeting-wrap { grid-template-columns: 1fr; gap: 28px; }
  .greeting-photo { max-width: 280px; margin: 0 auto; }
  .job-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-inner { padding: 0 16px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .cta-btns { flex-direction: column; align-items: center; }
}
