:root {
  --ink: #17212b;
  --muted: #5d6b78;
  --line: #dfe7eb;
  --paper: #ffffff;
  --soft: #f4f8f7;
  --mint: #0f8f7a;
  --mint-dark: #0b6659;
  --amber: #f5a623;
  --sky: #e8f4fb;
  --shadow: 0 18px 48px rgba(24, 43, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

body.is-lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.notice {
  padding: 8px 16px;
  background: #fff4dc;
  color: #6b4a04;
  font-size: 13px;
  text-align: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--mint);
  color: white;
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.nav-call {
  text-decoration: none;
}

.nav-call {
  padding: 10px 14px;
  border: 1px solid var(--mint);
  border-radius: 8px;
  color: var(--mint-dark);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(15, 143, 122, 0.45);
  box-shadow: 0 8px 20px rgba(24, 43, 54, 0.08);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--mint-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.menu-toggle[aria-expanded="true"] {
  transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #dbece8;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0.08) 72%);
}

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

.hero-content {
  position: relative;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 96px 20px 120px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint-dark);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.12;
}

.lead {
  max-width: 650px;
  color: #33424d;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

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

.secondary {
  background: var(--amber);
  color: #241600;
}

.ghost {
  background: white;
  color: var(--mint-dark);
  border-color: var(--line);
}

.wide {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: minmax(0, 360px);
  gap: 12px;
  max-width: 360px;
  margin: 28px 0 0;
}

.hero-facts div,
.strength-grid article,
.hours-card,
.reservation-card,
.doctor-note,
.access-info,
.demo-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.hero-facts div {
  padding: 14px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 800;
}

.quick-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
  padding: 74px 20px 0;
  position: relative;
  z-index: 2;
}

.quick-intro {
  max-width: 720px;
}

.quick-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

.quick-summary {
  display: grid;
  margin: 6px 0 0;
  border-top: 1px solid var(--line);
}

.quick-summary div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.quick-summary dt {
  font-size: 13px;
}

.quick-summary dd {
  font-size: 15px;
}

.quick-panel p,
.strength-grid p,
.reservation-card p,
.section-heading p,
.doctor-copy p,
.doctor-note p,
.demo-note p,
.access-info p {
  color: var(--muted);
}

.gallery-section {
  padding-top: 74px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: zoom-in;
  box-shadow: 0 10px 28px rgba(24, 43, 54, 0.08);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: brightness(1.04);
  transform: scale(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 22, 29, 0.72);
}

.gallery-lightbox__panel {
  position: relative;
  max-width: min(680px, 100%);
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.22s ease;
}

.gallery-lightbox.is-open .gallery-lightbox__panel {
  transform: translateY(0) scale(1);
}

.gallery-lightbox__panel img {
  display: block;
  width: 100%;
  max-height: 76vh;
  border-radius: 8px;
  object-fit: contain;
}

.gallery-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--mint-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 86px 20px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-heading h2,
.doctor-copy h2,
.demo-note h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.hours-layout,
.access-layout,
.doctor {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 22px;
  align-items: start;
}

.hours-card,
.reservation-card,
.access-info,
.doctor-note,
.demo-note {
  padding: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  font-size: 15px;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

th:first-child {
  text-align: left;
  min-width: 120px;
}

thead th {
  background: var(--soft);
  font-size: 13px;
}

td {
  color: var(--mint-dark);
  font-weight: 800;
}

.table-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.reservation-card {
  position: sticky;
  top: 118px;
  box-shadow: var(--shadow);
}

.phone-number {
  display: block;
  margin: 12px 0;
  color: var(--mint-dark);
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.strengths {
  max-width: none;
  margin-top: 86px;
  padding: 86px 20px;
  background: var(--soft);
}

.strengths > .section-heading,
.commitment-grid {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

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

.strength-grid article,
.commitment-grid article {
  padding: 22px;
}

.strength-grid h3,
.commitment-grid h3 {
  font-size: 19px;
  line-height: 1.4;
}

.commitment-grid article {
  overflow: hidden;
  padding: 0;
  background: white;
}

.commitment-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.commitment-grid article > div {
  padding: 20px;
}

.commitment-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--mint-dark);
  font-weight: 900;
}

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

.service-list span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
}

.treatment-detail {
  max-width: none;
  margin-top: 86px;
  padding: 86px 20px;
  background: #fbfcfc;
}

.treatment-detail > .section-heading,
.treatment-list {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.treatment-list {
  display: grid;
  gap: 18px;
}

.treatment-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.treatment-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.treatment-item > div {
  padding: 26px 28px 26px 0;
}

.treatment-item span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
}

.treatment-item h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.35;
}

.treatment-item p {
  color: var(--muted);
}

.doctor {
  align-items: center;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

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

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

.doctor-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.doctor-copy blockquote {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-left: 5px solid var(--mint);
  background: white;
  color: var(--mint-dark);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.55;
}

.source-note {
  margin-bottom: 0;
  font-size: 12px;
}

.career-box {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.career-box h3 {
  margin-bottom: 14px;
}

.career-box ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-box li {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.career-box time {
  color: var(--mint-dark);
  font-weight: 900;
}

.map-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.map-card iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.demo-note {
  max-width: 1160px;
  margin-bottom: 86px;
  background: #fffaf0;
}

.proposal-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 46px;
  align-items: center;
  max-width: 1160px;
  margin: 86px auto;
  padding: 36px 42px;
  border: 1px solid #ecd7b5;
  border-radius: 8px;
  background: #fff7e8;
}

.proposal-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.2;
}

.proposal-copy p {
  color: #6b5a45;
  font-size: 17px;
  font-weight: 700;
}

.proposal-author {
  min-width: 0;
  padding: 24px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(88, 67, 36, 0.1);
}

.proposal-author h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.proposal-author strong,
.proposal-author a {
  display: block;
  margin-bottom: 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 900;
  text-decoration: none;
}

.proposal-author a {
  color: #0b5f85;
}

.proposal-author p {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 20px 104px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer > * {
  max-width: 1160px;
}

.footer p {
  margin-bottom: 0;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(24, 43, 54, 0.12);
}

.mobile-cta a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px 4px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.mobile-cta a:nth-child(2) {
  background: var(--amber);
  color: #241600;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-call {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    border-top: 1px solid var(--line);
    background: white;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.32s ease, opacity 0.22s ease, padding 0.32s ease, transform 0.32s ease;
  }

  .mobile-menu.is-open {
    max-height: 390px;
    padding: 8px 20px 16px;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
    color: var(--mint-dark);
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  }

  .hero-content {
    padding: 72px 20px 94px;
  }

  h1 {
    font-size: 40px;
  }

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

  .quick-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hours-layout,
  .access-layout,
  .doctor,
  .treatment-item,
  .proposal-note {
    grid-template-columns: 1fr;
  }

  .treatment-item {
    display: block;
    gap: 0;
  }

  .treatment-item img {
    display: block;
    width: 100%;
    height: clamp(180px, 46vw, 240px);
    min-height: 0;
    object-fit: cover;
  }

  .reservation-card {
    position: static;
  }

  .treatment-item > div {
    padding: 0 22px 22px;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 58px;
  }

  .notice {
    text-align: left;
  }

  .nav {
    padding: 10px 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-content {
    padding: 46px 16px 86px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-facts,
  .strength-grid,
  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding-top: 64px;
    overflow: hidden;
  }

  .gallery-grid {
    display: flex;
    width: 1000%;
    gap: 0;
    animation: gallery-mobile-slide 42s infinite ease-in-out;
  }

  .gallery-grid:has(.gallery-item:focus-visible) {
    animation-play-state: paused;
  }

  .gallery-item {
    flex: 0 0 10%;
    border-radius: 8px;
    box-shadow: none;
  }

  .gallery-item img {
    aspect-ratio: 4 / 3;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox__panel {
    padding: 10px;
  }

  .gallery-lightbox__close {
    top: -12px;
    right: -10px;
  }

  @keyframes gallery-mobile-slide {
    0%, 8% {
      transform: translateX(0);
    }
    10%, 18% {
      transform: translateX(-10%);
    }
    20%, 28% {
      transform: translateX(-20%);
    }
    30%, 38% {
      transform: translateX(-30%);
    }
    40%, 48% {
      transform: translateX(-40%);
    }
    50%, 58% {
      transform: translateX(-50%);
    }
    60%, 68% {
      transform: translateX(-60%);
    }
    70%, 78% {
      transform: translateX(-70%);
    }
    80%, 88% {
      transform: translateX(-80%);
    }
    90%, 98% {
      transform: translateX(-90%);
    }
    100% {
      transform: translateX(0);
    }
  }

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

  .service-list span {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .quick-panel {
    padding: 54px 14px 0;
  }

  .section,
  .strengths,
  .treatment-detail {
    padding: 64px 14px 0;
  }

  .strengths,
  .treatment-detail {
    margin-top: 64px;
    padding-bottom: 64px;
  }

  .treatment-item h3 {
    font-size: 21px;
  }

  .career-box li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .proposal-note {
    margin: 64px 14px;
    padding: 24px;
  }

  .proposal-copy h2 {
    font-size: 30px;
  }

  .proposal-copy p {
    font-size: 15px;
  }

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

  table {
    min-width: 680px;
  }

  .phone-number {
    font-size: 24px;
  }

  .map-card,
  .map-card iframe {
    min-height: 330px;
    height: 330px;
  }

  .footer {
    display: block;
  }
}
