/* ヘッドスパ こもれ間（見本） */
:root {
  --bg: #ece5d9;
  --bg-deep: #e2d8c8;
  --paper: #f5f0e7;
  --ink: #2c332d;
  --ink-soft: #5b6358;
  --moss: #4a5a45;
  --line-rule: #cfc3b0;
  --line-green: #06c755;
  --line-green-deep: #05a648;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin: 0;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(236, 229, 217, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--serif);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.logo small {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
}
.logo span { font-size: 21px; letter-spacing: 0.18em; }

.nav {
  display: flex;
  gap: 4px 20px;
  font-size: 14px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--moss); }

.sample-note {
  background: var(--moss);
  color: #f1ece2;
  font-size: 12px;
  text-align: center;
  padding: 4px 12px;
  letter-spacing: 0.1em;
}

/* ---------- LINE buttons ---------- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--line-green);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 6px 18px -8px rgba(6, 120, 60, 0.55);
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-line:hover { background: var(--line-green-deep); transform: translateY(-1px); }
.btn-line .bubble {
  width: 22px;
  height: 20px;
  flex: none;
}
.btn-line.small { font-size: 14px; padding: 9px 18px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #f7f2e9;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 32, 26, 0.18) 0%, rgba(30, 32, 26, 0.3) 40%, rgba(30, 32, 26, 0.68) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 72px;
}
.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-shadow: 0 1px 14px rgba(20, 22, 18, 0.55);
}
.hero p { max-width: 30em; font-size: 15px; margin-bottom: 28px; }

/* ---------- hand-drawn wave ---------- */
.wave {
  display: block;
  width: 100%;
  height: 40px;
  color: var(--moss);
  opacity: 0.55;
  margin: 0 auto;
}
.wave path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 4.4vw, 30px);
  margin-bottom: 28px;
}
.lead { color: var(--ink-soft); max-width: 34em; }

/* intro with offset photo */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.intro figure { margin: 0; }
.intro figure img { border-radius: 2px; }
.intro figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 820px) {
  .intro { grid-template-columns: 5fr 6fr; gap: 64px; }
  .intro figure { transform: translateY(32px); }
}

/* concerns: index-like list */
.concerns { background: var(--paper); }
.concern-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-rule);
}
.concern-list li {
  display: grid;
  grid-template-columns: 2.2em 1fr;
  gap: 4px 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-rule);
}
.concern-list .num {
  font-family: var(--serif);
  color: var(--moss);
  font-size: 15px;
  padding-top: 4px;
}
.concern-list h3 { font-size: 19px; }
.concern-list li > div { grid-column: 2; }
.concern-list p { color: var(--ink-soft); font-size: 15px; margin: 6px 0 0; }
.concern-list .pick {
  font-size: 13px;
  color: var(--moss);
  margin-top: 10px;
  display: inline-block;
  border-bottom: 1px solid var(--moss);
  text-decoration: none;
}
@media (min-width: 820px) {
  .concern-list li { grid-template-columns: 3em 16em 1fr; align-items: baseline; }
  .concern-list li > div { grid-column: 3; }
  .concern-list li h3 { grid-column: 2; grid-row: 1; }
  .concern-list li .num { grid-row: 1; }
  .concern-list li > div { grid-row: 1; }
}

/* booking */
.booking { text-align: left; }
.booking-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 36px 64px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--moss);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--moss);
  background: var(--bg);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 4px;
  border-left: 1px dashed var(--moss);
  opacity: 0.6;
}
.steps h3 { font-size: 18px; margin-bottom: 4px; padding-top: 6px; }
.steps p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.steps .msg {
  margin-top: 12px;
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line-rule);
  border-radius: 14px 14px 14px 2px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { padding: 64px 0 0 0; }
  .steps li:not(:last-child)::after {
    left: 52px; right: -24px; top: 22px; bottom: auto;
    border-left: 0; border-top: 1px dashed var(--moss);
  }
}

/* ambience strip */
.strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 640px) {
  .strip { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .strip img:last-child { margin-top: 56px; }
}

/* info */
.info { background: var(--bg-deep); }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.info-table th, .info-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-rule);
}
.info-table th {
  width: 7em;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.15em;
}

/* ---------- menu page ---------- */
.page-head { padding: 72px 0 24px; }
.page-head h1 { font-size: clamp(26px, 5vw, 36px); margin-bottom: 12px; }

.first-visit {
  border: 1px solid var(--moss);
  padding: 22px 24px;
  margin: 8px 0 48px;
  background: var(--paper);
  position: relative;
}
.first-visit strong { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--moss); }
.first-visit p { margin: 6px 0 0; font-size: 15px; }

.course {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line-rule);
}
.course:last-of-type { border-bottom: 1px solid var(--line-rule); }
.course h2 { font-size: 21px; }
.course .meta {
  display: flex;
  gap: 18px;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink-soft);
}
.course .price {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.course .price small { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-left: 4px; }
.course p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; }
.course .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--moss);
  border: 1px solid var(--moss);
  padding: 0 8px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.1em;
}
@media (min-width: 820px) {
  .course { grid-template-columns: 1fr 14em; }
  .course .right { text-align: right; }
  .course .meta { justify-content: flex-end; }
}

.notes {
  margin-top: 48px;
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 1.2em;
}
.notes li { margin-bottom: 6px; }

/* ---------- shop page ---------- */
.shop-hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-rule);
}
.product:first-of-type { border-top: 1px solid var(--line-rule); }
.product .kind { font-size: 12px; letter-spacing: 0.25em; color: var(--ink-soft); }
.product h2 { font-size: 22px; margin: 4px 0 10px; }
.product p { color: var(--ink-soft); font-size: 15px; }
.product .price {
  font-family: var(--serif);
  font-size: 24px;
}
.product .price small { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-left: 4px; }
.product form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.product label { font-size: 13px; color: var(--ink-soft); }
.product select {
  font: inherit;
  font-size: 15px;
  padding: 8px 10px;
  border: 1px solid var(--line-rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
}
.btn-cart {
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 11px 26px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s ease;
}
.btn-cart:hover { background: var(--moss); }
.product .size {
  font-size: 13px;
  color: var(--ink-soft);
}
@media (min-width: 820px) {
  .product { grid-template-columns: 9em 1fr 15em; align-items: start; }
  .product .buy { text-align: right; }
  .product form { justify-content: flex-end; }
}
.shipping { margin-top: 32px; font-size: 14px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  padding: 56px 0 120px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-rule);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
@media (min-width: 820px) { .site-footer { padding-bottom: 56px; } }

/* ---------- mobile sticky booking bar ---------- */
.book-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 240, 231, 0.96);
  border-top: 1px solid var(--line-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-soft);
}
.book-bar .btn-line { padding: 10px 20px; font-size: 15px; }
@media (min-width: 820px) { .book-bar { display: none; } }
.header-book { display: none; }
@media (min-width: 820px) { .header-book { display: inline-flex; } }

/* ---------- slow fade-in ---------- */
.fade { opacity: 1; }
.js .fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.js .fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transform: none; transition: none; }
  .btn-line, .btn-cart { transition: none; }
}

.product > img { width: 100%; max-width: 220px; aspect-ratio: 3 / 4; object-fit: cover; }
.book-bar span { flex: 1; min-width: 0; line-height: 1.5; }
.book-bar .btn-line { flex: none; }
