/* ============================================
   SANRECO LP — Dark Theme (§1 + §2 + Hero)
   ============================================ */

:root {
  /* §1 新トークン */
  --bg: #070a1e;
  --bg-2: #0c1234;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-elev: rgba(255, 255, 255, 0.06);
  --ink: #ffffff;
  --ink-mute: rgba(255, 255, 255, 0.62);
  --ink-faint: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --cyan: #3fd0ec;
  --purple: #b18cff;
  --grad: linear-gradient(120deg, #3fd0ec, #b18cff);
  --aoi-teal: #ef4444;
  --aoi-teal-light: #fb7185;
  --aoi-glow: rgba(239, 68, 68, 0.4);

  /* 既存変数へのマッピング（レイアウト維持） */
  --bg-cream: var(--bg);
  --bg-cream-light: var(--bg);
  --bg-cream-warm: var(--bg-2);
  --bg-paper: var(--bg-2);
  --bg-techno: var(--bg-2);
  --bg-techno-grid: var(--line);
  --bg-dark: var(--bg);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-mute);
  --text-muted: var(--ink-mute);
  --text-light: var(--ink-faint);
  --text-on-dark: var(--ink);
  --gradient-rainbow: var(--grad);
  --gradient-aurora: var(--grad);
  --gradient-ocean: var(--grad);
  --gradient-speed: var(--grad);
  --shadow-card: none;
  --shadow-card-hover: none;
  --shadow-character: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font-jp-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-jp-body: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-en-display: "Space Grotesk", sans-serif;
  --font-en-body: "Inter", sans-serif;

  /* タイポグラフィスケール（視認性基準） */
  --text-xs: clamp(0.75rem, 1.35vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 1.5vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 1.65vw, 1.0625rem);
  --text-md: clamp(1rem, 1.85vw, 1.125rem);
  --text-lg: clamp(1.125rem, 2.1vw, 1.25rem);
  --text-xl: clamp(1.25rem, 2.5vw, 1.5rem);
  --text-2xl: clamp(1.75rem, 4.5vw, 2.75rem);
  --text-3xl: clamp(2.25rem, 5.5vw, 3.5rem);
  --leading-body: 1.85;
  --leading-tight: 1.45;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

/* §2 スピード線レイヤー */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.streaks {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
}

.streak {
  position: absolute;
  height: 1px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(63, 208, 236, 0.12) 35%,
    rgba(177, 140, 255, 0.22) 65%,
    transparent 100%
  );
  animation: streak-fly linear infinite;
  will-change: transform, opacity;
}

@keyframes streak-fly {
  0% {
    transform: translateX(-120vw) rotate(var(--streak-rot, -18deg));
    opacity: 0;
  }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% {
    transform: translateX(120vw) rotate(var(--streak-rot, -18deg));
    opacity: 0;
  }
}

/* z-index スタック */
#particles-canvas { z-index: 1; }
.site-header,
.floating-nav { z-index: 100; }
.fullscreen-menu { z-index: 200; }
.hero,
.section,
footer,
.mobile-fixed-cta { position: relative; z-index: 10; }

.mobile-bottom-nav {
  display: none;
}

/* ============================================
   HERO — sanreco-hero-dark 準拠
   ============================================ */
.hero {
  background: transparent;
}

.hero-bg-layers {
  z-index: 0;
}

.hero-bg-cream {
  background: transparent;
}

.hero-video-bg video {
  opacity: 1;
  filter: none;
}

.hero-stripes,
.hero-shapes { display: none; }

/* 「50」「加速」— 落ち着いたグラデーション（点滅グローなし） */
@keyframes hero-accent-loop {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.number-accent,
.kasoku-accent {
  background: linear-gradient(
    90deg,
    #be185d 0%,
    #db2777 14%,
    #ec4899 28%,
    #ff2d92 42%,
    #ec4899 56%,
    #db2777 70%,
    #be185d 84%,
    #db2777 100%
  );
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hero-accent-loop 10s ease-in-out infinite alternate;
  filter: none;
  will-change: background-position;
}

.kasoku-accent {
  font-style: italic;
}

@keyframes hero-underline-glow {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(63, 208, 236, 0.35);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 16px rgba(63, 208, 236, 0.6),
      0 0 30px rgba(177, 140, 255, 0.4);
  }
}

.hero-headline,
.headline-line {
  color: #0a1628;
  background: none;
  -webkit-text-fill-color: #0a1628;
  animation: none;
  filter: none;
}

.ai-accent,
.de-small,
.unit-jp {
  color: #0a1628;
  -webkit-text-fill-color: #0a1628;
}

/* レックを「経験を、」の右に配置 */
.hero-exclaim-mark {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  overflow: visible;
}

.rec-anchor {
  position: relative;
  display: inline-block;
  width: 0;
  height: 0;
  overflow: visible;
  vertical-align: baseline;
}

.rec-on-headline {
  position: absolute;
  left: 0.12em;
  bottom: -0.18em;
  width: clamp(120px, 15vw, 213px) !important;
  max-width: none;
  height: auto;
  transform: rotate(6deg);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  animation: rec-headline-float 4s ease-in-out infinite;
}

@keyframes rec-headline-float {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

.character-slot--rec,
.rec-on-headline {
  cursor: pointer;
}

.rec-on-headline.is-orbit-source-active,
.character-slot--rec.is-orbit-source-active {
  opacity: 0 !important;
  pointer-events: none;
  animation: none !important;
}

.rec-orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(260px, 27vw, 340px);
  height: clamp(490px, 49vw, 630px);
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.rec-orbit-track.is-orbiting {
  opacity: 1;
  visibility: visible;
  animation: rec-orbit-rotate 3s linear infinite;
}

@keyframes rec-orbit-rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.rec-orbit-sprite {
  position: absolute;
  top: 50%;
  left: -5%;
  width: clamp(72px, 9vw, 108px);
  height: auto;
  transform: translate(-50%, -50%) rotate(6deg);
  filter:
    drop-shadow(0 0 16px rgba(239, 68, 68, 0.55))
    drop-shadow(0 0 24px rgba(59, 130, 246, 0.45))
    drop-shadow(0 0 32px rgba(34, 197, 94, 0.35))
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}

.rec-orbit-track.is-orbiting .rec-orbit-sprite {
  animation: rec-orbit-sprite-counter 3s linear infinite;
}

@keyframes rec-orbit-sprite-counter {
  0% { transform: translate(-50%, -50%) rotate(6deg) scale(1); }
  100% { transform: translate(-50%, -50%) rotate(-354deg) scale(1); }
}

.rec-on-headline.is-orbit-returned {
  animation: rec-headline-return 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes rec-headline-return {
  0% { opacity: 0; transform: scale(0.82) rotate(6deg); }
  100% { opacity: 1; transform: scale(1) rotate(6deg); }
}

.services-intro,
.contact-intro,
.hero-headline {
  overflow: visible;
}

.hero-emphasis {
  position: relative;
  display: inline-block;
  padding: 0 10px 2px;
  background: none;
  isolation: isolate;
}

/* 文字下部を覆う濃い水色の帯（画像2スタイル） */
.hero-emphasis::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.5em;
  background: rgba(8, 145, 178, 0.92);
  z-index: -1;
}

.hero-emphasis::after {
  display: none;
}

.hero-subtitle,
.hero-subtitle-inner {
  color: #ffffff;
  font-family: var(--font-jp-body);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 12px rgba(56, 189, 248, 0.45),
    0 0 28px rgba(37, 99, 235, 0.28);
}

.hero-badge-50th {
  background: rgba(8, 145, 178, 0.88);
  color: #ffffff;
  border: 1px solid rgba(63, 208, 236, 0.35);
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.35);
}

.hero-badge-50th .badge-text-en {
  color: #ffffff;
}

.hero-badge-50th .badge-year-script {
  font-family: 'Great Vibes', cursive;
  font-size: 1.55em;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-left: 0.12em;
  vertical-align: middle;
  line-height: 1;
}

.hero-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.rec-badge-side {
  display: none;
  width: clamp(72px, 10vw, 96px);
  height: auto;
  flex-shrink: 0;
  transform: rotate(-4deg);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
  animation: rec-headline-float 4s ease-in-out infinite;
  cursor: pointer;
}

.rec-badge-side.is-orbit-source-active {
  opacity: 0 !important;
  pointer-events: none;
  animation: none !important;
}

.rec-badge-side.is-orbit-returned {
  animation: rec-headline-return 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.hero-stats {
  background: rgba(8, 145, 178, 0.88);
  border: 1px solid rgba(63, 208, 236, 0.4);
  box-shadow:
    0 0 24px rgba(8, 145, 178, 0.45),
    0 0 48px rgba(6, 182, 212, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 32px;
  padding: 24px 44px;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-top: 10pt;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 8px;
}

.stat-number {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

.stat-number small {
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

.stat-label {
  color: #ffffff;
  white-space: nowrap;
  font-family: var(--font-jp-display);
  font-size: calc(15px * var(--hero-text-shrink));
  font-weight: 700;
  letter-spacing: calc(0.08em * var(--hero-text-shrink));
}

@media (max-width: 768px) {
  .hero-stats {
    width: calc(100% - 2cm);
    max-width: calc(100% - 2cm);
    margin-left: auto;
    margin-right: auto;
    padding: 20px 20px;
    gap: 20px;
  }

  .hero-stat { padding: 0 4px; }

  .stat-label {
    white-space: normal;
    font-size: calc(13.2px * var(--hero-text-shrink));
  }
}

.hero-stat-divider {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 1;
}

.br-mobile {
  display: none;
}

.scroll-line { background: linear-gradient(180deg, var(--cyan), transparent); }
.scroll-text { color: var(--ink-faint); }

/* スマホモック — ベース（サイズ・アニメは下部 HERO ブロック） */

/* CTA */
.btn-primary {
  background: rgba(6, 90, 125, 0.82);
  border: 1px solid rgba(63, 208, 236, 0.82);
  color: var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px rgba(8, 145, 178, 0.42);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: rgba(5, 80, 115, 0.92);
  border-color: rgba(63, 208, 236, 0.95);
  transform: translateY(-4px);
  color: var(--ink);
  box-shadow: 0 0 24px rgba(8, 145, 178, 0.55);
}

.btn-secondary {
  background: rgba(219, 39, 119, 0.88);
  border: 1px solid rgba(255, 45, 146, 0.85);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.42);
}
.btn-secondary:hover {
  background: rgba(255, 45, 146, 0.92);
  border-color: rgba(251, 113, 182, 0.95);
  transform: translateY(-4px);
  color: var(--ink);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.58);
}

.btn-ryusei,
.btn-ryusei:hover,
.btn-nagisa,
.btn-nagisa:hover {
  color: #ffffff;
}

/* ヘッダー — 紺系グラデーション（CONTACTと統一） */
.site-header {
  background: linear-gradient(135deg, rgba(10, 16, 32, 0.94) 0%, rgba(15, 28, 52, 0.9) 48%, rgba(10, 16, 32, 0.94) 100%);
  border-bottom: 1px solid rgba(63, 208, 236, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px clamp(20px, 3.5vw, 48px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 4px 24px rgba(0, 0, 0, 0.22);
}
.site-header.scrolled {
  background: rgba(8, 14, 28, 0.97);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 8px 32px rgba(0, 0, 0, 0.38);
  border-bottom-color: rgba(63, 208, 236, 0.28);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.site-header nav > a:not(.nav-cta-btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  color: rgba(226, 232, 240, 0.72);
  font-family: var(--font-jp-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-header nav > a:not(.nav-cta-btn)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4fd1e0, #a86ce8);
  transform: translateX(-50%);
  transition: width 0.25s ease;
  opacity: 0.9;
}

.site-header nav > a:not(.nav-cta-btn):hover {
  color: #fff;
}

.site-header nav > a:not(.nav-cta-btn):hover::after {
  width: calc(100% - 44px);
}

.menu-btn span { background: var(--ink); }

/* セクション面（ヒーロー以外も §1 反映） */
.section--cream {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(8, 145, 178, 0.22), transparent 65%),
    radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.1), transparent 45%),
    linear-gradient(180deg, #070a1e 0%, #0a1a2e 48%, #0c2540 100%);
}

.section--paper {
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(63, 208, 236, 0.12), transparent 60%),
    linear-gradient(180deg, #0c1234 0%, #0a1628 55%, #070a1e 100%);
}
.section--techno {
  background: var(--bg-2);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
}

.service-card,
.team-member,
.brand-service-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: none;
}
.service-card:hover {
  background: var(--bg-elev);
  border-color: var(--line-2);
}

/* サービスカードアイコン — 白く強調 */
.service-icon-wrapper,
.brand-service-icon {
  color: #ffffff;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.service-icon-wrapper svg,
.brand-service-icon svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

/* SNS動画作成カード — 2リンク */
.service-card--multi {
  cursor: default;
}

.service-card--multi:hover {
  transform: none;
}

.service-card-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.service-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.service-card-link strong {
  font-family: var(--font-en-display);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.service-card-link-arrow {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
}

.service-card-link--post strong { color: #fb7185; }
.service-card-link--movie strong { color: #38bdf8; }
.service-card-link--join strong { color: #10b981; }
.service-card-link--web strong { color: #a855f7; }
.service-card-link--app strong { color: #a855f7; }

.service-card-link--post:hover {
  color: var(--ink);
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.1);
  transform: translateX(4px);
}

.service-card-link--post:hover .service-card-link-arrow { color: #fb7185; }

.service-card-link--movie:hover {
  color: var(--ink);
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(14, 165, 233, 0.1);
  transform: translateX(4px);
}

.service-card-link--movie:hover .service-card-link-arrow { color: #38bdf8; }

.service-card-link--join:hover {
  color: var(--ink);
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.1);
  transform: translateX(4px);
}

.service-card-link--join:hover .service-card-link-arrow { color: #10b981; }

.service-card-link--web:hover {
  color: var(--ink);
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
  transform: translateX(4px);
}

.service-card-link--web:hover .service-card-link-arrow { color: #a855f7; }

.service-card-link--app:hover {
  color: var(--ink);
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
  transform: translateX(4px);
}

.service-card-link--app:hover .service-card-link-arrow { color: #a855f7; }

.desc-nowrap {
  white-space: nowrap;
}

/* SNS動画 — POST / MOVIE 分岐ハブ */
.service-card--multi .sns-branches {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.sns-branches--section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 56px;
}

@media (max-width: 768px) {
  .sns-branches--section {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
}

.sns-branch {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.sns-branch:hover {
  transform: translateY(-3px);
  background: var(--bg-elev);
}

.sns-branch--post:hover {
  border-color: rgba(255, 107, 157, 0.5);
}

.sns-branch--movie:hover {
  border-color: rgba(43, 123, 250, 0.5);
}

.branch-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
}

.sns-branch--post .branch-eyebrow {
  color: #ff6b9d;
}

.sns-branch--movie .branch-eyebrow {
  color: #0369a1;
}

.branch-desc {
  color: var(--ink-mute);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 6px 0 10px;
}

.branch-spec {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.branch-spec li {
  color: var(--ink-mute);
  font-size: 0.8rem;
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.branch-spec li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.branch-link {
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink-mute);
  transition: color 0.2s ease, transform 0.2s ease;
}

.branch-link:hover {
  transform: translateX(4px);
}

.branch-link--post b {
  color: #ff6b9d;
}

.branch-link--movie b {
  color: #4fd1e0;
}

.branch-link--post:hover {
  color: #1a1a2e;
}

.branch-link--movie:hover {
  color: #1a1a2e;
}

/* SERVICES — 薄い水色ライトセクション */
#services.section--paper {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(63, 208, 236, 0.28), transparent 65%),
    radial-gradient(circle at 0% 100%, rgba(8, 145, 178, 0.18), transparent 45%),
    radial-gradient(circle at 100% 80%, rgba(6, 182, 212, 0.14), transparent 50%),
    linear-gradient(180deg, #c8edf8 0%, #daf4fb 48%, #e8f9fd 100%);
  color: #1a1a2e;
}

#services .section-tag {
  color: #3d4258;
  background: #f4f6f8;
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.06);
}

#services .section-title {
  color: #1a1a2e;
}

#services .service-card {
  background: #ffffff;
  border: 1px solid rgba(26, 26, 46, 0.1);
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.06);
  color: #1a1a2e;
}

#services .service-card:hover {
  background: #fafbfd;
  border-color: rgba(26, 26, 46, 0.14);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
}

@media (min-width: 769px) {
  #services .service-icon-wrapper {
    width: calc(64px / 1.2);
    height: calc(64px / 1.2);
    margin-bottom: calc(20px / 1.2);
  }

  #services .service-icon-wrapper svg {
    width: calc(32px / 1.2);
    height: calc(32px / 1.2);
  }
}

/* サービス名 — ブランド連動グラデーション＋エンボス（1.5倍） */
#services .service-title {
  font-size: calc(22px * 1.5);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  background-image: linear-gradient(165deg, #bae6fd 0%, #0ea5e9 42%, #0284c7 78%, #0369a1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 2px 5px rgba(2, 132, 199, 0.22));
}

#services .services-grid .service-card:nth-child(4) .service-title,
#services .services-grid .service-card:nth-child(5) .service-title {
  background-image: linear-gradient(165deg, #fecaca 0%, #ef4444 42%, #dc2626 78%, #b91c1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 2px 5px rgba(220, 38, 38, 0.22));
}

#services .services-grid .service-card:nth-child(6) .service-title {
  background-image: linear-gradient(165deg, #bbf7d0 0%, #22c55e 42%, #16a34a 78%, #15803d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 2px 5px rgba(22, 163, 74, 0.22));
}

#services .services-grid .service-card:nth-child(7) .service-title,
#services .services-grid .service-card:nth-child(8) .service-title {
  background-image: linear-gradient(165deg, #e9d5ff 0%, #a855f7 42%, #7c3aed 78%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 2px 5px rgba(124, 58, 237, 0.22));
}

#services .service-desc {
  color: #3d4258;
}

/* サービスカード番号 — ブランド連動グラデーション数字 */
#services .service-num {
  font-family: var(--font-en-display);
  font-size: 46px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.02em;
  background-image: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 14px;
}

/* 04 SNS動画作成 / 05 SNS運営 — 赤系（POST LAB） */
#services .services-grid .service-card:nth-child(4) .service-num,
#services .services-grid .service-card:nth-child(5) .service-num {
  background-image: linear-gradient(135deg, #dc2626 0%, #f87171 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* 06 採用パッケージ — 緑系（JOIN LAB） */
#services .services-grid .service-card:nth-child(6) .service-num {
  background-image: linear-gradient(135deg, #16a34a 0%, #4ade80 55%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* 07 ウェブ制作 / 08 アプリ開発 — 紫系（WEB LAB / APP LAB） */
#services .services-grid .service-card:nth-child(7) .service-num,
#services .services-grid .service-card:nth-child(8) .service-num {
  background-image: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

#services .service-arrow {
  color: #1a1a2e;
}

#services .speech-bubble--rec {
  background: #ffffff;
  color: #1a1a2e;
  border-color: #f87171;
  box-shadow:
    0 4px 20px rgba(244, 63, 94, 0.12),
    0 0 24px rgba(239, 68, 68, 0.08);
}

#services .speech-bubble--from-left::before {
  border-color: transparent #ffffff transparent transparent;
}

#services .service-card-link {
  color: #3d4258;
  background: #f4f6f8;
  border-color: rgba(26, 26, 46, 0.1);
}

#services .service-card-link--post:hover,
#services .service-card-link--movie:hover,
#services .service-card-link--join:hover,
#services .service-card-link--web:hover,
#services .service-card-link--app:hover {
  color: #1a1a2e;
}

#services .services-intro .character-slot--rec.has-image img {
  mix-blend-mode: normal;
}

#services .sns-branch {
  background: #ffffff;
  border: 1px solid rgba(26, 26, 46, 0.1);
}

#services .sns-branch:hover {
  background: #fafbfd;
}

#services .branch-desc,
#services .branch-spec li {
  color: #3d4258;
}

#services .branch-link {
  color: #3d4258;
}

#services .branch-link--post:hover,
#services .branch-link--movie:hover {
  color: #1a1a2e;
}

/* MOVIE LAB — 濃い水色ライトセクション */
#brand-movielab.section--paper {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(8, 145, 178, 0.42), transparent 65%),
    radial-gradient(circle at 100% 40%, rgba(6, 182, 212, 0.32), transparent 50%),
    radial-gradient(circle at 0% 90%, rgba(63, 208, 236, 0.26), transparent 45%),
    linear-gradient(180deg, #8ecfe8 0%, #a5d9ef 35%, #b8e4f5 65%, #c5ebf8 100%);
  color: #1a1a2e;
}

#brand-movielab .brand-title {
  color: #1a1a2e;
}

@keyframes section-emphasis-blue-glow {
  0%, 100% {
    opacity: 0.7;
    filter: blur(10px);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.35);
  }
  50% {
    opacity: 1;
    filter: blur(16px);
    box-shadow:
      0 0 18px rgba(14, 165, 233, 0.78),
      0 0 36px rgba(56, 189, 248, 0.48);
  }
}

/* MOVIE LAB「映像制作50年のすべてを、ここに。」— 青系グロー帯 */
#brand-movielab .brand-title-emphasis--ryusei {
  isolation: isolate;
  background: linear-gradient(180deg, transparent 65%, rgba(14, 165, 233, 0.5) 65%);
}

#brand-movielab .brand-title-emphasis--ryusei::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 0.48em;
  background: rgba(14, 165, 233, 0.85);
  border-radius: 2px;
  filter: blur(10px);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  animation: section-emphasis-blue-glow 2.6s ease-in-out infinite;
}

#brand-movielab .section-tag {
  color: #3d4258;
  background: #f4f6f8;
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.06);
}

#brand-movielab .brand-lead {
  color: #3d4258;
}

#brand-movielab .brand-service-item {
  background: #ffffff;
  border: 1px solid rgba(26, 26, 46, 0.1);
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.1);
}

#brand-movielab .brand-service-item:hover {
  background: #f8feff;
  border-color: rgba(8, 145, 178, 0.25);
  box-shadow: 0 12px 32px rgba(8, 145, 178, 0.15);
}

#brand-movielab .brand-service-title {
  color: #1a1a2e;
}

#brand-movielab .brand-service-desc {
  color: #3d4258;
}

#brand-movielab .brand-service-tags li {
  background: #e0f7fa;
  color: #0e7490;
  border: 1px solid rgba(8, 145, 178, 0.15);
}

#brand-movielab .brand-service-item--drone {
  border-color: rgba(14, 165, 233, 0.22);
}

/* リュウセイ吹き出し — 他キャラ同様のダークカード＋水色アクセント */
#brand-movielab .speech-bubble.speech-bubble--ryusei {
  background: rgba(10, 22, 40, 0.94);
  border: 2px solid rgba(79, 209, 224, 0.55);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 28px rgba(8, 145, 178, 0.22);
}

#brand-movielab .speech-bubble.speech-bubble--ryusei::before {
  display: none;
}

#brand-movielab .speech-bubble.speech-bubble--ryusei p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

#brand-movielab .rec-wrap--movie {
  margin-top: clamp(20px, 2.5vw, 28px);
  padding: clamp(14px, 2vw, 18px);
  background: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-left: 3px solid #0ea5e9;
  border-radius: 14px;
  box-shadow:
    0 8px 28px rgba(8, 145, 178, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

#brand-movielab .rec-wrap--movie .rec-label {
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #1a1a2e;
}

#brand-movielab .rec-wrap--movie .rec-label-title {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

#brand-movielab .rec-wrap--movie .rec-label-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.3;
}

#brand-movielab .rec-wrap--movie .rec-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  gap: 8px;
}

#brand-movielab .rec-wrap--movie .rec-card {
  padding: 9px 10px;
  gap: 8px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.07) 0%, #f8fcff 14%, #ffffff 100%);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-left: 2px solid #0ea5e9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#brand-movielab .rec-wrap--movie .rec-card:hover {
  border-color: rgba(14, 165, 233, 0.38);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

#brand-movielab .rec-wrap--movie .rec-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

#brand-movielab .rec-wrap--movie .rec-text {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a2e;
}

#brand-movielab .rec-wrap--movie .rec-alt {
  padding-top: 10px;
  border-top: 1px solid rgba(14, 165, 233, 0.16);
}

#brand-movielab .rec-wrap--movie .rec-alt-lead {
  color: #6b7280;
}

#brand-movielab .rec-wrap--movie .rec-alt-link {
  color: #3d4258;
  background: rgba(236, 72, 153, 0.06);
  border: 1px solid rgba(236, 72, 153, 0.24);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#brand-movielab .rec-wrap--movie .rec-alt-link:hover {
  color: #1a1a2e;
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.45);
}

#brand-movielab .rec-wrap--movie .rec-badge--post {
  font-size: 0.68rem;
  padding: 3px 8px;
}

#brand-movielab .rec-wrap--movie .rec-alt-arrow {
  margin-left: auto;
  font-weight: 700;
  color: #ec4899;
}

#brand-movielab .rec-wrap--movie .rec-alt-link:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 3px;
}

#brand-movielab .rec-badge {
  color: #ffffff;
}

#brand-movielab .rec-badge--post {
  background: linear-gradient(135deg, var(--pop-coral), #ec4899);
}

#brand-movielab .speech-character-name--ryusei {
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #4fd1e0);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#brand-movielab .rec-divider {
  border-top-color: rgba(26, 26, 46, 0.12);
}

#brand-movielab .brand-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

#brand-movielab .btn-supplement,
#brand-movielab a.btn-supplement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin-top: 0;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: #ffffff;
  text-decoration: none;
  background: rgba(10, 22, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow:
    0 6px 24px rgba(10, 22, 40, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#brand-movielab .btn-supplement-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

#brand-movielab .btn-supplement.btn-supplement--stack {
  justify-content: center;
  margin-top: 0;
  width: auto;
  max-width: 100%;
}

#brand-movielab .btn-supplement.btn-supplement--stack::before {
  display: none;
}

#brand-movielab .btn-supplement--stack .btn-supplement-lines {
  align-items: center;
  text-align: center;
}

#brand-movielab .btn-supplement-line:first-child {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#brand-movielab .brand-cta .btn-ryusei {
  box-shadow:
    0 10px 32px rgba(14, 165, 233, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

#brand-movielab .character-slot.has-image img {
  mix-blend-mode: normal;
}

/* SNS動画セクション — 決定版（#brand-motionlab） */
#brand-motionlab.sns-section {
  background: var(--bg-2);
  color: var(--ink);
}

#brand-motionlab .sec-head,
#brand-motionlab .motionlab-head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

#brand-motionlab .section-tag {
  color: var(--ink);
  background: rgba(255, 107, 157, 0.12);
  border: 1px solid rgba(255, 107, 157, 0.28);
  box-shadow: none;
}

#brand-motionlab .section-tag::before {
  background: linear-gradient(135deg, #ff6b9d, #f43f5e);
}

#brand-motionlab .brand-title {
  color: var(--ink);
}

#brand-motionlab .brand-title-emphasis--post {
  isolation: isolate;
  background: linear-gradient(180deg, transparent 65%, rgba(239, 68, 68, 0.52) 65%);
}

#brand-motionlab .brand-title-emphasis--post::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 0.48em;
  background: rgba(239, 68, 68, 0.82);
  border-radius: 2px;
  filter: blur(10px);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  animation: section-emphasis-red-glow 2.6s ease-in-out infinite;
}

#brand-motionlab .brand-lead {
  color: var(--ink-mute);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

#brand-motionlab .motionlab-body {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 44px);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

#brand-motionlab .motionlab-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: sticky;
  top: 96px;
}

#brand-motionlab .motionlab-showcase {
  width: 100%;
  max-width: 360px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

#brand-motionlab .motionlab-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-width: 0;
}

#brand-motionlab .motionlab-choices-lead {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}

@media (min-width: 900px) {
  #brand-motionlab .motionlab-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #brand-motionlab .motionlab-choices-lead {
    text-align: left;
  }
}

#brand-motionlab .sns-branch {
  position: relative;
  display: flex;
  min-height: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

#brand-motionlab .sns-branch:hover {
  transform: translateY(-3px);
  background: var(--bg-elev);
}

#brand-motionlab .sns-branch--post:hover {
  border-color: rgba(255, 107, 157, 0.45);
  box-shadow: 0 12px 32px rgba(244, 63, 94, 0.12);
}

#brand-motionlab .sns-branch--movie:hover {
  border-color: rgba(43, 123, 250, 0.45);
  box-shadow: 0 12px 32px rgba(43, 123, 250, 0.12);
}

#brand-motionlab .branch-accent {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
}

#brand-motionlab .sns-branch--post .branch-accent {
  background: linear-gradient(180deg, #ff6b9d, #ef4444);
}

#brand-motionlab .sns-branch--movie .branch-accent {
  background: linear-gradient(180deg, #2b7bfa, #4fd1e0);
}

#brand-motionlab .branch-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 22px) clamp(16px, 2.2vw, 20px);
}

#brand-motionlab .branch-head {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#brand-motionlab .branch-type {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

#brand-motionlab .sns-branch--post .branch-type {
  color: #ffb8cc;
  background: rgba(255, 107, 157, 0.16);
  border: 1px solid rgba(255, 107, 157, 0.32);
}

#brand-motionlab .sns-branch--movie .branch-type {
  color: #a5e8f5;
  background: rgba(79, 209, 224, 0.14);
  border: 1px solid rgba(79, 209, 224, 0.32);
}

#brand-motionlab .branch-brand {
  margin: 0;
  font-family: var(--font-en-display, "Outfit", sans-serif);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

#brand-motionlab .sns-branch--post .branch-brand {
  color: #ff8fab;
}

#brand-motionlab .sns-branch--movie .branch-brand {
  color: #5ee0f0;
}

#brand-motionlab .branch-hook {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

#brand-motionlab .branch-desc {
  color: var(--ink-mute);
  font-size: 0.86rem;
  line-height: 1.7;
  margin: 0;
}

#brand-motionlab .branch-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
}

#brand-motionlab .branch-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 0;
}

#brand-motionlab .branch-price-unit {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

#brand-motionlab .branch-price-amount {
  font-family: var(--font-en-display, "Outfit", sans-serif);
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

#brand-motionlab .sns-branch--post .branch-price-amount {
  color: #ff9bb5;
}

#brand-motionlab .sns-branch--movie .branch-price-amount {
  color: #6ee7f7;
}

#brand-motionlab .branch-price-note {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

#brand-motionlab .branch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#brand-motionlab .branch-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-mute);
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

#brand-motionlab .branch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: stretch;
  margin-top: auto;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#brand-motionlab .sns-branch:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

#brand-motionlab .branch-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#brand-motionlab .branch-cta--post {
  color: #ffffff;
  background: linear-gradient(135deg, #ff6b9d, #f43f5e);
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.28);
}

#brand-motionlab .branch-cta--post:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.42);
}

#brand-motionlab .branch-cta--movie {
  color: #ffffff;
  background: linear-gradient(135deg, #2b7bfa, #4fd1e0);
  box-shadow: 0 4px 16px rgba(43, 123, 250, 0.28);
}

#brand-motionlab .branch-cta--movie:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(43, 123, 250, 0.42);
}

#brand-motionlab .aoi-visual {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

#brand-motionlab .aoi-bubble {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid rgba(244, 63, 94, 0.38);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  #brand-motionlab .motionlab-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #brand-motionlab .motionlab-visual {
    position: static;
    max-width: 400px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  #brand-motionlab .motionlab-showcase,
  #brand-motionlab .aoi-bubble {
    max-width: 100%;
  }
}

#brand-motionlab .aoi-name {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #ef4444, #dc2626);
  border-radius: 8px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

#brand-motionlab .aoi-bubble p {
  color: var(--ink-mute);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

/* AGENT SYSTEM — 白背景ライトセクション */
#character-system.section--cream {
  background: #ffffff;
  color: #1a1a2e;
  scroll-margin-top: 80px;
}

#character-system .about-team.about-team--glowfield {
  background:
    radial-gradient(ellipse 120% 90% at 50% -20%, rgba(63, 208, 236, 0.32), transparent 58%),
    radial-gradient(circle at 0% 85%, rgba(8, 145, 178, 0.22), transparent 48%),
    radial-gradient(circle at 100% 70%, rgba(6, 182, 212, 0.18), transparent 44%),
    linear-gradient(165deg, #c8edf8 0%, #daf4fb 45%, #e8f9fd 100%);
  border: 1px solid rgba(8, 145, 178, 0.28);
  box-shadow:
    0 4px 32px rgba(8, 145, 178, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.65);
}

#character-system .about-team--glowfield .team-glow {
  opacity: 0.48;
}

#character-system .about-team--glowfield .team-heading-label {
  color: #0891b2;
  -webkit-text-fill-color: #0891b2;
}

#character-system .about-team--glowfield .character-slot.has-image img {
  mix-blend-mode: normal;
}

/* === AGENT SYSTEM — 近未来HUDカードデザイン === */
#character-system .about-team--glowfield .team-member {
  --member-accent: #0ea5e9;
  --member-accent-light: #38bdf8;
  --member-accent-soft: rgba(14, 165, 233, 0.1);
  background:
    radial-gradient(circle at 85% -5%, var(--member-accent-soft), transparent 50%),
    linear-gradient(color-mix(in srgb, var(--member-accent) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--member-accent) 12%, transparent) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 26px 26px, 26px 26px, auto;
  border: 1px solid color-mix(in srgb, var(--member-accent) 28%, transparent);
  border-radius: 20px;
  box-shadow:
    0 4px 24px rgba(26, 26, 46, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

#character-system .team-member--ryusei {
  --member-accent: #0284c7;
  --member-accent-light: #38bdf8;
  --member-accent-soft: rgba(14, 165, 233, 0.14);
}

#character-system .team-member--aoi {
  --member-accent: #dc2626;
  --member-accent-light: #fb7185;
  --member-accent-soft: rgba(239, 68, 68, 0.12);
}

#character-system .team-member--nagisa {
  --member-accent: #16a34a;
  --member-accent-light: #4ade80;
  --member-accent-soft: rgba(34, 197, 94, 0.14);
}

#character-system .about-team--glowfield .team-member:hover {
  background:
    radial-gradient(circle at 85% -5%, var(--member-accent-soft), transparent 55%),
    linear-gradient(color-mix(in srgb, var(--member-accent) 14%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--member-accent) 14%, transparent) 1px, transparent 1px),
    #fdfeff;
  background-size: auto, 26px 26px, 26px 26px, auto;
  border-color: var(--member-accent);
  box-shadow:
    0 12px 40px var(--member-accent-soft),
    0 0 24px var(--member-accent-soft),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* HUDコーナーブラケット（右下） */
#character-system .about-team--glowfield .team-member::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 26px;
  height: 26px;
  border-right: 2px solid var(--member-accent);
  border-bottom: 2px solid var(--member-accent);
  border-radius: 0 0 10px 0;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#character-system .about-team--glowfield .team-member:hover::after {
  opacity: 1;
}

/* キャラクター画像 — 発光フレーム */
#character-system .about-team--glowfield .team-member .character-slot {
  border-radius: 18px;
  border: 1px solid var(--member-accent);
  box-shadow:
    0 0 0 4px var(--member-accent-soft),
    0 12px 32px var(--member-accent-soft),
    0 0 28px var(--member-accent-soft);
}

/* UNIT ナンバー — HUDタグ化 */
#character-system .member-num {
  font-family: var(--font-en-display);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.28em;
  color: var(--member-accent);
  background: var(--member-accent-soft);
  border: 1px solid var(--member-accent);
  border-radius: 100px;
  padding: 4px 16px 4px 18px;
  margin-bottom: 12px;
}

#character-system .member-num::before {
  content: 'UNIT ';
}

/* 名前 — グラデーションアンダーライン */
#character-system .member-name {
  color: #1a1a2e;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 8px;
}

#character-system .member-name::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--member-accent), var(--member-accent-light), transparent);
}

/* ロール — ブラケット付きHUDラベル */
#character-system .member-role {
  font-family: var(--font-en-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--member-accent);
}

#character-system .member-role::before {
  content: '[ ';
  opacity: 0.6;
}

#character-system .member-role::after {
  content: ' ]';
  opacity: 0.6;
}

/* キーワード — テックチップ */
#character-system .member-keywords li {
  background: transparent;
  color: var(--member-accent);
  border: 1px solid var(--member-accent);
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 10px var(--member-accent-soft);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

#character-system .member-keywords li:hover {
  background: var(--member-accent-soft);
  box-shadow:
    inset 0 0 10px var(--member-accent-soft),
    0 0 14px var(--member-accent-soft);
}

/* AGENT SYSTEM — コンパクト化・キャラ別装飾・文字階層 */
#character-system .team-heading-block {
  margin-bottom: clamp(22px, 3.5vw, 32px);
}

#character-system .team-heading {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.45;
  margin-bottom: 0;
}

#character-system .team-grid {
  gap: clamp(12px, 2vw, 20px);
  max-width: 1280px;
  margin-inline: auto;
}

#character-system .about-team--glowfield .team-member {
  padding: 18px 14px 16px;
  border-radius: 16px;
  background-size: auto, 18px 18px, 18px 18px, auto;
}

#character-system .about-team--glowfield .team-member--ryusei {
  background:
    radial-gradient(circle at 88% -8%, rgba(14, 165, 233, 0.18), transparent 52%),
    linear-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 18px 18px, 18px 18px, auto;
  border: 2px solid rgba(14, 165, 233, 0.38);
  box-shadow:
    0 4px 24px rgba(14, 165, 233, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

#character-system .about-team--glowfield .team-member--aoi {
  background:
    radial-gradient(circle at 88% -8%, rgba(239, 68, 68, 0.16), transparent 52%),
    linear-gradient(rgba(220, 38, 38, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.07) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 18px 18px, 18px 18px, auto;
  border: 2px solid rgba(239, 68, 68, 0.36);
  box-shadow:
    0 4px 24px rgba(239, 68, 68, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

#character-system .about-team--glowfield .team-member--nagisa {
  background:
    radial-gradient(circle at 88% -8%, rgba(34, 197, 94, 0.16), transparent 52%),
    linear-gradient(rgba(22, 163, 74, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 163, 74, 0.07) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 18px 18px, 18px 18px, auto;
  border: 2px solid rgba(22, 163, 74, 0.36);
  box-shadow:
    0 4px 24px rgba(34, 197, 94, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

#character-system .about-team--glowfield .team-member--ryusei:hover {
  background:
    radial-gradient(circle at 88% -8%, rgba(14, 165, 233, 0.2), transparent 55%),
    linear-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    #f8feff;
  background-size: auto, 18px 18px, 18px 18px, auto;
}

#character-system .about-team--glowfield .team-member--aoi:hover {
  background:
    radial-gradient(circle at 88% -8%, rgba(239, 68, 68, 0.18), transparent 55%),
    linear-gradient(rgba(220, 38, 38, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.07) 1px, transparent 1px),
    #fffbfb;
  background-size: auto, 18px 18px, 18px 18px, auto;
}

#character-system .about-team--glowfield .team-member--nagisa:hover {
  background:
    radial-gradient(circle at 88% -8%, rgba(34, 197, 94, 0.2), transparent 55%),
    linear-gradient(rgba(22, 163, 74, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 163, 74, 0.08) 1px, transparent 1px),
    #f8fff9;
  background-size: auto, 18px 18px, 18px 18px, auto;
}

#character-system .team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--member-accent-light), var(--member-accent), var(--member-accent-light));
  border-radius: 16px 16px 0 0;
  z-index: 2;
}

#character-system .member-info {
  position: relative;
  width: 100%;
}

#character-system .member-info::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 16px;
  height: 16px;
  border-left: 2px solid var(--member-accent);
  border-top: 2px solid var(--member-accent);
  border-radius: 5px 0 0 0;
  opacity: 0.45;
  pointer-events: none;
}

#character-system .about-team--glowfield .team-member .character-slot {
  width: min(100%, 390px);
  height: 430px;
  margin-bottom: 14px;
  border-radius: 16px;
  border-width: 2px;
}

#character-system .about-team--glowfield .team-member .character-slot img {
  object-fit: contain;
  object-position: top center;
}

/* キャラ枠 — 青 / 赤 / 緑（バンドルCSSのシアン・紫を上書き） */
#character-system .team-member--ryusei .character-slot.character-slot--ryusei {
  background: linear-gradient(160deg, rgba(186, 230, 253, 0.4) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-color: #0284c7;
  box-shadow:
    0 0 0 5px rgba(14, 165, 233, 0.2),
    0 16px 40px rgba(14, 165, 233, 0.24),
    0 0 40px rgba(56, 189, 248, 0.22);
}

#character-system .team-member--aoi .character-slot.character-slot--aoi {
  background: linear-gradient(160deg, rgba(254, 202, 202, 0.4) 0%, rgba(239, 68, 68, 0.1) 100%);
  border-color: #dc2626;
  box-shadow:
    0 0 0 5px rgba(239, 68, 68, 0.18),
    0 16px 40px rgba(239, 68, 68, 0.22),
    0 0 40px rgba(248, 113, 113, 0.2);
}

#character-system .team-member--nagisa .character-slot.character-slot--nagisa {
  background: linear-gradient(160deg, rgba(187, 247, 208, 0.4) 0%, rgba(34, 197, 94, 0.1) 100%);
  border-color: #16a34a;
  box-shadow:
    0 0 0 5px rgba(34, 197, 94, 0.18),
    0 16px 40px rgba(34, 197, 94, 0.22),
    0 0 40px rgba(74, 222, 128, 0.2);
}

#character-system .about-team--glowfield .team-member::after {
  right: 10px;
  bottom: 10px;
  width: 20px;
  height: 20px;
}

#character-system .member-num {
  font-size: 10px;
  padding: 3px 11px 3px 13px;
  margin-bottom: 6px;
  letter-spacing: 0.2em;
}

#character-system .member-name {
  font-size: clamp(1.2rem, 2.3vw, 1.42rem);
  margin-bottom: 4px;
  padding-bottom: 7px;
  letter-spacing: 0.06em;
}

#character-system .member-name::after {
  width: 44px;
  height: 2.5px;
}

#character-system .member-role {
  font-size: clamp(0.68rem, 1.2vw, 0.74rem);
  margin-bottom: 8px;
  line-height: 1.45;
  font-weight: 700;
}

#character-system .member-tagline {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(0.78rem, 1.35vw, 0.86rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
  padding: 7px 10px;
  color: #1e293b;
  background: var(--member-accent-soft);
  border: 1px solid color-mix(in srgb, var(--member-accent) 22%, transparent);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

#character-system .member-keywords {
  gap: 5px;
}

#character-system .member-keywords li {
  font-size: 0.65rem;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  #character-system .about-team--glowfield .team-member .character-slot {
    width: min(100%, 350px);
    height: 390px;
  }
}

/* 見出し強調帯 — 紫系＋光彩 */
.section-title-emphasis {
  isolation: isolate;
  background: linear-gradient(180deg, transparent 65%, rgba(147, 51, 234, 0.48) 65%);
}

@keyframes section-emphasis-purple-glow {
  0%, 100% {
    opacity: 0.7;
    filter: blur(10px);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.35);
  }
  50% {
    opacity: 1;
    filter: blur(16px);
    box-shadow:
      0 0 18px rgba(168, 85, 247, 0.7),
      0 0 36px rgba(147, 51, 234, 0.4);
  }
}

.section-title-emphasis::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 0.48em;
  background: rgba(168, 85, 247, 0.78);
  border-radius: 2px;
  filter: blur(10px);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
  animation: section-emphasis-purple-glow 2.8s ease-in-out infinite;
}

#services .section-title-emphasis::before {
  background: rgba(147, 51, 234, 0.82);
  animation-duration: 2.4s;
}

@keyframes section-emphasis-red-glow {
  0%, 100% {
    opacity: 0.7;
    filter: blur(10px);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
  }
  50% {
    opacity: 1;
    filter: blur(16px);
    box-shadow:
      0 0 18px rgba(239, 68, 68, 0.75),
      0 0 36px rgba(220, 38, 38, 0.45);
  }
}

@keyframes section-emphasis-mint-glow {
  0%, 100% {
    opacity: 0.7;
    filter: blur(10px);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
  }
  50% {
    opacity: 1;
    filter: blur(16px);
    box-shadow:
      0 0 18px rgba(52, 211, 153, 0.75),
      0 0 36px rgba(5, 150, 105, 0.45);
  }
}

/* POST LAB（SNS運営）「明日の集客を作る。」— 赤系グロー帯 */
#brand-postlab .brand-title-emphasis--coral {
  isolation: isolate;
  background: linear-gradient(180deg, transparent 65%, rgba(239, 68, 68, 0.52) 65%);
}

#brand-postlab .brand-title-emphasis--coral::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 0.48em;
  background: rgba(239, 68, 68, 0.82);
  border-radius: 2px;
  filter: blur(10px);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  animation: section-emphasis-red-glow 2.6s ease-in-out infinite;
}

/* POST LAB（SNS運営）— アイコンを赤グラデーションに */
#brand-postlab .brand-service-icon,
#brand-postlab .rec-wrap--post .rec-dot,
#brand-postlab .rec-wrap--post .rec-icon {
  background: linear-gradient(135deg, #fb7185, #ef4444, #dc2626);
}

#brand-postlab .rec-wrap--post {
  margin-top: 0;
  max-width: none;
  width: 100%;
  padding: clamp(14px, 2vw, 18px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-left: 3px solid #ef4444;
  border-radius: 14px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#brand-postlab .brand-content--postlab {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  grid-template-areas:
    "character services"
    "character rec";
  gap: 14px clamp(24px, 3.5vw, 40px);
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 32px);
}

#brand-postlab .brand-content--postlab > .brand-character-area {
  grid-area: character;
  position: sticky;
  top: 92px;
  align-self: start;
}

#brand-postlab .brand-content--postlab > .brand-services {
  grid-area: services;
  gap: 12px;
}

#brand-postlab .brand-content--postlab > .rec-wrap--post {
  grid-area: rec;
}

#brand-postlab .brand-service-item {
  padding: clamp(16px, 2vw, 22px);
  gap: 16px;
}

#brand-postlab .brand-service-desc {
  margin-bottom: 10px;
}

#brand-postlab .brand-character-area .speech-bubble {
  max-width: none;
}

#brand-postlab .rec-label {
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ink);
}

#brand-postlab .rec-label-title {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

#brand-postlab .rec-label-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-mute);
  line-height: 1.3;
}

#brand-postlab .rec-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  gap: 8px;
}

#brand-postlab .rec-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 9px 10px;
  gap: 8px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

#brand-postlab .rec-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

#brand-postlab .rec-text {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

#brand-postlab .rec-alt {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#brand-postlab .rec-alt-lead {
  color: var(--ink-faint);
}

#brand-postlab .rec-alt-link {
  color: var(--ink-mute);
  background: rgba(43, 123, 250, 0.1);
  border: 1px solid rgba(79, 209, 224, 0.24);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#brand-postlab .rec-alt-link:hover {
  color: var(--ink);
  background: rgba(43, 123, 250, 0.16);
  border-color: rgba(79, 209, 224, 0.45);
}

#brand-postlab .rec-badge--movie {
  background: linear-gradient(135deg, #2b7bfa, #4fd1e0);
  color: #fff;
  font-size: 0.68rem;
  padding: 3px 8px;
}

#brand-postlab .rec-alt-arrow {
  margin-left: auto;
  font-weight: 700;
  color: #5ee0f0;
}

#brand-postlab .speech-character-name--aoi {
  color: #ffffff;
  background: linear-gradient(135deg, #fb7185, #ef4444, #dc2626);
}

#brand-postlab .brand-cta--postlab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(239, 68, 68, 0.16);
}

#brand-postlab .btn-postlab {
  background: linear-gradient(135deg, #fb7185, #ef4444, #dc2626);
  color: #ffffff;
  box-shadow:
    0 10px 32px rgba(239, 68, 68, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

#brand-postlab .btn-postlab:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(239, 68, 68, 0.58);
}

#brand-postlab .postlab-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-mute);
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

#brand-postlab .postlab-site-link:hover {
  color: #ffb8cc;
  border-bottom-color: rgba(255, 184, 204, 0.45);
}

#brand-postlab .postlab-site-link-arrow {
  font-size: 0.9em;
  opacity: 0.85;
}

@media (max-width: 768px) {
  #brand-postlab .rec-alt-arrow {
    margin-left: 0;
  }
}

/* レック吹き出し — 赤系＋光彩 */
.speech-bubble--rec {
  border-color: #f87171;
  box-shadow:
    0 0 18px rgba(244, 63, 94, 0.32),
    0 0 36px rgba(239, 68, 68, 0.14),
    inset 0 0 20px rgba(244, 63, 94, 0.06);
}

.speech-character-name--rec {
  background: linear-gradient(135deg, #fb7185, #ef4444);
  color: #fff;
  box-shadow:
    0 0 10px rgba(244, 63, 94, 0.55),
    0 0 22px rgba(239, 68, 68, 0.28);
}

/* レック — スロット枠を除去（キャラ画像のみ表示） */
.character-slot--rec.has-image {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
}

.services-intro .character-slot--rec.has-image,
.contact-intro .character-slot--rec.has-image {
  width: auto;
  height: auto;
  max-width: min(365px, 100%);
}

.services-intro .character-slot--rec.has-image img,
.contact-intro .character-slot--rec.has-image img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
}

@media (min-width: 769px) {
  .contact-intro .character-slot--rec.character-slot--md.has-image {
    width: calc(365px / 1.2);
    max-width: min(calc(365px / 1.2), 100%);
    height: auto;
  }
}

@keyframes contact-gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes contact-flare-drift {
  0%, 100% {
    background-position: 0% 50%, -10% 50%, 0% 0%;
    opacity: 1;
  }
  50% {
    background-position: 100% 50%, 5% 50%, 0% 0%;
    opacity: 0.94;
  }
}

@keyframes contact-marker-glow {
  0%, 100% {
    opacity: 0.82;
    filter: blur(10px);
    box-shadow:
      0 0 18px rgba(236, 72, 153, 0.65),
      0 0 36px rgba(244, 114, 182, 0.4);
  }
  50% {
    opacity: 1;
    filter: blur(14px);
    box-shadow:
      0 0 32px rgba(236, 72, 153, 1),
      0 0 64px rgba(244, 114, 182, 0.75),
      0 0 96px rgba(251, 113, 184, 0.35);
  }
}

/* CONTACT — 映像フレーム散りばめ背景 */
@keyframes contact-frame-float {
  0%, 100% {
    transform: rotate(var(--rot, 0deg)) translateY(0);
  }
  50% {
    transform: rotate(var(--rot, 0deg)) translateY(-10px);
  }
}

@keyframes contact-intro-glow {
  0%, 100% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes contact-frame-glow {
  0%, 100% {
    opacity: var(--frame-opacity, 0.38);
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.35),
      0 0 28px rgba(96, 165, 250, 0.12),
      0 0 56px rgba(147, 197, 253, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  50% {
    opacity: calc(var(--frame-opacity, 0.38) + 0.18);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.28),
      0 0 42px rgba(96, 165, 250, 0.32),
      0 0 80px rgba(147, 197, 253, 0.22),
      0 0 120px rgba(186, 230, 253, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.22);
  }
}

@keyframes contact-frame-img-glow {
  0%, 100% {
    filter: blur(3px) saturate(1.05) brightness(0.88);
  }
  50% {
    filter: blur(2px) saturate(1.18) brightness(1.22);
  }
}

@keyframes contact-frame-bloom {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

#contact.section--paper {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #154c60;
  color: #e2e8f0;
}

#contact.section--paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      102deg,
      transparent 0%,
      rgba(34, 211, 238, 0.06) 22%,
      rgba(34, 211, 238, 0.42) 36%,
      rgba(56, 189, 248, 0.28) 46%,
      rgba(34, 211, 238, 0.08) 56%,
      transparent 68%
    ),
    radial-gradient(ellipse 95% 60% at -8% 50%, rgba(6, 182, 212, 0.38), transparent 58%),
    linear-gradient(168deg, #1b6d88 0%, #185f76 30%, #154c60 58%, #0f3a4d 100%);
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: contact-flare-drift 14s ease-in-out infinite;
}

#contact.section--paper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 100% 75% at 50% 42%, transparent 25%, rgba(8, 22, 32, 0.45) 70%, rgba(6, 16, 24, 0.65) 100%);
  pointer-events: none;
}

#contact .contact-video-scatter {
  display: none !important;
}

#contact .contact-video-frame {
  position: absolute;
  border-radius: 8px;
  overflow: visible;
  --frame-opacity: 0.42;
  opacity: var(--frame-opacity);
  animation:
    contact-frame-float var(--float-dur, 9s) ease-in-out infinite,
    contact-frame-glow var(--glow-dur, 5.5s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s), var(--glow-delay, 0s);
}

#contact .contact-video-frame::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(147, 197, 253, 0.42) 0%,
    rgba(96, 165, 250, 0.18) 38%,
    transparent 72%
  );
  animation: contact-frame-bloom var(--glow-dur, 5.5s) ease-in-out infinite;
  animation-delay: var(--glow-delay, 0s);
  pointer-events: none;
}

#contact .contact-video-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  animation: contact-frame-img-glow var(--glow-dur, 5.5s) ease-in-out infinite;
  animation-delay: var(--glow-delay, 0s);
}

#contact .contact-video-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% center;
  background-size: 14px 14px;
  opacity: 0.88;
}

#contact .contact-video-frame--1 {
  --rot: -14deg;
  --float-dur: 8s;
  --float-delay: 0s;
  --glow-dur: 5s;
  --glow-delay: 0s;
  width: 148px;
  height: 83px;
  top: 6%;
  left: 3%;
}

#contact .contact-video-frame--2 {
  --rot: 9deg;
  --float-dur: 10s;
  --float-delay: 1.2s;
  --glow-dur: 6.2s;
  --glow-delay: 0.8s;
  width: 132px;
  height: 74px;
  top: 4%;
  right: 5%;
}

#contact .contact-video-frame--3 {
  --rot: -7deg;
  --float-dur: 11s;
  --float-delay: 0.6s;
  --glow-dur: 5.8s;
  --glow-delay: 1.4s;
  width: 160px;
  height: 90px;
  top: 28%;
  left: 1%;
}

#contact .contact-video-frame--4 {
  --rot: 12deg;
  --float-dur: 9.5s;
  --float-delay: 2s;
  --glow-dur: 6.5s;
  --glow-delay: 2.2s;
  width: 124px;
  height: 70px;
  top: 22%;
  right: 2%;
}

#contact .contact-video-frame--5 {
  --rot: -10deg;
  --float-dur: 12s;
  --float-delay: 0.8s;
  --glow-dur: 5.2s;
  --glow-delay: 0.5s;
  width: 118px;
  height: 66px;
  top: 52%;
  left: 6%;
}

#contact .contact-video-frame--6 {
  --rot: 8deg;
  --float-dur: 10.5s;
  --float-delay: 1.5s;
  --glow-dur: 6.8s;
  --glow-delay: 1.8s;
  width: 136px;
  height: 76px;
  top: 48%;
  right: 4%;
}

#contact .contact-video-frame--7 {
  --rot: -16deg;
  --float-dur: 11.5s;
  --float-delay: 2.4s;
  --glow-dur: 5.6s;
  --glow-delay: 2.6s;
  width: 112px;
  height: 63px;
  bottom: 14%;
  left: 12%;
}

#contact .contact-video-frame--8 {
  --rot: 11deg;
  --float-dur: 9s;
  --float-delay: 1s;
  --glow-dur: 6s;
  --glow-delay: 1.1s;
  width: 128px;
  height: 72px;
  bottom: 10%;
  right: 10%;
}

#contact .contact-video-frame--9 {
  --rot: -5deg;
  --float-dur: 13s;
  --float-delay: 3s;
  --glow-dur: 7s;
  --glow-delay: 3.2s;
  --frame-opacity: 0.28;
  width: 108px;
  height: 61px;
  top: 14%;
  left: 38%;
}

#contact .contact-video-frame--10 {
  --rot: 6deg;
  --float-dur: 10s;
  --float-delay: 1.8s;
  --glow-dur: 6.4s;
  --glow-delay: 2.8s;
  --frame-opacity: 0.32;
  width: 104px;
  height: 58px;
  bottom: 22%;
  right: 28%;
}

#contact .contact-intro {
  position: relative;
  z-index: 1;
}

#contact .contact-intro::before {
  content: "";
  position: absolute;
  left: 32%;
  top: 50%;
  z-index: -2;
  width: min(720px, 90%);
  height: 118%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse 62% 74% at 42% 46%, rgba(255, 255, 255, 0.72), transparent 68%),
    radial-gradient(ellipse 54% 64% at 38% 50%, rgba(224, 242, 254, 0.55), transparent 66%),
    radial-gradient(ellipse 48% 52% at 55% 48%, rgba(186, 230, 253, 0.2), transparent 70%);
  filter: blur(8px);
  animation: contact-intro-glow 6s ease-in-out infinite;
  pointer-events: none;
}

#contact .contact-intro .character-slot--rec.has-image {
  position: relative;
  padding: 18px 22px 14px;
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff 0%, #f4f9fd 45%, #e8f4fa 100%) !important;
  border: none !important;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 56px rgba(255, 255, 255, 0.42) !important;
}

#contact .contact-intro .character-slot--rec.has-image img {
  mix-blend-mode: normal !important;
  position: relative;
  z-index: 1;
}

#contact .contact-intro::after {
  display: none;
}

#contact .container {
  position: relative;
  z-index: 2;
}

#contact .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: rgba(10, 38, 52, 0.42);
  border: 1px solid #8b7d5b;
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.12);
}

#contact .section-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.85);
  flex-shrink: 0;
}

#contact .section-title {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

#contact .section-desc {
  color: rgba(241, 245, 249, 0.9);
}

#contact .section-title-emphasis {
  background: linear-gradient(180deg, transparent 58%, rgba(236, 72, 153, 0.92) 58%);
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.22);
}

#contact .section-title-emphasis::before {
  background: rgba(255, 45, 138, 0.95);
  filter: blur(10px);
  animation: contact-marker-glow 3.2s ease-in-out infinite;
  opacity: 0.92;
  height: 0.5em;
  border-radius: 3px;
}

#contact .speech-bubble--rec {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 0 40px rgba(147, 197, 253, 0.22),
    0 0 24px rgba(255, 255, 255, 0.12);
}

#contact .speech-bubble--rec p {
  color: #3d4258;
}

#contact .speech-bubble--from-left::before {
  border-color: transparent rgba(255, 255, 255, 0.96) transparent transparent;
}

#contact .contact-form {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(6, 182, 212, 0.12),
    0 0 48px rgba(6, 182, 212, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#contact .contact-form label,
#contact .contact-form .group-label {
  color: #1a1a2e;
}

#contact .contact-form .required {
  background: #ef4444;
  color: #ffffff;
}

#contact .contact-form .optional {
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid rgba(26, 26, 46, 0.1);
}

#contact .contact-form input,
#contact .contact-form textarea,
#contact .contact-form select {
  background: #f4f8fb;
  border: 1.5px solid rgba(8, 145, 178, 0.22);
  color: #1a1a2e;
  box-shadow: none;
}

#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
  color: #94a3b8;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus,
#contact .contact-form select:focus {
  background: #ffffff;
  border-color: rgba(8, 145, 178, 0.55);
  box-shadow: 0 0 0 3px rgba(63, 208, 236, 0.18);
  outline: none;
}

#contact .contact-form .check-label {
  background: #f8fbfd;
  border: 1.5px solid rgba(8, 145, 178, 0.18);
  color: #3d4258;
}

#contact .contact-form .check-label:hover {
  background: #eef8fc;
  border-color: rgba(8, 145, 178, 0.32);
}

#contact .contact-form .check-label:has(input:checked) {
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.42);
}

#contact .contact-form .check-label span,
#contact .contact-form .check-label:has(input:checked) span {
  color: #3d4258;
}

#contact .contact-form .check-label input[type="checkbox"] {
  accent-color: #0891b2;
}

#contact .btn-submit {
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 50%, #0891b2 100%);
  background-size: 200% 200%;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 28px rgba(6, 182, 212, 0.35), 0 0 24px rgba(8, 145, 178, 0.2);
  animation: contact-gradient-shift 12s ease infinite;
}

#contact .btn-submit:hover {
  background: linear-gradient(135deg, #0891b2 0%, #22d3ee 50%, #0e7490 100%);
  background-size: 200% 200%;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 36px rgba(6, 182, 212, 0.45), 0 0 32px rgba(34, 211, 238, 0.22);
  transform: translateY(-2px);
}

#contact .contact-phone-note {
  color: rgba(203, 213, 225, 0.88);
}

#contact .contact-form-disclaimer {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto 20px;
  max-width: 720px;
  padding: 14px 16px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  text-wrap: pretty;
}

#contact .contact-phone-note a {
  color: #4fd1e0;
  font-weight: 700;
  text-decoration: none;
}

#contact .contact-phone-note a:hover {
  color: #67e8f9;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  #contact.section--paper::before,
  #contact.section--paper::after,
  #contact .btn-submit,
  #contact .section-title-emphasis::before {
    animation: none;
  }

  #contact.section--paper::before {
    background-position: 0% 50%, -10% 50%, 0% 0%;
    opacity: 1;
  }

  #contact .btn-submit {
    background-position: 50% 50%;
  }

  #contact .contact-video-frame,
  #contact .contact-video-frame::before,
  #contact .contact-video-frame img,
  #contact .contact-intro::before {
    animation: none;
  }

  #contact .contact-video-frame img {
    filter: blur(2px) saturate(1.05) brightness(0.95);
  }
}

@media (max-width: 768px) {
  #contact .contact-video-frame--5,
  #contact .contact-video-frame--6,
  #contact .contact-video-frame--9,
  #contact .contact-video-frame--10 {
    display: none;
  }

  #contact .contact-video-frame {
    --frame-opacity: 0.28;
  }

  #contact .contact-video-frame--1,
  #contact .contact-video-frame--2 {
    width: 108px;
    height: 61px;
  }

  #contact .contact-video-frame--3,
  #contact .contact-video-frame--4 {
    width: 96px;
    height: 54px;
  }

  #contact .contact-video-frame--7,
  #contact .contact-video-frame--8 {
    width: 92px;
    height: 52px;
  }
}

/* FOOTER — ミッドナイト（CONTACTから自然につなぐ） */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #080b16 0%, #050810 100%);
  color: rgba(203, 213, 225, 0.82);
  border-top: 1px solid rgba(168, 85, 247, 0.14);
}

.site-footer .footer-logo {
  display: block;
  height: 62px;
  width: auto;
  max-width: 192px;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
  opacity: 1;
  margin-bottom: 12px;
  border-radius: 6px;
}

.site-footer .footer-tagline {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.site-footer .footer-heading {
  color: #ff007f;
  letter-spacing: 0.08em;
}

.site-footer .footer-links a {
  color: rgba(226, 232, 240, 0.82);
}

.site-footer .footer-links a:hover {
  color: #67e8f9;
}

.site-footer .footer-links small {
  color: rgba(148, 163, 184, 0.75);
}

.site-footer .footer-address {
  color: rgba(148, 163, 184, 0.88);
}

.site-footer .footer-address a {
  color: #4fd1e0;
  font-weight: 600;
}

.site-footer .footer-address a:hover {
  color: #67e8f9;
}

.site-footer .footer-link-soon {
  color: rgba(148, 163, 184, 0.65);
}

.site-footer .footer-social a {
  color: #f472b6;
}

.site-footer .footer-social a:hover {
  color: #fb7185;
}

.site-footer .footer-legal {
  border-top-color: rgba(63, 208, 236, 0.12);
}

.site-footer .footer-legal a {
  color: rgba(148, 163, 184, 0.82);
}

.site-footer .footer-legal a:hover {
  color: #4fd1e0;
}

.site-footer .footer-bottom {
  color: rgba(100, 116, 139, 0.85);
}

.site-footer .footer-bottom p {
  color: rgba(100, 116, 139, 0.85);
}

/* CHARACTER セクション — 背景を目立たせる */
.about-team.about-team--glowfield {
  background:
    radial-gradient(ellipse 120% 90% at 50% -20%, rgba(63, 208, 236, 0.28), transparent 58%),
    radial-gradient(circle at 0% 85%, rgba(8, 145, 178, 0.32), transparent 48%),
    radial-gradient(circle at 100% 70%, rgba(6, 182, 212, 0.26), transparent 44%),
    radial-gradient(circle at 80% 15%, rgba(14, 116, 144, 0.22), transparent 40%),
    radial-gradient(circle at 20% 30%, rgba(63, 208, 236, 0.16), transparent 45%),
    linear-gradient(165deg, rgba(6, 78, 102, 0.72) 0%, rgba(8, 100, 130, 0.82) 100%);
  border: 1px solid rgba(63, 208, 236, 0.4);
  box-shadow:
    0 0 48px rgba(8, 145, 178, 0.28),
    0 0 96px rgba(6, 182, 212, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.08);
}

.about-team--glowfield .team-glow {
  opacity: 0.82;
}

.team-glow--1 {
  background: radial-gradient(circle at 38% 38%, rgba(255, 255, 255, 0.55) 0%, rgba(56, 189, 248, 0.55) 22%, rgba(8, 145, 178, 0.28) 55%, transparent 72%);
}

.team-glow--2 {
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.5) 0%, rgba(6, 182, 212, 0.52) 28%, rgba(14, 116, 144, 0.24) 58%, transparent 75%);
}

.team-glow--3 {
  background: radial-gradient(circle at 35% 42%, rgba(255, 255, 255, 0.48) 0%, rgba(8, 145, 178, 0.48) 25%, rgba(63, 208, 236, 0.22) 52%, transparent 70%);
}

.team-glow--4 {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.52) 0%, rgba(34, 211, 238, 0.48) 35%, transparent 68%);
}

.team-glow--5 {
  background: radial-gradient(circle at 45% 45%, rgba(255, 255, 255, 0.5) 0%, rgba(56, 189, 248, 0.5) 30%, rgba(8, 145, 178, 0.22) 60%, transparent 76%);
}

.team-glow--6 {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55) 0%, rgba(63, 208, 236, 0.48) 32%, transparent 70%);
}

.about-team--glowfield .team-heading-label {
  color: rgba(125, 211, 252, 0.95);
  -webkit-text-fill-color: rgba(125, 211, 252, 0.95);
}

@keyframes team-heading-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes team-heading-border-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 10px rgba(63, 208, 236, 0.45))
      drop-shadow(0 0 22px rgba(8, 145, 178, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 14px rgba(63, 208, 236, 0.75))
      drop-shadow(0 0 28px rgba(6, 182, 212, 0.55))
      drop-shadow(0 0 40px rgba(255, 255, 255, 0.18));
  }
}

@keyframes team-heading-accent-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 28px rgba(255, 255, 255, 0.35))
      drop-shadow(0 0 10px rgba(8, 145, 178, 0.85))
      drop-shadow(0 0 22px rgba(6, 182, 212, 0.55));
  }
  50% {
    filter:
      drop-shadow(0 0 36px rgba(255, 255, 255, 0.55))
      drop-shadow(0 0 18px rgba(34, 211, 238, 1))
      drop-shadow(0 0 36px rgba(8, 145, 178, 0.8));
  }
}

.about-team--glowfield .team-heading {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 18px 32px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    #0c4a6e 0%,
    #0e7490 14%,
    #0891b2 28%,
    #22d3ee 42%,
    #0891b2 56%,
    #0e7490 70%,
    #0c4a6e 84%,
    #0891b2 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation:
    hero-accent-loop 3.5s linear infinite,
    team-heading-accent-glow 2.8s ease-in-out infinite;
}

.about-team--glowfield .team-heading::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(186, 230, 253, 0.95) 18%,
    rgba(63, 208, 236, 0.9) 36%,
    rgba(255, 255, 255, 0.98) 54%,
    rgba(56, 189, 248, 0.95) 72%,
    rgba(8, 145, 178, 0.88) 86%,
    rgba(255, 255, 255, 0.98) 100%
  );
  background-size: 300% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  animation:
    team-heading-border-flow 3.5s linear infinite,
    team-heading-border-glow 2.8s ease-in-out infinite;
}

.about-team--glowfield .team-member {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(63, 208, 236, 0.32);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.about-team--glowfield .team-member:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(63, 208, 236, 0.5);
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .streak { animation: none; opacity: 0.06; }
  .rec-on-headline,
  .rec-badge-side { animation: none; }
  .rec-orbit-track.is-orbiting { animation: none !important; opacity: 0; visibility: hidden; }
  .rec-orbit-sprite { animation: none !important; }
  .number-accent,
  .kasoku-accent,
  .about-team--glowfield .team-heading {
    animation: none;
    filter: none;
  }
  .about-team--glowfield .team-heading::before {
    animation: none;
    filter: none;
    background: rgba(255, 255, 255, 0.9);
  }
  .section-title-emphasis::before {
    animation: none;
  }
  #brand-postlab .brand-title-emphasis--coral::before,
  #brand-motionlab .brand-title-emphasis--post::before,
  #brand-joinlab .brand-title-emphasis--mint::before,
  #brand-movielab .brand-title-emphasis--ryusei::before {
    animation: none;
  }
  .number-accent,
  .kasoku-accent,
  .about-team--glowfield .team-heading {
    background: linear-gradient(120deg, #0891b2, #22d3ee);
  }
}

/* === P0+P1 修正（2026-06-10） === */
#about,
#services,
#projects,
#contact,
#brand-movielab,
#brand-motionlab,
#brand-postlab,
#brand-joinlab {
  scroll-margin-top: 80px;
}

/* JOIN LAB「まだ払い続けますか？」— 緑系グロー帯 */
#brand-joinlab .brand-title-emphasis--mint {
  isolation: isolate;
  background: linear-gradient(180deg, transparent 65%, rgba(16, 185, 129, 0.52) 65%);
}

#brand-joinlab .brand-title-emphasis--mint::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 0.48em;
  background: rgba(16, 185, 129, 0.82);
  border-radius: 2px;
  filter: blur(10px);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  animation: section-emphasis-mint-glow 2.6s ease-in-out infinite;
}

/* JOIN LAB — 料金プランカード */
#brand-joinlab .brand-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#brand-joinlab .brand-plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#brand-joinlab .brand-plan:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.16);
}

#brand-joinlab .brand-plan-tagline {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
  color: #34d399;
  letter-spacing: 0.02em;
}

#brand-joinlab .brand-plan--recommended .brand-plan-tagline {
  color: #047857;
}

#brand-joinlab .brand-plan-label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 12px;
}

#brand-joinlab .brand-plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

#brand-joinlab .brand-plan-price {
  margin-bottom: 16px;
}

#brand-joinlab .plan-price-new {
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
}

#brand-joinlab .plan-price-new small {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
}

#brand-joinlab .brand-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

#brand-joinlab .brand-plan-features li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-mute);
}

#brand-joinlab .brand-plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 12px;
  font-weight: 900;
  color: #34d399;
}

#brand-joinlab .brand-plan-features li:last-child {
  border-bottom: none;
}

#brand-joinlab .brand-plan-features .feat-name {
  display: block;
  font-weight: 800;
  color: var(--ink);
}

#brand-joinlab .brand-plan-features .feat-desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-mute);
}

#brand-joinlab .brand-plan--recommended .brand-plan-features li::before {
  color: #059669;
}

#brand-joinlab .brand-plan--recommended .brand-plan-features .feat-name {
  color: #0f2847;
}

#brand-joinlab .brand-plan--recommended .brand-plan-features .feat-desc {
  color: rgba(15, 40, 71, 0.66);
}

/* JOIN LAB — プロモーションパネル（Apple風タイポ） */
#brand-joinlab .joinlab-promo {
  margin-top: 48px;
  margin-bottom: 16px;
  max-width: 980px;
  margin-inline: auto;
}

#brand-joinlab .joinlab-promo__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 52px);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border-radius: 24px;
  background: rgba(12, 18, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

#brand-joinlab .joinlab-promo__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

#brand-joinlab .joinlab-promo__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6ee7b7;
}

#brand-joinlab .joinlab-promo__title {
  margin: 0;
  font-size: clamp(1.75rem, 4.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

#brand-joinlab .joinlab-promo__br-sp {
  display: none;
}

#brand-joinlab .joinlab-promo__subtitle {
  margin: 16px 0 0;
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink-mute);
}

#brand-joinlab .joinlab-promo__vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: stretch;
}

#brand-joinlab .joinlab-promo__vs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 3.5vw, 36px) clamp(16px, 2.5vw, 24px);
  border-radius: 20px;
  min-height: 168px;
}

#brand-joinlab .joinlab-promo__vs-card--loss {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(251, 113, 133, 0.22);
}

#brand-joinlab .joinlab-promo__vs-card--gain {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

#brand-joinlab .joinlab-promo__vs-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: var(--ink-mute);
}

#brand-joinlab .joinlab-promo__vs-card--loss .joinlab-promo__vs-label {
  color: #fda4af;
}

#brand-joinlab .joinlab-promo__vs-card--gain .joinlab-promo__vs-label {
  color: #6ee7b7;
}

#brand-joinlab .joinlab-promo__vs-value {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 6px;
  line-height: 1;
  color: var(--ink);
}

#brand-joinlab .joinlab-promo__vs-prefix {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  font-weight: 500;
  color: var(--ink-mute);
}

#brand-joinlab .joinlab-promo__vs-num {
  font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

#brand-joinlab .joinlab-promo__vs-unit {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-mute);
}

#brand-joinlab .joinlab-promo__vs-value--gain {
  display: block;
  font-size: clamp(1.75rem, 3.8vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

#brand-joinlab .joinlab-promo__vs-note {
  margin: 16px 0 0;
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-mute);
}

#brand-joinlab .joinlab-promo__vs-card--loss .joinlab-promo__vs-note strong {
  color: #fb7185;
  font-weight: 600;
}

#brand-joinlab .joinlab-promo__vs-card--gain .joinlab-promo__vs-note strong {
  color: #34d399;
  font-weight: 600;
}

#brand-joinlab .joinlab-promo__vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

#brand-joinlab .joinlab-promo__vs-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

#brand-joinlab .joinlab-promo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#brand-joinlab .joinlab-promo__feat {
  padding: 0;
  background: none;
  border: none;
}

#brand-joinlab .joinlab-promo__feat-title {
  margin: 0 0 10px;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

#brand-joinlab .joinlab-promo__particle {
  color: #34d399;
  font-weight: 700;
}

#brand-joinlab .joinlab-promo__feat-desc {
  margin: 0;
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-mute);
}

#brand-joinlab .joinlab-promo__postlab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3.5vw, 32px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

#brand-joinlab .joinlab-promo__postlab-lead {
  margin: 0 0 6px;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}

#brand-joinlab .joinlab-promo__postlab-text {
  margin: 0;
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-mute);
}

#brand-joinlab .joinlab-promo__postlab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 28px;
  border-radius: 980px;
  background: #f43f5e;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

#brand-joinlab .joinlab-promo__postlab-btn:hover {
  background: #e11d48;
  transform: scale(1.02);
}

#brand-joinlab .joinlab-promo__postlab-arrow {
  font-size: 1.125rem;
  font-weight: 400;
  opacity: 0.9;
}

@media (max-width: 900px) {
  #brand-joinlab .joinlab-promo__br-sp {
    display: inline;
  }

  #brand-joinlab .joinlab-promo__vs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #brand-joinlab .joinlab-promo__vs-divider {
    order: 2;
    padding: 4px 0;
  }

  #brand-joinlab .joinlab-promo__vs-card--gain {
    order: 3;
  }

  #brand-joinlab .joinlab-promo__vs-arrow {
    transform: rotate(90deg);
  }

  #brand-joinlab .joinlab-promo__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }

  #brand-joinlab .joinlab-promo__postlab {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  #brand-joinlab .joinlab-promo__postlab-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 901px) {
  #brand-joinlab .joinlab-promo__feat + .joinlab-promo__feat {
    padding-left: clamp(16px, 2.5vw, 28px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* 旧スタイル互換 */
#brand-joinlab .joinlab-plan-note,
#brand-joinlab .recruit-cross-nav {
  display: none;
}

#brand-joinlab .brand-plan--recommended {
  background: linear-gradient(165deg, #f4fbf8 0%, #ecfdf5 48%, #d1fae5 100%);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.22);
  color: #0f2847;
}

#brand-joinlab .brand-plan--recommended .brand-plan-label,
#brand-joinlab .brand-plan--recommended .plan-price-new,
#brand-joinlab .brand-plan--recommended .plan-price-new small,
#brand-joinlab .brand-plan--recommended .brand-plan-features li {
  color: #0f2847;
}

#brand-joinlab .brand-plan--recommended .brand-plan-features li {
  border-bottom-color: rgba(15, 40, 71, 0.14);
}

@media (max-width: 900px) {
  #brand-joinlab .brand-plan-grid {
    grid-template-columns: 1fr;
  }
}

.site-nav {
  align-items: center;
  gap: 0;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 55%, #6366f1 100%);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px rgba(8, 145, 178, 0.38);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta-btn:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(8, 145, 178, 0.48);
}

.nav-dropdown {
  position: relative;
  margin-left: 14px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes nav-lab-glow {
  0%, 100% {
    border-color: rgba(79, 209, 224, 0.55);
    box-shadow:
      0 0 8px rgba(79, 209, 224, 0.4),
      0 0 18px rgba(168, 108, 232, 0.22);
    text-shadow: 0 0 10px rgba(79, 209, 224, 0.35);
  }
  33% {
    border-color: rgba(255, 107, 157, 0.55);
    box-shadow:
      0 0 10px rgba(255, 107, 157, 0.45),
      0 0 20px rgba(79, 209, 224, 0.25);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.35);
  }
  66% {
    border-color: rgba(74, 222, 128, 0.55);
    box-shadow:
      0 0 10px rgba(74, 222, 128, 0.4),
      0 0 20px rgba(192, 132, 252, 0.25);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
  }
}

.nav-dropdown-trigger {
  background: rgba(79, 209, 224, 0.04);
  border: 1px solid rgba(79, 209, 224, 0.45);
  color: var(--ink);
  font-family: var(--font-jp-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  animation: nav-lab-glow 3.2s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] {
  color: #fff;
  background: rgba(79, 209, 224, 0.1);
  transform: translateY(-1px);
  border-color: rgba(168, 108, 232, 0.7);
  box-shadow:
    0 0 14px rgba(79, 209, 224, 0.55),
    0 0 24px rgba(168, 108, 232, 0.4),
    0 0 32px rgba(255, 107, 157, 0.2);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
  animation: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 268px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(10, 14, 36, 0.98);
  border: 1px solid var(--line-2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 300;
}

.nav-dropdown-group-label {
  margin: 0;
  padding: 6px 12px 4px;
  font-family: var(--font-en-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
}

.nav-dropdown-group-label:not(:first-child) {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

.nav-dropdown-item-badge {
  flex-shrink: 0;
  font-family: var(--font-en-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.nav-dropdown-item-soon {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

.nav-dropdown-item--web .nav-dropdown-item-badge { color: #60a5fa; }
.nav-dropdown-item--web:hover {
  background: rgba(43, 123, 250, 0.14);
}

.nav-dropdown-item--app .nav-dropdown-item-badge { color: #c084fc; }
.nav-dropdown-item--app:hover {
  background: rgba(168, 85, 247, 0.14);
}

.nav-dropdown-item--post {
  color: #ff6b9d;
}

.nav-dropdown-item--post .nav-dropdown-item-badge { color: #ff8cb3; }

.nav-dropdown-item--post:hover {
  background: rgba(255, 107, 157, 0.12);
  color: #ff8cb3;
}

.nav-dropdown-item--movie .nav-dropdown-item-badge { color: #4fd1e0; }
.nav-dropdown-item--movie:hover {
  background: rgba(79, 209, 224, 0.12);
}

.nav-dropdown-item--join .nav-dropdown-item-badge { color: #6ee7b7; }
.nav-dropdown-item--join:hover {
  background: rgba(110, 231, 183, 0.1);
}

.nav-dropdown-item--soon {
  color: var(--text-light, #9ca3af);
  opacity: 0.75;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-trigger {
    animation: none;
  }

  .menu-drawer-panel {
    transition: none !important;
  }

  .fullscreen-menu {
    transition: none !important;
  }
}

.menu-divider {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

.menu-link-soon {
  color: var(--ink-mute);
  opacity: 0.7;
}

.menu-drawer-backdrop,
.menu-drawer-panel,
.menu-drawer-header,
.menu-drawer-nav {
  display: none;
}

.nav-soon-badge,
.coming-soon-badge,
.footer-link-soon {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #9ca3af;
  background: rgba(156, 163, 175, 0.15);
  border: 1px solid rgba(156, 163, 175, 0.35);
  border-radius: 999px;
  padding: 5px 11px;
}

.menu-panel-cta {
  width: 100%;
  justify-content: center;
}

.menu-cta-wrap {
  margin-top: 24px;
}

/* === 3ブランド比較（#brand-compare） === */
#brand-compare .section-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

#brand-compare .section-desc {
  color: var(--ink-mute);
  max-width: 36rem;
  margin-inline: auto;
}

#brand-compare .compare-card-type,
#brand-compare .compare-card-type--post,
#brand-compare .compare-card-type--movie {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
  margin-bottom: 8px;
}

#brand-compare .compare-card-type,
#brand-compare .compare-card-type--post {
  color: #ffb8cc;
  background: rgba(255, 107, 157, 0.16);
  border: 1px solid rgba(255, 107, 157, 0.32);
}

#brand-compare .compare-card-type--movie {
  color: #a5e8f5;
  background: rgba(79, 209, 224, 0.14);
  border: 1px solid rgba(79, 209, 224, 0.32);
}

#brand-compare .compare-brand-name {
  display: block;
  font-family: var(--font-en-display, "Outfit", sans-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

#brand-compare .compare-card--postlab .compare-brand-name,
#brand-compare .compare-th--postlab .compare-brand-name {
  color: #ff8fab;
}

#brand-compare .compare-card--movielab .compare-brand-name,
#brand-compare .compare-th--movielab .compare-brand-name {
  color: #5ee0f0;
}

#brand-compare .compare-brand-tag {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-mute);
  line-height: 1.45;
}

#brand-compare .compare-th-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#brand-compare .compare-th-price--post .compare-price-amount {
  color: #ff9bb5;
}

#brand-compare .compare-th-price--movie .compare-price-amount {
  color: #6ee7f7;
}

.compare-cards {
  display: none;
  gap: 16px;
  margin-bottom: 24px;
}

.compare-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  overflow: hidden;
}

.compare-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.compare-card--postlab::before {
  background: linear-gradient(90deg, #ff6b9d, #ef4444);
}

.compare-card--movielab::before {
  background: linear-gradient(90deg, #2b7bfa, #4fd1e0);
}

.compare-card-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}

.compare-card-list {
  margin: 0;
}

.compare-card-list div {
  display: grid;
  grid-template-columns: minmax(5.5rem, 6.5rem) 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-card-list div:last-child {
  border-bottom: none;
}

.compare-card-list dt {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.compare-card-list dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}

#brand-compare .compare-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

#brand-compare .compare-card-price-unit {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-faint);
}

#brand-compare .compare-card-price-amount {
  font-family: var(--font-en-display, "Outfit", sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

#brand-compare .compare-card-price--post .compare-card-price-amount {
  color: #ff9bb5;
}

#brand-compare .compare-card-price--movie .compare-card-price-amount {
  color: #6ee7f7;
}

#brand-compare .compare-card-price-note {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

#brand-compare .compare-table-legend {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-align: center;
}

#brand-compare .compare-table-wrapper--desktop {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
}

#brand-compare .compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#brand-compare .compare-th-empty {
  width: 18%;
  padding: 18px 14px;
  text-align: left;
  vertical-align: bottom;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#brand-compare .compare-th-corner {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

#brand-compare .compare-th {
  padding: 20px 18px;
  text-align: left;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#brand-compare .compare-th--postlab {
  border-top: 3px solid #ff6b9d;
  background: linear-gradient(180deg, rgba(255, 107, 157, 0.14), rgba(255, 107, 157, 0.02));
}

#brand-compare .compare-th--movielab {
  border-top: 3px solid #2b7bfa;
  background: linear-gradient(180deg, rgba(43, 123, 250, 0.14), rgba(43, 123, 250, 0.02));
}

#brand-compare .compare-label {
  padding: 14px 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-align: left;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#brand-compare .compare-cell {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-mute);
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#brand-compare tbody tr:hover .compare-cell {
  background: rgba(255, 255, 255, 0.03);
}

#brand-compare .compare-row--price .compare-cell {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--ink);
}

#brand-compare .compare-cell--price {
  vertical-align: middle;
}

#brand-compare .compare-price-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

#brand-compare .compare-price-unit {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-faint);
}

#brand-compare .compare-price-amount {
  font-family: var(--font-en-display, "Outfit", sans-serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

#brand-compare .compare-cell--post.compare-cell--price .compare-price-amount {
  color: #ff9bb5;
}

#brand-compare .compare-cell--movie.compare-cell--price .compare-price-amount {
  color: #6ee7f7;
}

#brand-compare .compare-price-note {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

#brand-compare .compare-cta-row td,
#brand-compare .compare-cta-row th {
  border-bottom: none;
  padding-top: 18px;
  padding-bottom: 20px;
  vertical-align: middle;
}

#brand-compare .compare-label--cta {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#brand-compare .compare-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#brand-compare .compare-cta-btn:hover {
  transform: translateY(-2px);
}

.compare-cta-btn--postlab {
  background: linear-gradient(135deg, #ff6b9d, #ec4899) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.32);
}

.compare-cta-btn--postlab:hover {
  box-shadow: 0 10px 28px rgba(255, 107, 157, 0.45);
}

.compare-cta-btn--movielab {
  background: linear-gradient(135deg, #2b7bfa, #4fd1e0) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(43, 123, 250, 0.32);
}

.compare-cta-btn--movielab:hover {
  box-shadow: 0 10px 28px rgba(43, 123, 250, 0.45);
}

#brand-compare .compare-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-mute);
  line-height: 1.7;
}

#brand-compare .compare-note a {
  color: #5ee0f0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact .required,
.contact-form .required {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: #f43f5e;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  line-height: 1.4;
}

.contact .optional,
.contact-form .optional {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-mute);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

.speech-character-name,
.aoi-name,
.rec-badge,
.nav-badge {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.footer-logo {
  display: block;
  height: 62px;
  width: auto;
  max-width: 192px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: none !important;
  opacity: 1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer-legal a {
  color: var(--ink-mute);
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-link-soon {
  color: var(--ink-mute);
}

.contact-phone-note {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-mute);
}

.contact-phone-note a {
  color: #4fd1e0;
  font-weight: 700;
}

.footer-address a {
  color: #4fd1e0;
}

@media (max-width: 1023px) {
  .site-header nav.site-nav {
    display: none;
  }
}

@media (min-width: 1024px) {
  .floating-nav {
    display: none;
  }

  .fullscreen-menu {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #brand-compare .compare-table-wrapper--desktop {
    display: none;
  }

  #brand-compare .compare-cards {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  #brand-compare .compare-cards {
    display: none;
  }

  #brand-compare .compare-table-wrapper--desktop {
    display: block;
    padding: 0;
  }

  #brand-compare .compare-table-legend {
    padding: 14px 18px 0;
    text-align: left;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  #brand-compare .compare-table {
    font-size: 0.92em;
  }

  #brand-compare .compare-th-empty {
    width: 22%;
  }
}

/* ============================================
   HERO — スマホモック（大きく・右カラム・アニメ）
   ============================================ */
@keyframes hero-phone-float {
  0%, 100% {
    transform: perspective(1400px) rotateY(-10deg) rotateX(2deg) rotate(-2deg) translateY(0);
  }
  50% {
    transform: perspective(1400px) rotateY(-7deg) rotateX(1deg) rotate(-1deg) translateY(-18px);
  }
}

@keyframes hero-phone-glow-pulse {
  0%, 100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes hero-deco-ring-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.8;
  }
}

@keyframes hero-deco-ring-drift {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translate(6px, -8px) rotate(12deg);
    opacity: 0.72;
  }
}

@keyframes hero-deco-line-shimmer {
  0%, 100% { opacity: 0.35; width: 72%; }
  50% { opacity: 0.75; width: 82%; }
}

@keyframes rec-mascot-phone-float {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: 96px;
}

.hero-character-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-character-area--left {
  align-items: flex-end;
  justify-content: center;
}

.hero-phone-stage {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 52vw, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-20px);
  overflow: visible;
}

.hero-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 95%);
  height: min(680px, 88%);
  transform: translate(-50%, -50%);
  border-radius: 48px;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(63, 208, 236, 0.42) 0%,
    rgba(177, 140, 255, 0.22) 42%,
    transparent 72%
  );
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  animation: hero-phone-glow-pulse 4.5s ease-in-out infinite;
}

.deco-ring {
  position: absolute;
  border: 3px solid rgba(63, 208, 236, 0.65);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-phone-stage .deco-ring-1 {
  width: 200px;
  height: 200px;
  left: 4%;
  bottom: 8%;
  animation: hero-deco-ring-pulse 5s ease-in-out infinite;
}

.hero-phone-stage .deco-ring-2 {
  width: 140px;
  height: 140px;
  right: 2%;
  top: 10%;
  border-width: 2px;
  border-color: rgba(177, 140, 255, 0.55);
  animation: hero-deco-ring-drift 6s ease-in-out infinite;
}

.hero-phone-stage .deco-line {
  position: absolute;
  left: 0;
  top: 22%;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, rgba(63, 208, 236, 0.9), transparent);
  transform: rotate(-10deg);
  z-index: 1;
  pointer-events: none;
  animation: hero-deco-line-shimmer 4s ease-in-out infinite;
}

.phone-wrap {
  position: relative;
  width: clamp(233px, 23.3vw, 300px);
  height: clamp(467px, 46.7vw, 600px);
  transform: perspective(1400px) rotateY(-10deg) rotateX(2deg) rotate(-2deg);
  transform-style: preserve-3d;
  z-index: 5;
  filter:
    drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 40px rgba(63, 208, 236, 0.28));
}

.phone-wrap--animated {
  animation: hero-phone-float 5.5s ease-in-out infinite;
}

.phone-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #12182e 0%, #0a0f28 100%);
  border-radius: 44px;
  padding: 10px;
  box-sizing: border-box;
  border: 2px solid rgba(63, 208, 236, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #050814;
  border-radius: 36px;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 28px;
  background: #000;
  border-radius: 99px;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rec-mascot--phone {
  position: absolute;
  top: -8px;
  right: calc(50% - min(200px, 42vw));
  width: clamp(150px, 16vw, 210px);
  height: auto;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  animation: rec-mascot-phone-float 4.2s ease-in-out infinite;
}

@media (min-width: 1280px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 40px;
  }

  .phone-wrap {
    width: 300px;
    height: 600px;
  }

  .hero-phone-stage .deco-ring-1 {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: unset;
    gap: 24px;
    text-align: center;
  }

  .hero-text {
    display: contents;
  }

  .hero-badge-row {
    order: 1;
  }

  .hero-badge-50th {
    order: unset;
  }

  .hero-headline {
    order: 2;
  }

  .hero-subtitle {
    order: 3;
  }

  .hero-character-area {
    order: 4;
    width: 100%;
    max-width: 360px;
  }

  .hero-cta-group {
    order: 5;
    width: 100%;
    justify-content: center;
  }

  .hero-character-area--left {
    align-items: center;
  }

  .hero-phone-stage {
    min-height: 420px;
    margin: 4px 0 8px;
  }

  .phone-wrap {
    width: 217px;
    height: 434px;
  }

  .rec-mascot--phone {
    right: calc(50% - 210px);
    width: 160px;
  }
}

@keyframes hero-phone-float-mobile {
  0%, 100% {
    transform: perspective(1000px) rotateY(-8deg) rotate(-1.5deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-8deg) rotate(-1.5deg) translateY(-6px);
  }
}

@media (max-width: 768px) {
  .hero-content {
    gap: 24px;
    margin-bottom: 72px;
  }

  .hero-phone-stage {
    min-height: auto;
    overflow: visible;
    padding: 24px 0 28px;
  }

  .hero-phone-glow,
  .hero-phone-stage .deco-ring-1,
  .hero-phone-stage .deco-ring-2,
  .hero-phone-stage .deco-line {
    display: none;
  }

  .phone-wrap {
    width: 200px;
    height: 400px;
    transform: perspective(1000px) rotateY(-8deg) rotate(-1.5deg);
    filter: none;
  }

  .phone-wrap--animated {
    animation: hero-phone-float-mobile 5.5s ease-in-out infinite;
  }

  .phone-frame {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .rec-mascot--phone {
    width: 130px;
    top: -4px;
    right: calc(50% - 190px);
  }
}

@media (max-width: 480px) {
  .phone-wrap {
    width: 183px;
    height: 366px;
  }

  .rec-mascot--phone {
    width: 115px;
    right: calc(50% - 170px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-wrap--animated,
  .hero-phone-glow,
  .hero-phone-stage .deco-ring-1,
  .hero-phone-stage .deco-ring-2,
  .hero-phone-stage .deco-line,
  .rec-mascot--phone {
    animation: none !important;
  }

  .phone-wrap {
    transform: perspective(1200px) rotateY(-6deg) rotate(-1deg);
  }
}

/* AGENT SYSTEM — 見出しブロック左右センター */
.about-team--glowfield .team-heading-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-inline: auto;
}

.about-team--glowfield .team-heading-label {
  text-align: center;
}

.about-team--glowfield .team-heading {
  text-align: center;
  max-width: 36em;
}

/* === Brand detail — layout foundation (missing from bundle CSS) === */
.brand-detail {
  padding: clamp(72px, 10vw, 100px) 0;
}

.brand-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.brand-logo-text {
  display: inline-block;
  font-family: var(--font-en-display, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  text-transform: uppercase;
  padding: 6px 16px;
  background: var(--bg-card, #fff);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.08);
}

.brand-title {
  font-family: var(--font-jp-display, "Noto Sans JP", sans-serif);
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-primary, #1a1a2e);
  margin: 0 0 20px;
}

.brand-title-emphasis {
  position: relative;
  display: inline;
}

.brand-title-emphasis--ryusei {
  background: linear-gradient(180deg, transparent 62%, rgba(14, 165, 233, 0.35) 62%);
}

.brand-title-emphasis--coral {
  background: linear-gradient(180deg, transparent 62%, rgba(244, 63, 94, 0.3) 62%);
}

.brand-title-emphasis--post {
  background: linear-gradient(180deg, transparent 62%, rgba(255, 107, 157, 0.35) 62%);
}

.brand-title-emphasis--mint {
  background: linear-gradient(180deg, transparent 62%, rgba(16, 185, 129, 0.3) 62%);
}

.brand-number-accent {
  font-family: var(--font-en-display, "Outfit", sans-serif);
  font-size: 1.15em;
  font-weight: 700;
}

.brand-lead {
  font-family: var(--font-jp-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-secondary, #3d4258);
  line-height: var(--leading-body);
  max-width: 40rem;
  margin: 0 auto;
}

.brand-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.brand-content--reverse {
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
}

.brand-content > .brand-character-area {
  position: sticky;
  top: 96px;
}

.brand-character-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.brand-character-area .character-slot {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.brand-character-area .character-slot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.brand-character-area .speech-bubble {
  width: 100%;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
  padding: 18px 22px;
}

.speech-bubble {
  position: relative;
  background: var(--bg-card, #fff);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.08);
  max-width: 480px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary, #1a1a2e);
}

.speech-bubble::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.speech-bubble--from-left::before {
  left: -14px;
  top: 28px;
  border-width: 10px 16px 10px 0;
  border-color: transparent var(--bg-card, #fff) transparent transparent;
}

.speech-bubble--from-right::before {
  right: -14px;
  top: 28px;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--bg-card, #fff);
}

.speech-bubble--ryusei {
  border: 2px solid var(--ryusei-blue, #0ea5e9);
}

.speech-bubble--aoi {
  border: 2px solid var(--aoi-teal, #ef4444);
}

.speech-bubble--nagisa {
  border: 2px solid var(--nagisa-purple, #a855f7);
}

.speech-character-name {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.speech-character-name--ryusei {
  background: var(--ryusei-blue, #0ea5e9);
  color: #fff;
}

.speech-character-name--aoi {
  background: linear-gradient(135deg, #fb7185, #ef4444, #dc2626);
  color: #fff;
}

.speech-character-name--nagisa {
  background: var(--nagisa-purple, #a855f7);
  color: #fff;
}

.brand-services {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.brand-service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--bg-card, #fff);
  border-radius: 16px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
}

.brand-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.brand-service-icon--ryusei {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.brand-service-icon--aoi {
  background: linear-gradient(135deg, #fb7185, #ef4444, #dc2626);
}

.brand-service-icon--nagisa {
  background: linear-gradient(135deg, #a855f7, #c084fc);
}

.brand-service-thumb {
  width: 112px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(14, 165, 233, 0.22);
  box-shadow:
    0 6px 20px rgba(14, 165, 233, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.brand-service-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.brand-service-item--drone .brand-service-tags li {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.18);
}

.brand-service-info {
  flex: 1;
  min-width: 0;
}

.brand-service-title {
  font-family: var(--font-jp-display);
  font-weight: 900;
  font-size: var(--text-xl);
  margin: 0 0 8px;
  letter-spacing: 0.03em;
  color: var(--text-primary, #1a1a2e);
}

.brand-service-desc {
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-secondary, #3d4258);
  margin: 0 0 12px;
}

.brand-service-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.brand-service-tags li {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(26, 26, 46, 0.06);
  color: var(--text-secondary, #3d4258);
  letter-spacing: 0.03em;
}

.brand-cta {
  text-align: center;
  margin-top: 8px;
}

.rec-wrap {
  --rec-scale: 1;
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: min(680px, 100%);
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-paper, #faf6ed);
  border-radius: 14px;
  border-left: 3px solid var(--ryusei-blue, #0ea5e9);
}

.rec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 15px;
  color: var(--text-primary, #1a1a2e);
  margin-bottom: 10px;
}

.rec-label-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.rec-label-sub::before {
  content: "／";
  margin-right: 2px;
  opacity: 0.45;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  flex-shrink: 0;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.rec-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 9px 10px;
  background: var(--bg-card, #fff);
  border-radius: 10px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 1px 6px rgba(26, 26, 46, 0.04);
}

.rec-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
}

.rec-icon svg {
  width: 14px;
  height: 14px;
}

.rec-text {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary, #1a1a2e);
}

.rec-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 26, 46, 0.1);
}

.rec-alt-lead {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted, #6b7280);
  white-space: nowrap;
}

.rec-alt-link {
  display: inline-flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 10px;
}

.rec-alt-text {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.rec-divider {
  border: none;
  border-top: 1px dashed rgba(26, 26, 46, 0.12);
  margin: 0 0 16px;
}

.rec-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rec-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-primary, #1a1a2e);
  text-decoration: none;
  transition: color 0.15s ease;
}

.rec-link:hover {
  color: var(--ryusei-blue, #0ea5e9);
}

.rec-link-arrow {
  flex-shrink: 0;
  color: var(--ryusei-blue, #0ea5e9);
  font-weight: 700;
}

.rec-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.rec-badge--post {
  background: linear-gradient(135deg, #ff6b9d, #ec4899);
  color: #fff;
}

@media (max-width: 1024px) {
  .brand-content,
  .brand-content--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #brand-postlab .brand-content--postlab {
    grid-template-columns: 1fr;
    grid-template-areas:
      "character"
      "services"
      "rec";
    gap: 20px;
  }

  .brand-content > .brand-character-area {
    position: static;
  }

  #brand-postlab .brand-content--postlab > .brand-character-area {
    position: static;
  }

  .brand-character-area {
    max-width: 380px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .brand-service-item {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .rec-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rec-alt {
    flex-direction: column;
    align-items: stretch;
  }

  .rec-alt-link {
    width: 100%;
  }

  .speech-bubble::before {
    display: none;
  }

  .speech-bubble {
    padding: 18px 20px;
    font-size: 14px;
  }
}

/* === MOVIE LAB — usability-focused layout (ref: 2-col mock) === */
#brand-movielab .container {
  max-width: 1140px;
}

#brand-movielab .brand-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

#brand-movielab .movielab-layout {
  gap: clamp(28px, 3.5vw, 44px);
}

#brand-movielab .movielab-showcase {
  width: 100%;
  max-width: 340px;
  padding: 10px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(8, 145, 178, 0.18);
  box-shadow:
    0 16px 40px rgba(8, 145, 178, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

#brand-movielab .movielab-showcase .character-slot {
  border-radius: 14px;
  overflow: hidden;
}

#brand-movielab .movielab-services {
  gap: 14px;
}

#brand-movielab .brand-service-item {
  padding: 22px 24px;
}

#brand-movielab .brand-service-item:focus-within {
  outline: 2px solid rgba(14, 165, 233, 0.45);
  outline-offset: 2px;
}

/* MOTIONLAB — MOVIE LAB 単発価格（価格表示はこちらに集約） */
#brand-motionlab .sns-branch--movie .branch-price {
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

#brand-motionlab .sns-branch--movie .branch-price-amount {
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  color: #6ee7f7;
}

#brand-movielab .movielab-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 8px;
}

#brand-movielab .movielab-cta-primary {
  min-height: 48px;
  padding-inline: 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

#brand-movielab .movielab-cta-note {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  max-width: min(52rem, 100%);
  margin: 0;
  text-align: center;
  line-height: 1.55;
}

#brand-movielab .movielab-cta-note-line {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: inherit;
  color: #3d4258;
}

#brand-movielab .movielab-cta-note-sep {
  font-size: 0.82rem;
  font-weight: 500;
  color: #9ca3af;
  user-select: none;
}

#brand-movielab .movielab-cta-note-badge {
  font-size: 0.78rem;
  padding: 3px 9px;
  vertical-align: baseline;
}

@media (max-width: 640px) {
  #brand-movielab .movielab-showcase {
    max-width: min(100%, 300px);
  }

  #brand-movielab .movielab-cta-primary {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    text-align: center;
  }

  #brand-movielab .rec-wrap--movie .rec-alt-link {
    flex-direction: column;
    align-items: flex-start;
  }

  #brand-movielab .rec-wrap--movie .rec-alt-arrow {
    margin-left: 0;
  }
}

/* === AI × MOVIE — タイポグラフィ & 3カラム === */
#ai-movie .section-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

#ai-movie .section-desc {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-jp-body);
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  max-width: 36rem;
  margin-inline: auto;
}

#ai-movie .ai-movie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 24px);
  max-width: 1080px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

#ai-movie .ai-feature {
  position: relative;
  text-align: left;
  padding: clamp(26px, 3vw, 34px) clamp(22px, 2.5vw, 28px);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#ai-movie .ai-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3fd0ec, #b18cff);
  opacity: 0.9;
}

#ai-movie .ai-feature::after {
  content: none;
}

#ai-movie .ai-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 208, 236, 0.35);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(63, 208, 236, 0.08);
}

#ai-movie .ai-feature-num {
  font-family: var(--font-en-display);
  font-size: clamp(2.25rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #3fd0ec 0%, #8b7cf8 55%, #b18cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.92;
}

#ai-movie .ai-feature-title {
  font-family: var(--font-jp-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  letter-spacing: 0.12em;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--ink);
  font-feature-settings: "palt" 1;
}

#ai-movie .ai-feature-desc {
  font-family: var(--font-jp-body);
  font-size: clamp(0.94rem, 1.65vw, 1.02rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-feature-settings: "palt" 1;
}

#ai-movie .ai-highlight {
  font-family: var(--font-jp-display);
  font-weight: 900;
  font-size: 1.12em;
  letter-spacing: 0.06em;
  color: #7ef5ff;
  -webkit-text-fill-color: #7ef5ff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 0 20px rgba(63, 208, 236, 0.35);
}

#ai-movie .ai-highlight--metric {
  font-family: var(--font-en-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

#ai-movie .ai-cta {
  text-align: center;
}

@media (max-width: 900px) {
  #ai-movie .ai-movie-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ============================================
   GLOBAL TYPOGRAPHY — 視認性 & デザイン統一
   ============================================ */

.section-tag {
  font-family: var(--font-en-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-title {
  font-family: var(--font-jp-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-desc {
  font-family: var(--font-jp-body);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: var(--leading-body);
  letter-spacing: 0.03em;
}

.brand-title {
  font-size: clamp(1.875rem, 4.8vw, 3.125rem);
}

.service-title {
  font-family: var(--font-jp-display);
  font-size: var(--text-lg);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.service-desc {
  /* var(--text-base) の 1/1.2 サイズ */
  font-size: clamp(0.78rem, 1.38vw, 0.89rem);
  line-height: var(--leading-body);
  letter-spacing: 0.02em;
}

.service-brand {
  font-size: calc(var(--text-xs) * 1.25 / 1.2);
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 -1px 0 rgba(0, 0, 0, 0.06);
}

/* 複数バッジカード（SNS動画作成）— POST LAB の下に MOVIE LAB を縦並び */
.service-brands {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.service-brands .service-brand {
  position: static;
}

/* === サービスカード ブランドバッジ — エンボス＋ブランド別光彩 === */
@keyframes service-brand-glow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      inset 0 -1px 0 rgba(0, 0, 0, 0.06),
      0 0 7px var(--badge-glow),
      0 0 15px var(--badge-glow-soft),
      0 2px 4px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.85),
      inset 0 -1px 0 rgba(0, 0, 0, 0.05),
      0 0 13px var(--badge-glow),
      0 0 27px var(--badge-glow-soft),
      0 2px 7px rgba(0, 0, 0, 0.1);
  }
}

.service-brand--movie,
.service-brand--post,
.service-brand--join,
.service-brand--web,
.service-brand--app {
  border: 1px solid;
  animation: service-brand-glow 2.6s ease-in-out infinite;
}

/* MOVIE LAB — 青 */
.service-brand--movie {
  color: #0369a1;
  background: linear-gradient(180deg, rgba(186, 230, 253, 0.65) 0%, rgba(14, 165, 233, 0.22) 100%);
  border-color: rgba(2, 132, 199, 0.55);
  --badge-glow: rgba(14, 165, 233, 0.7);
  --badge-glow-soft: rgba(56, 189, 248, 0.38);
}

/* POST LAB — 赤 */
.service-brand--post {
  color: #b91c1c;
  background: linear-gradient(180deg, rgba(254, 202, 202, 0.65) 0%, rgba(239, 68, 68, 0.22) 100%);
  border-color: rgba(220, 38, 38, 0.55);
  --badge-glow: rgba(239, 68, 68, 0.7);
  --badge-glow-soft: rgba(248, 113, 113, 0.38);
}

/* JOIN LAB — 緑 */
.service-brand--join {
  color: #15803d;
  background: linear-gradient(180deg, rgba(187, 247, 208, 0.65) 0%, rgba(34, 197, 94, 0.22) 100%);
  border-color: rgba(22, 163, 74, 0.55);
  --badge-glow: rgba(34, 197, 94, 0.7);
  --badge-glow-soft: rgba(74, 222, 128, 0.38);
}

/* WEB LAB / APP LAB — 紫 */
.service-brand--web,
.service-brand--app {
  color: #6d28d9;
  background: linear-gradient(180deg, rgba(233, 213, 255, 0.65) 0%, rgba(147, 51, 234, 0.22) 100%);
  border-color: rgba(124, 58, 237, 0.55);
  --badge-glow: rgba(147, 51, 234, 0.7);
  --badge-glow-soft: rgba(192, 132, 252, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .service-brand--movie,
  .service-brand--post,
  .service-brand--join,
  .service-brand--web,
  .service-brand--app {
    animation: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      inset 0 -1px 0 rgba(0, 0, 0, 0.06),
      0 0 10px var(--badge-glow-soft),
      0 2px 4px rgba(0, 0, 0, 0.08);
  }
}

.service-num {
  font-size: 46px;
}

.service-card-link {
  font-size: var(--text-sm);
  line-height: 1.6;
}

.service-card-link strong {
  font-size: 1.05em;
}

.speech-bubble p {
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.speech-character-name {
  font-size: var(--text-sm);
}

.btn,
.btn-primary,
.btn-secondary,
.btn-ryusei {
  font-family: var(--font-jp-display);
  font-size: clamp(0.9375rem, 1.7vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stat-number {
  font-family: var(--font-en-display);
}

.project-category {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.project-title {
  font-size: var(--text-md);
  font-weight: 800;
  line-height: 1.45;
}

.footer-tagline {
  font-family: var(--font-jp-display);
  font-size: var(--text-md);
  font-weight: 700;
}

.footer-desc,
.footer-address {
  font-size: var(--text-sm);
  line-height: 1.75;
}

.footer-legal {
  font-size: var(--text-sm);
}

.contact .form-label,
.contact-form .form-label,
.contact label,
.contact-form label {
  font-size: var(--text-sm);
  font-weight: 700;
}

.contact .required,
.contact-form .required {
  font-size: var(--text-xs);
  padding: 3px 9px;
}

.contact .optional,
.contact-form .optional {
  font-size: var(--text-xs);
  padding: 3px 9px;
}

.check-label span {
  font-size: var(--text-sm);
  font-weight: 500;
  transition: none;
}

/* お問い合わせ — レイアウトのみ（配色は #contact ブロック） */
.contact-form .checkbox-group {
  gap: 10px;
}

.contact-form .check-label {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 500 !important;
  transition: none !important;
  -webkit-tap-highlight-color: transparent;
}

.contact-form .check-label:active {
  transform: none;
}

.contact-form .check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.contact-phone-note {
  font-size: var(--text-base);
}

.coming-soon-badge,
.movielab-cta-note-line {
  font-size: var(--text-sm);
  line-height: 1.65;
}

.menu-links a {
  font-family: var(--font-jp-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

/* POST LAB / SNS動画カード */
#brand-motionlab .motionlab-choices-lead {
  font-size: var(--text-xs);
}

#brand-motionlab .branch-type {
  font-size: var(--text-xs);
  padding: 5px 11px;
}

#brand-motionlab .branch-hook {
  font-size: var(--text-base);
}

#brand-motionlab .branch-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

#brand-motionlab .branch-price-unit,
#brand-motionlab .branch-price-note {
  font-size: var(--text-xs);
}

#brand-motionlab .branch-tags li {
  font-size: var(--text-xs);
  padding: 5px 10px;
}

#brand-motionlab .branch-cta {
  font-size: var(--text-base);
  min-height: 48px;
}

#brand-motionlab .aoi-name {
  font-size: var(--text-xs);
  padding: 4px 11px;
}

#brand-motionlab .aoi-bubble p {
  font-size: var(--text-base);
}

/* 比較テーブル */
#brand-compare .compare-th-corner,
#brand-compare .compare-label,
#brand-compare .compare-price-unit,
#brand-compare .compare-price-note {
  font-size: var(--text-xs);
}

#brand-compare .compare-cell {
  font-size: var(--text-base);
}

#brand-compare .compare-note {
  font-size: var(--text-base);
}

#brand-compare .compare-card-hook,
#brand-compare .compare-card-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

/* JOIN LAB 料金 */
#brand-joinlab .brand-plan-label {
  font-size: var(--text-base);
}

#brand-joinlab .brand-plan-badge {
  font-size: var(--text-xs);
}

#brand-joinlab .brand-plan-features li {
  font-size: var(--text-base);
}

#brand-joinlab .plan-price-new small {
  font-size: var(--text-sm);
}

/* rec ブロック共通（コンパクト） */
.rec-label-title {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.rec-label-sub {
  font-size: 0.75rem;
}

.rec-badge {
  font-size: var(--text-xs);
  padding: 4px 11px;
}

/* ライトセクション（#services / MOVIE LAB）本文コントラスト */
#services .service-desc,
#brand-movielab .brand-lead,
#brand-movielab .brand-service-desc {
  color: #2d3348;
}

#brand-movielab .brand-service-title {
  color: #12151f;
}

.about-team--glowfield .team-heading-label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-team--glowfield .team-heading {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.5;
}

.team-member-name {
  font-size: var(--text-md);
  font-weight: 800;
}

.team-member-role {
  font-size: var(--text-sm);
  line-height: 1.6;
}

#brand-compare .compare-card-type {
  font-size: var(--text-xs);
  padding: 5px 11px;
}

.nav-dropdown-trigger,
.nav-cta-btn {
  font-size: var(--text-sm);
}

/* ============================================================
   02. ABOUT SANRECO — ダーク化 v2.0（指示書準拠）
   差し色：シアン #4FD1E0 → パープル #A86CE8 のみ
   ============================================================ */
.about {
  background: var(--snr-bg-navy, #101828);
  padding: clamp(80px, 12vw, 140px) 24px;
  scroll-margin-top: 72px;
}

.about__inner {
  max-width: 980px;
  margin: 0 auto;
}

/* ラベル */
.about__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--snr-text-mute, #94A3B8);
  border: 1px solid var(--snr-line, rgba(255,255,255,0.08));
  border-radius: 999px;
  padding: 8px 18px;
}

.about__label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--snr-gradient, linear-gradient(135deg, #4FD1E0, #A86CE8));
}

/* 見出し */
.about__title {
  margin-top: 28px;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.5;
  color: var(--snr-text-hi, #FFFFFF);
  letter-spacing: 0.02em;
}

.about__title-accent {
  background: linear-gradient(transparent 62%, rgba(79, 209, 224, 0.35) 62%, rgba(168, 108, 232, 0.35) 100%);
  background-size: 100% 100%;
  padding: 0 2px;
}

/* リード */
.about__lead {
  margin-top: 28px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 2.1;
  color: var(--snr-text-body, #E8EDF5);
}

/* NUMBERS */
.about__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--snr-line, rgba(255,255,255,0.08));
  border: 1px solid var(--snr-line, rgba(255,255,255,0.08));
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}

.about__stat {
  background: var(--snr-bg-card, #182236);
  padding: 28px 16px;
  text-align: center;
}

.about__stat-value {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  background: var(--snr-gradient, linear-gradient(135deg, #4FD1E0, #A86CE8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.about__stat-value small {
  font-size: 0.5em;
  font-weight: 700;
}

.about__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--snr-text-mute, #94A3B8);
}

/* TIMELINE */
.about__timeline {
  position: relative;
  margin-top: 72px;
  padding-left: 36px;
}

.about__timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #4FD1E0 0%, #A86CE8 100%);
  opacity: 0.6;
}

.about__tl-item {
  position: relative;
  padding-bottom: 36px;
}

.about__tl-item:last-child {
  padding-bottom: 0;
}

.about__tl-node {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--node-color, #4FD1E0);
  box-shadow: 0 0 0 4px var(--snr-bg-navy, #101828), 0 0 12px var(--node-color, #4FD1E0);
}

.about__tl-node--now {
  animation: nodePulse 2.4s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--snr-bg-navy, #101828), 0 0 8px var(--node-color); }
  50% { box-shadow: 0 0 0 4px var(--snr-bg-navy, #101828), 0 0 20px var(--node-color); }
}

.about__tl-card {
  background: var(--snr-bg-card, #182236);
  border: 1px solid var(--snr-line, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 24px 28px;
}

.about__tl-card--now {
  border-color: rgba(168, 108, 232, 0.5);
}

.about__tl-era {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about__tl-heading {
  margin-top: 6px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 800;
  color: var(--snr-text-hi, #FFFFFF);
}

.about__tl-text {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--snr-text-body, #E8EDF5);
}

/* リビール（JSと連動） */
.about__tl-item[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about__tl-item.is-visible {
  opacity: 1;
  transform: none;
}

/* 3本柱 */
.about__pillars {
  margin-top: 80px;
}

.about__pillars-intro {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 800;
  color: var(--snr-text-hi, #FFFFFF);
  text-align: center;
}

.about__pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about__pillar {
  background: var(--snr-bg-card, #182236);
  border: 1px solid var(--snr-line, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 28px 24px;
}

.about__pillar-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--snr-cyan, #4FD1E0);
  border: 1px solid rgba(79, 209, 224, 0.3);
  border-radius: 999px;
  padding: 4px 14px;
}

.about__pillar-heading {
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--snr-text-hi, #FFFFFF);
}

.about__pillar-text {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--snr-text-body, #E8EDF5);
}

/* ミニCTA */
.about__cta {
  margin-top: 64px;
  text-align: center;
}

.about__cta-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--snr-text-hi, #FFFFFF);
  padding: 14px 32px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(79, 209, 224, 0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about__cta-link:hover,
.about__cta-link:focus-visible {
  border-color: var(--snr-purple, #A86CE8);
  box-shadow: 0 0 20px rgba(168, 108, 232, 0.25);
}

/* ABOUT レスポンシブ */
@media (max-width: 768px) {
  .about__numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__pillars-grid {
    grid-template-columns: 1fr;
  }
  .about__timeline {
    padding-left: 30px;
  }
  .about__tl-node {
    left: -26px;
  }
  .about__timeline::before {
    left: 9px;
  }
  .about__tl-card {
    padding: 20px;
  }
}

/* ABOUT reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about__tl-item[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .about__tl-node--now {
    animation: none;
  }
}

/* ============================================================
   02. ABOUT SANRECO — サイバーパンク強化 v2.1
   ネオングリッド × HUDブラケット × グリッチアクセント
   ============================================================ */
#about.about {
  position: relative;
  background:
    radial-gradient(ellipse 75% 50% at 85% -5%, rgba(34, 211, 238, 0.13), transparent 60%),
    radial-gradient(ellipse 60% 45% at 5% 105%, rgba(168, 108, 232, 0.16), transparent 58%),
    #0a0f1e;
  overflow: hidden;
}

/* ネオングリッド */
#about.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(79, 209, 224, 0.055) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(79, 209, 224, 0.055) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 15%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 95% 85% at 50% 15%, #000 25%, transparent 78%);
  pointer-events: none;
}

/* スキャンライン */
#about.about::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 5px);
  pointer-events: none;
}

#about .about__inner {
  position: relative;
  z-index: 1;
}

/* ラベル — ネオンターミナル風 */
#about .about__label {
  font-family: var(--font-en-display, 'Space Grotesk', sans-serif);
  color: #4fd1e0;
  background: rgba(79, 209, 224, 0.06);
  border: 1px solid rgba(79, 209, 224, 0.45);
  border-radius: 3px;
  letter-spacing: 0.26em;
  text-shadow: 0 0 10px rgba(79, 209, 224, 0.65);
  box-shadow:
    0 0 16px rgba(79, 209, 224, 0.22),
    inset 0 0 14px rgba(79, 209, 224, 0.06);
}

#about .about__label-dot {
  border-radius: 1px;
  box-shadow: 0 0 10px #4fd1e0;
  animation: about-dot-blink 1.8s steps(2, start) infinite;
}

@keyframes about-dot-blink {
  0%, 60%, 100% { opacity: 1; }
  70%, 90% { opacity: 0.25; }
}

/* 見出し — グレー帯を除去してネオングラデ文字に */
#about .about__title {
  text-shadow: 0 0 28px rgba(79, 209, 224, 0.2);
}

#about .about__title-accent {
  display: inline-block;
  position: relative;
  padding: 0 0 6px;
  background: linear-gradient(90deg, #4fd1e0 0%, #8a92e8 50%, #a86ce8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(79, 209, 224, 0.4));
}

#about .about__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #4fd1e0, #a86ce8);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(79, 209, 224, 0.75), 0 0 28px rgba(168, 108, 232, 0.45);
  animation: about-underline-pulse 2.6s ease-in-out infinite;
}

@keyframes about-underline-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* リード — 端末出力風の左ライン */
#about .about__lead {
  border-left: 2px solid rgba(79, 209, 224, 0.55);
  padding-left: 20px;
  box-shadow: -1px 0 12px -4px rgba(79, 209, 224, 0.4);
}

/* NUMBERS — HUDスタットパネル */
#about .about__numbers {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  gap: 14px;
}

#about .about__stat {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 32, 54, 0.92) 0%, rgba(12, 18, 36, 0.96) 100%);
  border: 1px solid rgba(79, 209, 224, 0.22);
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

#about .about__stat::before,
#about .about__stat::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  transition: all 0.3s ease;
}

#about .about__stat::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid #4fd1e0;
  border-left: 2px solid #4fd1e0;
}

#about .about__stat::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid #a86ce8;
  border-right: 2px solid #a86ce8;
}

#about .about__stat:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 209, 224, 0.55);
  box-shadow:
    0 0 22px rgba(79, 209, 224, 0.18),
    0 8px 28px rgba(10, 15, 30, 0.6);
}

#about .about__stat-value {
  font-family: var(--font-en-display, 'Space Grotesk', sans-serif);
  filter: drop-shadow(0 0 12px rgba(79, 209, 224, 0.45));
}

#about .about__stat-label {
  font-family: var(--font-en-display, 'Space Grotesk', sans-serif);
  letter-spacing: 0.12em;
  color: #7c8db0;
}

/* TIMELINE — ネオン軸 × カットコーナーカード */
#about .about__timeline::before {
  opacity: 0.85;
  box-shadow: 0 0 12px rgba(79, 209, 224, 0.55), 0 0 28px rgba(168, 108, 232, 0.3);
}

#about .about__tl-node {
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow:
    0 0 0 4px #0a0f1e,
    0 0 14px var(--node-color, #4fd1e0),
    0 0 30px var(--node-color, #4fd1e0);
}

#about .about__tl-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 32, 54, 0.92) 0%, rgba(12, 18, 36, 0.96) 100%);
  border: 1px solid rgba(79, 209, 224, 0.18);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

#about .about__tl-card:hover {
  transform: translateX(6px);
  border-color: rgba(79, 209, 224, 0.5);
  background: linear-gradient(135deg, rgba(26, 38, 62, 0.95) 0%, rgba(14, 22, 42, 0.98) 100%);
}

#about .about__tl-era {
  font-family: var(--font-en-display, 'Space Grotesk', sans-serif);
  letter-spacing: 0.24em;
  text-shadow: 0 0 12px currentColor;
}

#about .about__tl-era::before { content: '[ '; opacity: 0.55; }
#about .about__tl-era::after { content: ' ]'; opacity: 0.55; }

#about .about__tl-heading {
  text-shadow: 0 0 18px rgba(79, 209, 224, 0.18);
}

#about .about__tl-card--now {
  border-color: rgba(168, 108, 232, 0.6);
  box-shadow: inset 0 0 28px rgba(168, 108, 232, 0.08);
  animation: about-now-border 2.8s ease-in-out infinite;
}

@keyframes about-now-border {
  0%, 100% { border-color: rgba(168, 108, 232, 0.45); }
  50% { border-color: rgba(168, 108, 232, 0.85); }
}

/* 3本柱 — HUDモジュール */
#about .about__pillars-intro {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #4fd1e0 0%, #8a92e8 50%, #a86ce8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(79, 209, 224, 0.4));
}

#about .about__pillar {
  position: relative;
  background: linear-gradient(165deg, rgba(22, 32, 54, 0.92) 0%, rgba(12, 18, 36, 0.96) 100%);
  border: 1px solid rgba(79, 209, 224, 0.2);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: border-color 0.3s ease, transform 0.3s ease;
}

#about .about__pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 108, 232, 0.55);
}

#about .about__pillar-num {
  border-radius: 3px;
  color: #4fd1e0;
  border-color: rgba(79, 209, 224, 0.45);
  background: rgba(79, 209, 224, 0.07);
  text-shadow: 0 0 8px rgba(79, 209, 224, 0.6);
  box-shadow: 0 0 12px rgba(79, 209, 224, 0.18);
}

/* ミニCTA — ネオンボタン */
#about .about__cta-link {
  position: relative;
  font-weight: 800;
  border: 1px solid rgba(79, 209, 224, 0.55);
  border-radius: 3px;
  background: rgba(79, 209, 224, 0.05);
  letter-spacing: 0.06em;
  box-shadow:
    0 0 18px rgba(79, 209, 224, 0.2),
    inset 0 0 16px rgba(79, 209, 224, 0.05);
  transition: all 0.35s ease;
}

#about .about__cta-link:hover,
#about .about__cta-link:focus-visible {
  color: #0a0f1e;
  background: linear-gradient(90deg, #4fd1e0, #a86ce8);
  border-color: transparent;
  box-shadow:
    0 0 28px rgba(79, 209, 224, 0.55),
    0 0 56px rgba(168, 108, 232, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  #about .about__label-dot,
  #about .about__title-accent::after,
  #about .about__tl-card--now {
    animation: none;
  }
}

/* SANRECO DIRECT — WEB / APP LAB 提案型カード */
#brand-sanreco .brand-service-lab {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-en-display);
  font-size: calc(var(--text-xs) * 1.125 / 1.2);
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

#brand-sanreco .brand-service-lab--web {
  color: #fecaca;
  background: linear-gradient(180deg, rgba(251, 113, 133, 0.28) 0%, rgba(220, 38, 38, 0.14) 100%);
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 10px rgba(239, 68, 68, 0.22);
}

#brand-sanreco .brand-service-lab--app {
  color: #e9d5ff;
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.28) 0%, rgba(124, 58, 237, 0.14) 100%);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 10px rgba(147, 51, 234, 0.22);
}

#brand-sanreco .brand-service-title {
  margin-bottom: 6px;
}

#brand-sanreco .brand-service-pitch {
  margin: 0 0 12px;
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  font-weight: 800;
  line-height: 1.65;
  color: var(--ink);
  letter-spacing: 0.02em;
}

#brand-sanreco .brand-service-points {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#brand-sanreco .brand-service-points li {
  position: relative;
  padding-left: 1.15em;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-mute);
}

#brand-sanreco .brand-service-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  font-size: 0.82em;
  color: #c084fc;
}

#brand-web-lab .brand-service-points li::before {
  color: #fb7185;
}

#brand-sanreco .brand-service-tags li {
  background: rgba(192, 132, 252, 0.12);
  color: #e9d5ff;
  border: 1px solid rgba(192, 132, 252, 0.28);
}

#brand-web-lab .brand-service-tags li {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.28);
}

/* SANRECO DIRECT — 詳細ページリンク */
#brand-sanreco .sanreco-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #c084fc;
  border-bottom: 1px solid rgba(192, 132, 252, 0.4);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

#brand-sanreco .sanreco-detail-link:hover {
  color: #d8b4fe;
  border-bottom-color: rgba(216, 180, 254, 0.7);
  gap: 10px;
}

/* ============================================
   CHOOSE YOUR LAB — その他のLAB（JOIN / WEB / APP）
   ============================================ */
#brand-compare .compare-others {
  margin-top: 56px;
}

#brand-compare .compare-others-heading {
  text-align: center;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 700;
  color: var(--ink-soft, #c8d2e0);
  margin-bottom: 24px;
}

#brand-compare .compare-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  #brand-compare .compare-others-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

#brand-compare .compare-other-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: 16px;
  background: rgba(14, 22, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--other-accent, rgba(255, 255, 255, 0.2));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#brand-compare .compare-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 24px var(--other-glow, transparent);
}

#brand-compare .compare-other-card--join {
  --other-accent: #4ade80;
  --other-glow: rgba(74, 222, 128, 0.18);
}

#brand-compare .compare-other-card--web,
#brand-compare .compare-other-card--app {
  --other-accent: #c084fc;
  --other-glow: rgba(192, 132, 252, 0.18);
}

#brand-compare .compare-card-type--join {
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.32);
}

#brand-compare .compare-card-type--web,
#brand-compare .compare-card-type--app {
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(192, 132, 252, 0.32);
}

#brand-compare .compare-other-card .compare-card-type {
  align-self: flex-start;
  margin-bottom: 10px;
}

#brand-compare .compare-other-card--join .compare-brand-name {
  color: #4ade80;
}

#brand-compare .compare-other-card--web .compare-brand-name,
#brand-compare .compare-other-card--app .compare-brand-name {
  color: #c084fc;
}

#brand-compare .compare-other-desc {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--ink-mute);
  flex-grow: 1;
}

#brand-compare .compare-other-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 16px;
}

#brand-compare .compare-other-card--join .compare-price-amount {
  color: #86efac;
}

#brand-compare .compare-other-card--web .compare-price-amount,
#brand-compare .compare-other-card--app .compare-price-amount {
  color: #d8b4fe;
}

#brand-compare .compare-cta-btn--join {
  background: linear-gradient(135deg, #22c55e, #4ade80) !important;
  color: #06281a !important;
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.28);
}

#brand-compare .compare-cta-btn--join:hover {
  box-shadow: 0 10px 28px rgba(74, 222, 128, 0.42);
}

#brand-compare .compare-cta-btn--web,
#brand-compare .compare-cta-btn--app {
  background: linear-gradient(135deg, #7c3aed, #c084fc) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

#brand-compare .compare-cta-btn--web:hover,
#brand-compare .compare-cta-btn--app:hover {
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.45);
}

/* ============================================
   ヘッダーロゴ — 50周年ロゴ（カラー表示）
   ============================================ */
.site-header a.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
}

.site-header a.logo .site-logo-img,
.site-header a.logo img.site-logo-img {
  display: block;
  height: 53px !important;
  width: 53px !important;
  max-width: 53px !important;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  background: #ffffff;
  padding: 2px;
  box-shadow:
    0 0 0 1px rgba(63, 208, 236, 0.18),
    0 2px 12px rgba(0, 0, 0, 0.22);
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   JOIN LAB — ナギサ縮小・プラン横幅拡大
   ============================================ */
#brand-joinlab .brand-content {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 250px);
  max-width: 1160px;
}

#brand-joinlab .brand-character-area .character-slot--lg {
  max-width: 230px;
}

#brand-joinlab .speech-bubble {
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  #brand-joinlab .brand-character-area {
    max-width: 280px;
  }
}

/* ============================================
   JOIN LAB — 制作サンプル（PDF遅延読み込み）
   ============================================ */
#brand-joinlab .joinlab-sample {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(74, 222, 128, 0.18);
}

.joinlab-sample-header {
  text-align: center;
  margin-bottom: 28px;
}

.joinlab-sample-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ade80;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.joinlab-sample-title {
  margin: 14px 0 8px;
  font-family: var(--font-jp-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 900;
  color: var(--ink);
}

.joinlab-sample-desc {
  margin: 0;
  color: var(--ink-mute);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.joinlab-sample-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  background: rgba(8, 16, 32, 0.55);
  border: 1px solid rgba(74, 222, 128, 0.2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.joinlab-sample-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  background: #0a1628;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.joinlab-sample-cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.joinlab-sample-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.joinlab-sample-cover:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(74, 222, 128, 0.35),
    0 18px 40px rgba(16, 185, 129, 0.22);
}

.joinlab-sample-cover-play {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(8, 16, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.joinlab-sample-cover:hover .joinlab-sample-cover-play {
  background: rgba(16, 185, 129, 0.82);
  border-color: rgba(255, 255, 255, 0.28);
}

.joinlab-sample-cat {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 11px;
  font-weight: 800;
}

.joinlab-sample-name {
  margin: 0 0 10px;
  font-family: var(--font-jp-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.45;
}

.joinlab-sample-text {
  margin: 0 0 18px;
  color: var(--ink-mute);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.joinlab-sample-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.joinlab-sample-btn {
  padding: 12px 22px;
}

.joinlab-sample-link {
  color: #4fd1e0;
  font-size: var(--text-sm);
  font-weight: 700;
}

.joinlab-sample-link:hover {
  color: #7ee8f4;
}

.joinlab-sample-note {
  margin: 14px 0 0;
  color: var(--ink-mute);
  font-size: 12px;
  opacity: 0.8;
}

.joinlab-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
}

.joinlab-pdf-modal[hidden] {
  display: none !important;
}

.joinlab-pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, 0.82);
  backdrop-filter: blur(6px);
}

.joinlab-pdf-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1100px, 100%);
  max-height: min(90vh, 900px);
  border-radius: 16px;
  overflow: hidden;
  background: #0c1234;
  border: 1px solid rgba(79, 209, 224, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.joinlab-pdf-modal__header,
.joinlab-pdf-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(7, 10, 30, 0.95);
}

.joinlab-pdf-modal__footer {
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.joinlab-pdf-modal__footer a {
  color: #4fd1e0;
  font-size: var(--text-sm);
  font-weight: 700;
}

.joinlab-pdf-modal__title {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}

.joinlab-pdf-modal__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.joinlab-pdf-modal__body {
  position: relative;
  flex: 1;
  min-height: 60vh;
  background: #111827;
}

.joinlab-pdf-modal__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--ink-mute);
  font-size: var(--text-sm);
  background: rgba(17, 24, 39, 0.92);
  z-index: 1;
}

.joinlab-pdf-modal__loading[hidden] {
  display: none;
}

.joinlab-pdf-modal__frame {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  border: none;
  background: #fff;
}

@media (max-width: 767px) {
  .joinlab-sample-card {
    grid-template-columns: 1fr;
  }

  .joinlab-sample-cover {
    max-width: 280px;
    margin: 0 auto;
  }

  .joinlab-pdf-modal {
    padding: 0;
  }

  .joinlab-pdf-modal__dialog {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .joinlab-pdf-modal__body,
  .joinlab-pdf-modal__frame {
    min-height: calc(100vh - 112px);
  }
}

@media (max-width: 1024px) {
  #brand-joinlab .brand-content {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  #brand-joinlab .brand-character-area {
    max-width: min(280px, 88vw);
    margin-inline: auto;
  }
}

/* ============================================
   MOBILE — スマホ閲覧最適化
   文字・間隔・レイアウト・タップ操作
   ============================================ */
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 1023px) {
  .floating-nav {
    display: block !important;
    top: 14px;
    right: 14px;
  }

  .menu-btn {
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 20px rgba(63, 208, 236, 0.35);
  }

  .menu-btn span {
    width: 20px;
  }

  .fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    background: transparent;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
  }

  .fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-drawer-backdrop {
    display: block;
    flex: 0 0 2cm;
    width: 2cm;
    min-height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(7, 10, 30, 0.28);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-drawer-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: calc(100% - 2cm);
    max-width: calc(100% - 2cm);
    min-height: 100%;
    background: rgba(7, 10, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(63, 208, 236, 0.22);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
    overscroll-behavior: contain;
    padding:
      calc(14px + env(safe-area-inset-top, 0px))
      20px
      calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .fullscreen-menu.active .menu-drawer-panel {
    transform: translateX(0);
  }

  .menu-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-drawer-label {
    font-family: var(--font-en-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--cyan);
  }

  .menu-drawer-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.625rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-drawer-nav {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 2px;
    margin-right: -2px;
  }

  .menu-drawer-kicker {
    margin: 0 0 6px;
    padding: 0 4px;
    font-family: var(--font-en-display);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
  }

  .menu-production {
    margin-top: 4px;
  }

  .menu-production-head {
    margin-bottom: 14px;
    padding: 14px 14px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 209, 224, 0.1), rgba(168, 108, 232, 0.08));
    border: 1px solid rgba(79, 209, 224, 0.18);
  }

  .menu-production-title {
    margin: 0 0 6px;
    font-family: var(--font-jp-display);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: 0.02em;
  }

  .menu-production-lead {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.58);
  }

  .menu-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .menu-service-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 88px;
    padding: 14px 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
    opacity: 0.9;
  }

  .menu-service-card--web::before { background: linear-gradient(90deg, #60a5fa, #2b7bfa); }
  .menu-service-card--app::before { background: linear-gradient(90deg, #c084fc, #a855f7); }
  .menu-service-card--post::before { background: linear-gradient(90deg, #ff8cb3, #ff6b9d); }
  .menu-service-card--movie::before { background: linear-gradient(90deg, #4fd1e0, #0ea5e9); }
  .menu-service-card--join::before { background: linear-gradient(90deg, #6ee7b7, #10b981); }

  .menu-service-card:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.07);
  }

  .menu-service-card--soon {
    opacity: 0.92;
  }

  .menu-service-card-lab {
    font-family: var(--font-en-display);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
  }

  .menu-service-card--web .menu-service-card-lab { color: #93c5fd; }
  .menu-service-card--app .menu-service-card-lab { color: #d8b4fe; }
  .menu-service-card--post .menu-service-card-lab { color: #ffb3cc; }
  .menu-service-card--movie .menu-service-card-lab { color: #7dd3fc; }
  .menu-service-card--join .menu-service-card-lab { color: #86efac; }

  .menu-service-card-ext {
    font-size: 0.75em;
    opacity: 0.85;
  }

  .menu-service-card-name {
    font-family: var(--font-jp-display);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
  }

  .menu-service-card-desc {
    font-size: 0.6875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
  }

  .menu-service-card-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
  }

  .menu-drawer-section-label {
    margin: 0 0 8px;
    padding: 0 4px;
    font-family: var(--font-en-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
  }

  .menu-production .menu-drawer-section-label {
    margin-top: 2px;
  }

  .menu-production .menu-drawer-section-label:not(:first-of-type) {
    margin-top: 4px;
  }

  .fullscreen-menu .menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
  }

  .fullscreen-menu .menu-links li {
    margin-bottom: 0;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .fullscreen-menu .menu-links li:last-child {
    border-bottom: none;
  }

  .fullscreen-menu .menu-links a,
  .fullscreen-menu .menu-link-soon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 14px 4px;
    font-family: var(--font-jp-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    text-decoration: none;
    text-align: left;
  }

  .fullscreen-menu .menu-links a::before {
    content: attr(data-index);
    flex: 0 0 1.75rem;
    margin-right: 0;
    font-family: var(--font-en-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--cyan);
    opacity: 0.85;
    vertical-align: baseline;
  }

  .fullscreen-menu .menu-links--lab a::before,
  .fullscreen-menu .menu-link-soon::before {
    content: none;
  }

  .menu-link-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-link-arrow {
    flex-shrink: 0;
    font-size: 0.875rem;
    opacity: 0.75;
  }

  .menu-link-soon {
    opacity: 1;
    color: rgba(255, 255, 255, 0.55);
    cursor: default;
  }

  .menu-link-soon .nav-soon-badge {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 0.625rem;
    padding: 4px 8px;
    white-space: nowrap;
  }

  .menu-divider {
    margin: 14px 0 16px;
    background: rgba(255, 255, 255, 0.1);
  }

  .menu-cta-wrap {
    flex-shrink: 0;
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu-panel-cta {
    min-height: 52px;
    font-size: var(--text-base);
    width: 100%;
    justify-content: center;
  }

  .menu-service-grid--2 .menu-service-card {
    min-height: 96px;
  }
}

@media (max-width: 380px) {
  .menu-service-grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad-x: 20px;
    --section-padding: 64px;
    --leading-body: 1.5;
    --leading-prose: 1.55;
    --leading-heading: 1.22;
    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1.0625rem;
    --text-md: 1.125rem;
    --text-lg: 1.1875rem;
    --text-xl: 1.3125rem;
    --text-2xl: clamp(1.625rem, 6vw, 2.125rem);
    --text-3xl: clamp(1.875rem, 7vw, 2.5rem);
    --touch-min: 48px;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-size: var(--text-base);
    line-height: var(--leading-body);
    letter-spacing: 0.011em;
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding-left: max(var(--container-pad-x), env(safe-area-inset-left, 0px));
    padding-right: max(var(--container-pad-x), env(safe-area-inset-right, 0px));
  }

  h1, h2, h3,
  .section-title,
  .brand-title,
  .about__title {
    text-wrap: balance;
  }

  p,
  .section-desc,
  .brand-lead,
  .about__lead,
  .about__tl-text,
  .service-desc,
  .brand-service-desc,
  .hero-subtitle-inner,
  .speech-bubble p {
    text-wrap: pretty;
  }

  .section {
    padding: var(--section-padding) 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 6px 13px;
    margin-bottom: 14px;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.8vw, 2.25rem);
    line-height: var(--leading-heading);
    letter-spacing: -0.015em;
    margin-bottom: 18px;
  }

  .section-desc {
    font-size: var(--text-base);
    line-height: var(--leading-prose);
    max-width: 36em;
    margin-inline: auto;
  }

  .site-header {
    padding: 10px 16px;
  }

  .site-header a.logo .site-logo-img,
  .site-header a.logo img.site-logo-img {
    height: 46px !important;
    width: 46px !important;
    max-width: 46px !important;
  }

  /* ── HERO ── */
  .hero {
    padding: calc(72px + env(safe-area-inset-top, 0px)) 0 40px;
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 36px;
    gap: 28px;
  }

  .hero-badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2.5vw, 14px);
    width: 100%;
    margin-bottom: 20px;
  }

  .rec-badge-side {
    display: block;
    width: clamp(78px, 21vw, 108px);
    order: -1;
  }

  .rec-anchor--headline {
    display: none;
  }

  .hero-badge-50th {
    font-size: 1.08rem;
    padding: 8px 16px;
    letter-spacing: 0.12em;
    margin-bottom: 0;
  }

  .hero-headline {
    font-size: clamp(4.65rem, 21.6vw, 6.3rem);
    line-height: 1.18;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }

  .headline-line.line-1 {
    margin-bottom: 0.08em;
  }

  .headline-line.line-2 {
    margin-top: 0.12em;
    font-size: 0.6944em;
    white-space: nowrap;
  }

  .number-accent,
  .kasoku-accent {
    animation: none;
    background-size: 100% 100%;
    background-position: 50% 50%;
    will-change: auto;
  }

  .br-mobile {
    display: block;
  }

  .hero-subtitle,
  .hero-subtitle-inner {
    font-size: var(--text-md);
    line-height: var(--leading-prose);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
    max-width: 22em;
    margin-inline: auto;
  }

  .hero-subtitle-line3 {
    white-space: nowrap;
  }

  .rec-on-headline {
    width: clamp(140px, 38vw, 220px) !important;
    left: 0.08em;
    bottom: -0.12em;
  }

  .hero-emphasis {
    padding: 0 10px 6px;
    white-space: nowrap;
    display: inline-block;
  }

  .hero-emphasis::before {
    height: 0.42em;
    bottom: 0.08em;
  }

  .hero-phone-stage {
    min-height: auto;
    height: auto;
    transform: none;
    overflow: visible;
    margin: 0 0 20px;
    padding: 24px 0 28px;
  }

  .hero-phone-glow,
  .hero-phone-stage .deco-ring-1,
  .hero-phone-stage .deco-ring-2,
  .hero-phone-stage .deco-line {
    display: none;
  }

  .phone-wrap {
    filter: none;
  }

  .phone-wrap--animated {
    animation: hero-phone-float-mobile 5.5s ease-in-out infinite;
  }

  .phone-frame {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .hero-character-area {
    overflow: visible;
  }

  .hero-character-area--left {
    align-items: center;
  }

  .hero-stats {
    width: calc(100% - 2cm);
    max-width: calc(100% - 2cm);
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0;
    margin-top: 8px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat {
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .stat-number {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .stat-label {
    font-size: var(--text-sm);
    line-height: 1.45;
    margin-top: 6px;
    letter-spacing: 0.04em;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 0;
    width: calc(100% - 2cm);
    max-width: calc(100% - 2cm);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    flex: none;
    min-height: var(--touch-min);
    padding: 14px 20px;
    font-size: var(--text-base);
    letter-spacing: 0.02em;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* ── ABOUT ── */
  .about,
  #about.about {
    padding: 64px 18px;
  }

  .about__title,
  #about .about__title {
    font-size: clamp(1.625rem, 6.2vw, 2rem);
    line-height: var(--leading-heading);
    letter-spacing: -0.015em;
    margin-top: 20px;
  }

  .about__lead,
  #about .about__lead {
    font-size: var(--text-base);
    line-height: var(--leading-prose);
    margin-top: 20px;
    max-width: 36em;
    margin-inline: auto;
  }

  .about__numbers,
  #about .about__numbers {
    margin-top: 36px;
    grid-template-columns: repeat(2, 1fr);
  }

  .about__stat,
  #about .about__stat {
    padding: 20px 14px;
  }

  .about__stat-value,
  #about .about__stat-value {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }

  .about__stat-label,
  #about .about__stat-label {
    font-size: var(--text-xs);
    line-height: 1.45;
    letter-spacing: 0.03em;
  }

  .about__timeline,
  #about .about__timeline {
    padding-left: 24px;
    margin-top: 36px;
  }

  .about__tl-card,
  #about .about__tl-card {
    padding: 18px 16px;
  }

  .about__tl-heading,
  #about .about__tl-heading {
    font-size: var(--text-md);
    line-height: var(--leading-heading);
    letter-spacing: -0.01em;
  }

  .about__tl-text,
  #about .about__tl-text {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  .about__pillars-intro,
  #about .about__pillars-intro {
    font-size: clamp(1.125rem, 4.2vw, 1.3125rem);
    line-height: var(--leading-prose);
    margin-bottom: 28px;
  }

  .about__pillar,
  #about .about__pillar {
    padding: 22px 18px;
  }

  .about__cta-link,
  #about .about__cta-link {
    width: 100%;
    justify-content: center;
    min-height: var(--touch-min);
    padding: 14px 20px;
    font-size: var(--text-base);
  }

  /* ── CHARACTER / TEAM ── */
  .character-slot--md,
  .character-slot--lg,
  .character-slot--xl {
    width: min(100%, 240px) !important;
    height: auto !important;
    max-width: 82vw;
  }

  .speech-bubble {
    max-width: 100%;
    padding: 18px 20px;
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  .team-grid {
    gap: 20px;
  }

  .team-member {
    padding: 28px 20px;
  }

  /* ── SERVICES ── */
  .services-intro {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    text-align: center;
  }

  .services-intro .character-slot--rec.has-image,
  .contact-intro .character-slot--rec.has-image {
    max-width: min(330px, 90vw);
    margin-inline: auto;
  }

  .services-intro .speech-bubble,
  .contact-intro .speech-bubble {
    text-align: left;
  }

  #services .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #services .section-header {
    margin-bottom: 28px;
  }

  #services .section-tag {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    padding: 5px 11px;
    margin-bottom: 10px;
  }

  #services .section-title {
    font-size: clamp(1.625rem, 6.2vw, 2rem);
    line-height: 1.22;
    letter-spacing: -0.018em;
  }

  #services .service-card-link {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  #services .service-card-link-text {
    line-height: 1.45;
  }

  /* ── BRAND SECTIONS ── */
  .brand-header {
    margin-bottom: 32px;
  }

  .brand-logo-text {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }

  .brand-title {
    font-size: clamp(1.625rem, 6.2vw, 2rem);
    line-height: var(--leading-heading);
    letter-spacing: -0.015em;
  }

  .brand-lead {
    font-size: var(--text-base);
    line-height: var(--leading-prose);
    margin-top: 16px;
    max-width: 36em;
    margin-inline: auto;
  }

  .brand-content {
    margin-bottom: 32px;
    gap: 28px;
  }

  .brand-service-item {
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px;
  }

  .brand-service-title {
    font-size: var(--text-lg);
    line-height: var(--leading-heading);
    letter-spacing: -0.01em;
  }

  .brand-service-desc,
  .brand-service-pitch {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  .brand-service-tags li {
    font-size: var(--text-xs);
    padding: 5px 10px;
  }

  .brand-cta .btn,
  .movielab-cta-primary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    min-height: var(--touch-min);
    padding: 14px 20px;
    font-size: var(--text-base);
  }

  .btn-supplement,
  .movielab-cta-note {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
    padding: 0 4px;
  }

  .rec-wrap {
    padding: 16px;
    margin-top: 20px;
  }

  .rec-label-title {
    font-size: var(--text-base);
    line-height: var(--leading-heading);
  }

  .rec-text {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  .rec-card {
    padding: 10px 12px;
  }

  .rec-alt-link {
    min-height: var(--touch-min);
    padding: 12px 14px;
    font-size: var(--text-sm);
    line-height: 1.5;
    flex-wrap: wrap;
    gap: 8px;
  }

  #brand-motionlab .motionlab-body {
    gap: 24px;
  }

  #brand-motionlab .sns-branch {
    padding: 16px;
  }

  #brand-motionlab .branch-hook {
    font-size: var(--text-base);
    line-height: var(--leading-prose);
  }

  #brand-motionlab .branch-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  #brand-motionlab .branch-cta {
    width: 100%;
    justify-content: center;
    min-height: var(--touch-min);
  }

  #brand-joinlab .brand-plan {
    padding: 20px 16px;
  }

  #brand-joinlab .plan-price-new {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }

  #brand-joinlab .brand-plan-features li {
    padding: 10px 0;
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  #brand-joinlab .joinlab-sample {
    margin-top: 32px;
    padding-top: 28px;
  }

  #brand-joinlab .joinlab-sample-title {
    font-size: 1.25rem;
    line-height: var(--leading-heading);
  }

  #brand-joinlab .joinlab-sample-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  /* ── COMPARE ── */
  #brand-compare .compare-cards {
    gap: 14px;
  }

  #brand-compare .compare-card {
    padding: 18px 16px;
  }

  #brand-compare .compare-card-list dt {
    font-size: var(--text-xs);
    letter-spacing: 0.04em;
  }

  #brand-compare .compare-card-list dd {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  #brand-compare .compare-cta-btn {
    width: 100%;
    justify-content: center;
    min-height: var(--touch-min);
    font-size: var(--text-sm);
  }

  #brand-compare .compare-other-card {
    padding: 18px 16px;
  }

  /* ── PROJECTS ── */
  .projects-carousel-wrapper {
    gap: 8px;
  }

  .project-card {
    flex: 0 0 100%;
  }

  .project-meta {
    padding: 14px 16px;
  }

  .project-title {
    font-size: var(--text-base);
    line-height: var(--leading-heading);
    letter-spacing: -0.01em;
  }

  .project-category {
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
  }

  .carousel-dots {
    margin-top: 16px;
  }

  /* ── CONTACT（レイアウトのみ — 配色はメインブロック） ── */
  #contact .contact-intro {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    text-align: center;
  }

  #contact .contact-rec-picture,
  #contact .contact-rec-picture img {
    display: block;
    width: 100%;
    height: auto;
  }

  #contact .contact-intro::before {
    left: 50%;
    width: min(340px, 96vw);
    height: 108%;
    background:
      radial-gradient(ellipse 68% 72% at 50% 46%, rgba(255, 255, 255, 0.78), transparent 68%),
      radial-gradient(ellipse 58% 62% at 50% 50%, rgba(224, 242, 254, 0.58), transparent 66%);
  }

  #contact .contact-intro .character-slot--rec.has-image {
    max-width: min(280px, 88vw);
    margin-inline: auto;
    padding: 16px 18px 12px;
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #f4f9fd 45%, #e8f4fa 100%) !important;
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.65),
      0 0 48px rgba(255, 255, 255, 0.38) !important;
  }

  #contact .contact-intro .character-slot--rec.has-image img {
    mix-blend-mode: normal !important;
  }

  #contact .contact-form {
    padding: 28px 18px;
    border-radius: 16px;
  }

  #contact .contact-form label,
  #contact .contact-form .group-label {
    font-size: var(--text-sm);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
  }

  #contact .contact-form input,
  #contact .contact-form textarea,
  #contact .contact-form select {
    font-size: 16px;
    padding: 12px 14px;
    min-height: var(--touch-min);
    border-radius: 10px;
  }

  #contact .contact-form textarea {
    min-height: 140px;
  }

  #contact .contact-form .checkbox-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  #contact .contact-form .check-label {
    min-height: var(--touch-min);
    padding: 10px 12px;
    font-size: var(--text-sm) !important;
    line-height: 1.4;
  }

  #contact .btn-submit {
    width: 100%;
    min-height: 52px;
    font-size: var(--text-base);
    margin-top: 8px;
    letter-spacing: 0.02em;
  }

  #contact .contact-phone-note {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
    margin-top: 20px;
    text-align: center;
  }

  #contact .contact-form-disclaimer {
    width: 100%;
    max-width: none;
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 0.875rem;
    line-height: 1.75;
    text-align: left;
  }

  /* ── FOOTER ── */
  .site-footer {
    padding: 48px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .footer-main {
    gap: 28px;
  }

  .footer-desc,
  .footer-address {
    font-size: var(--text-sm);
    line-height: var(--leading-prose);
  }

  /* ── MOBILE BOTTOM NAV ── */
  .floating-nav {
    display: none !important;
  }

  .mobile-fixed-cta {
    display: none !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 2px;
    padding: 6px 8px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 16, 32, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(63, 208, 236, 0.18);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.28);
  }

  .mobile-nav-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px;
    border: none;
    background: transparent;
    color: rgba(148, 163, 184, 0.92);
    text-decoration: none;
    font-family: var(--font-jp-body);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    border-radius: 12px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:focus-visible {
    color: #4fd1e0;
    background: rgba(63, 208, 236, 0.08);
    outline: none;
  }

  .mobile-nav-item.is-active,
  .mobile-nav-item--menu.is-active,
  .mobile-nav-item--production.is-active {
    color: #4fd1e0;
  }

  .mobile-nav-item--production.is-active {
    background: rgba(63, 208, 236, 0.1);
  }

  .mobile-nav-item--cta {
    color: #ffffff;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 55%, #6366f1 100%);
    border: 1px solid rgba(63, 208, 236, 0.28);
    box-shadow: 0 2px 12px rgba(8, 145, 178, 0.32);
  }

  .mobile-nav-item--cta:hover,
  .mobile-nav-item--cta:focus-visible {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    color: #ffffff;
  }

  .mobile-nav-icon {
    flex-shrink: 0;
    opacity: 0.92;
  }

  .mobile-nav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .bg .streaks {
    width: 100%;
    height: 100%;
    inset: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad-x: 16px;
    --section-padding: 56px;
  }

  .hero-phone-stage {
    padding: 20px 0 24px;
  }

  .phone-wrap {
    width: 168px !important;
    height: 336px !important;
  }

  .rec-mascot--phone {
    width: 96px !important;
    right: calc(50% - 140px) !important;
  }

  .about__numbers,
  #about .about__numbers {
    grid-template-columns: 1fr;
  }

  #contact .contact-form .checkbox-group {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: clamp(4.2rem, 20.4vw, 5.25rem);
    line-height: 1.16;
  }

  .headline-line.line-2 {
    font-size: 0.6944em;
    white-space: nowrap;
  }

  .hero-badge-50th {
    font-size: 1rem;
    padding: 7px 14px;
  }

  .rec-badge-side {
    width: clamp(72px, 19.5vw, 96px);
  }

  .hero-subtitle,
  .hero-subtitle-inner {
    font-size: var(--text-md);
  }

  .section-title {
    font-size: clamp(1.625rem, 6.2vw, 2rem);
  }

  #services .section-title {
    font-size: clamp(1.5rem, 5.8vw, 1.875rem);
  }

  #services .service-num {
    font-size: 1.125rem;
  }

  #services .service-title {
    font-size: 1.25rem;
  }

  #services .service-desc {
    font-size: 0.875rem;
  }
}

/* ── SERVICES モバイル：アイコン左上（HTML .service-card-meta ベース）── */
@media (max-width: 1023px) {
  #services .service-card {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding: 16px 16px 14px !important;
  }

  #services .service-brand,
  #services .service-brands {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 2;
    animation: none !important;
  }

  #services .service-brand {
    font-size: 0.625rem;
    padding: 3px 7px;
    letter-spacing: 0.1em;
  }

  #services .service-brands {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  #services .service-brands .service-brand {
    font-size: 0.625rem;
    padding: 3px 7px;
    animation: none !important;
  }

  #services .service-card-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 36px;
    margin-bottom: 6px;
    padding-right: 92px;
    box-sizing: border-box;
  }

  #services .service-icon-wrapper {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    margin: 0 !important;
    border-radius: 10px;
    flex-shrink: 0;
  }

  #services .service-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }

  #services .service-num {
    margin: 0 !important;
    font-size: 1.17rem !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    opacity: 0.9;
    white-space: nowrap;
  }

  #services .service-title {
    font-size: 1.3125rem;
    line-height: 1.28;
    letter-spacing: -0.012em;
    filter: drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.85));
    margin: 0 0 8px;
  }

  #services .service-desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    letter-spacing: 0.01em;
  }

  #services .service-card-links {
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  #services .service-card-meta {
    padding-right: 84px;
  }

  #services .service-icon-wrapper {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
  }

  #services .service-num {
    font-size: 1.125rem !important;
  }

  #services .service-title {
    font-size: 1.25rem;
  }

  #services .service-desc {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  #services .service-card-meta {
    display: flex;
    flex-direction: column;
  }

  #services .service-card-meta .service-num {
    order: 1;
  }

  #services .service-card-meta .service-icon-wrapper {
    order: 2;
  }
}

/* 実績動画 — カスタム音量バー（動画の下に常時表示） */
.project-thumbnail.is-playing .play-btn-overlay {
  display: none !important;
}

.project-card.is-video-playing .project-volume-bar {
  display: flex;
}

.project-volume-bar {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #1a1a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  touch-action: none;
}

.project-volume-label {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.project-volume-mute {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.project-volume-slider {
  flex: 1 1 auto;
  min-width: 0;
  height: 32px;
  accent-color: var(--pop-coral, #f43f5e);
  cursor: pointer;
  touch-action: pan-x;
}

.project-volume-value {
  flex: 0 0 3em;
  font-family: var(--font-en-display, sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: right;
}
