:root {
  color-scheme: light;
  --ink: #17342f;
  --muted: #5f706c;
  --teal: #087a72;
  --teal-dark: #055a55;
  --mint: #e4f4ef;
  --coral: #c8614f;
  --cream: #fbfaf4;
  --paper: #ffffff;
  --line: #dce7e3;
  --shadow: 0 18px 45px rgba(23, 52, 47, 0.13);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
a,
button,
th,
td,
strong {
  overflow-wrap: anywhere;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--teal-dark);
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(251, 250, 244, 0.92);
  border-bottom: 1px solid rgba(220, 231, 227, 0.78);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(8, 122, 114, 0.22);
}

.brand-mark span {
  position: relative;
  width: 22px;
  height: 22px;
}

.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--paper);
  border-radius: 2px;
}

.brand-mark span::before {
  width: 6px;
  height: 22px;
}

.brand-mark span::after {
  width: 22px;
  height: 6px;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  color: #29443f;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
  background: var(--mint);
  outline: none;
}

.site-nav .nav-reserve {
  margin-left: 6px;
  color: var(--paper);
  background: var(--teal);
}

.site-nav .nav-reserve:hover,
.site-nav .nav-reserve:focus-visible {
  color: var(--paper);
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 74svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--header-height);
  background: #dfe9e6;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 250, 244, 0.94) 0%, rgba(251, 250, 244, 0.82) 37%, rgba(251, 250, 244, 0.28) 72%),
    linear-gradient(180deg, rgba(23, 52, 47, 0.04), rgba(23, 52, 47, 0.18));
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 54px;
}

.sample-label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 52px;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: #2d4a44;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--paper);
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(8, 122, 114, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(23, 52, 47, 0.2);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--paper);
  box-shadow: 0 12px 24px rgba(23, 52, 47, 0.1);
}

.notice-band {
  background: var(--teal-dark);
  color: var(--paper);
}

.notice-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.notice-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding: 82px 0;
  background: var(--cream);
}

.section-soft {
  background: #eef7f3;
}

.section-ink {
  color: var(--paper);
  background: var(--ink);
}

.section-ink .eyebrow {
  color: #ffb29f;
}

.section-ink p {
  color: rgba(255, 255, 255, 0.78);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
}

.intro-grid > *,
.steps-layout > *,
.hours-grid > *,
.doctor-layout > *,
.access-grid > *,
.reserve-layout > * {
  min-width: 0;
}

.intro-grid h2 {
  max-width: 700px;
}

.quick-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.quick-panel div:last-child {
  border-bottom: 0;
}

.quick-panel span {
  color: var(--muted);
  font-size: 14px;
}

.quick-panel strong {
  text-align: right;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 230px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(23, 52, 47, 0.08);
}

.line-icon {
  width: 38px;
  height: 38px;
  display: inline-block;
  margin-bottom: 22px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  position: relative;
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--coral);
  border-radius: 2px;
}

.line-icon::before {
  width: 4px;
  height: 20px;
}

.line-icon::after {
  width: 20px;
  height: 4px;
}

.service-card p {
  margin-bottom: 0;
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(23, 52, 47, 0.08);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card div {
  padding: 22px 24px 24px;
}

.photo-card p {
  margin: 10px 0 0;
}

.steps-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 62px;
  align-items: start;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.step-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-list span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.step-list p {
  margin: 8px 0 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: center;
}

.hours-table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
}

.hours-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--paper);
}

.hours-table caption {
  text-align: left;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  font-weight: 700;
}

.hours-table th,
.hours-table td {
  padding: 13px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hours-table th:first-child,
.hours-table td:first-child {
  text-align: left;
}

.hours-table thead th {
  color: #ffb29f;
}

.hours-table tbody th {
  font-weight: 700;
}

.table-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.doctor-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.doctor-photo {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.doctor-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.doctor-photo figcaption {
  padding: 10px 14px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.doctor-portrait {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 32%, #f2d4c7 0 14%, transparent 15%),
    radial-gradient(circle at 50% 50%, #1b4c46 0 22%, transparent 23%),
    linear-gradient(135deg, #dcefe8, #ffffff 58%, #f3c6b8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.doctor-portrait span {
  width: 44%;
  height: 56%;
  display: block;
  margin-top: 25%;
  background: var(--paper);
  border-radius: 8px 8px 0 0;
  position: relative;
}

.doctor-portrait span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -68px;
  width: 76px;
  height: 76px;
  background: #f2d4c7;
  border-radius: 50%;
  transform: translateX(-50%);
}

.doctor-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.plain-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plain-list li {
  position: relative;
  padding-left: 24px;
  color: #36554f;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.access-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: center;
}

address {
  margin: 18px 0;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.map-panel {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 122, 114, 0.06) 24px, transparent 24px),
    linear-gradient(rgba(8, 122, 114, 0.06) 24px, transparent 24px),
    #ffffff;
  background-size: 48px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-road {
  position: absolute;
  background: #d8d1c2;
  border: 2px solid #ffffff;
}

.main-road {
  left: -12%;
  top: 52%;
  width: 124%;
  height: 34px;
  transform: rotate(-8deg);
}

.cross-road {
  left: 54%;
  top: -12%;
  width: 32px;
  height: 124%;
  transform: rotate(18deg);
}

.map-station,
.map-clinic,
.map-park {
  position: absolute;
  min-width: 88px;
  padding: 9px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(23, 52, 47, 0.12);
}

.map-station {
  left: 11%;
  bottom: 20%;
  color: var(--paper);
  background: #385d8a;
}

.map-clinic {
  right: 18%;
  top: 28%;
  color: var(--paper);
  background: var(--teal);
}

.map-park {
  right: 12%;
  bottom: 17%;
  color: var(--ink);
  background: #b8dfca;
}

.reserve-section {
  background: var(--paper);
}

.reserve-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reserve-layout p {
  max-width: 700px;
}

.reserve-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--teal-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.site-footer strong {
  color: var(--paper);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  display: block;
  color: var(--paper);
  font-weight: 700;
}

.site-footer a + a,
.site-footer a + .image-credit {
  margin-top: 8px;
}

.image-credit {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(360px, calc(100% - 36px));
  padding: 14px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 52, 47, 0.28);
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: rgba(251, 250, 244, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .site-nav .nav-reserve {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    min-height: 72svh;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 17px;
  }

  h2 {
    font-size: 28px;
  }

  .intro-grid,
  .steps-layout,
  .hours-grid,
  .doctor-layout,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atmosphere-grid {
    grid-template-columns: 1fr;
  }

  .doctor-photo,
  .doctor-portrait {
    max-width: 340px;
  }

  .reserve-layout,
  .footer-grid {
    display: block;
  }

  .reserve-actions {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .site-footer a:first-child {
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .container,
  .hero-inner,
  .notice-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 70svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(251, 250, 244, 0.96) 0%, rgba(251, 250, 244, 0.86) 58%, rgba(251, 250, 244, 0.44) 100%),
      linear-gradient(180deg, rgba(23, 52, 47, 0.02), rgba(23, 52, 47, 0.2));
  }

  .hero-inner {
    padding: 54px 0 38px;
  }

  .hero h1 {
    font-size: 32px;
  }

  h1,
  h2,
  h3,
  p,
  a,
  button,
  strong {
    line-break: anywhere;
    word-break: break-word;
  }

  .hero-actions,
  .reserve-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .notice-inner {
    display: block;
    padding: 14px 0;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .step-list li {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quick-panel div {
    display: block;
  }

  .quick-panel strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .map-panel {
    min-height: 300px;
  }

  .map-station,
  .map-clinic,
  .map-park {
    min-width: 76px;
    font-size: 13px;
  }
}
