/* 和心村 シルバー応援ページ */
:root {
  --bg: #FFF9F4;
  --pink: #F4E3DA;
  --pink-deep: #EBCFC3;
  --cream: #FFFDFB;
  --text: #5C4A40;
  --text-soft: #7A675C;
  --heading: #704A39;
  --accent: #A96257;
  --accent-dark: #8E4E44;
  --line: #EADBD1;
  --wood-1: #EBD6B8;
  --wood-2: #E6CDA9;
  --wood-3: #F0DFC6;
  --wood-ink: #4E3C31;
  --wood-edge: #CFAF86;
  --error: #A23B2E;
  --radius: 22px;
  --nav-h: 54px;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
body.has-peach-bg {
  background: var(--bg) url("/silver/assets/peach_background.png") center top / cover fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.fuda:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: var(--cream); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.preview-banner {
  background: #5C4A40; color: #FFF9F4; text-align: center;
  font-size: 13px; padding: 4px 8px; letter-spacing: 0.1em;
}

/* 固定の案内（ナビ） */
.site-nav {
  position: sticky; top: 0; z-index: 20; height: var(--nav-h);
  background: rgba(255, 253, 251, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(6px); backdrop-filter: saturate(1.2) blur(6px);
}
.site-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; }
.brand {
  font-family: var(--font-head); font-weight: 700; font-size: 20px; flex: none;
  color: var(--heading); text-decoration: none; letter-spacing: 0.16em;
}
.nav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: block; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 500; color: var(--heading); text-decoration: none;
}
.nav-list a:hover { background: var(--pink); }
.nav-list a[aria-current="true"] { background: var(--accent); color: #fff; }
.lbl-short { display: none; }
@media (max-width: 639px) {
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .site-nav .brand { font-size: 16px; letter-spacing: 0.08em; }
  .nav-list { gap: 0; }
  .nav-list a { padding: 5px 9px; font-size: 13px; }
}
@media (max-width: 359px) {
  .site-nav .brand { display: none; }
  .site-nav-inner { justify-content: center; }
}
#top, #wall, .section { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* A. 最初の画面（短く） */
.hero { padding: 26px 0 18px; text-align: center; }
.eyebrow { color: var(--accent); font-size: 14px; margin: 0 0 4px; letter-spacing: 0.1em; }
.hero h1 {
  font-family: var(--font-head); font-weight: 700; color: var(--heading);
  font-size: clamp(27px, 6.4vw, 42px); line-height: 1.35; margin: 0 0 10px; letter-spacing: 0.04em;
}
.lead { font-size: 16px; margin: 0 auto 18px; max-width: 34em; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-links { margin: 0; font-size: 14px; color: var(--text-soft); }
.text-link { font-weight: 500; text-underline-offset: 4px; }
.nb { display: inline-block; }
@media (max-width: 480px) {
  .btn { padding: 12px 20px; letter-spacing: 0.02em; }
  .hero-actions .btn { width: 100%; }
}

/* 準備中の枠（プレビュー環境のみ） */
.placeholder {
  border: 2px dashed var(--pink-deep); background: rgba(244, 227, 218, 0.45);
  color: var(--text-soft); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 16px;
}
.placeholder span { font-weight: 700; color: var(--heading); }
.placeholder small { font-size: 12px; line-height: 1.6; }
.placeholder-inline { border-radius: 14px; margin-top: 18px; }
.placeholder-text { color: var(--text-soft); background: rgba(244, 227, 218, 0.6); padding: 0 4px; border-radius: 4px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 28px; border-radius: 999px;
  font: inherit; font-weight: 700; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { background: #C79A92; cursor: wait; }
.btn-secondary { background: var(--cream); color: var(--heading); border-color: var(--pink-deep); }
.btn-secondary:hover { background: var(--pink); }
.btn-block { width: 100%; }
.text-button {
  background: none; border: 0; padding: 4px 0; color: var(--accent-dark);
  font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}

/* B. お話 */
.prose { max-width: 36rem; }
.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose .emphasis { color: var(--accent); font-weight: 700; font-size: 18px; }
.prose .callout {
  background: var(--pink); border-radius: 16px; padding: 18px 20px; color: var(--heading);
  font-weight: 500;
}
.story .prose { margin: 0 auto; }
.story .section-title { max-width: 36rem; margin-left: auto; margin-right: auto; }

/* C. 応援木札（主役）：切り抜いたシルバーを木札の後ろに置く */
.wall { position: relative; padding-bottom: 36px; overflow-x: clip; }
.wall-bg { display: none; }
.has-wall-cat .wall-bg {
  display: flex; align-items: flex-end; justify-content: center;
  position: sticky; top: var(--nav-h); z-index: 0; pointer-events: none;
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
}
.wall-cat {
  width: auto; height: 90%; max-width: 100%; object-fit: contain; object-position: 50% 100%;
  /* 元写真で尻尾が画面の端で切れているため、右端だけ表示上ふんわり消す（画像自体は変更しない） */
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
}
.wall-cat-placeholder {
  width: min(70%, 420px); height: 80%; border-radius: 48% 48% 16px 16px;
}
.wall-content { position: relative; z-index: 1; }
.has-wall-cat .wall-content {
  margin-top: calc(-100vh + var(--nav-h)); margin-top: calc(-100svh + var(--nav-h));
}
.wall-face-space { display: none; }
.has-wall-cat .wall-face-space { display: block; height: 42vh; height: 42svh; }

.wall-head { text-align: center; margin-bottom: 8px; }
.wall-head .section-title {
  display: inline-block; margin: 0; padding: 4px 22px;
  background: rgba(255, 253, 251, 0.9); border-radius: 999px;
}
.wall-status { color: var(--heading); font-size: 14px; margin: 8px 0 14px; min-height: 1em; }
.wall-status:not(:empty) {
  display: table; margin-left: auto; margin-right: auto; background: rgba(255, 253, 251, 0.85); padding: 0 12px; border-radius: 999px;
}
.wall-note {
  background: rgba(255, 253, 251, 0.92); border-radius: 16px; padding: 14px 18px;
  color: var(--heading); text-align: center; margin: 0;
}
.fuda-grid {
  display: grid; gap: 24px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; padding-top: 26px;
}
@media (max-width: 359px) { .fuda-grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .fuda-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; } }
@media (min-width: 1080px) { .fuda-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* まだ木札がないとき：空の木札の輪郭だけ */
.fuda-empty { padding-top: 18px; }
.fuda-ghosts {
  display: grid; gap: 30px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; padding-top: 12px;
}
@media (min-width: 768px) { .fuda-ghosts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.fuda-ghost {
  position: relative; display: block; width: 100%; max-width: 220px; justify-self: center;
  aspect-ratio: 1 / 1; border-radius: 50%;
  border: 2px dashed rgba(169, 98, 87, 0.45); background: rgba(255, 253, 251, 0.55);
}
.fuda-ghost::after {
  content: ""; position: absolute; top: -16px; left: 50%; width: 2px; height: 22px;
  margin-left: -1px; background: rgba(181, 120, 106, 0.6);
}
.fuda-ghost { transform-origin: 50% -16px; }
.fuda-ghost:nth-child(1) { transform: translate(4px, 10px) rotate(-5deg); }
.fuda-ghost:nth-child(2) { transform: translate(-6px, 0) rotate(4deg); }
.fuda-ghost:nth-child(3) { transform: translate(3px, 22px) rotate(-2deg); }
.fuda-ghost:nth-child(4) { transform: translate(-4px, 6px) rotate(6deg); }
@media (max-width: 767px) { .fuda-ghost:nth-child(n+3) { display: none; } }

/* 木札の下の「続き」案内 */
.wall-next {
  display: grid; gap: 12px; margin-top: 34px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .wall-next { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.next-card {
  display: block; background: rgba(255, 253, 251, 0.95); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 18px; text-decoration: none; color: var(--text);
  box-shadow: 0 4px 14px rgba(112, 74, 57, 0.07);
}
.next-card:hover { border-color: var(--accent); }
.next-title { display: block; font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 17px; }
.next-title::after { content: " →"; color: var(--accent); }
.next-desc { display: block; font-size: 13px; color: var(--text-soft); }

/* 丸い木札 */
.fuda {
  position: relative; margin: 0;
  width: 100%; max-width: 300px; justify-self: center;
  aspect-ratio: 1 / 1; border-radius: 50%;
  color: var(--wood-ink);
  border: 1px solid var(--wood-edge);
  box-shadow:
    inset 0 0 0 7px rgba(170, 125, 80, 0.16),
    inset 0 0 0 8px rgba(150, 105, 60, 0.18),
    0 4px 0 rgba(140, 100, 60, 0.12), 0 10px 20px rgba(112, 74, 57, 0.09);
  background-image:
    repeating-radial-gradient(circle at 47% 53%, rgba(150, 105, 60, 0.045) 0 2px, transparent 2px 11px),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 60%);
}
.fuda.wood-0 { background-color: var(--wood-1); }
.fuda.wood-1 { background-color: var(--wood-2); }
.fuda.wood-2 { background-color: var(--wood-3); }
/* 紐と穴 */
.fuda::before {
  content: ""; position: absolute; top: 6%; left: 50%; width: 11px; height: 11px;
  margin-left: -5.5px; border-radius: 50%;
  background: rgba(92, 70, 52, 0.55); box-shadow: inset 0 1px 2px rgba(40, 25, 10, 0.5);
}
.fuda::after {
  content: ""; position: absolute; left: 50%; width: 2px; margin-left: -1px;
  top: calc(-1 * var(--string, 16px)); height: calc(6% + var(--string, 16px) + 6px);
  background: #B5786A; border-radius: 2px;
}
/* 紐の先の小さな釘 */
.fuda .fuda-nail {
  position: absolute; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  top: calc(-1 * var(--string, 16px) - 4px);
  background: #9A7A5E; box-shadow: 0 1px 1px rgba(60, 40, 20, 0.35);
}
/* ばらばらに掛けた感じ：高さ・左右・角度・紐の長さを投稿ごとに変え、列ごとにも段違いにする（大きさは全員同じ） */
.fuda {
  --jit-x: 13%; --jit-y: 46px; --stag: 0px;
  width: 80%;
  --dx: calc(var(--jx, 0) * var(--jit-x));
  --string: calc(10px + var(--js, 0) * 26px);
  margin-top: calc(var(--jy, 0) * var(--jit-y) + var(--stag) + var(--string) - 16px);
  transform-origin: 50% calc(-1 * var(--string, 16px));
  transform: translateX(var(--dx, 0px)) rotate(var(--rot, 0deg));
}
/* 列ごとの段違い（2列） */
.fuda-grid > .fuda:nth-child(2n) { --stag: 38px; }
@media (max-width: 359px) { .fuda-grid > .fuda:nth-child(2n) { --stag: 0px; } }
@media (min-width: 768px) {
  .fuda { --jit-x: 14%; --jit-y: 70px; }
  .fuda-grid > .fuda:nth-child(2n) { --stag: 0px; }
  .fuda-grid > .fuda:nth-child(3n+2) { --stag: 64px; }
  .fuda-grid > .fuda:nth-child(3n) { --stag: 22px; }
}
@media (min-width: 1080px) {
  .fuda-grid > .fuda:nth-child(n) { --stag: 0px; }
  .fuda-grid > .fuda:nth-child(4n+2) { --stag: 66px; }
  .fuda-grid > .fuda:nth-child(4n+3) { --stag: 18px; }
  .fuda-grid > .fuda:nth-child(4n) { --stag: 48px; }
}

/* 円の内側に収まる四角い範囲に文字を置く */
.fuda-inner {
  position: absolute; inset: 17% 15% 13%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.fuda-body {
  margin: 0; text-align: left; white-space: pre-wrap; word-break: break-word;
  width: fit-content; max-width: 100%; min-height: 0; overflow: hidden;
  font-size: 15px; line-height: 1.7;
}
.fuda.is-clamped .fuda-body {
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.fuda-name {
  flex: none; margin: 6px 0 0; max-width: 100%; text-align: center; font-size: 12px; color: #6E5646;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fuda-name::before { content: "— "; }
.fuda-more {
  flex: none; margin-top: 2px; padding: 2px 10px; border: 1px solid rgba(120, 85, 50, 0.35);
  border-radius: 999px; background: rgba(255, 253, 251, 0.7); color: var(--accent-dark);
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.fuda-more:hover { background: var(--cream); }

/* 全文表示 */
.fuda-dialog {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 440px); width: 100%;
}
.fuda-dialog::backdrop { background: rgba(92, 74, 64, 0.45); }
.fuda-dialog-card {
  background: var(--wood-3); color: var(--wood-ink); border: 1px solid var(--wood-edge);
  border-radius: 24px; padding: 28px 24px 20px;
  background-image: repeating-radial-gradient(circle at 50% 0%, rgba(150, 105, 60, 0.04) 0 2px, transparent 2px 12px);
}
.fuda-dialog-body { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 16px; line-height: 1.85; }
.fuda-dialog-name { margin: 14px 0 0; text-align: right; font-size: 14px; color: #6E5646; }
.fuda-dialog-name::before { content: "— "; }
.fuda-dialog-actions { text-align: center; margin-top: 18px; }

.report-empty {
  text-align: center; background: var(--cream); border: 1px dashed var(--pink-deep);
  border-radius: var(--radius); padding: 32px 20px; color: var(--heading); margin: 0;
}
.wall-error { margin-top: 16px; }
.wall-error p { margin: 0 0 10px; }
.more-wrap { text-align: center; margin-top: 30px; }

/* D. フォーム */
.form-intro { margin: -6px 0 24px; color: var(--heading); font-weight: 500; }
.field { margin-bottom: 22px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.field label { font-weight: 700; color: var(--heading); }
.counter { font-size: 13px; color: var(--text-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.counter.over { color: var(--error); font-weight: 700; }
.tag { display: inline-block; font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 999px; vertical-align: 2px; font-weight: 700; letter-spacing: 0.04em; }
.tag-required { background: var(--accent); color: #fff; }
.tag-optional { background: var(--pink); color: var(--heading); }

input[type="text"], textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  line-height: 1.7;
}
textarea { resize: vertical; min-height: 150px; }
input[type="text"]:focus, textarea:focus { border-color: var(--accent); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--error) !important; background: #FFF6F4 !important; }
.help { font-size: 13px; color: var(--text-soft); margin: 6px 0 0; }
.field-error { color: var(--error); font-size: 14px; font-weight: 700; margin: 6px 0 0; }

.field-check {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start;
  background: var(--pink); border-radius: 14px; padding: 14px 16px;
}
.field-check input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--accent); }
.field-check label { font-weight: 500; line-height: 1.7; cursor: pointer; }
.field-check .field-error { grid-column: 2; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  background: #FBEAE6; border: 1px solid #E8BDB3; color: var(--error);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-weight: 500;
}
.form-success {
  background: #F7EFE6; border: 1px solid var(--pink-deep); border-radius: 16px;
  padding: 20px; margin-bottom: 24px;
}
.form-success:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-success-main { margin: 0 0 8px; font-weight: 700; color: var(--heading); }
.form-success-sub { margin: 0 0 8px; font-size: 15px; }
.privacy-note { font-size: 13px; color: var(--text-soft); text-align: center; margin: 12px 0 0; }

/* E. 支援 */
.support-panel .prose { max-width: none; }
.support-action { margin: 26px 0 10px !important; text-align: center; }
.note { font-size: 14px; color: var(--text-soft); text-align: center; }
.support-thanks {
  background: var(--pink); border-radius: 14px; padding: 16px 18px; margin-bottom: 22px;
  color: var(--heading); font-weight: 500;
}
.support-thanks p { margin: 0; }
.support-thanks p + p { margin-top: 12px; }

/* F. ご報告 */
.report-list { display: grid; gap: 22px; }
.report {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
}
@media (min-width: 768px) { .report { padding: 30px 36px; } }
.report time { font-size: 14px; color: var(--accent); font-weight: 500; }
.report h3 { font-family: var(--font-head); color: var(--heading); font-size: 21px; margin: 2px 0 14px; line-height: 1.5; }
.report img { border-radius: 14px; margin: 0 0 16px; max-height: 520px; width: auto; }
.report-body { white-space: pre-wrap; margin: 0; }
.report-amounts {
  margin: 18px 0 0; padding: 14px 18px; background: var(--pink); border-radius: 14px;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 18px;
}
.report-amounts dt { color: var(--heading); }
.report-amounts dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* フッター */
.site-footer { padding: 30px 0 40px; text-align: center; font-size: 14px; color: var(--text-soft); }
.footer-policy { max-width: 40em; margin: 0 auto 12px; }
.copyright { font-family: var(--font-head); color: var(--heading); letter-spacing: 0.18em; margin: 0; }

@media (max-width: 479px) {
  .fuda-grid { gap: 14px 8px; }
  .fuda-inner { inset: 15% 11% 10%; }
  .fuda-body { line-height: 1.6; }
  .fuda-name { font-size: 11px; margin-top: 4px; }
  .fuda-more { font-size: 11px; padding: 1px 8px; }
}

/* お話の中の投稿ボタン */
.story-action { text-align: center; margin: 28px 0 0; }

/* 常に表示する投稿ボタン */
.fab {
  position: fixed; z-index: 30; right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(112, 74, 57, 0.28);
}
.fab:hover { background: var(--accent-dark); }
.fab-icon { font-size: 18px; line-height: 1; }
body.dialog-open .fab { display: none; }
@media (max-width: 767px) {
  .fab {
    left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom));
    justify-content: center; font-size: 15px;
  }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .site-footer { padding-bottom: 100px; }
}

/* 投稿フォーム（ダイアログ） */
.form-dialog {
  border: 0; padding: 0; background: transparent; color: var(--text);
  width: calc(100% - 24px); max-width: 600px; max-height: calc(100svh - 24px);
}
.form-dialog::backdrop { background: rgba(92, 74, 64, 0.5); }
.form-dialog-card {
  position: relative; background: var(--cream); border-radius: var(--radius);
  padding: 30px 20px 24px; max-height: calc(100svh - 24px); overflow-y: auto;
}
@media (min-width: 768px) { .form-dialog-card { padding: 40px 44px 32px; } }
.form-dialog .section-title { padding-right: 36px; }
.dialog-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--heading);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.dialog-close:hover { background: var(--pink); }
.form-success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 12px 0 0; }
body.dialog-open { overflow: hidden; }
@media (max-width: 767px) {
  .has-wall-cat .wall-face-space { height: 31vh; height: 31svh; }
  .has-wall-cat .wall-bg { align-items: flex-start; padding-top: 3vh; }
  .wall-cat { width: 100%; height: auto; max-height: 92%; }
}
@media (max-width: 399px) {
  .fab { font-size: 14px; letter-spacing: 0; padding: 12px 14px; gap: 6px; }
}
@media (max-width: 399px) {
  .hero-actions .btn { font-size: 14px; letter-spacing: 0; padding: 12px 10px; }
}

@media (max-width: 359px) { .fuda-grid { gap: 34px 0; } }

/* JSで配置したあとの「あちこちに掛けた」表示 */
.fuda-grid.is-scatter { display: block; position: relative; padding-top: 0; height: var(--wall-h, auto); }
.fuda-grid.is-scatter > .fuda {
  position: absolute; left: var(--x, 0px); top: var(--y, 0px);
  width: var(--d, 220px); max-width: none; margin: 0;
  --string: calc(10px + var(--js, 0) * 14px);
  transform-origin: 50% 50%;
  transform: rotate(var(--rot, 0deg));
}
