:root {
  --main: #fff;
  --sub: #18BC9C;
  --accent: #a32318;
  --bg: #000;
  --font-jp: '游明朝', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
  --font-en: 'Playfair Display', 'Georgia', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--main);
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 0 1px rgba(255, 255, 255, .18);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../img/bg.webp') center / cover no-repeat;
  animation: bgZoom 12s ease-out forwards;
}

@keyframes bgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

@media (max-width: 767px) {
  .bg-fixed {
    background-image: url('../img/bg-sp.webp');
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero__logo {
  width: min(560px, 82vw);
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1.4s ease .3s forwards;
}

.hero__lead {
  margin-top: 40px;
  font-family: var(--font-en);
  font-size: clamp(17px, 2.3vw, 28px);
  font-weight: 600;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--accent);
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(163, 35, 24, .6));
  opacity: 0;
  animation: fadeUp 1.4s ease .9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding-bottom: 44px;
}

.hero__scroll::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.6);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro {
  padding: 120px 24px 40px;
  text-align: center;
  background: rgba(0, 0, 0, .9);
}

.intro > * {
  max-width: 912px;
  margin-inline: auto;
}

.intro__grid {
  margin: 80px auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  justify-items: center;
}

.intro__photo {
  display: inline-flex;
  align-items: stretch;
  gap: 20px;
}

.intro__photo img {
  width: min(260px, 55vw);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
}

.intro__photo figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.intro__photo figcaption span {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .4em;
  color: rgba(255,255,255,.75);
}

.intro__photo figcaption::after {
  content: '';
  width: 1px;
  flex: 1;
  background: var(--accent);
}

.intro__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: .12em;
}

.intro__text {
  max-width: 640px;
  color: rgba(255,255,255,.94);
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: auto 1fr;
    gap: 64px;
    justify-items: start;
    text-align: left;
  }
}

.block {
  position: relative;
  text-align: center;
  padding: 96px 24px;
  background: rgba(0, 0, 0, .97);
}

.block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4) 50%, transparent);
}

.block:nth-of-type(odd) {
  background: rgba(0, 0, 0, .3);
}

.block__num {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-indent: .3em;
  line-height: 1;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
  color: rgba(255,255,255,.7);
}

.block__title {
  margin-top: 20px;
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 700;
  letter-spacing: .1em;
}

.block__text {
  margin: 24px auto 0;
  max-width: 560px;
  color: rgba(255,255,255,.92);
}

.block--more {
  padding: 88px 24px;
}

.block__more {
  font-family: var(--font-en);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: .24em;
  text-indent: .24em;
  color: rgba(255,255,255,.85);
}

.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 18px 64px;
  font-size: 16px;
  letter-spacing: .2em;
  color: #fff;
  text-decoration: none;
  background: #000;
  border: 1px solid var(--accent);
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer {
  text-align: center;
  padding: 16px 24px;
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
}

.js-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s ease, transform 1s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pc-only { display: none; }
@media (min-width: 768px) {
  .pc-only { display: inline; }
}

.sp-only { display: none; }
@media (max-width: 767px) {
  .sp-only { display: inline; }

  .intro__grid { margin-top: 36px; }
}

.sparkle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  font-size: var(--size);
  color: var(--color);
  text-shadow: 0 0 3px currentColor;
  animation: sparkleFly var(--duration) cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes sparkleFly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.4) rotate(0deg);
  }
  25% {
    opacity: .75;
    transform: translate(calc(-50% + var(--dx) * .3), calc(-50% + var(--dy) * .3)) scale(1) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2) rotate(120deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-fade { opacity: 1; transform: none; }
  .sparkle { display: none; }
}
