:root {
  --color-bg: #ffffff;
  --color-bg-deep: #f5f7fb;
  --color-bg-soft: #fbfcfe;
  --color-gold: #0a2e6e;
  --color-text: #0a2e6e;
  --color-text-muted: #4d5a7a;
  --color-line: #b7c2dc;
  --color-focus-outer: #0a2e6e;
  --color-focus-inner: #000000;

  --font-base: "Noto Sans JP", YuGothic, -apple-system, sans-serif;

  --space-1: 0.08rem;
  --space-2: 0.16rem;
  --space-3: 0.24rem;
  --space-4: 0.32rem;
  --space-5: 0.4rem;
  --space-6: 0.48rem;
  --space-8: 0.64rem;
  --space-14: 1.12rem;
  --space-18: 1.44rem;

  --content-width: 100%;
  --gutter: 0.24rem;

  --fs-hero-tagline: 0.14rem;
  --fs-base: 0.16rem;
  --fs-heading: 0.18rem;
  --fs-sm: 0.16rem;
  --fs-scroll-cue: 0.12rem;
  --fs-footer: 0.12rem;

  --text-max-width: 100%;
  --sns-tap-size: 0.4rem;
  --sns-icon-size: 0.16rem;

  --transition-base: 0.2s ease;
  --fade-duration: 0.9s;
  --fade-ease: cubic-bezier(0.16, 0.8, 0.3, 1);
}

html {
  font-size: clamp(85.333px, calc(100vw / 3.75), 204.8px);
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  line-break: normal;
  word-break: normal;
  overflow-wrap: normal;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-base);
  font-weight: 700;
}

a:focus,
button:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: none;
}

html:not(.using-mouse) a:focus-visible,
html:not(.using-mouse) button:focus-visible {
  border-radius: 2px;
  box-shadow:
    0 0 0 2px var(--color-bg),
    0 0 0 4px var(--color-focus-inner),
    0 0 0 6px var(--color-focus-outer);
}

.holo-chip {
  display: inline-block;
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background: var(--color-gold);
  margin-right: var(--space-2);
  vertical-align: middle;
  flex-shrink: 0;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title,
.hero__tagline {
  animation: fade-in-up var(--fade-duration) var(--fade-ease) both;
}

.hero__title   { animation-delay: 0.12s; }
.hero__tagline { animation-delay: 0.24s; }

@supports (animation-timeline: view()) {
  .text-section__body,
  .split,
  .feature-card {
    animation: fade-in-up 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__title,
  .hero__tagline,
  .hero__scroll-cue,
  .hero__scroll-cue svg,
  .text-section__body,
  .split,
  .feature-card {
    animation: none;
  }
  * {
    transition-duration: 0.001ms !important;
  }
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--gutter);
  text-align: center;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero__title-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.hero__title {
  display: inline-flex;
  color: var(--color-text);
}

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

.hero__tagline {
  font-weight: 600;
  font-size: var(--fs-hero-tagline);
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
}

.hero__scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-5);
  width: max-content;
  margin-inline: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--fs-scroll-cue);
  letter-spacing: 0.2em;
  white-space: nowrap;
  animation: fade-in-up var(--fade-duration) var(--fade-ease) both;
  animation-delay: 0.5s;
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.hero__scroll-cue svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

.text-section {
  padding: var(--space-18) var(--gutter);
}

.text-section__body {
  max-width: var(--text-max-width);
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  text-wrap: pretty;
  letter-spacing: 0.02em;
}

#overview .text-section__body {
  text-align: justify;
}

#upcoming .text-section__body {
  text-align: left;
}

.text-section__body p + p {
  margin-top: 1.4em;
}

.divider {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--color-line);
}

.br-pc {
  display: none;
}

.split {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-18) var(--gutter);
  display: grid;
  grid-template-columns: 40% 60%;
  gap: var(--space-6);
  align-items: center;
}

.split__media img {
  width: 100%;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.split__title {
  font-size: var(--fs-heading);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.split__text {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  line-height: 1.8;
  letter-spacing: 0.01em;
  text-align: justify;
  text-justify: inter-character;
}

.features {
  padding: var(--space-14) var(--gutter);
}

.features__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.feature-card {
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: var(--space-4);
}

.feature-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: calc(var(--space-1) * 1.5);
}

.feature-card__title {
  font-size: var(--fs-heading);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.feature-card__text {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-wrap: pretty;
  text-align: justify;
}

.share-float {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2);
}

.share-float__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
  transition: opacity var(--transition-base);
}

.share-float__btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.share-float__btn:hover {
  opacity: 0.85;
}

.share-float__btn--x {
  background-color: #000000;
}

.share-float__btn--facebook {
  background-color: #1877f2;
}

.share-float__btn--line {
  background-color: #06c755;
}

.footer {
  background-color: var(--color-bg-deep);
  border-top: 1px solid var(--color-line);
}

.footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-6) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.footer__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--space-1) / 2);
  line-height: 1;
}

.footer__group-label {
  font-size: var(--fs-footer);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer__bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-1) / 2);
}

.footer__copyright {
  font-size: var(--fs-footer);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.footer__notice {
  font-size: calc(var(--fs-footer) * 0.92);
  color: var(--color-text-muted);
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-align: justify;
  text-justify: inter-character;
}

.footer__banner {
  display: block;
  width: 180px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer__sns {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  line-height: 1;
}

.footer__sns li {
  line-height: 0.2;
}

.footer__sns-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: var(--sns-tap-size);
  min-height: var(--sns-tap-size);
  padding: 8px 10px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  color: var(--color-text-muted);
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.footer__sns-link:hover {
  color: #ffffff;
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.footer__sns-link svg {
  width: var(--sns-icon-size);
  height: var(--sns-icon-size);
  fill: currentColor;
  flex-shrink: 0;
}

.footer__sns-name {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }

  .share-float {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--gutter) var(--space-6);
  }

  .share-float__btn {
    padding: 6px 8px;
    font-size: 11px;
    gap: 4px;
  }

  .share-float__btn svg {
    width: 13px;
    height: 13px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer__sns {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
    column-gap: var(--space-2);
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--gutter) var(--space-4);
  }

  .footer__group {
    align-items: center;
  }

  .footer__group-label {
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-line);
  }

  .footer__legal {
    align-items: flex-start;
    align-self: flex-start;
  }

  .footer__copyright {
    text-align: left;
  }

  .footer__notice {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero__tagline {
    letter-spacing: 0.2em;
    padding-left: 0.2em;
  }
}

@media (min-width: 769px) {
  html {
    font-size: clamp(48px, calc(100vw / 16), 150px);
  }

  :root {
    --space-1: 0.08rem;
    --space-2: 0.16rem;
    --space-3: 0.24rem;
    --space-4: 0.32rem;
    --space-5: 0.4rem;
    --space-6: 0.48rem;
    --space-8: 0.64rem;
    --space-14: 1.12rem;
    --space-18: 1.44rem;

    --content-width: 12.8rem;
    --gutter: 0.48rem;

    --fs-hero-tagline: 0.2rem;
    --fs-base: 0.18rem;
    --fs-heading: 0.2rem;
    --fs-sm: 0.16rem;
    --fs-scroll-cue: 0.14rem;
    --fs-footer: 0.14rem;

    --text-max-width: 9rem;
    --sns-tap-size: 0.44rem;
    --sns-icon-size: 0.18rem;
  }

  .footer__banner {
    width: 240px;
  }

  .hero__title {
    height: 4rem;
  }

  #overview .text-section__body {
    text-align: center;
  }

  #upcoming .text-section__body {
    text-align: center;
  }

  .br-sp {
    display: none;
  }

  .br-pc {
    display: inline;
  }
}

@media (max-height: 560px) {
  .hero__scroll-cue {
    display: none;
  }
}
