:root {
  color-scheme: light;
  --ink: #333333;
  --muted: #716b73;
  --white: #ffffff;
  --paper: #f7f6f4;
  --primary: #d71920;
  --primary-deep: #9c1118;
  --secondary: #f2d8da;
  --secondary-ink: #d71920;
  --max: 1120px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}
a { color: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.theme-ollin {
  --primary: #d71920;
  --primary-deep: #991018;
  --secondary: #f5d8da;
  --secondary-ink: #d71920;
}
.theme-kanazawa,
.theme-nonoichi {
  --primary: #e61e86;
  --primary-deep: #a70d5e;
  --secondary: #ffd82f;
  --secondary-ink: #3b3020;
}
.theme-kanazawa { --first-view-background-image: none; }
.theme-nonoichi { --first-view-background-image: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--ink);
  border-bottom: 1px solid #dedade;
  background: rgba(255,255,255,0.96);
}
.site-header::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--secondary) 72% 100%);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--primary);
  font: 800 1.05rem/1 Georgia, serif;
}
.header-note { color: var(--muted); font-size: 0.78rem; font-weight: 700; }

.breadcrumb {
  padding-top: 22px;
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}
.breadcrumb a { color: var(--primary); font-weight: 800; }
.breadcrumb--footer {
  padding-top: 20px;
  padding-bottom: 20px;
}

.portal-hero,
.store-hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.portal-hero { padding: clamp(76px, 10vw, 126px) 0; border-bottom: 1px solid var(--ink); }
.store-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: clamp(54px, 7vw, 82px) 0 clamp(68px, 8vw, 96px);
}
.theme-ollin .store-hero,
.theme-kanazawa .store-hero,
.theme-nonoichi .store-hero { padding-bottom: 24px; }
.theme-kanazawa .store-hero,
.theme-nonoichi .store-hero {
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.theme-ollin .store-hero {
  min-height: 560px;
  padding: 40px 0;
}
.store-hero[data-protected-media] {
  -webkit-touch-callout: none;
  user-select: none;
}
.store-hero[data-protected-media] img {
  -webkit-user-drag: none;
  user-select: none;
}
.theme-ollin #latest,
.theme-kanazawa #latest,
.theme-nonoichi #latest { padding-top: clamp(24px, 3vw, 36px); }

/*
 * First-view artwork slots. Add the image URLs on each theme when artwork is
 * ready; APNG files can be used for either character layer.
 */
.first-view-background,
.first-view-character {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
}
.first-view-background {
  inset: 0;
  z-index: 0;
  background-image: var(--first-view-background-image, none);
  background-position: center;
  background-size: cover;
}
.first-view-character {
  z-index: 2;
  bottom: 0;
  width: min(32vw, 460px);
  height: min(90%, 560px);
  background-size: contain;
}
.first-view-character--left {
  left: 0;
  background-image: var(--first-view-character-left-image, none);
  background-position: left bottom;
}
.first-view-character--right {
  right: 0;
  background-image: var(--first-view-character-right-image, none);
  background-position: right bottom;
}

.theme-ollin .store-logo-pattern,
.theme-kanazawa .store-logo-pattern,
.theme-nonoichi .store-logo-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.05;
}
.theme-ollin .store-logo-pattern img,
.theme-kanazawa .store-logo-pattern img,
.theme-nonoichi .store-logo-pattern img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.theme-ollin .store-logo-pattern img:nth-child(n + 6),
.theme-kanazawa .store-logo-pattern img:nth-child(n + 6),
.theme-nonoichi .store-logo-pattern img:nth-child(n + 6) { display: none; }

.theme-ollin .store-logo-pattern,
.theme-kanazawa .store-logo-pattern,
.theme-nonoichi .store-logo-pattern {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.theme-ollin .store-logo-pattern img:nth-child(n + 6),
.theme-kanazawa .store-logo-pattern img:nth-child(n + 6),
.theme-nonoichi .store-logo-pattern img:nth-child(n + 6) { display: block; }

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(290px, 0.68fr);
  align-items: center;
  gap: clamp(40px, 8vw, 96px);
}
.theme-kanazawa .hero-layout,
.theme-nonoichi .hero-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
  align-items: center;
  gap: 24px;
}
.theme-ollin .hero-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(36px, 7vw, 84px);
}
.hero-copy-block { position: relative; padding-top: 22px; }
.hero-copy-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 8px;
  background: var(--primary);
}
.theme-kanazawa .hero-copy-block,
.theme-nonoichi .hero-copy-block { padding-top: 0; }
.theme-kanazawa .hero-copy-block::before,
.theme-nonoichi .hero-copy-block::before { content: none; }
.theme-ollin .hero-copy-block {
  width: 100%;
  padding-top: 0;
}
.theme-ollin .hero-copy-block::before { content: none; }
.ollin-hero-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.theme-ollin .ollin-hero-actions .hero-cta { width: min(100%, 286px); }
.ollin-hero-actions .hero-social-actions {
  width: 100%;
  margin-top: 0;
}
.store-logo-title {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 768 / 487;
  margin: 0;
  overflow: visible;
}
.store-logo-title img {
  position: absolute;
  top: -52.4%;
  left: -15.2%;
  width: 130.2%;
  max-width: none;
  height: auto;
  opacity: 1;
  pointer-events: none;
  filter:
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 2px #ffffff)
    drop-shadow(0 0 2px #ffffff);
}
.theme-ollin .store-logo-title {
  width: min(100%, 300px);
  aspect-ratio: 667 / 792;
  margin-inline: auto;
  overflow: visible;
}
.theme-ollin .store-logo-title img {
  top: -13.1%;
  left: -25%;
  width: 150%;
  filter: none;
}
.hero-social-actions {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 10px;
  margin-top: 24px;
}
.hero-social-actions .social-button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 54px;
  justify-content: center;
  gap: 6px;
  padding: 5px 6px;
  font-size: clamp(0.78rem, 1vw, 0.84rem);
  white-space: nowrap;
}
.hero-social-actions .social-button > span:last-child {
  min-width: 0;
  line-height: 1.2;
  text-align: center;
}
.hero-social-actions .social-button > img,
.hero-social-actions .social-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}
.hero-social-actions .social-icon img {
  width: 19px;
  height: 20px;
}
.homerun-social-actions {
  flex-direction: column;
  gap: 8px;
}
.homerun-social-actions > .social-button.line {
  flex: 0 0 auto;
  width: 100%;
}
.hero-x-actions {
  display: flex;
  width: 100%;
  gap: 8px;
}
.hero-x-actions .social-button {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 5px;
  font-size: clamp(0.7rem, 0.9vw, 0.78rem);
  white-space: normal;
}
.hero-showcase {
  position: relative;
  min-height: 576px;
}
.hero-character-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-character {
  position: absolute;
  display: block;
  max-height: 100%;
  transform-origin: 50% 100%;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.hero-character img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 10px 12px rgba(22, 30, 40, 0.3));
}
.hero-character--main {
  z-index: 5;
  left: 54%;
  bottom: -6px;
  width: auto;
  height: min(88%, 510px);
  aspect-ratio: 1000 / 1539;
  translate: -50% 0;
}
.hero-character--support {
  z-index: 3;
  left: 0;
  bottom: 18px;
  width: auto;
  height: min(47%, 270px);
  aspect-ratio: 1000 / 1262;
}
.theme-nonoichi .hero-character--support { aspect-ratio: 1000 / 1187; }
.hero-character--accent {
  z-index: 2;
  right: -8%;
  bottom: 18px;
  width: auto;
  height: min(47%, 270px);
  aspect-ratio: 1000 / 903;
}
.motion-ready .hero-character--main {
  animation: base-run-enter 900ms 80ms cubic-bezier(.2,.72,.25,1) both;
}
.motion-ready .hero-character--support {
  animation: dugout-left-enter 800ms 180ms cubic-bezier(.2,.72,.25,1) both;
}
.motion-ready .hero-character--accent {
  animation: dugout-right-enter 800ms 260ms cubic-bezier(.2,.72,.25,1) both;
}
.motion-ready .hero-character--main img { animation: stadium-cheer-main 4.8s 1s ease-in-out infinite; }
.motion-ready .hero-character--support img { animation: stadium-cheer-left 4.8s 1.06s ease-in-out infinite; }
.motion-ready .hero-character--accent img { animation: stadium-cheer-right 4.8s 1.12s ease-in-out infinite; }
.motion-ready .theme-kanazawa .hero-character--main {
  animation: kanazawa-right-scale-enter 1.85s 40ms linear both;
}
.motion-ready .theme-kanazawa .hero-character--support {
  animation: kanazawa-right-scale-enter 1.85s 40ms linear both;
}
.motion-ready .theme-kanazawa .hero-character--accent {
  animation: kanazawa-right-scale-enter 1.85s 40ms linear both;
}
.motion-ready .theme-nonoichi .hero-character--main {
  animation: nonoichi-dash-jump-enter 1.85s 40ms linear both;
}
.motion-ready .theme-nonoichi .hero-character--support {
  animation: nonoichi-dash-jump-enter 1.85s 40ms linear both;
}
.motion-ready .theme-nonoichi .hero-character--accent {
  animation: nonoichi-dash-jump-enter 1.85s 40ms linear both;
}
.motion-ready .theme-kanazawa .hero-character--main img {
  animation:
    kanazawa-intro-scale 720ms 1.4s ease-in-out both,
    kanazawa-running-loop 3s 2.12s ease-in-out infinite;
}
.motion-ready .theme-kanazawa .hero-character--support img {
  animation:
    kanazawa-intro-scale 720ms 1.4s ease-in-out both,
    kanazawa-step-loop 2.6s 2.12s ease-in-out infinite;
}
.motion-ready .theme-kanazawa .hero-character--accent img {
  animation:
    kanazawa-intro-scale 720ms 1.4s ease-in-out both,
    kanazawa-power-loop 3.4s 2.12s ease-in-out infinite;
}
.motion-ready .theme-nonoichi .hero-character--main img {
  animation: kanazawa-running-loop 3s 1.85s ease-in-out infinite;
}
.motion-ready .theme-nonoichi .hero-character--support img {
  animation: kanazawa-step-loop 2.6s 1.85s ease-in-out infinite;
}
.motion-ready .theme-nonoichi .hero-character--accent img {
  animation: kanazawa-power-loop 3.4s 1.85s ease-in-out infinite;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.portal-title,
.store-title {
  margin: 0;
  font-weight: 1000;
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.portal-title { font-size: clamp(2.2rem, 5vw, 4.8rem); }
.store-title { font-size: clamp(2.6rem, 6vw, 5rem); }
.portal-title span,
.store-title span { color: var(--primary); }
.portal-title__line {
  display: block;
  white-space: nowrap;
}
.portal-title__line:first-child { color: var(--ink); }
.portal-page .hero-promo { justify-content: flex-start; }
.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: #48434a;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  font-weight: 600;
}
.store-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 24px;
  color: #4d474e;
}
.store-subline strong { color: var(--primary); }

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.social-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 18px 6px 8px;
  border: 2px solid currentColor;
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.social-button > img,
.social-button .social-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.social-button > img { display: block; object-fit: contain; }
.social-button.line { color: #06c755; }
.social-button.x {
  color: var(--white);
  border-color: #000000;
  background: #000000;
}
.social-button .social-icon {
  display: grid;
  place-items: center;
}
.social-button .social-icon img {
  display: block;
  width: 22px;
  height: 23px;
}
.social-button:hover { opacity: 1; transform: translateY(-2px); }
.social-button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  transform: translateY(-2px);
}
.theme-kanazawa .social-actions + .quick-actions,
.theme-nonoichi .social-actions + .quick-actions { margin-top: 12px; }

.hero-promo {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 34px 34px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid #d9d5d9;
  border-top: 12px solid var(--primary);
  background: var(--white);
}
.hero-promo::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 8px;
  background: var(--secondary);
}
.hero-promo span,
.hero-promo strong,
.hero-promo small { position: relative; z-index: 1; }
.hero-promo span {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}
.hero-promo strong {
  display: block;
  margin: 7px 0 2px;
  color: var(--primary);
  font-size: clamp(2.45rem, 4.6vw, 3.8rem);
  font-weight: 1000;
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.hero-promo small { color: var(--muted); font-weight: 800; }

.hero-cta {
  width: min(100%, 300px);
  min-height: 0;
  aspect-ratio: 1;
  justify-self: center;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 38px;
  color: var(--white);
  border: 10px solid var(--secondary);
  border-radius: 50%;
  background: var(--primary);
  text-align: center;
  text-decoration: none;
  overflow: visible;
  transition: transform 180ms ease, background 180ms ease;
}
.hero-cta::before {
  content: none;
}
.hero-cta::after { content: none; }
.hero-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
  transform-origin: center;
}
.hero-cta span,
.hero-cta strong,
.hero-cta small { color: var(--white); }
.hero-cta > .hero-cta-copy { font-size: inherit; letter-spacing: normal; }
.hero-cta-copy > span { font-size: 0.84rem; letter-spacing: 0.2em; }
.hero-cta strong {
  margin: 7px 0 5px;
  font-size: clamp(2.3rem, 4.4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.hero-cta strong em {
  display: block;
  margin-top: 8px;
  font-size: 0.58em;
  font-style: normal;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-cta small { font-size: 0.92rem; letter-spacing: 0.06em; }
.hero-cta:hover { transform: translateY(-5px) scale(1.025); }
.hero-cta:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 6px;
}

.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.theme-kanazawa .quick-actions,
.theme-nonoichi .quick-actions { gap: 8px; }
.theme-kanazawa .quick-actions .button,
.theme-nonoichi .quick-actions .button {
  padding-inline: 16px;
  font-size: 0.82rem;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--white);
  border: 2px solid var(--primary);
  background: var(--primary);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.button:hover {
  color: var(--primary);
  background: var(--white);
  outline: none;
  transform: translateY(-2px);
}
.button:focus-visible {
  color: var(--primary);
  background: var(--white);
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  transform: translateY(-2px);
}
.button.secondary { color: var(--white); border-color: var(--ink); background: var(--ink); }
.button.secondary:hover,
.button.secondary:focus-visible { color: var(--ink); border-color: var(--ink); background: var(--white); }
.button.external {
  gap: 7px;
  padding-inline: 12px;
  color: var(--ink);
  border-color: #cfc9cf;
  background: var(--white);
  font-size: 0.72rem;
  white-space: nowrap;
}
.button.external:hover,
.button.external:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, var(--white));
}
.button.external span { font-size: 0.9em; }
.theme-kanazawa .quick-actions .button.external,
.theme-nonoichi .quick-actions .button.external {
  padding-inline: 16px;
  font-size: 0.82rem;
}

.store-access {
  position: relative;
  z-index: 4;
  padding: 18px 0;
  border-top: 1px solid #dedade;
  border-bottom: 1px solid #dedade;
  background: var(--white);
}
.store-access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.store-access-grid > a {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 8px 10px;
  justify-content: center;
  font-size: 0.82rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.store-access-grid .social-button > img,
.store-access-grid .social-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.store-access-grid .social-icon img {
  width: 18px;
  height: 19px;
}

.section { padding: clamp(58px, 8vw, 88px) 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}
.section-heading h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.3; }
.section-heading p { margin: 0; color: var(--muted); font-size: 0.78rem; }

#latest { position: relative; scroll-margin-top: 92px; background: var(--white); }
.latest-panel {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--primary);
  background: var(--white);
}
.latest-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  color: var(--primary);
  border-bottom: 8px solid var(--secondary);
  background: var(--white);
}
.latest-head h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.3; }
.latest-head .status {
  flex: 0 0 auto;
  padding: 5px 11px;
  color: var(--secondary-ink);
  background: var(--secondary);
  font-size: 0.72rem;
  font-weight: 900;
}
.notice-stage {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 8% 16%, var(--secondary) 0 56px, transparent 57px),
    radial-gradient(circle at 47% 7%, var(--secondary) 0 34px, transparent 35px),
    radial-gradient(circle at 14% 82%, var(--secondary) 0 76px, transparent 77px),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--primary) 22%, white) 0 42px, transparent 43px),
    radial-gradient(circle at 87% 73%, color-mix(in srgb, var(--primary) 22%, white) 0 62px, transparent 63px),
    radial-gradient(circle at 55% 95%, color-mix(in srgb, var(--primary) 22%, white) 0 48px, transparent 49px),
    linear-gradient(132deg, transparent 0 12%, color-mix(in srgb, var(--secondary) 45%, white) 12% 13.5%, transparent 13.5% 84%, color-mix(in srgb, var(--primary) 12%, white) 84% 86%, transparent 86%),
    var(--white);
}
.notice-placeholder { max-width: 520px; padding: 44px 24px; text-align: center; }
.notice-placeholder .label { color: var(--primary); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.18em; }
.notice-placeholder strong { display: block; margin-top: 14px; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.35; }
.notice-placeholder p { color: var(--muted); }
.notice-gallery,
.notice-item { width: 100%; margin: 0; }
.notice-item { display: grid; justify-items: center; }
.notice-item + .notice-item { margin-top: clamp(32px, 6vw, 72px); }
.notice-item img {
  display: block;
  width: auto;
  max-width: min(100%, 640px);
  height: auto;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, white);
  background: var(--white);
}
.notice-item figcaption {
  width: min(100%, 640px);
  padding-top: 12px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.info-band { border-top: 1px solid #dedade; background: var(--paper); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.fact {
  min-height: 140px;
  padding: 22px 18px;
  border: 1px solid var(--ink);
  border-top: 8px solid var(--primary);
  background: var(--white);
}
.fact dt { margin-bottom: 10px; color: var(--primary); font-size: 0.72rem; font-weight: 900; }
.fact dd { margin: 0; font-size: 0.9rem; font-weight: 700; line-height: 1.65; }
.fact a { color: var(--primary); }
.fact .phone-number { color: var(--ink); text-decoration: none; }
.shop-intro {
  max-width: 820px;
  margin: -6px 0 30px;
  color: #4d474e;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.9;
}
.store-external-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dedade;
}
.store-external-links__label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.store-external-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store-external-links__items a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #cfc9cf;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.store-external-links__items a:hover,
.store-external-links__items a:focus-visible {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, var(--white));
  color: var(--primary);
}
.store-external-links__items a span { font-size: 0.9em; }
.fine-print { margin: 12px 0 0; color: var(--muted); font-size: 0.74rem; }

.trust-section { border-top: 1px solid #dedade; background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.trust-card {
  min-height: 260px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--ink);
  border-top: 10px solid var(--primary);
  background: var(--white);
}
.trust-card:nth-child(2) { border-top-color: var(--secondary); }
.trust-card h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.4; }
.trust-card h2 + p { margin: 0; color: #4d474e; font-size: 0.9rem; line-height: 1.9; }
.trust-card .support-link { margin: 18px 0 0; color: #4d474e; font-size: 0.82rem; line-height: 1.8; }
.trust-card .support-link a { color: var(--ink); font-weight: 800; text-underline-offset: 4px; }
.trust-card .support-link a:hover { color: var(--primary); }
.authority-copy { margin-top: 18px !important; color: var(--ink) !important; font-weight: 800; }

.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.store-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-top: 10px solid var(--primary);
  background: var(--white);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.store-card:nth-child(2) { border-top-color: #e61e86; }
.store-card:nth-child(3) { border-top-color: #ffd82f; }
.store-card:hover,
.store-card:focus-visible { color: var(--white); background: var(--primary); outline: 4px solid var(--secondary); transform: translateY(-5px); }
.store-card .card-index { display: none; }
.store-card .area { color: var(--primary); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; }
.store-card h3 { margin: 48px 0 14px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.35; }
.store-card p { margin: 0; color: var(--muted); }
.store-card .arrow { margin-top: auto; padding-top: 30px; color: var(--primary); font-weight: 900; }
.store-card:hover .area,
.store-card:hover p,
.store-card:hover .arrow,
.store-card:focus-visible .area,
.store-card:focus-visible p,
.store-card:focus-visible .arrow { color: var(--white); }

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 44px;
}
.guide-grid h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.35; }
.guide-grid p { margin-bottom: 0; color: var(--muted); }
.responsible-box { padding: 24px; border: 1px solid var(--ink); border-left: 10px solid var(--secondary); background: var(--white); font-size: 0.82rem; }

.site-footer { color: var(--white); border-top: 10px solid var(--secondary); background: var(--primary); }
.footer-inner { min-height: 142px; display: grid; grid-template-columns: auto minmax(320px, 720px) auto; align-items: center; justify-content: space-between; gap: 32px; font-size: 0.76rem; }
.footer-inner p { margin: 0; }
.footer-store-link,
.footer-copyright { white-space: nowrap; }
.footer-store-link {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.footer-store-link:hover,
.footer-store-link:focus-visible {
  color: var(--secondary);
  text-decoration-thickness: 3px;
  outline: none;
}
.footer-policy { display: grid; gap: 12px; text-align: center; }
.content-usage-notice { font-size: 0.7rem; line-height: 1.7; }
.footer-policy-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; }
.privacy-trigger,
.content-policy-trigger {
  padding: 4px 0;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.privacy-trigger:hover,
.privacy-trigger:focus-visible,
.content-policy-trigger:hover,
.content-policy-trigger:focus-visible { border-bottom-width: 3px; outline: none; }

body.privacy-open { overflow: hidden; }
.privacy-dialog {
  width: min(calc(100% - 32px), 720px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  color: var(--ink);
  border: 4px solid var(--primary);
  background: var(--white);
}
.privacy-dialog::backdrop { background: rgba(24, 18, 24, 0.72); }
.privacy-dialog__frame { position: relative; padding: clamp(28px, 5vw, 48px); }
.privacy-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.privacy-dialog__close:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.privacy-dialog__title { margin: 0 54px 24px 0; color: var(--primary); font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.35; }
.privacy-dialog__body { max-height: min(64dvh, 620px); overflow-y: auto; padding-right: 12px; }
.privacy-dialog__body h3 { margin: 26px 0 8px; font-size: 1rem; }
.privacy-dialog__body p,
.privacy-dialog__body li { color: #4d474e; font-size: 0.86rem; line-height: 1.85; }
.privacy-dialog__body ul { padding-left: 1.4em; }
.privacy-dialog__body a { color: var(--primary); font-weight: 800; }
.privacy-dialog__date { margin-top: 28px; color: var(--muted); font-size: 0.74rem; }

.motion-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .hero-promo { animation: panel-enter 680ms 100ms ease both; }
.motion-ready .hero-cta { animation: cta-float 2.2s ease-in-out infinite; }
.motion-ready .hero-cta:hover { animation-play-state: paused; }
.motion-ready .notice-gallery.is-visible { animation: poster-enter 680ms ease both; }

@keyframes panel-enter {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes cta-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.018); }
}
@keyframes poster-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes base-run-enter {
  0% { opacity: 0; transform: translateY(28px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dugout-left-enter {
  0% { opacity: 0; transform: translate(-12px, 18px) scale(0.96); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes dugout-right-enter {
  0% { opacity: 0; transform: translate(12px, 18px) scale(0.96); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes kanazawa-right-scale-enter {
  0% {
    opacity: 0;
    transform: translate3d(580px, 0, 0);
    animation-timing-function: cubic-bezier(.12,.72,.2,.88);
  }
  6% { opacity: 1; }
  74%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes kanazawa-intro-scale {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 0, 0) scale(1.1); }
}
@keyframes nonoichi-dash-jump-enter {
  0% {
    opacity: 0;
    transform: translate3d(580px, 0, 0) rotate(-1.5deg) scale(0.97);
    animation-timing-function: cubic-bezier(.12,.72,.2,.88);
  }
  6% { opacity: 1; }
  68% {
    opacity: 1;
    transform: translate3d(72px, 0, 0) rotate(-0.5deg) scale(0.995);
    animation-timing-function: cubic-bezier(.22,.62,.38,1);
  }
  84% {
    opacity: 1;
    transform: translate3d(27px, -58px, 0) rotate(-1deg) scale(1.012);
    animation-timing-function: cubic-bezier(.44,0,.72,.82);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}
@keyframes stadium-cheer-main {
  0%, 16%, 36%, 56%, 88%, 100% { transform: translateY(0) rotate(0) scale(1); }
  8% { transform: translateY(-18px) rotate(-2deg) scale(1.02); }
  28% { transform: translateY(-11px) rotate(2deg) scale(1.015); }
  46% { transform: translateY(-6px) rotate(-1deg) scale(1.01); }
  76% { transform: translateY(-4px) rotate(0.5deg) scale(1.005); }
}
@keyframes stadium-cheer-left {
  0%, 20%, 40%, 60%, 88%, 100% { transform: translateY(0) rotate(0); }
  10% { transform: translateY(-12px) rotate(-4deg); }
  30% { transform: translateY(-8px) rotate(3deg); }
  50% { transform: translateY(-5px) rotate(-2deg); }
  76% { transform: translateY(-3px) rotate(1deg); }
}
@keyframes stadium-cheer-right {
  0%, 20%, 40%, 60%, 88%, 100% { transform: translateY(0) rotate(0); }
  10% { transform: translateY(-10px) rotate(4deg); }
  30% { transform: translateY(-7px) rotate(-3deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
  76% { transform: translateY(-3px) rotate(-1deg); }
}
@keyframes kanazawa-running-loop {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(8px, -18px) rotate(-1.6deg) scale(1.018); }
  50% { transform: translate(13px, -3px) rotate(1.1deg) scale(1.006); }
  75% { transform: translate(-7px, -14px) rotate(-1deg) scale(1.014); }
}
@keyframes kanazawa-step-loop {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(9px, -9px) rotate(-3.2deg) scale(1.012); }
  50% { transform: translate(3px, -2px) rotate(1.8deg) scale(1.004); }
  75% { transform: translate(-8px, -7px) rotate(2.8deg) scale(1.01); }
}
@keyframes kanazawa-power-loop {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(-5px, -5px) rotate(3.8deg) scale(1.018); }
  50% { transform: translate(0, -9px) rotate(0deg) scale(1.028); }
  75% { transform: translate(5px, -5px) rotate(-3.8deg) scale(1.018); }
}
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr); gap: 34px; }
  .theme-ollin .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
    gap: 28px;
  }
  .theme-kanazawa .hero-layout,
  .theme-nonoichi .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .theme-kanazawa .hero-copy-block,
  .theme-nonoichi .hero-copy-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .theme-kanazawa .store-logo-title,
  .theme-nonoichi .store-logo-title { margin-inline: auto; }
  .theme-kanazawa .hero-social-actions,
  .theme-nonoichi .hero-social-actions {
    width: min(100%, 520px);
    margin-inline: auto;
  }
  .theme-kanazawa .store-hero,
  .theme-nonoichi .store-hero {
    padding-top: clamp(28px, 4vw, 42px);
  }
  .hero-showcase { min-height: 480px; }
  .theme-kanazawa .hero-character-stage,
  .theme-nonoichi .hero-character-stage {
    inset: 0 auto 0 50%;
    width: min(100%, 720px);
    transform: translateX(-50%);
  }
  .hero-social-actions { width: 100%; gap: 6px; }
  .hero-social-actions .social-button {
    flex: 1 1 0;
    min-width: 0;
    gap: 6px;
    padding: 5px 6px;
    font-size: clamp(0.78rem, 1.65vw, 0.9rem);
  }
  .hero-social-actions .social-button > img,
  .hero-social-actions .social-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .hero-social-actions .social-icon img { width: 16px; height: 17px; }
  .store-grid { grid-template-columns: 1fr; }
  .store-card { min-height: 240px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:last-child { grid-column: span 2; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .theme-ollin .store-logo-pattern,
  .theme-kanazawa .store-logo-pattern,
  .theme-nonoichi .store-logo-pattern {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .theme-ollin .store-logo-pattern img:nth-child(n + 6),
  .theme-kanazawa .store-logo-pattern img:nth-child(n + 6),
  .theme-nonoichi .store-logo-pattern img:nth-child(n + 6) { display: block; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header::before { height: 6px; }
  .header-inner { min-height: 62px; }
  .brand { font-size: 0.74rem; }
  .brand-mark { width: 32px; }
  .header-note { display: none; }
  .portal-title { font-size: clamp(2rem, 8.7vw, 2.5rem); }
  .store-hero { padding: 48px 0 58px; }
  .theme-ollin .store-hero,
  .theme-kanazawa .store-hero,
  .theme-nonoichi .store-hero {
    min-height: 460px;
    padding-bottom: 24px;
  }
  .theme-ollin .store-hero {
    min-height: 500px;
    padding-top: 28px;
  }
  .theme-kanazawa .store-hero,
  .theme-nonoichi .store-hero { padding-top: 18px; padding-bottom: 0; }
  .first-view-character {
    width: min(46vw, 280px);
    height: min(62%, 360px);
  }
  .theme-ollin #latest,
  .theme-kanazawa #latest,
  .theme-nonoichi #latest { padding-top: 24px; }
  .store-access { padding: 14px 0; }
  .store-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-social-actions { gap: 8px; }
  .hero-social-actions .social-button {
    flex: 1 1 0;
    gap: 5px;
    padding: 5px;
    font-size: clamp(0.66rem, 2.5vw, 0.78rem);
  }
  .homerun-social-actions > .social-button.line {
    font-size: clamp(0.8rem, 3.4vw, 0.92rem);
  }
  .hero-x-actions .social-button {
    gap: 4px;
    font-size: clamp(0.76rem, 3.1vw, 0.84rem);
  }
  .theme-ollin .store-logo-pattern,
  .theme-kanazawa .store-logo-pattern,
  .theme-nonoichi .store-logo-pattern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    opacity: 0.045;
  }
  .theme-ollin .store-logo-pattern img:nth-child(n + 6),
  .theme-kanazawa .store-logo-pattern img:nth-child(n + 6),
  .theme-nonoichi .store-logo-pattern img:nth-child(n + 6) { display: block; }
  .theme-ollin .store-logo-pattern img:nth-child(n + 7),
  .theme-kanazawa .store-logo-pattern img:nth-child(n + 7),
  .theme-nonoichi .store-logo-pattern img:nth-child(n + 7) { display: none; }
  .hero-layout,
  .guide-grid { grid-template-columns: 1fr; }
  .theme-ollin .hero-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }
  .theme-kanazawa .hero-layout,
  .theme-nonoichi .hero-layout { grid-template-columns: 1fr; gap: 4px; }
  .theme-kanazawa .store-logo-title,
  .theme-nonoichi .store-logo-title { width: min(76vw, 300px); }
  .theme-ollin .store-logo-title { width: min(76vw, 300px); }
  .theme-ollin .hero-copy-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .theme-ollin .hero-social-actions { width: min(100%, 520px); }
  .theme-ollin .ollin-hero-actions { width: min(100%, 520px); }
  .hero-showcase { min-height: 400px; }
  .hero-character--main {
    left: 52%;
    width: auto;
    height: min(80%, 320px);
    translate: -50% 0;
  }
  .hero-character--support,
  .hero-character--accent {
    width: auto;
    height: min(40%, 160px);
  }
  .hero-character--support { left: 0; }
  .hero-character--accent { right: -4%; bottom: 24px; }
  .hero-promo { min-height: 200px; padding: 36px 24px 26px; }
  .hero-cta {
    width: min(82vw, 250px);
    min-height: 0;
    padding: 32px;
    border-width: 8px;
  }
  .section-heading,
  .latest-head { align-items: flex-start; flex-direction: column; }
  .latest-head { padding: 20px; }
  .notice-stage { min-height: 260px; padding: 18px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact,
  .fact:last-child { min-height: 0; grid-column: auto; }
  .store-external-links__items { display: grid; grid-template-columns: 1fr; }
  .store-external-links__items a { justify-content: space-between; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 0; }
  .footer-inner {
    min-height: 196px;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: center;
  }
  .footer-policy { gap: 10px; }
  .content-usage-notice { max-width: 44em; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready [data-reveal],
  .motion-ready .hero-promo,
  .motion-ready .notice-gallery.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .motion-ready .hero-character,
  .motion-ready .hero-character img {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
