/* =========================================================
   つぐ v2：ほっと、やさしく（ファームハウス／コテージコア）・配色A セージ
   文字はHTML、画像は人物の線画＋実写の物だけ。セクションは曲線でつなぐ
   ========================================================= */
:root {
  --kinari: #F8F7F2;   /* 生成り */
  --beige:  #EAEFE8;   /* ベージュ */
  --linen:  #DCE5DD;   /* リネン */
  --brown:  #36352F;   /* こげ茶（文字） */
  --accent:  #7C9A84;   /* みそ汁のわかめ・ねぎから取ったくすみセージ（差し色1色） */
  --accent-d:#53705D;  /* 白文字を載せるときはこちら（5.4:1） */
  --accent-dd:#435D4C;
  --wrap: 640px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  /* 紙の質感（ごく薄いノイズ） */
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .21 0 0 0 0 .21 0 0 0 0 .19 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kinari);
  color: var(--brown);
  font-family: var(--maru);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
/* 紙の質感は、面と曲線の両方にかかるよう、ページ全体に1枚だけ重ねる */
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; background: var(--paper); mix-blend-mode: multiply; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
/* 日本語は文節で折り返す（Chrome系）。対応しないブラウザは通常の折り返し */
p, li, h3, summary, blockquote, .tags li { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- デモの断り ---------- */
.demo-note {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  padding: 8px 16px; background: var(--brown); color: var(--kinari);
  font-size: 13px; line-height: 1.6; text-align: center;
}
.motion-toggle {
  min-height: 30px; padding: 2px 14px; border: 1px solid rgba(248, 247, 242, .5); border-radius: 999px;
  background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer;
}
.motion-toggle:focus-visible { outline: 2px solid var(--kinari); outline-offset: 2px; }

/* ---------- ロゴ：「ぐ」の濁点を、しょうゆのしずく2つに置き換える（仕掛けは1つだけ） ---------- */
.head { display: flex; justify-content: center; padding: 28px 16px 0; }
.logo { display: inline-flex; flex-direction: column; align-items: center; color: var(--brown); text-decoration: none; }
.logo__ja::before { content: attr(data-t); }
.logo__ja { position: relative; font-family: var(--mincho); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: .08em; padding-right: .18em; }
.logo__drops { position: absolute; right: -.1em; top: -.12em; width: .42em; height: .42em; fill: var(--accent); }
.logo__en { margin-top: 6px; font-family: var(--mincho); font-size: 11px; letter-spacing: .5em; padding-left: .5em; }

/* ---------- 見出し：意味の切れ目で2行、いちばん伝えたい語を大きく太く ---------- */
.hl { font-family: var(--mincho); font-weight: 400; line-height: 1.2; letter-spacing: .04em; }
.hl__eyebrow { display: block; margin-bottom: 10px; font-family: var(--maru); font-size: 14px; letter-spacing: .12em; color: #53705D; }
.hl__sm { display: block; font-size: clamp(22px, 6.4vw, 34px); }
.hl__lg { display: block; font-size: clamp(30px, 9vw, 50px); white-space: nowrap; }
.hl__lg { line-height: 1; margin-top: 0; }
@media (max-width: 340px) { .hl strong { font-size: 23vw !important; } }
.hl strong { margin-right: -.06em; }
.hl strong { display: inline-block; font-weight: 800; font-size: min(25vw, 132px); line-height: 1.5; letter-spacing: 0; color: var(--brown); vertical-align: baseline; }
.lead, .body { font-size: clamp(16px, 4.2vw, 18px); }

/* ---------- セクションの基本 ---------- */
.sec { position: relative; padding: 0 20px; overflow-x: clip; }
.sec > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; max-width: none; display: block; pointer-events: none; fill: var(--fill, var(--kinari)); height: 90px; overflow: visible; }
.curve--arch, .curve--dip { height: 110px; }
.sec--beige { background: var(--beige); }
.sec--linen { background: var(--linen); }
.sec + .sec { padding-top: 10px; }

/* ① FV：線画の女性と瓶が大きく、文字の塊が絵の下端に少し触れる */
.sec--fv { padding-bottom: 150px; }
.fv__visual { position: relative; margin-top: 4px; }
.fv__visual img {
  width: min(100%, 520px); margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 46%, transparent 96%);
          mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 46%, transparent 96%);
}
.fv__text { position: relative; margin-top: -40px; text-align: center; }
.fv__text .hl::before { /* 見出しの後ろに紙色をふわっと敷き、線画に少し触れても読める */
  content: ""; position: absolute; inset: -10px -6% auto; height: 150px; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, rgba(248, 247, 242, .92), rgba(248, 247, 242, 0) 70%);
}
.fv__text .hl { position: relative; z-index: 0; }
.fv__text .lead { margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.tags li {
  padding: 4px 16px; border-radius: 999px;
  background: rgba(124, 154, 132, .10); color: #53705D;
  font-size: 15px; line-height: 1.8;
}
.note { margin-top: 14px; font-size: 13px; opacity: .8; }


/* ② 悩み：ベージュの面。絵はアーチの窓に入れて、上の波をまたいで食い込む */
.sec--pain { padding-bottom: 170px; text-align: center; }
/* 絵の窓：上の曲線をまたいで前のセクションに食い込む */
.frame { position: relative; z-index: 1; width: min(78%, 400px); margin: -150px auto 0; overflow: hidden; background: var(--kinari); box-shadow: 0 18px 40px rgba(54, 53, 47, .10); }
.frame img { width: 100%; }
.frame--arch { border-radius: 999px 999px 28px 28px; }
.frame--round { width: min(66%, 340px); border-radius: 50%; }
.soft img {
  width: min(100%, 520px); margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 56% 58% at 50% 52%, #000 48%, transparent 96%);
          mask-image: radial-gradient(ellipse 56% 58% at 50% 52%, #000 48%, transparent 96%);
}
.sec > .hl { margin-top: 30px; }
.sec > .body { margin-top: 18px; }
.sec > .note { margin-top: 18px; font-size: 13px; opacity: .8; }
.worries { margin-top: 28px; display: grid; gap: 12px; }
.worries li {
  position: relative; padding: 14px 18px 14px 48px; text-align: left;
  background: var(--kinari); border-radius: 18px 18px 18px 4px;
  font-size: 16px; line-height: 1.7;
}
.worries li::before { /* 布の小さな丸ボタン */
  content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; background: var(--linen); box-shadow: inset 0 0 0 3px var(--kinari), 0 0 0 1px rgba(54,53,47,.25);
}
.turn { margin-top: 30px; font-family: var(--mincho); font-size: clamp(20px, 5.6vw, 26px); line-height: 1.6; }
.turn strong { font-weight: 800; font-size: 1.35em; color: var(--accent-d); white-space: nowrap; }


/* ③ 商品紹介：生成りに戻る。商品はアーチの窓、カードは段違いにせず2列で整列 */
.sec--lineup { padding-bottom: 160px; text-align: center; }
.sec--lineup > .hl { margin-top: 20px; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; margin-top: -10px; }
.product img {
  width: 82%; margin: 0 auto; aspect-ratio: 3 / 5; object-fit: cover;
  border-radius: 999px 999px 16px 16px; background: var(--beige);
}
.product h3 { margin-top: 12px; font-family: var(--mincho); font-weight: 700; font-size: 22px; letter-spacing: .1em; }
.product p { margin-top: 4px; font-size: 15px; line-height: 1.7; }
.free {
  margin-top: 30px; display: inline-block; max-width: 100%;
  padding: 10px 24px; border-radius: 28px; background: var(--brown); color: var(--kinari);
  font-size: 15px; line-height: 1.7;
}


/* ④ こだわり：カードは本当に横へスクロールできる（指でスワイプ・スクロールスナップ） */
.sec--feature { padding-bottom: 150px; text-align: center; }
.points {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px;
  margin-top: 28px; padding: 6px 4px 18px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
  text-align: left; counter-reset: none;
}
.points:focus-visible { outline: 3px solid var(--brown); outline-offset: 4px; border-radius: 26px; }
.points li { scroll-snap-align: start; padding: 22px 22px 24px; border-radius: 26px 26px 26px 6px; background: var(--kinari); box-shadow: 0 10px 24px rgba(54, 53, 47, .08); }
.points .num { display: block; font-family: var(--mincho); font-weight: 700; font-size: 34px; line-height: 1; color: var(--accent); }
.points h3 { margin-top: 12px; font-family: var(--mincho); font-weight: 700; font-size: 20px; line-height: 1.5; }
.points p { margin-top: 8px; font-size: 15px; line-height: 1.8; }
.hint { margin-top: 6px; font-size: 13px; opacity: .88; }
.hint::after { content: " →"; }
.curve--tilt { height: 90px; }

/* ⑤ 定期便の流れ：番号の丸が細い道でつながる */
.sec--flow { padding-bottom: 160px; text-align: center; }
.sec--flow .soft { margin-top: 8px; }
.steps { position: relative; margin-top: 8px; padding: 0; list-style: none; counter-reset: step; text-align: left; display: grid; gap: 18px; }
.steps li { position: relative; padding: 0 0 0 66px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-d); color: #fff;
  font-family: var(--mincho); font-weight: 700; font-size: 22px;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 54px; bottom: -14px; width: 2px; border-radius: 2px; background: rgba(107, 122, 69, .35); }
.steps h3 { font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.5; padding-top: 9px; }
.steps p { margin-top: 4px; font-size: 15px; line-height: 1.8; }

/* ⑥ お客様の声 */
.sec--voice { padding-bottom: 150px; text-align: center; }
.world { margin-top: 16px; font-size: 15px; }
.world__pill { display: inline-block; margin: 0 6px 6px; padding: 2px 14px; border-radius: 999px; background: var(--accent-d); color: #fff; font-size: 14px; }
.world__cities { display: inline-block; white-space: nowrap; }
.voices { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
.voices li { padding: 20px 22px; border-radius: 26px 26px 6px 26px; background: var(--kinari); }
.voices li:nth-child(even) { border-radius: 26px 26px 26px 6px; }
.voices blockquote { margin: 0; font-family: var(--mincho); font-size: 18px; line-height: 1.75; }
.voices blockquote::before { content: "“"; display: block; height: .5em; font-size: 2.2em; line-height: 1; color: var(--accent); }
.voices .who { margin-top: 8px; font-size: 14px; opacity: .8; }

/* ⑦ よくある質問：開いて読む（検索・AIに読まれる本文） */
.sec--faq { padding-bottom: 150px; text-align: center; }
.faq { margin-top: 26px; display: grid; gap: 12px; text-align: left; }
.faq details { border-radius: 22px; background: #FCFBF8; box-shadow: inset 0 0 0 1px rgba(54, 53, 47, .12); }
.faq summary {
  position: relative; display: block; padding: 18px 56px 18px 54px; cursor: pointer; list-style: none;
  font-family: var(--mincho); font-weight: 700; font-size: 17px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 15px; font-size: 22px; color: var(--accent); }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.6px solid var(--brown); border-bottom: 1.6px solid var(--brown); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline: 3px solid var(--brown); outline-offset: -3px; border-radius: 22px; }
.faq details p { padding: 0 24px 20px 54px; font-size: 15px; line-height: 1.9; }

/* ⑧ 申込：リネンの面。お椀は丸い窓で上の波をまたぐ */
.sec--cta { padding-bottom: 72px; text-align: center; }
.plans { display: grid; gap: 14px; margin-top: 30px; text-align: left; }
.plan { position: relative; padding: 18px 22px; border-radius: 22px; background: var(--kinari); }
.plan h3 { font-family: var(--mincho); font-weight: 700; font-size: 20px; letter-spacing: .1em; }
.plan .price { margin-top: 2px; font-family: var(--mincho); font-weight: 700; font-size: 34px; line-height: 1.3; }
.plan .price span { display: block; font-family: var(--maru); font-weight: 400; font-size: 15px; }
.plan .price small { font-family: var(--maru); font-weight: 400; font-size: 15px; margin-left: 2px; }
.plan > p:last-child { font-size: 15px; }
.plan--pick { box-shadow: inset 0 0 0 2px var(--accent); }
.pick { position: absolute; right: 18px; top: -12px; padding: 0 14px; border-radius: 999px; background: var(--accent-d); color: #fff; font-size: 13px; line-height: 26px; }
.actions { display: grid; gap: 12px; margin-top: 30px; }

/* ボタン：差し色のセージ。光が横切り、矢印がときどき動く */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 62px; padding: 0 28px; border-radius: 999px;
  font-size: 18px; letter-spacing: .08em; text-decoration: none;
  transition: background-color .3s, color .3s, box-shadow .35s var(--ease), transform .1s;
}
.btn--main { background: var(--accent-d); color: #fff; box-shadow: 0 10px 24px rgba(83, 112, 93, .25); }
.btn--main svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; animation: nudge 2.4s var(--ease) infinite; }
.btn--main::before, .sticky::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg); animation: shine 4.4s ease-in-out infinite; pointer-events: none;
}
.btn--main:hover { background: var(--accent-dd); box-shadow: 0 14px 30px rgba(83, 112, 93, .32); }
.btn--sub { background: var(--kinari); color: var(--brown); box-shadow: inset 0 0 0 1.5px var(--brown); }
.btn--sub:hover { background: var(--brown); color: var(--kinari); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .sticky:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }


.foot { padding: 28px 16px 100px; text-align: center; font-size: 13px; background: var(--brown); color: var(--kinari); }

/* スマホ：追従ボタン */
.sticky {
  position: fixed; left: 50%; bottom: 16px; z-index: 10;
  width: min(calc(100% - 32px), 420px); min-height: 54px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate;
  border-radius: 999px; background: var(--accent-d); color: #fff; font-size: 16px; letter-spacing: .08em; text-decoration: none;
  box-shadow: 0 10px 24px rgba(54, 53, 47, .2);
  transform: translate(-50%, 150%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .35s, visibility 0s linear .5s;
}
.sticky.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
.toast {
  position: fixed; left: 50%; top: 18px; z-index: 20; transform: translateX(-50%);
  width: min(calc(100% - 32px), 420px); padding: 12px 16px; border-radius: 14px;
  background: var(--brown); color: var(--kinari); font-size: 14px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s;
}
.toast.is-shown { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- 動き ---------- */
/* FV：絵がふわっと浮かび、見出しが1行ずつ */
.fv__visual img { animation: float-in 1.6s var(--ease) both; }
.fv__text .hl__sm { animation: rise 1s var(--ease) both .5s; }
.fv__text .hl__lg { animation: rise 1.1s var(--ease) both .75s; }
.fv__text .lead, .fv__text .tags, .fv__text .note { animation: rise 1s var(--ease) both 1.1s; }
.logo { animation: rise 1s var(--ease) both .2s; }
.logo__drops path { transform-box: fill-box; transform-origin: 50% 0; animation: drip 1.1s var(--ease) both; }
.logo__drops path:nth-child(1) { animation-delay: .9s; }
.logo__drops path:nth-child(2) { animation-delay: 1.05s; }
/* 曲線がゆっくり呼吸する */
.curve path { animation: sway 9s ease-in-out infinite alternate; transform-origin: 50% 100%; }
/* スクロールで現れる */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .frame.reveal { transform: translateY(36px) scale(.94); }
.js .frame.reveal.is-in { transform: none; }

@keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { opacity: 0; transform: translateY(-60%) scaleY(1.3); } 70% { opacity: 1; transform: translateY(6%) scaleY(.92); } 100% { opacity: 1; transform: none; } }
@keyframes sway { from { transform: scaleY(1); } to { transform: scaleY(1.18); } }
@keyframes shine { 0%, 55% { transform: skewX(-18deg) translateX(0); } 85%, 100% { transform: skewX(-18deg) translateX(700%); } }
@keyframes nudge { 0%, 60%, 100% { transform: translateX(0); } 75% { transform: translateX(6px); } }

/* 動きを止める（ボタン／OSの設定） */
html.no-motion { scroll-behavior: auto; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.no-motion .reveal { opacity: 1 !important; transform: none !important; }
.no-motion .btn--main::before, .no-motion .sticky::before { display: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) { scroll-behavior: auto; }
  html:not(.motion-on) *, html:not(.motion-on) *::before, html:not(.motion-on) *::after { animation: none !important; transition: none !important; }
  html:not(.motion-on) .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- PC：背景と曲線は全幅、中身は読みやすい幅で中央 ---------- */
@media (min-width: 768px) {
  .fv__visual img { width: auto; max-height: min(62vh, 640px); }
  .steps { max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plans .plan { padding: 22px 18px; }
  .plan .price { font-size: 30px; }
  .actions { grid-template-columns: 1fr 1fr; }
  .sticky { display: none; }
  :root { --wrap: 760px; }
  .products { grid-template-columns: repeat(4, 1fr); }
  .points { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .hint { display: none; }
  .voices { grid-template-columns: 1fr 1fr; }
  .voices li:nth-child(5) { grid-column: 1 / -1; }
  .curve { height: 130px; }
  .curve--arch, .curve--dip { height: 160px; }
}

.nw { display: inline-block; }
/* 閉じている質問の答えは、レイアウト上も消しておく（ブラウザの見えない領域が重なりとして数えられるのを防ぐ） */
.faq details:not([open]) > p { display: none; }
/* とても狭い画面（〜360px）では文節の折り返しをやめ、はみ出しを防ぐ */
@media (max-width: 360px) { p, li, h3, summary, blockquote, .tags li { word-break: normal; overflow-wrap: anywhere; } }

/* =========================================================
   v3：レイヤーを重ね、ファームハウス／コテージコアを強める
   ・ページ全体にレース越しの光（固定）・面は少し透かす
   ・実写の布（小花柄・ギンガム）と籐を、波のふち（スカラップ）で切った帯に
   ・クラフト紙の札・布のパネル・背景の大きな輪郭文字・英語ラベルの通し番号
   ・余白を詰め、絵を大きく、カードの角にかけて重ねる
   ========================================================= */
:root {
  --tex-lace: url("images/tex-lace.webp");
  --tex-gingham: url("images/tex-gingham.webp");
  --tex-floral: url("images/tex-floral.webp");
  --tex-kraft: url("images/tex-kraft.webp");
  --tex-rattan: url("images/tex-rattan.webp");
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
}
/* レース越しの光：画面に固定して、ごく薄く */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--tex-lace) center / cover no-repeat; opacity: .55;
}
body { background-color: var(--kinari); }
.sec--fv, .sec--lineup, .sec--flow, .sec--faq { background: rgba(248, 247, 242, .78); }
.sec--beige { background: rgba(234, 239, 232, .9); }
.sec--linen { background: rgba(220, 229, 221, .9); }
.head { background: rgba(248, 247, 242, .78); }

/* 余白を詰める */
.sec--fv { padding-bottom: 110px; }
.sec--pain, .sec--lineup, .sec--feature, .sec--flow, .sec--voice, .sec--faq { padding-bottom: 120px; }
.sec > .hl { margin-top: 14px; }
.sec > .body { margin-top: 14px; }

/* 英語ラベルの通し番号 */
.label {
  position: relative; z-index: 1; margin-top: 30px;
  font-family: var(--serif-en); font-size: 17px; letter-spacing: .28em; color: var(--accent-d);
}
.label span { display: inline-block; margin-right: 12px; padding-right: 12px; border-right: 1px solid currentColor; font-size: 22px; letter-spacing: .06em; }

/* 背景の大きな輪郭文字（読む文字には重ねず、セクションの奥に置く） */
.sec { isolation: isolate; }
.bgword {
  position: absolute; z-index: -1; left: 50%; top: 24px; transform: translateX(-50%);
  max-width: none; width: max-content; pointer-events: none; user-select: none;
  font-family: var(--serif-en); font-weight: 500; font-size: clamp(110px, 34vw, 260px); line-height: .9; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(83, 112, 93, .22); white-space: nowrap;
}
.sec--fv .bgword { top: 46%; }

/* 絵を大きく */
.frame { width: min(86%, 440px); }
.frame--round { width: min(76%, 380px); }
.fv__visual img { width: min(100%, 560px); }

/* 布・籐の帯：上下を波のふち（スカラップ）で切る */
.band {
  position: absolute; left: 0; right: 0; z-index: 2; height: 46px; bottom: 64px;
  width: 100%; max-width: none; pointer-events: none;
  --s: 14px;
  -webkit-mask:
    radial-gradient(circle var(--s) at 50% 0, #000 98%, transparent) top / calc(var(--s) * 2) var(--s) repeat-x,
    radial-gradient(circle var(--s) at 50% 100%, #000 98%, transparent) bottom / calc(var(--s) * 2) var(--s) repeat-x,
    linear-gradient(#000, #000) center / 100% calc(100% - var(--s) * 2) no-repeat;
          mask:
    radial-gradient(circle var(--s) at 50% 0, #000 98%, transparent) top / calc(var(--s) * 2) var(--s) repeat-x,
    radial-gradient(circle var(--s) at 50% 100%, #000 98%, transparent) bottom / calc(var(--s) * 2) var(--s) repeat-x,
    linear-gradient(#000, #000) center / 100% calc(100% - var(--s) * 2) no-repeat;
  filter: drop-shadow(0 4px 6px rgba(54, 53, 47, .10));
}
.band--floral { background: var(--tex-floral) center / 420px auto repeat; }
.band--gingham { background: var(--tex-gingham) center / 260px auto repeat; }
.band--rattan { background: var(--tex-rattan) center / 360px auto repeat; height: 40px; }

/* 悩み：クラフト紙の札（穴つき）を少しずつ傾けて */
.worries { gap: 14px; }
.worries li {
  background: var(--tex-kraft) center / 600px auto; color: #3a332b;
  border-radius: 6px 22px 22px 6px; padding: 16px 18px 16px 52px;
  box-shadow: 0 6px 14px rgba(54, 53, 47, .12);
}
.worries li:nth-child(1) { transform: rotate(-1.2deg); }
.worries li:nth-child(2) { transform: rotate(.8deg); margin-left: 14px; }
.worries li:nth-child(3) { transform: rotate(-.6deg); }
.worries li::before { /* 札の穴 */
  background: var(--kinari); box-shadow: inset 0 1px 2px rgba(54, 53, 47, .35);
  width: 12px; height: 12px; margin-top: -6px; left: 20px;
}

/* 商品：小花柄の布のパネルにのせ、かごの絵がパネルの上辺にかかる */
.sec--lineup .soft { position: relative; z-index: 2; margin-bottom: -70px; }
.products {
  position: relative; z-index: 1; margin-top: 0; padding: 86px 16px 26px;
  border-radius: 32px; background: var(--tex-floral) center / 520px auto;
  box-shadow: 0 14px 30px rgba(54, 53, 47, .10);
}
.product { background: rgba(248, 247, 242, .92); border-radius: 999px 999px 22px 22px; padding: 10px 8px 16px; }
.product img { width: 88%; background: transparent; }

/* こだわり：カードの上部に籐の帯 */
.points li { position: relative; overflow: hidden; padding-top: 42px; }
.points li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; background: var(--tex-rattan) center / 300px auto; }

/* 流れ：ギンガムの布のパネルの上に、白いカード */
.steps {
  padding: 26px 18px; border-radius: 30px;
  background: linear-gradient(rgba(248, 247, 242, .88), rgba(248, 247, 242, .88)), var(--tex-gingham) center / 240px auto;
  box-shadow: 0 12px 26px rgba(54, 53, 47, .08);
}

/* 声：カードの角に小花柄の小さな布の三角 */
.voices li { position: relative; overflow: hidden; box-shadow: 0 8px 18px rgba(54, 53, 47, .07); }
.voices li::after { content: ""; position: absolute; right: 0; top: 0; width: 44px; height: 44px; background: var(--tex-floral) center / 300px auto; clip-path: polygon(0 0, 100% 0, 100% 100%); }

/* よくある質問：クラフト紙の大きな台紙 */
.faq { padding: 18px; border-radius: 28px; background: var(--tex-kraft) center / 700px auto; box-shadow: 0 12px 26px rgba(54, 53, 47, .10); }
.faq details { background: rgba(252, 251, 248, .96); }

/* 料金：クラフト紙の札。おすすめは小花柄の布のふち */
.plan { background: var(--tex-kraft) center / 640px auto; color: #3a332b; box-shadow: 0 8px 18px rgba(54, 53, 47, .10); }
.plan--pick { background: linear-gradient(rgba(252, 251, 248, .94), rgba(252, 251, 248, .94)) padding-box, var(--tex-floral) border-box; border: 8px solid transparent; box-shadow: 0 10px 24px rgba(54, 53, 47, .14); }

@media (min-width: 900px) {
  .band { height: 52px; --s: 16px; bottom: 56px; }
  .sec--lineup .soft { margin-bottom: -110px; }
  .products { padding-top: 130px; }
}

/* 次のセクションの絵の窓が、前のセクションの注記にかからない食い込み量にする */
.frame { margin-top: -112px; }
.sec--fv .bgword { top: 38%; }
/* PCは曲線が高い（130〜160px）ので、その分だけ下の余白を確保する */
@media (min-width: 900px) {
  .sec--fv { padding-bottom: 150px; }
  .sec--pain, .sec--flow { padding-bottom: 190px; }
  .sec--lineup, .sec--feature, .sec--voice, .sec--faq { padding-bottom: 160px; }
}

/* =========================================================
   v4：広告バナーの世界観に合わせる（生成りのリネン・レース・刺しゅうの小花・
   カモミール・籐・苔色の緑のフェルトとステッチ）。線画の女性はそのまま
   ========================================================= */
:root {
  --kinari: #F7F2E7;   /* 生成りのリネン */
  --beige:  #EEEBDC;   /* 淡い苔色がかった生成り */
  --linen:  #E3E6D3;   /* 淡い苔色 */
  --brown:  #3B332B;   /* 本文 */
  --accent: #6B7A45;   /* 苔色の緑（バナーのボタン・フェルト） */
  --accent-d: #4E5A2F; /* 白文字をのせる緑（7.4:1） */
  --accent-dd: #3F4926;
  --stitch: rgba(247, 242, 231, .85);
  --tex-linen: url("images/tex-floral.webp");
}
body { background-color: var(--kinari); }
.sec--fv, .sec--lineup, .sec--flow, .sec--faq { background: rgba(247, 242, 231, .82); }
.sec--beige { background: rgba(238, 235, 220, .9); }
.sec--linen { background: rgba(227, 230, 211, .92); }
.head { background: rgba(247, 242, 231, .82); padding-top: 22px; }
.demo-note, .foot { background: #3B332B; }

/* ロゴ：家の線画＋TSUGU（バナーと同じ） */
.logo { gap: 2px; animation: rise 1s var(--ease) both .2s; }
.logo__mark { width: 96px; height: auto; fill: none; stroke: var(--brown); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.logo__mark .sprig { stroke: var(--accent); }
.logo__en { margin: 0; padding-left: .42em; font-family: var(--serif-en); font-weight: 500; font-size: 30px; letter-spacing: .42em; line-height: 1.1; color: var(--brown); }
.logo__ja { position: static; padding: 0; font-family: var(--mincho); font-weight: 400; font-size: 12px; letter-spacing: .5em; padding-left: .5em; }
.logo__ja::before { content: none; }

/* 飾りの切り抜き（生成りの地を乗算で消す） */
.deco { position: absolute; z-index: 0; pointer-events: none; width: auto; max-width: none; height: auto; }
.deco--emb-tl { left: -40px; top: -46px; width: 190px; }
.deco--emb-tr { right: -30px; top: -60px; width: 170px; transform: scaleX(-1); }
.deco--emb-tl2 { left: -36px; top: -40px; width: 160px; }
.deco--cham-l { left: -24px; top: 210px; width: 150px; transform: rotate(-18deg); }
.deco--cham-r { right: -30px; top: 170px; width: 150px; transform: rotate(14deg); }
.sec { position: relative; }

/* FV：写真の上にレースの台紙。スマホは写真→台紙を上に重ねる */
.sec--fv { padding: 0 0 120px; }
.fv__photo { margin: 0; }
.fv__photo img { width: 100%; height: 300px; object-fit: cover; object-position: 72% 50%; -webkit-mask-image: none; mask-image: none; }
.fv__panel {
  position: relative; z-index: 2; width: min(92%, 560px); margin: -70px auto 0; padding: 40px 26px 30px;
  text-align: center; border-radius: 46% 46% 40% 40% / 30% 30% 24% 24%;
  background:
    radial-gradient(circle at 50% 50%, var(--kinari) 70%, transparent 71%),
    url("images/m-lace.webp") center / cover;
  box-shadow: 0 18px 40px rgba(59, 51, 43, .14);
}
.fv__panel::after { /* レースのふち */
  content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 2px dashed rgba(107, 122, 69, .35); pointer-events: none;
}
.fv__title { position: relative; z-index: 1; margin: 0; font-family: var(--mincho); color: var(--brown); line-height: 1.1; }
.fv__title-sm { display: block; font-weight: 700; font-size: clamp(22px, 6.4vw, 34px); letter-spacing: .06em; }
.fv__title strong { display: block; margin-top: 4px; font-weight: 800; font-size: min(25vw, 140px); line-height: 1.35; letter-spacing: .02em; }
.fv__catch { position: relative; z-index: 1; margin-top: 2px; padding-bottom: 12px; font-family: var(--mincho); font-size: clamp(17px, 4.6vw, 22px); border-bottom: 1.5px dashed rgba(59, 51, 43, .35); display: inline-block; }
.fv__catch em { font-style: normal; font-weight: 700; color: #9A5B3C; }
.badges { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.badges li {
  aspect-ratio: 1; display: grid; place-content: center; gap: 4px; padding: 8px; border-radius: 50%;
  background: var(--tex-linen) center / 300px auto; box-shadow: 0 6px 14px rgba(59, 51, 43, .12);
  outline: 1.5px dashed rgba(78, 90, 47, .55); outline-offset: -7px;
}
.badges b { font-family: var(--mincho); font-weight: 700; font-size: clamp(14px, 4.2vw, 19px); letter-spacing: .08em; }
.badges span { font-size: 11px; line-height: 1.5; }
.fv__text { margin-top: 26px; padding: 0 20px; }
.fv__text .hl::before { content: none; }
.fv__lead { font-family: var(--mincho); font-size: clamp(22px, 6vw, 30px); line-height: 1.5; letter-spacing: .06em; }
.fv__lead .nw { display: inline-block; }
.fv__text .lead { margin-top: 12px; }
.fv__photo img, .fv__panel { animation: float-in 1.4s var(--ease) both; }
.fv__panel { animation-delay: .3s; }
.sec--fv .bgword { display: none; }

/* 絵の窓：レースのドイリーの上に（円の窓） */
.frame--lace { overflow: visible; background: transparent; box-shadow: none; }
.frame--lace::before { content: ""; position: absolute; inset: -9%; z-index: -1; background: url("images/m-lace.webp") center / contain no-repeat; }
.frame--lace img { border-radius: 50%; box-shadow: 0 14px 30px rgba(59, 51, 43, .12); }

/* 札とカードは、クラフト紙ではなく生成りのリネン＋ステッチ（バナーのバッジと同じ） */
.worries li, .plan {
  background: #FBF8F0 var(--tex-linen) center / 520px auto; color: var(--brown);
  outline: 1.5px dashed rgba(78, 90, 47, .45); outline-offset: -7px;
}
.worries li::before { background: var(--accent); box-shadow: none; width: 10px; height: 10px; margin-top: -5px; }
.faq { background: var(--tex-linen) center / 600px auto; outline: 1.5px dashed rgba(78, 90, 47, .4); outline-offset: -8px; }
.plan--pick { background: #FBF8F0; border: 0; outline: 2px dashed var(--accent-d); outline-offset: -7px; box-shadow: 0 0 0 3px var(--accent-d), 0 12px 26px rgba(59, 51, 43, .14); }
.points .num, .faq summary::before { color: var(--accent-d); }

/* ボタン：苔色のフェルト＋白いステッチ（バナーの「詳しく見る」） */
.btn--main { background: var(--accent-d); box-shadow: 0 10px 22px rgba(63, 73, 38, .28); }
.btn--main:hover { background: var(--accent-dd); }
.btn--main::after { content: ""; position: absolute; inset: 6px; border-radius: inherit; border: 1.5px dashed var(--stitch); pointer-events: none; }
.btn--main span, .btn--main svg { position: relative; z-index: 1; }
.btn--main::before { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); }
.sticky { background: var(--accent-d); }
.sticky::after { content: ""; position: absolute; inset: 5px; border-radius: inherit; border: 1.5px dashed var(--stitch); pointer-events: none; }
.sticky span { position: relative; z-index: 1; }
.sticky::before { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); }
.pick, .world__pill, .steps li::before { background: var(--accent-d); }
.free { background: var(--accent-dd); }
.tags li { background: rgba(107, 122, 69, .12); color: var(--accent-d); }
.label, .hl__eyebrow { color: var(--accent-d); }
.turn strong { color: #9A5B3C; }

/* 締め：フェルトの家と、バナーのことば */
.promise {
  position: relative; margin: 40px auto 0; padding: 22px 20px 22px 132px; min-height: 120px;
  display: flex; align-items: center; text-align: left; border-radius: 18px;
  background: #FBF8F0 var(--tex-linen) center / 520px auto; box-shadow: 0 10px 22px rgba(59, 51, 43, .12);
  outline: 1.5px dashed rgba(78, 90, 47, .45); outline-offset: -8px;
}
.promise__felt { position: absolute; left: 12px; top: 50%; transform: translateY(-50%) rotate(-4deg); width: 104px; }
.promise__text { font-family: var(--mincho); font-size: clamp(19px, 5vw, 26px); line-height: 1.55; }
.promise__text strong { font-weight: 800; font-size: 1.45em; color: #9A5B3C; }

/* PC：写真を大きく、台紙を左に重ねる（左右の二分割ではなく重ね） */
@media (min-width: 900px) {
  .sec--fv { padding-bottom: 170px; }
  .fv__photo img { height: min(78vh, 720px); object-position: 70% 50%; }
  .fv__panel { position: absolute; left: max(4%, calc(50% - 560px)); top: 80px; margin: 0; width: 520px; }
  .fv__text { position: relative; z-index: 2; margin-top: -70px; }
  .fv__title strong { font-size: 128px; }
  .deco--emb-tl { width: 230px; }
  .promise { max-width: 640px; }
}
@media (prefers-reduced-motion: reduce) { html:not(.motion-on) .fv__photo img, html:not(.motion-on) .fv__panel { animation: none; } }

/* v4 修正：PCのFVは写真を全幅に、台紙は写真の上に重ね、文章は写真の下に */
.fv__photo { max-width: none; width: 100%; }
.head { padding-bottom: 14px; }
@media (min-width: 900px) {
  .fv__text { margin-top: 36px; }
}
@media (min-width: 900px) { .deco--emb-tl { left: -86px; top: -84px; width: 220px; } }
.deco--emb-tl { left: -54px; top: -64px; }
/* カモミールは絵の横に（絵の中に置いて、見出しや本文にかからない位置） */
.soft--deco { position: relative; }
.soft--deco .deco { width: 26%; max-width: 150px; top: auto; bottom: 8%; }
.soft--deco .deco--cham-l { left: 2%; transform: rotate(-16deg); }
.soft--deco .deco--cham-r { right: 2%; left: auto; transform: rotate(14deg); }
.deco--emb-tl { left: -62px; top: -96px; width: 160px; }
@media (min-width: 900px) { .deco--emb-tl { left: -110px; top: -110px; width: 220px; } }
@media (min-width: 900px) { .deco--emb-tl { left: -120px; top: -150px; width: 200px; } }
.logo__en { line-height: 1.5; }
.logo__ja { margin-top: 2px; line-height: 1.6; }
.fv__title strong { line-height: 1.5; margin-top: 0; }
@media (min-width: 900px) { .fv__title strong { margin-top: 10px; line-height: 1.45; } }

/* =========================================================
   v4 モーション（手仕事が仕上がっていく）— 設計は motion-plan.md
   ========================================================= */
@property --sew { syntax: "<angle>"; inherits: false; initial-value: 360deg; }

/* --- FV：写真が寄る → 台紙が広がる → ステッチが縫われる → 定期便 → 下線 → バッジ → 刺しゅう --- */
.fv__photo img { animation: fv-zoom 2.6s var(--ease) both; }
.fv__panel { animation: panel-open 1.3s cubic-bezier(.2, 1.2, .3, 1) both .35s; }
.fv__panel::after {
  -webkit-mask: conic-gradient(#000 var(--sew), transparent 0); mask: conic-gradient(#000 var(--sew), transparent 0);
  animation: sew 1.6s ease-in-out both 1s;
}
.fv__title-sm { animation: rise .9s var(--ease) both .9s; }
.fv__title .ch { display: inline-block; animation: ch-pop .8s cubic-bezier(.2, 1.3, .35, 1) both; animation-delay: calc(1.1s + var(--i) * .13s); }
.fv__catch { border-bottom: 0; position: relative; animation: rise .9s var(--ease) both 1.55s; }
.fv__catch::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-bottom: 1.5px dashed rgba(59, 51, 43, .35); transform-origin: left; animation: line-in 1s ease-out both 1.9s; }
.badges li { animation: badge-sew .7s cubic-bezier(.2, 1.4, .35, 1) both; }
.badges li:nth-child(1) { animation-delay: 2.1s; }
.badges li:nth-child(2) { animation-delay: 2.25s; }
.badges li:nth-child(3) { animation-delay: 2.4s; }
.deco--emb-tl { animation: grow-tl 1.8s var(--ease) both 1.2s; }
.fv__text > * { animation: rise .9s var(--ease) both 2.6s; }

/* --- ずっと続く：カモミールがそよぐ・布と籐の帯が流れる・英字の奥行き --- */
.deco--cham-l, .deco--cham-r { transform-origin: 50% 100%; animation: sway-flower 5.5s ease-in-out infinite alternate; }
.deco--cham-r { animation-duration: 6.4s; animation-direction: alternate-reverse; }
.band { animation: drift 40s linear infinite; }
.band--rattan { animation-duration: 55s; animation-direction: reverse; }
.bgword { transform: translateX(-50%) translateY(var(--py, 0px)); transition: transform .2s linear; }
.deco--emb-tr, .deco--emb-tl2 { animation: sway-emb 8s ease-in-out infinite alternate; transform-origin: 0 0; }

/* --- 悩み：札が穴を支点に揺れて止まる --- */
.worries li { transform-origin: 26px 50%; }
.js .worries:not(.m-in) li { opacity: 0; }
.worries.m-in li { animation: tag-swing 1.4s cubic-bezier(.3, 1.4, .4, 1) both; }
.worries.m-in li:nth-child(2) { animation-delay: .15s; }
.worries.m-in li:nth-child(3) { animation-delay: .3s; }

/* --- 商品：順に上がる・押すと瓶が少し持ち上がる --- */
.js .products:not(.m-in) .product { opacity: 0; transform: translateY(40px); }
.products .product { transition: opacity .8s var(--ease), transform .9s var(--ease); }
.products.m-in .product:nth-child(2) { transition-delay: .1s; }
.products.m-in .product:nth-child(3) { transition-delay: .2s; }
.products.m-in .product:nth-child(4) { transition-delay: .3s; }
.product img { transition: transform .5s var(--ease); }
.product:hover img, .product:active img { transform: translateY(-8px) rotate(-1.5deg); }

/* --- レースのドイリー：回りながら広がり、絵が中に収まる --- */
.js .frame--lace:not(.m-in)::before { transform: rotate(-40deg) scale(.7); opacity: 0; }
.js .frame--lace:not(.m-in) img { transform: scale(.86); opacity: 0; }
.frame--lace::before { transition: transform 1.6s var(--ease), opacity .8s ease; }
.frame--lace img { transition: transform 1.2s var(--ease) .35s, opacity .8s ease .35s; }
.frame--lace.reveal { transform: none !important; opacity: 1 !important; }

/* --- こだわり：カードが右から順に --- */
.js .points:not(.m-in) li { opacity: 0; transform: translateX(60px); }
.points li { transition: opacity .8s var(--ease), transform 1s var(--ease); }
.points.m-in li:nth-child(2) { transition-delay: .12s; }
.points.m-in li:nth-child(3) { transition-delay: .24s; }

/* --- 流れ：線が伸び、番号が灯る --- */
.steps { --p: 0; }
.steps li:not(:last-child)::after { display: none; }
.steps::before {
  content: ""; position: absolute; left: 41px; top: 50px; bottom: 50px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--accent-d), var(--accent-d)) top / 100% calc(var(--p) * 100%) no-repeat, rgba(107, 122, 69, .18);
}
.steps li::before { background: #C9CDB8; transition: background-color .5s ease, transform .5s cubic-bezier(.2, 1.5, .4, 1); }
.steps li.on::before { background: var(--accent-d); transform: scale(1.06); }

/* --- 声：左右から交互に、少し傾いて入る --- */
.js .voices:not(.m-in) li { opacity: 0; }
.voices.m-in li { animation: note-in-l 1s var(--ease) both; }
.voices.m-in li:nth-child(even) { animation-name: note-in-r; }
.voices.m-in li:nth-child(2) { animation-delay: .12s; }
.voices.m-in li:nth-child(3) { animation-delay: .24s; }
.voices.m-in li:nth-child(4) { animation-delay: .36s; }
.voices.m-in li:nth-child(5) { animation-delay: .48s; }

/* --- Q&A：なめらかに開く（対応ブラウザ） --- */
/* Q&A：開閉はブラウザ標準（閉じた答えはレイアウトからも消す） */

/* --- 申込：おすすめの枠が縫われる・ボタンのステッチ・フェルトの家 --- */
.plan--pick { outline: 0; }
.plan--pick::after {
  content: ""; position: absolute; inset: 7px; border-radius: 16px; border: 2px dashed var(--accent-d); pointer-events: none;
  -webkit-mask: conic-gradient(from -90deg, #000 var(--sew), transparent 0); mask: conic-gradient(from -90deg, #000 var(--sew), transparent 0);
}
.js .plans:not(.m-in) .plan--pick::after { --sew: 0deg; }
.plans.m-in .plan--pick::after { animation: sew 1.4s ease-in-out both .5s; }
.btn--main::after, .sticky::after { content: none; }
.stitch { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.stitch rect { fill: none; stroke: var(--stitch); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.js .actions:not(.m-in) .stitch rect { stroke-dasharray: 0 var(--len, 900); }
.actions.m-in .stitch rect { animation: stitch-in 1.4s ease-out both .2s; }
.btn--main:hover .stitch rect, .sticky:hover .stitch rect { animation: march .9s linear infinite; }
.js .promise:not(.m-in) .promise__felt { opacity: 0; transform: translateY(-60%) rotate(-14deg); }
.promise.m-in .promise__felt { animation: felt-drop 1.1s cubic-bezier(.3, 1.5, .45, 1) both .2s, felt-bob 4.5s ease-in-out 1.4s infinite alternate; }

@keyframes fv-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes panel-open { 0% { opacity: 0; transform: scale(.84) rotate(-4deg); } 70% { opacity: 1; transform: scale(1.015) rotate(.4deg); } 100% { opacity: 1; transform: none; } }
@keyframes sew { from { --sew: 0deg; } to { --sew: 360deg; } }
@keyframes ch-pop { 0% { opacity: 0; transform: translateY(.35em) scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes badge-sew { 0% { opacity: 0; transform: scale(.4) rotate(-20deg); } 100% { opacity: 1; transform: none; } }
@keyframes grow-tl { from { clip-path: polygon(0 0, 0 0, 0 0); } to { clip-path: polygon(0 0, 220% 0, 0 220%); } }
@keyframes sway-flower { from { transform: rotate(-16deg); } to { transform: rotate(-9deg); } }
@keyframes sway-emb { from { transform: rotate(0deg); } to { transform: rotate(2deg); } }
@keyframes drift { from { background-position-x: 0; } to { background-position-x: 840px; } }
@keyframes tag-swing { 0% { opacity: 0; transform: rotate(-16deg) translateY(-14px); } 35% { opacity: 1; transform: rotate(7deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(1.5deg); } 100% { opacity: 1; } }
@keyframes note-in-l { from { opacity: 0; transform: translateX(-46px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes note-in-r { from { opacity: 0; transform: translateX(46px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes stitch-in { from { stroke-dasharray: 0 var(--len, 900); } to { stroke-dasharray: 6 5; } }
@keyframes march { to { stroke-dashoffset: -22; } }
@keyframes felt-drop { 0% { opacity: 0; transform: translateY(-160%) rotate(-14deg); } 100% { opacity: 1; transform: translateY(-50%) rotate(-4deg); } }
@keyframes felt-bob { from { transform: translateY(-50%) rotate(-4deg); } to { transform: translateY(-54%) rotate(-1deg); } }

/* 動きを止める：すべて完成した状態で */
.no-motion .products .product, .no-motion .points li, .no-motion .voices li,
.no-motion .frame--lace img, .no-motion .frame--lace::before, .no-motion .promise__felt { opacity: 1 !important; transform: none !important; }
.no-motion .promise__felt { transform: translateY(-50%) rotate(-4deg) !important; }
.no-motion .worries li:nth-child(1) { transform: rotate(-1.2deg) !important; }
.no-motion .worries li:nth-child(2) { transform: rotate(.8deg) !important; }
.no-motion .stitch rect { stroke-dasharray: 6 5 !important; }
.no-motion .plan--pick::after, .no-motion .fv__panel::after { --sew: 360deg !important; }
.no-motion .bgword { transform: translateX(-50%) !important; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .products .product, html:not(.motion-on) .points li, html:not(.motion-on) .voices li,
  html:not(.motion-on) .frame--lace img, html:not(.motion-on) .frame--lace::before { opacity: 1 !important; transform: none !important; }
  html:not(.motion-on) .promise__felt { opacity: 1 !important; transform: translateY(-50%) rotate(-4deg) !important; }
  html:not(.motion-on) .stitch rect { stroke-dasharray: 6 5 !important; }
  html:not(.motion-on) .plan--pick::after, html:not(.motion-on) .fv__panel::after { --sew: 360deg !important; }
}

/* =========================================================
   v4 レビュー反映
   ========================================================= */
/* 生成りのリネン（無地の織り目）。小花柄は帯とアクセントだけに使う */
:root {
  --tex-linen:
    repeating-linear-gradient(0deg, rgba(59, 51, 43, .035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(59, 51, 43, .03) 0 1px, transparent 1px 4px);
}
.worries li, .plan, .promise, .faq, .badges li { background: #FBF8F0; background-image: var(--tex-linen); }
.plan--pick { background: #FDFBF6; }

/* FV：写真の下の端をなじませ、台紙を写真に重ねる。バッジは枠からはみ出さない */
.fv__photo img { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.fv__panel { margin-top: -96px; background: radial-gradient(circle at 50% 50%, #FBF8F0 76%, transparent 77%), url("images/m-lace.webp") center / cover; }
.badges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.badges li { min-width: 0; padding: 6px; }
.badges b { font-size: clamp(12px, 3.5vw, 19px); letter-spacing: .02em; }
.badges span { font-size: clamp(9.5px, 2.6vw, 12px); }
@media (min-width: 600px) and (max-width: 899px) {
  .fv__photo img { height: 440px; object-position: 70% 62%; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .actions { grid-template-columns: 1fr 1fr; }
  .voices { grid-template-columns: 1fr 1fr; }
  .voices li:nth-child(5) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .fv__photo img { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
  .fv__panel { top: 100px; }
  .deco--emb-tl { left: -110px; top: -120px; width: 200px; }
}

/* 商品：写真をアーチいっぱいに（箱の中の箱にしない） */
.product { padding: 0 0 16px; overflow: hidden; }
.product img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; border-radius: 999px 999px 0 0; }

/* 籐かごの女性：足元を薄くして、小花柄のパネルに食い込ませない */
.sec--lineup .soft img { -webkit-mask-image: linear-gradient(#000 64%, transparent 84%); mask-image: linear-gradient(#000 64%, transparent 84%); }
.sec--lineup .soft { margin-bottom: -40px; }
.products { padding-top: 56px; }
@media (min-width: 900px) { .sec--lineup .soft { margin-bottom: -60px; } .products { padding-top: 80px; } }

/* 小花柄の上の文字：やさしい地を敷いて読みやすく */
.promise__text { position: relative; padding: 6px 10px; border-radius: 12px; background: rgba(251, 248, 240, .82); }

/* 背景の英字：絵の窓に隠れないよう、窓より下に */
.sec--pain .bgword, .sec--feature .bgword, .sec--voice .bgword, .sec--cta .bgword { top: 340px; }

/* 飾りを絵の窓の角に寄せる */
.deco--emb-tr { right: auto; left: calc(50% + min(39%, 200px) - 80px); top: -96px; width: 150px; transform: scaleX(-1); animation: none; }
.deco--emb-tl2 { left: calc(50% - min(43%, 220px) - 56px); top: -80px; width: 140px; }
.sec--voice .frame { margin-top: -64px; }

/* 声：カードにステッチと苔色の引用符、端にカモミール */
.voices li { background: #FBF8F0; background-image: var(--tex-linen); outline: 1.5px dashed rgba(78, 90, 47, .4); outline-offset: -8px; }
.voices li::after { content: none; }
.voices blockquote::before { color: var(--accent-d); }
.deco--cham-v { position: relative; display: block; width: 110px; margin: 10px auto -26px; transform: rotate(-8deg); animation: sway-flower 6s ease-in-out infinite alternate; transform-origin: 50% 100%; z-index: 1; }
/* 料金：先頭の小さな説明だけを別の行に。数字（数え上がる部分）は大きいまま */
.plan .price span { display: inline; font: inherit; }
.plan .price > span:first-child { display: block; font-family: var(--maru); font-weight: 400; font-size: 15px; }
.plan .price .count { font-family: var(--mincho); font-weight: 700; font-size: 1em; font-variant-numeric: tabular-nums; }
/* ボタン：矢印の指定をステッチに当てない */
.btn--main svg.stitch { width: 100%; height: 100%; fill: none; stroke: none; animation: none; }
.btn--main svg.stitch { position: absolute; inset: 0; z-index: 1; }

.plan .price { line-height: 1.5; }
.plan .price > span:first-child { margin-bottom: 6px; line-height: 1.5; }

/* =========================================================
   v4.1：かおりさんの指摘「レースやリボンが動くのは不自然・AI臭い」
   → 飾りの動き（回る・流れる・揺れ続ける）をすべて止める。
     残すのは、中身が入ってくる1回だけの動き・FVの登場・ボタンのステッチ
   ========================================================= */
.band { animation: none !important; }
.curve path { animation: none !important; }
.deco--cham-l, .deco--cham-r, .deco--cham-v, .deco--emb-tr, .deco--emb-tl2 { animation: none !important; }
.promise.m-in .promise__felt { animation: felt-drop 1.1s cubic-bezier(.3, 1.5, .45, 1) both .2s !important; }
.fv__light { display: none; }
/* レースのドイリーは回さない：絵だけをふわっと出す */
.js .frame--lace:not(.m-in)::before { transform: none; opacity: 1; }
.frame--lace::before { transition: none; }

/* =========================================================
   v4.1：スマホ対応（最初の画面で見出しまで届く・小さな画面と横向きで詰める）
   ========================================================= */
html, body { overflow-x: hidden; }          /* 古い iPhone（overflow-x: clip 非対応）でも横に揺れない */
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }

@media (max-width: 599px) {
  .demo-note { padding: 6px 12px; gap: 4px 10px; font-size: 11px; line-height: 1.5; }
  .demo-note p { flex: 1 1 200px; text-align: left; }
  .motion-toggle { min-height: 28px; padding: 0 10px; font-size: 11px; }
  .head { padding: 10px 16px 8px; }
  .logo__mark { width: 64px; }
  .logo__en { font-size: 22px; }
  .logo__ja { font-size: 10px; margin-top: 0; }
  .fv__photo img { height: 230px; object-position: 70% 55%; }
  .fv__panel { margin-top: -64px; padding: 30px 18px 22px; }
  .fv__title-sm { font-size: clamp(18px, 5.6vw, 24px); }
  .fv__title strong { font-size: min(23vw, 104px); }
  .fv__catch { font-size: clamp(15px, 4.2vw, 18px); }
  .badges { margin-top: 14px; }
  .deco--emb-tl { width: 120px; left: -40px; top: -70px; }
}
/* とても小さい画面（〜360px） */
@media (max-width: 360px) {
  .fv__photo img { height: 190px; }
  .fv__panel { width: 94%; padding: 26px 12px 18px; }
  .badges { gap: 4px; }
  .badges span { display: none; }           /* 小さな説明は省き、見出しの語だけを丸に */
}
/* 横向きのスマホ（高さが低い） */
@media (max-height: 500px) and (orientation: landscape) {
  .demo-note { padding: 4px 12px; font-size: 11px; }
  .head { padding: 6px 16px 4px; }
  .logo { flex-direction: row; gap: 10px; align-items: center; }
  .logo__mark { width: 48px; }
  .logo__en { font-size: 20px; }
  .logo__ja { display: none; }
  .fv__photo img { height: 70vh; }
  .fv__panel { width: min(64%, 520px); margin-top: -46vh; margin-left: 4%; }
  .fv__title strong { font-size: min(13vw, 96px); }
  .sticky { width: min(60%, 420px); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .fv__photo img { height: 62vh; }
  .fv__panel { margin-top: -54vh; padding: 20px 18px 16px; }
  .fv__title-sm { font-size: 18px; }
  .fv__title strong { font-size: min(10vw, 76px); line-height: 1.35; }
  .fv__catch { font-size: 15px; padding-bottom: 8px; }
  .badges { margin-top: 10px; }
}
@media (max-height: 500px) and (orientation: landscape) { .badges { grid-template-columns: repeat(3, 104px); justify-content: center; } .badges span { font-size: 10px; } }
