/* HAPPY TOPPING — ポップ・若者向け
   太い線・ビビッドな色・大きな文字・弾む動き。商品は単色背景の写真で統一 */
:root {
  --cream: #FFF6E9;
  --pink: #FF4F8B;
  --pink-soft: #FFD3E2;
  --lemon: #FFD43B;
  --mint: #3DD6B5;
  --sky: #6EC8FF;
  --lav: #B9A3FF;
  --ink: #1D1A1F;
  --white: #fff;
  --jp: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --display: "Dela Gothic One", "M PLUS Rounded 1c", sans-serif;
  --en: "Bagel Fat One", "Dela Gothic One", sans-serif;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--jp); font-weight: 700; font-synthesis: none; font-size: 16px; line-height: 1.8; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 99px; }
.skip:focus { top: 12px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.sp { display: none; }

.kicker { font-family: var(--en); font-size: 18px; letter-spacing: .06em; color: var(--pink); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 14px; height: 14px; background: var(--lemon); border: var(--border); border-radius: 50%; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5.4vw, 64px); line-height: 1.25; letter-spacing: .02em; margin-top: 8px; }
.head { margin-bottom: clamp(36px, 5vw, 60px); }
.head-note { margin-top: 14px; font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: 0 30px; border: var(--border); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); text-decoration: none; font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .25s var(--bounce), box-shadow .25s var(--bounce); }
.btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--white { background: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 16px; background: #fff; border: var(--border); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); transition: transform .4s var(--bounce); }
.site-header.is-hidden { transform: translate(-50%, -140%); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.logo svg { width: 42px; height: 42px; flex: none; animation: wobble 3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.logo span { font-family: var(--en); font-size: 15px; line-height: 1; letter-spacing: .02em; }
.gnav { display: flex; gap: 4px; }
.gnav a { text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: 99px; transition: background .2s; }
.gnav a:hover { background: var(--pink-soft); }
.order-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 99px; background: var(--pink); color: #fff; text-decoration: none; font-size: 14px; border: var(--border); white-space: nowrap; }
.order-btn:hover { background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(var(--pink-soft) 3px, transparent 3.5px), radial-gradient(#FFE8A3 3px, transparent 3.5px); background-size: 46px 46px; background-position: 0 0, 23px 23px; opacity: .9; }
.hero-inner { position: relative; width: min(1180px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-tag { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tag span { font-family: var(--en); font-size: 14px; padding: 4px 14px; border: var(--border); border-radius: 99px; background: #fff; }
.hero-tag span:nth-child(1) { background: var(--lemon); }
.hero-tag span:nth-child(2) { background: var(--mint); }
.hero-tag span:nth-child(3) { background: var(--sky); }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 9vw, 118px); line-height: 1.08; margin: 22px 0 22px; letter-spacing: -.01em; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title b { display: inline-block; font-weight: 400; animation: popIn .8s var(--bounce) both; }
.hero-title .line--pink { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.hero-title .line:nth-child(1) b:nth-child(1) { animation-delay: .1s; } .hero-title .line:nth-child(1) b:nth-child(2) { animation-delay: .16s; } .hero-title .line:nth-child(1) b:nth-child(3) { animation-delay: .22s; } .hero-title .line:nth-child(1) b:nth-child(4) { animation-delay: .28s; }
.hero-title .line:nth-child(2) b:nth-child(1) { animation-delay: .38s; } .hero-title .line:nth-child(2) b:nth-child(2) { animation-delay: .44s; } .hero-title .line:nth-child(2) b:nth-child(3) { animation-delay: .5s; } .hero-title .line:nth-child(2) b:nth-child(4) { animation-delay: .56s; }
.hero-title .line:nth-child(3) b:nth-child(1) { animation-delay: .7s; } .hero-title .line:nth-child(3) b:nth-child(2) { animation-delay: .78s; } .hero-title .line:nth-child(3) b:nth-child(3) { animation-delay: .86s; } .hero-title .line:nth-child(3) b:nth-child(4) { animation-delay: .94s; } .hero-title .line:nth-child(3) b:nth-child(5) { animation-delay: 1.02s; }
@keyframes popIn { 0% { opacity: 0; transform: translateY(60px) scale(.4) rotate(-12deg); } 100% { opacity: 1; transform: none; } }
.hero-title .line--pink b { animation-name: popIn, jump; animation-duration: .8s, 2.4s; animation-timing-function: var(--bounce), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; }
.hero-title .line--pink b:nth-child(1) { animation-delay: .7s, 2s; } .hero-title .line--pink b:nth-child(2) { animation-delay: .78s, 2.1s; } .hero-title .line--pink b:nth-child(3) { animation-delay: .86s, 2.2s; } .hero-title .line--pink b:nth-child(4) { animation-delay: .94s, 2.3s; } .hero-title .line--pink b:nth-child(5) { animation-delay: 1.02s, 2.4s; }
@keyframes jump { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-14px) rotate(-4deg); } 90% { transform: translateY(0) scale(1.04, .94); } }
.hero-lead { font-size: clamp(15px, 1.4vw, 18px); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual { position: relative; padding: 6% 6% 10%; }
.hero-photo { border: var(--border); border-radius: 46% 54% 42% 58% / 50% 44% 56% 50%; overflow: hidden; box-shadow: 10px 10px 0 var(--ink); aspect-ratio: 1 / 1.05; animation: blob 12s ease-in-out infinite; background: var(--pink-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blob { 0%, 100% { border-radius: 46% 54% 42% 58% / 50% 44% 56% 50%; } 50% { border-radius: 56% 44% 54% 46% / 42% 56% 44% 58%; } }
.float { position: absolute; width: 30%; border-radius: 50%; border: var(--border); box-shadow: 4px 4px 0 var(--ink); aspect-ratio: 1; object-fit: cover; }
.float-1 { left: -4%; bottom: 0; animation: floaty 5s ease-in-out infinite; }
.float-2 { right: -2%; top: 0; width: 24%; animation: floaty 6s ease-in-out -2s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }
.sticker { position: absolute; display: grid; place-items: center; text-align: center; font-family: var(--jp); font-weight: 800; border: var(--border); box-shadow: 3px 3px 0 var(--ink); }
.sticker-star { right: 6%; bottom: 2%; width: 120px; height: 120px; border: 0; box-shadow: none; font-family: var(--en); font-weight: 400; font-size: 22px; isolation: isolate; transform: rotate(-12deg); }
.sticker-star::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lemon); clip-path: polygon(50% 0, 61% 30%, 95% 25%, 72% 50%, 95% 75%, 61% 70%, 50% 100%, 39% 70%, 5% 75%, 28% 50%, 5% 25%, 39% 30%); animation: spin 14s linear infinite; }
.sticker-round { left: 2%; top: 6%; width: 100px; height: 100px; border-radius: 50%; background: var(--mint); font-size: 16px; line-height: 1.3; transform: rotate(-12deg); animation: pulse 2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-8deg) scale(1.08); } }

/* ---------- marquee ---------- */
.marquee { background: var(--pink); color: #fff; border-block: var(--border); transform: rotate(-2deg); margin: 10px -20px; overflow: hidden; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { padding: 16px 0; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.6vw, 30px); white-space: nowrap; padding-right: 1em; }
.marquee em { font-style: normal; color: var(--lemon); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- limited ---------- */
.limited-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.limited-visual { position: relative; }
.limited-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--border); border-radius: 36px; box-shadow: 10px 10px 0 var(--ink); }
.stamp { position: absolute; right: -24px; top: -28px; width: 150px; height: 150px; display: grid; place-items: center; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.stamp text { font-family: var(--en); font-size: 13.5px; letter-spacing: 1.5px; fill: var(--ink); }
.stamp b { width: 92px; height: 92px; border-radius: 50%; background: var(--pink); color: #fff; border: var(--border); display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; transform: rotate(-10deg); }
.limited-desc { margin-top: 18px; font-size: 16px; }
.limited-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.limited-price b { font-family: var(--en); font-weight: 400; font-size: clamp(48px, 6vw, 72px); color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; line-height: 1; }
.countdown { margin-top: 28px; padding: 20px 22px; background: #fff; border: var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.countdown-label { font-size: 14px; }
.countdown-nums { display: flex; gap: 10px; margin-top: 8px; }
.countdown-nums span { flex: 1; display: flex; flex-direction: column; align-items: center; background: var(--ink); color: #fff; border-radius: 14px; padding: 8px 4px 6px; }
.countdown-nums b { font-family: var(--en); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown-nums i { font-style: normal; font-size: 11px; color: var(--lemon); }
.countdown-end { font-size: 12px; margin-top: 10px; }

/* ---------- ranking ---------- */
.ranking { background: var(--lemon); border-block: var(--border); }
.ranking .kicker { color: var(--ink); }
.ranking .kicker::before { background: var(--pink); }
.rank-list { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: end; }
.rank { position: relative; background: #fff; border: var(--border); border-radius: 28px; padding: 18px 18px 22px; box-shadow: var(--shadow); transition: transform .35s var(--bounce); }
.rank:hover { transform: translateY(-8px) rotate(-1.5deg); }
.rank--1 { padding-top: 30px; }
.rank figure { border: var(--border); border-radius: 20px; overflow: hidden; background: var(--bg); aspect-ratio: 1; }
.rank figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bounce); }
.rank:hover figure img { transform: scale(1.08) rotate(3deg); }
.rank h3 { font-size: clamp(18px, 1.8vw, 22px); margin-top: 14px; line-height: 1.4; }
.rank-price { font-family: var(--en); font-size: 28px; color: var(--pink); line-height: 1.2; }
.rank-comment { font-size: 13px; margin-top: 4px; }
.rank-no { position: absolute; z-index: 2; left: -18px; top: -26px; width: 70px; height: 70px; display: grid; place-items: center; font-family: var(--en); font-size: 42px; border-radius: 50%; border: var(--border); background: var(--mint); color: var(--ink); }
.rank--1 .rank-no { background: var(--pink); color: #fff; width: 86px; height: 86px; font-size: 54px; }
.crown { position: absolute; z-index: 2; left: 50%; top: -32px; width: 76px; transform: translateX(-50%) rotate(-6deg); animation: crown 2.6s ease-in-out infinite; }
@keyframes crown { 0%, 100% { transform: translateX(-50%) rotate(-6deg); } 50% { transform: translateX(-50%) translateY(-6px) rotate(6deg); } }

/* ---------- menu ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chips button { min-height: 48px; padding: 0 22px; border: var(--border); border-radius: 99px; background: #fff; font-weight: 800; cursor: pointer; transition: transform .25s var(--bounce), background .2s; }
.chips button:hover { transform: translateY(-3px); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.item { background: #fff; border: var(--border); border-radius: 22px; overflow: hidden; transition: transform .35s var(--bounce), box-shadow .35s var(--bounce), opacity .3s; box-shadow: 4px 4px 0 var(--ink); }
.item:hover { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 8px 8px 0 var(--ink); }
.item figure { background: var(--bg); aspect-ratio: 1; border-bottom: var(--border); overflow: hidden; }
.item figure img { width: 100%; height: 100%; object-fit: cover; }
.item > div { padding: 12px 14px 16px; }
.item h3 { font-size: 16px; line-height: 1.45; }
.price { font-family: var(--en); font-size: 22px; color: var(--pink); line-height: 1.3; margin-top: 2px; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.tag { font-size: 11px; padding: 1px 9px; border-radius: 99px; background: var(--cream); border: 2px solid var(--ink); line-height: 1.6; }
.tag--hot { background: var(--pink); color: #fff; }
.tag--new { background: var(--mint); }
.item.is-out { display: none; }
.item.is-pop { animation: itemPop .5s var(--bounce); }
@keyframes itemPop { from { transform: scale(.85); opacity: 0; } }

/* ---------- custom ---------- */
.custom { background: var(--mint); border-block: var(--border); }
.custom .kicker { color: var(--ink); }
.builder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); background: #fff; border: var(--border); border-radius: 36px; padding: clamp(20px, 4vw, 48px); box-shadow: 10px 10px 0 var(--ink); }
.builder-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--cream); border: var(--border); border-radius: 28px; padding: 20px; background-image: radial-gradient(var(--pink-soft) 2px, transparent 2.5px); background-size: 22px 22px; }
.builder-preview svg { width: min(100%, 300px); height: auto; overflow: visible; }
.builder-count { margin-top: 10px; font-size: 14px; }
.builder-count b { font-family: var(--en); font-weight: 400; font-size: 26px; color: var(--pink); }
.topping-el { transform-box: fill-box; transform-origin: center; animation: dropIn .55s var(--bounce) both; }
@keyframes dropIn { from { transform: translateY(-140px) scale(.6); opacity: 0; } }
legend { font-size: 18px; font-weight: 800; margin-bottom: 12px; padding: 0; }
legend small { font-size: 13px; font-weight: 700; }
fieldset + fieldset { margin-top: 26px; }
.base-list, .top-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.base-list label, .top-list label { cursor: pointer; }
.base-list input, .top-list input { position: absolute; opacity: 0; }
.base-list span, .top-list span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: var(--border); border-radius: 18px; background: #fff; font-size: 14px; text-align: center; line-height: 1.35; transition: transform .25s var(--bounce), background .2s; min-height: 100%; }
.base-list i, .top-list i { font-style: normal; font-family: var(--en); font-size: 15px; color: var(--pink); }
.top-list svg { width: 34px; height: 34px; }
.base-list span:hover, .top-list span:hover { transform: translateY(-3px); }
.base-list input:checked + span { background: var(--lemon); transform: rotate(-2deg); }
.top-list input:checked + span { background: var(--pink); color: #fff; transform: rotate(-2deg) scale(1.03); }
.top-list input:checked + span i { color: var(--lemon); }
.top-list input:disabled + span { opacity: .4; cursor: not-allowed; }
.base-list input:focus-visible + span, .top-list input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 3px; }
.builder-limit { min-height: 1.6em; font-size: 13px; color: var(--pink); margin-top: 8px; }
.builder-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px 20px; background: var(--ink); color: #fff; border-radius: 22px; }
.builder-total p:first-child { font-size: 12px; color: var(--lemon); }
.builder-summary { font-size: 14px; line-height: 1.5; }
.builder-price { font-family: var(--en); font-size: clamp(36px, 4vw, 50px); color: var(--lemon); line-height: 1; white-space: nowrap; }
.builder-price.is-bump { animation: bump .45s var(--bounce); }
@keyframes bump { 40% { transform: scale(1.25) rotate(-4deg); } }
.builder-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* ---------- sns ---------- */
.sns-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sns-text .title { font-size: clamp(40px, 6vw, 76px); }
.hl { color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.sns-text > p { margin-top: 20px; }
.sns-text b { background: linear-gradient(transparent 60%, var(--lemon) 60%); }
.sns-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.sns-btn { text-decoration: none; padding: 10px 20px; border: var(--border); border-radius: 99px; background: #fff; font-family: var(--en); font-size: 15px; transition: transform .25s var(--bounce), background .2s; }
.sns-btn:hover { background: var(--lemon); transform: rotate(-3deg) scale(1.05); }
.sns-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sns-photo { border: var(--border); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #fff; padding: 10px 10px 40px; }
.sns-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.sns-photo--1 { transform: rotate(-4deg); }
.sns-photo--2 { transform: rotate(3deg) translateY(40px); }

/* ---------- shop ---------- */
.shop-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.shop-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: var(--border); border-radius: 30px; box-shadow: var(--shadow); }
.shop-cards { display: grid; gap: 16px; }
.shop-card { background: #fff; border: var(--border); border-radius: 24px; padding: 20px 24px; box-shadow: 5px 5px 0 var(--c); position: relative; }
.shop-card h3 { font-family: var(--display); font-weight: 400; font-size: 24px; }
.shop-card p { font-size: 14px; margin-top: 4px; }
.shop-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px !important; padding: 2px 12px; border-radius: 99px; background: var(--cream); border: 2px solid var(--ink); font-size: 13px !important; }
.shop-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #BBB; }
.shop-status.is-open::before { background: #2BC46E; }
.shop-note { font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 0 0 30px; margin-top: 60px; position: relative; }
.footer-wave { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; padding-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-logo { font-family: var(--en); font-size: clamp(54px, 9vw, 120px); line-height: .9; color: var(--pink); -webkit-text-stroke: 2px #fff; paint-order: stroke fill; }
.site-footer nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; font-size: 14px; }
.site-footer nav a:hover { color: var(--lemon); }
.demo-note { width: min(1180px, calc(100% - 40px)); margin: 40px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 11px; font-weight: 500; color: #AAA; }
.copy { width: min(1180px, calc(100% - 40px)); margin: 4px auto 0; font-family: var(--en); font-size: 13px; color: #AAA; }

/* ---------- toast / confetti / sparkle ---------- */
.toast { position: fixed; z-index: 400; left: 50%; bottom: 30px; transform: translate(-50%, 220%); visibility: hidden; background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 99px; border: 3px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font-size: 14px; transition: transform .45s var(--bounce), visibility .45s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }
.confetti { position: fixed; z-index: 390; width: 10px; height: 14px; pointer-events: none; border-radius: 2px; }
.sparkle { position: fixed; z-index: 380; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--c, var(--pink)); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: sparkle .7s ease-out forwards; }
@keyframes sparkle { to { transform: translateY(18px) scale(0) rotate(90deg); opacity: 0; } }

/* ---------- scroll pop ---------- */
.js .pop-in { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .6s var(--ease), transform .8s var(--bounce); }
.js .pop-in.is-in { opacity: 1; transform: none; }
.js .sns-photo--1.pop-in.is-in { transform: rotate(-4deg); }
.js .sns-photo--2.pop-in.is-in { transform: rotate(3deg) translateY(40px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sp { display: inline; }
  .hero { padding-top: 110px; }
  .hero-inner, .limited-grid, .sns-grid, .shop-grid, .builder { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .rank-list { grid-template-columns: 1fr; gap: 40px; max-width: 420px; margin-inline: auto; }
  .stamp { width: 120px; height: 120px; right: -8px; }
  .stamp b { width: 74px; height: 74px; font-size: 16px; }
  .builder-preview svg { width: 200px; }
  .sns-photos { max-width: 520px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .site-header { top: 10px; gap: 8px; }
  .logo span { font-size: 13px; }
  .order-btn { padding: 0 14px; font-size: 12px; min-height: 42px; }
  .hero-title { font-size: clamp(46px, 15vw, 70px); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .base-list, .top-list { grid-template-columns: repeat(2, 1fr); }
  .builder-total { flex-direction: column; align-items: flex-start; }
  .countdown-nums { gap: 6px; }
  /* ランキング：1位は大きく、2・3位は2列に並べて縦の長さを半分に */
  .rank-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px 14px; max-width: none; }
  .rank { min-width: 0; }
  .rank--1 { grid-column: 1 / -1; }
  .rank:not(.rank--1) { padding: 14px 12px 16px; border-radius: 22px; }
  .rank:not(.rank--1) figure { border-radius: 14px; }
  .rank:not(.rank--1) h3 { font-size: 15px; margin-top: 10px; }
  .rank:not(.rank--1) .rank-price { font-size: 22px; }
  .rank:not(.rank--1) .rank-comment { font-size: 12px; }
  .rank:not(.rank--1) .rank-no { width: 54px; height: 54px; font-size: 32px; left: -10px; top: -22px; }
  /* 絞り込みは1行の横スクロール */
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 4px 20px 8px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; min-height: 44px; padding: 0 18px; }
  .sticker-star { width: 84px; height: 84px; font-size: 17px; }
  .sticker-round { width: 76px; height: 76px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .pop-in { opacity: 1; transform: none; }
}

/* ---- 日本語の改行（全サイト共通・2026-10-17 追加）----
   見出し・ボタンは文節で折り返し（Chrome/Edge）、本文は最後の行に1〜2文字だけ残るのを防ぐ。
   :where() で詳細度を0にしているので、各サイトの個別指定が常に優先される */
:where(h1, h2, h3, h4, h5, h6, dt, th, figcaption, button, label, [class*="lead"]) { word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
:where(p, li, dd, td, blockquote) { text-wrap: pretty; line-break: strict; }
:where(time, .nw) { white-space: nowrap; }

/* ---- フッターのナビと営業情報（2026-10-17 追加）---- 色と書体はフッターから受け継ぐ */
.pf-fnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 28px; margin: 26px auto 0; padding: 0 16px; }
.pf-fnav a { padding: 6px 0; font-size: 13px; letter-spacing: .12em; text-decoration: none; color: inherit; opacity: .82; transition: opacity .2s; }
.pf-fnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pf-finfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin: 12px auto 0; padding: 0 16px; font-size: 12.5px; line-height: 1.8; opacity: .72; }
.pf-finfo span { white-space: nowrap; }
@media (max-width: 600px) { .pf-fnav { gap: 0 20px; } .pf-finfo { flex-direction: column; align-items: center; gap: 0; } .pf-finfo span { white-space: normal; text-wrap: balance; text-align: center; } }

/* ---- 管理画面から変えたときの表示（売り切れ・臨時休業）---- */
.item figure { position: relative; }
.item.is-soldout figure img { filter: grayscale(.9) opacity(.6); }
.soldout-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 4px 14px; border: var(--border); border-radius: 999px; background: #fff; font-family: var(--en); font-size: 18px; letter-spacing: .04em; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.item.is-soldout .price { text-decoration: line-through; opacity: .5; }
.base-list label.is-soldout, .top-list label.is-soldout { opacity: .4; pointer-events: none; }
.base-list label.is-soldout span::after, .top-list label.is-soldout span::after { content: "品切れ"; display: block; font-size: 10px; font-weight: 800; color: var(--pink); }
.shop-status.is-closed { background: var(--ink); color: #fff; }
