/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1d3557;
  --blue: #457b9d;
  --light-blue: #a8dadc;
  --pale: #f0f7ff;
  --white: #ffffff;
  --gray: #f5f5f5;
  --text: #333333;
  --text-light: #666666;
  --gold: #c9a84c;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Utility ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--pale); }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 0.9rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.05em;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-primary:hover { background: #162945; border-color: #162945; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; flex-direction: column; gap: 2px; }
.logo-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  border-bottom: none !important;
}
.nav-cta:hover { background: #162945 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); transition: var(--transition); display: block; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5f8a 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-lead {
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-placeholder {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.hero-image-placeholder .doctor-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.hero-image-placeholder .doctor-title {
  font-size: 0.8rem;
  opacity: 0.8;
  letter-spacing: 0.08em;
}

/* ===== Features strip ===== */
.features-strip {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.feature-icon { font-size: 1.6rem; }
.feature-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.service-icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.service-link {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid var(--blue);
  transition: var(--transition);
}
.service-link:hover { color: var(--navy); border-color: var(--navy); }

/* ===== About (Doctor) ===== */
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  background: var(--pale);
  border: 2px solid var(--light-blue);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
}
.about-photo-placeholder { font-size: 4rem; margin-bottom: 16px; }
.about-photo .name { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.about-photo .name-en { font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.1em; margin-bottom: 12px; }
.about-photo .cert {
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
}
.about-content h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; color: var(--text); line-height: 1.9; }
.about-list { margin: 20px 0; }
.about-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-list li::before { content: '▶'; color: var(--gold); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0; }

/* ===== Flow ===== */
.flow-list { max-width: 720px; margin: 0 auto; }
.flow-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.flow-num {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.flow-body p { font-size: 0.9rem; color: var(--text-light); }
.flow-connector { width: 2px; height: 24px; background: var(--border); margin: 0 0 0 25px; }

/* ===== Clinics ===== */
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.clinic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.clinic-card:hover { border-color: var(--blue); }
.clinic-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.clinic-info { display: flex; flex-direction: column; gap: 6px; }
.clinic-info-row { display: flex; gap: 8px; font-size: 0.85rem; align-items: flex-start; }
.clinic-info-label { color: var(--text-light); min-width: 44px; font-size: 0.78rem; }
.clinic-info-value { color: var(--text); }
.clinic-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  transition: var(--transition);
}
.clinic-link:hover { color: var(--navy); border-color: var(--navy); }

/* ===== Fees ===== */
.fees-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.fees-table th, .fees-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.fees-table th { background: var(--navy); color: var(--white); font-weight: 600; }
.fees-table tr:nth-child(even) { background: var(--pale); }
.fees-note {
  background: #fff8e1;
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  font-size: 0.88rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 16px;
}

/* ===== Q&A ===== */
.qa-list { max-width: 720px; margin: 0 auto; }
.qa-item { margin-bottom: 16px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qa-question {
  padding: 18px 20px;
  background: var(--pale);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.qa-q-mark { color: var(--gold); font-size: 1.1rem; font-weight: 800; flex-shrink: 0; }
.qa-answer { padding: 18px 20px; font-size: 0.9rem; line-height: 1.9; display: flex; gap: 12px; }
.qa-a-mark { color: var(--blue); font-size: 1.1rem; font-weight: 800; flex-shrink: 0; }

/* ===== Contact CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5f8a 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { opacity: 0.85; margin-bottom: 36px; font-size: 0.95rem; }
.cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-white:hover { background: var(--pale); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ===== Footer ===== */
.footer {
  background: #111e2d;
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-main { color: var(--white); font-size: 1rem; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.82rem; margin-top: 12px; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.82rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5f8a 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { opacity: 0.8; font-size: 0.95rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-top: 16px; font-size: 0.8rem; opacity: 0.65; }
.breadcrumb span::after { content: '›'; margin-left: 8px; }
.breadcrumb span:last-child::after { content: ''; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image-wrap { display: none; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; margin: 0 auto; }
  .clinics-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-nav a:last-child { border-bottom: none; }
