:root {
  color-scheme: light;
  --ink: #23231f;
  --muted: #6f756c;
  --line: rgba(49, 66, 52, 0.14);
  --paper: #fbfcf7;
  --white: #ffffff;
  --sage: #6f9260;
  --sage-dark: #365f43;
  --teal: #2f7d83;
  --brown: #6b563b;
  --brown-dark: #4b3d2c;
  --soft: #eef5e8;
  --soft-blue: #edf6f6;
  --shadow: 0 24px 60px rgba(42, 55, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

.site-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--paper);
  animation: splash-cover-out 520ms cubic-bezier(0.4, 0, 0.2, 1) 1300ms forwards;
}

.site-splash-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  animation: splash-mark-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-splash img {
  width: clamp(144px, 24vw, 210px);
  aspect-ratio: 1;
  object-fit: contain;
}

.site-splash p {
  margin: 0;
  color: var(--brown-dark);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

@keyframes splash-mark-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splash-cover-out {
  from {
    opacity: 1;
  }

  to {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: rgba(251, 252, 247, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 126px;
  color: var(--brown-dark);
  font-weight: 800;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: #3e463d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(47, 125, 131, 0.24);
  background: var(--white);
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.menu-button {
  display: none;
}

.hero {
  padding: 118px 24px 46px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.12fr);
  gap: 44px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--brown-dark);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.16;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 470px;
  margin: 24px 0 0;
  color: #4f574f;
  font-size: 16px;
  line-height: 2;
}

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

.primary-action,
.secondary-action,
.calendar-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
}

.primary-action {
  background: var(--teal);
  color: var(--white);
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brown-dark);
}

.hero-media {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: min(560px, 48vw);
  min-height: 420px;
  overflow: hidden;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1200ms ease,
    transform 6200ms ease;
}

.hero-slider img.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-slider img:nth-child(2) {
  object-position: 50% 52%;
}

.hero-slider img:nth-child(3) {
  object-position: 48% 50%;
}

.hero-media figcaption {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--brown-dark);
  box-shadow: 0 12px 28px rgba(47, 61, 46, 0.1);
}

.hero-media figcaption span {
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 900;
}

.hero-media figcaption strong {
  font-size: 13px;
  line-height: 1.35;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 7px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.hero-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(75, 61, 44, 0.28);
  transition:
    width 300ms ease,
    background 300ms ease;
}

.hero-dots span.is-active {
  width: 20px;
  background: var(--teal);
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  width: min(1120px, calc(100% - 48px));
  margin: 28px auto 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-facts div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 900;
}

.hero-facts strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0;
  scroll-margin-top: 92px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 26px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35;
}

.section-heading h2 span {
  display: inline;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.feature-grid article {
  min-height: 260px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-grid article > span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3,
.equipment-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.feature-grid h3 span,
.care-copy h2 span,
.doctor-copy h2 span,
.sedation-copy h2 span,
.access-copy h2 span {
  display: block;
  white-space: nowrap;
}

.feature-grid p,
.care-copy p,
.doctor-copy p,
.sedation-copy p,
.equipment-section p,
.access-copy p,
.site-footer p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.care-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.care-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.care-list span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--brown-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.care-list span:nth-child(2n) {
  border-right: 0;
}

.care-list span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.doctor-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.doctor-media {
  height: 620px;
  overflow: hidden;
}

.doctor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-media img.doctor-photo-treatment {
  object-position: center 38%;
}

.doctor-copy {
  padding: 56px;
}

.doctor-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.doctor-copy li {
  padding: 9px 12px;
  border: 1px solid rgba(111, 146, 96, 0.22);
  background: var(--soft);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.sedation-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.sedation-copy {
  padding: 56px;
}

.sedation-media {
  margin: 0;
  min-height: 360px;
  border-left: 1px solid var(--line);
  background: #fff;
}

.sedation-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 42%;
  box-sizing: border-box;
}

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

.equipment-section article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}

.equipment-section img {
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  object-fit: cover;
}

.equipment-section img.equipment-photo-contain {
  padding: 18px;
  object-fit: contain;
  background: #fff;
  box-sizing: border-box;
}

.equipment-section article > div {
  flex: 1 1 auto;
  padding: 24px;
}

.info-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 38px;
  align-items: start;
}

.info-main {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.info-main dl {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.info-main div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-main dt {
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.info-main dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.calendar-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--soft-blue);
}

.calendar-card h3 {
  margin: 0 0 18px;
  color: var(--brown-dark);
  font-size: 20px;
}

.calendar-card table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.calendar-card th,
.calendar-card td {
  padding: 9px 5px;
  border-bottom: 1px solid rgba(47, 125, 131, 0.18);
  font-size: 12px;
  white-space: nowrap;
}

.calendar-card td {
  color: var(--teal);
  font-weight: 900;
}

.calendar-card p {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.calendar-card a {
  background: var(--teal);
  color: var(--white);
}

.access-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

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

.access-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 36px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.footer-title {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brown-dark);
  font-size: 21px;
  font-weight: 900;
}

.footer-map-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.footer-map {
  width: 100%;
  height: 250px;
  border: 0;
  filter: saturate(0.82);
}

.footer-map-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  color: var(--brown-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(32, 46, 35, 0.13);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-splash {
    animation-duration: 1ms;
    animation-delay: 120ms;
  }

  .site-splash-inner {
    animation: none;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 70px;
    padding: 0 16px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .header-call {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    display: block;
    width: 21px;
    height: 1.5px;
    margin: 3px 0;
    background: var(--brown-dark);
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    z-index: 60;
    display: none;
    grid-column: 1 / -1;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 252, 247, 0.98);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    place-items: center start;
    font-size: 14px;
  }

  .hero {
    padding: 96px 17px 34px;
  }

  .hero-inner,
  .care-section,
  .doctor-section,
  .sedation-section,
  .info-section,
  .access-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 24px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.26;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-slider {
    height: 430px;
    min-height: 430px;
  }

  .hero-media figcaption {
    right: 12px;
    top: 12px;
    max-width: 138px;
    padding: 10px 11px;
  }

  .hero-media figcaption span {
    font-size: 10px;
  }

  .hero-media figcaption strong {
    font-size: 12px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    width: calc(100% - 34px);
    margin-top: 20px;
  }

  .hero-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 34px);
    padding: 58px 0;
  }

  .section-heading,
  .feature-grid,
  .equipment-section {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 30px;
    line-height: 1.42;
  }

  .section-heading h2 span {
    display: block;
    white-space: nowrap;
  }

  .feature-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .care-list {
    grid-template-columns: 1fr;
  }

  .care-list span,
  .care-list span:nth-child(2n) {
    border-right: 0;
  }

  .care-list span:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .care-list span:last-child {
    border-bottom: 0;
  }

  .doctor-media {
    height: 430px;
  }

  .doctor-media img.doctor-photo-treatment {
    object-position: center 34%;
  }

  .doctor-copy,
  .sedation-copy,
  .info-main,
  .calendar-card {
    padding: 28px 22px;
  }

  .sedation-media {
    min-width: 0;
    min-height: 300px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .sedation-copy {
    min-width: 0;
  }

  .sedation-media img {
    min-height: 300px;
    object-position: center 38%;
  }

  .equipment-section img {
    height: 240px;
    flex-basis: 240px;
  }

  .info-main div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calendar-card {
    overflow-x: auto;
  }

  .access-photos {
    grid-template-columns: 1fr 1fr;
  }

  .footer-map {
    height: 230px;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 18px;
  }

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

  .sedation-copy h2 {
    font-size: 25px;
  }

  .hero-media img {
    height: 410px;
    min-height: 410px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
