/* ALMONDBAGGER 共通スタイル — サイバー／TikTok風 #00f2fe / #b026ff + ネオン管グロー強化 */

:root {
  --ab-cyan: #00f2fe;
  --ab-purple: #b026ff;
  --ab-gold: #d4af37;
  --ab-cyan-dim: rgba(0, 242, 254, 0.45);
  --ab-purple-dim: rgba(176, 38, 255, 0.45);
  --neon-cyan-glow: 0 0 16px rgba(0, 242, 254, 0.35), 0 0 36px rgba(0, 242, 254, 0.12),
    inset 0 0 20px rgba(0, 242, 254, 0.04);
  --neon-purple-glow: 0 0 18px rgba(176, 38, 255, 0.32), 0 0 40px rgba(176, 38, 255, 0.1),
    inset 0 0 22px rgba(176, 38, 255, 0.04);
}

.text-balance {
  text-wrap: balance;
}

#about,
#strengths,
#contact,
#contact-free,
#gear,
#roadmap,
#platforms,
#apply-line,
#business-cta,
#business-hero,
#business-pain,
#business-edge,
#business-lineup {
  scroll-margin-top: 5rem;
}

.body-text {
  font-family: "Noto Sans JP", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0.025em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.heading-display {
  font-family: Outfit, "Noto Sans JP", sans-serif;
  letter-spacing: 0.06em;
}

.heading-display-lg {
  font-family: Outfit, "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}

.heading-cyber-accent {
  background: linear-gradient(
    105deg,
    #fff8e8 0%,
    var(--ab-gold) 35%,
    #fff 50%,
    var(--ab-cyan) 72%,
    var(--ab-purple) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 画面隅のネオンオーブ（サイバーライト） */
.cyber-ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 0.38;
}

.cyber-ambient__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cyber-ambient__blob--cyan {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  left: -12%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 68%);
  box-shadow: var(--neon-cyan-glow);
  animation: cyber-pulse-cyan 7s ease-in-out infinite;
}

.cyber-ambient__blob--purple {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  right: -10%;
  top: 12%;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.17) 0%, transparent 70%);
  box-shadow: var(--neon-purple-glow);
  animation: cyber-pulse-purple 8s ease-in-out infinite;
}

@keyframes cyber-pulse-cyan {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes cyber-pulse-purple {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cyber-ambient__blob--cyan,
  .cyber-ambient__blob--purple {
    animation: none;
  }
}

/* ネオン管風ライン（装飾） */
.neon-tube-h {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.2) 18%,
    rgba(0, 242, 254, 0.45) 45%,
    rgba(176, 38, 255, 0.45) 55%,
    rgba(212, 175, 55, 0.2) 82%,
    transparent
  );
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.28), 0 0 20px rgba(176, 38, 255, 0.15);
  border-radius: 999px;
}

.neon-tube-v {
  width: 2px;
  min-height: 3rem;
  background: linear-gradient(
    180deg,
    rgba(0, 242, 254, 0.2),
    rgba(0, 242, 254, 0.9) 40%,
    rgba(176, 38, 255, 0.9) 60%,
    rgba(176, 38, 255, 0.2)
  );
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.45), 0 0 20px rgba(176, 38, 255, 0.3);
  border-radius: 999px;
}

/* bitegami風：感情寄りのモノクロ＋シネマ粒子上乗せ */
.section-bitegami {
  position: relative;
  background: linear-gradient(165deg, #080809 0%, #111113 45%, #0c0c0e 100%);
  overflow: hidden;
}

.section-bitegami::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0, 242, 254, 0.06), transparent 55%);
  mix-blend-mode: screen;
}

.section-bitegami::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.bitegami-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 0 80px rgba(0, 0, 0, 0.65);
}

.bitegami-img {
  filter: grayscale(1) contrast(1.12) brightness(0.92);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.bitegami-frame:hover .bitegami-img {
  filter: grayscale(0.85) contrast(1.08) brightness(0.95);
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .bitegami-frame:hover .bitegami-img {
    transform: none;
  }
}

.bitegami-kicker {
  font-family: Outfit, "Noto Sans JP", sans-serif;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.38);
}

.bitegami-title {
  font-family: Outfit, "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
  color: #f4f4f5;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.scroll-beam-layer {
  --scroll: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 3;
  opacity: 0.48;
  mix-blend-mode: screen;
}

.scroll-beam-layer .beam {
  position: absolute;
  width: 140%;
  left: -20%;
  height: 3px;
  filter: blur(1.5px);
  transform: rotate(-6deg) translateY(calc(var(--scroll) * 0.15px));
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 242, 254, 0) 14%,
    rgba(0, 242, 254, 0.65) 40%,
    rgba(176, 38, 255, 0.65) 52%,
    rgba(0, 242, 254, 0.55) 64%,
    rgba(176, 38, 255, 0) 86%,
    transparent 100%
  );
  box-shadow: 0 0 32px rgba(0, 242, 254, 0.2), 0 0 48px rgba(176, 38, 255, 0.14);
}

.scroll-beam-layer .beam-2 {
  top: 38%;
  opacity: 0.72;
  transform: rotate(-5deg) translateY(calc(var(--scroll) * -0.08px));
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(176, 38, 255, 0.55) 48%,
    rgba(0, 242, 254, 0.5) 55%,
    transparent 95%
  );
}

.scroll-beam-layer .beam-3 {
  top: 62%;
  opacity: 0.52;
  transform: rotate(-7deg) translateY(calc(var(--scroll) * 0.1px));
}

@media (prefers-reduced-motion: reduce) {
  .scroll-beam-layer .beam,
  .scroll-beam-layer .beam-2,
  .scroll-beam-layer .beam-3 {
    transform: rotate(-6deg);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  filter: blur(8px) brightness(0.93);
  transition:
    opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.55s cubic-bezier(0.16, 0.9, 0.28, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0) brightness(1);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    will-change: auto;
  }
}

.lens-section-edge {
  position: relative;
}

.lens-section-edge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 242, 254, 0) 6%,
    rgba(0, 242, 254, 0.65) 34%,
    rgba(255, 255, 255, 0.35) 44%,
    rgba(176, 38, 255, 0.78) 50%,
    rgba(0, 242, 254, 0.55) 56%,
    rgba(176, 38, 255, 0.4) 66%,
    rgba(0, 242, 254, 0) 92%,
    transparent 100%
  );
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.15),
    0 0 36px rgba(0, 242, 254, 0.22),
    0 0 48px rgba(176, 38, 255, 0.14);
  pointer-events: none;
}

.btn-anamorphic {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-anamorphic::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 242, 254, 0) 28%,
    rgba(0, 242, 254, 0.62) 46%,
    rgba(176, 38, 255, 0.58) 52%,
    rgba(0, 242, 254, 0.5) 58%,
    rgba(176, 38, 255, 0) 70%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 0.45s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.btn-anamorphic:hover::after {
  opacity: 0.98;
  transform: translateX(120%);
}

.btn-anamorphic > * {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .btn-anamorphic::after {
    transition: none;
  }

  .btn-anamorphic:hover::after {
    transform: none;
    opacity: 0.3;
  }
}

.hero-imax-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.strength-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(212, 175, 55, 0.14);
  background: linear-gradient(155deg, rgba(22, 23, 31, 0.92) 0%, rgba(14, 15, 20, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 20px 50px -20px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s ease;
}

.strength-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    125deg,
    rgba(212, 175, 55, 0) 0%,
    rgba(0, 242, 254, 0.42) 38%,
    rgba(176, 38, 255, 0.45) 48%,
    rgba(255, 223, 128, 0.65) 50%,
    rgba(176, 38, 255, 0.38) 52%,
    rgba(0, 242, 254, 0.35) 62%,
    rgba(212, 175, 55, 0) 100%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  -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;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.strength-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.42);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.32),
    0 0 40px rgba(0, 242, 254, 0.22),
    0 0 56px rgba(176, 38, 255, 0.25),
    0 0 80px rgba(0, 242, 254, 0.1),
    0 24px 56px -24px rgba(0, 0, 0, 0.75),
    inset 0 0 48px rgba(176, 38, 255, 0.05);
}

.strength-card:hover::before {
  opacity: 1;
  animation: strength-border-shine 2.4s ease-in-out infinite;
}

@keyframes strength-border-shine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strength-card:hover {
    transform: none;
  }

  .strength-card:hover::before {
    animation: none;
    opacity: 0.6;
  }
}

.nav-link-active {
  color: #fff !important;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.35), 0 0 32px rgba(0, 242, 254, 0.2);
}

.bitegami-kicker-jp {
  font-family: Outfit, "Noto Sans JP", sans-serif;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: rgba(212, 175, 55, 0.75);
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* 外部画像レス — シネマティック深度と洗練プレースホルダー */
.cinematic-placeholder {
  position: relative;
  isolation: isolate;
  background-color: #1a1d24;
  background-image:
    radial-gradient(ellipse 85% 70% at 50% 38%, rgba(212, 175, 55, 0.09) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 80% 20%, rgba(176, 38, 255, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 12% 75%, rgba(0, 242, 254, 0.06) 0%, transparent 55%),
    linear-gradient(160deg, rgba(10, 11, 15, 0.35) 0%, transparent 40%, rgba(10, 11, 15, 0.5) 100%);
  border: 1px solid rgba(212, 175, 55, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1rem, 3vw, 1.75rem);
  overflow: hidden;
}

.cinematic-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.03) 50%, transparent 65%);
  pointer-events: none;
}

.cinematic-placeholder__label {
  position: relative;
  z-index: 1;
  font-family: Outfit, "Noto Sans JP", sans-serif;
  font-size: clamp(0.62rem, 1.35vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.65;
  color: #d4af37;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.15);
}

.cinematic-depth {
  position: relative;
  overflow: hidden;
  background-color: #0a0b0f;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 70% 55% at 15% 25%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 92% 35%, rgba(176, 38, 255, 0.1) 0%, transparent 52%),
    linear-gradient(180deg, rgba(18, 19, 26, 0.65) 0%, rgba(10, 11, 15, 0.95) 45%, #0a0b0f 100%);
}

.cinematic-depth::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 40% 25% at 70% 15%, rgba(0, 242, 254, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 35% 20% at 25% 80%, rgba(176, 38, 255, 0.1) 0%, transparent 70%);
  filter: blur(48px);
  opacity: 0.85;
  pointer-events: none;
}

/* Business hero: gradient-only background, gentle “rack focus” without photo */
.business-hero-depth {
  animation: business-hero-depth-focus 1.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: blur(14px) brightness(0.88);
  transform: scale(1.045);
}

@keyframes business-hero-depth-focus {
  to {
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
}

.section-pad {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .section-pad {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-pad {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* business.html — シネマティックヒーロー：フォーカスイン＆アナモルフィック風フレア */
.business-hero-wrap {
  position: relative;
  min-height: min(88vh, 900px);
}

.business-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: business-hero-focus-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: blur(14px) brightness(0.75);
  transform: scale(1.07);
}

@keyframes business-hero-focus-in {
  to {
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
}

.business-anamorphic-layer {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.business-flare-h {
  position: absolute;
  left: -20%;
  width: 55%;
  height: 18%;
  top: 22%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 242, 254, 0.55),
    rgba(255, 248, 220, 0.35),
    rgba(176, 38, 255, 0.5),
    transparent
  );
  filter: blur(14px);
  opacity: 0.65;
  transform: rotate(-8deg);
  mix-blend-mode: screen;
  box-shadow: 0 0 60px 20px rgba(0, 242, 254, 0.12);
}

.business-flare-v {
  position: absolute;
  right: -5%;
  top: -15%;
  width: 38%;
  height: 130%;
  background: linear-gradient(
    165deg,
    transparent 20%,
    rgba(176, 38, 255, 0.22) 45%,
    rgba(0, 242, 254, 0.12) 55%,
    transparent 75%
  );
  filter: blur(28px);
  opacity: 0.7;
  mix-blend-mode: screen;
}

.business-flare-h--low {
  top: auto;
  bottom: 18%;
  left: 30%;
  width: 70%;
  height: 12%;
  opacity: 0.45;
  transform: rotate(6deg);
}

.business-problem-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: linear-gradient(165deg, rgba(22, 23, 31, 0.95) 0%, rgba(10, 11, 15, 0.98) 100%);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.business-problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow:
    0 0 0 1px rgba(176, 38, 255, 0.15),
    0 24px 48px -20px rgba(0, 0, 0, 0.85),
    0 0 48px rgba(0, 242, 254, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .business-hero-photo,
  .business-hero-depth {
    animation: none;
    filter: none;
    transform: none;
  }

  .business-problem-card:hover {
    transform: none;
  }
}

/* index — 映画スクリーン風 21:9 フレーム */
.screen-frame-21x9 {
  position: relative;
  border-radius: 0.75rem;
  padding: clamp(0.35rem, 1.2vw, 0.6rem);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(26, 29, 36, 0.92) 38%,
    rgba(10, 11, 15, 0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(212, 175, 55, 0.18),
    0 24px 60px -18px rgba(0, 0, 0, 0.85);
}

.screen-frame-21x9__inner {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 0.4rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.screen-frame-21x9__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .screen-frame-21x9:hover .screen-frame-21x9__inner img {
    transform: scale(1.04);
  }
}

/* トップ — フルブリードヒーロー背景 */
.index-hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  min-height: min(92vh, 920px);
}

.index-hero-bg img {
  width: 100%;
  height: 100%;
  min-height: min(92vh, 920px);
  object-fit: cover;
  object-position: center 38%;
}
