/* =========================================================
   ねむり蒸し LP  styles.css
   ========================================================= */

/* ---------- Color palette & tokens ---------- */
:root {
  --c-night: #2B4136;      /* ナイトフォレスト（メイン1） */
  --c-night-2: #36503F;
  --c-green: #3D5A40;      /* よもぎグリーン（メイン2） */
  --c-sage: #B7C4AA;       /* セージミスト（メイン3） */
  --c-sage-soft: #E6EBDF;
  --c-ivory: #F7F4EE;      /* ウォームアイボリー（ベース） */
  --c-white: #FFFFFF;
  --c-accent: #C8955A;     /* 灯アンバー（アクセント） */
  --c-accent-dark: #A97A43;
  --c-text: #2A2B27;       /* 墨 */
  --c-text-sub: #5E625A;
  --c-line: #DDD8CC;

  --ff-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --ff-sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Meiryo", sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(31, 46, 39, .08);
  --shadow-lg: 0 20px 50px rgba(31, 46, 39, .16);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-ivory);
  line-height: 1.9;
  letter-spacing: .04em;
  font-size: 16px;
  overflow-x: hidden;
}
main { overflow-x: clip; } /* 画面幅からのはみ出しを切り取り、スマホで横に揺れないようにする */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sp-only { display: none; }
@media (max-width: 767px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(840px, 100% - 40px); }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.8em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .08em;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn--lg { padding: 1.1em 2.4em; font-size: 1rem; }
.btn--accent { background: var(--c-accent); color: var(--c-white); box-shadow: 0 8px 22px rgba(200, 149, 90, .35); }
.btn--accent:hover { background: var(--c-accent-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(200, 149, 90, .45); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--c-white); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-night); transform: translateY(-3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
}
/* スクロール後の背景（すりガラス）は疑似要素に持たせる。
   ヘッダー本体に backdrop-filter を付けると、中の固定メニュー（.nav）がヘッダーの高さに閉じ込められるため */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(247, 244, 238, .92); box-shadow: 0 2px 20px rgba(31, 46, 39, .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled::before { opacity: 1; }
/* スマホでは、すりガラス効果（処理が重い）を外して背景を少し濃くする。FVからのスクロールが引っかからないように */
@media (max-width: 767px) {
  .header::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(247, 244, 238, .97); }
}
.header__inner {
  height: 100%; width: min(1240px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo { position: relative; z-index: 2; display: block; width: 150px; flex-shrink: 0; }
.header__logo .logo { width: 100%; transition: opacity .4s; }
.header__logo .logo--green { position: absolute; inset: 0; opacity: 0; }
.header.is-scrolled .logo--white { opacity: 0; }
.header.is-scrolled .logo--green { opacity: 1; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 22px; }
.nav__list a {
  position: relative; text-decoration: none; font-size: .85rem; color: var(--c-white);
  transition: color .3s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.header.is-scrolled .nav__list a { color: var(--c-text); }
.nav__cta { padding: .7em 1.4em; font-size: .85rem; }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; z-index: 2;
}
.menu-toggle span {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--c-white); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s, background-color .3s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.header.is-scrolled .menu-toggle span { background: var(--c-night); }
.menu-open .header .menu-toggle span { background: var(--c-white); } /* スクロール後も「✕」を白に */
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 40px;
    background: rgba(43, 65, 54, .97);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__list a, .header.is-scrolled .nav__list a { color: var(--c-white); font-size: 1.05rem; }
  .menu-open .header::before { opacity: 0; }
  .menu-open .header .logo--white { opacity: 1; }
  .menu-open .header .logo--green { opacity: 0; }
}

/* ---------- Splash ---------- */
/* JS 有効時のみ表示。CSS アニメーションだけで約1.9秒後に自動で消える */
:root { --intro: 0s; }
.js { --intro: 1.5s; }
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #FFFFFF 0%, var(--c-ivory) 60%, #ECE8DC 100%);
  animation: splashOut .5s var(--ease) 1.4s forwards;
}
.splash__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.splash__logo {
  width: min(300px, 64vw); height: auto;
  opacity: 0; animation: splashLogo 1s var(--ease) .1s forwards;
}
.splash__copy {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-serif); font-size: clamp(.82rem, 2.8vw, .98rem); letter-spacing: .32em; padding-left: .32em;
  color: var(--c-green);
  opacity: 0; animation: fadeUp .8s var(--ease) .5s forwards;
}
.splash__copy::before, .splash__copy::after { content: ""; width: 22px; height: 1px; background: var(--c-accent); }
@keyframes splashLogo {
  from { opacity: 0; filter: blur(8px); transform: scale(.96); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--c-white);
  background:
    radial-gradient(ellipse 42% 52% at 74% 54%, rgba(231, 238, 224, .2) 0%, transparent 70%),
    radial-gradient(ellipse at 75% 55%, rgba(78, 112, 82, .7) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 90%, rgba(200, 149, 90, .2) 0%, transparent 45%),
    linear-gradient(160deg, #22362C 0%, var(--c-night) 45%, #3A5644 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__steam {
  position: absolute; right: -5%; bottom: -10%; width: 60%; height: 120%;
  background: url("assets/steam.jpg") center bottom / contain no-repeat;
  mix-blend-mode: screen; opacity: .28; filter: blur(1px);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 45%, transparent 100%);
  animation: steamDrift 14s ease-in-out infinite alternate;
}
@keyframes steamDrift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .22; }
  to   { transform: translate3d(-3%, -4%, 0) scale(1.06); opacity: .34; }
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.hero__orb--1 { width: 46vw; height: 46vw; right: 6%; top: 12%; background: radial-gradient(circle, rgba(183, 196, 170, .35), transparent 70%); animation: breathe 9s ease-in-out infinite; }
.hero__orb--2 { width: 30vw; height: 30vw; left: -6%; bottom: -8%; background: radial-gradient(circle, rgba(200, 149, 90, .28), transparent 70%); animation: breathe 11s ease-in-out infinite reverse; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.hero__arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__arcs circle, .hero__arcs path { fill: none; stroke: rgba(183, 196, 170, .16); stroke-width: 1; }
.hero__arcs circle:nth-child(2) { stroke-dasharray: 4 10; animation: spin 80s linear infinite; transform-origin: 900px 420px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* テキスト（左）＋ 本体画像（右）の2カラム。スマホは見出しの直後に本体画像 */
.hero__inner {
  /* 下の余白 140px：下端の「SCROLL」（約115px）とボタンが重ならないように */
  width: min(1200px, 100% - 40px); margin-inline: auto; padding: calc(var(--header-h) + 32px) 0 140px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__inner > * { grid-column: 1; }
.hero__inner > .hero__visual { grid-column: 2; grid-row: 1 / span 5; }
.hero__label {
  justify-self: start;
  display: inline-block; font-size: .8rem; letter-spacing: .2em; padding: .35em 1.2em;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s var(--ease) calc(var(--intro) + .1s) forwards;
}
.hero__title {
  font-family: var(--ff-serif); font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.35; letter-spacing: .14em;
}
.hero__line { display: block; opacity: 0; filter: blur(10px); animation: blurIn 1.3s var(--ease) forwards; }
.hero__line:nth-child(1) { animation-delay: calc(var(--intro) + .25s); }
.hero__line:nth-child(2) { animation-delay: calc(var(--intro) + .55s); padding-left: 1em; }
.hero__line:nth-child(3) { animation-delay: calc(var(--intro) + .85s); padding-left: 2em; }
@keyframes blurIn { to { opacity: 1; filter: blur(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__sub {
  margin-top: 32px; font-family: var(--ff-serif); font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .14em; line-height: 1.8;
  opacity: 0; animation: fadeUp 1s var(--ease) calc(var(--intro) + 1.2s) forwards;
}
.hero__brand { font-size: 1.35em; color: #E7CFA9; }
.hero__lead {
  margin-top: 18px; font-size: .95rem; color: rgba(255, 255, 255, .85);
  opacity: 0; animation: fadeUp 1s var(--ease) calc(var(--intro) + 1.35s) forwards;
}
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; animation: fadeUp 1s var(--ease) calc(var(--intro) + 1.5s) forwards; }

/* 本体画像 */
.hero__visual { position: relative; width: 100%; max-width: 520px; justify-self: center; }
.hero__visual-glow {
  position: absolute; inset: 4% -6% 2%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 248, 242, .5) 0%, rgba(183, 196, 170, .22) 55%, transparent 100%);
  opacity: 0; animation: fadeIn 1.6s var(--ease) calc(var(--intro) + .2s) forwards;
}
.hero__visual::after {
  content: ""; position: absolute; left: 12%; right: 8%; bottom: 0; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 20, 15, .45), transparent);
  opacity: 0; animation: fadeIn 1.6s var(--ease) calc(var(--intro) + .5s) forwards;
}
.hero__product {
  position: relative; z-index: 1; width: auto; max-width: 100%; max-height: min(68vh, 600px); margin-inline: auto;
  filter: drop-shadow(0 28px 36px rgba(10, 20, 15, .4));
  opacity: 0;
  animation:
    productIn 1.4s var(--ease) calc(var(--intro) + .35s) forwards,
    productFloat 7s ease-in-out calc(var(--intro) + 1.75s) infinite;
}
@keyframes productIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes productFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeIn { to { opacity: 1; } }
.hero__visual-tag {
  position: absolute; z-index: 2; left: 0; bottom: 8%;
  padding: .45em 1.2em; border-radius: 999px; font-size: .78rem; letter-spacing: .08em; white-space: nowrap;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px);
  opacity: 0; animation: fadeUp 1s var(--ease) calc(var(--intro) + 1.1s) forwards;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .3em; text-decoration: none; color: rgba(255, 255, 255, .75);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px; background: linear-gradient(rgba(255, 255, 255, .8), transparent);
  animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 767px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__inner > .hero__visual { grid-column: 1; grid-row: auto; max-width: 340px; margin-top: 12px; }
  /* 画面の高さではなく横幅で大きさを決める（スクロールでアドレスバーが縮んだときに、画像が急に大きくならないように） */
  .hero__product { max-height: min(250px, 56vw); }
  .hero__visual-tag { left: 50%; bottom: -4px; translate: -50% 0; font-size: .72rem; }
  /* 枠を湯気の写真と同じ縦横比にして、写真のふちが本体画像の下に横線として見えないようにする */
  .hero__steam { width: 110%; height: auto; aspect-ratio: 1142 / 1400; background-size: cover; right: -40%; opacity: .2; }
  .hero__cta .btn { width: 100%; }
  .hero__line:nth-child(2) { padding-left: .6em; }
  .hero__line:nth-child(3) { padding-left: 1.2em; }
}

/* ---------- Section head ---------- */
.section-head { text-align: center; margin-bottom: clamp(48px, 7vw, 72px); }
.section-head__en {
  font-family: var(--ff-serif); font-size: .85rem; letter-spacing: .4em; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.section-head__en::before, .section-head__en::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section-head__title { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: .1em; color: var(--c-night); }
.section-head__lead { margin-top: 18px; color: var(--c-text-sub); font-size: .98rem; }
.section-head--light .section-head__title { color: var(--c-white); }
.section-head--light .section-head__lead { color: rgba(255, 255, 255, .78); }

.sub-block + .sub-block { margin-top: clamp(64px, 9vw, 110px); }
.sub-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  font-family: var(--ff-serif); font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--c-night);
  padding-bottom: 16px; margin-bottom: 36px; border-bottom: 1px solid var(--c-line);
}
.sub-title span { font-size: .8em; color: var(--c-accent); letter-spacing: .1em; }
.sub-title small { font-family: var(--ff-sans); font-size: .85rem; color: var(--c-text-sub); }
.sub-title--center { justify-content: center; border: 0; text-align: center; }

.note { margin-top: 20px; font-size: .8rem; color: var(--c-text-sub); }
.note--light { color: rgba(255, 255, 255, .6); text-align: center; }

/* ---------- Grid & Card ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__title { font-family: var(--ff-serif); font-size: 1.15rem; color: var(--c-night); margin-bottom: 12px; }
.card p { font-size: .92rem; color: var(--c-text-sub); line-height: 1.85; }

/* ---------- Problems ---------- */
.problems { background: var(--c-ivory); }
.problem-card { position: relative; padding-top: 56px; overflow: hidden; }
.problem-card__num {
  position: absolute; top: 14px; right: 20px;
  font-family: var(--ff-serif); font-size: 3rem; line-height: 1; color: var(--c-sage-soft);
}
.problem-card .card__title { font-size: 1.08rem; letter-spacing: .02em; word-break: keep-all; }
.problem-card::before { content: ""; position: absolute; top: 28px; left: 28px; width: 28px; height: 2px; background: var(--c-accent); }
.problems__answer {
  margin-top: 64px; text-align: center; font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.7rem); color: var(--c-night); line-height: 1.8;
}
.problems__answer strong { font-size: 1.25em; white-space: nowrap; color: var(--c-green); background: linear-gradient(transparent 62%, rgba(200, 149, 90, .3) 62%); font-weight: 600; }

/* ---------- Issue ---------- */
.issue { background: var(--c-white); }
.issue__body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.issue__img { margin: 0; position: relative; }
.issue__img img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(.85); }
.issue__img figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: .3em 1em; border-radius: 999px;
  background: rgba(43, 65, 54, .8); color: var(--c-white); font-size: .78rem;
}
.issue__list { display: grid; gap: 18px; }
.issue__item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius); background: var(--c-ivory); border: 1px solid var(--c-line);
}
.issue__item h3 { font-family: var(--ff-serif); font-size: 1.1rem; color: var(--c-night); margin-bottom: 6px; }
.issue__item p { font-size: .9rem; color: var(--c-text-sub); }
.issue__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-white); border: 1px solid var(--c-line);
}
.issue__icon svg, .effect-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--c-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
  .issue__body { grid-template-columns: 1fr; }
  .issue__img { max-width: 360px; margin-inline: auto; }
  .issue__item { padding: 20px 18px; gap: 14px; }
}

/* ---------- About ---------- */
.about {
  background: linear-gradient(180deg, var(--c-night) 0%, var(--c-night-2) 100%);
  color: var(--c-white); overflow: hidden;
}
.about__deco {
  position: absolute; width: 700px; height: 700px; right: -200px; top: -150px; border-radius: 50%;
  border: 1px solid rgba(183, 196, 170, .15);
  box-shadow: 0 0 0 80px rgba(183, 196, 170, .03), 0 0 0 160px rgba(183, 196, 170, .02);
}
.about__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__img { margin: 0; position: relative; }
.about__img::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid rgba(200, 149, 90, .5); border-radius: var(--radius-lg);
}
.about__img img { position: relative; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__catch {
  font-family: var(--ff-serif); font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: .12em; line-height: 1.7; color: #E7CFA9;
  margin-bottom: 36px;
}
.about__points { display: grid; gap: 28px; }
.about__point { display: flex; gap: 20px; }
.about__point-num {
  flex-shrink: 0; font-family: var(--ff-serif); font-size: 1.6rem; line-height: 1.2; color: var(--c-sage);
  padding-right: 18px; border-right: 1px solid rgba(183, 196, 170, .35);
}
.about__point h3 { font-family: var(--ff-serif); font-size: 1.15rem; margin-bottom: 6px; }
.about__point p { font-size: .92rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 767px) {
  .about__body { grid-template-columns: 1fr; }
  .about__img { max-width: 380px; margin: 0 auto 24px; }
  .about__img::before { inset: 16px -12px -12px 16px; }
}

/* ---------- Compare ---------- */
.compare { background: var(--c-ivory); }
.compare__table-wrap { border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow); overflow: hidden; }
.compare__table { width: 100%; border-collapse: collapse; }
.compare__table th, .compare__table td { padding: 22px 24px; text-align: left; vertical-align: middle; font-size: .93rem; border-bottom: 1px solid var(--c-line); }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table thead th { font-family: var(--ff-serif); font-size: 1.1rem; text-align: center; padding: 26px 16px; border-bottom: 0; }
.compare__table thead th small { display: block; font-family: var(--ff-sans); font-size: .75rem; letter-spacing: .15em; opacity: .8; }
.compare__table thead th.is-old { background: #EDEAE3; color: var(--c-text-sub); }
.compare__table thead th.is-new { background: var(--c-green); color: var(--c-white); }
.compare__table tbody th { width: 18%; font-family: var(--ff-serif); color: var(--c-night); white-space: nowrap; background: var(--c-ivory); }
.compare__table td.is-old { width: 36%; color: var(--c-text-sub); }
.compare__table td.is-new { width: 46%; background: rgba(183, 196, 170, .16); position: relative; padding-left: 52px; }
.compare__table td.is-new::before {
  content: ""; position: absolute; left: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 2px solid var(--c-accent);
}
.compare__table td.is-new strong { color: var(--c-green); }
.compare__photo { margin: 48px auto 0; max-width: 820px; position: relative; }
.compare__photo img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow-lg); }
.compare__photo figcaption {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); white-space: nowrap;
  background: var(--c-accent); color: var(--c-white); padding: .55em 1.6em; border-radius: 999px; font-size: .88rem; font-weight: 700;
}
@media (max-width: 767px) {
  .compare__table thead th { font-size: .95rem; padding: 18px 8px; }
  .compare__table th, .compare__table td { padding: 14px 10px; font-size: .82rem; line-height: 1.7; }
  .compare__table tbody th { white-space: normal; width: 20%; font-size: .82rem; }
  .compare__table td.is-new { padding-left: 10px; }
  .compare__table td.is-new::before { display: none; }
  .compare__photo figcaption { font-size: .78rem; white-space: normal; text-align: center; width: max-content; max-width: 90%; }
}

/* ---------- Effects / Tabs ---------- */
.effects { background: var(--c-sage-soft); }
.tabs__list { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tabs__btn {
  min-width: 160px; padding: .8em 2em; border-radius: 999px; border: 1px solid var(--c-green);
  background: transparent; color: var(--c-green); font-weight: 700; cursor: pointer; transition: background-color .3s, color .3s;
}
.tabs__btn:hover { background: rgba(61, 90, 64, .08); }
.tabs__btn.is-active { background: var(--c-green); color: var(--c-white); }
.tabs__panel.is-active { animation: fadeUp .6s var(--ease); }
.effect-card { text-align: center; }
.effect-card__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--c-ivory);
}
.effect-card__icon svg { width: 28px; height: 28px; }
.effects .note { text-align: center; }
@media (max-width: 767px) { .tabs__btn { min-width: 0; flex: 1; padding: .8em 1em; } }

/* ---------- Service ---------- */
.service { background: var(--c-ivory); }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: flow; }
.flow__step {
  position: relative; counter-increment: flow;
  background: var(--c-white); border-radius: var(--radius); padding: 48px 16px 22px; text-align: center; box-shadow: var(--shadow);
}
.flow__step::before {
  content: counter(flow, decimal-leading-zero); position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-serif); color: var(--c-sage); font-size: 1rem; letter-spacing: .1em;
}
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-top: 2px solid var(--c-accent); border-right: 2px solid var(--c-accent); transform: rotate(45deg); z-index: 1;
}
.flow__time { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--c-accent); margin-bottom: 4px; }
.flow__step h4 { font-family: var(--ff-serif); font-size: 1rem; color: var(--c-night); margin-bottom: 6px; }
.flow__step p { font-size: .8rem; color: var(--c-text-sub); line-height: 1.7; }
.flow__step--main { background: var(--c-green); color: var(--c-white); }
.flow__step--main h4 { color: var(--c-white); }
.flow__step--main p { color: rgba(255, 255, 255, .85); }
.flow__step--main .flow__time { color: #E7CFA9; }
@media (max-width: 1023px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow__step:nth-child(3)::after { display: none; }
}
@media (max-width: 767px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "num time" "num h" "num p"; text-align: left; padding: 16px 18px; column-gap: 12px; }
  .flow__step::before { position: static; transform: none; grid-area: num; align-self: center; font-size: 1.5rem; }
  .flow__time { grid-area: time; margin: 0; }
  .flow__step h4 { grid-area: h; margin: 0; }
  .flow__step p { grid-area: p; }
  .flow__step:not(:last-child)::after { display: block !important; right: auto; left: 40px; top: auto; bottom: -10px; transform: rotate(135deg); }
}

.equip { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.equip__img {
  margin: 0; padding: 32px; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 60%, var(--c-white) 0%, var(--c-sage-soft) 75%);
}
.equip__img img { margin-inline: auto; max-height: 460px; width: auto; filter: drop-shadow(0 24px 30px rgba(31, 46, 39, .2)); }
.equip__features { display: grid; gap: 22px; }
.equip__features li { padding-left: 22px; border-left: 2px solid var(--c-accent); }
.equip__features h4 { font-family: var(--ff-serif); font-size: 1.1rem; color: var(--c-night); margin-bottom: 4px; }
.equip__features p { font-size: .92rem; color: var(--c-text-sub); }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 32px 0 0; }
.spec div { background: var(--c-white); border-radius: var(--radius); padding: 14px 10px; text-align: center; box-shadow: var(--shadow); }
.spec dt { font-size: .72rem; letter-spacing: .15em; color: var(--c-accent); }
.spec dd { margin: 4px 0 0; font-family: var(--ff-serif); font-size: .98rem; color: var(--c-night); }
@media (max-width: 767px) {
  .equip { grid-template-columns: 1fr; }
  .spec { grid-template-columns: repeat(2, 1fr); }
}

.option-card { border-top: 3px solid var(--c-sage); }
.option-card__en { font-size: .72rem !important; letter-spacing: .25em; color: var(--c-accent) !important; margin-bottom: 6px; }
.option-summary {
  margin-top: 36px; padding: 32px; border-radius: var(--radius-lg); text-align: center;
  background: var(--c-night); color: var(--c-white);
  font-family: var(--ff-serif); font-size: clamp(1rem, 2.2vw, 1.3rem); line-height: 1.9;
}
.option-summary strong { font-size: 1.15em; color: #E7CFA9; }
.option-summary strong.accent { font-size: 1.4em; color: var(--c-accent); }
.option-summary__sub { margin-top: 8px; font-family: var(--ff-sans); font-size: .85rem; color: rgba(255, 255, 255, .75); }

.package {
  display: grid; grid-template-columns: 5fr 7fr; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-lg);
}
.package__price {
  padding: 48px 36px; text-align: center; color: var(--c-white);
  background: linear-gradient(150deg, var(--c-green), var(--c-night));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.package__label { font-size: .85rem; letter-spacing: .2em; color: var(--c-sage); }
.package__amount { font-family: var(--ff-serif); font-size: 1.2rem; }
.package__amount span { font-size: clamp(2.6rem, 5vw, 3.4rem); letter-spacing: .04em; color: #E7CFA9; }
.package__amount small { font-size: .8rem; margin-left: .3em; }
.package__tax { margin-top: -10px; font-size: .78rem; letter-spacing: .06em; color: rgba(255, 255, 255, .72); }
.package__note { font-size: .82rem; color: rgba(255, 255, 255, .78); margin-bottom: 14px; }
.package__list { padding: 36px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-content: center; }
.package__list li {
  display: flex; justify-content: space-between; gap: 10px; padding: 12px 0;
  border-bottom: 1px dashed var(--c-line); font-size: .9rem;
}
.package__list li span { color: var(--c-accent); font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) {
  .package { grid-template-columns: 1fr; }
  .package__price { padding: 36px 24px; }
  /* スマホだけ、価格まわりの文字を太く・少し大きくする */
  .package__label { font-size: .95rem; font-weight: 600; }
  .package__amount span { font-weight: 700; }
  .package__tax { font-size: .86rem; font-weight: 600; }
  .package__list { grid-template-columns: 1fr; padding: 20px 24px 28px; }
}

/* ---------- Merit & Scenes ---------- */
.merit { background: var(--c-white); }
.merit-card { background: var(--c-ivory); box-shadow: none; text-align: center; border: 1px solid var(--c-line); }
.merit-card .merit-card__big { font-family: var(--ff-serif); font-size: 3.2rem; line-height: 1.1; color: var(--c-green); margin-bottom: 10px; }
.merit-card__big small { font-size: 1.1rem; margin-left: .1em; color: var(--c-accent); }
.scenes { margin-top: clamp(64px, 9vw, 100px); }
/* 業態カルーセル：横に無限ループ（JS で複製して継ぎ目なく流す）。ホバーで一時停止 */
.scenes__carousel {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
.js .scenes__carousel.is-looping {
  overflow: hidden; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.scenes__track { display: flex; width: max-content; padding-left: max(20px, calc(50vw - 560px)); }
.is-looping .scenes__track { padding-left: 0; animation: sceneLoop var(--loop-dur, 40s) linear infinite; }
.scenes__carousel:hover .scenes__track { animation-play-state: paused; }
@keyframes sceneLoop { to { transform: translate3d(calc(-1 * var(--loop-w, 0px)), 0, 0); } }
.scene {
  flex: 0 0 auto; width: 360px; aspect-ratio: 4 / 3; margin: 0 20px 0 0;
  position: relative; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start;
}
.scene img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scene:hover img { transform: scale(1.06); }
.scene figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px; color: var(--c-white); font-size: .82rem; line-height: 1.6;
  background: linear-gradient(transparent, rgba(34, 53, 43, .85));
}
.scene figcaption strong { display: block; font-family: var(--ff-serif); font-size: 1.08rem; margin-bottom: 2px; }
@media (max-width: 767px) {
  .scene { width: 78vw; max-width: 300px; margin-right: 14px; }
}

/* ---------- Voice ---------- */
.voice {
  background:
    radial-gradient(ellipse at 10% 10%, rgba(61, 90, 64, .6), transparent 50%),
    var(--c-night);
  color: var(--c-white);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.stat { text-align: center; padding: 20px 10px; border-right: 1px solid rgba(183, 196, 170, .25); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--ff-serif); font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.1; color: #E7CFA9; }
.stat__label { margin-top: 8px; font-size: .85rem; color: rgba(255, 255, 255, .78); line-height: 1.7; }
.voice-card {
  position: relative; margin: 0; padding: 48px 30px 28px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(183, 196, 170, .22); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: transform .4s var(--ease), background-color .4s;
}
.voice-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.voice-card::before {
  content: "“"; position: absolute; top: 6px; left: 22px; font-family: var(--ff-serif); font-size: 4rem; line-height: 1; color: var(--c-accent);
}
.voice-card p { font-size: .93rem; line-height: 1.95; color: rgba(255, 255, 255, .9); }
.voice-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 18px; border-top: 1px solid rgba(183, 196, 170, .22); }
.voice-card__who { font-family: var(--ff-serif); font-size: 1rem; }
.voice-card__tag { font-size: .75rem; padding: .2em .9em; border-radius: 999px; background: rgba(183, 196, 170, .18); color: var(--c-sage); }
.voice .note { margin-top: 36px; }
@media (max-width: 767px) {
  .stats { gap: 4px; }
  .stat { padding: 10px 4px; }
  .stat__label { font-size: .72rem; }
}

/* ---------- Simulator ---------- */
.simulator { background: var(--c-ivory); }
.sim {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-lg);
}
.sim__inputs { padding: 44px 40px; display: grid; gap: 30px; align-content: start; }
.sim__field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.sim__field output { font-family: var(--ff-serif); font-size: 1.35rem; color: var(--c-green); white-space: nowrap; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(to right, var(--c-accent) 0%, var(--c-accent) var(--fill, 50%), var(--c-sage-soft) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-white); border: 3px solid var(--c-accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transition: transform .2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--c-white); border: 3px solid var(--c-accent); }
.sim__reset {
  justify-self: start; border: 0; background: none; padding: 0; color: var(--c-text-sub); font-size: .82rem;
  text-decoration: underline; cursor: pointer;
}
.sim__reset:hover { color: var(--c-accent); }
.sim__result { padding: 44px 40px; background: var(--c-night); color: var(--c-white); display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.sim__rows { margin: 0; display: grid; gap: 4px; }
.sim__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(183, 196, 170, .2); }
.sim__rows dt { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.sim__rows dt small { font-size: .75rem; }
.sim__rows dd { margin: 0; font-family: var(--ff-serif); font-size: 1.3rem; }
.sim__profit dt { color: var(--c-white); font-weight: 700; }
.sim__profit dd { font-size: 1.7rem; color: #E7CFA9; }
.sim__payback { text-align: center; padding: 26px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.sim__payback-label { font-size: .85rem; color: rgba(255, 255, 255, .8); }
.sim__payback-num { font-family: var(--ff-serif); font-size: 1.4rem; margin-top: 4px; }
.sim__payback-num span { font-size: 3.4rem; line-height: 1.1; color: var(--c-accent); margin: 0 .1em; }
.sim__bar { margin-top: 14px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sim__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-sage), var(--c-accent)); transition: width .5s var(--ease); }
@media (max-width: 767px) {
  .sim { grid-template-columns: 1fr; }
  .sim__inputs, .sim__result { padding: 32px 22px; }
  .sim__field label { flex-wrap: wrap; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--c-white); }
.faq__list { display: grid; gap: 14px; }
.faq__item { border-radius: var(--radius); background: var(--c-ivory); border: 1px solid var(--c-line); overflow: hidden; }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 64px;
  font-weight: 700; font-size: .98rem; color: var(--c-night); transition: background-color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q"; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--ff-serif); font-size: 1.4rem; color: var(--c-accent);
}
.faq__item summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--c-green); border-bottom: 2px solid var(--c-green); transform: rotate(45deg); transition: transform .35s var(--ease), margin .35s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item summary:hover { background: var(--c-sage-soft); }
.faq__answer { position: relative; padding: 0 28px 24px 64px; overflow: hidden; }
.faq__answer::before { content: "A"; position: absolute; left: 22px; top: -4px; font-family: var(--ff-serif); font-size: 1.4rem; color: var(--c-green); }
.faq__answer p { font-size: .92rem; color: var(--c-text-sub); }
@media (max-width: 767px) {
  .faq__item summary { padding: 18px 48px 18px 50px; font-size: .92rem; }
  .faq__item summary::before { left: 16px; }
  .faq__item summary::after { right: 20px; }
  .faq__answer { padding: 0 20px 20px 50px; }
  .faq__answer::before { left: 16px; }
}

/* ---------- Contact ---------- */
.contact { background: var(--c-night); color: var(--c-white); overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background:
    radial-gradient(circle at 85% 10%, rgba(200, 149, 90, .35), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(61, 90, 64, .9), transparent 45%);
}
.contact .container { position: relative; }
.contact__steps { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.contact__steps li {
  display: flex; align-items: center; gap: 10px; padding: .6em 1.4em; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(183, 196, 170, .3); font-size: .88rem;
}
.contact__steps span { font-family: var(--ff-serif); color: var(--c-accent); }

.form { background: var(--c-white); color: var(--c-text); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.form__row { margin: 0 0 24px; border: 0; padding: 0; min-width: 0; }
.form__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.req { display: inline-block; font-size: .68rem; padding: .1em .7em; border-radius: 4px; background: var(--c-accent); color: var(--c-white); margin-left: 8px; letter-spacing: .05em; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-ivory);
  font-size: 16px; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-green); background: var(--c-white); box-shadow: 0 0 0 4px rgba(61, 90, 64, .12); }
.form .is-invalid { border-color: #C0563F !important; background: #FFF6F3 !important; }
.form textarea { resize: vertical; }
.form__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .6em 1.3em; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-ivory);
  font-size: .88rem; cursor: pointer; transition: all .25s;
}
.chip span:hover { border-color: var(--c-green); }
.chip input:checked + span { background: var(--c-green); border-color: var(--c-green); color: var(--c-white); }
.chip input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.form__agree { text-align: center; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--c-green); }
.check__link { color: var(--c-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .3s; }
.check__link:hover { color: var(--c-accent-dark); }
.form__agree-note { margin-top: 6px; font-size: .76rem; color: var(--c-text-sub); }
@media (max-width: 767px) {
  .check { gap: 8px; font-size: .84rem; letter-spacing: .02em; }
  .check .req { margin-left: 6px; }
}
.form__error { margin-bottom: 16px; color: #C0563F; font-size: .88rem; text-align: center; font-weight: 700; }
.form__submit { display: flex; width: min(100%, 360px); margin: 8px auto 0; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
.form-thanks {
  background: var(--c-white); color: var(--c-text); border-radius: var(--radius-lg); padding: 56px 32px; text-align: center; box-shadow: var(--shadow-lg);
}
.form-thanks:focus { outline: none; }
.form-thanks__title { font-family: var(--ff-serif); font-size: 1.4rem; color: var(--c-green); margin-bottom: 12px; }
@media (max-width: 767px) {
  .form__grid { grid-template-columns: 1fr; }
  .contact__steps { flex-direction: column; align-items: stretch; }
}

/* ---------- Privacy modal（<dialog>） ---------- */
.modal {
  /* max-width: none … ブラウザ標準の幅制限（左右に余計な余白ができる）を外す */
  width: min(640px, calc(100% - 32px)); max-width: none; max-height: min(82vh, 720px); max-height: min(82svh, 720px);
  padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-white); color: var(--c-text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.modal[open] { display: flex; flex-direction: column; animation: modalIn .4s var(--ease); }
.modal::backdrop { background: rgba(20, 32, 26, .62); backdrop-filter: blur(3px); }
.modal[open]::backdrop { animation: modalFade .4s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal__head {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px 16px 28px; border-bottom: 1px solid var(--c-line);
}
.modal__title { font-family: var(--ff-serif); font-size: 1.15rem; letter-spacing: .06em; color: var(--c-green); }
.modal__close {
  flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--c-ivory); cursor: pointer; transition: background-color .3s;
}
.modal__close:hover { background: var(--c-sage-soft); }
.modal__close svg { width: 20px; height: 20px; fill: none; stroke: var(--c-text); stroke-width: 1.8; stroke-linecap: round; }
/* 本文だけがスクロールする。flex の基準を auto にして、iPhone（Safari）でも高さが正しく収まるようにする */
.modal__body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 28px 24px; font-size: .86rem; line-height: 1.85; color: var(--c-text-sub);
}
.modal__body:focus { outline: none; }
.modal__body h3 { margin: 18px 0 4px; font-size: .92rem; color: var(--c-text); }
.modal__body li { position: relative; padding-left: 1.1em; }
.modal__body li::before { content: ""; position: absolute; left: .15em; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); }
.modal__body ul + p { margin-top: 4px; }
.modal__foot {
  flex-shrink: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px;
  padding: 16px 24px 20px; border-top: 1px solid var(--c-line); background: var(--c-ivory);
}
.modal__text-btn {
  border: 0; background: none; padding: .6em .8em; cursor: pointer;
  font-size: .88rem; color: var(--c-text-sub); text-decoration: underline; text-underline-offset: 3px;
}
.modal__text-btn:hover { color: var(--c-text); }
/* スマホ：画面いっぱいに近い大きさにし、ボタンは横1列にまとめて本文を読める範囲を広げる */
@media (max-width: 767px) {
  .modal { width: min(640px, calc(100% - 24px)); max-height: calc(100vh - 48px); max-height: calc(100svh - 48px); border-radius: 18px; }
  .modal__head { gap: 10px; padding: 12px 10px 12px 18px; }
  .modal__title { font-size: .95rem; letter-spacing: .02em; line-height: 1.45; }
  .modal__close { width: 36px; height: 36px; }
  .modal__body { padding: 14px 18px 18px; }
  .modal__foot { flex-wrap: nowrap; gap: 10px; padding: 12px 12px 14px 14px; }
  .modal__agree { flex: 1 1 auto; min-width: 0; padding-inline: 1em; }
  .modal__text-btn { flex-shrink: 0; }
}
/* スマホの横向きなど、画面の高さが低いとき：上下の余白を詰め、ボタンは中央に収める */
@media (max-height: 500px) {
  .modal { max-height: calc(100vh - 24px); max-height: calc(100svh - 24px); }
  .modal__head { padding: 8px 10px 8px 20px; }
  .modal__close { width: 34px; height: 34px; }
  .modal__body { padding: 12px 20px 14px; }
  .modal__foot { flex-wrap: nowrap; justify-content: center; padding: 8px 16px 10px; }
  .modal__agree { flex: 0 1 auto; min-width: 220px; padding-block: .7em; }
}

/* ---------- Footer ---------- */
.footer { background: #22352B; color: rgba(255, 255, 255, .8); padding: 64px 0 24px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer__brand img { width: 170px; }
.footer__copy-lead { margin-top: 12px; font-family: var(--ff-serif); font-size: .88rem; letter-spacing: .15em; color: var(--c-sage); }
.footer__company { display: grid; justify-items: start; gap: 14px; font-size: .85rem; }
.footer__company-logo { width: 150px; }
.footer__company-name { margin-top: 8px; font-size: .78rem; letter-spacing: .14em; color: rgba(255, 255, 255, .85); }
.footer__address { font-style: normal; line-height: 1.8; }
.footer__company-link {
  display: inline-flex; align-items: center; gap: .45em; padding: .4em 1em;
  border: 1px solid rgba(183, 196, 170, .45); border-radius: 999px;
  font-size: .72rem; letter-spacing: .1em; text-decoration: none;
  transition: color .3s, border-color .3s, background-color .3s;
}
.footer__company-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__company-link:hover { color: var(--c-white); border-color: var(--c-accent); background: rgba(200, 149, 90, .15); }
.footer__nav { display: grid; gap: 8px; font-size: .85rem; }
.footer__nav a { text-decoration: none; transition: color .3s; }
.footer__nav a:hover { color: var(--c-accent); }
.footer__copy { margin-top: 48px; text-align: center; font-size: .75rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 767px) {
  .footer { padding-bottom: 90px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  padding: 1em 1.6em; border-radius: 999px; background: var(--c-accent); color: var(--c-white);
  font-weight: 700; font-size: .88rem; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background-color .3s;
}
.float-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-cta:hover { background: var(--c-accent-dark); transform: translateY(-3px); }
@media (max-width: 767px) {
  .float-cta { left: 16px; right: 16px; bottom: 14px; text-align: center; padding: 1.05em; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-inview { opacity: 1; transform: none; }
/* 写真：枠が広がりながら現れ、中の画像がゆっくりズームアウト */
.js .reveal--img { opacity: 1; transform: none; clip-path: inset(10% 10% 10% 10% round var(--radius-lg)); transition: clip-path 1.4s var(--ease); }
.js .reveal--img.is-inview { clip-path: inset(-60px round 0); }
.js .reveal--img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .reveal--img.is-inview img { transform: none; }

/* ---------- Floating leaves（script.js で生成） ---------- */
.leaf-layer {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden;
  opacity: 0; animation: fadeIn 1.5s var(--ease) calc(var(--intro) + .8s) forwards;
}
.leaf { position: absolute; left: 0; top: 0; max-width: none; height: auto; will-change: transform; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__line, .hero__label, .hero__sub, .hero__lead, .hero__cta { opacity: 1; filter: none; }
  .hero__product, .hero__visual-glow, .hero__visual::after, .hero__visual-tag { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal--img { clip-path: none; }
  .js .reveal--img img { transform: none; }
}
