:root {
  --pink: #c8758d;
  --pink-dark: #a95470;
  --pink-light: #f7e9ed;
  --ivory: #fffaf7;
  --white: #ffffff;
  --text: #3f3939;
  --subtext: #756c6c;
  --border: #eadfe1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Yu Gothic", "YuGothic",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.8;
}

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

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

/* ---------- Header ---------- */

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

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

.header-logo {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--pink-dark);
}
.hero-inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.main-logo {
  display: block;
  position: relative;
  z-index: 2;
  width: min(86%, 720px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 3px 5px rgba(255, 255, 255, .9));
}

@media (max-width: 700px) {
  .main-logo {
    width: 91%;
  }
}

nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--pink);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 72vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fff8f7 55%,
      #f9edef 100%
    );
}

.hero-logo {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--pink-dark);
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--subtext);
  margin-bottom: 34px;
}

.hero-copy {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin-bottom: 10px;
}

.hero-text {
  color: var(--subtext);
}

/* ---------- Common ---------- */

section {
  padding: 80px 24px;
}

.container {
  width: min(100%, 1000px);
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: Georgia, serif;
  color: var(--pink-dark);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.section-title span {
  display: block;
  font-size: 0.8rem;
  color: var(--subtext);
  margin-top: 5px;
}

/* ---------- About ---------- */

.about {
  background: var(--white);
  padding-top: 40px;
}

.about-text {
  max-width: 700px;
  margin: auto;
  text-align: center;
  color: var(--subtext);
}

/* ---------- Today ---------- */

.today {
  background: var(--pink-light);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
#today .staff-grid { display: flex; justify-content: center; }
#today .staff-card { width: min(100%, 320px); }

.staff-card {
  background: white;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
}

.staff-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #eee7e7;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #aaa;
}
.staff-photo[data-staff-photo] {
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
}
.staff-photo[data-staff-photo] img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(2.65);
}
.staff-photo--sora[data-staff-photo] img { transform: translateY(11px) scale(3.15); }
.staff-photo--nena[data-staff-photo] img {
  object-position: center 0%;
  transform: translateY(40px) scale(2.65);
}
.staff-photo--bee[data-staff-photo] img { transform: translateY(16px) scale(3.45); }
.staff-dialog {
  position: fixed;
  inset: 0;
  width: max-content;
  max-width: 90vw;
  max-height: 90vh;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .55s ease, transform .55s ease;
}
.staff-dialog.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.staff-dialog::backdrop { background: rgba(30, 22, 26, .7); }
.staff-dialog img {
  width: auto;
  max-width: min(90vw, 680px);
  max-height: 90vh;
  max-height: 90dvh;
  height: auto;
  border-radius: 14px;
}
.staff-dialog-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--pink-dark);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.staff-card h3 {
  margin-bottom: 5px;
}

.staff-time {
  color: var(--pink-dark);
  font-size: 0.9rem;
}

/* ---------- Menu ---------- */

.menu {
  background: white;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.menu-card-main {
  padding: 30px 32px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.menu-card:last-child { grid-column: 1 / -1; }
.menu-card h3 { margin-bottom: 20px; color: var(--pink-dark); font-size: 1.15rem; }
.menu-card table { width: 100%; max-width: 620px; border-collapse: collapse; }
.menu-card:last-child table { margin: auto; }
.menu-card th, .menu-card td { padding: 10px 4px; border-bottom: 1px solid var(--border); }
.menu-card thead th { color: var(--subtext); font-size: .82rem; font-weight: 500; }
.menu-card th:first-child { text-align: left; }
.menu-card th:last-child, .menu-card td { text-align: right; }
.menu-card tbody th { font-weight: 500; }
.menu-card td { color: var(--pink-dark); font-weight: 700; white-space: nowrap; }
.menu-card tbody tr:last-child th, .menu-card tbody tr:last-child td { border-bottom: 0; }
.menu-card-footer { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; margin-top: 10px; padding: 0 4px; }
.menu-notes { flex: 1 1 220px; color: var(--subtext); font-size: .82rem; line-height: 1.7; }
.menu-extension { margin-top: 10px; padding: 0 4px; color: var(--subtext); font-size: .82rem; text-align: right; }
.menu-card-footer .menu-extension { flex: 0 0 auto; align-self: flex-start; margin: 0 0 0 auto; padding: 0; }
.menu-extension strong { margin-left: .5em; color: var(--pink-dark); font-weight: 600; white-space: nowrap; }

/* ---------- Flow ---------- */

.flow {
  background: #faf6f3;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: center;
}

.flow-number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  font-family: Georgia, serif;
}

.flow-item p {
  font-size: 0.9rem;
  color: var(--subtext);
  margin-top: 8px;
}
.flow-note {
  display: block;
  margin-top: 4px;
  font-size: .75rem;
}

/* ---------- Treatment room ---------- */

.shop {
  background: white;
}

.shop .section-title { margin-bottom: 14px; }
.room-intro {
  margin: 0 auto 34px;
  color: var(--subtext);
  text-align: center;
}

.room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.room-main-media {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
}
.room-main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 84%;
}

.room-copy {
  grid-column: 2;
  grid-row: 1;
}

.room-copy h3 {
  margin-bottom: 20px;
  color: var(--pink-dark);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.7;
}

.room-copy p { color: var(--subtext); }

.room-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.room-detail { min-width: 0; }
.room-detail-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 8px;
}
.room-detail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-detail--light { object-position: center 58%; }
.room-detail--room { object-position: center 20%; }
.room-detail--curtain { object-position: center 72%; }
.room-detail figcaption {
  margin-top: 7px;
  color: var(--pink-dark);
  font-size: .82rem;
  text-align: center;
}

/* ---------- Access ---------- */

.access {
  background: var(--ivory);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.map {
  min-height: 320px;
  background: #f7e9ed;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

.access-info h3 {
  color: var(--pink-dark);
  margin-bottom: 15px;
}

.access-info p {
  margin-bottom: 8px;
}
.access-info a[href^="tel:"] { color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reservation ---------- */

.reservation {
  background: var(--pink-light);
  text-align: center;
}

.reservation p {
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 14px 42px;
  background: var(--pink-dark);
  color: white;
  border-radius: 50px;
  transition: 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

/* ---------- Footer ---------- */

footer {
  background: #433c3d;
  color: #ddd;
  text-align: center;
  padding: 35px 20px;
  font-size: 0.8rem;
}

.footer-logo {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  color: white;
  margin-bottom: 10px;
}

/* ---------- Smartphone ---------- */

@media (max-width: 700px) {

  nav {
    display: none;
  }

  section {
    padding: 60px 20px;
  }

  .hero {
    min-height: 65vh;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }

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

}


/* Responsive navigation and finishing touches */
html { scroll-padding-top: 100px; }
.header-logo { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.header-icon { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.header-wordmark { display: block; width: 142px; height: auto; }
@media (max-width: 380px) { .header-logo { gap: 6px; } .header-icon { width: 34px; height: 34px; } .header-wordmark { width: 112px; } }
nav { align-items: center; gap: 20px; }
nav a { padding: 8px 0; }
.nav-reservation { padding: 8px 22px; border-radius: 30px; background: var(--pink-dark); color: white; }
.hero { min-height: 640px; flex-direction: column; padding: 0 24px 72px; background: linear-gradient(#fff 45%, #fffaf7); }
.hero-inner { position: relative; z-index: 1; }
.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(100% + 48px);
  height: clamp(260px, 43vw, 620px);
  margin: 0 -24px 38px;
  overflow: hidden;
  background: #ead6cf;
  isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 250, 247, .22), rgba(255, 242, 245, .34));
  pointer-events: none;
}
.hero, .today, .flow, .access, .reservation { position: relative; overflow: hidden; }
.hero { --wave-image: url("../images/wave.svg"); padding-bottom: 120px; }
.today, .flow { --wave-image: url("../images/wave.svg"); padding-bottom: 180px; }
#staff { --wave-image: url("../images/wave-ivory.svg"); }
.access { --wave-image: url("../images/wave-pink.svg"); padding-bottom: 180px; }
.reservation { --wave-image: url("../images/wave-dark.svg"); padding-bottom: 180px; }
.hero::after, .today::after, .flow::after, .access::after, .reservation::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 165px;
  background: var(--wave-image) center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.hero::after { height: 125px; }
.hero-copy { font-weight: 400; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { color: var(--pink-dark); font-size: .9rem; padding: 12px 0; }
.staff-card { border: 1px solid var(--border); border-radius: 16px; }
.section-title::after { content: ''; display: block; width: 36px; height: 2px; background: var(--pink); margin: 22px auto 0; }
.about-text p + p { margin-top: 16px; }
#today-date { display: inline-block; color: var(--pink-dark); margin-top: 15px; }
.schedule-note { font-size: .8rem; color: var(--subtext); margin-top: 8px; }
.menu-toggle { display: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink-dark); outline-offset: 5px; }
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding: 12px 20px; }
  .header-logo { margin-right: auto; }
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 9px; padding: 10px; min-height: 44px; color: var(--pink-dark); background: transparent; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: .75rem; cursor: pointer; }
  .menu-icon { display: grid; gap: 5px; width: 20px; }
  .menu-icon span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #site-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 1; display: flex; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 16px 24px rgba(63, 57, 57, .12); }
  #site-nav[hidden] { display: none; }
  #site-nav a { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  #site-nav .nav-reservation { margin-top: 10px; text-align: center; }
}
@media (max-width: 700px) {
  .hero { min-height: auto; padding: 0 20px 75px; }
  .about { padding-top: 28px; }
  .hero-media { width: calc(100% + 40px); height: clamp(220px, 55vw, 320px); margin: 0 -20px 20px; }
  .today, .flow, .access, .reservation { padding-bottom: 115px; }
  .hero::after, .today::after, .flow::after, .access::after, .reservation::after { height: 90px; }
  .hero::after { height: 68px; }
  .main-logo { margin-bottom: 0; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; margin-top: 20px; }
  .hero-actions .btn, .hero-actions .text-link { display: inline-flex; align-items: center; justify-content: center; flex: 1; min-width: 0; min-height: 48px; padding: 8px 10px; font-size: .88rem; white-space: nowrap; }
  .hero-actions .text-link { border: 1px solid var(--pink-dark); border-radius: 50px; background: rgba(255, 255, 255, .75); }
  .section-title { margin-bottom: 32px; }
  .menu-grid { grid-template-columns: 1fr; gap: 18px; }
  .menu-card-main { padding: 24px; }
  .flow-grid { gap: 28px 16px; }
  .room-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .room-main-media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .room-main-photo { object-position: center 82%; }
  .room-copy { grid-column: 1; grid-row: 2; }
  .room-copy h3 { margin-bottom: 12px; }
  .room-intro { margin-bottom: 24px; font-size: .92rem; }
  .room-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .room-detail figcaption { font-size: .75rem; line-height: 1.5; }
  .map { min-height: 260px; }
  .map iframe { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-video { display: none; }
}

.menu-description { margin: -6px 0 20px; color: var(--subtext); font-size: .9rem; line-height: 1.8; }
