:root {
  --ink: #15313a;
  --muted: #5f7278;
  --line: #dce8e8;
  --paper: #f7fbfa;
  --white: #ffffff;
  --teal: #0c8f8a;
  --teal-dark: #066762;
  --aqua: #dff6f3;
  --leaf: #76a76f;
  --wood: #c9965b;
  --shadow: 0 24px 70px rgba(18, 57, 65, 0.14);
  --radius: 8px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(16, 56, 64, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.brand-main,
.brand-sub {
  display: block;
  line-height: 1.1;
}

.brand-main {
  font-size: 1.02rem;
  font-weight: 800;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.72rem;
  opacity: 0.78;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.5vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-cta,
.button,
.reservation-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.header-cta {
  padding: 0 22px;
  background: var(--white);
  color: var(--teal-dark);
}

.site-header.is-scrolled .header-cta {
  color: var(--white);
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--ink);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 43, 50, 0.82) 0%, rgba(10, 43, 50, 0.54) 34%, rgba(10, 43, 50, 0.08) 70%),
    linear-gradient(0deg, rgba(247, 251, 250, 0.9) 0%, rgba(247, 251, 250, 0) 24%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: 170px 0 120px clamp(18px, 7vw, 96px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8f2ec;
}

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

h1 {
  width: 100%;
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.16;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 540px;
  margin-bottom: 34px;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.9;
  word-break: keep-all;
}

.hero-stats dt {
  white-space: nowrap;
}

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

.button {
  padding: 0 24px;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(12, 143, 138, 0.32);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 46px 0 0;
}

.hero-stats div {
  min-width: 118px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  font-size: 1.55rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  font-size: 0.83rem;
}

.quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1120px, calc(100% - 36px));
  grid-template-columns: repeat(4, 1fr);
  margin: -74px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-panel a {
  min-height: 148px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-panel a:last-child {
  border-right: 0;
}

.quick-panel span {
  color: var(--wood);
  font-weight: 900;
}

.quick-panel strong,
.quick-panel small {
  display: block;
}

.quick-panel strong {
  margin-top: 16px;
  font-size: 1.2rem;
}

.quick-panel small {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
}

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

.section-heading.center h2 {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.intro-grid article,
.department-grid a,
.flow-list li,
.reservation-form,
.hours {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.intro-grid article {
  min-height: 260px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(18, 57, 65, 0.06);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--aqua);
  font-size: 1.3rem;
  font-weight: 900;
}

.intro-grid h3 {
  margin: 24px 0 12px;
}

.intro-grid p,
.split-copy p,
.care-copy p,
.flow-list p,
.reservation p,
.access p {
  color: var(--muted);
  line-height: 1.9;
}

.split,
.care,
.reservation,
.access {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.split {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.split-media img,
.care img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
}

.departments {
  width: 100%;
  padding-right: max(18px, calc((100% - 1120px) / 2));
  padding-left: max(18px, calc((100% - 1120px) / 2));
  background: linear-gradient(180deg, #eef8f7 0%, #f7fbfa 100%);
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.department-grid a {
  min-height: 148px;
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.department-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(18, 57, 65, 0.1);
}

.department-grid strong,
.department-grid span {
  display: block;
}

.department-grid strong {
  font-size: 1.18rem;
}

.department-grid span {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.care {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.care-copy {
  padding: clamp(28px, 4vw, 54px);
  border-left: 5px solid var(--teal);
  background: var(--white);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.flow-list li {
  min-height: 246px;
  padding: 26px;
}

.flow-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.flow-list strong {
  display: block;
  margin: 24px 0 12px;
  font-size: 1.12rem;
}

.reservation {
  width: min(1120px, calc(100% - 36px));
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  margin: 0 auto 112px;
  padding: clamp(32px, 5vw, 62px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 10% 20%, rgba(118, 167, 111, 0.36), transparent 28%),
    linear-gradient(135deg, #0b5957 0%, #15313a 100%);
  box-shadow: var(--shadow);
}

.reservation .eyebrow,
.reservation p {
  color: #c7f4ef;
}

.reservation h2 {
  max-width: 640px;
  margin-bottom: 16px;
}

.reservation-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.reservation-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: #fbfefd;
  font: inherit;
}

.reservation-form button {
  width: 100%;
  border: 0;
  color: var(--white);
  background: var(--teal);
  cursor: pointer;
}

.access {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  padding-top: 0;
}

.access h2 {
  max-width: 420px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.access-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.access-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hours {
  grid-column: 1 / -1;
  overflow: hidden;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(18, 57, 65, 0.06);
}

.hours table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 6px;
  font-size: 0.95rem;
}

.hours th,
.hours td {
  min-width: 52px;
  padding: 15px 14px;
  border: 1px solid var(--line);
  text-align: center;
}

.hours thead th {
  color: var(--teal-dark);
  background: #eef8f7;
  font-weight: 900;
}

.hours tbody th {
  width: 240px;
  color: var(--muted);
  font-weight: 800;
  background: #fbfefd;
}

.hours td {
  color: var(--teal);
  font-size: 1.15rem;
  font-weight: 900;
}

.hours p {
  margin: 12px 8px 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: #d9ecea;
  background: #102c33;
  font-size: 0.9rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 33, 38, 0.55);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(480px, 100%);
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--aqua);
  font-size: 1.3rem;
  cursor: pointer;
}

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

  .menu-toggle {
    display: grid;
  }

  .site-header.menu-open {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(16, 56, 64, 0.08);
  }

  .site-header.menu-open .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav a {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.menu-open .nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 43, 50, 0.86) 0%, rgba(10, 43, 50, 0.54) 58%, rgba(10, 43, 50, 0.22) 100%),
      linear-gradient(0deg, rgba(247, 251, 250, 0.9) 0%, rgba(247, 251, 250, 0) 24%);
  }

  .hero-content {
    padding-top: 140px;
  }

  .quick-panel,
  .intro-grid,
  .department-grid,
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .care,
  .reservation,
  .access {
    grid-template-columns: 1fr;
  }

  .care-copy {
    order: 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
    color: var(--ink);
    background: rgba(247, 251, 250, 0.94);
    backdrop-filter: blur(14px);
  }

  .brand {
    min-width: 0;
  }

  .brand-main {
    font-size: 0.96rem;
  }

  .brand-sub {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-top: 72px;
    overflow: visible;
    background: var(--paper);
  }

  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: var(--paper);
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    width: 100%;
    padding: 28px 18px 58px;
    color: var(--ink);
    background: linear-gradient(180deg, #f7fbfa 0%, #eef8f7 100%);
  }

  .hero .eyebrow {
    color: var(--teal);
  }

  h1 {
    max-width: calc(100vw - 32px);
    font-size: clamp(1.92rem, 9.2vw, 2.45rem);
    line-height: 1.12;
  }

  .hero-copy {
    max-width: calc(100vw - 32px);
    font-size: 0.98rem;
    color: var(--muted);
  }

  .hero-actions {
    display: grid;
    max-width: 260px;
  }

  .button.ghost {
    border-color: rgba(6, 103, 98, 0.32);
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.72);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 300px;
  }

  .hero-stats div {
    min-width: 0;
    padding: 13px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(18, 57, 65, 0.08);
  }

  .quick-panel {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .quick-panel a {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 74px 0;
  }

  .desktop-break {
    display: none;
  }

  .intro-grid,
  .department-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .intro-grid article,
  .flow-list li {
    min-height: auto;
  }

  .reservation {
    margin-bottom: 74px;
    padding: 28px 18px;
  }

  .footer {
    display: grid;
  }

  .hours {
    overflow-x: hidden;
  }

  .hours table {
    min-width: 0;
    font-size: 0.78rem;
  }

  .hours th,
  .hours td {
    min-width: 0;
    padding: 12px 6px;
  }

  .hours tbody th {
    width: 136px;
  }

  .hours td {
    font-size: 0.92rem;
  }
}
