﻿@charset "UTF-8";

/* ========================================
   01 Base / Reset
======================================== */

:root {
  --brown: #6d4326;
  --brown-dark: #3c2416;
  --cream: #fff4d6;
  --paper: #fffaf0;
  --green: #7da66a;
  --orange: #f1a33b;
  --blue: #8fc7df;
  --shadow: 0 20px 45px rgba(76, 48, 24, 0.18);
  --radius: 28px;
  --side: 260px;
  --main: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown-dark);
  font-family: "Hiragino Maru Gothic ProN",
      "Yu Gothic",
      "Noto Sans JP",
      sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(255, 226, 150, 0.45), transparent 34%),
      radial-gradient(circle at 80% 20%, rgba(139, 199, 223, 0.35), transparent 32%),
      linear-gradient(180deg, #fff8e9 0%, #f7ead4 100%);
}

body.is-modal-open,
body.is-checkout-open,
body.is-sp-cart-open {
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* ========================================
   02 PC Background Stage
======================================== */

.pc-bg-stage {
  display: none;
}

/* ========================================
   03 Layout / Sections
======================================== */

.site-shell {
  width: min(100%, calc(var(--side) * 2 + var(--main)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--side) minmax(0, var(--main)) var(--side);
  min-height: 100vh;
}

.main-site {
  position: relative;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 0 50px rgba(76, 48, 24, 0.16);
}

.section {
  padding: 86px 36px;
  position: relative;
}

.story {
  background: radial-gradient(circle at 10% 20%, rgba(241, 163, 59, 0.22), transparent 30%),
      #fff8e8;
}

.goods {
  background: radial-gradient(circle at 90% 5%, rgba(125, 166, 106, 0.22), transparent 28%),
      #fffdf6;
}

.characters {
  background: radial-gradient(circle at 5% 20%, rgba(143, 199, 223, 0.24), transparent 32%),
      #f6fbf7;
}

.contact {
  background: linear-gradient(180deg, #fff7e3, #f4dfbd);
}

.site-footer {
  min-height: 360px;
  padding: 42px 36px 70px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, #f4dfbd, #fff4d6);
}

.footer-bears {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-bears img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(76, 48, 24, 0.18));
  animation: footerBearFloat 4.2s ease-in-out infinite;
}

.footer-bears img:nth-child(2) {
  animation-delay: -0.7s;
}

.footer-bears img:nth-child(3) {
  animation-delay: -1.4s;
}

.footer-bears img:nth-child(4) {
  animation-delay: -2.1s;
}

.site-footer p {
  margin: 0;
  color: var(--brown);
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.35;
  color: var(--brown);
}

.story-card,
.contact-box {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  border: 2px solid rgba(109, 67, 38, 0.12);
}

.story-card p {
  margin: 0;
  font-weight: 700;
  line-height: 2.05;
}

.story-card p + p {
  margin-top: 18px;
}

.contact-box {
  text-align: center;
}

.contact-box h2 {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.contact-box p {
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.8;
}

/* ========================================
   04 Side Navigation / Broadcast
======================================== */

.side-frame {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 100vh;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-frame--left,
.side-frame--right {
  background: transparent;
}

.side-logo img {
  width: 190px;
  margin-inline: auto;
  filter: drop-shadow(0 10px 18px rgba(83, 53, 24, 0.18));
}

.side-nav {
  width: 100%;
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.side-nav a {
  position: relative;
  min-height: 58px;
  padding: 13px 18px 13px 58px;
  border: 2px solid rgba(109, 67, 38, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 0 rgba(109, 67, 38, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-nav__face {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(255, 244, 214, 0.78));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75),
      0 5px 10px rgba(76, 48, 24, 0.16);
  overflow: hidden;
}

.side-nav__face img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transform: translateY(8px) scale(1.15);
  filter: drop-shadow(0 4px 4px rgba(76, 48, 24, 0.16));
  transition: transform 0.25s ease;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-3px);
  box-shadow: 0 12px 0 rgba(109, 67, 38, 0.12);
}

.side-nav a:hover .side-nav__face img {
  transform: translateY(4px) scale(1.22) rotate(-3deg);
}

.side-mini {
  margin-top: auto;
  width: 100%;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-weight: 800;
}

.side-mini img {
  width: 130px;
  margin: 0 auto 8px;
  animation: float 4s ease-in-out infinite;
}

.broadcast-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 86%;
  margin-top: auto;
  margin-inline: auto;
}

.broadcast-card__video {
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 30px rgba(70,40,10,.16);
  border-radius: 20px;
}

.broadcast-card__video::after {
  content: "ON AIR";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,120,80,.92);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.broadcast-card__video video {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  max-height: 210px;
  object-fit: cover;
}

.broadcast-card__body {
  text-align: center;
  margin-top: 10px;
}

.broadcast-card__onair {
  margin: 0;
  color: #5b3a21;
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.75;
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 22px rgba(76, 48, 24, 0.12);
  backdrop-filter: blur(2px);
}

.side-nav__face--all img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transform: translateY(-4px) scale(1);
}

.side-nav a:hover .side-nav__face--all img {
  transform: translateY(-4px) scale(1.08) rotate(-2deg);
}

/* ========================================
   05 SP Header / Drawer
======================================== */

.sp-header,
.sp-drawer,
.sp-cart-button,
.sp-cart-drawer {
  display: none;
}

/* ========================================
   06 Hero / Buttons
======================================== */

.hero {
  position: relative;
  min-height: 820px;
  padding: 48px 36px 36px;
  display: grid;
  align-content: start;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/kumanchu/hero/hero-bg-01.png");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 238, 0.25), rgba(255, 250, 238, 0.9) 86%),
      radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.7), transparent 34%);
}

.hero__content,
.hero__main {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.hero__logo {
  width: min(520px, 92%);
  margin: 0 auto 18px;
  filter: drop-shadow(0 14px 22px rgba(83, 53, 24, 0.2));
}

.hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2;
  font-weight: 800;
  color: #4b2c18;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
}

.hero__buttons {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 2px solid rgba(109, 67, 38, 0.22);
  box-shadow: 0 8px 0 rgba(109, 67, 38, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 0 rgba(109, 67, 38, 0.15);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #f1a33b, #d97332);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
}

.hero__main {
  width: min(590px, 94%);
  margin: 36px auto 0;
  filter: drop-shadow(0 24px 28px rgba(74, 45, 20, 0.22));
  animation: float 5s ease-in-out infinite;
}

/* ========================================
   07 Goods / Characters / Contact
======================================== */

.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.goods-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border: 2px solid rgba(109, 67, 38, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  isolation: isolate;
}

.goods-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(76, 48, 24, 0.22);
}

.goods-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.goods-card__visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 244, 214, 0.9), rgba(255, 255, 255, 0.95) 62%),
      #fff;
}

.goods-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 14px 18px rgba(76, 48, 24, 0.18));
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.goods-card__visual img.is-switching {
  opacity: 0;
  transform: scale(0.94) rotate(-2deg);
}

.goods-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--goods-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transform: scale(1.04);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.goods-card:hover::before {
  opacity: 0.28;
  transform: scale(1.08);
}

.goods-card[data-bg="sky"] {
  --goods-bg: url("../img/kumanchu/bg/bg-sky-ruins.webp");
}

.goods-card[data-bg="castle"] {
  --goods-bg: url("../img/kumanchu/bg/bg-japanese-castle.webp");
}

.goods-card[data-bg="desert"] {
  --goods-bg: url("../img/kumanchu/bg/bg-desert-train.webp");
}

.goods-card[data-bg="greenhouse"] {
  --goods-bg: url("../img/kumanchu/bg/bg-greenhouse.webp");
}

.goods-card[data-bg="underwater"] {
  --goods-bg: url("../img/kumanchu/bg/bg-underwater-city.webp");
}

.goods-card[data-bg="power"] {
  --goods-bg: url("../img/kumanchu/bg/bg-power-tower.webp");
}

.goods-card[data-product-card="stickersheet"] > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  padding: 18px;
}

.goods-card__visual,
.goods-card__body {
  position: relative;
  z-index: 1;
}

.goods-choices {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.goods-choices button {
  border: 2px solid rgba(109, 67, 38, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--brown);
  background: rgba(255, 244, 214, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.goods-choices button:hover,
.goods-choices button.is-active {
  transform: translateY(-2px);
  border-color: rgba(241, 163, 59, 0.75);
  background: #ffe5a8;
}

.goods-detail-button {
  width: 100%;
  margin-top: 16px;
  border: 2px solid rgba(241, 163, 59, 0.45);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--brown);
  background: linear-gradient(135deg, rgba(255, 244, 214, 0.95), rgba(255, 226, 168, 0.95));
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(109, 67, 38, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.goods-detail-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 0 rgba(109, 67, 38, 0.12);
}

.goods-choice--all {
  color: #fff !important;
  background: linear-gradient(
        135deg,
        #ffb347,
        #ff7b72
      ) !important;
  border-color: rgba(255, 126, 81, 0.7) !important;
  box-shadow: 0 6px 16px rgba(255, 140, 80, 0.28);
}

.goods-choice--all:hover,
.goods-choice--all.is-active {
  background: linear-gradient(
        135deg,
        #ffc86a,
        #ff907a
      ) !important;
}

.goods-card__body {
  padding: 20px;
}

.goods-card__tag {
  width: fit-content;
  margin: 0 0 8px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.goods-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--brown);
}

.goods-card h3 small {
  margin-left: 0.25em;
  color: var(--green);
  font-size: 0.72em;
  font-weight: 1000;
}

.goods-card p {
  margin: 0;
  line-height: 1.75;
  font-size: 0.92rem;
  font-weight: 700;
}

.goods-card__bottom {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.goods-card__bottom span {
  font-size: 1.1rem;
  font-weight: 1000;
  color: #d97332;
}

.goods-card__bottom small {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 1000;
}

.goods-card__bottom button,
.cart-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  color: #fff;
  background: var(--brown);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.goods-card__bottom button:hover,
.cart-button:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.character-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid rgba(109, 67, 38, 0.12);
}

.character-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.character-card h3 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 1.35rem;
}

.character-card p {
  margin: 0;
  line-height: 1.7;
  font-weight: 700;
}

/* ========================================
   08 Modals / Checkout
======================================== */

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 36, 22, 0.45);
  backdrop-filter: blur(8px);
}

.product-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 24px;
  border-radius: 34px;
  border: 2px solid rgba(109, 67, 38, 0.16);
  box-shadow: 0 30px 80px rgba(45, 28, 16, 0.32);
  isolation: isolate;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.56), rgba(255, 250, 240, 0.70)),
      var(--modal-bg),
      radial-gradient(circle at 12% 8%, rgba(255, 226, 150, 0.38), transparent 34%),
      rgba(255, 250, 240, 0.98);
  background-size: cover;
  background-position: center;
}

.product-modal__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.62), rgba(255, 250, 240, 0.82) 64%),
      var(--modal-bg),
      #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.product-modal__body,
.product-modal__close {
  position: relative;
  z-index: 1;
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brown);
  font-size: 1.5rem;
  font-weight: 1000;
  line-height: 1;
  cursor: pointer;
}

.product-modal__visual img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(76, 48, 24, 0.2));
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.product-modal__visual img.is-switching {
  opacity: 0;
  transform: scale(0.94) rotate(-2deg);
}

.product-modal__body {
  padding: 10px 6px;
}

.product-modal__body h2 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.3;
}

.product-modal__price {
  margin: 0 0 14px;
  color: #d97332;
  font-size: 1.3rem;
  font-weight: 1000;
}

.product-modal__text {
  margin: 0 0 18px;
  line-height: 1.9;
  font-weight: 800;
}

.product-modal__spec {
  margin: 0;
  display: grid;
  gap: 10px;
}

.product-modal__spec div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(109, 67, 38, 0.12);
}

.product-modal__spec dt {
  margin-bottom: 3px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.product-modal__spec dd {
  margin: 0;
  line-height: 1.65;
  font-weight: 800;
}

.product-modal__thumbs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-modal__thumbs button {
  border: 2px solid rgba(109, 67, 38, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--brown);
  background: rgba(255, 244, 214, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.product-modal__thumbs button:hover,
.product-modal__thumbs button.is-active {
  transform: translateY(-2px);
  border-color: rgba(241, 163, 59, 0.75);
  background: #ffe5a8;
}

.product-modal__thumbs .goods-choice--all {
  color: #fff;
}

.product-modal__cart {
  margin-top: 18px;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 36, 22, 0.48);
  backdrop-filter: blur(8px);
}

.checkout-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 32px;
  background: radial-gradient(circle at 14% 8%, rgba(255, 226, 150, 0.36), transparent 34%),
      rgba(255, 250, 240, 0.98);
  border: 2px solid rgba(109, 67, 38, 0.16);
  box-shadow: 0 30px 80px rgba(45, 28, 16, 0.34);
}

.checkout-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brown);
  font-size: 1.5rem;
  font-weight: 1000;
  line-height: 1;
  cursor: pointer;
}

.checkout-modal h2 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.checkout-modal__lead {
  margin: 0 0 18px;
  line-height: 1.8;
  font-weight: 800;
}

.checkout-modal__summary {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 244, 214, 0.82);
  border: 2px solid rgba(109, 67, 38, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 1000;
}

.checkout-modal__summary strong {
  color: #d97332;
  font-size: 1.25rem;
}

.checkout-notice {
  margin: 0 0 18px;
  padding: 13px 14px;
  border-radius: 20px;
  background: radial-gradient(circle at 16% 35%, rgba(255, 255, 255, 0.95), transparent 32%),
      rgba(255, 244, 214, 0.86);
  border: 2px solid rgba(109, 67, 38, 0.12);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.checkout-notice img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.82),
      0 8px 14px rgba(76, 48, 24, 0.14);
  animation: checkoutNoticeHop 0.9s ease both;
}

.checkout-notice span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.checkout-notice strong {
  color: var(--brown);
  font-size: 0.98rem;
  line-height: 1.4;
}

.checkout-notice small {
  color: rgba(60, 36, 22, 0.72);
  font-size: 0.82rem;
  line-height: 1.55;
  font-weight: 900;
}

.checkout-payment {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(109, 67, 38, 0.12);
}

.checkout-payment h3 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 1.05rem;
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(109, 67, 38, 0.12);
  color: var(--brown-dark);
  font-weight: 900;
  cursor: pointer;
}

.payment-option:first-of-type {
  border-top: 0;
}

.payment-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
}

.payment-option small {
  grid-column: 2;
  color: rgba(60, 36, 22, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--brown);
  font-weight: 1000;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 2px solid rgba(109, 67, 38, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-weight: 700;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 3px solid rgba(241, 163, 59, 0.28);
  border-color: rgba(241, 163, 59, 0.7);
}

.product-modal__panel,
.checkout-modal__panel,
.sp-cart-drawer__panel,
.cart-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(109, 67, 38, 0.26) rgba(109, 67, 38, 0.06);
}

.product-modal__panel::-webkit-scrollbar,
.checkout-modal__panel::-webkit-scrollbar,
.sp-cart-drawer__panel::-webkit-scrollbar,
.cart-list::-webkit-scrollbar {
  width: 6px;
}

.product-modal__panel::-webkit-scrollbar-track,
.checkout-modal__panel::-webkit-scrollbar-track,
.sp-cart-drawer__panel::-webkit-scrollbar-track,
.cart-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(109, 67, 38, 0.06);
}

.product-modal__panel::-webkit-scrollbar-thumb,
.checkout-modal__panel::-webkit-scrollbar-thumb,
.sp-cart-drawer__panel::-webkit-scrollbar-thumb,
.cart-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(109, 67, 38, 0.24);
}

.product-modal__panel::-webkit-scrollbar-thumb:hover,
.checkout-modal__panel::-webkit-scrollbar-thumb:hover,
.sp-cart-drawer__panel::-webkit-scrollbar-thumb:hover,
.cart-list::-webkit-scrollbar-thumb:hover {
  background: rgba(109, 67, 38, 0.34);
}

.product-modal__cart.is-bounce {
  animation: modalCartBounce 0.62s cubic-bezier(.2, 1.4, .3, 1) both;
}

/* ========================================
   09 Cart
======================================== */

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 260;
  width: min(360px, calc(100% - 32px));
  padding: 14px 18px 14px 14px;
  border-radius: 24px;
  color: var(--brown-dark);
  background: radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.95), transparent 32%),
      linear-gradient(135deg, #fff7d8, #ffd88f);
  border: 2px solid rgba(109, 67, 38, 0.16);
  box-shadow: 0 20px 45px rgba(60, 36, 22, 0.25);
  font-weight: 1000;
  transform: translate(-50%, 24px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.cart-toast.is-show {
  animation: cartToastPop 3s ease both;
}

.cart-toast img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8),
      0 8px 14px rgba(76, 48, 24, 0.14);
  animation: cartToastFacePop 1.1s ease both;
}

.cart-toast span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-toast strong {
  color: var(--brown);
  font-size: 0.98rem;
  line-height: 1.35;
}

.cart-toast small {
  color: rgba(60, 36, 22, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cart-box {
  width: 100%;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  border: 2px solid rgba(109, 67, 38, 0.13);
}

.cart-box__label {
  margin: 0 0 5px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
}

.cart-box h2 {
  margin: 0 0 14px;
  color: var(--brown);
  font-size: 1.4rem;
}

.cart-list {
  min-height: 120px;
  max-height: calc(100vh - 330px);
  margin: 0 0 16px;
  padding: 0 4px 0 0;
  list-style: none;
  display: grid;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-list::-webkit-scrollbar {
  width: 6px;
}

.cart-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(109, 67, 38, 0.08);
}

.cart-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(109, 67, 38, 0.28);
}

.cart-list li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 244, 214, 0.75);
  font-size: 0.86rem;
  font-weight: 800;
}

.cart-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
}

.cart-item__thumb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.cart-item__thumb img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.cart-item__info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.cart-item__name {
  font-weight: 900;
  line-height: 1.35;
}

.cart-item__price {
  color: #d97332;
  font-weight: 1000;
}

.cart-item__controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
}

.cart-item__qty button,
.cart-item__remove {
  border: 0;
  border-radius: 999px;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 1000;
  cursor: pointer;
}

.cart-item__qty button {
  width: 28px;
  height: 28px;
}

.cart-item__remove {
  padding: 6px 10px;
  font-size: 0.78rem;
}

.cart-summary {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(109, 67, 38, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 1000;
}

.cart-summary strong {
  color: #d97332;
  font-size: 1.15rem;
}

.cart-button {
  width: 100%;
}

.sp-cart-button.is-bounce {
  animation: spCartBounce 0.68s cubic-bezier(.2, 1.4, .3, 1) both;
}

/* ========================================
   10 Side Character
======================================== */

.side-character {
  position: relative;
  width: 100%;
  margin-top: 18px;
  display: grid;
  justify-items: center;
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.55s ease,
      opacity 0.35s ease;
}

.side-character img {
  width: 170px;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(76, 48, 24, 0.2));
  animation: float 4.5s ease-in-out infinite;
}

.side-character.is-leaving {
  transform: translateX(120px) rotate(8deg);
  opacity: 0;
}

.side-character.is-setup {
  transition: none;
}

.side-character.is-peeking {
  transform: translateX(178px) rotate(-4deg);
  opacity: 1;
}

.side-character.is-entering {
  animation: sideCharacterEnter 0.62s ease both;
}

.side-character.is-packed img {
  animation: float 4.5s ease-in-out infinite,
      packedWobble 1.8s ease-in-out infinite;
}

.side-character__bubble {
  position: absolute;
  right: 72%;
  top: 4px;
  z-index: 20;
  width: max-content;
  max-width: 180px;
  padding: 10px 13px;
  border-radius: 18px;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(109, 67, 38, 0.14);
  box-shadow: 0 12px 24px rgba(76, 48, 24, 0.16);
  font-size: 0.82rem;
  font-weight: 1000;
  line-height: 1.55;
  text-align: left;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  pointer-events: none;
}

.side-character.is-speaking .side-character__bubble {
  animation: bubblePop 4.2s ease both;
}

.side-character.is-hover-react img {
  animation: sideHoverReact 0.58s ease both;
}

/* ========================================
   11 Relic Log
======================================== */

.relics {
  background: radial-gradient(circle at 12% 16%, rgba(241, 163, 59, 0.18), transparent 30%),
      radial-gradient(circle at 86% 12%, rgba(143, 199, 223, 0.18), transparent 28%),
      #fff8e8;
}

.relic-card {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.76);
  border: 2px solid rgba(109, 67, 38, 0.13);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.relic-card__content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
}


.relic-card.is-rare {
  background: radial-gradient(circle at 50% 18%, rgba(255, 226, 150, 0.48), transparent 34%),
      rgba(255, 255, 255, 0.82);
  border-color: rgba(241, 163, 59, 0.38);
}

.relic-card__visual {
  overflow: visible;
  border-radius: 26px;
  background: rgba(255, 244, 214, 0.64);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.62);
  position: relative;
}

.relic-card__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.relic-card__label {
  margin: 0;
  text-align: center;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.relic-comments {
  display: grid;
  gap: 10px;
}

.relic-comment {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(109, 67, 38, 0.11);
}

.relic-comment img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.relic-comment p {
  margin: 0;
  font-weight: 900;
  line-height: 1.65;
}

.relic-card.is-rare .relic-card__visual::after {
  content: "";
  position: absolute;
  left: -42px;
  top: -46px;
  width: 118px;
  aspect-ratio: 1 / 1;
  background: url("../img/kumanchu/relics/rare.png") center / contain no-repeat;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(70, 42, 20, 0.25));
  animation: rareBadgeBeat 1.45s ease-in-out infinite;
  transform-origin: center;
}

/* ========================================
   12 Animations
======================================== */

@keyframes footerBearFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes cartToastPop {
  0% {
    opacity: 0;
    transform: translate(-50%, 28px) scale(0.9);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1.04);
  }

  32% {
    transform: translate(-50%, 0) scale(1);
  }

  78% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -8px) scale(0.98);
  }
}

@keyframes cartToastFacePop {
  0% {
    transform: rotate(-12deg) scale(0.4);
    opacity: 0;
  }

  35% {
    transform: rotate(8deg) scale(1.16);
    opacity: 1;
  }

  100% {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

@keyframes checkoutNoticeHop {
  0% {
    transform: translateY(8px) scale(0.55) rotate(-8deg);
    opacity: 0;
  }

  28% {
    transform: translateY(-10px) scale(1.12) rotate(5deg);
    opacity: 1;
  }

  48% {
    transform: translateY(0) scale(0.96) rotate(-2deg);
  }

  68% {
    transform: translateY(-5px) scale(1.04) rotate(2deg);
  }

  100% {
    transform: translateY(0) scale(1) rotate(0);
    opacity: 1;
  }
}

@keyframes compassPop {
  0% {
    transform: translateY(-50%) rotate(-35deg) scale(0.2);
  }

  35% {
    transform: translateY(-50%) rotate(12deg) scale(1.2);
  }

  100% {
    transform: translateY(-50%) rotate(0deg) scale(1);
  }
}

@keyframes sparkleJump {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.4);
  }

  35% {
    opacity: 1;
    transform: translateY(-8px) scale(1.2);
  }

  100% {
    opacity: 0;
    transform: translateY(-18px) scale(0.8);
  }
}

@keyframes sideCharacterEnter {
  0% {
    transform: translateX(178px) rotate(-4deg);
  }

  62% {
    transform: translateX(-8px) rotate(2deg);
  }

  100% {
    transform: translateX(0) rotate(0);
  }
}

@keyframes bubblePop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }

  14%,
  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}

@keyframes packedWobble {
  0%,
  100% {
    rotate: 0deg;
  }

  50% {
    rotate: -4deg;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

@keyframes spCartBadgePulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  45% {
    transform: scale(1.22);
    filter: brightness(1.18);
  }

  70% {
    transform: scale(0.96);
  }
}

@keyframes sideHoverReact {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  24% {
    transform: translateY(-8px) rotate(-3deg) scale(1.04);
  }

  48% {
    transform: translateY(3px) rotate(2deg) scale(0.98);
  }

  72% {
    transform: translateY(-3px) rotate(-1deg) scale(1.02);
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes spCartBounce {
  0% {
    transform: scale(1);
  }

  18% {
    transform: scale(1.14);
  }

  38% {
    transform: scale(0.92);
  }

  58% {
    transform: scale(1.08);
  }

  78% {
    transform: scale(0.97);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes modalCartBounce {
  0% {
    transform: scale(1);
  }

  22% {
    transform: scale(1.09);
  }

  44% {
    transform: scale(0.95);
  }

  68% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes rareBadgeBeat {
  0%,
  100% {
    transform: scale(1) rotate(-7deg);
  }

  38% {
    transform: scale(1.11) rotate(-4deg);
  }

  62% {
    transform: scale(0.96) rotate(-8deg);
  }
}

/* ========================================
   13 PC Overrides: 1181px and up
======================================== */

@media (min-width: 1181px) {
  /* ========================================
     01 Base / Reset
  ======================================== */

    body {
      background: #20170f;
    }

    body.is-bear-rare-bg .pc-bg-stage__image[data-pc-bg="relics"] {
      background-image: url("../img/kumanchu/section-bg/bg-relics-bear.webp");
      filter: sepia(0.55) saturate(0.78) brightness(0.88);
    }

  /* ========================================
     02 PC Background Stage
  ======================================== */

    .pc-bg-stage {
      position: fixed;
      inset: 0;
      z-index: -2;
      display: block;
      overflow: hidden;
      background: #20170f;
    }

    .pc-bg-stage__image {
      position: absolute;
      inset: -4%;
      opacity: 0;
      background-size: cover;
      background-position: center;
      transform: scale(1.08);
      filter: blur(14px) saturate(0.9) brightness(0.82);
      transition: opacity 1.6s ease,
            transform 2.8s ease,
            filter 2.2s ease;
    }

    .pc-bg-stage__image.is-active {
      opacity: 1;
      transform: scale(1);
      filter: blur(0) saturate(1.04) brightness(0.92);
    }

    .pc-bg-stage__image.is-leaving {
      opacity: 0;
      transform: scale(1.12) rotate(0.6deg);
      filter: blur(18px) saturate(0.8) brightness(0.72);
    }

    .pc-bg-stage__image[data-pc-bg="top"] {
      background-image: url("../img/kumanchu/section-bg/bg-top-station.webp");
    }

    .pc-bg-stage__image[data-pc-bg="story"] {
      background-image: url("../img/kumanchu/section-bg/bg-story-library.webp");
    }

    .pc-bg-stage__image[data-pc-bg="relics"] {
      background-image: url("../img/kumanchu/section-bg/bg-relics-lab.webp");
    }

    .pc-bg-stage__image[data-pc-bg="goods"] {
      background-image: url("../img/kumanchu/section-bg/bg-goods-skyruins.webp");
    }

    .pc-bg-stage__image[data-pc-bg="characters"] {
      background-image: url("../img/kumanchu/section-bg/bg-members-greenhouse.webp");
    }

    .pc-bg-stage__image[data-pc-bg="contact"] {
      background-image: url("../img/kumanchu/section-bg/bg-contact-tower.webp");
    }

    .pc-bg-stage__mist {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 20%, rgba(255, 244, 214, 0.18), transparent 34%),
            linear-gradient(90deg, rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.2), rgba(255, 250, 240, 0.62));
      mix-blend-mode: screen;
      pointer-events: none;
    }
  
  .pc-bg-stage__flash {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,.92),
      rgba(255,255,255,.72) 42%,
      rgba(255,255,255,0) 78%
    );

  opacity: 0;
}

.pc-bg-stage__flash.is-flash {
  animation: relicFlash .9s ease;
}

@keyframes relicFlash {
  0%{
    opacity: 0;
  }

  18%{
    opacity: .95;
  }

  45%{
    opacity: .55;
  }

  100%{
    opacity: 0;
  }
}
  

  /* ========================================
     03 Layout / Sections
  ======================================== */

    .main-site {
      background: transparent;
    }

    .story-card,
    .contact-box,
    .character-card,
    .goods-card {
      background-color: rgba(255, 255, 255, 0.78);
      backdrop-filter: blur(4px);
    }

  /* ========================================
     04 Side Navigation / Broadcast
  ======================================== */

    .side-frame--left,
  .side-frame--right {
      background: transparent;
      backdrop-filter: none;
    }

    .side-frame--right .cart-list {
      max-height: min(550px, calc(100vh - 400px));
    }

  /* ========================================
     06 Hero / Buttons
  ======================================== */

    .hero {
      background: transparent;
    }

  /* ========================================
     11 Relic Log
  ======================================== */

    .relics {
      background: linear-gradient(
              90deg,
              rgba(255, 250, 240, 0.96) 0%,
              rgba(255, 250, 240, 0.88) 42%,
              rgba(255, 250, 240, 0.38) 68%,
              rgba(255, 250, 240, 0.08) 100%
            );
    }

  /* ========================================
     12 Other
  ======================================== */

    .story,
    .goods,
    .characters,
    .contact,
    .site-footer {
      background: transparent;
    }

    .story,
    .goods,
    .characters,
    .contact,
    .site-footer {
      background: linear-gradient(
              90deg,
              rgba(255, 250, 240, 0.96) 0%,
              rgba(255, 250, 240, 0.88) 42%,
              rgba(255, 250, 240, 0.38) 68%,
              rgba(255, 250, 240, 0.08) 100%
            );
    }
}

/* ========================================
   14 Tablet / SP: 1180px and down
======================================== */

@media (max-width: 1180px) {
  /* ========================================
     01 Base / Reset
  ======================================== */

    body.is-menu-open .menu-button span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    body.is-menu-open .menu-button span:nth-child(2) {
      opacity: 0;
    }

    body.is-menu-open .menu-button span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    body.is-menu-open .sp-drawer {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

  /* ========================================
     03 Layout / Sections
  ======================================== */

    .site-shell {
      width: min(100%, 820px);
      display: block;
    }

    .main-site {
      min-height: 100vh;
      padding-top: 72px;
    }

    .section,
    .hero,
    .site-footer {
      scroll-margin-top: 52px;
    }

  /* ========================================
     04 Side Navigation / Broadcast
  ======================================== */

    .side-frame {
      display: none;
    }

  /* ========================================
     05 SP Header / Drawer
  ======================================== */

    .sp-header {
      position: fixed;
      top: 0;
      left: 50%;
      z-index: 80;
      width: min(100%, 820px);
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 72px;
      padding: 10px 18px;
      background: rgba(255, 250, 240, 0.9);
      backdrop-filter: blur(14px);
      border-bottom: 2px solid rgba(109, 67, 38, 0.1);
    }

    .sp-logo img {
      width: 150px;
    }

    .menu-button {
      width: 48px;
      height: 48px;
      border: 2px solid rgba(109, 67, 38, 0.18);
      border-radius: 999px;
      background: #fff;
      display: grid;
      place-content: center;
      gap: 5px;
      cursor: pointer;
    }

    .menu-button span {
      width: 22px;
      height: 3px;
      border-radius: 999px;
      background: var(--brown);
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .sp-drawer {
      position: fixed;
      inset: 96px 14px auto;
      z-index: 25;
      display: grid;
      gap: 10px;
      padding: 18px;
      border-radius: 24px;
      background: rgba(255, 250, 240, 0.96);
      box-shadow: var(--shadow);
      transform: translateY(-16px);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .sp-drawer a {
      padding: 14px 16px;
      border-radius: 999px;
      background: #fff4d6;
      font-weight: 900;
      text-align: center;
    }

  /* ========================================
     06 Hero / Buttons
  ======================================== */

    .hero {
      min-height: auto;
      padding: 42px 30px 46px;
    }

    .hero__content {
      max-width: 620px;
    }

    .hero__logo {
      width: min(460px, 88%);
      margin-bottom: 14px;
    }

    .hero__lead {
      font-size: 1rem;
      line-height: 1.9;
    }

    .hero__buttons {
      margin-top: 18px;
    }

    .hero__main {
      width: min(560px, 92%);
      margin-top: 42px;
    }

  /* ========================================
     09 Cart
  ======================================== */

    .sp-cart-button {
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 90;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 52px;
      padding: 0 14px 0 18px;
      border: 0;
      border-radius: 999px;
      color: #fff;
      background: linear-gradient(135deg, #7a4728, #4d2b18);
      box-shadow: 0 14px 30px rgba(60, 36, 22, 0.28);
      font-weight: 1000;
      cursor: pointer;
    }

    .sp-cart-button strong {
      min-width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      color: var(--brown);
      background: #fff4d6;
      font-size: 0.86rem;
    }

    .sp-cart-button.is-has-items {
      background: linear-gradient(135deg, #9b5a2f, #5a3019);
      box-shadow: 0 14px 30px rgba(60, 36, 22, 0.28),
          0 0 0 4px rgba(255, 210, 100, 0.22),
          0 0 28px rgba(255, 180, 48, 0.75);
    }

    .sp-cart-button.is-has-items strong {
      color: #5a3019;
      background: #ffd34f;
      animation: spCartBadgePulse 1.05s ease-in-out infinite;
      box-shadow: 0 0 0 4px rgba(255, 211, 79, 0.35),
          0 0 18px rgba(255, 188, 45, 0.95);
    }

    .sp-cart-drawer {
      position: fixed;
      inset: 0;
      z-index: 220;
      display: block;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .sp-cart-drawer.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    .sp-cart-drawer__overlay {
      position: absolute;
      inset: 0;
      background: rgba(60, 36, 22, 0.42);
      backdrop-filter: blur(8px);
    }

    .sp-cart-drawer__panel {
      position: absolute;
      left: 12px;
      right: 12px;
      bottom: 12px;
      max-height: min(78vh, 620px);
      padding: 22px 20px 20px;
      border-radius: 28px;
      background: rgba(255, 250, 240, 0.98);
      border: 2px solid rgba(109, 67, 38, 0.14);
      box-shadow: 0 24px 70px rgba(45, 28, 16, 0.32);
      transform: translateY(22px);
      transition: transform 0.25s ease;
      display: flex;
      flex-direction: column;
    }

    .sp-cart-drawer.is-open .sp-cart-drawer__panel {
      transform: translateY(0);
    }

    .sp-cart-drawer__close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 42px;
      height: 42px;
      border: 0;
      border-radius: 999px;
      color: #fff;
      background: var(--brown);
      font-size: 1.5rem;
      font-weight: 1000;
      line-height: 1;
      cursor: pointer;
    }

    .sp-cart-drawer h2 {
      margin: 0 0 14px;
      color: var(--brown);
    }

    .sp-cart-drawer .cart-list {
      min-height: 0;
      max-height: none;
      flex: 1;
      margin-bottom: 12px;
    }
}

/* ========================================
   15 Small SP: 700px and down
======================================== */

@media (max-width: 700px) {
  /* ========================================
     03 Layout / Sections
  ======================================== */

    .section {
      padding: 68px 18px;
    }

    .story-card,
    .contact-box {
      padding: 24px;
    }

    .footer-bears {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 96px));
      justify-content: center;
      gap: 14px 18px;
    }

    .footer-bears img {
      width: 88px;
      height: 88px;
    }

  /* ========================================
     06 Hero / Buttons
  ======================================== */

    .hero {
      padding: 34px 16px 42px;
    }

    .hero__logo {
      width: min(340px, 88%);
    }

    .hero__lead {
      font-size: 0.94rem;
      line-height: 1.85;
    }

    .hero__buttons {
      gap: 10px;
    }

    .hero__main {
      width: min(420px, 96%);
      margin-top: 36px;
    }

  /* ========================================
     07 Goods / Characters / Contact
  ======================================== */

    .goods-grid,
    .character-grid {
      grid-template-columns: 1fr;
    }

    .goods-card__bottom {
      align-items: stretch;
      flex-direction: column;
    }

    .goods-card__bottom button {
      width: 100%;
    }

  /* ========================================
     08 Modals / Checkout
  ======================================== */

    .product-modal {
      padding: 14px;
    }

    .product-modal__panel {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 18px;
      max-height: 88vh;
      border-radius: 26px;
    }

    .product-modal__visual {
      min-height: 280px;
    }

    .product-modal__thumbs {
      overflow-x: auto;
      flex-wrap: nowrap;
      padding-bottom: 4px;
    }

    .product-modal__thumbs button {
      flex: 0 0 auto;
    }

    .checkout-modal {
      padding: 12px;
    }

    .checkout-modal__panel {
      padding: 24px 18px 18px;
      border-radius: 26px;
    }

  /* ========================================
     09 Cart
  ======================================== */

    .sp-cart-button {
      right: 14px;
      bottom: 14px;
    }

    .sp-cart-button span {
      font-size: 0.88rem;
    }

    .sp-cart-drawer__panel {
      left: 8px;
      right: 8px;
      bottom: 8px;
      padding: 20px 16px 18px;
    }

  /* ========================================
     11 Relic Log
  ======================================== */

    .relic-card {
      padding: 18px;
    }

    .relic-card__content {
      grid-template-columns: 1fr;
    }

    .relic-comment {
      grid-template-columns: 48px minmax(0, 1fr);
    }

    .relic-comment img {
      width: 48px;
      height: 48px;
    }

    .relic-card.is-rare .relic-card__visual::after {
      width: 92px;
      left: -24px;
      top: -34px;
    }
}
