/* フジの紹介ページ＝1つのフォルダで完結（外からの読み込み無し）。
   地は生成りの紙（fuji21.com の陽だまりと同じ温かい地）・字は Klee One（見出し・手書きの言葉）と Zen Kaku Gothic New（本文）。
   動きは「見えた時に出る」（.reveal → .in）・スクロールの位置で変わる物（島・ピント）・カードの傾き。動きを減らす設定では時間で動く物を止める */

@font-face { font-family: "Klee One"; src: url("assets/fonts/klee-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Klee One"; src: url("assets/fonts/klee-one-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("assets/fonts/zen-kaku-gothic-new.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("assets/fonts/zen-kaku-gothic-new-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #faf3ea;
  --paper-2: #f3e9db;
  --ink: #1e1b18;
  --ink-soft: #6a625c;
  --line: #d9cdbd;
  --red: #b8333f;
  --blue: #3f86e6;
  --green: #6bbf59;
  --sun: #ffc24a;
  --hand: "Klee One", "Klee", "Hiragino Maru Gothic ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  font-feature-settings: "palt";
}
img, video, canvas, svg { display: block; max-width: 100%; }
/* 紙の粒＝SVG の feTurbulence を薄く全面に（絵は無し・データ URI だけ） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  background-size: 240px 240px;
}
a { color: inherit; }
b { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.pc { display: none; }
.sp { display: inline; }
@media (min-width: 720px) { .pc { display: inline; } .sp { display: none; } }

/* ---------- 上の帯 ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 20px;
  font-size: 13px;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 243, 234, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); opacity: 0; transition: opacity 0.3s; }
.top.scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--hand); font-weight: 600; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 2px 8px rgba(60, 40, 10, 0.18); }
.topnav { display: none; gap: 4px; margin-left: 8px; }
.topnav a { text-decoration: none; color: var(--ink-soft); padding: 6px 10px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.topnav a:hover, .topnav a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.home { margin-left: auto; text-decoration: none; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: rgba(250, 243, 234, 0.8); backdrop-filter: blur(6px); }
.home:hover { color: var(--ink); border-color: var(--ink-soft); }
@media (min-width: 900px) { .topnav { display: flex; } }

/* ---------- 見えた時に出る ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 共通の見出し ---------- */
.sec { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.label { font-size: 12px; letter-spacing: 0.18em; color: var(--ink-soft); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.label span { font-family: var(--hand); font-size: 15px; color: var(--red); letter-spacing: 0.05em; }
.label::after { content: ""; width: 36px; height: 1px; background: var(--line); }
.h2 { font-family: var(--hand); font-weight: 600; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.5; margin: 0 0 22px; letter-spacing: 0.01em; }
.desc { max-width: 42em; margin: 0 0 40px; color: #3b352f; }
.mark { font-style: normal; position: relative; z-index: 0; display: inline-block; padding: 0 0.1em; }
.mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.42em; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 194, 74, 0.55), rgba(255, 194, 74, 0.35));
  transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.5s;
}
.in .mark::after, .mark.in::after { transform: scaleX(1); }

/* ---------- 0. 最初の画面 ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.komorebi { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inner {
  position: relative; z-index: 1;
  width: min(var(--wrap), 100% - 40px);
  display: grid; gap: 24px; align-items: center;
  padding: 96px 0 56px;
}
.hero-text { text-align: center; }
.eyebrow { font-family: var(--hand); color: var(--ink-soft); margin: 0 0 10px; font-size: 15px; letter-spacing: 0.08em; }
h1 { margin: 0 0 18px; font-weight: 600; line-height: 1.3; }
h1 .name { display: block; font-family: var(--hand); font-size: clamp(64px, 11vw, 120px); line-height: 1; letter-spacing: 0.04em; margin-bottom: 10px; }
h1 .chars { display: inline-block; }
h1 .chars > span { display: inline-block; opacity: 0; transform: translateY(0.4em) rotate(4deg); animation: pop 0.9s var(--ease) forwards; animation-delay: calc(0.25s + var(--k) * 0.14s); }
@keyframes pop { 60% { opacity: 1; transform: translateY(-0.06em) rotate(-1deg); } 100% { opacity: 1; transform: none; } }
h1 .role { display: block; font-size: clamp(18px, 2.6vw, 26px); font-weight: 500; color: #2d2823; }
.lead { max-width: 30em; margin: 0 auto 26px; color: #3b352f; font-size: 15px; }
.cue { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.08em; margin: 0; }
.cue-line { width: 36px; height: 1px; background: var(--ink-soft); position: relative; overflow: hidden; }
.cue-line::after { content: ""; position: absolute; inset: 0; background: var(--paper); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 50% { transform: translateX(100%); } 100% { transform: translateX(100%); } }
.diorama { position: relative; margin: 0; width: min(88vw, 520px); aspect-ratio: 1; justify-self: center; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.diorama:active { cursor: grabbing; }
.diorama canvas, .diorama-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.diorama canvas { opacity: 0; transition: opacity 0.4s; }
.diorama.ready canvas { opacity: 1; }
.diorama.ready .diorama-poster { opacity: 0; transition: opacity 0.4s; }
.diorama::after {
  /* 島の影 */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 7%; height: 10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(90, 60, 20, 0.22), rgba(90, 60, 20, 0));
}
.sound {
  justify-self: center; font: inherit; font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft); background: rgba(255, 253, 249, 0.7); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sound:hover { color: var(--ink); border-color: var(--ink-soft); }
.sound[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.sound span { color: var(--sun); }
.sound[aria-pressed="true"] span { color: var(--sun); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(250, 243, 234, 0), var(--paper)); z-index: 1; pointer-events: none; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 40px; padding: 80px 0 40px; }
  .hero-text { text-align: left; }
  h1 .name { margin-left: -0.05em; }
  .lead { margin-left: 0; font-size: 16px; }
  .diorama { width: min(44vw, 600px); }
  .sound { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  h1 .chars > span { animation: none; opacity: 1; transform: none; }
  .cue-line::after { animation: none; }
}

/* ---------- 1. つくったもの ---------- */
.apps { background: linear-gradient(var(--paper), var(--paper-2)); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; perspective: 1200px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } .card.apart { margin-left: 12px; } }
.card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform-style: preserve-3d; }
.card:nth-child(2) { --d: 0.1s; } .card:nth-child(3) { --d: 0.2s; } .card:nth-child(4) { --d: 0.3s; }
.card-in {
  position: relative; display: block; height: 100%; min-height: 420px; border-radius: 22px; overflow: hidden; text-decoration: none;
  background: #fffdf9; border: 1px solid rgba(60, 40, 10, 0.08);
  box-shadow: 0 1px 2px rgba(60, 40, 10, 0.06), 0 18px 40px -24px rgba(60, 40, 10, 0.35);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s ease-out, box-shadow 0.4s;
  will-change: transform;
}
.card.is-tilting .card-in { transition: transform 0.08s linear; }
.card-in:hover { box-shadow: 0 2px 4px rgba(60, 40, 10, 0.08), 0 32px 60px -28px rgba(60, 40, 10, 0.45); }
.card-photo {
  position: absolute; inset: 0; background: var(--photo) center / cover no-repeat;
  opacity: 0.0; transform: scale(1.08); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
}
.card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 253, 249, 0.2), rgba(255, 253, 249, 0.96) 62%); }
.card-in:hover .card-photo, .card.is-tilting .card-photo { opacity: 1; transform: scale(1); }
.card-photo.kuru { background: conic-gradient(from 200deg at 60% 30%, #4cc79a, #3bb1ee, #f28ca6, #fc9d1d, #4cc79a); opacity: 0.14; }
.card-in:hover .card-photo.kuru { opacity: 0.35; }
.card-body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; height: 100%; }
.card-icon { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 6px 16px -8px rgba(60, 40, 10, 0.5); margin-bottom: 10px; transform: translateZ(30px); }
.card-icon.stamp { display: grid; place-items: center; font-family: var(--hand); font-size: 28px; color: var(--red); border: 2px solid var(--red); border-radius: 14px; background: #fff; opacity: 0.85; transform: translateZ(30px) rotate(-6deg); }
.card-kicker { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-soft); }
.card-name { font-family: var(--hand); font-weight: 600; font-size: 28px; line-height: 1.2; }
.card-tag { font-family: var(--hand); font-size: 16px; color: var(--tint); margin-bottom: 6px; }
.card-text { font-size: 13.5px; line-height: 1.8; color: #3b352f; }
.card-meta { margin-top: auto; padding-top: 14px; font-size: 11.5px; color: var(--ink-soft); }
.card-go { font-size: 13px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.card-go i { font-style: normal; transition: transform 0.3s var(--ease); }
.card-in:hover .card-go i { transform: translateX(4px); }
.card.soon .card-go { color: var(--ink-soft); font-weight: 500; }
.card.soon .card-go::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 194, 74, 0.25); }
.card.soon .card-in { cursor: default; }

/* ---------- 2. 思い出の解像度を上げる ---------- */
.memories { background: var(--paper-2); padding-bottom: 0; }
.focus { height: 260vh; position: relative; margin-top: 10px; }
.focus-stick { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.focus-frame {
  --p: 0;
  position: relative; width: min(92vw, 880px); aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden;
  background: #e9dfd0; box-shadow: 0 30px 60px -30px rgba(60, 40, 10, 0.5);
}
.focus-photo {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(calc((1 - var(--p)) * 22px)) saturate(calc(0.55 + var(--p) * 0.45));
  transform: scale(calc(1.12 - var(--p) * 0.12));
  will-change: filter, transform;
}
.focus-ring { position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--p) * 1.6); }
.focus-ring span { position: absolute; width: 36px; height: 36px; border: 2px solid rgba(255, 255, 255, 0.9); mix-blend-mode: difference; }
.focus-ring span:nth-child(1) { left: 34%; top: 32%; border-right: 0; border-bottom: 0; }
.focus-ring span:nth-child(2) { right: 34%; top: 32%; border-left: 0; border-bottom: 0; }
.focus-ring span:nth-child(3) { left: 34%; bottom: 32%; border-right: 0; border-top: 0; }
.focus-ring span:nth-child(4) { right: 34%; bottom: 32%; border-left: 0; border-top: 0; }
.focus-words {
  position: absolute; left: 6%; bottom: 7%; margin: 0; font-family: var(--hand); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: clamp(20px, 3.6vw, 34px); line-height: 1.55;
}
.focus-line, .focus-date { display: block; opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.focus-date { font-size: 0.5em; letter-spacing: 0.12em; margin-top: 6px; }
.focus-frame[data-step="1"] .focus-line:nth-child(1),
.focus-frame[data-step="2"] .focus-line:nth-child(1), .focus-frame[data-step="2"] .focus-line:nth-child(2),
.focus-frame[data-step="3"] .focus-line, .focus-frame[data-step="3"] .focus-date { opacity: 1; transform: none; }
.focus-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0; transition: opacity 0.4s; }
.focus[data-done] .focus-hint { opacity: 0; }
.film-wrap { padding: 80px 0 110px; }
.film { margin: 0; }
.film-screen { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 70px -30px rgba(60, 40, 10, 0.6); }
.film-video { width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0, 0, 0, 0.12); cursor: pointer; display: grid; place-items: center;
  transition: opacity 0.3s;
}
.film-play span { width: 76px; height: 76px; border-radius: 50%; background: rgba(250, 243, 234, 0.92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease); }
.film-play span::after { content: ""; border-left: 22px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.film-play:hover span { transform: scale(1.06); }
.film.playing .film-play { opacity: 0; pointer-events: none; }
.film figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 14px; max-width: 48em; }
.film figcaption b { font-family: var(--hand); color: var(--ink); font-weight: 600; }

/* ---------- 3. つくりかた ---------- */
.how { background: var(--paper); }
.num { font-family: var(--hand); font-size: 1.5em; color: var(--red); }
.how-grid { display: grid; gap: 28px; margin: 0 0 36px; }
@media (min-width: 820px) { .how-grid { grid-template-columns: 1.4fr 1fr; align-items: stretch; } }
.chart, .donut { margin: 0; background: #fffdf9; border: 1px solid rgba(60, 40, 10, 0.08); border-radius: 20px; padding: 22px 22px 16px; }
.chart figcaption, .donut figcaption { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; letter-spacing: 0.06em; }
.chart svg { width: 100%; height: auto; font-family: var(--sans); }
.chart rect { transition: height 1.2s var(--ease), y 1.2s var(--ease); transition-delay: var(--d, 0s); }
.chart .vals text { font-family: var(--hand); font-size: 17px; opacity: 0; transition: opacity 0.5s 1s; }
.chart.in .vals text { opacity: 1; }
.donut { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; align-items: center; }
.donut figcaption { grid-column: 1 / -1; }
.donut svg { width: 150px; }
.donut circle { stroke-dasharray: 0 1000; transition: stroke-dasharray 1.4s var(--ease); transition-delay: var(--d, 0s); }
.donut-num { font-family: var(--hand); }
.legend { list-style: none; margin: 0; padding: 0; font-size: 12.5px; line-height: 1.7; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.legend b { margin-left: auto; font-family: var(--hand); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 40px; }
.tags span {
  --s: clamp(12px, calc(11px + var(--n) * 0.22px), 24px);
  font-size: var(--s); line-height: 1.2; padding: 0.38em 0.8em; border-radius: 999px;
  background: #fffdf9; border: 1px solid rgba(60, 40, 10, 0.12); color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.tags span:hover { transform: translateY(-3px) rotate(-2deg); background: #fff; border-color: var(--blue); }
.ticker { display: grid; gap: 8px; margin: 0 0 36px; }
.ticker-head { font-family: var(--hand); margin: 0; color: var(--ink-soft); font-size: 14px; }
.ticker-win { --row: 2.5em; position: relative; font-size: 14.5px; height: calc(var(--row) * 3); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker-win::before, .ticker-win::after { content: ""; position: absolute; left: 0; right: 0; height: var(--row); z-index: 1; pointer-events: none; }
.ticker-win::before { top: 0; background: linear-gradient(var(--paper), rgba(250, 243, 234, 0)); }
.ticker-win::after { bottom: 0; background: linear-gradient(rgba(250, 243, 234, 0), var(--paper)); }
.ticker-list { list-style: none; margin: 0; padding: 0; animation: roll var(--roll, 40s) linear infinite; }
.ticker-list li { height: var(--row); display: flex; align-items: center; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-list li::before { content: "—"; color: var(--red); margin-right: 10px; flex: none; }
.ticker:hover .ticker-list { animation-play-state: paused; }
@keyframes roll { to { transform: translateY(-50%); } }
.more { margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; transition: transform 0.3s var(--ease), background 0.3s; }
.btn:hover { transform: translateY(-2px); background: #000; }
.btn i { font-style: normal; }
@media (prefers-reduced-motion: reduce) { .ticker-list { animation: none; } }

/* ---------- 4. フジのこと ---------- */
.me { background: linear-gradient(var(--paper), #f6ecdd); overflow: hidden; }
.me-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .me-grid { grid-template-columns: 0.9fr 1.1fr; gap: 60px; } }
.sticker { position: relative; margin: 0; width: min(80vw, 440px); justify-self: center; }
.sticker img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(60, 40, 10, 0.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(0.6deg); } }
.sticker-sun { position: absolute; width: 90px; top: -4%; right: -2%; animation: spin 24s linear infinite; opacity: 0.9; }
@keyframes spin { to { transform: rotate(360deg); } }
.facts { margin: 0; display: grid; gap: 16px; }
.facts > div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--hand); font-size: 14px; color: var(--red); letter-spacing: 0.08em; }
.facts dd { margin: 0; font-size: 14.5px; color: #2d2823; }
.facts a { color: var(--blue); text-decoration-color: rgba(63, 134, 230, 0.4); text-underline-offset: 3px; }
@media (min-width: 640px) { .facts > div { grid-template-columns: 9em 1fr; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .sticker img, .sticker-sun { animation: none; } }

/* ---------- 5. このページの作り ---------- */
.making { background: #f6ecdd; }
.mesh { margin: 0 0 36px; position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #fffaf2, #efe3d1); border: 1px solid rgba(60, 40, 10, 0.08); }
.mesh canvas { width: 100%; aspect-ratio: 4 / 3; max-height: 70vh; cursor: grab; touch-action: pan-y; outline: none; }
@media (min-width: 640px) { .mesh canvas { aspect-ratio: 16 / 10; } }
.mesh canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }
.mesh canvas:active { cursor: grabbing; }
.mesh-ui { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }
.mesh-ui button { font: inherit; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(60, 40, 10, 0.15); background: rgba(255, 253, 249, 0.85); color: var(--ink-soft); cursor: pointer; }
.mesh-ui button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mesh figcaption { position: absolute; left: 16px; bottom: 12px; font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tools { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .tools { grid-template-columns: 1fr 1fr; gap: 12px 18px; } }
.tools li { display: grid; gap: 4px; padding: 14px 16px; background: #fffdf9; border: 1px solid rgba(60, 40, 10, 0.08); border-radius: 14px; font-size: 13.5px; line-height: 1.75; }
.tools b { font-family: var(--hand); font-weight: 600; font-size: 16px; color: var(--ink); }
.tools span { color: #3b352f; }
.note { font-size: 13px; color: var(--ink-soft); margin: 0; max-width: 46em; }

/* ---------- 下の帯 ---------- */
.foot { padding: 36px 0 44px; border-top: 1px solid var(--line); background: var(--paper); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: 13px; }
.foot-home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.foot-home img { border-radius: 50%; }
.foot nav { display: flex; gap: 16px; }
.foot nav a { text-decoration: none; color: var(--ink-soft); }
.foot nav a:hover { color: var(--ink); }
.foot p { margin: 0 0 0 auto; color: var(--ink-soft); }
