@font-face {
  font-family: "Road Rage";
  src: url("../fonts/RoadRage-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/GreatVibes-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d40628;
  --red-hot: #f2083a;
  --red-deep: #a1051e;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --paper: #ffffff;
  --paper-soft: #f7f5f3;
  --line: #e6e6e6;
  --script: "Great Vibes", "Segoe Script", cursive;
  --mincho: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Rubik", "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 200;
  background: #fff;
  color: var(--red);
  padding: 0.4rem 0.8rem;
  font-weight: 700;
}
.skip-link:focus { top: 0.75rem; }

.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 38rem); }

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: #fff;
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.site-header.is-scrolled .brand-sub { color: #888; }
.site-header.is-scrolled .hamburger span { background: var(--ink); }
.header-inner {
  width: min(100% - 1.25rem, 74rem);
  margin-inline: auto;
  min-height: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.site-header.is-scrolled .brand img { box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  opacity: 0.85;
}
.nav {
  margin-left: auto;
  display: none;
  gap: 1.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}
.nav a {
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: currentColor; outline: none; }

.hamburger {
  margin-left: auto;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 1.2px;
  background: #fff;
}
.site-header.menu-open .hamburger span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.site-header.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.site-header.menu-open .hamburger span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

@media (min-width: 880px) {
  .nav { display: flex; }
  .hamburger { margin-left: 0.4rem; }
}

/* Mobile menu */
@media (max-width: 879px) {
  .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--red);
    color: #fff;
    margin: 0;
    padding: 6rem 2rem 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 30;
  }
  .site-header.menu-open .nav { transform: none; }
  .site-header.menu-open { color: #fff; background: transparent; }
  .site-header.menu-open .hamburger span { background: #fff; }
  .hamburger { z-index: 45; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 24%, var(--red-hot) 0%, var(--red) 52%, var(--red-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-lyric {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 横長クリップを赤地にレターボックス。スマホでも文言を切り落さない */
  background: transparent;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

/* Intro: hide the still hero until the lyric clip ends (class is set in <head> before paint). */
html.js-intro .hero-still { opacity: 0 !important; }
html.js-intro .hero-lyric { opacity: 1; }

.hero.is-playing .hero-lyric { opacity: 1; }
.hero-still {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  transition: opacity 1s ease;
}
.hero.is-playing .hero-still { opacity: 0; }
.hero-figures { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fig {
  position: absolute;
  max-width: none;
  width: auto;
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(40, 0, 0, 0.42));
  user-select: none;
}
/* Mobile L-R cluster: yuji back-left, yasu back-center (between/behind),
   emi front-left, yoshitaro front-right. Face anchors: emi ~77%, vocal ~28%, taiko ~63%, gtaiko ~53%. */
.fig-gtaiko { /* yuji, back left */
  left: 8%;
  top: 16%;
  height: 34%;
  z-index: 2;
}
.fig-emi { /* emi, large front-left */
  left: 38%;
  top: 36%;
  height: 34%;
  transform: translateX(-77%);
  z-index: 3;
}
.fig-vocal { /* yoshitaro, front-right */
  right: auto;
  left: 62%;
  top: 34%;
  height: 36%;
  z-index: 4;
}
.fig-taiko { /* yasu, back-center between emi and yoshitaro */
  left: 44.5%;
  top: 15%;
  height: 33.5%;
  z-index: 2;
}
.hero-wordmark {
  position: absolute;
  left: 50%;
  top: 74%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  width: 94%;
  pointer-events: none;
}
.hero-wordmark img {
  width: min(92vw, 68rem);
  height: auto;
  margin-inline: auto;
  transform: rotate(-3.2deg);
  filter: drop-shadow(0 6px 16px rgba(80, 0, 12, 0.28));
}
.hero-sub {
  margin: 0.85rem 0 0;
  font-size: clamp(0.62rem, 2.2vw, 0.82rem);
  letter-spacing: 0.52em;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(160, 0, 20, 0.55);
}
.catch {
  position: absolute;
  top: 5.1rem;
  left: 1.15rem;
  z-index: 6;
  margin: 0;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(1.02rem, 3.6vw, 1.55rem);
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px rgba(160, 0, 20, 0.45);
}
.catch-src {
  position: absolute;
  top: 10.3rem;
  left: 1.15rem;
  z-index: 6;
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.8;
}
.script-accent {
  display: none;
  position: absolute;
  right: 5%;
  top: 22%;
  z-index: 6;
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.02;
  transform: rotate(14deg);
  text-shadow: 0 2px 10px rgba(80, 0, 0, 0.18);
}

@media (max-width: 719px) {
  .hero {
    min-height: 0;
    height: 38rem; /* アイコン列がすぐ下に来るよう、ワードマーク下の余白を詰める */
  }
  .hero-wordmark { top: 87%; }
}
@media (min-width: 720px) {
  .fig-gtaiko { left: -2%; top: 8%; height: 52%; right: auto; }
  .fig-emi { left: 36%; top: 30%; height: 48%; transform: translateX(-77%); }
  .fig-vocal { right: auto; left: 66%; top: 26%; height: 64%; z-index: 4; }
  .fig-taiko { left: 39%; top: 6%; height: 52%; z-index: 2; }
  .catch { top: 5.4rem; left: 2.2rem; }
  .catch-src { top: 11.2rem; left: 2.2rem; }
  .hero-wordmark { width: 90%; top: 78%; }
  .hero-wordmark img { width: min(90vw, 68rem); }
}

@media (min-width: 1100px) {
  .fig-gtaiko { left: -1%; top: 6%; height: 58%; right: auto; }
  .fig-emi { left: 38%; top: 24%; height: 60%; transform: translateX(-77%); }
  .fig-vocal { right: auto; left: 69%; top: 24%; height: 68%; z-index: 4; }
  .fig-taiko { left: 44.25%; top: 5%; height: 60%; z-index: 2; }
  .catch { left: 3rem; font-size: 1.55rem; }
  .catch-src { left: 3rem; }
  .hero-wordmark { width: 82%; top: 76%; }
  .hero-wordmark img { width: min(82vw, 68rem); }
  .script-accent { display: block; top: 5.2rem; right: 4.2%; }
}

@media (min-width: 1400px) {
  /* 1440x900: yasu face-center at midpoint of emi and yoshitaro */
  .fig-taiko { left: 43.27%; }
}

/* Character row (between hero and Follow) */
.chars {
  background: var(--paper);
  padding: 0.55rem 1rem 0.35rem;
}
.chars-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.35rem, 3vw, 2.4rem);
  max-width: 52rem;
  margin: 0 auto;
}
.chars-row figure { margin: 0; text-align: center; }
.chars-row img {
  display: block;
  height: 5.8rem;
  width: auto;
  margin: 0 auto;
}
.chars-row figcaption {
  margin: 0.1rem 0 0;
  font-family: var(--script);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--red, #c02823);
}
@media (min-width: 720px) {
  .chars { padding: 0.85rem 1rem 0.55rem; }
  .chars-row img { height: 8.4rem; }
  .chars-row figcaption { font-size: 1.55rem; }
}

/* Follow & Listen */
.follow {
  padding: 2.2rem 1rem 1.8rem;
  text-align: center;
  background: var(--paper);
}
.follow-title {
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
}
.follow-title::after {
  content: "";
  position: absolute;
  left: 58%;
  right: 4%;
  bottom: -0.4rem;
  height: 1px;
  background: var(--ink);
}
.icon-row {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.7rem 1.15rem;
  max-width: 54rem;
  overflow-x: auto;
}
.icon-row a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #333;
  min-width: 3.6rem;
  flex: 0 0 auto;
}
.icon-row a:hover, .icon-row a:focus-visible { color: var(--red); outline: none; }
.ico {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
}
.ico svg { display: block; }
.follow-more { margin: 1.15rem 0 0; }
@media (max-width: 520px) {
  .icon-row { gap: 0.45rem 0.5rem; }
  .icon-row a { font-size: 0.58rem; min-width: 0; }
  .ico { width: 2rem; height: 2rem; }
  .ico svg { width: 26px; height: 26px; }
}
.follow-more a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.follow-more a:hover { color: var(--red); }

/* Related accounts (unit-related X) */
.follow-related {
  margin: 1.55rem auto 0;
  padding-top: 1.35rem;
  max-width: 54rem;
  border-top: 1px solid var(--line);
}
.follow-related-title {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--muted);
}
.related-row {
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: visible;
}
.related-row a {
  min-width: 6.2rem;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .related-row { gap: 1.15rem 1.6rem; }
  .related-row a { font-size: 0.6875rem; min-width: 0; }
}


/* Sections */
.section { padding: 3.5rem 0 4rem; }
.section--form { background: var(--paper); padding-top: 2.8rem; }
.section-head { margin-bottom: 1.8rem; text-align: center; }
.eyebrow {
  margin: 0 0 0.15rem;
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}
.eyebrow.script { font-family: var(--script); }
.section-head h2 {
  margin: 0;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: 0.08em;
}
.section-lead { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.06em; }
.dot { margin: 0 0.4rem; color: #bbb; }

/* CTA cards */
.cta-cards {
  display: grid;
}
.cta-card {
  position: relative;
  min-height: 18rem;
  display: flex;
  align-items: center;
  padding: 2.5rem 1.5rem;
  text-decoration: none;
  color: #fff;
  background-color: #111;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.42), rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.35));
}
.cta-card:hover, .cta-card:focus-visible {
  outline: none;
}
.cta-card:hover .btn-outline,
.cta-card:focus-visible .btn-outline {
  background: #fff;
  color: #111;
}
.cta-inner { position: relative; z-index: 1; }
.cta-script {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(3.2rem, 9vw, 4.6rem);
  line-height: 0.9;
}
.cta-ja {
  margin: 0.35rem 0 1.3rem;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.7rem;
  padding: 0.45rem 1.3rem;
  border: 1px solid #fff;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}
@media (min-width: 760px) {
  .cta-cards { grid-template-columns: 1fr 1fr; }
  .cta-card { min-height: 22rem; padding: 3rem 3rem; }
}

/* Form */
.contact-form { display: grid; gap: 0.55rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.req { margin-left: 0.35rem; font-size: 0.68rem; font-weight: 700; color: var(--red); letter-spacing: 0.06em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid #ccc;
  background: transparent;
  border-radius: 0;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--red);
}
.field textarea { resize: vertical; min-height: 8rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { margin: 0; font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.form-hint a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.form-hint a:hover, .form-hint a:focus-visible { color: var(--red); }
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.55rem 1.8rem;
  border: 0;
  background: var(--red);
  color: #fff;
  letter-spacing: 0.16em;
  font-weight: 600;
  cursor: pointer;
}
.btn-solid:hover, .btn-solid:focus-visible { background: var(--red-hot); outline: 2px solid #111; outline-offset: 2px; }
.form-status { min-height: 1.4em; margin: 0.25rem 0 0; font-weight: 700; }
.form-status.is-error { color: var(--red); }
.form-status.is-ok { color: #1a7a3a; }
.form-status.is-demo { color: #5a3a3a; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-bottom-color: var(--red); }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 4.5rem 1.25rem 3rem;
  text-align: center;
}
.splash {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.92;
}
.splash-tl {
  top: -8%;
  left: -18%;
  width: min(70vw, 42rem);
}
.splash-br {
  right: -16%;
  bottom: -10%;
  width: min(68vw, 40rem);
}
.footer-inner { position: relative; z-index: 1; }
.footer-tag {
  margin: 0 0 1.15rem;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(1.05rem, 3.2vw, 1.45rem);
  letter-spacing: 0.16em;
}
.footer-name {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.footer-sub {
  margin: 0.25rem 0 1.1rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.footer-links {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 1.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-link-group {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
}
.footer-links a { white-space: nowrap; }
.footer-links a:hover { color: var(--red); }
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.5rem;
    font-size: 0.72rem;
  }
  .footer-link-group { gap: 1.15rem; }
}
.footer-copy { margin: 0; color: #999; }
.footer-script {
  position: absolute;
  right: 6%;
  bottom: 18%;
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #222;
  transform: rotate(-8deg);
  z-index: 1;
  line-height: 1;
}
@media (max-width: 600px) {
  .footer-script { right: 4%; bottom: 12%; opacity: 0.85; }
  .catch-src { top: 9.6rem; }
}

/* Contact page (no hero): solid red header, paper form */
.page-contact .site-header {
  position: sticky;
  top: 0;
  background: var(--red);
  color: #fff;
}
.page-contact .section--form {
  padding-top: 3rem;
  padding-bottom: 5rem;
  min-height: calc(100svh - 16rem);
}
