:root {
  --base-white: #ffffff;
  --base-ivory: #f8f5ee;
  --base-light-beige: #efe6d6;
  --sub-greige: #b8b0a4;
  --sub-stone-gray: #8f8a82;
  --sub-wood-brown: #9a7b5f;
  --accent: #00aa5c;
  --text: #26221d;
  --text-soft: #5f584f;
  --line: rgba(38, 34, 29, 0.12);
  --shadow: 0 20px 60px rgba(38, 34, 29, 0.12);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--base-white);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  line-height: 1.8;
  font-size: 19px;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: pretty;
  hanging-punctuation: allow-end;
}

body.is-ready {
  opacity: 1;
}

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

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

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

.container-narrow {
  width: min(820px, calc(100vw - 48px));
}

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

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 88px;
}

.brand img,
.site-footer img {
  width: auto;
  height: 48px;
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 1.06rem;
  color: var(--text-soft);
}

.menu-toggle,
.mobile-nav-wrap {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 22;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(38, 34, 29, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    background 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft),
    transform 0.35s var(--ease-soft);
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transform-origin: center;
  transition:
    transform 0.45s var(--ease-soft),
    opacity 0.28s ease,
    top 0.45s var(--ease-soft),
    background 0.35s ease;
}

.menu-toggle span:nth-child(1) {
  top: 18px;
}

.menu-toggle span:nth-child(2) {
  top: 25px;
}

.menu-toggle span:nth-child(3) {
  top: 32px;
}

.mobile-nav-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.mobile-nav {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  transform: translate3d(0, -12px, 0);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease-soft),
    visibility 0.35s ease;
}

.mobile-nav a {
  position: relative;
  display: block;
  padding: 4px 14px;
  text-align: center;
  color: var(--text);
  font-weight: 700;
  line-height: 50px;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    transform 0.35s var(--ease-soft);
}

.mobile-nav a::after {
  content: "";
  display: block;
  width: min(160px, 52%);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, rgba(184, 176, 164, 0.18), rgba(0, 170, 92, 0.48), rgba(184, 176, 164, 0.18));
}

.mobile-nav a:hover {
  color: var(--accent);
  background: rgba(0, 170, 92, 0.08);
  transform: translateX(4px);
}

.mobile-nav-access-info {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  background: rgba(248, 245, 238, 0.9);
  border-radius: 20px;
}

.mobile-nav-access-info p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.mobile-nav-access-info iframe {
  display: block;
  width: 100%;
  min-height: 180px;
  border: 0;
  border-radius: 16px;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-toggle {
  background: var(--accent);
  border-color: rgba(0, 170, 92, 0.28);
  transform: rotate(90deg);
}

body.menu-open .menu-toggle span {
  background: var(--base-white);
}

body.menu-open .menu-toggle span:nth-child(1) {
  top: 25px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  top: 25px;
  transform: rotate(-45deg);
}

body.menu-open .mobile-nav-wrap {
  height: 100vh;
  background: rgba(255, 255, 255, 0.94);
  pointer-events: auto;
}

body.menu-open .mobile-nav {
  height: auto;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.global-nav a:hover,
.text-link,
.contact-lines a {
  color: var(--accent);
}

.section {
  position: relative;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease-soft),
    transform 1s var(--ease-soft);
  will-change: opacity, transform;
}

[data-reveal="fade-in"] {
  transform: translate3d(0, 0, 0) scale(0.975);
}

[data-reveal="hero"] {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.section-wide {
  padding: 112px 0;
}

.section-bleed {
  padding: 0 0 112px;
}

.section-label,
.eyebrow,
.support-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul,
dl {
  margin: 0;
}

h1,
h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(3rem, 5.1vw, 5.3rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.35rem, 3.6vw, 3.8rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

p,
li,
dd,
dt {
  font-size: 1.12rem;
}

.lead,
.section-heading p,
.section-copy p + p {
  margin-top: 18px;
}

.hero-copy .lead {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.9;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
}

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

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

.image-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 22, 18, 0.56);
  color: rgba(255, 253, 250, 0.92);
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.hero-media img {
  transform: scale(1.06);
  transition: transform 2.8s var(--ease-soft);
}

.is-ready .hero-media img {
  transform: scale(1);
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(90, 78, 62, 0.42) 0%, rgba(90, 78, 62, 0.2) 42%, rgba(90, 78, 62, 0.04) 72%),
    linear-gradient(180deg, rgba(248, 245, 238, 0.08) 0%, rgba(111, 98, 82, 0.34) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 80px 0;
  color: var(--base-white);
}

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

.hero-copy h1 {
  white-space: nowrap;
  color: #fffdfa;
  text-shadow: 0 4px 18px rgba(26, 22, 18, 0.42);
}

.hero-copy .eyebrow,
.hero-copy .lead,
.hero-copy .hero-meta span {
  color: rgba(255, 253, 250, 0.96);
  text-shadow: 0 4px 16px rgba(26, 22, 18, 0.5);
}

.hero-copy .eyebrow {
  font-size: 1.12rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1.08rem;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: var(--base-white);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--base-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.button:hover {
  transform: translateY(-1px);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.alternate {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.info-card,
.feature-card,
.feature-panel,
.support-box,
.contact-panel {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.section-opening {
  background:
    radial-gradient(circle at top right, rgba(0, 170, 92, 0.08), transparent 28%),
    var(--base-light-beige);
}

.opening-stack {
  display: grid;
  gap: 28px;
}

.opening-intro {
  max-width: 1080px;
}

.info-card {
  padding: 40px 34px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.info-summary {
  color: var(--text-soft);
}

.info-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.info-list {
  display: grid;
  gap: 16px;
}

.info-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--text-soft);
  font-weight: 700;
  white-space: nowrap;
}

.info-list dd {
  margin: 0;
  white-space: nowrap;
}

.info-list dd .point-list {
  margin-top: 8px;
}

.info-map {
  overflow: hidden;
  min-height: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--base-white);
}

.info-map iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.schedule-card {
  margin-top: 28px;
  padding: 14px 0 0;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
  border: 1px solid rgba(95, 88, 79, 0.42);
}

.schedule-table th,
.schedule-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(95, 88, 79, 0.3);
  text-align: center;
  vertical-align: middle;
}

.schedule-table thead th {
  color: #5d5a57;
  font-size: clamp(0.98rem, 1.7vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.schedule-table thead th:first-child,
.schedule-table tbody th {
  width: 28%;
  letter-spacing: 0.04em;
}

.schedule-table tbody th {
  color: #4b4743;
  font-size: clamp(1.02rem, 1.9vw, 1.48rem);
  font-weight: 700;
}

.schedule-table td {
  color: #4b4743;
  font-size: 1.15rem;
}

.schedule-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.schedule-mark-open::before {
  content: "";
  display: block;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: #eb6b8e;
}

.schedule-mark-closed {
  width: auto;
  height: auto;
  color: #4b4743;
  font-size: 1.45rem;
}

.schedule-note {
  margin-top: 12px;
  text-align: center;
  color: #4b4743;
  font-size: clamp(1rem, 1.8vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-copy p {
  color: var(--text-soft);
}

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

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-panel {
  padding: 40px 26px;
  background: linear-gradient(135deg, #ffffff, #f7f6f3);
  border: 1px solid var(--line);
  transition:
    transform 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease-soft),
    border-color 0.45s var(--ease-soft);
}

.section-space {
  background: var(--base-ivory);
  padding-bottom: 0;
}

.bleed-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 760px;
}

.bleed-split.reverse {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.bleed-media,
.bleed-copy {
  position: relative;
  min-height: 520px;
}

.bleed-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
}

.copy-inner {
  width: min(520px, 100%);
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.keyword-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(0, 170, 92, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.section-heading {
  margin-bottom: 38px;
  max-width: 720px;
}

.section-heading p {
  color: var(--text-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.feature-card {
  padding: 40px 30px;
  background: var(--base-white);
  border: 1px solid rgba(184, 176, 164, 0.4);
  transition:
    transform 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease-soft),
    border-color 0.45s var(--ease-soft);
}

.feature-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 170, 92, 0.18), rgba(0, 170, 92, 0.04));
}

.section-referral {
  background: var(--base-light-beige);
}

.section-referral .container-narrow {
  max-width: 820px;
}

.point-list {
  padding-left: 1.2em;
  color: var(--text-soft);
}

.point-list-emphasis li {
  font-weight: 700;
}

.point-list li + li {
  margin-top: 10px;
}

.support-box {
  padding: 40px 34px;
  background: linear-gradient(160deg, #8f8a82, #6e6962);
  color: var(--base-white);
}

.section-patients {
  background: linear-gradient(180deg, var(--base-white), #faf8f4);
}

.section-patients .container-narrow {
  text-align: center;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  transition:
    color 0.3s ease,
    transform 0.35s var(--ease-soft);
}

.section-access {
  padding-bottom: 0;
  background: var(--base-ivory);
}

.access-address {
  margin-bottom: 8px;
  font-size: 1.42rem;
  font-weight: 700;
}

.map-frame {
  display: flex;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(0, 170, 92, 0.08), rgba(0, 170, 92, 0.02)),
    #f2eee7;
}

.map-frame iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 24px;
  background: var(--base-white);
}

.section-contact {
  padding-top: 112px;
  padding-bottom: 128px;
  background: linear-gradient(180deg, #706a63, #59544d);
  color: var(--base-white);
}

.contact-panel {
  padding: 40px 34px;
  text-align: center;
}

.contact-name {
  margin-top: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-lines {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  justify-content: center;
}

.feature-card:hover,
.feature-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(38, 34, 29, 0.14);
  border-color: rgba(0, 170, 92, 0.22);
}

.text-link:hover {
  transform: translateX(4px);
}

.site-footer {
  padding: 28px 0;
  background: var(--base-white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-weight: 700;
}

.site-footer small {
  color: var(--text-soft);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(0, 170, 92, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 238, 0.94));
  box-shadow: 0 18px 40px rgba(38, 34, 29, 0.16);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.45s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.back-to-top:hover {
  border-color: rgba(0, 170, 92, 0.32);
  box-shadow: 0 22px 48px rgba(38, 34, 29, 0.2);
}

@media (max-width: 960px) {
  .menu-toggle,
  .mobile-nav-wrap {
    display: block;
  }

  .global-nav {
    display: none;
  }

  .section-wide {
    padding: 80px 0;
  }

  .section-bleed {
    padding-bottom: 80px;
  }

  .split-grid,
  .info-card-layout,
  .bleed-split,
  .bleed-split.reverse,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-overlay {
    min-height: auto;
  }

  .hero-overlay {
    padding: 112px 0 72px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    white-space: normal;
  }

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

  .bleed-copy {
    padding: 48px 24px;
  }

  .image-note {
    right: 16px;
    bottom: 16px;
  }

  .feature-grid {
    gap: 18px;
  }

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

  .schedule-table thead th:first-child,
  .schedule-table tbody th {
    width: 22%;
  }
}

@media (max-width: 640px) {
  .container,
  .container-narrow {
    width: min(100vw - 32px, 100%);
  }

  h1,
  h2,
  h3,
  p,
  li,
  dt,
  dd,
  a {
    word-break: auto-phrase;
    overflow-wrap: normal;
    line-break: strict;
    text-wrap: pretty;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img,
  .site-footer img {
    height: 40px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-meta,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .info-card,
  .feature-card,
  .feature-panel,
  .support-box,
  .contact-panel {
    padding: 24px;
  }

  .feature-grid-2col {
    grid-template-columns: 1fr;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .info-list dd {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .schedule-card {
    margin-top: 20px;
    padding-top: 6px;
    width: 100%;
    max-width: 100%;
  }

  .schedule-table {
    min-width: 0;
    width: 100%;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 4px;
  }

  .schedule-table thead th {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }

  .schedule-table tbody th {
    width: 24%;
    font-size: 0.92rem;
  }

  .schedule-table td {
    font-size: 0.9rem;
  }

  .schedule-mark {
    width: 0.9rem;
    height: 0.9rem;
  }

  .schedule-mark-open::before {
    width: 0.62rem;
    height: 0.62rem;
  }

  .schedule-mark-closed {
    font-size: 1rem;
  }

  .schedule-note {
    margin-top: 12px;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
  }

  .map-frame {
    padding: 28px;
  }

  .site-footer {
    padding: 24px 0 28px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .image-note {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    font-size: 0.76rem;
  }

  .site-footer p,
  .site-footer small {
    display: block;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  .hero-media img,
  .feature-card,
  .feature-panel,
  .text-link,
  .button,
  .back-to-top {
    transition: none;
    animation: none;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
  }

  .menu-toggle,
  .menu-toggle span,
  .mobile-nav,
  .mobile-nav a {
    transition: none;
  }
}
