@charset "UTF-8";
/* ============================================================
   style.css — ハピスタ カードギャラリー（制作見本）
   構成: 1.トークン → 2.リセット/ベース → 3.レイアウト
        → 4.共通コンポーネント → 5.トップ → 6.カード紹介ページ
        → 7.モーション → 8.停止ポリシー
   方向: 温もり×すっきり（森の緑×生成り・丸ゴシック見出し）
   シグネチャー: めくると答えが出てくる「問いかけカード」
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  --color-bg: #f6f3ea;          /* 生成り */
  --color-surface: #fffdf7;     /* カードの面 */
  --color-text: #1e2722;        /* 墨 */
  --color-muted: #5b675f;       /* 補助 */
  --color-forest: #1f5a45;      /* 森の緑（メイン） */
  --color-forest-deep: #143d2f; /* 深い森（破調の背景） */
  --color-leaf: #9ccb7e;        /* 若葉（差し色・マーカー） */
  --color-leaf-pale: #e6f1dc;   /* 若葉の淡色（帯） */
  --color-accent: #d9603f;      /* 珊瑚（ボタンだけ） */
  --color-accent-ink: #ffffff;
  --color-line: #ddd6c4;

  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "Outfit", "Noto Sans JP", sans-serif;

  --space: 8px;
  --section-pad: clamp(72px, 11vw, 136px);
  --container: 1160px;
  --container-narrow: 760px;
  --radius: 18px;
  --radius-s: 10px;
  --shadow-card: 0 1px 0 rgba(30, 39, 34, .04), 0 14px 32px -16px rgba(20, 61, 47, .35);

  --z-header: 100;
  --z-nav: 200;
  --z-buybar: 300;
  --z-modal: 1000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.8s;
}

/* ---------- 2. リセット/ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-leaf); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .flip__worry, .flip__card-name, .cover__title, .card__title, .maker__name, .maker__role, .creator__role, .product-hero__catch, .deck__msg {
  word-break: auto-phrase;
}
.section-head__title, .hero__title, .product-hero__title { text-wrap: balance; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.num { font-family: var(--font-num); font-feature-settings: "tnum"; }

/* ---------- 3. レイアウト ---------- */
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - 40px); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: calc(var(--section-pad) * 0.6); }

/* 見出し: 小さな「問い」ラベル＋丸ゴシックの見出し＋若葉の下線（シグネチャーの一部） */
.section-head { margin-bottom: calc(var(--space) * 6); }
.section-head--center { text-align: center; }
.section-head__q {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--color-forest);
  margin-bottom: calc(var(--space) * 1.5);
}
.section-head__q::before {
  content: "Q"; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-forest); color: #fff;
  font-family: var(--font-num); font-size: 12px; letter-spacing: 0;
}
.section-head__title { font-size: clamp(26px, 4vw, 40px); }
.section-head__lead { margin-top: calc(var(--space) * 2); color: var(--color-muted); max-width: 36em; }
.section-head--center .section-head__lead { margin-inline: auto; }

/* 若葉のマーカー（見えたら左から引かれる） */
.marker {
  background: linear-gradient(transparent 62%, var(--color-leaf) 62%, var(--color-leaf) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.1s var(--ease-out) .25s;
  padding-inline: .08em;
}
.is-inview .marker, .marker.is-inview { background-size: 100% 100%; }

/* ---------- 4. 共通コンポーネント ---------- */
/* ヘッダー */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px clamp(20px, 4vw, 48px);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-line);
  padding-block: 10px;
}
.site-header__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900; font-size: 18px;
  text-decoration: none; letter-spacing: .06em; color: var(--color-forest-deep);
}
.site-header__logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 10.5px; letter-spacing: .1em; color: var(--color-muted); line-height: 1.3; }
.logo-mark { width: 34px; height: 34px; flex: none; }

.global-nav ul { display: flex; align-items: center; gap: calc(var(--space) * 3.5); list-style: none; padding: 0; }
.global-nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .06em; position: relative; }
.global-nav a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--color-leaf); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.global-nav a:not(.button):hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav .button { padding: 10px 22px; font-size: 13.5px; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: calc(var(--z-nav) + 1);
}
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--color-text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 0; z-index: var(--z-nav);
    background: var(--color-bg);
    display: grid; place-content: center;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; text-align: center; gap: calc(var(--space) * 4); }
  .global-nav a { font-size: 20px; }
  .global-nav .button { font-size: 16px; padding: 14px 32px; }
}

/* ボタン */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 34px;
  background: var(--color-accent); color: var(--color-accent-ink);
  border: 2px solid var(--color-accent); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 -1px color-mix(in srgb, var(--color-accent) 55%, #000);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s;
}
.button:hover { transform: translateY(2px); box-shadow: 0 3px 0 -1px color-mix(in srgb, var(--color-accent) 55%, #000); }
.button:active { transform: translateY(5px); box-shadow: 0 0 0 0 transparent; }
.button--ghost {
  background: transparent; color: var(--color-forest); border-color: var(--color-forest);
  box-shadow: none;
}
.button--ghost:hover { background: var(--color-forest); color: #fff; box-shadow: none; transform: none; }
.button__arrow { transition: transform .3s var(--ease-out); }
.button:hover .button__arrow { transform: translateX(4px); }

/* 名札（作った人） */
.maker-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 12px 4px 4px; border-radius: 999px;
  background: var(--color-leaf-pale); color: var(--color-forest-deep);
}
.maker-tag__face {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-forest); color: #fff; font-size: 10px; font-family: var(--font-display);
}

/* カードの表紙（写真のかわりにデザインした絵） */
.cover {
  position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  color: #fff; padding: 12%;
  background: var(--cv-bg, var(--color-forest));
  isolation: isolate;
}
.cover::before {           /* 紙の重なり */
  content: ""; position: absolute; inset: 7%; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.55); z-index: -1;
}
.cover::after {            /* やわらかい光 */
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%);
  top: -38%; right: -30%; z-index: -1;
}
.cover > div, .cover > span { width: 100%; }
.cover__icon { display: block; width: 32%; margin-inline: auto; margin-bottom: 8%; }
.cover__title { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(14px, 1.6vw, 19px); line-height: 1.45; letter-spacing: .04em; }
.cover__sub { display: block; font-size: .62em; font-weight: 500; opacity: .9; margin-top: .4em; letter-spacing: .08em; }
.cover--key    { --cv-bg: linear-gradient(150deg, #2f7a5c, #1f5a45 70%); }
.cover--vision { --cv-bg: linear-gradient(160deg, #f0b45a 0%, #e9805a 45%, #6a7fc0 100%); }
.cover--yoga   { --cv-bg: linear-gradient(150deg, #f29b83, #d9603f 75%); }
.cover--time   { --cv-bg: linear-gradient(150deg, #8fae7a, #5d7f5a 80%); }
.cover--yoshuku{ --cv-bg: linear-gradient(150deg, #d8b25a, #a9772f 80%); }

/* フッター */
.site-footer {
  background: var(--color-forest-deep); color: #dfe9e2;
  padding: calc(var(--space) * 8) 0 calc(var(--space) * 5);
  font-size: 13.5px;
}
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
.site-footer__logo { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: #fff; letter-spacing: .06em; }
.site-footer__note { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; color: #b9cbbf; }

/* パンくず */
.breadcrumb { font-size: 12.5px; color: var(--color-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .6em; list-style: none; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: .6em; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 5. トップ ---------- */
/* ヒーロー: プロダクト中央（カードの扇） */
.hero {
  position: relative; min-height: 100svh;
  padding: 128px 0 40px; text-align: center; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hero::before {            /* 森の木漏れ日 */
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(156,203,126,.35), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(217,96,63,.12), transparent 70%);
  z-index: -1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--color-forest);
  background: var(--color-surface); border: 1px solid var(--color-line);
  padding: 6px 16px; border-radius: 999px;
}
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-leaf); box-shadow: 0 0 0 4px var(--color-leaf-pale); }
.hero__title {
  margin-top: 22px;
  font-size: clamp(32px, 6.4vw, 72px); font-weight: 900; line-height: 1.32; letter-spacing: .05em;
  color: var(--color-forest-deep);
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__lead { margin: 22px auto 0; max-width: 34em; color: var(--color-muted); font-size: 15.5px; line-break: strict; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.fan {
  position: relative; height: clamp(170px, 24vw, 270px);
  margin-top: clamp(28px, 4vw, 48px);
  perspective: 1200px;
}
.fan__card {
  --w: clamp(120px, 15vw, 190px);
  position: absolute; left: 50%; bottom: 0; width: var(--w);
  margin-left: calc(var(--w) / -2);
  transform-origin: 50% 230%;
  transform: rotate(var(--r)) translateY(var(--y, 0));
  transition: transform .5s var(--ease-spring);
  filter: drop-shadow(0 18px 22px rgba(20,61,47,.22));
}
.fan__card .cover { border-radius: 14px; }
.fan__card:not(:nth-child(3)) .cover__title { visibility: hidden; }
.fan__card:nth-child(1) { --r: -26deg; --y: 18px; }
.fan__card:nth-child(2) { --r: -13deg; --y: 4px; }
.fan__card:nth-child(3) { --r: 0deg;  --y: 0px; z-index: 2; }
.fan__card:nth-child(4) { --r: 13deg; --y: 4px; }
.fan__card:nth-child(5) { --r: 26deg; --y: 18px; }
@media (hover: hover) and (pointer: fine) {
  .fan__card:hover { transform: rotate(var(--r)) translateY(-26px) scale(1.04); z-index: 3; }
}

/* お知らせ帯（流れる） */
.notice {
  background: var(--color-forest); color: #fff;
  overflow: hidden; border-block: 1px solid var(--color-forest-deep);
}
.notice__track { display: flex; width: max-content; }
.notice__list { display: flex; gap: 56px; padding: 14px 28px; list-style: none; flex: none; }
.notice__list li { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.notice__list li::before { content: "✦"; color: var(--color-leaf); font-size: 12px; }
.notice__label {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  background: var(--color-leaf); color: var(--color-forest-deep);
  padding: 2px 10px; border-radius: 999px;
}

/* 社会課題→カード（めくるカード） */
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flip {
  position: relative; perspective: 1400px; min-height: 290px;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
}
.flip__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-out);
}
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .flip:hover .flip__inner { transform: rotateY(180deg); }
}
.flip__face {
  position: absolute; inset: 0; border-radius: var(--radius);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 30px 28px; display: flex; flex-direction: column;
}
.flip__front {
  background: var(--color-surface); border: 1.5px dashed #c9c1aa;
}
.flip__back {
  background: var(--color-forest); color: #fff; transform: rotateY(180deg);
  box-shadow: var(--shadow-card);
}
.flip__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--color-muted); }
.flip__back .flip__label { color: var(--color-leaf); }
.flip__worry {
  margin-top: 18px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 1.9vw, 23px); line-height: 1.6; color: var(--color-text);
}
.flip__hint {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--color-forest); font-weight: 700;
}
.flip__hint svg { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.flip:hover .flip__hint svg { transform: rotate(180deg); }
.flip__card-name { margin-top: 14px; font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1.5; }
.flip__answer { margin-top: 12px; font-size: 15px; line-height: 1.85; color: #e3eee7; }
.flip__by { margin-top: auto; font-size: 12.5px; color: #bfd6c7; }
.flip-note { margin-top: 18px; font-size: 13px; color: var(--color-muted); text-align: center; }

/* 数字で見る */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1.5px solid var(--color-forest);
}
.stat { padding: 34px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--color-line); }
.stat__num { font-family: var(--font-num); font-weight: 600; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--color-forest); letter-spacing: -.01em; }
.stat__unit { font-family: var(--font-display); font-size: .32em; font-weight: 700; margin-left: .15em; color: var(--color-forest-deep); }
.stat__label { margin-top: 12px; font-size: 14px; color: var(--color-muted); }

/* カード一覧 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-surface); border-radius: var(--radius);
  padding: 16px 16px 22px; box-shadow: var(--shadow-card);
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card.is-feature { grid-column: span 2; flex-direction: row; gap: 26px; align-items: stretch; padding: 18px 26px 18px 18px; }
.card.is-feature .cover { width: 46%; flex: none; aspect-ratio: auto; min-height: 320px; padding: 36px; }
.card.is-feature .card__body { justify-content: center; }
.card.is-feature .cover__title { font-size: clamp(18px, 2.2vw, 26px); }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 6px 0; flex: 1; }
.card.is-feature .card__body { padding: 0; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.55; }
.card.is-feature .card__title { font-size: clamp(20px, 2.2vw, 26px); }
.card__text { font-size: 14px; color: var(--color-muted); line-height: 1.8; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__price { font-family: var(--font-num); font-weight: 600; font-size: 20px; color: var(--color-forest-deep); }
.card__price small { font-family: var(--font-body); font-size: 11px; color: var(--color-muted); font-weight: 400; margin-left: 2px; }
.card__more { font-size: 13px; font-weight: 700; color: var(--color-forest); display: inline-flex; align-items: center; gap: 4px; }
.card__badge {
  position: absolute; top: 4px; left: 4px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  padding: 4px 12px; border-radius: 999px; background: var(--color-accent); color: #fff;
  transform: rotate(-6deg);
}
.card__badge--sold { background: #6f746f; }
.card.is-sold .cover { filter: saturate(.55); }
.card.is-sold .card__price { color: var(--color-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.card__price small { display: inline-block; }
a.card:hover { box-shadow: 0 22px 44px -18px rgba(20, 61, 47, .45); }
.cards-note { margin-top: 26px; font-size: 13px; color: var(--color-muted); text-align: center; }

/* 作った人たち（破調: 深い森の背景・横スクロール） */
.makers { background: var(--color-forest-deep); color: #eef5f0; position: relative; overflow: hidden; }
.makers::before {
  content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(156,203,126,.22), transparent 65%);
  left: -160px; top: -200px;
}
.makers .section-head__q { color: var(--color-leaf); }
.makers .section-head__q::before { background: var(--color-leaf); color: var(--color-forest-deep); }
.makers .section-head__lead { color: #c6d8cc; }
.makers__scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 360px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px;
  scrollbar-color: var(--color-leaf) transparent;
}
.maker {
  scroll-snap-align: start; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: background .3s, transform .4s var(--ease-out);
}
.maker:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.maker__face {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 26px;
  background: var(--color-leaf); color: var(--color-forest-deep);
  box-shadow: 0 0 0 6px rgba(156,203,126,.18);
}
.maker__face--coral { background: #f29b83; }
.maker__name { font-family: var(--font-display); font-weight: 900; font-size: 22px; color: #fff; }
.maker__role { font-size: 13px; color: var(--color-leaf); font-weight: 700; line-height: 1.7; }
.maker__text { font-size: 14px; color: #d3e2d8; line-height: 1.85; }
.maker__cards { margin-top: auto; font-size: 12.5px; color: #b6cbbd; border-top: 1px dashed rgba(255,255,255,.2); padding-top: 12px; }
.maker--you { background: transparent; border: 2px dashed rgba(156,203,126,.6); justify-content: center; text-align: center; align-items: center; }
.maker--you .maker__face { background: transparent; border: 2px dashed var(--color-leaf); color: var(--color-leaf); box-shadow: none; }
.maker--you .button { margin-top: 6px; }
.scroll-hint { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #b6cbbd; margin-bottom: 14px; }
.scroll-hint::after { content: ""; width: 60px; height: 1px; background: currentColor; animation: hintSlide 1.8s var(--ease-out) infinite; transform-origin: left; }
@keyframes hintSlide { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); opacity: 0; } }

/* ダニエルさん紹介 */
.about { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: 160px 160px var(--radius) var(--radius);
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(255,255,255,.6), transparent 70%),
    linear-gradient(170deg, var(--color-leaf-pale), #cfe3c0);
  display: grid; place-items: center; text-align: center;
  color: var(--color-forest); font-size: 13px; position: relative;
}
.about__photo strong { display: block; font-family: var(--font-display); font-size: 54px; line-height: 1; margin-bottom: 8px; }
.about__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 3vw, 32px); color: var(--color-forest-deep); }
.about__name small { display: block; font-size: 14px; font-weight: 700; color: var(--color-forest); letter-spacing: .08em; margin-bottom: 6px; }
.about__roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; padding: 0; list-style: none; }
.about__roles li { font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--color-forest); color: var(--color-forest); }
.about__quote {
  position: relative; margin: 24px 0 0; padding: 22px 26px 22px 30px;
  background: var(--color-surface); border-radius: var(--radius-s);
  font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.95;
  border-left: 4px solid var(--color-leaf);
}
.about__quote cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: 12px; color: var(--color-muted); }

/* お問い合わせ帯 */
.cta-band {
  background: var(--color-leaf-pale);
  border-radius: 28px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; aspect-ratio: 1;
  border-radius: 50%; border: 36px solid rgba(156,203,126,.35);
}
.cta-band__title { font-size: clamp(22px, 3vw, 32px); color: var(--color-forest-deep); }
.cta-band__text { margin-top: 10px; color: var(--color-muted); font-size: 15px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }

/* ---------- 6. カード紹介ページ ---------- */
.product-hero { padding: 120px 0 clamp(56px, 8vw, 96px); position: relative; }
.product-hero::before {
  content: ""; position: absolute; inset: 0 0 30% 0;
  background: radial-gradient(50% 60% at 75% 40%, rgba(240,180,90,.22), transparent 70%);
  z-index: -1;
}
.product-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 24px; }
.product-hero__visual { position: relative; perspective: 1400px; }
.deck { position: relative; width: min(420px, 82%); margin-inline: auto; aspect-ratio: 1; }
.deck__layer {
  position: absolute; inset: 0; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-card);
}
.deck__layer:nth-child(1) { transform: rotate(-7deg) translate(-14px, 10px); background: #f3e6d2; }
.deck__layer:nth-child(2) { transform: rotate(4deg) translate(12px, 6px); background: #fbeee0; }
.deck__top { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease-out); cursor: pointer; border: 0; padding: 0; background: none; }
.deck__top.is-flipped { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .deck__top:hover { transform: rotateY(180deg); } }
.deck__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; overflow: hidden; }
.deck__face .cover { height: 100%; border-radius: 18px; }
.deck__face .cover__title { font-size: clamp(22px, 2.8vw, 32px); }
.deck__back {
  transform: rotateY(180deg); background: var(--color-surface);
  display: grid; place-items: center; text-align: center; padding: 14%;
  border: 1.5px solid var(--color-line);
}
.deck__back .deck__msg { display: block;  font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 2vw, 22px); line-height: 1.7; color: var(--color-forest-deep); }
.deck__back .deck__meta { display: block; margin-top: 14px; font-size: 12px; color: var(--color-muted); }
.deck-hint { margin-top: 26px; text-align: center; font-size: 13px; color: var(--color-muted); }

.product-hero__sub { font-size: 14px; font-weight: 700; color: var(--color-forest); letter-spacing: .08em; }
.product-hero__title { margin-top: 8px; font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; color: var(--color-forest-deep); line-height: 1.3; }
.product-hero__catch { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.7; }
.product-hero__lead { margin-top: 14px; color: var(--color-muted); font-size: 15px; }
.product-hero__buy { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.price { font-family: var(--font-num); font-weight: 600; font-size: 34px; color: var(--color-forest-deep); line-height: 1; }
.price small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--color-muted); display: block; margin-top: 6px; }

/* ページ内の目次（5つの中身） */
.toc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: toc; list-style: none; padding: 0; }
.toc a {
  counter-increment: toc; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px; background: var(--color-surface);
  border: 1px solid var(--color-line); text-decoration: none; font-weight: 700; font-size: 14px;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.toc a::before { content: counter(toc); font-family: var(--font-num); color: #fff; background: var(--color-forest); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; }
.toc a:hover { border-color: var(--color-forest); transform: translateY(-2px); }

.block-no { font-family: var(--font-num); font-weight: 600; font-size: 14px; color: var(--color-forest); letter-spacing: .12em; }

/* 1. 紹介 */
.effects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: eff; }
.effect { background: var(--color-surface); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-card); counter-increment: eff; }
.effect::before { content: "0" counter(eff); font-family: var(--font-num); font-weight: 600; font-size: 34px; color: var(--color-leaf); line-height: 1; display: block; margin-bottom: 14px; }
.effect h3 { font-size: 19px; color: var(--color-forest-deep); }
.effect p { margin-top: 10px; font-size: 14.5px; color: var(--color-muted); }
.viewpoints { margin-top: 48px; text-align: center; }
.viewpoints__title { font-size: 15px; font-weight: 700; color: var(--color-forest); }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; }
.chips li {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 12px 22px; border-radius: 999px; background: var(--color-surface);
  border: 1.5px solid var(--color-leaf); color: var(--color-forest-deep);
}
.specs { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-line); }
.specs div { padding: 18px 8px; border-bottom: 1px solid var(--color-line); text-align: center; }
.specs dt { font-size: 12px; color: var(--color-muted); }
.specs dd { margin: 4px 0 0; font-weight: 700; }

/* 2. 使い方 */
.howto { background: var(--color-leaf-pale); }
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene { background: var(--color-surface); border-radius: var(--radius); padding: 30px 26px 26px; position: relative; }
.scene__icon { width: 56px; height: 56px; margin-bottom: 16px; }
.scene h3 { font-size: 20px; color: var(--color-forest-deep); }
.scene__step { font-size: 14px; margin-top: 10px; color: var(--color-muted); }
.scene blockquote {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--color-line);
  font-size: 14px; line-height: 1.85;
}
.scene cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--color-muted); }

/* 3. 動画埋め込み */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px),
    linear-gradient(140deg, var(--color-forest), var(--color-forest-deep));
  display: grid; place-items: center; color: #fff; text-align: center;
  box-shadow: var(--shadow-card);
}
.video-frame__play {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,.95); display: grid; place-items: center; margin: 0 auto 16px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
  animation: pulse 2.4s var(--ease-out) infinite;
}
.video-frame__play svg { width: 30px; margin-left: 5px; fill: var(--color-accent); }
.video-frame p { font-size: 14px; color: #d3e2d8; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 80%, 100% { box-shadow: 0 0 0 26px rgba(255,255,255,0); } }

/* 4. 作った人 */
.creator { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; background: var(--color-surface); border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-card); }
.creator__face {
  aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(160deg, var(--color-leaf-pale), #cfe3c0);
  display: grid; place-items: center; text-align: center; color: var(--color-forest); font-size: 12.5px;
}
.creator__face strong { display: block; font-family: var(--font-display); font-size: 46px; line-height: 1; margin-bottom: 6px; }
.creator__name { font-size: clamp(22px, 2.6vw, 28px); color: var(--color-forest-deep); }
.creator__role { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--color-forest); }
.creator__text { margin-top: 14px; font-size: 15px; color: var(--color-muted); }
.creator__award { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 10px; background: #fbeee0; color: #8a5a1f; }

/* 5. 購入 */
.buy-band {
  background: var(--color-forest); color: #fff; border-radius: 28px;
  padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 180px 1fr auto; gap: 32px; align-items: center;
}
.buy-band .cover { box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); }
.buy-band__title { font-size: clamp(22px, 2.8vw, 30px); }
.buy-band__text { margin-top: 8px; color: #cfe0d5; font-size: 14.5px; }
.buy-band .price { color: #fff; }
.buy-band .price small { color: #cfe0d5; }
.buy-band__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* スマホの固定購入バー */
.buybar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-buybar);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--color-surface) 94%, transparent); backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--color-line);
  align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%); transition: transform .45s var(--ease-out);
}
.buybar.is-show { transform: none; }
.buybar__name { font-size: 12px; color: var(--color-muted); line-height: 1.4; }
.buybar__price { font-family: var(--font-num); font-weight: 600; font-size: 20px; color: var(--color-forest-deep); }
.buybar .button { padding: 12px 22px; font-size: 15px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1023px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card.is-feature { grid-column: span 2; }
  .toc { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .hero { padding-top: 104px; }
  .hero__title { font-size: clamp(24px, 7vw, 40px); }
  .hero__eyebrow { font-size: 11.5px; padding: 6px 12px; white-space: nowrap; }
  .flip-grid, .effects, .scenes { grid-template-columns: 1fr; }
  .flip { min-height: 250px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--color-line); }
  .cards { grid-template-columns: 1fr; }
  .card.is-feature { grid-column: auto; flex-direction: column; padding: 16px 16px 22px; }
  .card.is-feature .cover { width: 100%; }
  .card.is-feature .card__body { padding: 18px 6px 0; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 240px; margin-inline: auto; }
  .cta-band { grid-template-columns: 1fr; }
  .product-hero__grid { grid-template-columns: 1fr; }
  .toc { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr; }
  .creator { grid-template-columns: 1fr; text-align: center; }
  .creator__face { max-width: 160px; margin-inline: auto; }
  .buy-band { grid-template-columns: 1fr; text-align: center; }
  .buy-band .cover { max-width: 160px; margin-inline: auto; }
  .buy-band__actions { align-items: center; }
  .buybar { display: flex; }
  .has-buybar .site-footer { padding-bottom: 110px; }
}

@media (min-width: 1024px) {
  .makers__scroller { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .scroll-hint { display: none; }
}
.stats-wrap { padding-block: 0; }
#concept { padding-bottom: calc(var(--section-pad) * .6); }
#cards { padding-top: calc(var(--section-pad) * .7); }
#intro { padding-top: calc(var(--section-pad) * .5); }

/* ---------- 7. モーション ---------- */
.js-reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: .1s; }
.js-reveal[data-delay="2"] { transition-delay: .2s; }
.js-reveal[data-delay="3"] { transition-delay: .3s; }
.js-reveal[data-delay="4"] { transition-delay: .4s; }

/* ヒーロー: カードが重なりから扇に開く（文字は待たせない） */
.fan.is-ready .fan__card { animation: fanOpen 1.1s var(--ease-spring) both; animation-delay: calc(var(--i) * 70ms + .15s); }
@keyframes fanOpen {
  from { transform: rotate(0deg) translateY(60px) scale(.92); opacity: 0; }
  to   { transform: rotate(var(--r)) translateY(var(--y, 0)); opacity: 1; }
}
.fan.is-ready .fan__card:hover { animation: none; }

/* お知らせ帯: 横に流れる */
.notice__track { animation: marquee 38s linear infinite; }
.notice:hover .notice__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* めくりカード: 見えたら最初の1枚が「めくれるよ」と小さく揺れる */
.flip.is-nudge .flip__inner { animation: nudge 1.2s var(--ease-out) .6s 1; }
@keyframes nudge { 0%, 100% { transform: rotateY(0); } 35% { transform: rotateY(-22deg); } 65% { transform: rotateY(8deg); } }

/* カード一覧: マウスの位置で少し傾く（JSで --tx/--ty を更新） */
@media (hover: hover) and (pointer: fine) {
  a.card.is-tilt { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(-4px); }
}

/* 5つの視点: 順にぽんと出る */
.chips.js-pop li { opacity: 0; transform: scale(.7) translateY(10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-spring); transition-delay: calc(var(--i) * 90ms); }
.chips.js-pop.is-inview li { opacity: 1; transform: none; }

/* カード紹介ページ: 表紙がふわっと浮かぶ */
.deck { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 8. モーション停止（削除禁止） ---------- */
.motion-stop {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: var(--z-modal);
  padding: 10px 16px; font-size: 12px;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .motion-stop { display: block; } .has-buybar .motion-stop { bottom: 90px; } }
html.is-motion-off .js-reveal,
html.is-motion-off *[class] {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
html.is-motion-off .js-reveal { opacity: 1; transform: none; }
html.is-motion-off .notice__track { animation: none; }
html.is-motion-off .chips.js-pop li { opacity: 1; transform: none; }
html.is-motion-off .marker { background-size: 100% 100%; }
