:root {
  --bg: #f8f3e6;
  --bg-soft: #fdfaf2;
  --surface: rgba(255, 251, 242, 0.8);
  --surface-strong: rgba(255, 250, 239, 0.94);
  --text: #44533d;
  --text-soft: #6f7d62;
  --line: rgba(143, 125, 84, 0.18);
  --primary: #d79228;
  --secondary: #9ab8a3;
  --accent: #f09a72;
  --shadow: 0 24px 48px rgba(111, 95, 60, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1180px;
  --header-safe-bottom: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 248, 228, 0.96), transparent 30%),
    radial-gradient(circle at 16% 18%, rgba(240, 220, 145, 0.32), transparent 18%),
    radial-gradient(circle at 88% 22%, rgba(194, 224, 182, 0.32), transparent 18%),
    linear-gradient(180deg, #fefcf7 0%, #f7f1e2 52%, #f3eddc 100%);
  overflow-x: hidden;
}

body.is-menu-locked {
  overflow: hidden;
  touch-action: none;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.wrapper {
  width: 100%;
  max-width: calc(var(--content-width) + 40px);
  margin: 0 auto;
  padding-inline: 20px;
}

.section {
  position: relative;
  padding: 120px 0;
}

/* section全体の表示制御はGSAP側で行う */
.scroll-section .section-inner {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #c48b3b;
  --eyebrow-line-width: 74px;
  --eyebrow-line: linear-gradient(90deg, rgba(232, 177, 93, 0), rgba(232, 177, 93, 0.9) 28%, rgba(239, 153, 144, 0.82) 100%);
  --eyebrow-shadow: rgba(232, 177, 93, 0.16);
  --eyebrow-accent: linear-gradient(135deg, #f4d79d 0%, #ef9f7e 100%);
}

.eyebrow::before {
  content: none;
}

.eyebrow::after {
  content: "";
  width: var(--eyebrow-line-width);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 153, 144, 0.82) 0%, rgba(232, 177, 93, 0.9) 72%, rgba(232, 177, 93, 0) 100%);
  box-shadow: 0 0 12px var(--eyebrow-shadow);
}

.eyebrow > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow > span::before,
.eyebrow > span::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--eyebrow-accent);
  transform: rotate(45deg);
  box-shadow:
    0 0 0 3px rgba(255, 250, 242, 0.92),
    0 0 14px rgba(239, 159, 126, 0.2);
}

.section-heading.center .eyebrow,
.download-box .eyebrow {
  justify-self: center;
}

.section-heading.center .eyebrow::before,
.download-box .eyebrow::before {
  content: "";
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232, 177, 93, 0) 0%, rgba(232, 177, 93, 0.9) 28%, rgba(239, 153, 144, 0.82) 100%);
  box-shadow: 0 0 12px var(--eyebrow-shadow);
}

.section-heading.center .eyebrow::after,
.download-box .eyebrow::after {
  content: "";
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 153, 144, 0.82) 0%, rgba(232, 177, 93, 0.9) 72%, rgba(232, 177, 93, 0) 100%);
  transform: none;
  box-shadow: 0 0 12px var(--eyebrow-shadow);
}

.section-heading h2,
.hero__title,
.download-box h2 {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.heading-balance span {
  display: inline-block;
  white-space: nowrap;
}

.section-heading {
  display: grid;
  gap: 0;
}

.section-heading.center {
  text-align: center;
  margin-bottom: 56px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  opacity: 0.35;
  z-index: -1;
}

.orb-1 {
  top: 120px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: rgba(244, 217, 135, 0.4);
}

.orb-2 {
  right: -120px;
  bottom: 80px;
  width: 380px;
  height: 380px;
  background: rgba(175, 212, 180, 0.24);
}

.about-magic {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.about-magic__item {
  position: absolute;
  top: calc(50% + var(--about-magic-offset-y, 36px));
  width: min(48vw, 600px);
  max-width: 49vw;
  opacity: 0;
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.about-magic__item--left {
  left: 0;
  transform: translate(-18%, -50%);
}

.about-magic__item--right {
  right: 0;
  transform: translate(18%, -50%);
}

.about-magic.is-active .about-magic__item {
  opacity: 0.34;
}

.about-magic.is-active .about-magic__item--left {
  transform: translate(-2%, -50%);
}

.about-magic.is-active .about-magic__item--right {
  transform: translate(2%, -50%);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 20px;
  right: 20px;
  width: auto;
  max-width: var(--content-width);
  margin-inline: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(123, 102, 63, 0.1);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: clamp(20px, 3vw, 44px);
}

.site-logo img {
  width: auto;
  height: clamp(42px, 5vw, 58px);
}

.site-logo__title {
  display: none;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-right: clamp(20px, 3vw, 44px);
  font-size: 0.93rem;
  color: var(--text-soft);
}

@media (min-width: 768px) {
  .site-header:not(.is-nav-ready) .site-nav {
    opacity: 0;
    visibility: hidden;
  }

  .site-header.is-nav-ready .site-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.22s ease;
  }
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0.04em;
  --nav-hover-gradient: linear-gradient(90deg, #d78d28 0%, #ef8fa0 34%, #83b8b0 68%, #8aa3e6 100%);
  --nav-hover-shadow: rgba(215, 141, 40, 0.18);
  transition:
    transform 0.25s ease,
    text-shadow 0.25s ease,
    filter 0.25s ease;
}

.site-nav a:nth-child(1) {
  --nav-hover-gradient: linear-gradient(90deg, #d99c31 0%, #efb36d 52%, #f3d89f 100%);
  --nav-hover-shadow: rgba(217, 156, 49, 0.24);
}

.site-nav a:nth-child(2) {
  --nav-hover-gradient: linear-gradient(90deg, #92ae61 0%, #7fc7a9 55%, #cfe7b0 100%);
  --nav-hover-shadow: rgba(127, 199, 169, 0.22);
}

.site-nav a:nth-child(3) {
  --nav-hover-gradient: linear-gradient(90deg, #e18ea3 0%, #d77583 48%, #f3c2b9 100%);
  --nav-hover-shadow: rgba(225, 142, 163, 0.22);
}

.site-nav a:nth-child(4) {
  --nav-hover-gradient: linear-gradient(90deg, #8a7ad6 0%, #c18fe9 50%, #f0bfdc 100%);
  --nav-hover-shadow: rgba(138, 122, 214, 0.22);
}

.site-nav a:nth-child(5) {
  --nav-hover-gradient: linear-gradient(90deg, #6ca9d8 0%, #87c8df 50%, #c9eef4 100%);
  --nav-hover-shadow: rgba(108, 169, 216, 0.22);
}

.site-nav a:nth-child(6) {
  --nav-hover-gradient: linear-gradient(90deg, #d49662 0%, #e3b487 48%, #f0d5af 100%);
  --nav-hover-shadow: rgba(212, 150, 98, 0.22);
}

.site-nav a:hover {
  background: var(--nav-hover-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 14px var(--nav-hover-shadow);
  filter: saturate(1.12);
  transform: translateY(-1px);
}

.site-menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(143, 125, 84, 0.2);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.86);
  box-shadow: 0 10px 20px rgba(111, 95, 60, 0.1);
  cursor: pointer;
}

.site-menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #8c774f;
  transition:
    top 0.24s ease,
    transform 0.24s ease,
    opacity 0.18s ease;
}

.site-menu-toggle span:nth-child(1) {
  top: 15px;
}

.site-menu-toggle span:nth-child(2) {
  top: 21px;
}

.site-menu-toggle span:nth-child(3) {
  top: 27px;
}

.site-header.is-menu-open .site-menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.site-header.is-menu-open .site-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .site-menu-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.site-header.is-scrolled {
  background: rgba(255, 249, 239, 0.9);
  border-color: rgba(161, 136, 93, 0.22);
  box-shadow: 0 12px 26px rgba(111, 95, 60, 0.12);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  padding: 120px 0 56px;
}

.hero__bg,
.hero__sparkles {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 230, 159, 0.28), transparent 18%),
    radial-gradient(circle at 82% 26%, rgba(253, 205, 202, 0.24), transparent 21%),
    radial-gradient(circle at 55% 78%, rgba(194, 224, 182, 0.3), transparent 22%);
}

.hero__sparkles {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.85) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(244, 216, 150, 0.45) 1px, transparent 1.5px);
  background-size: 160px 160px, 220px 220px;
  background-position: 0 0, 40px 90px;
  opacity: 0.3;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - 176px);
  padding-top: clamp(260px, 42vw, 520px);
}

.hero__copy {
  position: relative;
  max-width: min(560px, calc(100% - 24px));
  margin-top: clamp(24px, 4vw, 52px);
  padding: 34px 34px 32px;
  border: 1px solid rgba(255, 248, 236, 0.72);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(249, 243, 231, 0.82)),
    radial-gradient(circle at top right, rgba(247, 220, 151, 0.18), transparent 34%);
  box-shadow:
    0 24px 48px rgba(111, 95, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.hero__copy::before {
  content: none;
}

.hero__copy::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  border: 1px solid rgba(214, 184, 123, 0.24);
  transform: rotate(14deg);
  opacity: 0.55;
  pointer-events: none;
}

.hero__copy .eyebrow {
  gap: 12px;
  margin-bottom: 18px;
}

.hero__copy .eyebrow::before {
  width: 74px;
}

.hero__title {
  font-size: clamp(1.25rem, 7vw, 3rem);
  margin-bottom: 18px;
  line-height: 1.18;
}

.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__text {
  margin: 0;
  color: #5d6a52;
  font-size: 1rem;
  line-height: 1.95;
  max-width: 34em;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fffdfa;
  background: linear-gradient(135deg, #d28e24, #ebb661 58%, #d88a56);
  box-shadow: 0 16px 30px rgba(196, 139, 59, 0.24);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 250, 242, 0.7);
}

.hero__visual {
  position: absolute;
  inset: 0 0 32px;
  z-index: 0;
  pointer-events: none;
}

.hero__logo-wrap {
  position: absolute;
  left: 50%;
  top: clamp(126px, 13vw, 176px);
  z-index: 1;
  width: min(62vw, 760px);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__logo {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(32px);
  filter:
    drop-shadow(0 18px 40px rgba(104, 76, 27, 0.22))
    drop-shadow(0 4px 10px rgba(255, 249, 239, 0.9));
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(167, 142, 95, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(252, 245, 232, 0.76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card__label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.88);
  color: #8a6732;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero-card img {
  aspect-ratio: 7 / 9;
  object-fit: cover;
}

.hero-card--main {
  inset: 0;
  width: 100%;
}

.hero-card--landscape {
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-card--landscape::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.02) 0%, rgba(255, 248, 236, 0.04) 42%, rgba(247, 240, 225, 0.72) 100%),
    linear-gradient(90deg, rgba(248, 243, 230, 0.54) 0%, rgba(248, 243, 230, 0.12) 24%, rgba(248, 243, 230, 0) 52%);
  filter: none;
  pointer-events: none;
}

.hero-card--landscape img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}

.hero-card--landscape .hero-card__label {
  top: 24px;
  left: 24px;
  background: rgba(255, 249, 239, 0.92);
}

.intro__text {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 244, 0.76);
  color: var(--text-soft);
  line-height: 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.gallery-item,
.download-box,
.showcase-card {
  border: 1px solid var(--line);
  background: rgba(255, 251, 244, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: transparent;
}

.feature-card__image {
  display: block;
  overflow: hidden;
  margin: -1px -1px 0;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  line-height: 0;
}

.feature-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-card__body {
  padding: 24px;
  background: rgba(255, 251, 244, 0.82);
}

.feature-card__num {
  margin: 0 0 10px;
  color: #cf9050;
  font-family: 'Zen Old Mincho', serif;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.feature-card p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.9;
}

.showcase {
  padding: 120px 0;
}

.showcase__sticky {
  position: relative;
  min-height: auto;
}

.showcase__inner {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 0;
}

.showcase__copy > p {
  margin-top: 20px;
  color: var(--text-soft);
  line-height: 2;
}

.showcase-photo {
  width: min(100%, 500px);
  margin: 28px auto 0;
  padding: 12px 12px 22px;
  border: 1px solid rgba(188, 168, 129, 0.34);
  border-radius: 4px;
  background: linear-gradient(180deg, #fffefb 0%, #f7f2e8 100%);
  box-shadow:
    0 18px 32px rgba(111, 95, 60, 0.14),
    0 6px 12px rgba(111, 95, 60, 0.1);
  transform: rotate(-1.5deg);
}

.showcase-photo img {
  display: block;
  width: 100%;
  border: 1px solid rgba(196, 177, 139, 0.3);
  background: #f4efe5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.showcase__cards {
  position: relative;
  display: grid;
  gap: 18px;
}

.showcase-card {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 251, 244, 0.98) 0 62%, rgba(255, 251, 244, 0.84) 74%, rgba(255, 251, 244, 0.5) 100%);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right center;
  background-size: 100% 100%, auto 100%;
  opacity: 0.78;
}

.showcase-card--alice::before {
  background-image:
    linear-gradient(90deg, rgba(255, 251, 244, 1) 0 60%, rgba(255, 251, 244, 0.96) 68%, rgba(255, 251, 244, 0.58) 76%, rgba(255, 251, 244, 0.12) 84%, rgba(255, 251, 244, 0) 90%),
    url("img/world_alice.png");
}

.showcase-card--snowwhite::before {
  background-image:
    linear-gradient(90deg, rgba(255, 251, 244, 1) 0 60%, rgba(255, 251, 244, 0.96) 68%, rgba(255, 251, 244, 0.58) 76%, rgba(255, 251, 244, 0.12) 84%, rgba(255, 251, 244, 0) 90%),
    url("img/world_snowwhite.png");
}

.showcase-card--sinbad::before {
  background-image:
    linear-gradient(90deg, rgba(255, 251, 244, 1) 0 60%, rgba(255, 251, 244, 0.96) 68%, rgba(255, 251, 244, 0.58) 76%, rgba(255, 251, 244, 0.12) 84%, rgba(255, 251, 244, 0) 90%),
    url("img/world_sinbad.png");
}

.showcase-card span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #c48b3b;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.showcase-card span::after {
  content: "";
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 153, 144, 0.82) 0%, rgba(232, 177, 93, 0.9) 68%, rgba(232, 177, 93, 0) 100%);
  box-shadow: 0 0 12px rgba(232, 177, 93, 0.16);
}

.showcase-card h3 {
  margin: 0 0 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.showcase-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.96),
    1px -1px 0 rgba(255, 255, 255, 0.96),
    -1px 1px 0 rgba(255, 255, 255, 0.96),
    1px 1px 0 rgba(255, 255, 255, 0.96),
    0 0 10px rgba(255, 255, 255, 0.52);
}

.movie-showcase {
  position: relative;
  display: grid;
  gap: 28px;
}

.character {
  overflow: clip;
}

.character-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  grid-template-areas:
    "visual details"
    "selector selector";
  gap: 42px;
  align-items: start;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(191, 159, 99, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 251, 244, 0.96), rgba(248, 242, 228, 0.88)),
    radial-gradient(circle at top left, rgba(247, 217, 146, 0.28), transparent 32%);
  box-shadow:
    0 28px 60px rgba(111, 95, 60, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  overflow: hidden;
}

.character-stage::before,
.character-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.character-stage::before {
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(240, 154, 114, 0.2), rgba(240, 154, 114, 0));
}

.character-stage::after {
  bottom: -140px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(154, 184, 163, 0.2), rgba(154, 184, 163, 0));
}

.character-stage__visual,
.character-stage__details,
.character-selector {
  position: relative;
  z-index: 1;
}

.character-stage__visual {
  grid-area: visual;
  display: grid;
  place-items: center;
  min-height: 100%;
}

.character-stage__glow {
  position: absolute;
  inset: 10% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 241, 211, 0.96) 0%, rgba(255, 241, 211, 0.52) 32%, rgba(255, 241, 211, 0) 72%);
  filter: blur(8px);
}

.character-stage__frame {
  position: relative;
  isolation: isolate;
  width: min(100%, 440px);
  aspect-ratio: 1 / 1;
  padding: 26px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #9b6a20 0%, #d9ab42 12%, #f7e5b0 24%, #bf8425 38%, #f0cc74 52%, #a76f1d 66%, #e3b955 82%, #7f5316 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 227, 0.5),
    inset 0 0 0 4px rgba(126, 82, 19, 0.26),
    inset 0 0 0 12px rgba(214, 165, 63, 0.24),
    inset 0 0 0 20px rgba(143, 96, 27, 0.24),
    inset 0 14px 20px rgba(255, 242, 203, 0.34),
    inset 0 -14px 18px rgba(98, 65, 18, 0.22),
    0 26px 52px rgba(110, 78, 29, 0.18);
  overflow: hidden;
}

.character-stage__frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(249, 243, 230, 0.98), rgba(239, 228, 201, 0.96)),
    linear-gradient(90deg, rgba(236, 201, 119, 0.18), rgba(236, 201, 119, 0));
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 219, 0.78),
    inset 0 0 0 8px rgba(197, 151, 60, 0.18),
    inset 0 0 0 10px rgba(124, 86, 28, 0.4);
  pointer-events: none;
}

.character-stage__frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 3;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(249, 228, 171, 0.62), rgba(249, 228, 171, 0.08) 24px, transparent 24px calc(100% - 24px), rgba(249, 228, 171, 0.08) calc(100% - 24px), rgba(249, 228, 171, 0.62)),
    linear-gradient(180deg, rgba(249, 228, 171, 0.62), rgba(249, 228, 171, 0.08) 24px, transparent 24px calc(100% - 24px), rgba(249, 228, 171, 0.08) calc(100% - 24px), rgba(249, 228, 171, 0.62)),
    linear-gradient(135deg, transparent 0 18px, rgba(174, 125, 34, 0.64) 18px 28px, transparent 28px) top left / 72px 72px no-repeat,
    linear-gradient(225deg, transparent 0 18px, rgba(174, 125, 34, 0.64) 18px 28px, transparent 28px) top right / 72px 72px no-repeat,
    linear-gradient(315deg, transparent 0 18px, rgba(174, 125, 34, 0.64) 18px 28px, transparent 28px) bottom right / 72px 72px no-repeat,
    linear-gradient(45deg, transparent 0 18px, rgba(174, 125, 34, 0.64) 18px 28px, transparent 28px) bottom left / 72px 72px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 239, 205, 0.34);
  pointer-events: none;
}

.character-stage__portrait {
  position: absolute;
  inset: 26px;
  z-index: 2;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.86), rgba(247, 239, 223, 0.56));
  box-shadow:
    inset 0 0 0 1px rgba(255, 246, 224, 0.42);
}

.character-stage__frame img {
  position: relative;
  z-index: 0;
  width: 115%;
  height: 115%;
  object-fit: contain;
  object-position: center 78%;
}

.character-stage__details {
  grid-area: details;
  display: grid;
  align-content: start;
}

.character-copy {
  padding: 14px 6px 0 0;
}

.character-copy__tag {
  margin: 0 0 12px;
  color: #c48b3b;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.character-copy__name {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.character-copy__role {
  margin: 14px 0 0;
  color: #8e6a3b;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.character-copy__text {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 2;
}

.character-selector {
  grid-area: selector;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(4px, 1.2vw, 12px);
  align-items: end;
  width: min(100%, 640px);
  margin: 0 auto;
  padding-top: 8px;
}

.character-thumb {
  --thumb-accent: #e59a68;
  --thumb-accent-mid: var(--thumb-accent-soft);
  --thumb-accent-soft: #f4d3a5;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.character-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 92%;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at left center, var(--thumb-accent-soft) 0 3px, transparent 3.2px),
    radial-gradient(circle at right center, var(--thumb-accent-soft) 0 3px, transparent 3.2px),
    linear-gradient(90deg, var(--thumb-accent) 0%, var(--thumb-accent-mid) 50%, var(--thumb-accent) 100%);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--thumb-accent) 32%, transparent);
  transform: translateX(-50%) scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.character-thumb:hover,
.character-thumb:focus-visible {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 12px 20px rgba(111, 95, 60, 0.16));
  outline: none;
}

.character-thumb.is-active {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 18px 24px rgba(111, 95, 60, 0.18));
}

.character-thumb.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.character-thumb__image {
  display: grid;
  place-items: end center;
  aspect-ratio: 5 / 9;
  border-radius: 0;
  background: transparent;
}

.character-thumb__image img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.movie-showcase__text {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--text-soft);
  line-height: 2;
}

.movie-frame {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(201, 164, 91, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(247, 239, 223, 0.92)),
    radial-gradient(circle at top, rgba(245, 218, 147, 0.24), transparent 46%);
  box-shadow:
    0 24px 54px rgba(111, 95, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.movie-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(205, 175, 108, 0.24);
  border-radius: 24px;
  pointer-events: none;
}

.movie-frame__inner {
  position: relative;
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.94), rgba(255, 251, 245, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 16px 36px rgba(146, 117, 53, 0.12);
}

.movie-frame__shine {
  position: absolute;
  inset: 0 auto auto -8%;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  pointer-events: none;
}

.movie-frame__ornament {
  position: absolute;
  top: 18px;
  width: 92px;
  height: 92px;
  opacity: 0.28;
  pointer-events: none;
}

.movie-frame__ornament::before,
.movie-frame__ornament::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(212, 170, 83, 0.58);
  border-radius: 24px;
}

.movie-frame__ornament::after {
  inset: 18px;
  border-radius: 18px;
}

.movie-frame__ornament--left {
  left: 18px;
}

.movie-frame__ornament--right {
  right: 18px;
}

.movie-embed {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3ead8;
  box-shadow:
    0 0 0 1px rgba(171, 134, 68, 0.15),
    0 18px 32px rgba(97, 82, 54, 0.18);
}

.movie-embed::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

.movie-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-carousel {
  --gallery-gap: 22px;
  --gallery-slide-width: 76%;
  display: grid;
  gap: 22px;
}

.gallery-viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 0 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.7), rgba(250, 244, 231, 0.42)),
    radial-gradient(circle at center, rgba(245, 220, 168, 0.12), transparent 72%);
  touch-action: pan-x;
  outline: none;
  cursor: grab;
}

.gallery-viewport.is-loop-jumping {
  opacity: 0.88;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-viewport::before,
.gallery-viewport::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 16px;
  width: clamp(32px, 6vw, 72px);
  z-index: 2;
  pointer-events: none;
}

.gallery-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(248, 243, 230, 0.7), rgba(248, 243, 230, 0));
}

.gallery-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(248, 243, 230, 0.7), rgba(248, 243, 230, 0));
}

.gallery-viewport:focus-visible {
  box-shadow: 0 0 0 4px rgba(240, 154, 114, 0.22);
}

.gallery-grid {
  display: flex;
  gap: var(--gallery-gap);
  will-change: transform;
  transition: transform .45s ease;
}

.gallery-viewport.is-dragging {
  cursor: grabbing;
}

.gallery-viewport.is-dragging .gallery-grid {
  transition: none;
}

.gallery-item {
  flex: 0 0 var(--gallery-slide-width);
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(250, 244, 231, 0.92));
  box-shadow: 0 18px 36px rgba(111, 95, 60, 0.14);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 2732 / 2048;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.88);
  box-shadow: 0 12px 24px rgba(111, 95, 60, 0.16);
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.gallery-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #8c774f;
  border-right: 2px solid #8c774f;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: rgba(255, 252, 246, 0.96);
  box-shadow: 0 14px 26px rgba(111, 95, 60, 0.2);
  outline: none;
}

.gallery-arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

.gallery-arrow--prev {
  left: 18px;
}

.gallery-arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.gallery-arrow--next {
  right: 18px;
}

.gallery-arrow--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(181, 160, 115, 0.32);
  box-shadow: inset 0 0 0 1px rgba(143, 125, 84, 0.14);
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.gallery-dot:hover,
.gallery-dot:focus-visible {
  transform: scale(1.08);
  background: rgba(215, 146, 40, 0.46);
  box-shadow: 0 0 0 4px rgba(240, 154, 114, 0.18);
  outline: none;
}

.gallery-dot.is-active {
  background: linear-gradient(135deg, #f09a72, #d79228);
  box-shadow:
    0 8px 18px rgba(196, 139, 59, 0.24),
    0 0 0 4px rgba(255, 237, 205, 0.9);
  transform: scale(1.18);
}

.download-box {
  padding: 56px 42px;
  text-align: center;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(250, 244, 231, 0.84)),
    radial-gradient(circle at top, rgba(246, 217, 143, 0.28), transparent 42%);
}

.download-box h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.download-box__text {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--text-soft);
  line-height: 2;
}

.download-box__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 0;
  padding: 0;
  transition: transform .25s ease, filter .25s ease;
}

.store-badge img {
  width: auto;
  max-width: 100%;
  height: 62px;
  object-fit: contain;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(196, 139, 59, 0.18));
}

.site-footer {
  position: relative;
  padding: 42px 20px 46px;
  background:
    linear-gradient(180deg, rgba(244, 233, 210, 0) 0%, rgba(244, 233, 210, 0.48) 12%, rgba(232, 216, 185, 0.84) 100%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.94), rgba(239, 226, 198, 0.96));
  border-top: 1px solid rgba(202, 177, 129, 0.42);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 8px;
  text-align: center;
  color: rgba(88, 96, 75, 0.72);
  font-size: 0.85rem;
  display: grid;
  gap: 14px;
}

.site-footer__inner::before,
.site-footer__inner::after {
  content: "";
  position: absolute;
  top: 15px;
  width: min(18vw, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 149, 79, 0.82), transparent);
}

.site-footer__inner::before {
  left: 0;
}

.site-footer__inner::after {
  right: 0;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 0;
  padding-top: 4px;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: #7f6846;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.site-footer__link:hover {
  transform: translateY(-1px);
  border-color: rgba(189, 131, 52, 0.88);
  color: #9b6a20;
  background: transparent;
}

.site-footer__copyright {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(210, 191, 151, 0.58);
  letter-spacing: 0.04em;
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

.floating-slow {
  animation: floating 8s ease-in-out infinite reverse;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ヒーロー冒頭用 */
.js-fadeup,
.js-fadeup-delay {
  opacity: 0;
  transform: translateY(32px);
}

@media (max-width: 1080px) {
  .site-header {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: 920px;
    padding: 14px 16px;
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-logo {
    margin-left: 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-right: 0;
    font-size: 0.89rem;
  }

  .grid-2,
  .showcase__inner,
  .feature-grid,
  .character-stage {
    grid-template-columns: 1fr;
  }

  .intro .section-heading,
  .showcase__copy {
    text-align: center;
  }

  .intro .section-heading .eyebrow,
  .showcase__copy .section-heading .eyebrow {
    justify-self: center;
  }

  .intro .section-heading .eyebrow::before,
  .showcase__copy .section-heading .eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(232, 177, 93, 0) 0%, rgba(232, 177, 93, 0.9) 28%, rgba(239, 153, 144, 0.82) 100%);
    box-shadow: 0 0 12px var(--eyebrow-shadow);
  }

  .intro .section-heading .eyebrow::after,
  .showcase__copy .section-heading .eyebrow::after {
    content: "";
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(239, 153, 144, 0.82) 0%, rgba(232, 177, 93, 0.9) 72%, rgba(232, 177, 93, 0) 100%);
    transform: none;
    box-shadow: 0 0 12px var(--eyebrow-shadow);
  }

  .intro__text,
  .showcase__copy > p {
    text-align: center;
  }

  .showcase-photo {
    width: min(100%, 560px);
  }

  .hero__inner {
    min-height: calc(100svh - 176px);
    padding-top: clamp(220px, 52vw, 440px);
  }

  .hero__logo-wrap {
    width: min(84vw, 920px);
    top: clamp(150px, 24vw, 250px);
  }

  .hero__copy {
    max-width: 520px;
    margin-top: clamp(48px, 8vw, 84px);
  }

  .movie-frame__ornament {
    width: 74px;
    height: 74px;
  }

  .showcase__sticky {
    min-height: auto;
  }

  .showcase__inner {
    position: static;
    min-height: auto;
  }

  .character-stage__visual {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .character-stage {
    grid-template-areas:
      "visual"
      "details"
      "selector";
  }
}

@media (max-width: 900px) {
  .about-magic__item {
    width: min(50vw, 390px);
    opacity: 0;
  }

  .about-magic.is-active .about-magic__item {
    opacity: 0.26;
  }

  .about-magic__item--left {
    transform: translate(-22%, -50%);
  }

  .about-magic__item--right {
    transform: translate(22%, -50%);
  }

  .about-magic.is-active .about-magic__item--left {
    transform: translate(-10%, -50%);
  }

  .about-magic.is-active .about-magic__item--right {
    transform: translate(10%, -50%);
  }
}

@media (max-width: 767px) {
  :root {
    --about-magic-offset-y: 24px;
  }

  .about-magic__item {
    top: clamp(132px, 38vw, 170px);
    width: min(95vw, 497px);
    max-width: 95vw;
  }

  .about-magic.is-active .about-magic__item {
    opacity: 0.28;
  }

  .about-magic__item--left {
    transform: translate(-46%, -50%);
  }

  .about-magic__item--right {
    transform: translate(46%, -50%);
  }

  .about-magic.is-active .about-magic__item--left {
    transform: translate(-30%, -50%);
  }

  .about-magic.is-active .about-magic__item--right {
    transform: translate(30%, -50%);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 88px 0;
  }

  .site-header {
    top: 12px;
    left: auto;
    right: 12px;
    width: 44px;
    height: 44px;
    max-width: none;
    margin-inline: 0;
    display: grid;
    grid-template-columns: 44px;
    align-items: center;
    justify-items: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: none;
  }

  .site-header.is-scrolled {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .site-header.is-menu-open {
    inset: 0;
    width: auto;
    height: 100svh;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: center;
    padding: max(74px, env(safe-area-inset-top)) 28px 42px;
    background: rgba(255, 250, 240, 0.74);
    -webkit-backdrop-filter: blur(14px) saturate(1.04);
    backdrop-filter: blur(14px) saturate(1.04);
    box-shadow:
      inset 0 0 0 1px var(--line),
      0 12px 28px rgba(123, 102, 63, 0.1);
    pointer-events: auto;
  }

  .site-menu-toggle {
    display: inline-flex;
    position: fixed;
    top: 12px;
    right: 12px;
    justify-self: end;
    z-index: 2;
    pointer-events: auto;
  }

  .site-logo {
    display: none;
    margin-left: 0;
  }

  .site-header.is-menu-open .site-logo {
    display: inline-flex;
    justify-content: center;
    width: min(82vw, 420px);
    margin: 0 auto 42px;
  }

  .site-header.is-menu-open .site-logo__mark {
    display: none;
  }

  .site-header.is-menu-open .site-logo__title {
    display: block;
    width: 100%;
    height: auto;
  }

  .site-nav {
    grid-column: auto;
    width: min(100%, 360px);
    max-height: 0;
    overflow: hidden auto;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 0;
    font-size: clamp(1.08rem, 5vw, 1.55rem);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height 0.28s ease,
      margin-top 0.28s ease,
      opacity 0.16s ease,
      visibility 0s linear 0.28s;
  }

  .site-header.is-menu-open .site-nav {
    max-height: calc(100svh - 220px);
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overscroll-behavior: contain;
    transition:
      max-height 0.28s ease,
      margin-top 0.28s ease,
      opacity 0.18s ease 0.12s,
      visibility 0s linear;
  }

  .site-nav a {
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 6px 0;
    border-top: 1px solid rgba(143, 125, 84, 0.16);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-6px);
    text-shadow: 0 6px 16px rgba(111, 95, 60, 0.12);
    transition:
      opacity 0.16s ease,
      transform 0.18s ease;
  }

  .site-header.is-menu-open .site-nav a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.16s;
  }

  .site-logo__mark {
    height: 40px;
  }

  .site-footer {
    padding: 30px 16px 34px;
  }

  .site-footer__inner {
    padding: 0;
  }

  .site-footer__inner::before,
  .site-footer__inner::after {
    width: 44px;
  }

  .site-footer__inner::before {
    left: 0;
  }

  .site-footer__inner::after {
    right: 0;
  }

  .site-footer__nav {
    gap: 10px;
  }

  .site-footer__link {
    width: auto;
  }

  .hero {
    padding-top: calc(var(--header-safe-bottom) + 56px);
  }

  .hero__inner {
    min-height: auto;
    padding-top: clamp(260px, calc(var(--header-safe-bottom) + 34vw), 420px);
    align-items: flex-end;
  }

  .hero__logo-wrap {
    top: clamp(132px, 30vw, 158px);
    width: min(calc(100vw - 72px), 460px);
  }

  .hero__text {
    font-size: 0.97rem;
    line-height: 1.9;
  }

  .hero__visual {
    inset: 0 0 120px;
  }

  .hero__copy {
    max-width: 100%;
    margin-top: clamp(36px, 8vw, 56px);
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .hero__copy .eyebrow {
    gap: 10px;
    margin-bottom: 16px;
  }

  .eyebrow {
    gap: 10px;
    --eyebrow-line-width: 56px;
  }

  .eyebrow > span {
    gap: 8px;
  }

  .section-heading.center .eyebrow::before,
  .section-heading.center .eyebrow::after,
  .download-box .eyebrow::before,
  .download-box .eyebrow::after {
    width: 38px;
  }

  .hero__copy .eyebrow::before {
    width: 56px;
  }

  .hero__copy::after {
    right: 16px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .hero-card--landscape .hero-card__label {
    top: 18px;
    left: 18px;
  }

  .showcase__inner {
    padding-top: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .movie-frame {
    padding: 14px;
    border-radius: 24px;
  }

  .movie-frame__inner {
    padding: 10px;
    border-radius: 18px;
  }

  .movie-frame__ornament {
    top: 12px;
    width: 56px;
    height: 56px;
  }

  .movie-frame__ornament--left {
    left: 12px;
  }

  .movie-frame__ornament--right {
    right: 12px;
  }

  .showcase-card {
    background:
      linear-gradient(90deg, rgba(255, 251, 244, 0.98) 0 58%, rgba(255, 251, 244, 0.86) 74%, rgba(255, 251, 244, 0.58) 100%);
  }

  .showcase-card::before {
    background-size: 100% 100%, auto 100%;
    opacity: 0.7;
  }

  .gallery-grid {
    gap: 18px;
  }

  .gallery-dot {
    width: 11px;
    height: 11px;
  }

  .gallery-carousel {
    --gallery-gap: 18px;
    --gallery-slide-width: 82%;
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
  }

  .gallery-arrow--prev {
    left: 10px;
  }

  .gallery-arrow--next {
    right: 10px;
  }

  .character-stage {
    grid-template-areas:
      "visual"
      "selector"
      "details";
    gap: 28px;
    padding: 22px 18px;
    border-radius: 26px;
  }

  .character-stage__frame {
    padding: 18px;
    border-radius: 8px;
  }

  .character-stage__frame::before {
    inset: 12px;
    border-radius: 3px;
  }

  .character-stage__frame::after {
    inset: 6px;
    border-radius: 4px;
  }

  .character-stage__portrait {
    inset: 18px;
  }

  .character-copy {
    padding: 0;
  }

  .character-copy__name {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .character-copy__role,
  .character-copy__text {
    font-size: 0.95rem;
  }

  .character-selector {
    gap: 6px;
    width: 100%;
  }

  .character-thumb {
    transform-origin: center bottom;
  }

  .character-thumb__image img {
    max-width: 100%;
    max-height: 100%;
  }

  .gallery-viewport::before,
  .gallery-viewport::after {
    width: clamp(20px, 8vw, 40px);
  }

  .download-box {
    padding: 38px 22px;
  }

  .download-box h2 {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
    white-space: nowrap;
  }

  .download-box__buttons {
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
  }

  .store-badge img {
    width: min(100%, 240px);
    height: auto;
  }
}

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