/* 044 こまもの ぽけっと ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff4dc;
  --c-orange: #ff8a3d;
  --c-yellow: #ffcf4a;
  --c-peach: #ffd0b8;
  --c-ink: #3a2416;
  --c-accent-text: #b04a0b;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #f0d9ab;
  --font: "Zen Maru Gothic", sans-serif;
  --font-ja: "Kiwi Maru", serif;
  --font-en: "Fredoka", sans-serif;
  --shift: 16px;
  /* スタンプのような波の縁（色の板に使う） */
  --stamp: radial-gradient(circle 9px at 50% 50%, #000 97%, transparent) 0 0 / 18px 18px round, linear-gradient(#000 0 0) 9px 9px / calc(100% - 18px) calc(100% - 18px) no-repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.label { font-family: var(--font-en); font-size: 18px; color: var(--c-accent-text); margin-bottom: 4px; }
.h2 { font-family: var(--font-ja); font-weight: 500; font-size: clamp(26px, 3.8vw, 40px); line-height: 1.5; color: var(--c-ink); margin-bottom: 28px; }
.note { margin-top: 16px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; border: 2.5px solid var(--c-ink); transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn--orange { background: var(--c-orange); color: var(--c-ink); box-shadow: 3px 3px 0 var(--c-ink); }
.btn--orange:hover, .btn--orange:focus-visible { background: var(--c-yellow); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--c-ink); }
.btn--ink { background: var(--c-ink); color: #fff; }
.btn--ink:hover, .btn--ink:focus-visible { background: #5a3a24; transform: translateY(-2px); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 17px; }

/* ===== ヘッダー ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255, 244, 220, .94); border-bottom: 2.5px solid var(--c-ink); }
.header__inner { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 10px 0 16px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; color: var(--c-ink); white-space: nowrap; flex: none; }
.logo__mark { width: 32px; height: 32px; }
.logo__ja { font-family: var(--font-ja); font-weight: 500; font-size: 19px; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: none; }
@media (min-width: 1080px) {
  .header__inner { height: 80px; padding: 0 40px; gap: 32px; }
  .logo__ja { font-size: 23px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; padding: 0 24px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-yellow); border: 2.5px solid var(--c-ink); color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); padding: 8px 20px 20px; display: flex; flex-direction: column; border-bottom: 2.5px solid var(--c-ink); }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: var(--c-ink); font-family: var(--font-ja); font-size: 17px; text-decoration: none; border-bottom: 2px dotted var(--c-line); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①（A10）：外周を囲むカード ===== */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: var(--c-bg);
  background-image: radial-gradient(rgba(255, 138, 61, .22) 2px, transparent 2.5px); background-size: 24px 24px; }
.hero__cards { position: absolute; inset: 0; }
.pcard { --w: 27vw; position: absolute; width: var(--w); left: calc(var(--x) - var(--w) / 2); top: calc(var(--y) - (var(--w) + 44px) / 2);
  background: #fff; padding: 6px 6px 0; border: 2.5px solid var(--c-ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--c-ink); transform: rotate(var(--r)); }
.pcard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.pcard figcaption { font-family: var(--font-ja); font-size: 15px; line-height: 1; color: var(--c-ink); text-align: center; padding: 10px 0 12px; white-space: nowrap; }
.pcard--1 { --x: 17%; --y: 23%; --r: -8deg; }
.pcard--2 { --x: 51%; --y: 20%; --r: 4deg; }
.pcard--3 { --x: 85%; --y: 24%; --r: 9deg; }
.pcard--4 { --x: 3%;  --y: 49%; --r: 6deg; }
.pcard--5 { --x: 97%; --y: 52%; --r: -7deg; }
.pcard--6 { --x: 16%; --y: 83%; --r: 7deg; }
.pcard--7 { --x: 51%; --y: 87%; --r: -4deg; }
.pcard--8 { --x: 85%; --y: 82%; --r: -10deg; }
.hero__center { position: absolute; z-index: 2; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(100% - 40px, 640px); text-align: center; }
.hero__en { font-family: var(--font-en); font-size: 18px; color: var(--c-accent-text); }
.hero__title { font-family: var(--font-ja); font-weight: 500; font-size: clamp(32px, 6vw, 76px); line-height: 1.35; color: var(--c-ink); margin: 2px 0 8px; }
.hero__lead { display: inline-block; font-weight: 700; color: var(--c-ink); background: var(--c-bg); border-radius: 999px; padding: 0 12px; margin-bottom: 20px; }
@media (min-width: 1080px) {
  .pcard { --w: 13vw; padding: 8px 8px 0; }
  .pcard figcaption { font-size: 16px; }
  .pcard--1 { --x: 9%;  --y: 36%; }
  .pcard--2 { --x: 26%; --y: 26%; }
  .pcard--3 { --x: 74%; --y: 26%; }
  .pcard--4 { --x: 91%; --y: 38%; }
  .pcard--5 { --x: 8%;  --y: 74%; }
  .pcard--6 { --x: 27%; --y: 82%; }
  .pcard--7 { --x: 73%; --y: 82%; }
  .pcard--8 { --x: 92%; --y: 72%; }
  .hero__center { top: 52%; }
}

/* ===== 色の板を重ねた写真（F02） ===== */
.stack { position: relative; margin: 0 calc(var(--shift) * 3) calc(var(--shift) * 3) 0; }
.plate { position: absolute; inset: 0; -webkit-mask: var(--stamp); mask: var(--stamp); }
.plate--orange { background: var(--c-orange); inset: var(--shift) calc(var(--shift) * -1) calc(var(--shift) * -1) var(--shift); }
.plate--yellow { background: var(--c-yellow); inset: calc(var(--shift) * 2) calc(var(--shift) * -2) calc(var(--shift) * -2) calc(var(--shift) * 2); }
.plate--peach { background: var(--c-peach); inset: calc(var(--shift) * 3) calc(var(--shift) * -3) calc(var(--shift) * -3) calc(var(--shift) * 3); }
.stack__photo { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2.5px solid var(--c-ink); border-radius: 16px; }

/* ===== お店について ===== */
.about { padding: 112px 20px; border-top: 2.5px solid var(--c-ink); background: #fff9ec; }
.about__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 56px; }
.about__body p + p { margin-top: 16px; }
@media (min-width: 900px) {
  :root { --shift: 22px; }
  .about { padding: 160px 6vw; }
  .about__inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 96px; }
}

/* ===== 演出③（G03）：新しく入ったもの ===== */
.new { padding: 112px 0; }
.arrivals { position: relative; }
.arrivals__list { border-top: 2.5px solid var(--c-ink); }
.row { display: grid; grid-template-columns: 36px 1fr 64px; grid-template-areas: "no name thumb" "no meta thumb"; align-items: center; gap: 0 12px; min-height: 88px; padding: 12px 0; border-bottom: 2.5px solid var(--c-ink); text-decoration: none; color: var(--c-ink); position: relative; transition: background-color .25s, padding .25s; }
.row__no { grid-area: no; font-family: var(--font-en); font-size: 18px; color: var(--c-accent-text); }
.row__name { grid-area: name; font-family: var(--font-ja); font-size: 18px; line-height: 1.5; }
.row__kind, .row__price { grid-row: 2; font-size: 15px; color: var(--c-sub); }
.row__kind { grid-column: 2; }
.row__price { grid-column: 2; justify-self: end; color: var(--c-ink); font-weight: 700; }
.row__thumb { grid-area: thumb; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 2px solid var(--c-ink); }
.row:hover, .row:focus-visible { background: var(--c-yellow); }
@media (min-width: 900px) {
  .row { grid-template-columns: 64px 1fr 120px 140px 72px; grid-template-areas: none; min-height: 96px; padding: 0 16px; }
  .row__no, .row__name, .row__kind, .row__price, .row__thumb { grid-area: auto; grid-row: auto; grid-column: auto; }
  .row__name { font-size: clamp(20px, 2.2vw, 26px); }
  .row__price { justify-self: end; }
  .row__thumb { width: 72px; height: 72px; justify-self: end; }
}
.arrivals__float { display: none; }
/* 動く版（マウスのあるPC）：小さな写真を消して、行の上に大きな写真を浮かべる */
.is-hover-float .row__thumb { visibility: hidden; }
.is-hover-float .row { grid-template-columns: 64px 1fr 120px 140px 16px; }
.is-hover-float .row:hover, .is-hover-float .row:focus-visible { padding-left: 28px; }
.is-hover-float .arrivals__float { display: block; position: absolute; z-index: 3; left: 0; top: 0; width: 220px; pointer-events: none; opacity: 0; }
.arrivals__float img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 2.5px solid var(--c-ink); box-shadow: 12px 12px 0 var(--c-orange), 24px 24px 0 var(--c-yellow); }

/* ===== 選び方 ===== */
.choose { padding: 0 0 112px; }
.rules { display: grid; gap: 40px; }
.rules { position: relative; z-index: 0; }
/* 白いカード（::after）の後ろに、スタンプ型の色の板（::before）をずらして敷く */
.rule { position: relative; isolation: isolate; padding: 28px 24px; margin-right: 16px; }
.rule::after { content: ""; position: absolute; z-index: -1; inset: 0; background: #fff; border: 2.5px solid var(--c-ink); border-radius: 20px; }
.rule::before { content: ""; position: absolute; z-index: -2; inset: 14px -14px -14px 14px; -webkit-mask: var(--stamp); mask: var(--stamp); background: var(--k); }
.rule--orange { --k: var(--c-orange); } .rule--yellow { --k: var(--c-yellow); } .rule--peach { --k: var(--c-peach); }
.rule__no { font-family: var(--font-en); font-size: 40px; line-height: 1; color: var(--c-accent-text); }
.rule h3 { font-family: var(--font-ja); font-weight: 500; font-size: 22px; color: var(--c-ink); margin: 8px 0; }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* ===== 営業日・アクセス ===== */
.access { padding: 112px 0; background: #fff9ec; border-top: 2.5px solid var(--c-ink); }
.access__inner { display: grid; gap: 16px; }
.info div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 2px dotted var(--c-line); }
.info dt { font-weight: 700; color: var(--c-ink); }
@media (min-width: 768px) { .access__inner { grid-template-columns: 1fr 2fr; gap: 64px; } .info div { grid-template-columns: 6em 1fr; gap: 24px; } }

/* ===== オンラインストア ===== */
.store { background: var(--c-yellow); border-top: 2.5px solid var(--c-ink); padding: 104px 20px; text-align: center; }
.store__title { font-family: var(--font-ja); font-weight: 500; font-size: clamp(26px, 4.4vw, 48px); line-height: 1.5; color: var(--c-ink); margin-bottom: 12px; }
.store p { color: var(--c-ink); font-weight: 700; margin-bottom: 32px; }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #fbecd6; padding: 64px 20px 32px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-ja); font-size: 28px; color: var(--c-yellow); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; }
.footer__fiction { margin-top: 24px; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
