/* ===========================
   CSS Custom Properties
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #2EA7E0;
  --primary-dark:  #1B7FB8;
  --primary-light: #5CC4ED;
  --primary-bg:    #EBF6FC;
  --accent:        #F4A261;
  --accent-dark:   #E07E3C;
  --dark:          #1A2D3D;
  --text:          #374151;
  --text-gray:     #6B7280;
  --bg:            #F9FAFB;
  --white:         #FFFFFF;
  --border:        #E5E7EB;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
  --shadow:        0 4px 20px rgba(0,0,0,0.1);
  --radius:        12px;
  --radius-lg:     20px;
}

/* ===========================
   Base
   =========================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* ===========================
   Typography helpers
   =========================== */
.section-label {
  display: block;
  text-align: center;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.93rem;
  margin-bottom: 52px;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(244,162,97,0.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(244,162,97,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-bg);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
}
.btn-white:hover {
  background: var(--primary-bg);
}

/* ===========================
   Header
   =========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--primary); }
.nav .nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.83rem;
}
.nav .nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 199;
  padding: 8px 24px 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }

/* ===========================
   Hero
   =========================== */
.hero {
  background: linear-gradient(135deg, #E8F4FC 0%, #F2F9FD 55%, var(--white) 100%);
  padding: 80px 0 68px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-catch {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 2;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===========================
   Sections – background variants
   =========================== */
.section-light { padding: 84px 0; background: var(--white); }
.section-bg    { padding: 84px 0; background: var(--bg); }
.section-dark  { padding: 84px 0; background: var(--dark); }

/* ===========================
   Features
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.87rem;
  color: var(--text-gray);
  line-height: 1.85;
}

/* ===========================
   Fever Outpatient
   =========================== */
.fever-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
}

.fever-desc {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 24px;
}

.fever-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(244,162,97,0.1);
  border: 1px solid rgba(244,162,97,0.3);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.fever-notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.fever-notice-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #F4A261;
  margin-bottom: 6px;
}

.fever-notice-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
}
.fever-notice-text strong {
  color: #F4A261;
}

.fever-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  background: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
}
.fever-tel:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===========================
   Endoscopy
   =========================== */
.endo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.endo-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.endo-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 13px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.endo-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.endo-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  font-style: italic;
}

.endo-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.9;
  margin-bottom: 22px;
}

.endo-list {
  list-style: none;
}
.endo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.endo-list li:last-child { border-bottom: none; }
.endo-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--primary) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

.endo-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ===========================
   Services
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.services-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: box-shadow 0.2s;
}
.service-item:hover { box-shadow: var(--shadow-sm); }

.service-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.93rem;
  margin-bottom: 3px;
}

.service-detail {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ===========================
   Doctors
   =========================== */
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.doctor-header {
  background: var(--primary);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.doctor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.35);
}
.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-meta { color: var(--white); }

.doctor-role {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-bottom: 3px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.doctor-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.doctor-ruby {
  font-size: 0.72rem;
  opacity: 0.6;
  font-style: italic;
}

.doctor-body {
  padding: 26px 30px;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.doctor-tag {
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
}

.doctor-message {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
}

.doctor-detail {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.doctor-detail-section {
  margin-bottom: 14px;
}
.doctor-detail-section:last-child {
  margin-bottom: 0;
}

.doctor-detail-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.doctor-detail-list {
  list-style: none;
}
.doctor-detail-list li {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.7;
  padding: 2px 0 2px 14px;
  position: relative;
}
.doctor-detail-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary-light);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.65em;
}

/* ===========================
   Access
   =========================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.access-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hours-table th {
  background: var(--primary);
  color: var(--white);
  padding: 10px 6px;
  text-align: center;
  font-weight: 500;
  font-size: 0.82rem;
}

.hours-table td {
  padding: 12px 6px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { border-right: none; }

.hours-period {
  text-align: left !important;
  padding-left: 12px !important;
  color: var(--text-gray);
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
}
.hours-period small { font-size: 0.72rem; color: var(--text-gray); }

.hours-table td.ok  { color: var(--primary);    font-weight: 700; font-size: 1rem; }
.hours-table td.ng  { color: var(--text-gray);  font-size: 1rem; }
.hours-table tr:nth-child(even) td { background: var(--bg); }

.hours-note {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 10px;
  line-height: 1.7;
}

.access-items {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.access-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.access-item:last-child { border-bottom: none; }

.access-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.access-label {
  font-size: 0.73rem;
  color: var(--text-gray);
  margin-bottom: 2px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.access-value {
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.5;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

/* ===========================
   First Visit / Info Cards
   =========================== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.info-card-list {
  list-style: none;
}
.info-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  padding: 6px 0;
  line-height: 1.6;
}
.info-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===========================
   Recruit
   =========================== */
.recruit-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.recruit-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.recruit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.recruit-text {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.7;
}

.recruit-detail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-bg);
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 12px;
}

.recruit-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-gray);
}

.recruit-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.recruit-note {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===========================
   Contact Banner
   =========================== */
.contact-banner {
  background: var(--primary);
  padding: 72px 0;
}

.contact-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-desc {
  color: rgba(255,255,255,0.78);
  font-size: 0.93rem;
  margin-bottom: 24px;
  line-height: 1.9;
}

.contact-phone {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.contact-phone:hover { opacity: 0.85; }

.contact-hours {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   News
   =========================== */
.news-section {
  padding: 28px 0;
  background: var(--primary-bg);
}

.news-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 26px;
}

.news-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.news-date {
  color: var(--text-gray);
  flex-shrink: 0;
  font-weight: 500;
}

/* ===========================
   Fever steps
   =========================== */
.fever-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0;
}

.fever-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
}

.fever-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.fever-step-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.fever-step-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.83rem;
  line-height: 1.7;
}

/* ===========================
   Vaccine / checkup notice
   =========================== */
.vaccine-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 36px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.vaccine-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.vaccine-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.vaccine-text {
  font-size: 0.9rem;
  color: var(--text);
}

/* ===========================
   Endoscopy flow & cost
   =========================== */
.endo-flow {
  margin-top: 44px;
}

.endo-flow-title,
.endo-cost-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 22px;
}

.endo-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.endo-flow-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
}

.endo-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.endo-flow-name {
  color: var(--white);
  font-weight: 700;
  font-size: 0.93rem;
  margin-bottom: 6px;
}

.endo-flow-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  line-height: 1.7;
}

.endo-cost {
  margin-top: 44px;
}

.endo-cost-table {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-collapse: collapse;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.endo-cost-table th,
.endo-cost-table td {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
}

.endo-cost-table tr:last-child th,
.endo-cost-table tr:last-child td {
  border-bottom: none;
}

.endo-cost-table th {
  text-align: left;
  color: var(--white);
  font-weight: 500;
  width: 60%;
}

.endo-cost-table td {
  color: #7DD3FC;
  font-weight: 700;
  text-align: right;
}

.endo-cost-note {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-top: 14px;
}

/* ===========================
   Family doctor / notices
   =========================== */
.notice-card {
  max-width: 800px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px 36px;
}

.notice-card:last-child { margin-bottom: 0; }

.notice-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.notice-list {
  list-style: none;
}

.notice-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 0.93rem;
  border-bottom: 1px dashed var(--border);
}

.notice-list li:last-child { border-bottom: none; }

.notice-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 14px;
  height: 14px;
  border: 2.5px solid var(--primary);
  border-radius: 50%;
}

.notice-ol {
  padding-left: 22px;
}

.notice-ol li {
  padding: 6px 0;
  font-size: 0.93rem;
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-q {
  position: relative;
  padding: 18px 48px 18px 52px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] .faq-q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-a {
  position: relative;
  padding: 0 20px 18px 52px;
  font-size: 0.9rem;
  color: var(--text);
}

.faq-a::before {
  content: "A";
  position: absolute;
  left: 18px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   Privacy policy page
   =========================== */
.privacy-section {
  padding-top: 64px;
}

.privacy-container {
  max-width: 800px;
}

.privacy-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px 44px;
  font-size: 0.93rem;
}

.privacy-body h2 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.privacy-body ul {
  padding-left: 22px;
  margin: 8px 0;
}

.privacy-body li {
  margin-bottom: 4px;
}

.privacy-clinic-info {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-gray);
}

.privacy-back {
  text-align: center;
  margin-top: 36px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 960px) {
  .fever-steps { grid-template-columns: 1fr; }
  .endo-flow-steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-btns { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .endo-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-cards { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .section-light, .section-bg, .section-dark { padding: 64px 0; }
  .contact-banner { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .endo-card { padding: 26px 22px; }
  .fever-card { padding: 26px 22px; }
  .fever-notice { flex-direction: column; }
  .recruit-card { flex-direction: column; padding: 24px 20px; }
  .doctor-header { padding: 22px 22px; }
  .doctor-body { padding: 20px 22px; }
  .news-item { flex-direction: column; gap: 2px; }
  .endo-flow-steps { grid-template-columns: 1fr; }
  .vaccine-card { flex-direction: column; padding: 22px 20px; }
  .endo-cost-table th, .endo-cost-table td { padding: 11px 14px; font-size: 0.85rem; }
  .endo-cost-table th { width: auto; }
  .endo-cost-table td { white-space: nowrap; }
  .privacy-body { padding: 28px 22px; }
}
