/* ===== GUTS 1.0 CREATIVE BPO ｜ HIGH-END AWWWARDS LEVEL STYLES ===== */
:root {
  --bg: #07080c;
  --bg-surface: #0e1118;
  --bg-card: rgba(18, 22, 33, 0.82);
  --bg-card-hover: rgba(26, 32, 48, 0.92);
  --bg-card-border: rgba(255, 255, 255, 0.12);
  --bg-card-border-glow: rgba(255, 77, 90, 0.45);
  --fg: #f3f6fa;               /* 明るく視認性の高いクリアホワイト (WCAG AAA) */
  --fg-muted: #b4c2d3;         /* はっきりと読める高コントラストグレー */
  --accent: #e0333d;          /* GUTS Brand Red */
  --accent-light: #ff4d5a;    /* 鮮明な高輝度アクセントレッド */
  --accent-2: #ff763b;        /* Amber Glow */
  --accent-3: #4f6bfe;        /* Tech Blue Glow */
  --gold: #f3be5d;
  /* 日本語の美しさと視認性を極めたフォントスタック */
  --font-ja: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* タイポグラフィ黄金比・モジュラースケール (基準16px, 比率1.25〜1.333) */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: clamp(24px, 3.2vw, 36px);
  --text-2xl: clamp(32px, 4.5vw, 54px);
  --lh-tight: 1.35;
  --lh-normal: 1.82;
}

/* ===== 土台 ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ja);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}
.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: var(--lh-tight); margin: 0; font-weight: 700; color: #ffffff; letter-spacing: -0.01em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

.skip {
  position: fixed; left: 8px; top: -100px; z-index: 200;
  background: var(--fg); color: var(--bg); padding: 8px 16px;
  font-family: var(--font-mono); font-size: 13px;
  transition: top 0.2s ease;
}
.skip:focus { top: 8px; }

/* ネイティブ スムーススクロール */
html, body {
  min-height: 100%;
}

/* ===== ローダー ===== */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
  background: #050608;
  pointer-events: none;
}
.loader__wrap {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}
.loader__num {
  font-family: var(--font-mono);
  font-size: clamp(64px, 15vw, 180px);
  line-height: 0.9;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.04em;
}
.loader__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 2.5vw, 32px);
  background: rgba(7, 8, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease);
}
.header__brand {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.header__badge {
  font-family: var(--font-mono); font-size: 10px; padding: 2px 7px;
  background: rgba(224, 51, 61, 0.15); border: 1px solid var(--accent);
  color: var(--accent-light); border-radius: 4px; letter-spacing: 0.06em;
  white-space: nowrap;
}
.header__logo {
  font-family: var(--font-en); font-weight: 900; font-size: 17px; letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.header__logo-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; }
.header__nav {
  display: flex; align-items: center; gap: clamp(6px, 0.9vw, 14px);
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap;
}
.header__nav a {
  position: relative; color: var(--fg-muted); transition: color 0.2s; white-space: nowrap;
}
.header__nav a:hover { color: #ffffff; }
.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.motion-toggle {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; padding: 6px 10px; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.motion-toggle:hover { border-color: var(--fg); color: var(--fg); }
.header__cta {
  font-size: 12px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff;
  letter-spacing: 0.03em; transition: transform 0.2s, background 0.2s; white-space: nowrap;
}
.header__cta:hover { background: var(--accent-light); transform: translateY(-1px); }

@media (max-width: 1300px) {
  .header__badge { display: none; }
  .header__nav { font-size: 11px; gap: 6px; }
}

@media (max-width: 1024px) {
  .header__nav { display: none; }
}

@media (max-width: 767px) {
  .header { padding: 10px 16px; }
  .header__actions { gap: 6px; }
  .motion-toggle { font-size: 10px; padding: 4px 8px; }
  .sound-toggle { font-size: 10px; padding: 4px 8px; }
  .header__cta { font-size: 11px; padding: 6px 10px; }
}

/* ===== ファーストビュー (HERO) ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(65px, 8vh, 85px) var(--gutter) clamp(25px, 3.5vh, 40px);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 20% 30%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(50% 50% at 80% 70%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 70%),
    var(--bg);
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.has-webgl .hero { background: var(--bg); }
.hero__inner { position: relative; z-index: 2; max-width: 1160px; width: 100%; }
.hero__tagline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; font-weight: 600;
  color: var(--accent-light); margin-bottom: 16px;
  background: rgba(224, 51, 61, 0.12); border: 1px solid rgba(224, 51, 61, 0.35);
  padding: 5px 16px; border-radius: 999px; backdrop-filter: blur(8px);
}
.hero__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 10px var(--accent-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.3); } }

.hero__title {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.8);
}
.hero__title .accent-text {
  color: var(--accent-light);
  display: inline-block;
  text-shadow: 0 0 25px rgba(255, 77, 90, 0.5), 0 4px 16px rgba(0, 0, 0, 0.9);
}
.hero__lead {
  max-width: 600px; color: var(--fg);
  font-size: clamp(14.5px, 1.35vw, 17px); line-height: 1.82; margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
}
.hero__lead strong {
  color: #ffffff;
  font-weight: 700;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 14px 24px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: var(--fg-muted);
}
.hero__badge-item { display: flex; align-items: center; gap: 8px; }
.hero__badge-item strong { color: #ffffff; }
.hero__badge-icon { color: var(--accent-light); font-weight: 900; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em; color: var(--fg-muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 32px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; transition: all 0.3s var(--ease);
}
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 30px rgba(224, 51, 61, 0.35);
}
.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 14px 40px rgba(224, 51, 61, 0.55);
  transform: translateY(-2px);
}
.btn--outline {
  background: rgba(255, 255, 255, 0.06); color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* ===== 流れる帯 (MARQUEE) ===== */
.marquee {
  overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0; background: #050609;
}
.marquee__track {
  display: flex; white-space: nowrap; width: max-content;
  font-weight: 700; font-size: 14px; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.6);
}
.marquee__track span { margin: 0 20px; }
.marquee__track .sep { color: var(--accent-light); }

/* ===== 汎用セクション ===== */
.section {
  padding: clamp(70px, 10vw, 130px) var(--gutter);
  position: relative;
  z-index: 2;
}
.section__header {
  max-width: 800px; margin-bottom: clamp(40px, 6vw, 64px);
}
.section__tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; font-weight: 600;
  color: var(--accent-light); text-transform: uppercase; margin-bottom: 12px; display: block;
}
.section__title {
  font-size: var(--text-xl); font-weight: 900; letter-spacing: -0.01em; line-height: var(--lh-tight);
  margin-bottom: 24px;
  will-change: transform, opacity;
}
.section__subtitle {
  font-size: var(--text-md); color: var(--fg-muted); line-height: var(--lh-normal); margin-top: 16px; max-width: 680px;
}

/* ===== 3D TECH CORE セクション (文字と3Dが一切重ならない左右分離スプリットステージ) ===== */
.tech-core {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 50%, rgba(224, 51, 61, 0.14) 0%, transparent 70%),
    #050608;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tech-core__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 960px) {
  .tech-core__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* 左カラム：文字情報・操作パネル（3Dと完全分離） */
.tech-core__info-col {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
}
.tech-core__status {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--accent-light);
  letter-spacing: 0.15em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.tech-core__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 8px var(--accent-light); }
.tech-core__title {
  font-size: var(--text-lg); font-weight: 700; color: #ffffff; margin-bottom: 14px; line-height: 1.35;
}
.tech-core__desc { font-size: 14.5px; color: var(--fg); margin: 0 0 20px; line-height: 1.8; }

/* 形状切り替えボタン群 */
.tech-core__controls {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.tech-core__controls-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--fg-muted); letter-spacing: 0.1em;
  margin-right: 4px;
}
.tech-core__btn {
  font-family: var(--font-ja); font-size: 12.5px; font-weight: 700;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; cursor: pointer; transition: all 0.2s var(--ease);
}
.tech-core__btn:hover {
  background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.tech-core__btn.is-active {
  background: var(--accent); border-color: var(--accent-light);
  color: #fff; box-shadow: 0 4px 14px rgba(224, 51, 61, 0.45);
}

.tech-core__hint {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--fg-muted); padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 16px;
}
.tech-core__hint-icon { font-size: 15px; }
.tech-core__meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  background: rgba(0, 0, 0, 0.5); padding: 6px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
}

/* 右カラム：独立した3D専用ビューポートステージ（文字が一切重ならない） */
.tech-core__stage-col {
  position: relative;
  width: 100%;
}
.tech-core__canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 51, 61, 0.16) 0%, rgba(8, 10, 16, 0.9) 70%, #050608 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(224, 51, 61, 0.12);
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.tech-core__canvas-wrap:active {
  cursor: grabbing;
}
.tech-core__gl {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}

/* ===== 【最重要・必須項目】価格が高くなる5つの要素 セクション ===== */
.pricing-factors {
  background: radial-gradient(80% 50% at 50% 0%, rgba(224, 51, 61, 0.08), transparent 70%), var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pricing-factors__lead {
  font-size: var(--text-md); color: var(--fg); line-height: var(--lh-normal);
  max-width: 780px; margin-bottom: 40px;
}
.pricing-factors__lead strong { color: #ffffff; font-weight: 700; }
.pricing-factors__table-wrap {
  overflow-x: auto; background: var(--bg-card); border-radius: 20px;
  border: 1px solid var(--bg-card-border); backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 48px;
}
.factor-table {
  width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; min-width: 720px;
}
.factor-table th, .factor-table td {
  padding: 24px 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); vertical-align: middle;
}
.factor-table th {
  background: rgba(0, 0, 0, 0.3); font-family: var(--font-en); font-size: 13px;
  letter-spacing: 0.1em; color: var(--fg-muted); text-transform: uppercase;
}
.factor-table tr:last-child td { border-bottom: none; }
.factor-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.factor-tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; font-family: var(--font-mono);
}
.factor-tag--do {
  background: rgba(224, 51, 61, 0.15); color: #ff6b74; border: 1px solid rgba(224, 51, 61, 0.4);
}
.factor-tag--skip {
  background: rgba(255, 255, 255, 0.06); color: var(--fg-muted); border: 1px solid rgba(255, 255, 255, 0.1);
}
.factor-tag--opt {
  background: rgba(243, 190, 93, 0.15); color: #f5cb7d; border: 1px solid rgba(243, 190, 93, 0.4);
}
.factor-title {
  font-weight: 700; font-size: 16px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
}
.factor-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
}
.factor-desc {
  font-size: 13px; color: var(--fg-muted); line-height: 1.5;
}
.factor-guts {
  font-size: 14px; line-height: 1.6; color: var(--fg);
}
.factor-guts strong { color: #fff; }

.pricing-factors__note-box {
  background: rgba(224, 51, 61, 0.06); border: 1px solid rgba(224, 51, 61, 0.2);
  border-radius: 16px; padding: 28px 32px; display: flex; gap: 20px; align-items: flex-start;
}
.pricing-factors__note-icon {
  font-size: 24px; color: var(--accent-light); flex: 0 0 auto;
}
.pricing-factors__note-text {
  font-size: 14px; line-height: 1.8; color: var(--fg); opacity: 0.95; margin: 0;
}

/* ===== 最先端動画生成AI SHOWCASE ===== */
.flow-showcase {
  position: relative; overflow: hidden;
}
.flow-showcase__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 960px) {
  .flow-showcase__grid { grid-template-columns: 1fr; }
}
.flow-screen {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(224, 51, 61, 0.15);
  background: #000; aspect-ratio: 16 / 9;
}
.flow-screen video {
  width: 100%; height: 100%; object-fit: cover;
}
.flow-screen__canvas-fallback {
  width: 100%; height: 100%; display: block;
}
.flow-screen__badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  padding: 6px 14px; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--accent-light); display: flex; align-items: center; gap: 8px;
}
.flow-screen__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.flow-screen__meta {
  position: absolute; bottom: 0; inset-inline: 0; z-index: 3;
  padding: 16px 20px; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.flow-info__lead {
  font-size: var(--text-md); line-height: var(--lh-normal); margin-bottom: 24px; color: var(--fg);
}
.flow-info__features {
  display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px;
}
.flow-feat {
  display: flex; gap: 14px; align-items: flex-start;
}
.flow-feat__num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-light);
  background: rgba(224, 51, 61, 0.15); border: 1px solid rgba(224, 51, 61, 0.3);
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 2px;
}
.flow-feat__body h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; color: #fff; line-height: 1.4; }
.flow-feat__body p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.7; }

/* ===== サービス一覧 (横スクロール / 3Dチルトカード) ===== */
.hscroll {
  position: relative; padding: clamp(60px, 8vw, 100px) var(--gutter);
  overflow: hidden; max-width: 100vw;
}
.hscroll__track {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) {
  .hscroll { padding: 100px 0; overflow: hidden; }
  .hscroll__title { padding: 0 var(--gutter); margin-bottom: 40px; }
  .hscroll__track {
    display: flex; gap: 32px; padding: 0 var(--gutter);
    width: max-content; will-change: transform;
  }
}
.card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 20px; padding: 36px 30px; backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 380px; width: 100%; transition: border-color 0.3s, transform 0.3s;
}
@media (min-width: 900px) {
  .card { width: 360px; flex: 0 0 360px; }
}
.card:hover {
  border-color: var(--bg-card-border-glow);
  transform: translateY(-4px);
}
.card__no {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-light); font-weight: 700;
  letter-spacing: 0.1em; margin-bottom: 20px;
}
.card__title {
  font-size: 20px; font-weight: 700; margin-bottom: 14px; color: #fff; line-height: var(--lh-tight);
}
.card__text {
  font-size: 14.5px; color: var(--fg); line-height: 1.75; margin-bottom: 24px; flex: 1;
}
.card__items {
  list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px; font-size: 13.5px; color: var(--fg);
}
.card__items li { margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.card__items li::before { content: "•"; color: var(--accent-light); font-weight: bold; }

/* ===== 課題と解決 (PAIN & VALUE) ===== */
.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 40px;
  perspective: 1200px;
}
.pain-item {
  will-change: transform, opacity;
  background: rgba(14, 17, 24, 0.7); border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 24px; border-radius: 16px; display: flex; gap: 16px; align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.pain-item:hover {
  border-color: rgba(224, 51, 61, 0.35); transform: translateY(-2px);
}
.pain-item__badge {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent-light);
  background: rgba(224, 51, 61, 0.15); border: 1px solid rgba(224, 51, 61, 0.35);
  width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; margin-top: 2px;
}
.pain-item__title {
  font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.45;
}
.pain-item p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--fg-muted); }

/* 共感メッセージ引用 */
.message-quote-box {
  background: linear-gradient(135deg, rgba(224, 51, 61, 0.1) 0%, rgba(20, 24, 36, 0.75) 100%);
  border: 1px solid rgba(224, 51, 61, 0.3); border-radius: 20px;
  padding: clamp(24px, 4vw, 36px); display: flex; gap: 24px; align-items: center;
}
.message-quote-icon {
  font-family: var(--font-mono); font-size: 44px; color: var(--accent-light); line-height: 1; flex: 0 0 auto;
}
.message-quote-text {
  font-size: clamp(15px, 1.8vw, 18px); line-height: var(--lh-normal); color: var(--fg); margin: 0;
}
.message-quote-text strong { color: #ffffff; font-weight: 700; }

/* 利用者の声 (VOICE) */
.voice-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 20px; padding: 30px; backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.voice-card__quote {
  font-family: var(--font-mono); font-size: 32px; color: var(--accent-light); line-height: 1; margin-bottom: 12px;
}
.voice-card__text {
  font-size: 14.5px; line-height: 1.82; color: var(--fg); margin: 0 0 24px; flex: 1;
}
.voice-card__author {
  display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 16px;
}
.voice-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #1c2233; color: var(--accent-light);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700;
  font-size: 14px; border: 1px solid rgba(255, 255, 255, 0.15); flex: 0 0 auto;
}
.voice-card__name { font-size: 13.5px; font-weight: 700; color: #fff; }
.voice-card__meta { font-size: 12px; color: var(--fg-muted); }

/* 導入ステップ (STEP) */
.step-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.step-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 20px; padding: 34px 28px; position: relative;
}
.step-num {
  font-family: var(--font-mono); font-size: 34px; font-weight: 900; line-height: 1;
  color: var(--accent-light); margin-bottom: 14px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: #fff; line-height: 1.4; }
.step-card p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.78; margin: 0; }

/* FAQ */
.faq-list {
  max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px;
}
.faq-item {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 16px; padding: 24px 28px;
}
.faq-q {
  font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.45;
  display: flex; align-items: center; gap: 12px;
}
.faq-q span {
  font-family: var(--font-mono); color: var(--accent-light); font-size: 18px; font-weight: 700;
}
.faq-a {
  font-size: 14.5px; color: var(--fg-muted); line-height: 1.82;
  display: flex; align-items: flex-start; gap: 12px;
}
.faq-a span {
  font-family: var(--font-mono); color: var(--fg); font-size: 14px; font-weight: 700; margin-top: 1px;
}

/* 比較カード */
.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.compare-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 20px; padding: 32px; backdrop-filter: blur(12px);
}
.compare-card h3 { font-size: 18px; margin-bottom: 20px; color: #fff; }
.compare-row {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; line-height: 1.6;
}
.compare-tag {
  font-family: var(--font-mono); font-size: 11px; padding: 2px 8px; border-radius: 4px;
  flex: 0 0 auto; margin-top: 2px;
}
.compare-tag.before { background: rgba(255, 255, 255, 0.08); color: var(--fg-muted); }
.compare-tag.after { background: var(--accent); color: #fff; font-weight: 700; }

/* ===== 料金プラン (PLANS) ===== */
.plans {
  background: radial-gradient(80% 60% at 50% 100%, rgba(224, 51, 61, 0.12), transparent 70%), var(--bg);
}
.plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 1040px; margin: 0 auto 40px;
}
.plan-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: 24px; padding: 40px 32px; backdrop-filter: blur(16px);
  display: flex; flex-direction: column; position: relative; transition: all 0.3s;
}
.plan-card.is-featured {
  border-color: rgba(224, 51, 61, 0.5);
  box-shadow: 0 20px 60px rgba(224, 51, 61, 0.2);
  background: linear-gradient(180deg, rgba(28, 16, 20, 0.8) 0%, rgba(18, 22, 33, 0.8) 100%);
}
.plan-badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px;
  padding: 4px 14px; border-radius: 999px; font-weight: 700; letter-spacing: 0.1em;
}
.plan-kicker { font-family: var(--font-mono); font-size: 12px; color: var(--accent-light); margin-bottom: 8px; }
.plan-name { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.plan-price { font-family: var(--font-mono); font-size: clamp(36px, 4vw, 48px); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--fg-muted); }
.plan-term { font-size: 13px; color: var(--fg-muted); margin-bottom: 24px; }
.plan-list {
  list-style: none; padding: 0; margin: 0 0 32px; font-size: 14px; color: var(--fg); flex: 1;
}
.plan-list li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.plan-list svg { width: 18px; height: 18px; color: var(--accent-light); flex: 0 0 auto; margin-top: 3px; }
.plan-cta {
  width: 100%; min-height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.2s;
}
.plan-card.is-featured .plan-cta {
  background: var(--accent); border-color: var(--accent);
}
.plan-cta:hover { background: #fff; color: #000; border-color: #fff; }

/* ===== お問い合わせ (CONTACT) ===== */
.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050608;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-box {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  padding: clamp(28px, 4vw, 44px); border-radius: 24px; backdrop-filter: blur(16px);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--fg);
}
.form-group label .req { color: var(--accent-light); margin-left: 4px; }
.form-control {
  width: 100%; padding: 14px 18px; background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 10px;
  color: #fff; font-family: inherit; font-size: 15px; transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent-light); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* ========================================================
   CGUTS 一直線シリーズ ＆ 無料LP ＆ 29,800円〜専用スタイル
======================================================== */

/* 一直線シリーズ 3大カード（R07 日本テレビアート型 3Dフリップ対応） */
.series-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;
  perspective: 1400px;
}
.series-card {
  position: relative;
  background: transparent;
  border-radius: 24px;
  min-height: 580px;
  transition: transform 0.3s;
  will-change: transform, opacity;
}
.series-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}
.series-card.is-flipped .series-card__inner {
  transform: rotateY(180deg);
}

/* 表面 (Front) */
.series-card__front {
  position: relative;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.series-card:hover .series-card__front {
  border-color: rgba(224, 51, 61, 0.45);
}
.series-card__media {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000;
}
.series-card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease);
}
.series-card:hover .series-card__media img {
  transform: scale(1.05);
}
.series-card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.1em;
}
.series-card__flip-toggle {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  color: var(--accent-light); font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  padding: 4px 10px; cursor: pointer; transition: all 0.2s;
}
.series-card__flip-toggle:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.series-card__body {
  padding: 28px 24px; display: flex; flex-direction: column; flex: 1;
}
.series-card__num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-light);
  letter-spacing: 0.1em; margin-bottom: 8px;
}
.series-card__title {
  font-size: 23px; font-weight: 900; color: #fff; margin-bottom: 6px; line-height: 1.3;
}
.series-card__target {
  font-size: 12px; font-weight: 500; color: var(--gold); margin-bottom: 14px; line-height: 1.5;
}
.series-card__desc {
  font-size: 14px; line-height: 1.78; color: var(--fg); margin-bottom: 16px; flex: 1;
}
.series-card__desc strong { color: #ffffff; }
.series-card__points {
  list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px; font-size: 13px; color: var(--fg-muted);
}
.series-card__points li {
  margin-bottom: 6px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.55;
}
.series-card__points li::before {
  content: "✔"; color: var(--accent-light); font-weight: bold; flex: 0 0 auto;
}
.series-card__footer-actions {
  display: flex; gap: 10px; align-items: center; margin-top: auto;
}
.series-card__btn {
  flex: 1; min-height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 700; background: var(--accent); color: #fff;
  transition: all 0.2s; white-space: nowrap;
}
.series-card__btn:hover {
  background: var(--accent-light); transform: translateY(-1px);
}
.series-card__spec-btn {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--accent-light);
  background: rgba(224, 51, 61, 0.12); border: 1px solid rgba(224, 51, 61, 0.35);
  border-radius: 999px; padding: 12px 14px; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.series-card__spec-btn:hover {
  background: rgba(224, 51, 61, 0.25); border-color: var(--accent-light); color: #fff;
}

/* 裏面 (Back: 日本テレビアート/高単価スタジオ風 技術スペック) */
.series-card__back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  background: linear-gradient(145deg, rgba(20, 26, 40, 0.96) 0%, rgba(10, 12, 18, 0.98) 100%);
  border: 2px solid var(--accent);
  box-shadow: 0 20px 50px rgba(224, 51, 61, 0.3);
  border-radius: 24px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.series-card__back-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.series-card__back-close {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--fg); font-size: 11px; font-family: var(--font-mono); border-radius: 999px;
  padding: 4px 10px; cursor: pointer; transition: all 0.2s;
}
.series-card__back-close:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.series-card__back-title {
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.35;
}
.series-tech-stack {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.tech-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  background: rgba(224, 51, 61, 0.15); border: 1px solid rgba(224, 51, 61, 0.4);
  color: #ff858e; padding: 4px 10px; border-radius: 6px;
}
.series-card__back-metric {
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px;
}
.metric-item {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 8px; font-size: 13px;
}
.metric-item:last-child { border-bottom: none; padding-bottom: 0; }
.metric-label { color: var(--fg-muted); }
.metric-val { font-family: var(--font-mono); font-weight: 700; color: #22c55e; }
.series-card__flip-back-btn {
  margin-top: auto; width: 100%; min-height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.series-card__flip-back-btn:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }
.series-card__desc strong { color: #ffffff; }
.series-card__points {
  list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px; font-size: 13.5px; color: var(--fg-muted);
}
.series-card__points li {
  margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6;
}
.series-card__points li::before {
  content: "✔"; color: var(--accent-light); font-weight: bold; flex: 0 0 auto;
}
.series-card__btn {
  width: 100%; min-height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; background: rgba(224, 51, 61, 0.15); color: #fff;
  border: 1px solid rgba(224, 51, 61, 0.4); transition: all 0.2s;
}
.series-card__btn:hover {
  background: var(--accent); border-color: var(--accent);
}

/* 無料LP作成 セクション */
.free-lp-section {
  background: radial-gradient(80% 60% at 50% 50%, rgba(224, 51, 61, 0.15), transparent 70%), #06070a;
}
.free-lp-box {
  background: linear-gradient(135deg, rgba(28, 16, 22, 0.92) 0%, rgba(18, 22, 33, 0.92) 100%);
  border: 1px solid rgba(224, 51, 61, 0.45); border-radius: 28px; padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  text-align: center; max-width: 960px; margin: 0 auto; position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.free-lp-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 16px;
  letter-spacing: 0.15em; margin-bottom: 20px;
}
.free-lp-title {
  font-size: var(--text-xl); font-weight: 900; line-height: var(--lh-tight); margin-bottom: 20px; color: #fff;
}
.free-lp-desc {
  font-size: var(--text-base); line-height: var(--lh-normal); color: var(--fg);
  max-width: 760px; margin: 0 auto 36px;
}
.free-lp-desc strong { color: #ffffff; }
.free-lp-merits {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 36px;
}
.free-lp-merit-item {
  display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #fff;
  background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 20px; border-radius: 999px;
}
.merit-check {
  color: var(--accent-light); font-weight: bold; font-size: 18px;
}

/* 月額29,800円〜専用カード */
.single-plan-box {
  max-width: 860px; margin: 0 auto;
}
.single-plan-card {
  background: var(--bg-card); border: 2px solid rgba(224, 51, 61, 0.5);
  border-radius: 28px; padding: clamp(32px, 5vw, 56px); position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(224, 51, 61, 0.15);
}
.single-plan-badge {
  position: absolute; top: -14px; left: 40px;
  background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px;
  padding: 4px 16px; border-radius: 999px; font-weight: 700; letter-spacing: 0.12em;
}
.single-plan-header {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 24px;
}
.single-plan-name { font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; color: #fff; margin-bottom: 6px; }
.single-plan-sub { font-size: 14px; color: var(--fg-muted); margin: 0; }
.single-plan-price-wrap { display: flex; align-items: baseline; gap: 6px; }
.single-plan-price-kicker { font-family: var(--font-mono); font-size: 14px; color: var(--fg-muted); }
.single-plan-price {
  font-family: var(--font-mono); font-size: clamp(44px, 6vw, 64px); font-weight: 900; color: #fff; line-height: 1;
}
.single-plan-price-unit { font-size: 14px; color: var(--fg-muted); }
.single-plan-divider {
  height: 1px; background: rgba(255, 255, 255, 0.1); margin-bottom: 32px;
}
.single-plan-body {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px;
}
@media (max-width: 767px) {
  .single-plan-body { grid-template-columns: 1fr; }
}
.single-plan-col h4 {
  font-size: 15px; font-weight: 700; color: var(--accent-light); margin-bottom: 16px; letter-spacing: 0.05em;
}
.plan-condition-box {
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 13px;
}
.cond-item {
  display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 10px;
}
.cond-item:last-child { border-bottom: none; padding-bottom: 0; }
.cond-label { color: var(--fg-muted); }
.cond-val { color: #fff; }

/* ========================================================
   さぽえる（CGUTS公式マスコット）スタイル
======================================================== */

/* ヒーロー内のさぽえるレイアウト（確実に100%視界に入る最適配置） */
.hero__grid-with-mascot {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(16px, 3vw, 40px); align-items: center;
}
@media (max-width: 900px) {
  .hero__grid-with-mascot { grid-template-columns: 1fr; }
  .hero__mascot-col { margin-top: 20px; text-align: center; }
}

.hero__mascot-col {
  display: flex; flex-direction: column; align-items: center; position: relative;
  z-index: 5;
}
.sapoel-bubble {
  background: rgba(18, 22, 33, 0.92); border: 2px solid var(--accent);
  border-radius: 18px; padding: 10px 18px; backdrop-filter: blur(12px);
  position: relative; margin-bottom: 12px; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(224, 51, 61, 0.25);
  animation: floatBubble 3s ease-in-out infinite;
}
.sapoel-bubble::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  border-width: 8px 8px 0; border-style: solid; border-color: var(--accent) transparent transparent;
}
.sapoel-bubble__tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--accent-light);
  letter-spacing: 0.15em; display: block; margin-bottom: 2px;
}
.sapoel-bubble p {
  font-size: 12.5px; font-weight: 700; color: #fff; margin: 0; line-height: 1.5;
}
@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.sapoel-hero-img-wrap {
  position: relative;
  animation: floatSapoel 3s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sapoel-hero-img-wrap::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(224, 51, 61, 0.4) 0%, rgba(255, 118, 59, 0.2) 40%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(20px);
  animation: pulseGlow 3s ease-in-out infinite alternate;
}
.sapoel-hero-img {
  width: clamp(170px, 20vw, 245px);
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(224, 51, 61, 0.35));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sapoel-hero-img:hover {
  transform: scale(1.06) rotate(-2deg);
}
@keyframes floatSapoel {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@keyframes pulseGlow {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0.9; }
}

/* 共感メッセージ内のさぽえる */
.message-quote-box {
  background: linear-gradient(135deg, rgba(224, 51, 61, 0.08) 0%, rgba(20, 24, 36, 0.6) 100%);
  border: 1px solid rgba(224, 51, 61, 0.25); border-radius: 20px;
  padding: clamp(24px, 4vw, 36px); display: flex; gap: 24px; align-items: center;
}
@media (max-width: 767px) {
  .message-quote-box { flex-direction: column; text-align: center; }
}
.sapoel-quote-img-wrap {
  flex: 0 0 auto;
}
.sapoel-quote-img {
  width: 100px; height: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}
.message-quote-body { flex: 1; }

/* 無料LP作成セクション内のさぽえる */
.sapoel-free-lp-badge-wrap {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 16px;
}
.sapoel-free-lp-img {
  width: 110px; height: auto; margin-bottom: 12px;
  filter: drop-shadow(0 10px 25px rgba(224, 51, 61, 0.3));
  animation: floatSapoel 3.5s ease-in-out infinite;
}

/* 画面右下フローティングさぽえる */
.floating-sapoel {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
}
.floating-sapoel__link {
  display: flex; flex-direction: column; align-items: flex-end; text-decoration: none;
}
.floating-sapoel__bubble {
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 6px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(224, 51, 61, 0.4); animation: pulse 2s infinite;
}
.floating-sapoel__img {
  width: 70px; height: auto; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s var(--ease);
}
.floating-sapoel:hover .floating-sapoel__img {
  transform: scale(1.15) rotate(-5deg);
}
@media (max-width: 767px) {
  .floating-sapoel { right: 14px; bottom: 14px; }
  .floating-sapoel__img { width: 56px; }
  .floating-sapoel__bubble { font-size: 10px; padding: 4px 8px; }
}

/* ===== フッター ===== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px var(--gutter); font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}

/* ========================================================
   海外怪物級サイト (Awwwards) 演出スタイル
======================================================== */

/* 1. R10 カスタム追従カーソル */
.custom-cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
}
.custom-cursor__dot {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: var(--accent); border-radius: 50%;
  transition: opacity 0.2s, transform 0.2s;
}
.custom-cursor__ring {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 50%;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), border-color 0.3s;
}
.custom-cursor__text {
  position: absolute; margin: -8px 0 0 24px; font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: #fff;
  opacity: 0; transition: opacity 0.2s; white-space: nowrap; pointer-events: none;
}
.custom-cursor.is-hover .custom-cursor__ring {
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-color: var(--accent-light); background: rgba(224, 51, 61, 0.12);
}
.custom-cursor.is-hover .custom-cursor__dot {
  transform: scale(0.5); opacity: 0.5;
}
.custom-cursor.is-view .custom-cursor__ring {
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-color: rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.custom-cursor.is-view .custom-cursor__text { opacity: 1; margin: -6px 0 0 -24px; }

@media (pointer: coarse), (hover: none) {
  .custom-cursor { display: none !important; }
}

/* 2. R07 3Dチルト＆グレア反射 */
.card, .plan-card, .compare-card {
  position: relative; overflow: hidden; will-change: transform;
}
.card-glare {
  position: absolute; inset: 0; pointer-events: none; z-index: 10;
  border-radius: inherit; transition: background 0.1s ease;
}

/* 3. R11 & 5大要素05 サウンドトグル */
.sound-toggle {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.sound-toggle:hover { border-color: var(--fg); color: var(--fg); }
.sound-toggle.is-active {
  border-color: var(--accent); color: #fff; background: rgba(224, 51, 61, 0.15);
}
.sound-dot {
  width: 6px; height: 6px; border-radius: 50%; display: inline-block;
}
.sound-dot.off { background: rgba(255, 255, 255, 0.3); }
.sound-dot.on { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse 1.5s infinite; }

/* 4. Awwwards型 スクロールプログレス＆テックHUD */
.hud-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px;
  background: transparent; z-index: 200; pointer-events: none;
}
.hud-progress__bar {
  width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent), #ff763b, #4f6bfe);
  transform-origin: left; transform: scaleX(0); will-change: transform;
}
.hud-corner {
  position: fixed; bottom: 20px; left: var(--gutter); z-index: 90;
  font-family: var(--font-mono); font-size: 10px; color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.12em; display: flex; align-items: center; gap: 14px;
  pointer-events: none; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px);
  padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.06);
}
.hud-corner__item { display: flex; align-items: center; gap: 6px; }
.hud-corner__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); }
@media (max-width: 767px) {
  .hud-corner { display: none; }
}

/* SplitText マスクによる文字下端の欠け防止 */
.split-line {
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
[data-split-chars] > div, [data-split-lines] > div {
  padding-bottom: 0.15em;
}

/* 5. 技術PRピル（WORKSセクション / 国内最高峰スタック明示） */
.tech-pr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}
.tech-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-light);
  background: rgba(224, 51, 61, 0.08);
  border: 1px solid rgba(224, 51, 61, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
  box-shadow: 0 0 12px rgba(224, 51, 61, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tech-pill:hover {
  background: rgba(224, 51, 61, 0.2);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(224, 51, 61, 0.25);
}

/* ===== Rinn.co.jp 風 カーテンマスク ＆ インナーパララックス ===== */
.rinn-mask-wrap {
  overflow: hidden;
  position: relative;
  will-change: transform, clip-path;
}
.rinn-mask-curtain {
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.rinn-mask-curtain.is-revealed {
  clip-path: inset(0% 0 0 0);
}
.rinn-inner-img {
  transform: scale(1.18);
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.rinn-mask-curtain.is-revealed .rinn-inner-img {
  transform: scale(1.0);
}

/* テキストの行マスク（Rinn風スリット浮上） */
.rinn-line-wrap {
  overflow: hidden;
  display: block;
}
.rinn-line {
  display: block;
  transform: translateY(105%);
  will-change: transform;
  transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}
.rinn-line.is-revealed {
  transform: translateY(0%);
}


