@charset "UTF-8";

/* ============================================================
   ZUTTOKO — Design tokens
   ベース: ClaudeDesign（温かみ・丸ゴシック・テラコッタ）
   構成: genspark2（動画ヒーロー＋14セクション）
   演出: Chatgtp（スクロールリビール・stickyヘッダー）
   ============================================================ */
:root {
  --bg:         #FAF7F1;
  --bg-alt:     #F6EEE2;
  --surface:    #FFFFFF;
  --cream:      #F2E7D8;
  --ink:        #40382F;
  --muted:      #6B6154;
  --soft:       #8C8275;
  --line:       rgba(64, 56, 47, .10);
  --line-solid: #E8DFD1;
  --accent:     #D9744A;
  --accent-dk:  #B85C36;
  --accent-lt:  #F0C4AC;
  --gold:       #E8B04B;
  --sage:       #DCEBE3;
  --sage-dk:    #6E9A85;
  --coral:      #F8D9CF;

  --radius-lg: 28px;
  --radius:    18px;
  --radius-sm: 12px;

  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --en:   "Quicksand", sans-serif;

  --wrap: 1180px;
  --pad:  clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }
h1, h2, h3 { font-family: var(--maru); font-weight: 700; letter-spacing: .01em; }

.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { width: min(820px, 100%); }
.section { padding-block: clamp(72px, 10vw, 120px); }

.kicker {
  margin: 0 0 14px;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--accent);
}

.section-head { margin-bottom: clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(26px, 3.5vw, 38px); line-height: 1.5; }
.section-head__lead { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 14.5px; }
.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; text-align: left;
}
.section-head--row .section-head__lead { margin: 0; max-width: 360px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn__arrow { transition: transform .3s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--accent { color: #fff; background: var(--accent); box-shadow: 0 10px 24px rgba(217, 116, 74, .28); }
.btn--accent:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217, 116, 74, .34); }
.btn--outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--outline:hover { color: #fff; background: var(--accent); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* ---------- Announcement / Header ---------- */
.announcement {
  height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--cream); color: #8A6B4A;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
}
.announcement__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.announcement__short { display: none; }
.btn__short { display: none; }

.site-header {
  position: absolute; top: 34px; left: 0; z-index: 50;
  width: 100%; height: 82px; padding-inline: var(--pad);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  transition: background .3s, height .3s, box-shadow .3s;
}
.site-header.is-sticky {
  position: fixed; top: 0; height: 68px;
  background: rgba(250, 247, 241, .92); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* ヒーロー上（非sticky時）は白文字 */
.site-header:not(.is-sticky) .brand__word,
.site-header:not(.is-sticky) .desktop-nav a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.site-header:not(.is-sticky) .menu-button span { background: #fff; }

/* ロゴ（ClaudeDesign: 丸4つの肉球マーク） */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { position: relative; width: 34px; height: 34px; flex-shrink: 0; }
.brand__mark span { position: absolute; background: var(--accent); border-radius: 50%; }
.brand__mark span:nth-child(1) { left: 7px;  top: 12px; width: 20px; height: 18px; border-radius: 50% 50% 46% 46%; }
.brand__mark span:nth-child(2) { left: 2px;  top: 5px;  width: 8px;  height: 8px; }
.brand__mark span:nth-child(3) { left: 13px; top: 1px;  width: 8px;  height: 8px; }
.brand__mark span:nth-child(4) { left: 24px; top: 5px;  width: 8px;  height: 8px; }
.brand__word { font-family: var(--en); font-weight: 700; font-size: 21px; letter-spacing: .16em; line-height: 1; }

.desktop-nav { display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 34px); }
.desktop-nav a { position: relative; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-button { display: none; padding: 10px; background: none; border: 0; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 6px 0; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: 120px 28px 40px; background: var(--bg);
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
}
.mobile-menu[aria-hidden="false"] { visibility: visible; opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu nav > a:not(.btn) {
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-family: var(--maru); font-size: 20px; font-weight: 500;
}

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; background: #2a231d; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% center;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.hero__video.is-active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,30,22,.34) 0%, rgba(40,30,22,.12) 30%, rgba(40,30,22,.42) 72%, rgba(40,30,22,.68) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(var(--wrap), 100%); margin-inline: auto; padding: 0 var(--pad) clamp(64px, 9vw, 96px);
  display: grid; grid-template-columns: 1.45fr .55fr; gap: 40px; align-items: end;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #fff;
}
.hero__tag::before { content: ""; width: 32px; height: 1.5px; background: var(--accent-lt); }
.hero h1 {
  margin: 0; color: #fff;
  font-size: clamp(32px, 4.4vw, 58px); line-height: 1.36; font-weight: 700;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero h1 em { font-style: normal; color: var(--accent-lt); margin-inline: .16em; }
.hero__lead {
  margin: 26px 0 0; max-width: 520px; color: rgba(255,255,255,.92);
  font-size: 15px; line-height: 2.05; text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; list-style: none; }
.hero__trust li { display: flex; flex-direction: column; color: #fff; }
.hero__trust b { font-family: var(--en); font-size: 24px; font-weight: 700; color: var(--accent-lt); }
.hero__trust span { font-size: 11.5px; color: rgba(255,255,255,.8); }

.hero__meta { color: #fff; text-align: right; }
.hero__now { margin: 0 0 6px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: rgba(255,255,255,.75); }
.hero__now i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-lt); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
.hero__title { margin: 0; font-family: var(--maru); font-size: 19px; line-height: 1.6; }
.hero__title small { font-size: 13px; color: rgba(255,255,255,.75); }
.hero__dots { margin-top: 16px; display: flex; justify-content: flex-end; gap: 10px; }
.hero__dots button { width: 44px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s; }
.hero__dots button[aria-selected="true"] { background: rgba(255,255,255,.95); }

.hero__scroll {
  position: absolute; z-index: 2; left: var(--pad); bottom: clamp(64px, 9vw, 96px);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--en); font-size: 9px; font-weight: 700; letter-spacing: .22em;
  color: rgba(255,255,255,.7); writing-mode: vertical-rl;
}
.hero__scroll span { width: 1.5px; height: 46px; background: rgba(255,255,255,.7); animation: scrollLine 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0%,100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }

/* ============ ABOUT ============ */
.about { background: var(--bg-alt); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 80px); align-items: center; }
.about__copy h2 { margin: 0 0 24px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.55; }
.about__copy h2 em { font-style: normal; color: var(--accent); }
.about__copy p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.about__sign { font-family: var(--en); font-size: 17px; font-weight: 600; color: var(--accent); font-style: italic; }
.about__photo { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ FLOW ============ */
.promise {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  max-width: max-content; margin: -20px auto 48px; padding: 14px 28px;
  border: 1.5px dashed var(--accent-lt); border-radius: 999px;
  color: var(--accent-dk); font-size: 13.5px; font-weight: 700;
}
.promise i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-lt); }

.flow__steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-card {
  position: relative; padding: 20px 20px 30px; border-radius: var(--radius-lg);
  border: 1px solid rgba(64,56,47,.07);
  box-shadow: 0 14px 40px rgba(64,56,47,.07);
}
.flow-card--cream { background: #FBEEDC; }
.flow-card--sage  { background: var(--sage); transform: translateY(22px); }
.flow-card--coral { background: var(--coral); }
.flow-card--gold  { background: #FAEBC8; transform: translateY(22px); }
.flow-card__num {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px;
  background: rgba(255,255,255,.72); border-radius: 999px;
  font-family: var(--en); font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
}
.flow-card__art {
  aspect-ratio: 4/3; margin-bottom: 20px; overflow: hidden;
  border-radius: var(--radius) var(--radius) 46px var(--radius); background: rgba(255,255,255,.35);
}
.flow-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.flow-card:hover .flow-card__art img { transform: scale(1.04); }
.flow-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.5; }
.flow-card p { margin: 0; font-size: 13px; line-height: 1.9; color: rgba(64,56,47,.75); }

/* ============ 3D VIEWER ============ */
.viewer { background: var(--bg-alt); }
.viewer__box {
  padding: clamp(20px, 3vw, 32px); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(64,56,47,.07);
}
.viewer__tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.viewer__tabs button {
  min-width: 104px; padding: 11px 22px; background: transparent;
  border: 1.5px solid var(--line-solid); border-radius: 999px;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all .25s;
}
.viewer__tabs button:hover { border-color: var(--accent); color: var(--accent); }
.viewer__tabs button.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }
.viewer__stage {
  position: relative; height: clamp(340px, 52vh, 520px); overflow: hidden;
  border-radius: var(--radius); background: linear-gradient(180deg, #FBF8F3, #F1E9DC);
}
.viewer__stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.viewer__hint {
  position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%);
  margin: 0; padding: 7px 16px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border-radius: 999px; font-size: 11.5px; color: var(--muted); pointer-events: none;
  transition: opacity .4s;
}
.viewer__hint.is-hidden { opacity: 0; }
.viewer__note { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--soft); }

/* ============ TECHNOLOGY ============ */
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.tech__photo { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-lg); }
.tech__photo img { width: 100%; height: 100%; object-fit: cover; }
.tech__badge {
  position: absolute; left: 18px; bottom: 18px; padding: 8px 16px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-radius: 999px;
  font-family: var(--en); font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
}
.tech__copy h2 { margin: 0 0 20px; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.5; }
.tech__copy p { margin: 0; color: var(--muted); font-size: 15px; }

.stats { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-solid); border: 1px solid var(--line-solid); border-radius: var(--radius); overflow: hidden; }
.stats > div { padding: 32px 26px; background: var(--bg); }
.stats b { display: block; font-family: var(--en); font-size: 38px; font-weight: 700; line-height: 1.1; color: var(--accent); }
.stats b small { font-size: 17px; }
.stats span { display: block; margin: 8px 0 10px; font-family: var(--en); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--soft); }
.stats p { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--muted); }

/* ============ GALLERY ============ */
.gallery { background: var(--bg-alt); }
/* 横3枚 → 縦3枚 → ワイド1枚。写真の向きを活かしつつ端を揃える */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__grid figure {
  position: relative; margin: 0; break-inside: avoid; -webkit-column-break-inside: avoid;
  overflow: hidden; border-radius: var(--radius); background: #E5DDD0;
}
.gallery__grid figure[data-ratio="landscape"] { aspect-ratio: 4/3; }
.gallery__grid figure[data-ratio="portrait"]  { aspect-ratio: 4/5; }
.gallery__grid figure[data-ratio="wide"] { grid-column: 1 / -1; aspect-ratio: 20/9; }
.gallery__grid figure[data-ratio="wide"] img { object-position: center 56%; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.gallery__grid figure:hover img { transform: scale(1.04); }
.gallery__grid figure::after {
  content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(32,24,17,.62)); pointer-events: none;
}
.gallery__grid figcaption {
  position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 15px; color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.gallery__grid figcaption b { display: block; font-family: var(--maru); font-size: 15.5px; font-weight: 700; }
.gallery__grid figcaption span { font-size: 11.5px; color: rgba(255,255,255,.88); }

/* ============ PRICE ============ */
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.plan {
  position: relative; padding: 40px 32px 34px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(64,56,47,.05);
}
.plan--featured { border: 2px solid var(--accent); box-shadow: 0 20px 46px rgba(217,116,74,.18); }
.plan__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 7px 22px; background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.plan__code { margin: 0; font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.plan__photo { margin: 18px 0 16px; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.plan__photo img { width: 100%; height: 100%; object-fit: cover; }
.plan h3 { margin: 0 0 4px; font-size: 21px; }
.plan__size { margin: 0 0 16px; font-size: 13px; color: var(--soft); }
.plan__size small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--soft); }
.plan__price { margin: 0 0 22px; font-family: var(--en); font-size: 34px; font-weight: 700; line-height: 1.2; }
.plan__price small { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 400; color: var(--soft); }
.plan__list { margin: 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); text-align: left; }
.plan__list li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 2.1; color: var(--muted); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 1.5px; background: var(--accent-lt); }
.plan__list b { color: var(--ink); font-weight: 700; }

.box-note {
  margin-top: clamp(48px, 7vw, 72px); padding: clamp(24px, 3.5vw, 40px);
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 52px); align-items: center;
  background: var(--bg-alt); border-radius: var(--radius-lg);
}
.box-note__photo { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.box-note__photo img { width: 100%; height: 100%; object-fit: cover; }
.box-note__placeholder {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 2px dashed rgba(64,56,47,.2); border-radius: var(--radius); text-align: center; padding: 20px;
}
.box-note__photo.is-empty img { display: none; }
.box-note__photo.is-empty .box-note__placeholder { display: flex; }
.box-note__placeholder span { font-family: var(--en); font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--soft); }
.box-note__placeholder b { font-family: var(--maru); font-size: 16px; }
.box-note__placeholder small { font-size: 11px; color: var(--soft); }
.box-note__copy h3 { margin: 0 0 14px; font-size: clamp(20px, 2.6vw, 27px); line-height: 1.55; }
.box-note__copy p { margin: 0; color: var(--muted); font-size: 14.5px; }
.box-note__caption { margin-top: 12px !important; font-size: 12px !important; color: var(--soft) !important; }
.price__note { margin: 32px 0 0; text-align: center; font-size: 12.5px; color: var(--soft); }

/* ============ REVIEW ============ */
.review { background: var(--bg-alt); }
.review__summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 36px;
  max-width: max-content; margin: -20px auto 44px; padding: 22px 36px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.review__score { display: flex; align-items: center; gap: 12px; }
.review__score b { font-family: var(--en); font-size: 34px; font-weight: 700; line-height: 1; }
.review__score small { font-size: 12px; color: var(--soft); }
.review__summary > p { margin: 0; max-width: 320px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

.stars { display: inline-flex; gap: 3px; }
.stars i {
  width: 15px; height: 15px; background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.is-off { background: rgba(64,56,47,.18); }

.review__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  display: flex; flex-direction: column; gap: 16px; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(64,56,47,.05);
}
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-card__date { font-family: var(--en); font-size: 11.5px; font-weight: 600; color: var(--soft); }
.review-card__body { margin: 0; flex: 1; font-size: 14.5px; line-height: 2; }
.review-card__photo { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-card__avatar { width: 44px; height: 44px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: var(--cream); }
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__name { font-size: 13.5px; font-weight: 700; }
.review-card__meta { font-size: 11.5px; color: var(--soft); }
.review__more { margin: 36px 0 0; text-align: center; font-size: 13px; color: var(--soft); }

/* ============ MEMORIAL ============ */
.memorial__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 80px); align-items: center; }
.memorial__photo { aspect-ratio: 5/4; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 80px var(--radius-lg); }
.memorial__photo img { width: 100%; height: 100%; object-fit: cover; }
.memorial__copy h2 { margin: 0 0 22px; font-size: clamp(25px, 3.3vw, 38px); line-height: 1.55; }
.memorial__copy h2 em { font-style: normal; color: var(--accent); }
.memorial__copy p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.memorial__copy .btn { margin-top: 10px; }

/* ============ FAQ ============ */
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, background .25s; }
.faq-item.is-open { background: var(--surface); border-color: var(--accent-lt); }
.faq-item__q {
  width: 100%; padding: 22px 24px; display: flex; align-items: center; gap: 14px;
  background: none; border: 0; text-align: left; cursor: pointer;
}
.faq-item__mark { font-family: var(--en); font-size: 15px; font-weight: 700; color: var(--accent); }
.faq-item__label { flex: 1; font-family: var(--maru); font-size: 15.5px; font-weight: 700; transition: color .25s; }
.faq-item__q:hover .faq-item__label { color: var(--accent); }
.faq-item__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; top: 8px; left: 1px; width: 16px; height: 2px;
  background: var(--accent); border-radius: 2px; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon::before { transform: rotate(180deg); }
.faq-item.is-open .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s cubic-bezier(.4,0,.2,1);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p {
  margin: 0; padding: 0 24px 24px 53px; color: var(--muted); font-size: 14px; line-height: 2;
  opacity: 0; transform: translateY(-6px); transition: opacity .35s ease .08s, transform .35s ease .08s;
}
.faq-item.is-open .faq-item__a p { opacity: 1; transform: translateY(0); }

/* ============ DONATION（保護犬・保護猫への寄付） ============ */
.donation { background: var(--sage); }
/* 幅の比で割る（card側を固定pxにすると中間幅で本文列のほうが狭くなるため） */
.donation__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.donation__copy h2 { margin: 0 0 22px; font-size: clamp(25px, 3.3vw, 36px); line-height: 1.55; }
.donation__copy h2 em { font-style: normal; color: var(--sage-dk); }
.donation__copy p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.donation__copy .btn { margin-top: 10px; }
.donation__copy .btn--outline { border-color: var(--sage-dk); color: var(--sage-dk); }
.donation__copy .btn--outline:hover { color: #fff; background: var(--sage-dk); }
.donation__card {
  max-width: 380px; justify-self: end;
  padding: 28px 30px; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: 0 14px 34px rgba(64, 56, 47, .08);
}
.donation__card-title { margin: 0 0 18px; font-family: var(--maru); font-size: 14px; font-weight: 700; text-align: center; }
.donation__amounts {
  margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1px;
  background: var(--line-solid); border-radius: var(--radius-sm); overflow: hidden;
}
/* サイズ / 通常 / ご紹介経由（倍額）の3列 */
.donation__amounts li {
  display: grid; grid-template-columns: 1.2em 1fr 1fr; align-items: baseline; gap: 10px;
  padding: 13px 18px; background: var(--surface);
}
.donation__amounts span { font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--soft); }
.donation__amounts i { font-family: var(--en); font-size: 15px; font-style: normal; font-weight: 700; text-align: right; color: var(--soft); }
.donation__amounts b { font-family: var(--en); font-size: 21px; font-weight: 700; line-height: 1.1; text-align: right; color: var(--sage-dk); }
.donation__amounts-head { padding-block: 10px; background: var(--bg-alt); }
.donation__amounts-head i, .donation__amounts-head b {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--soft);
}
.donation__card-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.9; color: var(--soft); }

/* ============ ORDER ============ */
.order { position: relative; overflow: hidden; background: var(--cream); }
.order__deco { position: absolute; z-index: 0; font-family: var(--maru); font-size: clamp(180px, 26vw, 300px); line-height: 1; color: rgba(255,255,255,.45); pointer-events: none; }
.order__deco--1 { left: -40px; bottom: -30px; transform: rotate(-10deg); }
.order__deco--2 { right: -30px; top: 10px; transform: rotate(8deg); }
.order__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 500px; gap: clamp(40px, 6vw, 72px); align-items: center; }
.order__copy h2 { margin: 0 0 20px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.5; }
.order__copy > p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.order__points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.order__points li { position: relative; padding-left: 26px; font-size: 14px; }
.order__points li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 2px; background: var(--accent); border-radius: 2px; }
.order__points b { color: var(--accent-dk); font-weight: 700; }

.order-card {
  padding: clamp(22px, 3vw, 32px); background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: 0 26px 70px rgba(73,48,41,.14);
}
.upload { position: relative; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload label {
  min-height: 178px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed #C9BCA9; border-radius: var(--radius); background: #FDFBF7;
  cursor: pointer; transition: border-color .25s, background .25s;
}
.upload label:hover, .upload.is-dragging label { border-color: var(--accent); background: #FDF3EC; }
.upload input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload__icon { width: 52px; height: 52px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--accent); }
.upload__icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.upload label strong { font-family: var(--maru); font-size: 17px; font-weight: 700; }
.upload label small { margin-top: 5px; font-size: 11.5px; color: var(--soft); }
.upload__preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.upload__thumb { position: relative; width: 64px; height: 64px; }
.upload__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.upload__thumb button {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 12px; line-height: 1; cursor: pointer;
}
.upload__thumb button:hover { background: var(--accent); }

/* 安心材料（/order/ と同じ文言） */
.order-card__assure {
  margin: 18px 0 4px; padding: 15px 18px; background: var(--bg-alt); border-radius: var(--radius-sm);
  font-size: 12.5px; line-height: 1.85; color: var(--muted);
}
.order-card__assure p { margin: 0; display: grid; grid-template-columns: 16px 1fr; gap: 9px; align-items: start; }
.order-card__assure p + p { margin-top: 7px; }
.order-card__assure b { color: var(--ink); }

/* 送信の進捗・状態 */
.order-card__progress { display: none; height: 4px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: var(--line-solid); }
.order-card__progress i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .3s ease; }
.order-card__status { margin: 12px 0 0; text-align: center; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.order-card__status.is-error { color: #C0452F; }
.order-card__note a { color: var(--accent); text-decoration: underline; }
.field__req { margin-left: 6px; padding: 2px 7px; background: var(--accent); color: #fff; border-radius: 4px; font-size: 10px; font-style: normal; font-weight: 700; }

/* 送信完了 */
.order-done { padding: 12px 4px; text-align: center; }
.order-done__mark {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--sage); color: var(--sage-dk); font-size: 24px;
}
.order-done h3 { margin: 0 0 16px; font-size: 22px; }
.order-done p { margin: 0 0 14px; font-size: 14px; line-height: 2; color: var(--muted); }
.order-done b { color: var(--ink); font-family: var(--en); font-size: 16px; letter-spacing: .04em; }

.field { display: block; margin-top: 18px; padding: 0; border: 0; }
.field__label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field__label i { margin-left: 6px; padding: 2px 7px; background: var(--accent); color: #fff; border-radius: 4px; font-size: 10px; font-style: normal; font-weight: 700; }
.field input[type="email"], .field input[type="text"], .field textarea {
  width: 100%; padding: 13px 15px; background: #fff;
  border: 1.5px solid var(--line-solid); border-radius: var(--radius-sm); outline: 0;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input[type="email"]:focus, .field input[type="text"]:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,116,74,.14); }
.field input.is-error { border-color: #D8574A; }
.field__note { margin: 8px 0 0; font-size: 11.5px; color: var(--soft); }

.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 46px; padding: 8px 6px; border: 1.5px solid var(--line-solid); border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 700; text-align: center; cursor: pointer; transition: all .2s;
}
.choice span small { font-size: 10.5px; font-weight: 400; color: var(--soft); }
.choice input:checked + span { border-color: var(--accent); background: #FDF3EC; color: var(--accent-dk); }
.choice input:checked + span small { color: var(--accent-dk); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice--size span { min-height: 58px; }
.order-card .btn { margin-top: 24px; }
.order-card__note { margin: 14px 0 0; text-align: center; font-size: 11.5px; line-height: 1.7; color: var(--soft); }

/* ============ FOOTER ============ */
.footer { padding-block: clamp(56px, 8vw, 80px) 32px; background: var(--ink); color: rgba(250,247,241,.72); }
.footer__top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand__word { color: #fff; }
.footer .brand__mark span { background: var(--accent); }
.footer__brand > p { margin: 16px 0 0; font-family: var(--maru); font-size: 14px; }
.footer nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer nav div { display: flex; flex-direction: column; gap: 10px; }
.footer__head { margin: 0 0 4px; font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: rgba(255,255,255,.45); }
.footer nav a { font-size: 13px; transition: color .2s; }
.footer nav a:hover { color: #fff; }
.footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--en); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.4); }

/* ============ Toast ============ */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 100; max-width: 340px;
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.toast > span { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--accent); font-size: 14px; }
.toast p { margin: 0; font-size: 12.5px; line-height: 1.6; }

/* ============ Scroll reveal（Chatgtp流） ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.flow-card--sage.reveal, .flow-card--gold.reveal { transform: translateY(48px); }
.flow-card--sage.reveal.is-visible, .flow-card--gold.reveal.is-visible { transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .flow-card--sage.reveal, .flow-card--gold.reveal { transform: translateY(22px); }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-button { display: block; }
  .header-cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__meta { text-align: left; }
  .hero__dots { justify-content: flex-start; }
  .hero__scroll { display: none; }
  .flow__steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* 狭い画面では段組みに切り替え、写真は元の縦横比のまま流す */
  .gallery__grid { display: block; columns: 2; column-gap: 20px; }
  .gallery__grid figure,
  .gallery__grid figure[data-ratio="landscape"],
  .gallery__grid figure[data-ratio="portrait"],
  .gallery__grid figure[data-ratio="wide"] { aspect-ratio: auto; margin: 0 0 20px; }
  .gallery__grid img { height: auto; }
  .order__grid { grid-template-columns: 1fr; }
  .order-card { width: min(100%, 520px); justify-self: center; }
  .review__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 780px) {
  .announcement { font-size: 10.5px; letter-spacing: .02em; }
  .announcement__long { display: none; }
  .announcement__short { display: inline; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
  .btn--lg { font-size: 15px; padding-inline: 24px; }
  /* ヒーロー本文がヘッダーに潜り込まないように上部余白を確保 */
  .hero__inner { padding-top: 108px; }
  /* 縦長画面では左右が大きく切れるため、被写体（--focus）を残す位置で切り抜く */
  .hero__video { object-position: var(--focus, 50%) center; }
  .about__grid, .tech__grid, .memorial__grid, .box-note, .donation__grid { grid-template-columns: 1fr; }
  .donation__card { max-width: none; justify-self: stretch; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head--row .section-head__lead { max-width: none; }
  .hero { min-height: 92svh; }
  .hero h1 { font-size: clamp(27px, 7.5vw, 44px); }
  .hero__lead { font-size: 14px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 18px; }
  .hero__trust b { font-size: 20px; }
  .price__grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .review__grid { grid-template-columns: 1fr; }
  .review__summary { flex-direction: column; text-align: center; padding: 22px 26px; }
  .memorial__photo { border-radius: var(--radius-lg) var(--radius-lg) 56px var(--radius-lg); }
  .faq-item__q { padding: 18px 18px; gap: 10px; }
  .faq-item__label { font-size: 14.5px; }
  .faq-item__a p { padding: 0 18px 20px 42px; }
  .footer nav { grid-template-columns: 1fr 1fr; gap: 24px; }
  .toast { left: 14px; right: 14px; max-width: none; }
}

@media (max-width: 560px) {
  .flow__steps { grid-template-columns: 1fr; gap: 14px; }
  .flow-card--sage, .flow-card--gold,
  .flow-card--sage.reveal, .flow-card--gold.reveal,
  .flow-card--sage.reveal.is-visible, .flow-card--gold.reveal.is-visible { transform: none; }
  .stats { grid-template-columns: 1fr; }
  .gallery__grid { columns: 1; }
  .choice--size { grid-template-columns: 1fr; }
  .choice--size span { flex-direction: row; gap: 8px; }
}
