:root {
  color-scheme: light;
  --ink: #2f2f2f;
  --muted: #746f67;
  --paper: #f8f6f1;
  --white: #ffffff;
  --line: rgba(47, 47, 47, 0.14);
  --gold: #8d9b8a;
  --soft-gold: #e8dfd2;
  --brown: #8a7668;
  --charcoal: #1e1e1e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
  overflow-x: clip;
  overflow-wrap: normal;
  word-break: normal;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

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

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

.mdo-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  pointer-events: none;
  animation: mdoSplashExit 1.65s ease 0.35s forwards;
}

.mdo-splash-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.03);
  filter: saturate(0.88);
}

.mdo-splash-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 246, 241, 0.92), rgba(248, 246, 241, 0.78)),
    rgba(255, 255, 255, 0.18);
}

.mdo-splash-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: calc(100vw - 48px);
  align-items: center;
  gap: clamp(14px, 2.4vw, 24px);
  color: var(--ink);
  animation: mdoSplashBrand 1.2s ease both;
}

.mdo-splash-brand img {
  width: clamp(72px, 10vw, 116px);
  height: clamp(72px, 10vw, 116px);
  flex: 0 0 auto;
  object-fit: contain;
}

.mdo-splash-brand span {
  display: block;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  white-space: nowrap;
}

@keyframes mdoSplashBrand {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mdoSplashExit {
  0%,
  62% {
    visibility: visible;
    opacity: 1;
  }

  100% {
    visibility: hidden;
    opacity: 0;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(22px, 5vw, 64px);
  color: var(--white);
}

.home-header {
  align-items: center;
  color: var(--ink);
  background: linear-gradient(
    180deg,
    rgba(248, 246, 241, 0.96) 0%,
    rgba(248, 246, 241, 0.72) 70%,
    rgba(248, 246, 241, 0) 100%
  );
}

.home-header .brand {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: auto;
  color: var(--ink);
  text-align: left;
  text-shadow: none;
}

.home-header .brand-mark {
  display: none;
}

.home-header .brand strong {
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.home-header .brand small {
  margin-top: 4px;
  font-size: clamp(0.72rem, 1vw, 0.95rem);
  letter-spacing: 0.14em;
  opacity: 0.95;
}

.home-header .header-actions {
  display: grid;
  width: 220px;
  justify-items: center;
  gap: 4px;
  margin-left: auto;
  margin-top: 8px;
  text-align: center;
  color: var(--ink);
  text-shadow: none;
}

.home-header .header-actions::before {
  color: var(--muted);
  content: "ご予約・お問い合わせ";
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.home-header .header-actions a {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 500;
}

.home-header .header-actions a:first-child {
  width: 100%;
  border-bottom: 1px solid rgba(47, 47, 47, 0.28);
  padding-bottom: 6px;
  font-size: 0;
}

.home-header .header-actions a:first-child::after {
  content: "0284-64-8039";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.09em;
}

.home-header .header-actions a:last-child {
  border-color: transparent;
  background: transparent;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.site-header.plain {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.brand-logo-image {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.home-header .brand-logo-image {
  width: 70px;
  height: 70px;
}

.brand-name {
  display: block;
  min-width: 0;
  color: currentColor;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  white-space: nowrap;
}

.home-header .brand-name {
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 1px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav a {
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav a:hover {
  border-color: currentColor;
}

.tel-link {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.header-actions a {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-actions a:last-child {
  border-color: rgba(255, 255, 255, 0);
  background: var(--gold);
}

.mosaic-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #d6d3ce;
  color: var(--white);
}

.mosaic-grid {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: heroFade 42s infinite;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  animation: heroDrift 42s infinite ease-in-out;
}

.hero-slide:nth-child(1) {
  opacity: 1;
}

.hero-slide:nth-child(2) {
  animation-delay: 7s;
}

.hero-slide:nth-child(3) {
  animation-delay: 14s;
}

.hero-slide:nth-child(4) {
  animation-delay: 21s;
}

.hero-slide:nth-child(5) {
  animation-delay: 28s;
}

.hero-slide:nth-child(6) {
  animation-delay: 35s;
}

.hero-slide:nth-child(1) img {
  object-position: 58% center;
}

.hero-slide:nth-child(2) img {
  object-position: center center;
}

.hero-slide:nth-child(3) img {
  object-position: center 54%;
}

.hero-slide:nth-child(4) img {
  object-position: center 58%;
}

.hero-slide:nth-child(5) img {
  object-position: 58% center;
}

.hero-slide:nth-child(6) img {
  object-position: center center;
}

@keyframes heroFade {
  0%,
  13% {
    opacity: 1;
  }

  19%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes heroDrift {
  0%,
  100% {
    transform: scale(1.035);
  }

  50% {
    transform: scale(1.065);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }

  .hero-slide img {
    transform: none;
  }
}

.mosaic-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 246, 241, 0.18) 0%, rgba(47, 47, 47, 0.18) 36%, rgba(47, 47, 47, 0.24) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.hero-title {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 2;
  width: min(920px, calc(100% - 44px));
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}

.hero-title h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.9rem, 5.1vw, 5.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  word-break: keep-all;
}

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

.hero-side-card {
  position: absolute;
  right: clamp(32px, 5vw, 76px);
  top: 43%;
  z-index: 3;
  display: grid;
  width: 184px;
  min-height: 150px;
  align-content: center;
  gap: 7px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  padding: 22px;
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-side-card span {
  font-family: "Noto Serif JP", serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.hero-side-card strong,
.hero-side-card small {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 98px;
  z-index: 3;
  display: grid;
  width: min(860px, calc(100% - 56px));
  grid-template-columns: repeat(6, minmax(0, 1fr));
  transform: translateX(-50%);
  gap: 0;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero-nav a {
  position: relative;
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0 8px;
  white-space: nowrap;
}

.hero-nav a::after {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: var(--white);
  content: "";
  transition: width 0.2s ease;
}

.hero-nav a:hover::after,
.hero-nav a:first-child::after {
  width: 20px;
}

.news-strip {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 28px;
  z-index: 4;
  display: grid;
  width: min(700px, calc(100% - 48px));
  grid-template-columns: auto auto minmax(0, 1fr) 100px;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  padding: 0 0 0 30px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  letter-spacing: 0.04em;
  box-shadow: 0 18px 45px rgba(47, 47, 47, 0.12);
}

.news-strip span {
  font-size: 1.06rem;
  letter-spacing: 0.16em;
}

.news-strip time {
  color: var(--gold);
  font-size: 0.9rem;
}

.news-strip strong {
  min-width: 0;
  font-weight: 500;
  overflow-wrap: normal;
  word-break: keep-all;
}

.news-strip::after {
  display: grid;
  min-height: 66px;
  place-items: center;
  background: var(--gold);
  color: var(--white);
  content: "CALENDAR";
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section {
  padding: clamp(74px, 10vw, 128px) clamp(22px, 5vw, 74px);
}

.section-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h2,
h3,
.page-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
  width: min(1240px, 100%);
  margin-inline: auto;
}

.welcome-image {
  margin-left: calc(clamp(22px, 5vw, 74px) * -1);
}

.welcome-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 58% center;
}

.welcome-copy {
  padding: 36px 0;
}

.welcome-copy h2 {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.welcome-copy p:not(.section-label):not(.script) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.script {
  margin: 28px 0 12px;
  color: var(--brown);
  font-family: cursive;
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-style: italic;
  line-height: 1;
  opacity: 0.86;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  border-bottom: 1px solid currentColor;
  color: var(--gold);
  font-weight: 700;
}

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

.section-heading,
.medical-grid,
.treatment-showcase,
.feature-grid,
.first-visit,
.split-promo,
.contact-section,
.page-hero,
.values,
.care-list,
.fika-page,
.two-column,
.photo-text,
.access-section {
  width: min(1080px, 100%);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.medical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.medical-grid a,
.feature-grid article {
  min-height: 174px;
  padding: 30px;
  background: var(--white);
}

.medical-grid a > span,
.feature-grid article > span {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

.medical-grid strong {
  display: block;
  margin-top: 18px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
}

.feature-section {
  background: var(--white);
}

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

.first-visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: start;
}

.first-visit-copy {
  max-width: 440px;
}

.first-visit-copy p:not(.section-label) {
  margin: 20px 0 0;
  color: var(--muted);
}

.visit-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.visit-flow li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.visit-flow > li > span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

.visit-flow h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  line-height: 1.55;
  word-break: keep-all;
}

.visit-flow p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

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

.feature-grid h3 {
  margin: 14px 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.05rem, 1.38vw, 1.18rem);
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
}

.feature-grid p,
.split-promo p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: normal;
  word-break: auto-phrase;
}

.medical-grid strong {
  overflow-wrap: normal;
  word-break: keep-all;
}

.split-promo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: clamp(74px, 8vw, 96px);
  background: var(--line);
}

.promo-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 5vw, 58px);
  background: var(--white);
}

.promo-panel h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.1vw, 1.96rem);
  line-height: 1.65;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
}

.promo-panel p {
  max-width: 560px;
  line-height: 1.9;
}

.invisalign-panel {
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.92)),
    url("https://static.wixstatic.com/media/7836df_7b66ef5a6a5b460b92c7914ca1079ba0~mv2.jpg/v1/crop/x_214,y_0,w_1536,h_1536/fill/w_980,h_980,al_c,q_88,enc_avif,quality_auto/B00DE1C2-519F-4829-94DF-6B05E558C6D8.jpg")
      center / cover;
}

.fika-panel {
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.92)),
    url("https://static.wixstatic.com/media/7836df_5232438820b548b8895ad75de1b75b7f~mv2.jpg/v1/fill/w_1400,h_900,al_c,q_80,enc_avif,quality_auto/23FE9079-9A30-4BDA-B14B-0778972D7A48.jpg")
      center / cover;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.contact-section p,
.text-block p,
.access-section p,
.care-list p,
.values p,
.fika-page p {
  margin: 0;
  color: var(--muted);
}

.contact-section h2 + p {
  margin-top: 18px;
}

.contact-card {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--white);
}

.map-panel {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  background: var(--paper);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 420px);
  border: 0;
  filter: grayscale(0.12) saturate(0.92);
}

.big-tel,
.reserve-tel {
  display: block;
  margin-bottom: 24px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.25;
}

.contact-card p {
  margin-top: 20px;
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
  line-height: 1.3;
}

.button.dark {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.button.outline {
  margin-top: 12px;
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.wide {
  width: 100%;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(22px, 5vw, 74px);
  background: var(--white);
  color: var(--muted);
  font-size: 0.84rem;
}

.mobile-cta {
  display: none;
}

.footer p {
  margin: 0;
}

.footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}

.footer a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 700;
}

.subpage {
  padding-top: 92px;
  background: var(--paper);
}

.page-hero {
  padding: 80px clamp(22px, 5vw, 74px) 58px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-hero p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
}

.two-column,
.photo-text,
.access-section,
.photo-page {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.photo-page {
  width: min(1080px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.photo-page img,
.photo-text img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.values article,
.care-list article {
  background: var(--white);
}

.values article,
.care-list article {
  padding: clamp(28px, 5vw, 48px);
}

.values span,
.care-list span {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

.values h2,
.care-list h2 {
  margin-top: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.78rem);
}

.values p,
.care-list p {
  margin-top: 14px;
}

.care-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.treatment-showcase {
  --tone: var(--gold);
  --tone-soft: rgba(141, 155, 138, 0.16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.treatment-column {
  min-width: 0;
  padding: 0 clamp(24px, 3.4vw, 36px) clamp(26px, 3.2vw, 38px);
  border-left: 1px solid var(--line);
}

.treatment-column:first-child {
  border-left: 0;
}

.treatment-column.protect {
  --tone: #85c990;
  --tone-soft: rgba(133, 201, 144, 0.18);
}

.treatment-column.arrange {
  --tone: #8ebddc;
  --tone-soft: rgba(142, 189, 220, 0.18);
}

.treatment-column.support {
  --tone: #dfac73;
  --tone-soft: rgba(223, 172, 115, 0.18);
}

.treatment-visual {
  position: relative;
  margin: 0 calc(clamp(24px, 3.4vw, 36px) * -1) 38px;
  aspect-ratio: 1.72;
  overflow: hidden;
  background: var(--tone-soft);
}

.treatment-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-badge {
  position: absolute;
  right: clamp(12px, 2vw, 22px);
  bottom: 18px;
  display: grid;
  width: min(214px, 68%);
  aspect-ratio: 1.14;
  place-items: center;
  padding: 24px 20px;
  border-radius: 42% 58% 48% 52% / 50% 42% 58% 50%;
  background: color-mix(in srgb, var(--tone) 88%, white);
  color: var(--white);
  text-align: center;
  transform: rotate(6deg);
}

.treatment-badge strong,
.treatment-badge small {
  transform: rotate(-6deg);
}

.treatment-badge strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  word-break: keep-all;
}

.treatment-badge small {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.treatment-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.treatment-list li {
  border-bottom: 1px solid rgba(47, 47, 47, 0.11);
}

.treatment-list li:last-child {
  border-bottom: 0;
}

.treatment-list a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 24px 0;
  align-items: start;
}

.treatment-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--tone);
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1;
}

.treatment-list em {
  display: block;
  margin: -3px 0 7px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.75;
}

.treatment-list strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.48rem;
  line-height: 1.45;
  word-break: keep-all;
}

.treatment-list small {
  display: block;
  margin-top: 4px;
  color: var(--tone);
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.65;
}

.care-list {
  background: transparent;
}

.care-list .treatment-showcase {
  width: min(1120px, 100%);
}

.care-list .treatment-column {
  padding: 0 clamp(24px, 3.4vw, 36px) clamp(26px, 3.2vw, 38px);
}

.pale {
  background: var(--white);
}

.notice {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  font-size: 0.92rem;
}

.fika-page {
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.9)),
    url("https://static.wixstatic.com/media/7836df_5232438820b548b8895ad75de1b75b7f~mv2.jpg/v1/fill/w_1400,h_900,al_c,q_80,enc_avif,quality_auto/23FE9079-9A30-4BDA-B14B-0778972D7A48.jpg")
      center / cover;
  padding: clamp(30px, 6vw, 68px);
}

.fika-page > div {
  width: min(660px, 100%);
}

@media (max-width: 1100px) {
  .nav,
  .tel-link {
    display: none;
  }

  .hero-nav {
    bottom: 90px;
    width: min(720px, calc(100% - 36px));
    font-size: 0.82rem;
  }

  .welcome,
  .first-visit,
  .contact-section,
  .two-column,
  .photo-text,
  .access-section,
  .photo-page {
    grid-template-columns: 1fr;
  }

  .welcome-image {
    margin-left: 0;
  }

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

  .treatment-showcase {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .treatment-column,
  .care-list .treatment-column {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .treatment-column:first-child {
    border-top: 0;
  }

  .treatment-visual {
    aspect-ratio: 1.9;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 18px;
  }

  .home-header .brand {
    position: relative;
    top: auto;
    width: calc(100% - 72px);
    max-width: calc(100% - 72px);
  }

  .home-header {
    position: absolute;
    min-height: 104px;
    align-items: flex-start;
    padding: 14px 18px 30px;
  }

  .home-header .brand-logo-image {
    width: 62px;
    height: 62px;
  }

  .home-header .brand-name {
    font-size: clamp(1rem, 4.4vw, 1.22rem);
    letter-spacing: 0.02em;
  }

  .mdo-splash-photo {
    object-position: 62% center;
  }

  .mdo-splash-brand {
    gap: 14px;
  }

  .mdo-splash-brand img {
    width: 68px;
    height: 68px;
  }

  .mdo-splash-brand span {
    font-size: clamp(1.04rem, 4.4vw, 1.22rem);
    letter-spacing: 0.02em;
  }

  .home-header .brand small,
  .home-header .header-actions,
  .header-actions {
    display: none;
  }

  .mosaic-hero {
    min-height: auto;
    padding-bottom: 136px;
    overflow-x: clip;
    background: var(--paper);
  }

  .mosaic-grid {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: min(620px, 78svh);
    min-height: 520px;
    overflow: hidden;
  }

  .tile-top-left {
    width: 100%;
    height: 100%;
    object-position: 54% center;
  }

  .tile-top-right,
  .tile-bottom-left {
    display: none;
  }

  .tile-bottom-right {
    display: none;
  }

  .hero-slide img {
    transform: scale(1.025);
  }

  .hero-slide:nth-child(1) img {
    object-position: 62% center;
  }

  .hero-slide:nth-child(2) img {
    object-position: 54% center;
  }

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

  .hero-slide:nth-child(4) img {
    object-position: 52% center;
  }

  .hero-slide:nth-child(5) img {
    object-position: 64% center;
  }

  .hero-slide:nth-child(6) img {
    object-position: 54% center;
  }

  .mosaic-layer {
    inset: 0 0 auto;
    height: min(620px, 78svh);
    min-height: 520px;
    background:
      linear-gradient(rgba(40, 40, 40, 0.28), rgba(40, 40, 40, 0.2)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  }

  .hero-title {
    top: min(338px, 44svh);
    left: 50%;
    width: min(340px, calc(100% - 48px));
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .hero-title h1 {
    font-size: clamp(1.68rem, 7.4vw, 1.92rem);
    line-height: 1.42;
    letter-spacing: 0.02em;
    word-break: keep-all;
  }

  .hero-title h1 span {
    white-space: normal;
  }

  .hero-side-card {
    display: none;
  }

  .hero-nav {
    display: none;
  }

  .news-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    grid-template-columns: 1fr;
    gap: 4px;
    margin: -26px 18px 0;
    transform: none;
    padding: 22px 24px 24px;
    color: var(--ink);
    text-shadow: none;
    box-shadow: 0 18px 40px rgba(47, 47, 47, 0.12);
  }

  .news-strip::after {
    display: none;
  }

  .news-strip strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.8;
    word-break: keep-all;
  }

  .section {
    padding: 64px 18px;
  }

  .first-visit-section,
  .feature-section {
    padding-bottom: 96px;
  }

  .first-visit {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .first-visit-copy {
    max-width: none;
  }

  .first-visit-copy h2 {
    font-size: clamp(1.72rem, 8vw, 2rem);
    line-height: 1.65;
  }

  .first-visit-copy p:not(.section-label) {
    margin-top: 16px;
    line-height: 1.95;
  }

  .visit-flow li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .visit-flow h3 {
    font-size: 1.16rem;
    line-height: 1.65;
  }

  .welcome-image img {
    min-height: 320px;
  }

  .script {
    font-size: 3.2rem;
  }

  .medical-grid,
  .feature-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .treatment-showcase {
    width: 100%;
    overflow: hidden;
  }

  .treatment-column,
  .care-list .treatment-column {
    padding: 0 18px 18px;
  }

  .treatment-visual {
    margin: 0 0 26px;
    aspect-ratio: 1.42;
  }

  .treatment-badge {
    right: auto;
    bottom: 12px;
    left: 12px;
    width: min(168px, calc(100% - 24px));
    padding: 17px 14px;
  }

  .treatment-badge strong {
    font-size: 1.34rem;
  }

  .treatment-badge small {
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .treatment-list a {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .treatment-arrow {
    width: 28px;
    height: 28px;
    font-size: 1.16rem;
  }

  .treatment-list em {
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .treatment-list strong {
    font-size: 1.28rem;
    line-height: 1.48;
  }

  .treatment-list small {
    font-size: 0.78rem;
  }

  .medical-grid a,
  .feature-grid article {
    min-height: auto;
    padding: 24px;
  }

  .feature-grid p {
    line-height: 1.85;
  }

  .split-promo {
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-bottom: 176px;
  }

  .promo-panel {
    min-height: 300px;
    padding: 30px 24px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-section {
    padding-bottom: 138px;
  }

  .map-panel iframe {
    height: 190px;
  }

  .subpage {
    padding-top: 70px;
  }

  .page-hero {
    padding: 58px 18px 38px;
  }

  .page-hero p:last-child {
    display: block;
    inline-size: min(100%, 20em);
    max-width: calc(100vw - 36px);
    line-height: 1.9;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .subpage-body .mobile-cta {
    display: none;
  }

  .footer {
    padding: 24px 18px 92px;
  }

  .mobile-cta {
    position: fixed;
    right: auto;
    bottom: 14px;
    left: 14px;
    z-index: 30;
    display: grid;
    width: min(362px, calc(100vw - 28px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 36px rgba(47, 47, 47, 0.18);
    backdrop-filter: blur(12px);
    transition:
      opacity 0.24s ease,
      transform 0.28s ease;
  }

  .mobile-cta.is-hidden {
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 28px));
  }

  .mobile-cta a {
    display: grid;
    min-width: 0;
    min-height: 46px;
    place-items: center;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-cta a:last-child {
    background: var(--gold);
    color: var(--white);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdo-splash,
  .mdo-splash-brand {
    animation-duration: 0.01ms;
    animation-delay: 0s;
  }
}
