/* ==========================================================================
   AOI CLINIC — clean-room original stylesheet
   Single-file design system written for this site. No framework, no copied
   rules: layout, class names, palette and components are original work.
   ========================================================================== */

:root {
  --teal: #0e7c72;
  --teal-dark: #0b3f3a;
  --teal-deep: #082e2a;
  --teal-soft: #e2efec;
  --teal-mist: #f0f6f4;
  --paper: #f8f7f2;
  --card: #ffffff;
  --ink: #22302d;
  --muted: #5f726d;
  --line: #e4e1d6;
  --coral: #d96a4b;
  --coral-soft: #fbe9e2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(11, 63, 58, .08);
  --shadow-sm: 0 4px 14px rgba(11, 63, 58, .07);
  --font-body: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP",
    Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.45; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------ top bar */
.topbar {
  background: var(--teal-dark);
  color: #cfe3de;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar .hours { display: flex; gap: 8px; align-items: baseline; }
.topbar .hours b { color: #fff; font-weight: 600; }
.topbar .tel { color: #fff; font-weight: 600; letter-spacing: .04em; }
.topbar .tel:hover { color: #9fd8cd; }

/* language switch */
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-switch button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #cfe3de;
  font: inherit;
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.6;
}
.lang-switch button[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--teal-dark);
  font-weight: 700;
}
.lang-switch button:hover { border-color: #fff; color: #fff; }
.lang-switch button[aria-pressed="true"]:hover { color: var(--teal-dark); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand .word { font-family: var(--font-head); font-size: 21px; letter-spacing: .06em; line-height: 1.2; }
.brand .word small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--muted);
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--teal-soft); text-decoration: none; }
.main-nav a[aria-current="page"] {
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}
.header-cta {
  flex: none;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.header-cta:hover { background: var(--teal-dark); text-decoration: none; }
.menu-toggle {
  display: none;
  margin-left: auto;
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--teal-dark);
}

/* ------------------------------------------------------------------ hero */
.hero { padding: 56px 0 64px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 42px; margin-bottom: 16px; }
.hero .lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.hero .dept-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.dept-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.dept-chips li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--teal);
}
.btn:hover { text-decoration: none; }
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); }
.hero figure { margin: 0; }
.hero figure img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ------------------------------------------------------------------ sections */
.section { padding: 72px 0; }
.section.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; }
.section-head .sub { color: var(--muted); margin-top: 10px; }

/* page hero (sub pages) */
.page-hero {
  background: var(--teal-dark);
  color: #fff;
  padding: 52px 0 56px;
}
.page-hero h1 { font-size: 36px; }
.page-hero .crumbs { font-size: 13px; color: #a9c6bf; margin-top: 10px; }
.page-hero .crumbs a { color: #d8ebe6; }
.page-hero .crumbs span { margin: 0 6px; }

/* feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.feature-card .num {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--teal);
  letter-spacing: .2em;
  border-bottom: 2px solid var(--teal-soft);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 21px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 15px; }
.feature-card p + p { margin-top: 8px; }

/* feature split (image + stacked cards) */
.features-split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: start;
}
.features-split figure { margin: 0; position: sticky; top: 100px; }
.features-split figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-stack .feature-card { margin-bottom: 20px; }
.feature-stack .feature-card:last-child { margin-bottom: 0; }

/* wide section figure */
.section-figure { margin: 0 0 36px; }
.section-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 21 / 8;
  object-fit: cover;
}
.section-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.section-figure.natural img {
  aspect-ratio: auto;
  max-height: 440px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

/* split media + text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split + .split { margin-top: 64px; }
.split figure { margin: 0; }
.split figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split figure.tall img { aspect-ratio: 1 / 1; }
.split h2 { font-size: 29px; margin-bottom: 14px; }
.split p { color: var(--muted); }
.split .caption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* plan list (qualification numbers) */
.plan-list { counter-reset: plan; }
.plan-list li {
  counter-increment: plan;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 16px 20px 16px 60px;
  margin-bottom: 12px;
  font-size: 15px;
}
.plan-list li::before {
  content: counter(plan, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
}
.plan-list li small { display: block; color: var(--muted); font-size: 13px; }

/* subject cards (about) */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.subject-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.subject-card .icon { width: 52px; height: 52px; margin-bottom: 16px; }
.subject-card h3 { font-size: 20px; margin-bottom: 8px; }
.subject-card p { color: var(--muted); font-size: 15px; }

/* doctor card */
.doctor-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.doctor-card img {
  width: 100%;
  border-radius: 50%;
  background: var(--teal-mist);
  aspect-ratio: 1;
  object-fit: cover;
}
.doctor-card h3 { font-size: 24px; }
.doctor-card .role { color: var(--teal); font-weight: 700; font-size: 14px; margin: 4px 0 12px; }
.doctor-card .note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* steps timeline */
.steps { position: relative; margin-left: 8px; padding-left: 44px; }
.steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--teal-soft);
}
.step { position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step .dot {
  position: absolute;
  left: -44px;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step p + p { margin-top: 4px; }

/* price tables */
.price-block { margin-bottom: 56px; }
.price-block:last-child { margin-bottom: 0; }
.price-block h3 { font-size: 24px; margin-bottom: 6px; }
.price-block .plan-note { color: var(--muted); margin-bottom: 20px; }
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table th, .price-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table thead th {
  background: var(--teal-dark);
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
}
.price-table .row-label { font-weight: 700; }
.price-table .row-label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.price-table .amount { font-family: var(--font-head); font-size: 22px; font-weight: 700; white-space: nowrap; }
.price-table .amount s { font-size: 15px; color: var(--muted); font-weight: 400; margin-right: 8px; }
.price-table .cells { color: var(--muted); font-size: 14px; }
.off-badge {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  margin-left: 10px;
  white-space: nowrap;
}
.set-title {
  margin: 28px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--coral);
  font-size: 19px;
}
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 18px; }

/* testimonials */
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.voice-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.voice-card blockquote { margin: 0; flex: 1; }
.voice-card h3 { font-size: 20px; margin-bottom: 12px; }
.voice-card p { color: var(--muted); font-size: 15px; }
.voice-card p + p { margin-top: 8px; }
.voice-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.voice-who .avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.voice-who .who-name { font-weight: 700; font-size: 14.5px; }
.voice-who .who-treatment { font-size: 13px; color: var(--muted); }

/* faq */
.faq-list { max-width: 820px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  align-self: center;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list summary .q {
  flex: none;
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 20px;
}
.faq-list summary:hover { background: var(--teal-mist); }
.faq-list .answer { padding: 0 22px 20px 50px; color: var(--muted); }
.faq-list .answer .a {
  color: var(--coral);
  font-family: var(--font-head);
  font-weight: 700;
  margin-right: 6px;
}

/* regen treatment cards */
.treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.treatment-card figure { margin: 0; }
.treatment-card figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.treatment-card .body { padding: 24px 24px 28px; }
.treatment-card h3 { font-size: 20px; margin-bottom: 10px; }
.treatment-card p { color: var(--muted); font-size: 15px; }
.treatment-card p + p { margin-top: 8px; }
.treatment-card .body .noimg-note { font-size: 13px; color: var(--muted); }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg) translateY(-4px);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mini-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.mini-card h3 { font-size: 19px; margin-bottom: 12px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--teal-dark); color: #cfe3de; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.site-footer h3 {
  color: #fff;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.site-footer p { font-size: 14.5px; }
.site-footer a { color: #eaf4f1; }
.site-footer .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .brand-line .mark { width: 38px; height: 38px; }
.site-footer .brand-line b { color: #fff; font-family: var(--font-head); letter-spacing: .06em; }
.site-footer .contact-lines li { margin-bottom: 6px; font-size: 14.5px; }
.site-footer .contact-lines b { color: #fff; font-weight: 600; }
.site-footer .hours-table { font-size: 14.5px; }
.site-footer .hours-table li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .18);
}
.site-footer .hours-table li:last-child { border-bottom: 0; }
.site-footer .access-lines li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer .access-lines b { color: #fff; }
.site-footer .map-box {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
}
.site-footer .map-note { font-size: 12.5px; color: #a9c6bf; margin-top: 8px; }
.sitemap { border-top: 1px solid rgba(255, 255, 255, .14); padding: 20px 0; }
.sitemap .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.sitemap .sitemap-title { color: #fff; font-weight: 700; font-size: 13.5px; margin-right: 6px; }
.sitemap a { font-size: 13.5px; }
.copyright-bar {
  background: var(--teal-deep);
  color: #9dbfb6;
  font-size: 13px;
  padding: 18px 0 20px;
  text-align: center;
}
.copyright-bar .powered {
  margin-top: 6px;
  font-size: 12.5px;
  color: #c8d6d2;
}
.copyright-bar .powered a {
  color: #ffffff;
  font-weight: 700;
}
.copyright-bar .powered a:hover { color: #9fd8cd; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .features-split { grid-template-columns: 1fr; }
  .features-split figure { position: static; }
  .hero h1 { font-size: 34px; }
  .feature-grid, .subject-grid, .treatment-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .voice-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 24px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 10px 12px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .site-header { position: relative; }
  .site-header .wrap { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .feature-grid, .subject-grid, .treatment-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .doctor-card { grid-template-columns: 1fr; text-align: center; }
  .doctor-card img { max-width: 180px; margin: 0 auto; }
  .hero h1 { font-size: 29px; }
  .section-head h2 { font-size: 26px; }
  .section { padding: 52px 0; }
  .topbar .hours { display: none; }
  .price-table th, .price-table td { padding: 14px 14px; }
  .price-table .amount { font-size: 18px; }
}
