/* 091 ハコット紙器 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff6e6;
  --c-kraft: #e8c9a0;
  --c-orange: #ff9636;
  --c-yellow: #ffd25a;
  --c-ink: #4a2c14;
  --c-night: #2b1a0d;
  --c-accent-text: #b04f00;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Zen Maru Gothic", sans-serif;
  --font-head: "Potta One", "Zen Maru Gothic", sans-serif;
  --font-en: "Sniglet", sans-serif;
  --line: 3px solid var(--c-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
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); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
figure { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.en { font-family: var(--font-en); font-weight: 800; font-size: 18px; color: var(--c-accent-text); }
.en--light { color: var(--c-yellow); }
.h2 { font-family: var(--font-head); font-size: clamp(28px, 4.2vw, 44px); line-height: 1.45; color: var(--c-ink); margin: 4px 0 28px; }
.h2--light { color: #fff6e6; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: var(--line); border-radius: 16px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; box-shadow: 4px 4px 0 var(--c-ink); transition: transform .15s, box-shadow .15s, background-color .2s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-ink); }
.btn:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; }
.btn--orange { background: var(--c-orange); color: var(--c-ink); }
.btn--orange:hover { background: var(--c-yellow); }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 18px; }

/* ===== ヘッダー ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 230, .95); border-bottom: var(--line); }
.header__inner { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 10px 0 20px; max-width: 1280px; 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__box { width: 26px; height: 22px; background: var(--c-kraft); border: var(--line); border-radius: 4px; position: relative; }
.logo__box::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 5px; margin-left: -2.5px; background: var(--c-orange); }
.logo__en { font-family: var(--font-en); font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.logo__ja { font-size: 15px; font-weight: 700; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; box-shadow: 3px 3px 0 var(--c-ink); }
@media (max-width: 479px) { .logo__ja, .logo__box { display: none; } .header__inner { gap: 8px; } }
@media (min-width: 1080px) {
  .header__inner { padding: 0 32px; gap: 24px; }
  .gnav { display: flex; gap: 22px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; 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: 22px; height: 3px; border-radius: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.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); border-bottom: var(--line); padding: 8px 20px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: var(--c-ink); font-weight: 700; text-decoration: none; border-bottom: 2px dashed var(--c-kraft); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== メインビジュアル（A09・コラージュ） ===== */
.hero { overflow: hidden; background: radial-gradient(circle, rgba(232, 201, 160, .5) 2px, transparent 2.5px) 0 0 / 26px 26px, var(--c-bg); border-bottom: var(--line); }
.hero__stage { position: relative; height: 780px; max-width: 1440px; margin: 0 auto; display: grid; place-items: center; }
.shape, .cut, .tag { position: absolute; }
.cut { filter: drop-shadow(6px 8px 0 rgba(74, 44, 20, .18)); }
.shape--sun { width: 46vw; max-width: 340px; aspect-ratio: 1; left: -12vw; top: 8%; border-radius: 50%; background: var(--c-yellow); border: var(--line); }
.shape--dot { width: 44px; height: 44px; right: 32%; top: 7%; border-radius: 50%; background: var(--c-orange); border: var(--line); }
.shape--ring { width: 30vw; max-width: 220px; aspect-ratio: 1; right: -6vw; bottom: 14%; border-radius: 50%; border: 4px dashed var(--c-ink); }
.shape--star { width: 52px; left: 12%; bottom: 30%; }
.shape--ribbon { width: 150px; right: 16%; top: 20%; }
.cut--wrap { width: 34vw; max-width: 260px; left: 2%; top: 3%; transform: rotate(-12deg); }
.cut--bag { width: 28vw; max-width: 250px; right: 2%; top: 4%; transform: rotate(8deg); }
.cut--melon { width: 26vw; max-width: 200px; right: 24%; top: 1%; transform: rotate(-8deg); display: none; }
.cut--box { width: 46vw; max-width: 380px; left: 0; bottom: 2%; transform: rotate(-6deg); }
.cut--croissant { width: 40vw; max-width: 300px; right: 0; bottom: 6%; transform: rotate(10deg); }
.tag { display: grid; place-items: center; text-align: center; width: 96px; height: 96px; border-radius: 50%; border: var(--line); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
.tag b { font-family: var(--font-head); font-weight: 400; font-size: 20px; }
.tag--yellow { background: var(--c-yellow); right: 4%; top: 37%; transform: rotate(10deg); }
.tag--white { background: #fff; left: 3%; top: 39%; transform: rotate(-10deg); display: none; }
.hero__copy { position: relative; z-index: 5; width: min(88%, 520px); text-align: center; background: #fff; border: var(--line); border-radius: 28px; box-shadow: 8px 8px 0 var(--c-ink); padding: 32px 20px 28px; }
.hero__en { font-family: var(--font-en); font-weight: 800; font-size: 18px; color: var(--c-accent-text); }
.hero__title { font-family: var(--font-head); font-size: clamp(40px, 6vw, 72px); line-height: 1.3; color: var(--c-ink); margin: 6px 0 12px; }
.hero__lead { font-weight: 700; margin-bottom: 20px; }
@media (min-width: 900px) {
  .hero__stage { height: min(860px, calc(100vh - 68px)); min-height: 720px; }
  .shape--sun { left: 3%; top: 12%; width: 24vw; }
  .cut--wrap { width: 17vw; left: 6%; top: 6%; }
  .cut--bag { width: 15vw; right: 7%; top: 9%; }
  .cut--melon { display: block; width: 12vw; right: 28%; top: 4%; }
  .cut--box { width: 24vw; left: 6%; bottom: 4%; }
  .cut--croissant { width: 20vw; right: 10%; bottom: 6%; }
  .shape--ring { right: 3%; bottom: 30%; width: 13vw; }
  .shape--star { left: 31%; bottom: 10%; }
  .tag { width: 116px; height: 116px; font-size: 17px; }
  .tag--yellow { right: 26%; top: auto; bottom: 8%; }
  .tag--white { display: grid; left: 24%; top: 12%; }
  .hero__copy { padding: 44px 40px 40px; }
}

/* ===== ハコットのこと ===== */
.about { padding: 96px 0; }
.about__lead { max-width: 640px; margin-bottom: 40px; }
.points { display: grid; gap: 20px; }
.points li { background: #fff; border: var(--line); border-radius: 24px; padding: 24px; box-shadow: 6px 6px 0 var(--c-kraft); min-width: 0; }
.points__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-yellow); border: var(--line); font-family: var(--font-en); font-weight: 800; font-size: 20px; color: var(--c-ink); margin-bottom: 12px; }
.points h3 { font-family: var(--font-head); font-size: 22px; color: var(--c-ink); margin-bottom: 4px; }
@media (min-width: 768px) { .points { grid-template-columns: repeat(3, 1fr); } }

/* ===== ラインナップ（Swiper） ===== */
.lineup { padding: 96px 0; background: var(--c-kraft); border-top: var(--line); border-bottom: var(--line); overflow: hidden; }
.lineup .en { color: var(--c-ink); }
.lineup__swiper { padding: 8px 20px 12px; max-width: 1280px; }
.item { width: 72%; max-width: 300px; height: auto; background: #fff; border: var(--line); border-radius: 24px; padding: 20px 20px 24px; box-shadow: 5px 5px 0 var(--c-ink); }
.item img, .item__svg { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 16px; margin-bottom: 14px; padding: 12px; }
.item--kraft img, .item--kraft .item__svg { background: #f6e7d2; }
.item--yellow img, .item--yellow .item__svg { background: #fff0c2; }
.item--cream img, .item--cream .item__svg { background: var(--c-bg); }
.item--orange img, .item--orange .item__svg { background: #ffe1c4; }
.item h3 { font-family: var(--font-head); font-size: 22px; color: var(--c-ink); }
.item p { font-size: 15px; color: var(--c-sub); }
.lineup__swiper .swiper-wrapper { margin: 0; padding: 0 0 8px; }
.lineup__swiper:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; }
.lineup__swiper:not(.swiper-initialized) .item { scroll-snap-align: start; }
.lineup__ctrl { display: none; }
.swiper-initialized .lineup__ctrl { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.lineup__arrow { position: static; margin: 0; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: var(--c-yellow); color: var(--c-ink); box-shadow: 3px 3px 0 var(--c-ink); }
.lineup__arrow svg { width: 10px; height: 18px; }
.lineup__dots.swiper-pagination { position: static; width: auto; }
.lineup__dots .swiper-pagination-bullet { position: relative; width: 26px; height: 44px; margin: 0 !important; background: transparent; border-radius: 0; opacity: 1; vertical-align: middle; }
.lineup__dots .swiper-pagination-bullet::before { content: ""; position: absolute; left: 6px; top: 15px; width: 14px; height: 14px; border-radius: 4px; background: #fff; border: 2px solid var(--c-ink); box-sizing: border-box; transform: rotate(45deg); }
.lineup__dots .swiper-pagination-bullet-active::before { background: var(--c-orange); }
.lineup__pause { min-height: 44px; padding: 0 18px; border: 2px solid var(--c-ink); border-radius: 999px; background: #fff; color: var(--c-ink); font-family: var(--font); font-weight: 700; font-size: 15px; cursor: pointer; }

/* ===== お店の例 ===== */
.cases { padding: 96px 0; }
.cases__list { display: grid; gap: 28px; }
.cases__list li { min-width: 0; }
.cases__list figure { border: var(--line); border-radius: 24px; overflow: hidden; box-shadow: 6px 6px 0 var(--c-orange); }
.cases__list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-kraft); }
.cases__tag { display: inline-block; margin: 16px 0 6px; padding: 0 14px; border-radius: 999px; background: var(--c-yellow); border: 2px solid var(--c-ink); font-weight: 700; color: var(--c-ink); }
.cases__list h3 { font-family: var(--font-head); font-size: 21px; line-height: 1.5; color: var(--c-ink); }
@media (min-width: 768px) { .cases__list { grid-template-columns: repeat(3, 1fr); } .cases__list li:nth-child(2) { margin-top: 48px; } }

/* ===== 出荷（A12） ===== */
.ship { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, #6b3a12 0, var(--c-night) 60%); color: #f3e6d3; padding: 96px 0 0; border-top: var(--line); }
.ship__text { position: relative; z-index: 2; text-align: center; }
.ship__text p:last-child { max-width: 560px; margin: 0 auto; }
.globe { position: relative; width: min(120vw, 900px); aspect-ratio: 1; margin-top: 40px; margin-left: calc(50% - min(60vw, 450px)); margin-bottom: calc(min(120vw, 900px) * -0.42); }
/* JSなし：CSSの点の円（止まったまま） */
.globe::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 90, .75) 1.6px, transparent 2.2px) 0 0 / 14px 14px; box-shadow: 0 0 80px rgba(255, 150, 54, .35), inset 0 0 0 2px rgba(255, 210, 90, .4); }
.globe__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.has-globe .globe::before { background: none; }
.has-globe .globe__canvas { display: block; }

/* ===== ご注文の流れ ===== */
.flow { padding: 96px 0; }
.steps { display: grid; gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: var(--line); border-radius: 24px; padding: 24px 20px 24px 88px; min-height: 120px; min-width: 0; }
.steps span { position: absolute; left: 18px; top: 22px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c-orange); border: var(--line); font-family: var(--font-en); font-weight: 800; font-size: 24px; color: var(--c-ink); }
.steps h3 { font-family: var(--font-head); font-size: 21px; color: var(--c-ink); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 88px 20px 24px; }
  .steps span { left: 20px; top: 20px; }
}

/* ===== お問い合わせ ===== */
.contact { padding: 96px 0 112px; background: var(--c-yellow); border-top: var(--line); text-align: center; }
.contact__inner p { margin-bottom: 24px; }
.contact__tel { margin-top: 24px; }
.contact__tel a { font-family: var(--font-en); font-weight: 800; font-size: 28px; color: var(--c-ink); text-decoration: none; }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #f3e6d3; text-align: center; padding: 56px 20px 40px; font-size: 15px; }
.footer__logo { font-family: var(--font-en); font-weight: 800; font-size: 24px; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 16px; }

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