/**
 * プロダクション寄せの質感調整
 * 参照: あおぎり高校 / hololive 公式サイトの情報密度・タイポ・余白のバランス
 */

body.pro-site {
  --pro-bg: #f2f1ef;
  --pro-surface: #ffffff;
  --pro-ink: #0d0d0d;
  --pro-muted: #5c5c5c;
  --pro-line: rgba(0, 0, 0, 0.08);
  --pro-accent: #c45c6a;
  --pro-accent-soft: rgba(196, 92, 106, 0.12);
  --pro-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --pro-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background-color: var(--pro-bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(196, 92, 106, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 80% 100%, rgba(100, 140, 180, 0.05) 0%, transparent 40%);
  color: var(--pro-ink);
}

body.pro-site.theme-idol-a {
  background: var(--pro-bg);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(196, 92, 106, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 88% 92%, rgba(90, 120, 160, 0.06) 0%, transparent 42%);
}

/* マquee（帯のリズム — 横スクロールのテンポ感） */
.marquee {
  position: relative;
  z-index: 900;
  overflow: hidden;
  background: var(--pro-ink);
  color: #fafafa;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.marquee-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: proMarquee 32s linear infinite;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}
.marquee-track span {
  padding: 0 2.5rem;
  white-space: nowrap;
  opacity: 0.92;
}
.marquee--news {
  pointer-events: auto;
}
.marquee--news .marquee__link {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.marquee--news .marquee__link:focus-visible {
  outline: 2px solid rgba(159, 145, 202, 0.9);
  outline-offset: -2px;
}
@keyframes proMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.pro-site .header {
  background: rgba(252, 252, 252, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--pro-line);
  box-shadow: none;
  transition: padding 0.45s var(--pro-ease-out), background 0.4s ease;
}
body.pro-site .header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.06);
}
body.pro-site .header-inner {
  padding: 16px 40px;
  max-width: 1400px;
  transition: padding 0.45s var(--pro-ease-out);
}
body.pro-site .header.is-scrolled .header-inner {
  padding: 10px 40px;
}
body.pro-site .logo {
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--pro-ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  gap: 12px;
}
body.pro-site .logo span {
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
body.pro-site .nav {
  gap: 28px;
}
body.pro-site .nav a {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3a3a3a;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s var(--pro-ease), opacity 0.3s ease;
}
body.pro-site .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--pro-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--pro-ease-out);
}
body.pro-site .nav a:hover {
  color: var(--pro-ink);
  opacity: 1;
}
body.pro-site .nav a:hover::after {
  transform: scaleX(1);
}

/* KV / カルーセル — シネマティック */
body.pro-site .carousel {
  padding: 72px 0 0;
  margin-top: 0;
}
body.pro-site .carousel-wrapper {
  max-width: none;
  border-radius: 0;
}
body.pro-site .carousel-item {
  padding: 0;
}
body.pro-site .carousel-content {
  min-height: min(72vh, 620px);
  aspect-ratio: auto;
  border-radius: 0;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 80px) clamp(48px, 8vw, 96px);
  padding-bottom: clamp(56px, 10vh, 120px);
  isolation: isolate;
}
body.pro-site .carousel-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 0;
  pointer-events: none;
}
body.pro-site .slide-1 {
  background-color: #101018;
  background-image:
    linear-gradient(120deg, rgba(20, 16, 28, 0.92) 0%, rgba(16, 18, 26, 0.75) 45%, rgba(18, 14, 22, 0.88) 100%),
    url("../image/full3.png");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 118% auto;
  background-position: center, 58% 22%;
  animation: proKenBurns1 26s ease-in-out infinite alternate;
}
body.pro-site .slide-2 {
  background-color: #121016;
  background-image:
    linear-gradient(125deg, rgba(26, 18, 22, 0.9) 0%, rgba(14, 14, 18, 0.82) 100%),
    url("../image/full2.png");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 115% auto;
  background-position: center, 52% 28%;
  animation: proKenBurns2 22s ease-in-out infinite alternate;
}
body.pro-site .slide-3 {
  background-color: #0e1218;
  background-image:
    linear-gradient(135deg, rgba(12, 20, 28, 0.9) 0%, rgba(10, 12, 18, 0.88) 100%),
    url("../image/up0.png");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 120% auto;
  background-position: center, 48% 30%;
  animation: proKenBurns3 24s ease-in-out infinite alternate;
}
@keyframes proKenBurns1 {
  to { background-position: center, 42% 48%; background-size: cover, 128% auto; }
}
@keyframes proKenBurns2 {
  to { background-position: center, 62% 42%; background-size: cover, 125% auto; }
}
@keyframes proKenBurns3 {
  to { background-position: center, 55% 20%; background-size: cover, 132% auto; }
}
body.pro-site .carousel-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 55%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: proShimmer 9s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes proShimmer {
  0%, 100% { background-position: 80% 0; opacity: 0.5; }
  50% { background-position: 20% 0; opacity: 0.85; }
}
body.pro-site .carousel-content h2,
body.pro-site .carousel-content p,
body.pro-site .carousel-content .btn {
  position: relative;
  z-index: 3;
  max-width: min(36rem, 88vw);
}
body.pro-site .carousel-content h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px);
  animation: proHeroLine 0.9s var(--pro-ease-out) 0.15s forwards;
}
body.pro-site .carousel-content p {
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(14px);
  animation: proHeroLine 0.85s var(--pro-ease-out) 0.32s forwards;
}
body.pro-site .carousel-content .btn {
  margin-top: 1.5rem;
  border-radius: 2px;
  padding: 14px 28px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #fff;
  color: var(--pro-ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.5s var(--pro-ease-out), box-shadow 0.5s ease, background 0.3s ease;
  opacity: 0;
  animation: proHeroLine 0.85s var(--pro-ease-out) 0.48s forwards;
}
body.pro-site .carousel-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  background: #fafafa;
}
@keyframes proHeroLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.pro-site .carousel-char {
  z-index: 2;
  opacity: 0.22;
  filter: saturate(1.05) contrast(1.05);
  mix-blend-mode: normal;
  animation: proFloatChar 7s ease-in-out infinite;
}
@keyframes proFloatChar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
body.pro-site .carousel-arrow {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.45s var(--pro-ease-out), background 0.3s ease, border-color 0.3s ease;
}
body.pro-site .carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.04);
}
body.pro-site .carousel-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}
body.pro-site .carousel-dot.active {
  background: #fff;
  transform: none;
  width: 40px;
}
body.pro-site .carousel-controls {
  bottom: clamp(20px, 4vh, 40px);
}

/* セクション見出し — EN + 和文サブ（ホロライブ式の簡略版） */
.section-head {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head__en {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--pro-ink);
}
.section-head__jp {
  font-size: 0.82rem;
  color: var(--pro-muted);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.12em;
}
.section-head .view-all {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pro-accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.section-head .view-all:hover {
  opacity: 1;
  border-color: var(--pro-accent);
}
.links-section .section-head--inset {
  margin-bottom: 32px;
  padding-left: 0;
  padding-right: 0;
}

/* スクロール露出 */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--pro-ease-out),
    transform 0.85s var(--pro-ease-out);
}
.js-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s var(--pro-ease-out),
    transform 0.65s var(--pro-ease-out);
}
.js-reveal-stagger.is-inview > *:nth-child(1) { transition-delay: 0.05s; }
.js-reveal-stagger.is-inview > *:nth-child(2) { transition-delay: 0.12s; }
.js-reveal-stagger.is-inview > *:nth-child(3) { transition-delay: 0.18s; }
.js-reveal-stagger.is-inview > *:nth-child(4) { transition-delay: 0.24s; }
.js-reveal-stagger.is-inview > *:nth-child(5) { transition-delay: 0.3s; }
.js-reveal-stagger.is-inview > *:nth-child(6) { transition-delay: 0.36s; }
.js-reveal-stagger.is-inview > * {
  opacity: 1;
  transform: translateY(0);
}

body.pro-site .history-section {
  max-width: 900px;
  margin-top: 72px;
}
body.pro-site .history-card {
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: 2px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s var(--pro-ease-out), box-shadow 0.5s ease, border-color 0.35s ease;
}
body.pro-site .history-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}
body.pro-site .history-card--award {
  border-color: rgba(196, 92, 106, 0.35);
  box-shadow: 0 0 0 1px rgba(196, 92, 106, 0.15), 0 20px 50px rgba(196, 92, 106, 0.12);
  background: linear-gradient(180deg, #fff 0%, #fffaf9 100%);
}
body.pro-site .history-ribbon {
  color: var(--pro-accent);
  letter-spacing: 0.14em;
}

body.pro-site .about-section {
  margin-top: 88px;
  margin-bottom: 48px;
}
body.pro-site .about-grid {
  max-width: 1200px;
  margin: 0 auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
body.pro-site .about-heading {
  margin-bottom: 24px;
}
body.pro-site .about-heading__en {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pro-muted);
  margin-bottom: 10px;
}
body.pro-site .about-heading__jp {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--pro-ink);
  line-height: 1.35;
}
body.pro-site .about-content p {
  color: #454545;
  max-width: 40rem;
}

body.pro-site .links-section {
  background: transparent;
  border: 1px solid var(--pro-line);
  border-radius: 0;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
  box-shadow: none;
}
body.pro-site .links-section h2 {
  font-family: "DM Sans", system-ui, sans-serif;
  text-align: left;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
body.pro-site .link-card {
  border-radius: 2px;
  border: 1px solid var(--pro-line);
  box-shadow: none;
  background: var(--pro-surface);
  transition: transform 0.5s var(--pro-ease-out), border-color 0.35s ease, box-shadow 0.5s ease;
}
body.pro-site .link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

body.pro-site .section-header {
  border-bottom: 1px solid var(--pro-line);
  padding-bottom: 14px;
  margin-bottom: 24px;
}
body.pro-site .section-title {
  font-family: "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.08em;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

body.pro-site .calendar-container,
body.pro-site .video-grid {
  border: 1px solid var(--pro-line);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

body.pro-site .footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- スプラッシュ: 背景は splash-variants.css の案別クラスで指定 ---------- */
.splash-a--script {
  background: #0c0a12;
}
.splash-a--script .splash-a__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, transparent 0%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}
.splash-a__script-wrap {
  position: relative;
  z-index: 2;
  width: min(94vw, 860px);
  margin: 0 auto;
  padding: 0 12px;
  text-align: center;
}
.splash-a__svg {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}
.splash-a__name--fill {
  opacity: 0;
  transition: opacity 0.95s cubic-bezier(0.33, 1, 0.68, 1);
}
.splash-a__name--fill.is-visible {
  opacity: 1;
  animation: splashNeonPulse 3.4s ease-in-out infinite;
}
.splash-a__name--stroke {
  opacity: 1;
  transition: opacity 0.6s ease 0.2s;
}
.splash-a--drawn .splash-a__name--stroke {
  opacity: 0.22;
}
@keyframes splashNeonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

@media (max-width: 768px) {
  .marquee {
    font-size: 0.58rem;
  }
  body.pro-site .carousel {
    padding-top: 64px;
  }
  .section-head {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-inner,
  body.pro-site .carousel-content::after,
  body.pro-site .carousel-char,
  body.pro-site .slide-1,
  body.pro-site .slide-2,
  body.pro-site .slide-3 {
    animation: none !important;
  }
  .splash-a__name--fill {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .splash-a__name--stroke {
    opacity: 0.25 !important;
    transition: none !important;
  }
  .js-reveal,
  .js-reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body.pro-site .carousel-content h2,
  body.pro-site .carousel-content p,
  body.pro-site .carousel-content .btn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
