/* ============================================================
   salon-03-organic  v2 — Botanical Editorial
   上質なボタニカル・エディトリアル / オーガニックサロン・エステ
   参照: 植物園の温室（アーチ窓のマスク）／Kinfolk のマージン規律
        ／欧文 Cormorant イタリックをテラコッタで刺す誌面感
   bg #f6f2ea / ink #3d382f / green #6b7d5e / terracotta #c07856
   有機性は blob ではなく「アーチ型の写真マスク」と 1px 茶罫で出す。
   ============================================================ */

:root {
  --bg: #f6f2ea;
  --bg-soft: #efe9db;
  --ink: #33302a;
  --ink-soft: #6b6558;
  --green: #6b7d5e;
  --green-soft: #dde3d5;
  --terracotta: #b96a45;
  --terracotta-soft: #f1ded3;
  --line: #d9d0bd;
  --card: #fffdf8;
  --heading: "Zen Kaku Gothic New", sans-serif;
  --en: "Cormorant Garamond", serif;
  --sans: "Noto Sans JP", sans-serif;
  /* 温室窓のアーチ（上半円）マスク */
  --arch: 50% 50% 6px 6px / 34% 34% 0 0;
  --arch-soft: 50% 50% 4px 4px / 22% 22% 0 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; }
img { display: block; }

::selection { background: var(--green); color: var(--bg); }

/* 欧文アクセント共通（Cormorant イタリック・テラコッタ） */
.section-tag,
.hero-en,
.works-tag,
.staff-role,
.news-label {
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.01em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  transition: padding .5s ease, background .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}

body.is-scrolled .site-header {
  padding: 14px 40px;
  background: rgba(246, 242, 234, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header-logo {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.site-nav a:not(.nav-cta a)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(0.19, 1, 0.22, 1);
}

.site-nav a:hover { color: var(--green); }
.site-nav a:not(.nav-cta a):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta a {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--terracotta);
  padding: 11px 26px;
  border-radius: 999px;
  transition: background 0.3s ease;
}

.nav-cta a:hover { background: var(--green); color: #fff; }

.nav-toggle { display: none; }

/* ---------- Section shared ---------- */
.section { padding: clamp(88px, 11vw, 148px) 0 0; }

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 14px;
}

.section-head.center .section-tag { position: relative; padding-bottom: 12px; }
.section-head.center .section-tag::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 28px; height: 1px;
  background: var(--terracotta);
  transform: translateX(-50%);
}

.section-title {
  font-family: var(--heading);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* 罫線＋余白の「素の」ブロック（角丸カード・影は使わない） */
.card {
  background: transparent;
}

/* ---------- Hero — 温室のアーチ窓 ---------- */
.hero {
  padding: clamp(140px, 16vw, 180px) 0 clamp(70px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.hero-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 26px;
}

.leaf-mark { flex-shrink: 0; }

.hero-title {
  font-family: var(--heading);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.hero-en {
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--terracotta);
  margin-bottom: 40px;
}

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

/* アーチ型の写真マスク（温室窓の品） */
.hero-media {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  will-change: transform;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(51, 48, 42, 0.14);
  z-index: 2;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover { background: var(--terracotta); }

.btn-ghost {
  border: 1px solid var(--green);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- News ---------- */
.news { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.news-inner {
  display: flex;
  gap: 44px;
  padding-top: 26px;
  padding-bottom: 26px;
  align-items: flex-start;
}

.news-label {
  font-size: 19px;
  padding-top: 2px;
  flex-shrink: 0;
}

.news-list { flex: 1; }

.news-list li {
  display: flex;
  gap: 24px;
  padding: 7px 0;
  font-size: 14px;
}

.news-list li + li { border-top: 1px solid var(--line); }

.news-list time {
  font-family: var(--en);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* ---------- Concept ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.concept-para {
  color: var(--ink-soft);
  margin-bottom: 1.5em;
}

.concept-para:last-child { margin-bottom: 0; }

/* アーチ型の写真マスク */
.concept-media {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
}

.concept-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(51, 48, 42, 0.14);
  z-index: 2;
  pointer-events: none;
}

.concept-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Menu — 1px 茶罫の2カラムリスト ---------- */
.menu-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.menu-group {
  padding: 40px 34px 40px 0;
  border-bottom: 1px solid var(--line);
}

.menu-groups .menu-group:not(:nth-child(3n)) {
  padding-right: 34px;
  border-right: 1px solid var(--line);
}
.menu-groups .menu-group:not(:nth-child(3n)) { padding-left: 0; }
.menu-group + .menu-group { padding-left: 34px; }
.menu-groups .menu-group:nth-child(3n+1) { padding-left: 0; }

.menu-category {
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--terracotta);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.menu-item + .menu-item { margin-top: 18px; }

.menu-item-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.menu-name { font-size: 15px; font-weight: 500; }

.menu-price {
  font-family: var(--en);
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

.menu-note {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.menu-foot {
  margin-top: 36px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Works / Gallery ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 44px);
}

/* 2枚目・4枚目…はアーチをやや低く、リズムを付ける */
.works-item:nth-child(even) { margin-top: 44px; }

.works-media {
  overflow: hidden;
  border-radius: var(--arch-soft);
  position: relative;
}

.works-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(51, 48, 42, 0.12);
  z-index: 2;
  pointer-events: none;
}

.works-media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.works-item:hover .works-media img { transform: scale(1.05); }

.works-text { padding: 20px 4px 0; }

.works-tag {
  display: inline-block;
  font-size: 15px;
  margin-bottom: 6px;
}

.works-title {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 500;
}

.works-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Staff ---------- */
.staff-list {
  display: grid;
  gap: clamp(48px, 7vw, 84px);
}

.staff-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.staff-item:nth-child(even) { grid-template-columns: 1fr 300px; }
.staff-item:nth-child(even) .staff-media { order: 2; }

.staff-media {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
}

.staff-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(51, 48, 42, 0.14);
  z-index: 2;
  pointer-events: none;
}

.staff-media img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
}

.staff-role {
  display: inline-block;
  font-size: 17px;
  margin-bottom: 10px;
}

.staff-name {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 14px;
}

.staff-name::after {
  content: "";
  display: block;
  width: 32px; height: 1px;
  background: var(--line);
  margin-top: 16px;
}

.staff-bio {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 42em;
}

/* ---------- Voices ---------- */
.voices-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voices-item {
  padding: 40px 32px;
  position: relative;
}

.voices-item + .voices-item { border-left: 1px solid var(--line); }

.voices-item::before {
  content: "\201C";
  display: block;
  font-family: var(--en);
  font-style: italic;
  font-size: 48px;
  line-height: 0.7;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.voices-text {
  font-size: 14.5px;
  color: var(--ink);
}

.voices-author {
  margin-top: 20px;
  font-family: var(--en);
  font-style: italic;
  font-size: 15px;
  color: var(--green);
}

/* ---------- Flow — アウトライン文字の大きな番号 ---------- */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 44px);
}

.flow-item { position: relative; }
.flow-item + .flow-item::before {
  content: "";
  position: absolute;
  top: 34px; left: -22px;
  width: 12px; height: 1px;
  background: var(--line);
}

.flow-step {
  display: block;
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  font-size: 68px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--terracotta);
  margin-bottom: 18px;
}

.flow-title {
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}

.flow-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}

.faq-q {
  font-size: 15.5px;
  font-weight: 500;
  display: flex;
  gap: 16px;
}

.faq-q::before {
  content: "Q";
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: var(--terracotta);
  flex-shrink: 0;
}

.faq-a {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  gap: 16px;
}

.faq-a::before {
  content: "A";
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: var(--green);
  flex-shrink: 0;
}

/* ---------- Access ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.access-info { border-top: 1px solid var(--line); }

.access-info div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 4px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.access-info dt {
  color: var(--green);
  font-weight: 500;
}

.access-info dd a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

.access-map {
  border-radius: var(--arch-soft);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

/* ---------- CTA ---------- */
.cta {
  margin-top: clamp(96px, 12vw, 140px);
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #fff;
}

/* 温室窓のアーチを白罫でうっすら（blob の代替の有機性） */
.cta::before {
  content: "";
  position: absolute;
  top: -80px; left: 50%;
  width: 460px; height: 320px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 0;
  border-radius: 230px 230px 0 0;
  pointer-events: none;
}

.cta-inner {
  padding-top: clamp(72px, 9vw, 104px);
  padding-bottom: clamp(72px, 9vw, 104px);
  text-align: center;
  position: relative;
}

.cta .section-tag { color: #f1ded3; }
.cta .section-tag::after { background: rgba(255, 255, 255, 0.5); }

.cta-title {
  font-family: var(--heading);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 14px 0 16px;
}

.cta-text {
  font-size: 14.5px;
  opacity: 0.9;
  margin-bottom: 38px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta .btn-primary { background: var(--terracotta); }
.cta .btn-primary:hover { background: #fff; color: var(--ink); }

.cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.cta .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.cta-sns {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.cta-sns a {
  font-family: var(--en);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 3px;
  transition: opacity 0.3s ease;
}

.cta-sns a:hover { opacity: 0.7; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 24px 40px;
  text-align: center;
}

.footer-logo {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-copy {
  margin-top: 12px;
  font-family: var(--en);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Skin（店舗別差別化 / TEMPLATE_SPEC §9） ---------- */
/* green 系変数がスキン対象。テラコッタは固定（§7 対応表） */
.u-alt-font .hero-title,
.u-alt-font .section-title,
.u-alt-font .works-title,
.u-alt-font .staff-name,
.u-alt-font .flow-title,
.u-alt-font .cta-title,
.u-alt-font .header-logo {
  font-family: "Zen Maru Gothic", sans-serif;
}

body.u-btn-square .btn, body.u-btn-square .nav-cta a { border-radius: 0; }
body.u-btn-round .btn, body.u-btn-round .nav-cta a { border-radius: 8px; }
body.u-btn-pill .btn, body.u-btn-pill .nav-cta a { border-radius: 999px; }

/* ---------- Reveal（curtain は reset.css で実装済み） ---------- */
[data-reveal]:not([data-reveal="curtain"]):not([data-reveal="line"]) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal]:not([data-reveal="curtain"]):not([data-reveal="line"]).is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-media { transform: none !important; }
}

/* ---------- Demo bar ---------- */
.demo-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  text-align: center;
}

.demo-bar p { max-width: 900px; }

.demo-bar button.js-demo-close {
  flex-shrink: 0;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 16px;
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 440px; margin: 0 auto; }

  .concept-grid { grid-template-columns: 1fr; gap: 40px; }
  .concept-media { order: -1; max-width: 460px; margin: 0 auto; }

  .menu-groups { grid-template-columns: 1fr; border-top: none; }
  .menu-group,
  .menu-groups .menu-group:not(:nth-child(3n)) {
    padding: 30px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }
  .menu-group + .menu-group { padding-left: 0; }

  .works-grid { grid-template-columns: 1fr; gap: 40px; }
  .works-item:nth-child(even) { margin-top: 0; }

  .voices-list { grid-template-columns: 1fr; }
  .voices-item + .voices-item { border-left: 0; border-top: 1px solid var(--line); }

  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-item + .flow-item::before { display: none; }

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

  .staff-item,
  .staff-item:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .staff-item:nth-child(even) .staff-media { order: 0; }
  .staff-media { max-width: 340px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .site-header { padding: 16px 20px; }
  body.is-scrolled .site-header { padding: 12px 20px; }
  .inner { padding: 0 22px; }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(246, 242, 234, 0.98);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .site-nav a { font-size: 16px; }
  .site-nav a:not(.nav-cta a)::after { display: none; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 110;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    margin: 0 auto;
    transition: transform 0.35s ease;
  }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(20deg); }
  body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }

  .hero { padding: 116px 0 56px; }
  .hero-title { line-height: 1.4; }

  .section-head { margin-bottom: 36px; }

  .news-inner { flex-direction: column; gap: 12px; }
  .news-list li { flex-direction: column; gap: 2px; padding: 10px 0; }

  .flow-list { grid-template-columns: 1fr; gap: 24px; }
  .flow-step { font-size: 56px; }

  .cta { margin-top: 80px; }
  .cta::before { width: 300px; height: 210px; top: -50px; border-radius: 150px 150px 0 0; }
  .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }

  .demo-bar { flex-direction: column; gap: 8px; padding: 10px 16px 12px; }
}
