/* Fonts - loaded via HTML for better performance */
:root {
  --black: #090909;
  --dark: #161311;
  --paper: #f5efe6;
  --muted: #b9b0a5;
  --line: rgba(245,239,230,.16);
  --orange: #e93f1d;
  --orange2: #ff7140;
  --gold: #ffd180;
  --w: 1180px;
  --font-en: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--paper);
  font-family: "Noto Sans JP",sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}
a {
  color: inherit;
  text-decoration: none
}
.container {
  width: min(calc(100% - 48px),var(--w));
  margin: auto
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 84px;
  border-bottom: 1px solid transparent;
  transition: .25s
}
.header.on {
  background: rgba(9,9,9,.86);
  border-color: var(--line);
  backdrop-filter: blur(14px)
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  align-items: center;
}
.brand img {
  display: block;
  height: 30px;
  width: auto;
}
@media (min-width: 768px) {
  .brand img {
    height: 45px;
  }
}
.brand strong {
  font: 600 1.72rem/1 var(--font-en);
  letter-spacing: -.08em;
  color: #fff;
  text-shadow: 0 0 16px rgba(255,255,255,.2)
}
.brand span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em
}
.header__cta {
  min-height: 42px;
  padding: 10px 19px;
  border: 1px solid rgba(255,255,255,.8);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  transition: .2s
}
.header__cta:hover {
  background: var(--paper);
  color: var(--black)
}

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 38%,rgba(233,63,29,.25),transparent 22%),radial-gradient(circle at 56% 75%,rgba(255,209,128,.12),transparent 24%),linear-gradient(110deg,#090909 8%,rgba(9,9,9,.86) 55%,rgba(9,9,9,.5))
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(90deg,#000,transparent 73%);
  -webkit-mask-image: linear-gradient(90deg,#000,transparent 73%)
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 48px;
  align-items: center
}
.eyebrow {
  margin: 0;
  color: var(--orange2);
  font: 400 .69rem var(--font-mono);
  letter-spacing: .16em
}
.eyebrow:before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: currentColor
}
.eyebrow--dark {
  color: var(--orange)
}
.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(3.0rem,7.0vw,5.0rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.09em
}
.hero__brand {
  display: block;
  margin-bottom: 12px;
  font: 700 clamp(2.2rem,5vw,3.6rem)/1 var(--font-en);
  letter-spacing: -.06em;
  color: #fff;
  text-shadow: 0 0 24px rgba(255,255,255,.15)
}
.hero__brand small {
  display: inline-block;
  margin-left: 12px;
  font-family: "Noto Sans JP",sans-serif;
  font-size: .38em;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--muted);
  vertical-align: middle
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(105deg,#fff1d9,var(--gold) 42%,var(--orange2));
  background-clip: text;
  -webkit-background-clip: text
}
.hero__lead {
  margin: 28px 0 0;
  color: var(--muted);
  font-weight: 400
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 58px;
  padding: 0 26px;
  border: 0;
  color: var(--black);
  background: linear-gradient(110deg,var(--gold),#fff4d8 47%,var(--orange2));
  font-size: .81rem;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 12px 30px rgba(233,63,29,.18);
  cursor: pointer;
  transition: .22s
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(233,63,29,.32)
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .hero__buttons {
    flex-direction: column;
  }
  .hero__buttons .button {
    width: 100%;
  }
}
.media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg,rgba(255,209,128,.08),rgba(233,63,29,.15)),repeating-linear-gradient(135deg,rgba(255,255,255,.055) 0,rgba(255,255,255,.055) 1px,transparent 1px,transparent 13px),#1d1815;
  color: rgba(255,255,255,.78)
}
.media:before {
  content: "";
  position: absolute;
  inset: 16px;
}
.media__label {
  position: relative;
  z-index: 1;
  font: 400 .78rem var(--font-mono);
  letter-spacing: .16em
}
.media__note {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: rgba(255,255,255,.55);
  font-size: .66rem;
  text-align: center
}
.hero__media {
  min-height: 590px;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 30px 32px 0 rgba(233,63,29,.9)
}
.media__frame {
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(255,255,255,.28)
}
.media__frame:before,.media__frame:after {
  content: "";
  position: absolute;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255,209,128,.65)
}
.media__frame:before {
  top: 18%
}
.media__frame:after {
  bottom: 18%
}
.hero__scroll {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.45);
  font: 400 .6rem var(--font-mono);
  letter-spacing: .14em;
  transform: rotate(90deg);
  transform-origin: right bottom
}
.hero__scroll i {
  width: 56px;
  height: 1px;
  background: var(--orange2)
}

/* Shared sections */
.section {
  padding: 126px 0
}
.heading {
  margin: 10px 0 0;
  font-size: clamp(2.3rem,4.5vw,4.8rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.07em
}
.heading__en {
  font-family: var(--font-en);
  letter-spacing: -.03em
}
.heading__nowrap {
  white-space: nowrap
}
.heading--dark {
  color: var(--black)
}

/* How to play */
.how,.use {
  background: var(--paper);
  color: var(--black)
}
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 58px;
  border-top: 1px solid rgba(0,0,0,.2);
  border-left: 1px solid rgba(0,0,0,.2)
}
.step {
  padding: 28px 24px 30px;
  border-right: 1px solid rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(0,0,0,.2)
}
.step__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px
}
.step__title b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font: 400 .66rem var(--font-mono)
}
.step__title h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900
}
.step__media {
  min-height: 260px
}
.step p {
  margin: 19px 0 0;
  font-size: .92rem;
  font-weight: 700
}

/* Experience */
.experience {
  overflow: hidden;
  background: var(--black)
}
.stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: repeating-linear-gradient(105deg,var(--orange) 0 26px,#b72712 26px 48px,var(--orange2) 48px 72px)
}
.experience__inner {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center
}
.experience__copy>p:not(.eyebrow) {
  margin: 26px 0 0;
  color: var(--muted);
  font-weight: 400
}
.experience__media {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line)
}
.cc {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255,255,255,.12);
  font: 700 13rem/1 var(--font-en);
  letter-spacing: -.2em;
  transform: translate(-50%,-50%)
}
.use__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px
}
.use__heading>p {
  margin: 0 0 8px;
  color: #5b534b;
  font-size: .9rem;
  font-weight: 600
}
.use__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 58px
}
.usecard__media {
  min-height: 290px;
  transition: .22s
}
.usecard:hover .usecard__media {
  transform: translateY(-6px)
}
.usecard h3 {
  margin: 16px 0 0;
  font-size: 1.06rem;
  font-weight: 900
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--dark)
}
.contact__pattern {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 155px;
  opacity: .92;
  background: linear-gradient(90deg,transparent 0 4%,#6c1d0e 4% 6%,transparent 6% 12%,#8f210e 12% 16%,transparent 16% 22%,#6c1d0e 22% 25%,transparent 25% 32%,#8f210e 32% 36%,transparent 36% 42%,#6c1d0e 42% 45%,transparent 45% 52%,#8f210e 52% 57%,transparent 57% 64%,#6c1d0e 64% 67%,transparent 67% 75%,#8f210e 75% 81%,transparent 81% 87%,#6c1d0e 87% 90%,transparent 90%),repeating-linear-gradient(105deg,var(--orange) 0 34px,#ab2612 34px 55px,var(--orange2) 55px 78px);
  clip-path: polygon(0 38%,4% 0,9% 56%,14% 10%,20% 46%,26% 0,31% 74%,39% 20%,46% 55%,51% 0,58% 68%,65% 18%,72% 58%,79% 0,85% 52%,91% 18%,100% 65%,100% 100%,0 100%)
}
.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 80px;
  align-items: start
}
.contact__copy>p:not(.eyebrow) {
  margin: 25px 0 0;
  color: var(--muted);
  font-weight: 400
}
.contact__copy>strong {
  display: block;
  margin-top: 60px;
  font: 700 1.42rem var(--font-en);
  letter-spacing: -.05em
}
.contact__copy>strong span,.footer strong span {
  font-family: Georgia,serif;
  font-weight: 400
}
.form {
  position: relative;
  z-index: 1;
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(9,9,9,.48);
  backdrop-filter: blur(14px)
}
.form label {
  display: block;
  margin-bottom: 21px;
  color: rgba(255,255,255,.86);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em
}
.form em {
  margin-left: 8px;
  color: var(--orange2);
  font-size: .63rem;
  font-style: normal
}
.form input,.form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  outline: 0;
  background: rgba(255,255,255,.045);
  color: var(--paper);
  transition: .2s
}
.form input:focus,.form textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.075)
}
.form input:placeholder,.form textarea:placeholder {
  color: rgba(255,255,255,.35)
}
.form textarea {
  resize: vertical
}
.form__button {
  width: 100%;
  margin-top: 4px
}
.form small {
  display: block;
  margin: 12px 0 0;
  color: rgba(255,255,255,.44);
  font-size: .65rem;
  text-align: center
}

/* Toast notification */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 100;
  min-width: 320px;
  max-width: 90vw;
  padding: 18px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0)
}
.toast--success {
  background: linear-gradient(135deg, #2e7d32, #388e3c);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2)
}
.toast--success::before {
  content: "✓ ";
  margin-right: 8px
}
.toast--error {
  background: linear-gradient(135deg, #c62828, #d32f2f);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2)
}
.toast--error::before {
  content: "✕ ";
  margin-right: 8px
}
.toast--loading {
  background: linear-gradient(135deg, #f57c00, #ff9800);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2)
}
.toast--loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: middle;
  animation: spin 1s linear infinite
}
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 56px 0 30px;
  background: var(--orange)
}
.footer__pattern {
  position: absolute;
  inset: 0;
  opacity: .45;
  background: linear-gradient(90deg,transparent 0 4%,#621c10 4% 6%,transparent 6% 12%,#86220e 12% 16%,transparent 16% 21%,#5c170d 21% 23%,transparent 23% 28%,#86220e 28% 33%,transparent 33% 39%,#5c170d 39% 42%,transparent 42% 47%,#86220e 47% 53%,transparent 53% 58%,#5c170d 58% 61%,transparent 61% 68%,#86220e 68% 72%,transparent 72% 76%,#5c170d 76% 80%,transparent 80% 86%,#86220e 86% 90%,transparent 90%);
  clip-path: polygon(0 29%,5% 0,12% 38%,19% 9%,27% 46%,32% 0,40% 35%,46% 7%,53% 49%,61% 0,68% 34%,76% 10%,84% 44%,92% 0,100% 30%,100% 100%,0 100%)
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px
}
.footer__left {
  display: flex;
  flex-direction: column
}
.footer__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px
}
.footer strong {
  color: #160804;
  font-family: Georgia,serif;
  font-size: 2rem;
  letter-spacing: -.07em
}
.footer small {
  color: rgba(22,8,4,.78);
  font: 400 .62rem var(--font-mono);
  letter-spacing: .07em
}
.footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(22,8,4,.9);
  color: #fff;
  font: 500 .7rem var(--font-en);
  letter-spacing: .04em;
  border-radius: 4px;
  transition: background .2s
}
.footer a:hover {
  background: rgba(22,8,4,1)
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s,transform .7s
}
.reveal.show {
  opacity: 1;
  transform: none
}
.d1 {
  transition-delay: .1s
}
.d2 {
  transition-delay: .2s
}
.d3 {
  transition-delay: .3s
}

/* Responsive */
@media(max-width:1000px) {
  .hero__inner,.experience__inner,.contact__inner {
    grid-template-columns: 1fr
  }
  .hero__inner {
    gap: 52px
  }
  .hero__copy {
    max-width: 760px
  }
  .hero__media {
    width: min(100%,780px)
  }
  .steps,.use__grid {
    grid-template-columns: repeat(2,1fr)
  }
  .experience__inner,.contact__inner {
    gap: 52px
  }
  .contact__copy {
    max-width: 760px
  }
}
@media(max-width:660px) {
  .container {
    width: min(calc(100% - 28px),var(--w))
  }
  .header {
    height: 68px
  }
  .brand strong {
    font-size: 1.45rem
  }
  .header__cta {
    min-height: 36px;
    padding: 8px 13px;
    font-size: .64rem
  }
  .hero {
    min-height: auto;
    padding: 100px 0 48px
  }
  .hero__inner {
    gap: 36px
  }
  .hero h1 {
    font-size: clamp(2.45rem, 8.8vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.055em;
    margin-top: 14px;
  }
  .hero__brand {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: 8px
  }
  .hero__brand small {
    display: block;
    margin: 6px 0 0;
    font-size: .55em
  }
  .hero__lead {
    font-size: .9rem;
    margin-top: 18px;
  }
  .hero__buttons {
    margin-top: 28px;
  }
  .hero__media {
    min-height: 280px;
    box-shadow: 10px 12px 0 rgba(233,63,29,.9);
    order: -1;
  }
  .hero__scroll {
    display: none
  }
  .section {
    padding: 86px 0
  }
  .heading {
    font-size: clamp(2.55rem,11vw,4rem)
  }
  .steps,.use__grid {
    grid-template-columns: 1fr
  }
  .steps,.use__grid {
    margin-top: 36px
  }
  .step__media {
    min-height: 220px
  }
  .experience__media {
    aspect-ratio: 16 / 9;
  }
  .cc {
    font-size: 9rem
  }
  .use__heading {
    display: block
  }
  .use__heading>p {
    margin-top: 18px;
    font-size: .84rem
  }
  .use__heading br {
    display: none
  }
  .usecard__media {
    min-height: 250px
  }
  .contact__inner {
    gap: 44px
  }
  .form {
    padding: 25px 18px
  }
  .contact__copy>strong {
    margin-top: 34px
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start
  }
  .footer__sub {
    flex-wrap: wrap;
    gap: 10px
  }
  .footer strong {
    font-size: 1.6rem
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,*:before,*:after {
    transition-duration: .001ms!important
  }
  .reveal {
    opacity: 1;
    transform: none
  }
}

/* 画像差し替え */
.hero__media picture {
  position: absolute;
  inset: 0
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0,0,0,.10), rgba(0,0,0,.32));
  pointer-events: none
}

.step:nth-child(1) .step__media {
  background: image-set(
    url("public/images/step01.webp") type("image/webp"),
    url("public/images/step01.jpg") type("image/jpeg")
  ) center / cover no-repeat;
}

.step:nth-child(2) .step__media {
  background: image-set(
    url("public/images/step02.webp") type("image/webp"),
    url("public/images/step02.jpg") type("image/jpeg")
  ) center / cover no-repeat;
}

.step:nth-child(3) .step__media {
  background: image-set(
    url("public/images/step03.webp") type("image/webp"),
    url("public/images/step03.jpg") type("image/jpeg")
  ) center / cover no-repeat;
}

.experience__media {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.experience__media video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.experience__media .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.experience__media:hover .video-overlay {
  opacity: 1;
}

.experience__media .video-unmute-hint {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  color: #090909;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.experience__media.unmuted .video-unmute-hint {
  display: none;
}

.usecard:nth-child(1) .usecard__media {
  background: image-set(
    url("public/images/cc_exhibition.webp") type("image/webp"),
    url("public/images/cc_exhibition.jpg") type("image/jpeg")
  ) center / cover no-repeat;
}

.usecard:nth-child(2) .usecard__media {
  background: image-set(
    url("public/images/cc_concert.webp") type("image/webp"),
    url("public/images/cc_concert.jpg") type("image/jpeg")
  ) center / cover no-repeat;
}

.usecard:nth-child(3) .usecard__media {
  background: image-set(
    url("public/images/cc_popup.webp") type("image/webp"),
    url("public/images/cc_popup.jpg") type("image/jpeg")
  ) center / cover no-repeat;
}

.usecard:nth-child(4) .usecard__media {
  background: image-set(
    url("public/images/cc_shopping.webp") type("image/webp"),
    url("public/images/cc_shopping.jpg") type("image/jpeg")
  ) center / cover no-repeat;
}
