@charset "utf-8";
/* ============================================================
   招きパンダ パンダらけ / stylesheet
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --sumi:        #191714;   /* 墨 */
  --sumi-soft:   #4a443c;
  --paper:       #fffdf4;   /* 紙 */
  --paper-deep:  #f6f1e2;
  --kiiro:       #ffec47;   /* 菜の花色（ブランドカラー） */
  --kiiro-deep:  #f0cf00;
  --kiiro-pale:  #fff9d2;
  --shu:         #e0472c;   /* 朱 */
  --line:        #e6dfcc;

  /* JS が貼られた枚数に応じて書き換える */
  --yellow-pct: 0%;
  --paper-pct: 0%;

  --maxw: 1080px;
  --radius: 18px;
  --font-sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-hand: "Yomogi", "Zen Maru Gothic", sans-serif;
  --font-mincho: "Shippori Mincho B1", "Yu Mincho", serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* サイト全体を明朝で統一する。
   ステッカーの中だけ、書いた人が選んだ書体になる。 */
body {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  color: var(--sumi);
  background-color: color-mix(in oklab, var(--kiiro) var(--paper-pct), var(--paper));
  line-height: 1.85;
  transition: background-color .8s ease;
  overflow-x: hidden; /* 端に貼られたステッカーで横スクロールが出ないように */
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tint { background: color-mix(in oklab, var(--paper-deep) 70%, var(--paper)); }
.stack > * + * { margin-top: 1rem; }

.heading {
  font-family: var(--font-mincho);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}
.heading__sub {
  display: block;
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--kiiro-deep);
  margin-bottom: .6em;
}
.lead { font-size: clamp(15px, 1.7vw, 17px); color: var(--sumi-soft); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 66px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.logo img { width: 42px; height: auto; flex-shrink: 0; }
.logo__name { font-family: var(--font-mincho); font-weight: 700; font-size: 17px; letter-spacing: .06em; white-space: nowrap; }
.logo__name small { display: block; font-family: var(--font-mincho); font-size: 10px; letter-spacing: .22em; color: var(--kiiro-deep); line-height: 1.4; }
.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); font-size: 13.5px; font-weight: 700; flex-shrink: 0; }
.nav a { text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--kiiro); }
.nav__cta {
  background: var(--kiiro); border: 1px solid var(--sumi);
  border-radius: 999px; padding: 8px 18px !important;
  letter-spacing: .08em; cursor: pointer;
  box-shadow: none;
  transition: background-color .25s ease, color .25s ease;
}
.nav__cta:hover { background: var(--sumi); color: var(--paper); border-bottom-color: var(--sumi) !important; }

/* 狭い画面ではテキストリンクを畳み、「願いを貼る」だけ残す（他はフッターから） */
@media (max-width: 680px) {
  .header__inner { min-height: 58px; gap: 10px; }
  .logo img { width: 34px; }
  .logo__name { font-size: 14px; }
  .logo__name small { font-size: 8.5px; letter-spacing: .16em; }
  .nav a:not(.nav__cta) { display: none; }
  .nav__cta { font-size: 12.5px; padding: 6px 13px !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 68px) clamp(24px, 4vw, 44px); }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(18px, 3vw, 40px);
  grid-template-columns: 1fr; align-items: center;
}
.hero__head { max-width: 560px; margin-inline: auto; text-align: center; }

/* パンダは大きく。ただし1画面目で文章とメーターも読めるところまで */
.hero__stage { justify-self: center; width: 100%; max-width: 620px; }
.hero__panda {
  width: 100%;
  max-height: 46vh;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(90, 70, 0, .16));
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1.02fr; }
  .hero__head { text-align: left; margin-inline: 0; }
  .hero .meter { margin-inline: 0; }
}

.hero__title {
  font-family: var(--font-mincho); font-weight: 700;
  font-size: clamp(24px, 3.8vw, 43px);
  font-feature-settings: "palt" 1;   /* 和文を詰めて、2行に収める */
  line-height: 1.36; letter-spacing: .01em;
  /* text-wrap: balance は、わざわざ行を割って長さを均そうとするので使わない */
}
.hero__title em { font-style: normal; position: relative; white-space: nowrap; z-index: 0; }
.hero__title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .42em;
  background: var(--kiiro); z-index: -1; border-radius: 4px;
}
.hero__copy { margin-top: 1.2em; font-size: clamp(15px, 1.8vw, 17px); color: var(--sumi-soft); }
.hero .meter { margin-inline: auto; }

/* ---------- 黄色メーター ---------- */
.meter {
  margin-top: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(90, 70, 0, .05);
  max-width: 520px;
}
.meter__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.meter__label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; }
.meter__value { font-family: var(--font-mincho); font-weight: 700; font-size: clamp(22px, 3.6vw, 30px); line-height: 1; }
.meter__value span { font-size: .55em; margin-left: .15em; }
.meter__track {
  margin-top: 10px; height: 14px; border-radius: 999px;
  background: var(--paper-deep); border: 1.5px solid var(--sumi); overflow: hidden;
}
.meter__fill {
  height: 100%; width: 2%;
  background: repeating-linear-gradient(135deg, var(--kiiro) 0 10px, var(--kiiro-deep) 10px 20px);
  transition: width 1s cubic-bezier(.2, .8, .2, 1);
}
.meter__note { margin-top: 8px; font-size: 12px; color: var(--sumi-soft); }

/* ---------- 二択 ---------- */
.choices { display: grid; gap: clamp(16px, 2.6vw, 26px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .choices { grid-template-columns: 1fr 1fr; } }

.choice {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3.4vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); text-decoration: none;
  box-shadow: 0 2px 12px rgba(90, 70, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.choice:hover { transform: translateY(-3px); border-color: var(--sumi); box-shadow: 0 10px 24px rgba(90, 70, 0, .10); }
.choice__title { font-family: var(--font-mincho); font-size: clamp(21px, 2.8vw, 27px); font-weight: 700; line-height: 1.45; }
.choice__text { font-size: 14.5px; color: var(--sumi-soft); }
.choice__meta { margin-top: auto; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.choice__meta::after { content: "→"; transition: transform .18s ease; }
.choice:hover .choice__meta::after { transform: translateX(4px); }
.choice__badge {
  position: absolute; top: 0; right: 0; padding: 6px 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  border-bottom-left-radius: 14px;
}
.choice--shop .choice__badge { background: var(--shu); color: #fff; }
.choice--wish .choice__badge { background: var(--kiiro); }
.choice--shop { background: linear-gradient(170deg, #fff 0%, #fff7f4 100%); }
.choice--wish { background: linear-gradient(170deg, #fff 0%, var(--kiiro-pale) 100%); }
.choice__icon { width: 56px; height: 56px; }

/* ---------- ステッカー ---------- */
.wall {
  --seal: clamp(104px, 13vw, 142px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--seal), 1fr));
  justify-items: center; align-items: center;
}
/* 実物の丸ステッカー（site/assets/img/seal.png）をそのまま使う。
   下側に「招きパンダ パンダらけ」の白い文字が入っているので、
   書き込みは上寄りに置く。 */
.seal {
  width: var(--seal); height: var(--seal);
  overflow: hidden;
  display: grid; place-content: center; gap: .1em;
  /* ％にすると親の幅を基準にしてしまうので、ステッカーの直径を基準にする。
     下の白文字（ブランド名）は直径の79%から下にあるので、
     上下とも24%あけると、書き込みがちょうど真ん中にそろう。 */
  padding: calc(var(--seal) * .24) calc(var(--seal) * .15);
  text-align: center; text-decoration: none;
  font-family: var(--font-hand);
  color: #2e2600;
  background: url("../img/seal.png") center / 100% 100% no-repeat;
  transform: rotate(var(--tilt, 0deg));
  filter: drop-shadow(0 3px 5px rgba(130, 105, 0, .22));
}
.wall .seal { margin: calc(var(--seal) * -0.055); }

/* 書体（投稿時に選べる） */
.seal--hand   { font-family: "Yomogi", sans-serif; }
.seal--maru   { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
.seal--mincho { font-family: "Shippori Mincho B1", serif; font-weight: 700; }
.seal--pop    { font-family: "RocknRoll One", sans-serif; }
.seal--magic  { font-family: "Yusei Magic", sans-serif; }

/* 文字はステッカーの大きさに比例させる（どこに貼っても収まるように） */
.seal__text { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.is-short .seal__text { font-size: calc(var(--seal) * .145); }
.is-mid   .seal__text { font-size: calc(var(--seal) * .105); }
.is-long  .seal__text { font-size: calc(var(--seal) * .082); }
.seal__name {
  font-size: calc(var(--seal) * .072); font-weight: 700; opacity: .6;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.seal.is-fresh { animation: seal-pop .6s cubic-bezier(.2, 1.4, .3, 1) both; z-index: 9000 !important; }
@keyframes seal-pop {
  from { transform: rotate(var(--tilt)) scale(.2); opacity: 0; }
  to   { transform: rotate(var(--tilt)) scale(1); opacity: 1; }
}
.stick-layer .seal.is-fresh {
  animation-name: seal-pop-free;
}
@keyframes seal-pop-free {
  from { transform: translate(-50%, -50%) rotate(var(--tilt)) scale(.2); opacity: 0; }
  to   { transform: translate(-50%, -50%) rotate(var(--tilt)) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .seal.is-fresh { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 好きなところに貼る（区画と重ね貼り） ---------- */
.stick-host { position: relative; }
.stick-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.stick-layer .seal {
  position: absolute;
  --seal: clamp(76px, 9.5vw, 118px);
  margin: 0;
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg));
}
/* 本文が隠れすぎないよう、文字の上に乗るステッカーは少しだけ透ける */
.stick-layer .seal { opacity: .97; }

/* 貼る場所をえらんでいる間 */
.is-placing body { cursor: crosshair; }
.is-placing [data-zone] { outline: 2px dashed color-mix(in oklab, var(--kiiro-deep) 60%, transparent); outline-offset: -8px; }
.is-placing [data-zone]:hover { outline-color: var(--shu); }

/* カーソルについてくる、貼る前のステッカー */
.place-ghost {
  position: fixed; z-index: 9400; pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%);
}
.place-ghost.is-ok, .place-ghost.is-bad { opacity: 1; }
.place-ghost .seal { --seal: clamp(76px, 9.5vw, 118px); margin: 0; transform: rotate(-4deg); }
.place-ghost.is-ok .seal { outline: 3px solid var(--shu); outline-offset: -3px; border-radius: 50%; }
.place-ghost.is-bad .seal { filter: grayscale(.75) brightness(.95); opacity: .45; }
.place-ghost.is-bad::after {
  content: "✕"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 30px; font-weight: 700; color: var(--shu);
}

.place-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9500;
  background: var(--sumi); color: #fdf8e8;
  box-shadow: 0 -6px 20px rgba(0,0,0,.2);
  cursor: default;
}
.place-bar__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 12px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.place-bar__seal { flex-shrink: 0; }
.place-bar__seal .seal { --seal: 74px; margin: 0; transform: rotate(-5deg); }
.place-bar__text { display: flex; flex-direction: column; line-height: 1.5; min-width: 180px; flex: 1; }
.place-bar__text strong { font-size: 15px; }
.place-bar__text span { font-size: 12px; opacity: .75; }
.place-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--sm { padding: 8px 18px; font-size: 13px; box-shadow: none; }
.btn--plain { background: transparent; color: #fdf8e8; border-color: #6b645a; box-shadow: none; }
.btn--plain:hover { transform: none; box-shadow: none; border-color: #fdf8e8; }
.place-bar.is-warn { background: var(--shu); }
.place-bar.is-warn .place-bar__text span { opacity: 1; font-weight: 700; }

/* ---------- 書体えらび ---------- */
.fonts { display: flex; flex-wrap: wrap; gap: 8px; }
.fonts input { position: absolute; opacity: 0; width: 0; height: 0; }
.fonts label {
  display: inline-block; padding: 8px 15px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line); background: var(--paper); font-size: 15px;
}
.fonts input:checked + label { border-color: var(--sumi); background: var(--kiiro); }
.fonts input:focus-visible + label { outline: 3px solid var(--shu); outline-offset: 2px; }
.f-hand   { font-family: "Yomogi", sans-serif; }
.f-maru   { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
.f-mincho { font-family: "Shippori Mincho B1", serif; font-weight: 700; }
.f-pop    { font-family: "RocknRoll One", sans-serif; }
.f-magic  { font-family: "Yusei Magic", sans-serif; }

/* ---------- 投稿フォーム ---------- */
.form-grid { display: grid; gap: clamp(26px, 4vw, 44px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 840px) { .form-grid { grid-template-columns: 1fr 320px; } }

.field { display: block; margin-bottom: 20px; }
.field__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.field__count { font-size: 12px; color: var(--sumi-soft); font-variant-numeric: tabular-nums; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 12px 14px;
  border: 2px solid var(--sumi); border-radius: 12px;
  background: var(--paper); color: inherit;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--kiiro); outline-offset: 1px; }
.field__help { font-size: 12px; color: var(--sumi-soft); margin-top: 6px; }

/* ボタンは明朝のトーンに合わせて、細い罫と余白で見せる。
   太い枠やずらした影は使わない（漫画寄りになって浮くため） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; letter-spacing: .1em;
  text-decoration: none; cursor: pointer;
  color: var(--sumi);
  background: var(--kiiro);
  border: 1px solid var(--sumi);
  box-shadow: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--sumi); color: var(--paper); }
.btn[disabled] { opacity: .4; cursor: not-allowed; background: var(--kiiro); color: var(--sumi); }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--ghost:hover { background: var(--sumi); color: var(--paper); border-color: var(--sumi); }

.preview { text-align: center; }
.preview__stage {
  display: grid; place-items: center; padding: 26px;
  border: 2px dashed var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.preview .seal { --seal: 190px; margin: 0; transform: rotate(-4deg); }
.preview__note { font-size: 12px; color: var(--sumi-soft); margin-top: 10px; }

.notice {
  border-left: 4px solid var(--kiiro); background: var(--kiiro-pale);
  padding: 14px 16px; border-radius: 0 12px 12px 0; font-size: 13.5px;
}
.alert { color: var(--shu); font-size: 13.5px; font-weight: 700; min-height: 1.4em; }

/* ---------- 店舗情報 ---------- */
.info { border-top: 1px solid var(--line); }
.info__row { display: grid; gap: 4px 20px; padding-block: 16px; border-bottom: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 620px) { .info__row { grid-template-columns: 140px 1fr; } }
.info__key { font-size: 13px; font-weight: 700; color: var(--kiiro-deep); letter-spacing: .06em; }
.map { border: 2px solid var(--sumi); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-deep); display: grid; place-items: center; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.footer { background: var(--sumi); color: #f3eee2; padding-block: 44px 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer a { color: #f3eee2; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.3fr 1fr .9fr 1.1fr; } }
.footer__title { font-family: var(--font-mincho); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.footer__list { font-size: 13.5px; }
.footer__list li + li { margin-top: 7px; }
.footer__fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 11.5px; opacity: .75; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- 補助 ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.center { text-align: center; }
.mt-l { margin-top: clamp(24px, 4vw, 40px); }

/* ---------- 願いを書くポップアップ ---------- */
.is-modal, .is-modal body { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 9800;
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(25, 23, 20, .55);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  width: min(880px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--paper);
  border: 2.5px solid var(--sumi); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(25, 23, 20, .28);
  padding: clamp(22px, 3.4vw, 36px);
}
.modal__close {
  position: absolute; top: 10px; right: 12px;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; font-size: 26px; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--paper-deep); }
.modal__title { font-size: clamp(21px, 2.8vw, 28px); font-weight: 700; line-height: 1.4; }
.modal__lead { font-size: 13.5px; color: var(--sumi-soft); margin-top: 6px; }
.modal__body {
  margin-top: 22px;
  display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 620px) { .modal__body { grid-template-columns: 1fr 260px; } }
.modal__body .preview .seal { --seal: 200px; }

/* ---------- 貼れたときのひとこと ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 9700;
  transform: translateX(-50%);
  background: var(--sumi); color: #fdf8e8;
  padding: 12px 24px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: opacity .5s ease, transform .5s ease;
}
.toast.is-out { opacity: 0; transform: translateX(-50%) translateY(10px); }

/* ---------- ボタンをリンクのように見せる ---------- */
.linkish {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-decoration: underline;
  cursor: pointer;
}
.linkish:hover { text-decoration-thickness: 2px; }

/* 二択カードの片方は button なので、見た目を a とそろえる */
button.choice { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }

/* 手順リスト */
.steps { padding-left: 1.4em; }
.steps li::marker { font-weight: 700; color: var(--kiiro-deep); }

/* ---------- 見出しのパンダの顔 ---------- */
.face {
  width: clamp(44px, 4.8vw, 62px);
  height: auto;
  margin-bottom: 10px;
}
.heading.center .face { margin-inline: auto; }
.face--1 { transform: rotate(-7deg); }
.face--2 { transform: rotate(5deg); }
.face--3 { transform: rotate(9deg); }
.face--4 { transform: rotate(-4deg); }
.face--5 { transform: rotate(6deg); }
.face--6 { transform: rotate(-9deg); }

/* ---------- 叶った報告 ---------- */
.reports { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .reports { grid-template-columns: 1fr 1fr; } }

.report {
  display: flex; gap: 16px; align-items: flex-start;
  padding: clamp(16px, 2.2vw, 22px);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(90, 70, 0, .05);
}
.report__seal { position: relative; flex-shrink: 0; }
.report__seal .seal { --seal: 96px; margin: 0; transform: rotate(-5deg); }
.report__stamp {
  position: absolute; right: -8px; bottom: -6px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2.5px solid var(--shu); color: var(--shu);
  background: rgba(255, 253, 244, .9);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700; line-height: 1;
  transform: rotate(-12deg);
}
.report__body { min-width: 0; }
.report__text { font-size: 14.5px; line-height: 1.8; }
.report__meta { font-size: 12px; color: var(--sumi-soft); margin-top: 8px; }
.report__empty { text-align: center; color: var(--sumi-soft); font-size: 14px; }

/* セレクトもフォームの見た目にそろえる */
.field select {
  width: 100%; font: inherit; font-size: 16px;
  padding: 12px 14px;
  border: 2px solid var(--sumi); border-radius: 12px;
  background: var(--paper); color: inherit;
}
.field select:focus-visible { outline: 3px solid var(--kiiro); outline-offset: 1px; }
.preview .report__seal { display: inline-block; }
.preview .report__seal .seal { --seal: 150px; }

/* 本文の中の「らけさん」 */
.hero__copy strong {
  font-weight: 700; color: var(--sumi);
  background: linear-gradient(transparent 64%, var(--kiiro) 64%);
}

/* 由来の締めの一文 */
.about__last { color: var(--sumi); font-weight: 700; }
.about__last em {
  font-style: normal;
  background: linear-gradient(transparent 64%, var(--kiiro) 64%);
}

/* 店内でのお願い */
.notice--care { border-left-color: var(--shu); background: #fdf2ef; }
.notice__title {
  font-weight: 700; font-size: 13px; letter-spacing: .08em;
  color: var(--shu); margin-bottom: 4px;
}
.notice__list { font-size: 13.5px; }
.notice__list li { position: relative; padding-left: 1.1em; }
.notice__list li + li { margin-top: 4px; }
.notice__list li::before {
  content: "・"; position: absolute; left: 0; color: var(--shu);
}

/* ---------- パンダらけ手締め ---------- */
.face--7 { transform: rotate(4deg); }
.face--8 { transform: rotate(-6deg); }

.tejime {
  max-width: 680px; margin-inline: auto;
  border: 1px solid var(--kiiro-deep); border-radius: var(--radius);
  background: var(--kiiro);
  box-shadow: none;
  padding: clamp(24px, 3.6vw, 38px);
  text-align: center;
}
.tejime__chant {
  font-family: var(--font-hand);
  font-size: clamp(20px, 3.4vw, 32px);
  font-weight: 700; line-height: 1.6;
  color: #2e2600;
}
.tejime__chant em {
  font-style: normal;
  display: inline-block;
  padding: 0 .15em;
  background: var(--paper);
  border-radius: 6px;
}
.tejime__steps {
  margin-top: 18px; padding-left: 1.4em;
  text-align: left; font-size: 14.5px;
  display: inline-block;
}
.tejime__steps li::marker { font-weight: 700; }
.tejime__steps li + li { margin-top: 6px; }

/* トーストの中のボタン */
.toast { display: flex; align-items: center; gap: 14px; }
.toast__action {
  border: 2px solid var(--kiiro); border-radius: 999px;
  background: var(--kiiro); color: var(--sumi);
  padding: 5px 14px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.toast__action:hover { background: var(--paper); }

/* ---------- お問い合わせフォーム ---------- */
.contact-form .field { margin-bottom: 18px; }
.contact-form legend { margin-bottom: 7px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips label {
  display: inline-block; padding: 8px 15px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line); background: var(--paper); font-size: 14px;
}
.chips input:checked + span { font-weight: 700; }
.chips label:has(input:checked) {
  border-color: var(--sumi); background: var(--kiiro);
}
.chips label:has(input:focus-visible) { outline: 3px solid var(--shu); outline-offset: 2px; }
.chips__other {
  margin-top: 10px; width: 100%; font: inherit; font-size: 16px;
  padding: 12px 14px; border: 2px solid var(--sumi); border-radius: 12px;
  background: var(--paper); color: inherit;
}

/* いたずら投稿よけ。見せない */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 手締めの図と文章 */
.tejime-grid {
  display: grid; gap: clamp(22px, 3.2vw, 40px);
  grid-template-columns: 1fr; align-items: center;
  max-width: 980px; margin-inline: auto;
}
@media (min-width: 880px) { .tejime-grid { grid-template-columns: 1fr 1fr; } }
.tejime-figure { margin: 0; }
.tejime-figure img {
  width: 100%; max-width: 460px; margin-inline: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(90, 70, 0, .08);
  background: #fff;
}
.tejime-grid .tejime { max-width: none; }

/* お問い合わせはフォーム1本。中央に置く */
.contact-shell { max-width: 640px; margin-inline: auto; }

/* ---------- 準備中（COMING SOON） ---------- */
.coming {
  border: 1px solid var(--kiiro-deep); border-radius: var(--radius);
  background: var(--kiiro);
  box-shadow: none;
  padding: clamp(32px, 6vw, 72px) 20px;
  text-align: center;
}
.coming__jp {
  font-size: clamp(17px, 2.4vw, 23px); font-weight: 700;
  letter-spacing: .06em; color: #2e2600;
}
.coming__en {
  margin-top: .2em;
  font-family: var(--font-mincho);
  font-size: clamp(38px, 9vw, 104px);
  font-weight: 700; line-height: 1.05; letter-spacing: .04em;
  color: var(--sumi);
}
.coming__note {
  margin-top: 1em; font-size: 13.5px; color: #4a3f00;
}

/* ---------- ハンコ風の「準備中」 ---------- */
.stamp {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  writing-mode: vertical-rl;
  font-size: 16px; font-weight: 700; letter-spacing: .14em;
  color: var(--shu);
  border: 3px solid var(--shu);
  box-shadow: 0 0 0 1.5px var(--shu) inset;
  background: color-mix(in oklab, var(--paper) 55%, transparent);
  transform: rotate(-13deg);
  opacity: .9;
}
@media (max-width: 480px) {
  .stamp { width: 62px; height: 62px; font-size: 13.5px; top: 12px; right: 12px; }
}

/* 横に並べられない幅のときだけ、ステッカーを上に出す */
@media (max-width: 619px) {
  .modal__body { gap: 16px; }
  .modal__body .preview { order: -1; }
  .modal__body .preview .seal { --seal: 150px; }
  .preview__stage { padding: 16px; }
}

/* スマホでは貼るバーを小さくする（画面を塞がないように） */
@media (max-width: 680px) {
  .place-bar__inner { padding: 10px 14px; gap: 10px; }
  .place-bar__seal .seal { --seal: 52px; }
  .place-bar__text { min-width: 0; flex: 1 1 140px; }
  .place-bar__text strong { font-size: 13.5px; }
  .place-bar__text span { font-size: 11px; line-height: 1.4; }
  .place-bar__actions { width: 100%; gap: 8px; }
  .place-bar__actions .btn { flex: 1; padding: 8px 10px; font-size: 12.5px; }
}

/* 書きながらステッカーが見えるように、プレビューは右に貼り付いたままにする */
@media (min-width: 620px) {
  .modal__body .preview { position: sticky; top: 0; }
}

/* 狭い画面で屋号とボタンがぶつからないように */
@media (max-width: 680px) {
  .logo { gap: 8px; }
  .logo__name { font-size: 13px; letter-spacing: .02em; }
  .logo__name small { font-size: 8px; letter-spacing: .1em; }
  .nav__cta { font-size: 12px; padding: 6px 12px !important; }
}
@media (max-width: 420px) {
  .logo__name { font-size: 12px; }
  .logo__name small { display: none; }
}

/* 見出し頭の丸数字を、本文より少し大きく・字送りを詰める */
.heading { font-feature-settings: "palt" 1; }

/* ---------- 壁の募集 ---------- */
.face--9 { transform: rotate(7deg); }
.br-sp { display: none; }
@media (max-width: 680px) { .br-sp { display: inline; } }

.offer {
  display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr;
  max-width: 880px; margin-inline: auto;
}
@media (min-width: 720px) { .offer { grid-template-columns: 1fr 1fr; } }
.offer__item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(20px, 2.8vw, 28px);
}
.offer__item--plus { border-color: var(--kiiro-deep); background: var(--kiiro-pale); }
.offer__title {
  font-size: clamp(17px, 2vw, 20px); font-weight: 700;
  letter-spacing: .04em; margin-bottom: .5em;
}
.offer__text { font-size: 14.5px; color: var(--sumi-soft); }
.field__help.center { text-align: center; }

/* 見出しの行分かれを日本語の作法に合わせる */
.heading { line-break: strict; overflow-wrap: normal; }

/* 壁募集の一文 */
.wanted__lead {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--sumi); font-weight: 700; line-height: 1.8;
}
.wanted__lead em {
  font-style: normal;
  background: linear-gradient(transparent 64%, var(--kiiro) 64%);
}



/* ============================================================
   みんなの壁
   ------------------------------------------------------------
   .board      … 窓。ここに壁の一部が見えている
   .board__canvas … 壁そのもの（2400 × 1600）。拡大・移動する
   ============================================================ */
.board {
  position: relative;
  left: 50%; transform: translateX(-50%);
  /* 窓の縦横比は壁（7200×4800＝3:2）と揃える。
     ずれていると「全体」にしたとき左右か上下に帯が出る */
  width: min(1320px, 94vw);
  aspect-ratio: 3 / 2;
  border: clamp(6px, 0.9vw, 12px) solid #fff;
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: 0 2px 14px rgba(90, 70, 0, .08);
  overflow: hidden;
  touch-action: pan-y;   /* 指1本の縦スクロールはページに通す */
  cursor: grab;
}
.board.is-grabbing { cursor: grabbing; }

.board__canvas {
  position: absolute; top: 0; left: 0;
  transform-origin: 0 0;
  background:
    repeating-linear-gradient(0deg, rgba(25,23,20,.05) 0 2px, transparent 2px 200px),
    repeating-linear-gradient(90deg, rgba(25,23,20,.05) 0 2px, transparent 2px 200px),
    var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.board__canvas .stick-layer { z-index: 1; }
.board__canvas .seal { --seal: 128px; }   /* 壁の中では固定。拡大・縮小で見かけが変わる */

/* 壁を縮めて全体表示しているときにも読める大きさにする */
.board__empty {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-content: center; gap: 24px;
  text-align: center; color: var(--sumi-soft); font-size: 110px;
}
.board__empty strong { font-size: 180px; color: var(--sumi); }

/* 拡大・縮小のボタン */
.board__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 5;
  display: flex; gap: 6px;
  background: rgba(255, 253, 244, .92);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px;
}
.board__zoom button {
  min-width: 38px; height: 34px; padding: 0 12px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; font-size: 14px; font-weight: 700;
  letter-spacing: .06em;
}
.board__zoom button:hover { background: var(--kiiro); }

.board__hint {
  position: absolute; left: 14px; bottom: 18px; z-index: 5;
  font-size: 12px; color: var(--sumi-soft);
  background: rgba(255, 253, 244, .88);
  padding: 4px 10px; border-radius: 999px;
}

@media (max-width: 680px) {
  .board {
    width: 100vw; border-radius: 0; border-width: 5px;
    /* 縦横比は揃えたまま。狭い画面では低い窓になるので、指で広げて見る */
  }
  .board__hint { display: none; }
}
