:root {
  --primary: #006BCB;
  --primary-light: #2589e0;
  --primary-dark: #00508f;
  --primary-pale: #e6f1fb;
  --accent: #00a3e0;
  --bg: #fafbfc;
  --white: #ffffff;
  --text: #1f2937;
  --text-sub: #6b7280;
  --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Noto Serif JP', serif; }
.display { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.02em; }

/* ====== Top Info Bar ====== */
.topbar {
  background: var(--primary);
  color: white;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left { display: flex; gap: 24px; }
.topbar-right { display: flex; gap: 20px; }
.topbar a { color: white; text-decoration: none; opacity: 0.9; }

/* ====== Header ====== */
header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-mark {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--primary);
  font-weight: 500;
}
.logo-text .jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.05em;
}
nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
nav a:hover { color: var(--primary); }
nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 22px;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--primary-light); }
.nav-cta::after { display: none; }

/* ====== Button ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 107, 203, 0.3);
}
.btn-outline {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-pale); }

/* ====== Page Header (sub pages) ====== */
.page-hero {
  background: linear-gradient(135deg, #e6f1fb 0%, #f2f8fd 50%, #ffffff 100%);
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 107, 203, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}
.page-hero .en::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--primary);
  vertical-align: middle;
  margin-right: 16px;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-sub);
}
.breadcrumb a {
  color: var(--text-sub);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ====== Common Section ====== */
section { padding: 80px 24px; }
.container { max-width: 1000px; margin: 0 auto; }
.container-wide { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}
.section-head h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
}
.section-head .line {
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin: 20px auto 0;
}

/* ====== Content Page ====== */
.content-section { background: white; padding: 80px 24px; }
.content-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}
.content-section h2:first-child { margin-top: 0; }
.content-section h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  margin: 32px 0 14px;
}
.content-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 24px 0 10px;
}
.content-section p {
  color: var(--text);
  line-height: 2;
  margin-bottom: 18px;
  font-size: 15px;
}
.content-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.content-section ul li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 15px;
}
.content-section ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.content-section ul li:last-child { border-bottom: none; }
.lead-box {
  background: var(--primary-pale);
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 2;
  border-left: 4px solid var(--primary);
}

/* ====== Service Grid (診療案内一覧用) ====== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.service-card {
  background: white;
  padding: 40px 28px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 107, 203, 0.12);
}
.service-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--primary);
}
.service-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
}
.service-card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

/* ====== CTA Section ====== */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 60px 24px;
  text-align: center;
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.cta-section h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 16px;
}
.cta-section p { margin-bottom: 24px; opacity: 0.9; }
.cta-tel {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta-tel::before {
  content: '📞';
  margin-right: 12px;
  font-size: 40px;
}

/* 担当医表 */
.doctor-schedule-wrap {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 24px;
}
.doctor-schedule-title {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  padding: 0;
  border: none;
}
.doctor-schedule-title .en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 6px;
}
.doctor-schedule-table-wrap {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 107, 203, 0.1);
  overflow: hidden;
  border: 2px solid var(--primary-pale);
}
.doctor-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.doctor-schedule-table thead th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 16px 8px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.doctor-schedule-table thead th:last-child { border-right: none; }
.doctor-schedule-table thead .ds-time {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #002b5c 100%);
  font-family: 'Noto Serif JP', serif;
}
.doctor-schedule-table tbody td {
  padding: 20px 8px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
}
.doctor-schedule-table tbody tr:last-child td { border-bottom: none; }
.doctor-schedule-table tbody td:last-child { border-right: none; }
.doctor-schedule-table .ds-time-cell {
  background: var(--primary-pale);
  color: var(--primary-dark);
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  padding: 16px 8px;
}
.doctor-schedule-table .ds-time-cell strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--primary-dark);
}
.doctor-schedule-table .ds-time-cell .ds-time-detail {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}
.doctor-schedule-table .ds-other {
  background: rgba(255, 167, 38, 0.08);
  color: #e67e00;
}
.doctor-schedule-table .ds-holiday {
  background: #f5f5f5;
  color: var(--text-sub);
  font-size: 20px;
  font-weight: 400;
}
.doctor-schedule-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .doctor-schedule-title { font-size: 22px; }
  .doctor-schedule-table { font-size: 13px; }
  .doctor-schedule-table thead th {
    padding: 12px 4px;
    font-size: 13px;
  }
  .doctor-schedule-table tbody td {
    padding: 14px 4px;
    font-size: 14px;
  }
  .doctor-schedule-table .ds-time-cell strong { font-size: 13px; }
  .doctor-schedule-table .ds-time-cell .ds-time-detail { font-size: 10px; }
  .doctor-schedule-table .ds-holiday { font-size: 16px; }
}

/* ====== Footer ====== */
footer {
  background: #003566;
  color: white;
  padding: 64px 24px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  display: block;
}
.footer-brand h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
}
.footer-col h5 {
  font-size: 13px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ====== Mobile ====== */
@media (max-width: 768px) {
  .topbar-inner, nav ul { display: none; }
  .page-hero h1 { font-size: 26px; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .content-section h2 { font-size: 22px; }
  .content-section h3 { font-size: 18px; }
  section, .content-section { padding: 48px 20px; }
  .cta-tel { font-size: 34px; }
  .cta-tel::before { font-size: 28px; }
}

/* ====== Animations ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade { animation: fadeUp 0.8s ease-out backwards; }

/* LINEバナー（スマホ右上固定）- 全ページ共通 */
.line-banner-fixed {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999;
  background: #06C755;
  color: white;
  padding: 10px 16px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.4);
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}
.line-banner-fixed:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}
.line-banner-fixed svg { width: 18px; height: 18px; fill: white; }
@media (max-width: 768px) {
  .line-banner-fixed { display: inline-flex; }
}

/* ====== モバイル用ロゴサイズ調整 ====== */
@media (max-width: 768px) {
  .logo-mark { width: 56px; height: 56px; }
  .logo-text .jp { font-size: 15px; }
  .logo-text .en { font-size: 10px; }
  .logo { gap: 10px; }
}

/* ====== 診療案内 アコーディオン ====== */
.service-accordion {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acc-item {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.acc-item.is-open {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(0, 107, 203, 0.12);
}
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: white;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.3s;
}
.acc-head:hover { background: var(--primary-pale); }
.acc-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s;
}
.acc-item.is-open .acc-icon {
  background: var(--primary);
  color: white;
}
.acc-title {
  flex: 1;
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.acc-sub {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 400;
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.acc-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s;
  flex-shrink: 0;
}
.acc-item.is-open .acc-toggle {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: linear-gradient(180deg, var(--primary-pale) 0%, white 100%);
}
.acc-item.is-open .acc-body { max-height: 2000px; }
.acc-body-inner {
  padding: 24px;
}
.sub-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-item {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.sub-item.is-open { border-color: var(--primary); }
.sub-head {
  width: 100%;
  padding: 14px 18px;
  background: white;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}
.sub-head:hover { background: var(--primary-pale); }
.sub-head::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}
.sub-head-text { flex: 1; }
.sub-toggle {
  color: var(--primary);
  font-size: 14px;
  transition: all 0.3s;
}
.sub-item.is-open .sub-toggle { transform: rotate(180deg); }
.sub-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--primary-pale);
}
.sub-item.is-open .sub-body { max-height: 1000px; }
.sub-body-inner {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
}
.sub-body-inner .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.sub-body-inner .tag {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* 予防接種などの強調 */
.acc-featured .acc-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
}
.acc-featured .acc-sub { color: var(--primary); font-weight: 600; }

@media (max-width: 768px) {
  .service-accordion { gap: 12px; }
  .acc-head { padding: 18px 16px; gap: 12px; }
  .acc-icon { width: 44px; height: 44px; }
  .acc-icon svg { width: 24px; height: 24px; }
  .acc-title { font-size: 16px; }
  .acc-sub { font-size: 11px; }
  .acc-toggle { width: 28px; height: 28px; font-size: 16px; }
  .acc-body-inner { padding: 16px; }
  .sub-head { padding: 12px 14px; font-size: 14px; }
  .sub-body-inner { padding: 14px 16px; font-size: 13px; }
  .sub-body-inner .tag { font-size: 12px; padding: 5px 12px; }
}

/* ====== 半田先生の写真 ====== */
.message-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.message-photo {
  position: relative;
}
.message-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 107, 203, 0.18);
  display: block;
}
.message-photo::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.25;
}
@media (max-width: 768px) {
  .message-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .message-photo { max-width: 320px; margin: 0 auto; }
  .message-photo::before { display: none; }
}

/* ====== ヒーロー追加文 ====== */
.hero-sub-note {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: -24px;
  margin-bottom: 28px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .hero-sub-note { font-size: 12px; }
}

/* ====== 院内ギャラリー ====== */
.clinic-gallery {
  padding: 80px 24px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.gallery-lead {
  text-align: center;
  color: var(--text-sub);
  line-height: 2;
  font-size: 15px;
  margin: 0 auto 48px;
  max-width: 700px;
}
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  margin: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 107, 203, 0.08);
  transition: all 0.3s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 107, 203, 0.15);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery-item figcaption {
  padding: 20px 22px 24px;
  position: relative;
}
.g-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.gallery-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.gallery-item p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
  margin: 0;
}

/* 広い待合室を強調表示 */
.gallery-featured {
  grid-column: span 2;
  grid-row: span 1;
  border: 2px solid var(--primary);
  position: relative;
}
.gallery-featured img {
  aspect-ratio: 16 / 8;
}
.gallery-featured h3 {
  font-size: 22px;
  color: var(--primary);
}
.gallery-featured p {
  font-size: 14px;
}

@media (max-width: 768px) {
  .clinic-gallery { padding: 56px 16px; }
  .gallery-lead { font-size: 13px; margin-bottom: 32px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-featured {
    grid-column: span 1;
  }
  .gallery-featured img {
    aspect-ratio: 4 / 3;
  }
  .gallery-featured h3 { font-size: 18px; }
  .gallery-item figcaption { padding: 16px 18px 20px; }
  .gallery-item h3 { font-size: 15px; }
  .gallery-item p { font-size: 12px; }
}

/* ====== ヒーロー左寄せ（吉川美南ライク） ====== */
.hero-inner.hero-single {
  text-align: left;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}
.hero-inner.hero-single .hero-text {
  max-width: 640px;
}
.hero-inner.hero-single .hero-tag {
  text-align: left;
}
.hero-title-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 28px;
  letter-spacing: 0.04em;
}
.hero-inner.hero-single .hero-sub-note {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 2;
  margin-top: 0;
  margin-bottom: 40px;
}
.hero-inner.hero-single .hero-ctas {
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .hero-inner.hero-single { padding: 60px 20px; }
  .hero-title-sub { font-size: 22px; line-height: 1.8; }
  .hero-inner.hero-single .hero-sub-note { font-size: 13px; margin-bottom: 28px; }
}

/* ====== トップバー 採用情報 / 公式LINE 吉川美南スタイル ====== */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-recruit {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.topbar-recruit:hover { opacity: 0.8; }
.topbar-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #06C755;
  color: white !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}
.topbar-line:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.4);
}
.topbar-line svg { flex-shrink: 0; }
@media (max-width: 768px) {
  .topbar-right { gap: 10px; }
  .topbar-recruit { font-size: 11px; }
  .topbar-line { padding: 5px 12px; font-size: 11px; }
}

/* ====== 電話番号のフォントを統一（セリフ系・筆記体フォント使用禁止） ====== */
.tel-block .num,
.tel-block .label,
a[href^="tel:"],
.phone-num,
.btn-phone-hero,
.btn-phone-hero *,
.three-points-footer p strong,
.footer-brand p,
.topbar-left span {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif !important;
  letter-spacing: 0.02em;
  font-feature-settings: "tnum";
}
.tel-block .num {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}
.tel-block .label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
  display: block;
}
@media (max-width: 768px) {
  .tel-block .num { font-size: 24px; }
}

/* ====== フッター住所・電話番号ボックス ====== */
.footer-address-box {
  background: #5B9BD5;
  border: none;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 16px;
}
.footer-address-box p {
  margin: 0;
  color: white !important;
  font-size: 13px;
  line-height: 1.9;
}
.footer-address-box .footer-tel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.35);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.footer-address-box .footer-tel a {
  color: white !important;
  text-decoration: none;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif !important;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  font-feature-settings: "tnum";
}
.footer-address-box .footer-tel a:hover { opacity: 0.85; }
@media (max-width: 768px) {
  .footer-address-box { padding: 16px 18px; }
  .footer-address-box p { font-size: 12px; }
  .footer-address-box .footer-tel a { font-size: 16px; }
}

/* ====== ギャラリー 2枚並び ====== */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}
