/* ==========================================================
   棚田のお米 さとやま農園（制作サンプル）
   ========================================================== */

/* ---------- 変数・基本 ---------- */
:root {
  --bg: #FAF6EC;        /* 地（生成り） */
  --surface: #EFE7D3;   /* 面 */
  --ink: #2F2A22;       /* 文字 */
  --grain: #C79A3B;     /* 稲穂 */
  --green: #3E5A3A;     /* 深緑 */
  --white: #FFFFFF;     /* 白米 */

  --f-head: "Shippori Antique", "Noto Serif JP", serif;
  --f-hand: "Klee One", "Noto Serif JP", cursive;
  --f-body: "Noto Serif JP", "Yu Mincho", serif;

  --gutL: clamp(24px, 6vw, 96px);
  --gutR: clamp(44px, 7vw, 110px);   /* 右端の目次（稲穂）を避ける */
  --pad: clamp(96px, 12vw, 168px);   /* 節の上下余白 */
  --ridge: clamp(48px, 8vw, 120px);  /* 山の稜線の高さ */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 64px;  /* 追いかける帯の分 */
  overflow-x: clip;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  background-color: var(--bg);
  /* 紙のざらつき（ごく薄く） */
  background-image:
    radial-gradient(rgba(47, 42, 34, .05) 1px, transparent 1.3px),
    radial-gradient(rgba(47, 42, 34, .035) 1px, transparent 1.5px);
  background-size: 7px 7px, 13px 13px;
  background-position: 0 0, 4px 6px;
}

@media (min-width: 768px) { body { font-size: 16px; } }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
b { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--green);
}

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-left: var(--gutL);
  padding-right: var(--gutR);
}

/* ---------- 節の共通 ---------- */
.sec { position: relative; padding-block: var(--pad); }
.sec--bg { background-color: var(--bg); }
.sec--surface { background-color: var(--surface); }
.sec--green { background-color: var(--green); color: var(--bg); }

/* 区切り1：山の稜線。節の頭に置き、その節の色で前の節へ食い込む */
.ridge {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: var(--ridge);
  transform: translateY(calc(-100% + 1px));
  pointer-events: none;
  display: block;
}
.ridge--bg { fill: var(--bg); }
.ridge--surface { fill: var(--surface); }
.ridge--green { fill: var(--green); }
.ridge__line {
  fill: none;
  stroke: var(--grain);
  stroke-width: 1.5px;
  stroke-linejoin: round;
}

/* 区切り3：縦書きの小見出し＋稲穂色の細い線 */
.sec-head {
  position: relative;
  min-height: 150px;
  padding-right: 56px;
  margin-bottom: clamp(32px, 5vw, 72px);
}
.sec-head h2 {
  font-family: var(--f-head);
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.5;
  letter-spacing: .06em;
}
.vhead {
  position: absolute;
  top: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--f-head);
  font-size: 14px;
  letter-spacing: .3em;
  line-height: 1;
}
.vhead span { writing-mode: vertical-rl; }
.vhead::after {
  content: "";
  width: 1px;
  height: clamp(40px, 6vw, 88px);
  background: var(--grain);
}

/* ---------- 上部 ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; pointer-events: none; }
.top > * { pointer-events: auto; }
.stamp {
  position: absolute;
  top: 16px; left: 16px;
  padding: 14px 10px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-family: var(--f-head);
  font-size: 13px;
  letter-spacing: .25em;
  line-height: 1;
  box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 4px rgba(255, 255, 255, .6);
}
.stamp span { writing-mode: vertical-rl; display: block; }
.top__order {
  position: absolute;
  top: 16px; right: 16px;
  padding: 12px 20px;
  background: var(--grain);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .15em;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .2s;
}
.top__order:hover { background: var(--white); }
@media (min-width: 768px) {
  .stamp { top: 24px; left: 28px; font-size: 15px; padding: 16px 12px; }
  .top__order { top: 24px; right: 28px; padding: 14px 28px; font-size: 15px; }
}

/* ---------- 右端の目次（稲穂：1本の茎に米粒が左右交互に付く。今いる節の粒は実って金色に） ---------- */
.dots {
  position: fixed;
  top: 50%; right: 6px;
  z-index: 25;
  transform: translateY(-50%);
  padding: 10px 5px;
  background: rgba(250, 246, 236, .88);
  border: 1px solid rgba(62, 90, 58, .35);
}
.dots ol { position: relative; display: flex; flex-direction: column; gap: 4px; }
.dots ol::before {               /* 茎 */
  content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px;
  width: 1px; margin-left: -.5px; background: rgba(62, 90, 58, .45);
}
.dots a {
  position: relative;
  display: block;
  width: 22px; height: 22px;
}
.dots a::before {                /* 米粒：先が少し細い楕円 */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 13px;
  margin: -6.5px 0 0 -4px;
  background: var(--white);
  border: 1.5px solid var(--green);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform: translateX(-3px) rotate(-32deg);
  transition: background-color .2s, border-color .2s, transform .2s;
}
.dots li:nth-child(even) a::before { transform: translateX(3px) rotate(32deg); }
.dots a[aria-current="true"]::before { background: var(--grain); border-color: #9A7424; transform: translateX(-3px) rotate(-32deg) scale(1.25); }
.dots li:nth-child(even) a[aria-current="true"]::before { transform: translateX(3px) rotate(32deg) scale(1.25); }
.dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 30px; top: 50%;
  transform: translateY(-50%);
  padding: 2px 10px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .1em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
@media (hover: hover) {
  .dots a:hover::after, .dots a:focus-visible::after { opacity: 1; }
}
@media (min-width: 768px) {
  .dots { right: 14px; padding: 12px 6px; }
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  height: min(100svh, 960px);
  min-height: 560px;
  color: var(--white);
  overflow: hidden;
  background: var(--green);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}
.hero::before {
  /* 文字が読めるよう、右上と上端をほんの少し沈める */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(24, 32, 22, .42), rgba(24, 32, 22, 0) 55%),
    linear-gradient(to bottom, rgba(24, 32, 22, .35), rgba(24, 32, 22, 0) 22%);
}
.hero__title {
  position: absolute;
  top: clamp(96px, 16vh, 170px);
  right: calc(var(--gutR) + clamp(8px, 4vw, 90px));
  writing-mode: vertical-rl;
  font-family: var(--f-head);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.55;
  letter-spacing: .14em;
  text-shadow: 0 2px 18px rgba(20, 28, 18, .55);
}
.hero__title span { display: block; }
.seal {
  position: absolute;
  left: var(--gutL);
  bottom: calc(var(--ridge) + 20px);
  z-index: 2;
  width: 128px; height: 128px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
  background: var(--white);
  color: var(--green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 7px var(--green);
  transition: transform .3s;
}
.seal:hover { transform: rotate(-4deg) scale(1.03); }
.seal__main {
  font-family: var(--f-head);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: .08em;
}
.seal__sub {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--ink);
  line-height: 1;
  padding-top: 6px;
  border-top: 1px solid var(--grain);
}
.hero__cap {
  display: none;
  position: absolute;
  left: calc(var(--gutL) + 210px);
  bottom: calc(var(--ridge) + 30px);
  z-index: 2;
  font-family: var(--f-hand);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .08em;
  text-shadow: 0 1px 12px rgba(20, 28, 18, .7);
}
@media (min-width: 768px) {
  .seal { width: 180px; height: 180px; gap: 8px; }
  .seal__main { font-size: 23px; }
  .seal__sub { font-size: 13px; }
  .hero__cap { display: block; }
}

/* ---------- 2. はじめに ---------- */
.letter {
  position: relative;
  display: block;
  width: fit-content;
  margin-inline: auto;
  height: 26em;
  padding: 36px 34px;
  writing-mode: vertical-rl;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 2.3;
  letter-spacing: .12em;
  background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(62, 90, 58, .3), inset 0 0 0 7px rgba(255, 255, 255, .5), inset 0 0 0 8px rgba(62, 90, 58, .18);
}
.letter__line { margin-left: 1.1em; white-space: nowrap; }
.letter__sign {
  height: 100%;
  margin-right: 1.4em;
  text-align: end;
  font-family: var(--f-hand);
  font-size: 14px;
  line-height: 2.2;
  white-space: nowrap;
  color: var(--green);
}
.letter__sign { margin-left: 0; }
@media (min-width: 768px) {
  .letter { font-size: 18px; padding: 56px 64px; }
  .letter__line { margin-left: 1.5em; }
  .letter__sign { font-size: 16px; margin-right: 2em; }
}

/* ---------- 3. 育つ場所 ---------- */
.place { display: grid; gap: 48px; }
.place__photo { position: relative; }
.place__photo::before {
  content: "";
  position: absolute;
  inset: 14px -12px -14px 12px;
  border: 1px solid var(--grain);
  z-index: 0;
}
.place__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.place__photo figcaption {
  position: relative; z-index: 1;
  margin-top: 14px;
  font-family: var(--f-hand);
  font-size: 14px;
  line-height: 1.8;
}
.stats { display: grid; gap: 0; }
.stats li {
  display: grid;
  padding-block: 26px;
  border-top: 1px solid rgba(47, 42, 34, .25);
}
.stats li:last-child { border-bottom: 1px solid rgba(47, 42, 34, .25); }
.stats__k { font-family: var(--f-head); font-size: 15px; letter-spacing: .2em; color: var(--green); line-height: 1.6; }
.stats__v {
  font-family: var(--f-head);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  color: var(--ink);
  margin-block: 6px 4px;
}
.stats__v b {
  font-weight: 400;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 1;
  letter-spacing: -.01em;
  margin-right: .06em;
  color: var(--green);
}
.stats__v--word b { font-size: clamp(52px, 7vw, 92px); letter-spacing: .08em; }
.stats__d { font-size: 14px; line-height: 1.9; max-width: 26em; }
@media (min-width: 900px) {
  .place { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
  .stats__d { font-size: 15px; }
}

/* ---------- 写真帯（田植え・稲刈り） ---------- */
.band {
  position: relative;
  height: clamp(340px, 52vw, 680px);
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}
.band > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(24, 32, 22, 0) 30%, rgba(24, 32, 22, .5));
}
.ridge-top {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: var(--ridge);
  transform: translateY(-1px) scaleY(-1);
  z-index: 2;
  pointer-events: none;
  display: block;
}
.band__text {
  position: absolute;
  z-index: 3;
  left: var(--gutL);
  bottom: calc(var(--ridge) + 24px);
  font-family: var(--f-hand);
  text-shadow: 0 2px 16px rgba(20, 28, 18, .65);
}
.band--inekari .band__text { left: auto; right: var(--gutR); text-align: right; }
.band__label { font-size: 14px; letter-spacing: .25em; line-height: 1.6; }
.band__label::after { content: ""; display: block; width: 56px; height: 1px; background: var(--grain); margin-top: 8px; }
.band--inekari .band__label::after { margin-left: auto; }
.band__copy { font-size: clamp(24px, 4vw, 48px); line-height: 1.55; letter-spacing: .08em; font-weight: 600; margin-top: 12px; }

/* ---------- 5. 一年の仕事 ---------- */
.seasons { position: relative; display: grid; gap: 40px; }
.seasons li {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  column-gap: 20px;
  align-items: start;
}
.seasons figure {
  grid-row: 1 / span 2;
  position: relative;
  z-index: 1;
}
.seasons img {
  width: 112px; height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--grain);
}
.seasons h3 {
  font-family: var(--f-head);
  font-size: 28px;
  line-height: 1.3;
  align-self: end;
}
.seasons h3 small { font-family: var(--f-body); font-size: 13px; margin-left: .8em; letter-spacing: .12em; color: var(--green); }
.seasons p { font-size: 14px; line-height: 1.9; }
/* スマホ：円を縦の線でつなぐ */
.seasons::before {
  content: "";
  position: absolute;
  left: 56px; top: 56px; bottom: 56px;
  border-left: 1.5px dashed var(--grain);
}
@media (min-width: 768px) {
  .seasons { grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 48px); }
  .seasons li { display: block; text-align: center; }
  .seasons figure { margin-bottom: 20px; }
  .seasons img { width: 100%; height: auto; aspect-ratio: 1; border-width: 8px; }
  .seasons h3 { font-size: clamp(28px, 3vw, 40px); }
  .seasons h3 small { display: block; margin: 2px 0 0; }
  .seasons p { text-align: left; margin-top: 10px; font-size: 14px; }
  /* PC：円を横の線でつなぐ（各円の中心を通る線を、円の裏に引く） */
  .seasons { --sg: clamp(16px, 3vw, 48px); }
  .seasons::before { content: none; }
  .seasons figure::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(var(--sg) * -1);
    right: calc(var(--sg) * -1);
    border-top: 1.5px dashed var(--grain);
  }
  .seasons li:first-child figure::before { left: 50%; }
  .seasons li:last-child figure::before { right: 50%; }
  .seasons img { position: relative; z-index: 1; }
}

/* ---------- 6. 作り手 ---------- */
.makers { display: grid; gap: 40px; }
.makers__photo { position: relative; }
.makers__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.makers__photo figcaption {
  margin-top: 12px;
  font-family: var(--f-hand);
  font-size: 14px;
  letter-spacing: .1em;
}
.makers__notes { display: grid; gap: 22px; }
.note {
  position: relative;
  padding: 24px 24px 20px;
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(47, 42, 34, .18), 0 10px 22px -14px rgba(47, 42, 34, .4);
  font-family: var(--f-hand);
}
.note::before {
  /* マスキングテープ */
  content: "";
  position: absolute;
  top: -10px; left: 24px;
  width: 64px; height: 20px;
  background: rgba(199, 154, 59, .55);
}
.note p { font-size: 15px; line-height: 2; letter-spacing: .04em; }
.note footer {
  margin-top: 12px;
  text-align: right;
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.5;
}
.note footer small { display: block; font-size: 12px; font-weight: 400; color: var(--ink); letter-spacing: .1em; }
@media (min-width: 900px) {
  .makers { grid-template-columns: 1.2fr 1fr; gap: 0; align-items: center; }
  .makers__notes { margin-left: -90px; position: relative; z-index: 2; gap: 30px; }
  .note:nth-child(1) { transform: rotate(-1.2deg); }
  .note:nth-child(2) { transform: rotate(.9deg) translateX(36px); }
  .note:nth-child(3) { transform: rotate(-.6deg); }
  .makers__photo { padding-right: 110px; }
}

/* ---------- 8. 味わい ---------- */
.taste { position: relative; }
.taste__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.taste__panel {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(47, 42, 34, .15), 0 24px 40px -28px rgba(47, 42, 34, .5);
}
.taste__lead { font-size: 15px; line-height: 2; margin-bottom: 26px; }
.gauges { display: grid; gap: 22px; }
.gauges li { display: grid; grid-template-columns: 5.2em 1fr; column-gap: 14px; row-gap: 4px; align-items: center; }
.gauges__name { font-family: var(--f-head); font-size: 17px; letter-spacing: .1em; grid-row: 1 / span 2; }
.gauges__end { display: flex; justify-content: space-between; font-size: 11px; color: var(--green); letter-spacing: .08em; line-height: 1.4; }
.gauges__end i { font-style: normal; }
.gauge {
  --v: 50%;
  position: relative;
  height: 28px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10%) bottom / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 20%) bottom / 100% 14px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 1px no-repeat;
}
.gauge::before {
  content: "";
  position: absolute;
  left: 0; bottom: 1px;
  width: var(--v); height: 6px;
  background: var(--grain);
}
.gauge::after {
  content: "";
  position: absolute;
  left: var(--v); bottom: 1px;
  width: 14px; height: 14px;
  margin-left: -7px;
  transform: translateY(4px);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--white);
}
.gauge.v3 { --v: 50%; }
.gauge.v4 { --v: 70%; }
.gauge.v5 { --v: 90%; }
.taste__note { margin-top: 20px; font-size: 12px; color: var(--green); letter-spacing: .08em; }
@media (min-width: 900px) {
  .taste__photo { width: 76%; }
  .taste__panel {
    width: min(540px, 52%);
    margin: -22% 0 0 auto;
    padding: 44px 44px 36px;
  }
}

/* ---------- 9. お客様の声（便箋） ---------- */
.sheets { display: grid; gap: 32px; }
.sheet {
  position: relative;
  min-height: 440px;
  padding: 48px 26px 30px 56px;
  background-color: var(--white);
  background-image:
    linear-gradient(to right, transparent 40px, rgba(199, 154, 59, .7) 40px, rgba(199, 154, 59, .7) 41px, transparent 41px),
    linear-gradient(to bottom, transparent 35px, rgba(62, 90, 58, .22) 35px);
  background-size: 100% 100%, 100% 36px;
  background-position: 0 0, 0 12px;
  box-shadow: 0 1px 0 rgba(47, 42, 34, .15), 0 18px 30px -20px rgba(47, 42, 34, .5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sheet::before {
  /* 上端のミシン目 */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: radial-gradient(circle at 8px 0, var(--surface) 4px, transparent 4.5px) 0 0 / 16px 14px repeat-x;
}
.sheet p { font-size: 15px; line-height: 36px; letter-spacing: .04em; }
.sheet .sheet__from { font-family: var(--f-hand); font-size: 14px; color: var(--green); text-align: right; }
@media (min-width: 900px) {
  .sheets { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
  .sheet { min-height: 560px; }
  .sheet:nth-child(1) { transform: rotate(-.8deg); }
  .sheet:nth-child(2) { margin-top: 56px; transform: rotate(.6deg); }
  .sheet:nth-child(3) { margin-top: 20px; transform: rotate(-.4deg); }
}

/* ---------- 10. ご注文 ---------- */
.sec--green .sec-head h2 { color: var(--bg); }
.sec--green .vhead { color: var(--bg); }
.order__lead { max-width: 34em; margin-bottom: clamp(40px, 6vw, 72px); font-size: 15px; }

.bags { display: grid; gap: 28px; }
.bag {
  position: relative;
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 18px;
  align-items: center;
}
.bag img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.bag h3 { font-family: var(--f-head); font-size: 34px; line-height: 1.2; }
.bag__note { font-size: 13px; line-height: 1.7; margin-top: 2px; }
.bag__price { font-family: var(--f-head); font-size: 32px; line-height: 1.3; margin-top: 10px; }
.bag__price small { font-family: var(--f-body); font-size: 12px; margin-left: .5em; letter-spacing: .1em; }
.bag__per { font-size: 12px; opacity: .85; margin-bottom: 14px; line-height: 1.6; }
.bag__tag {
  position: absolute;
  top: -12px; left: 0;
  z-index: 2;
  padding: 4px 16px;
  background: var(--grain);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.6;
}
.bag--pop .bag__price { font-size: 40px; }

.btn {
  display: inline-block;
  padding: 14px 22px;
  background: var(--grain);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--white); }
.btn--line { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1.5px var(--grain); }
.btn--line:hover { background: var(--grain); color: var(--ink); }

@media (min-width: 900px) {
  .bags { grid-template-columns: 1fr 1.28fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
  .bag { display: block; }
  .bag img { margin-bottom: 22px; }
  .bag--pop { padding-bottom: 12px; }
  .bag__tag { top: -14px; left: 14px; font-size: 14px; }
  .bag__body .btn { display: block; }
}

.teiki {
  margin-top: clamp(56px, 8vw, 96px);
  padding: 28px 24px;
  border: 1px dashed rgba(250, 246, 236, .55);
  display: grid;
  gap: 8px;
}
.teiki__k { font-family: var(--f-head); font-size: 15px; letter-spacing: .3em; color: var(--grain); line-height: 1.6; }
.teiki__t { font-family: var(--f-head); font-size: clamp(22px, 3vw, 32px); line-height: 1.6; }
.teiki__t b { color: var(--grain); font-weight: 400; font-size: 1.3em; }
.teiki__d { font-size: 14px; line-height: 1.9; }
.teiki__d b { font-weight: 600; }
.teiki .btn { justify-self: start; margin-top: 10px; }
@media (min-width: 900px) {
  .teiki { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 40px; padding: 36px 44px; }
  .teiki__k { grid-row: 1 / span 2; writing-mode: vertical-rl; }
  .teiki__t { grid-column: 2; }
  .teiki__d { grid-column: 2; }
  .teiki .btn { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

.spec {
  width: 100%;
  margin-top: clamp(48px, 7vw, 88px);
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}
.spec caption {
  text-align: left;
  font-family: var(--f-head);
  font-size: 20px;
  letter-spacing: .1em;
  padding-bottom: 12px;
}
.spec th, .spec td { padding: 14px 8px; text-align: left; vertical-align: top; border-top: 1px solid rgba(250, 246, 236, .3); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid rgba(250, 246, 236, .3); }
.spec th { width: 6.5em; font-weight: 600; white-space: nowrap; letter-spacing: .1em; }
@media (min-width: 768px) {
  .spec { font-size: 15px; }
  .spec th, .spec td { padding: 18px 16px; }
  .spec th { width: 10em; }
}

/* ---------- 11. よくあるご質問 ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid rgba(47, 42, 34, .3); }
.faq details:last-child { border-bottom: 1px solid rgba(47, 42, 34, .3); }
.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: .06em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 10px; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--green);
  transition: transform .25s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px 26px 0; max-width: 36em; font-size: 15px; }
@media (min-width: 768px) { .faq summary { font-size: 20px; } }

/* ---------- 12. Footer ---------- */
.foot {
  position: relative;
  padding-block: calc(var(--pad) * .7) 48px;
  background: var(--green);
  color: var(--bg);
}
.foot__inner { display: grid; gap: 24px; }
.foot__logo { font-family: var(--f-head); font-size: clamp(24px, 3.4vw, 38px); line-height: 1.4; letter-spacing: .08em; }
.foot__tag { font-family: var(--f-hand); font-size: 15px; color: var(--grain); letter-spacing: .1em; }
.foot__addr { font-style: normal; font-size: 14px; line-height: 2; }
.foot__sample { font-size: 12px; line-height: 1.8; opacity: .9; }
.foot__credit { font-size: 13px; line-height: 1.8; }
.foot a { text-underline-offset: 4px; }
.foot a:hover { color: var(--grain); }
@media (min-width: 900px) {
  .foot__inner { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 28px 64px; }
  .foot__sample, .foot__credit { grid-column: 1 / -1; }
  .foot__sample { padding-top: 24px; border-top: 1px solid rgba(250, 246, 236, .3); }
}

/* ---------- 追いかけてくる細い帯 ---------- */
.bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 8px 16px;
  background: var(--green);
  color: var(--white);
  border-top: 1px solid var(--grain);
  transition: transform .3s;
}
.bar__item { font-family: var(--f-head); font-size: 15px; line-height: 1.4; letter-spacing: .06em; }
.bar__item b { font-weight: 400; font-size: 1.2em; margin-left: .4em; }
.bar__btn {
  padding: 9px 18px;
  background: var(--grain);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}
.bar__btn:hover { background: var(--white); }
.bar.is-hidden { transform: translateY(101%); }
@media (min-width: 768px) {
  .bar { padding: 8px clamp(24px, 6vw, 96px); justify-content: center; gap: 36px; }
  .bar__item { font-size: 17px; }
}

/* ---------- 現れる動き（JSが動くときだけ隠す） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* 回転させているカードは、現れたあとに元の傾きへ戻す */
@media (min-width: 900px) {
  .js .note.reveal.is-in:nth-child(1), .js .sheet.reveal.is-in:nth-child(1) { transform: rotate(-.8deg); }
  .js .note.reveal.is-in:nth-child(2) { transform: rotate(.9deg) translateX(36px); }
  .js .sheet.reveal.is-in:nth-child(2) { transform: rotate(.6deg); }
  .js .note.reveal.is-in:nth-child(3) { transform: rotate(-.6deg); }
  .js .sheet.reveal.is-in:nth-child(3) { transform: rotate(-.4deg); }
  .js .note.reveal.is-in:nth-child(1) { transform: rotate(-1.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .seal, .bar, .dots a::before { transition: none; }
}
