/* =========================================================
   Reset / Base
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  background: #000;
  color: #e6f7ff;
  font-family: "Orbitron", sans-serif;
}
.container {
  max-width: 1200px;
  margin: 120px auto 0;
  padding: 0 24px;
}

/* =========================================================
   First View (rings + glitch logo + cyber grid)
========================================================= */
.fv {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #000;
}
.fv.hidden {
  display: none;
}

.fv ul {
  position: absolute;
  z-index: 3;
  display: block;
  /* width: 100%;
  height: 100%; */
  left: 50%;
  top: 50%;
  margin: 0 auto;
  transform: translate(-50%, -50%) scale(1.5);
}
.fv li {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  background: transparent;
  border: 10px solid rgba(23, 246, 251, 1);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 500px;
  transition: all 0.5s ease;
  box-sizing: content-box;
}
.fv li:last-child {
  z-index: 20;
  width: 200px;
  height: 100px;
  margin-left: -110px;
  margin-top: -110px;
  padding: 70px 0 30px;
  border: 10px solid rgba(8, 8, 8, 1);
  border-radius: 200px;
  box-shadow: 0 0 30px rgba(23, 246, 251, 0.5);
  animation: pulseShadow 5s infinite linear;
}
.fv li:last-child:after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 200px;
  height: 200px;
  display: block;
  border: 3px dotted rgba(22, 42, 43, 1);
  border-radius: 200px;
  background: transparent;
  box-shadow: inset 0 0 30px #000;
}
.fv li:first-child {
  margin-left: -130px;
  margin-top: -130px;
  z-index: 2;
  width: 240px;
  height: 240px;
  border-width: 10px;
  animation: spinBG 5s infinite linear;
}
.fv li:nth-child(2) {
  margin-left: -137px;
  margin-top: -137px;
  z-index: 1;
  width: 270px;
  height: 270px;
  border-width: 2px;
  border-style: dotted;
  box-shadow: 0 0 20px rgba(23, 246, 251, 0.5);
  animation: spinBG2 2s infinite linear;
}
.fv li:nth-child(3) {
  margin-left: -150px;
  margin-top: -150px;
  z-index: 1;
  width: 296px;
  height: 296px;
  border-width: 2px;
  box-shadow: inset 0 0 25px rgba(23, 246, 251, 0.25);
  animation: spinBG 12s infinite linear;
}
.fv li:nth-child(4) {
  margin-left: -170px;
  margin-top: -170px;
  z-index: 1;
  width: 330px;
  height: 330px;
  border-width: 5px;
  border-style: solid;
  box-shadow: inset 0 0 25px rgba(23, 246, 251, 1);
  animation: spinBG3 8s infinite linear;
}

@keyframes pulseShadow {
  0% {
    box-shadow: 0 0 30px rgba(23, 246, 251, 0.25);
  }
  50% {
    box-shadow: 0 0 30px rgba(23, 246, 251, 0.75);
  }
  100% {
    box-shadow: 0 0 30px rgba(23, 246, 251, 0.25);
  }
}
@keyframes spinBG {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinBG2 {
  0% {
    transform: rotate(360deg);
    box-shadow: 0 0 1px rgba(23, 246, 251, 0.5);
  }
  50% {
    transform: rotate(180deg);
    box-shadow: 0 0 20px rgba(23, 246, 251, 0.5);
  }
  100% {
    transform: rotate(0);
    box-shadow: 0 0 1px rgba(23, 246, 251, 0.5);
  }
}
@keyframes spinBG3 {
  0% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-180deg);
  }
}

/* glitch logo */
.glitch-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 100px;
  z-index: 2;
}
.glitch-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}
.glitch-logo .base {
  opacity: 0;
}
.glitch-logo .slice {
  opacity: 0;
}
.glitch-logo .slice.r {
  mix-blend-mode: screen;
  filter: hue-rotate(310deg) saturate(1.9) contrast(1.15);
}
.glitch-logo .slice.b {
  mix-blend-mode: screen;
  filter: hue-rotate(190deg) saturate(1.9) contrast(1.15);
}
.glitch-logo.intro .base {
  opacity: 1;
}
.glitch-logo.intro .slice {
  opacity: 0.95;
}
.glitch-logo.glitch .slice {
  opacity: 0.95;
}

/* cyber grid */
.bg-cyber-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bg-cyber-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 800px at 50% 120%,
      rgba(0, 255, 255, 0.1),
      transparent 70%
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(0, 255, 255, 0.065) 0 2px,
      transparent 2px 5px
    );
  animation: scanMove 10s linear infinite;
}
@keyframes scanMove {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 0 200px;
  }
}
.bg-cyber-grid::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -10%;
  top: 30%;
  background: linear-gradient(
        to right,
        rgba(0, 255, 255, 0.28) 1px,
        transparent 1px
      )
      0 0/60px 60px,
    linear-gradient(to top, rgba(0, 255, 255, 0.28) 1px, transparent 1px) 0 0/60px
      60px,
    radial-gradient(
      800px 500px at 50% 120%,
      rgba(0, 180, 255, 0.18),
      transparent 70%
    );
  transform: perspective(900px) rotateX(62deg) translateZ(0);
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.45));
  animation: gridDrift 12s linear infinite;
  opacity: 0.9;
}
@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 -240px, 0 -240px, 0 0;
  }
}

/* =========================================================
   Panels
========================================================= */
.view {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.panel {
  position: absolute;
  inset: 0;
  transition: filter 900ms cubic-bezier(0.2, 0.8, 0.1, 1),
    opacity 900ms cubic-bezier(0.2, 0.8, 0.1, 1);
}
.panel[hidden] {
  display: none;
}
.panel.is-active {
  display: block;
}
body.is-home .view {
  display: none;
}

/* ===== セクション内タイトル（ホロ露出） ===== */
.sec-title {
  font-weight: 800;
  font-size: clamp(28px, 6vw, 72px);
  letter-spacing: 0.14em;
  line-height: 1.08;
  color: #89fff6;
  margin: 0;
  position: relative;
  isolation: isolate;
  opacity: 0;
  transform: translateY(6px);
}
.sec-title.title--holo.is-on {
  animation: holoIn 1100ms cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
}
@keyframes holoIn {
  0% {
    opacity: 0;
    filter: blur(8px) contrast(1.4) saturate(1.1) hue-rotate(8deg);
    transform: translateY(10px);
    text-shadow: 0 0 16px rgba(0, 255, 255, 0.32),
      -1px 0 rgba(255, 70, 160, 0.35), 1px 0 rgba(0, 180, 255, 0.35);
  }
  40% {
    opacity: 0.9;
  }
  70% {
    filter: blur(2px);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: none;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.3);
  }
}

/* =========================================================
   Cyber Menu（Hoverで“グリッチ”）
========================================================= */
.cy-menu {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 90;
}
.cy-item {
  --bw: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 0 16px;
  text-decoration: none;
  color: #9ffcff;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  user-select: none;
  outline: none;
  cursor: pointer;
  background: transparent;
}
.cy-item .label {
  position: relative;
  z-index: 4;
  transition: color 0.25s ease, letter-spacing 0.25s ease,
    text-shadow 0.25s ease;
}
.cy-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 2px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    92% 100%,
    92% 78%,
    80% 78%,
    80% 100%,
    8% 100%,
    0 70%
  );
  background: #062a2f;
  opacity: 0.28;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.12);
}
.cy-item .cy-outline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.cy-item .cy-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    92% 100%,
    92% 78%,
    80% 78%,
    80% 100%,
    8% 100%,
    0 70%
  );
  border: 2px solid rgba(0, 255, 255, 0.55);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.35);
  transition: opacity 0.25s ease, filter 0.25s ease;
  opacity: 0.85;
}
.cy-item .gltch-border,
.cy-item .gltch-border::before,
.cy-item .gltch-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  z-index: 3;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    92% 100%,
    92% 78%,
    80% 78%,
    80% 100%,
    8% 100%,
    0 70%
  );
  pointer-events: none;
  opacity: 0;
}
.cy-item .gltch-border {
  border: var(--bw) solid rgba(0, 255, 255, 0.75);
}
.cy-item .gltch-border::before {
  border: var(--bw) solid rgba(255, 20, 147, 0.8);
  transform: translate(1px, -1px);
  mix-blend-mode: screen;
}
.cy-item .gltch-border::after {
  border: var(--bw) solid rgba(0, 160, 255, 0.8);
  transform: translate(-1px, 1px);
  mix-blend-mode: screen;
}
.cy-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 2px;
  opacity: 0;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    92% 100%,
    92% 78%,
    80% 78%,
    80% 100%,
    8% 100%,
    0 70%
  );
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0) 0 6px,
    rgba(0, 255, 255, 0.35) 6px 8px,
    rgba(0, 255, 255, 0) 8px 14px
  );
  mix-blend-mode: screen;
  filter: blur(0.3px);
}
.cy-item .bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  overflow: hidden;
  opacity: 0.75;
  z-index: 4;
}
.cy-item .bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00f5ff, #ffd84a);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
  transition: width 0.35s cubic-bezier(0.25, 0.7, 0.1, 1);
}
.cy-item .scan {
  display: none;
}

.cy-item:hover,
.cy-item:focus-visible {
  color: #fff;
}
.cy-item:hover .bar::before,
.cy-item:focus-visible .bar::before {
  width: 100%;
}
.cy-item:hover .cy-outline::before,
.cy-item:focus-visible .cy-outline::before {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.95));
}
.cy-item:hover .gltch-border,
.cy-item:focus-visible .gltch-border {
  opacity: 1;
  animation: glitchBorder 900ms steps(2, end) infinite;
}
.cy-item:hover .gltch-border::before,
.cy-item:focus-visible .gltch-border::before {
  opacity: 0.9;
  animation: glitchShiftP 900ms steps(2, end) infinite;
}
.cy-item:hover .gltch-border::after,
.cy-item:focus-visible .gltch-border::after {
  opacity: 0.9;
  animation: glitchShiftC 900ms steps(2, end) infinite;
}
.cy-item:hover::after,
.cy-item:focus-visible::after {
  opacity: 0.6;
  animation: glitchSlices 700ms steps(2, end) infinite;
}
.cy-item:hover .label,
.cy-item:focus-visible .label {
  letter-spacing: 0.16em;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.65), 1px 0 rgba(0, 255, 255, 0.6),
    -1px 0 rgba(255, 216, 74, 0.45);
}

.cy-item.is-active {
  color: #fff;
}
.cy-item.is-active .cy-outline::before {
  border-color: rgba(0, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}
.cy-item.is-active .bar::before {
  width: 100%;
  transition-duration: 0.5s;
}
.cy-item:focus-visible {
  outline: 2px dashed #00f5ff;
  outline-offset: 2px;
}

@keyframes glitchBorder {
  0%,
  32%,
  100% {
    transform: translate(0, 0);
  }
  8% {
    transform: translate(1px, -1px);
  }
  16% {
    transform: translate(-1px, 1px);
  }
  24% {
    transform: translate(1px, 0);
  }
}
@keyframes glitchShiftP {
  0%,
  30%,
  100% {
    transform: translate(1px, -1px);
  }
  10% {
    transform: translate(2px, -2px);
  }
  20% {
    transform: translate(-1px, 0);
  }
}
@keyframes glitchShiftC {
  0%,
  30%,
  100% {
    transform: translate(-1px, 1px);
  }
  10% {
    transform: translate(-2px, 2px);
  }
  20% {
    transform: translate(1px, 0);
  }
}
@keyframes glitchSlices {
  0%,
  100% {
    background-position: 0 0;
    filter: blur(0.3px);
  }
  15% {
    background-position: 0 6px;
  }
  30% {
    background-position: 0 -4px;
  }
  45% {
    background-position: 0 10px;
  }
  60% {
    background-position: 0 -6px;
  }
  75% {
    background-position: 0 4px;
  }
}

/* =========================================================
   DATA RAIN overlay（+ ブラックアウト）
========================================================= */
.fx {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}
.fx > * {
  position: absolute;
  inset: 0;
}
.fx--rain .veil {
  background: #000;
  opacity: 0;
  animation: veilCycle var(--total-ms, 3200ms) ease-in-out forwards;
}
@keyframes veilCycle {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.fx--rain .rain {
  background: repeating-linear-gradient(
      to bottom,
      rgba(0, 255, 255, 0.1) 0 2px,
      transparent 2px 6px
    ),
    radial-gradient(
      1000px 600px at 50% 110%,
      rgba(0, 255, 255, 0.16),
      transparent 70%
    );
  filter: contrast(1.18) saturate(1.22);
  opacity: 1;
  animation: rainBaseOut 700ms ease-out forwards var(--tail-delay, 2600ms);
}
@keyframes rainBaseOut {
  to {
    opacity: 0;
  }
}
.fx--rain .columns {
  display: grid;
  grid-template-columns: repeat(var(--cols, 32), 1fr);
  gap: 2px;
  mix-blend-mode: screen;
}
.fx--rain .columns span {
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0),
    rgba(0, 255, 255, 0.48),
    rgba(0, 255, 255, 0)
  );
  transform: translateY(-110%);
  opacity: 0;
  animation: rainDrop var(--drop-ms, 1800ms) cubic-bezier(0.2, 0.8, 0.1, 1)
    forwards;
}
@keyframes rainDrop {
  0% {
    transform: translateY(-110%);
    opacity: 0;
  }
  40% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(110%);
    opacity: 0;
  }
}
.fx--rain .scrub {
  background: linear-gradient(
    90deg,
    rgba(0, 255, 255, 0),
    rgba(0, 255, 255, 0.55),
    rgba(0, 255, 255, 0)
  );
  transform: translateX(-120%);
  mix-blend-mode: screen;
  filter: blur(1px);
  opacity: 0;
  animation: rainScrub var(--scrub-ms, 1300ms) cubic-bezier(0.25, 0.7, 0.1, 1)
    forwards var(--scrub-delay, 1500ms);
}
@keyframes rainScrub {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  25% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
.fx--rain .fade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  animation: fadeSoft var(--fade-ms, 650ms) ease-out forwards
    var(--fade-delay, 2700ms);
}
@keyframes fadeSoft {
  from {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}

/* =========================================================
   Post-switch PAGE SCAN overlay（スキャン線＋露出）
========================================================= */
.scan-veil {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}
.scan-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 255, 255, 0.08) 0 2px,
    transparent 2px 6px
  );
  opacity: 0.55;
  filter: blur(0.2px);
  animation: scanTexture 2.4s linear infinite;
}
@keyframes scanTexture {
  from {
    transform: translateY(-12px);
  }
  to {
    transform: translateY(12px);
  }
}
.scan-veil .scan-bar {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 8px;
  top: -10%;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 255, 0),
    rgba(0, 255, 255, 0.85),
    #fff,
    rgba(0, 255, 255, 0.85),
    rgba(0, 255, 255, 0)
  );
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.75), 0 0 22px rgba(0, 255, 255, 0.55),
    0 0 40px rgba(0, 255, 255, 0.28);
  animation: scanTraverse var(--scan-ms, 3200ms) cubic-bezier(0.83, 0, 0.17, 1)
    forwards;
}
.scan-veil .trail {
  position: absolute;
  left: 6%;
  right: 6%;
  top: -30%;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.18), transparent 40%);
  filter: blur(4px);
  animation: scanTrail var(--scan-ms, 3200ms) cubic-bezier(0.83, 0, 0.17, 1)
    forwards;
}
@keyframes scanTraverse {
  0% {
    transform: translateY(-12%);
  }
  100% {
    transform: translateY(112%);
  }
}
@keyframes scanTrail {
  0% {
    transform: translateY(-18%);
  }
  100% {
    transform: translateY(108%);
  }
}

/* ===============================
   ABOUT / BUSINESS: Split Tabs（共有スタイル）
=============================== */
.about-split {
  --c-cyan: #7ffaff;
  --c-cyan-strong: #9ffcff;
  --c-cyan-edge: rgba(0, 255, 255, 0.85);
  --c-deep: #06181b;
  --c-deeper: #041013;
  --shadow: 0 0 28px rgba(0, 255, 255, 0.18), 0 0 10px rgba(0, 255, 255, 0.22);
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 28px;
  margin-top: 28px;
}

/* 左タブ群 */
.st-tabs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.st-tab {
  position: relative;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 22px 0 56px;
  background: linear-gradient(180deg, #0e2b2f 0%, #0b2226 100%);
  color: #bceff7;
  border: none;
  cursor: pointer;

  letter-spacing: 0.12em;
  text-align: left;
  outline: none;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 96% 100%, 0 100%);
  box-shadow: inset 0 0 0 2px rgba(0, 255, 255, 0.22),
    0 2px 0 rgba(0, 0, 0, 0.5);
  transition: filter 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.st-tab:hover {
  filter: brightness(1.06);
}
.st-tab.is-active {
  box-shadow: inset 0 0 0 2px var(--c-cyan-edge),
    0 0 20px rgba(0, 255, 255, 0.35);
}
.st-tab::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 10px;
  background: linear-gradient(
    180deg,
    rgba(160, 255, 255, 0.9),
    rgba(40, 210, 210, 0.85)
  );
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.75),
    inset 0 0 10px rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  opacity: 0.12;
  transition: opacity 0.25s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.1, 1);
  transform: translateZ(0);
}
.st-tab.is-active::before {
  opacity: 1;
}
.st-tab__label {
  font-weight: 800;
  font-size: 18px;
  color: #c8f9ff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.35);
  font-family: "Orbitron", sans-serif;
}

/* 右パネルステージ */
.st-stage {
  position: relative;
  min-height: 420px;
}
.st-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

/* サイバー枠ボックス（角丸ナシ／シャープ） */
.st-box {
  position: relative;
  height: 100%;
  padding: 38px 34px 34px;
  background: linear-gradient(180deg, #061416 0%, #030b0d 100%);
  color: #e7ffff;
  isolation: isolate;
  clip-path: polygon(
    0 0,
    98% 0,
    100% 6%,
    100% 92%,
    98% 100%,
    12px 100%,
    0 95%,
    0 0
  );
  box-shadow: var(--shadow);
}
.st-box::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(
    2px 2px,
    calc(100% - 2px) 2px,
    calc(100% - 2px) calc(100% - 18px),
    calc(100% - 18px) calc(100% - 2px),
    2px calc(100% - 2px),
    2px 2px
  );
  box-shadow: inset 0 0 0 2px var(--c-cyan-edge),
    0 0 18px rgba(0, 255, 255, 0.32);
  pointer-events: none;
}
.st-box::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, transparent 50%, var(--c-cyan-edge) 51%)
    no-repeat;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}
.st-box__ver {
  position: absolute;
  right: 18px;
  top: 10px;

  font-size: 12px;
  letter-spacing: 0.08em;
  color: #aef6ff;
  opacity: 0.85;
}
.st-box__rule {
  height: 2px;
  margin: 14px 0 22px;
  background: linear-gradient(
    90deg,
    var(--c-cyan-edge),
    rgba(0, 255, 255, 0.2)
  );
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

/* 内容 */
.st-ttl {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 2rem;
  color: #bffcff;
  margin-bottom: 10px;
}
.st-lead {
  font-weight: 800;
  font-size: 26px;
  line-height: 1.35;
  margin: 20px 0 14px;
}
.st-txt {
  opacity: 0.95;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}
.about-values-item {
  background: #061316;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.1);
  padding: 14px;
}
.about-values-item h4 {
  font-size: 1.3rem;
}
.about-values-item p {
  margin-top: 1rem;
}
/*business*/
.biz-rail {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

/* 上段：横カード */
.biz-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}
.biz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding: 22px 18px 20px 18px;
  width: 100%;
  cursor: pointer;
  background: linear-gradient(180deg, #0e2b2f 0%, #0b2226 100%);
  color: #c9fbff;
  border: none;
  text-align: left;
  isolation: isolate;
  outline: none;
  clip-path: polygon(
    0 0,
    96% 0,
    100% 14%,
    100% 100%,
    8% 100%,
    0 88%
  ); /* 角カット：ABOUTとは違う造形 */
  box-shadow: inset 0 0 0 2px rgba(0, 255, 255, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.1, 1),
    box-shadow 0.28s ease, filter 0.28s ease;
}
.biz-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.biz-card.is-active {
  box-shadow: inset 0 0 0 2px rgba(0, 255, 255, 0.85),
    0 0 22px rgba(0, 255, 255, 0.28);
}
.biz-card:focus-visible {
  outline: 2px dashed #00f5ff;
  outline-offset: 3px;
}

/* タイポ */
.biz-card .b-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.8;
  font-family: "Orbitron", sans-serif;
}
.biz-card .b-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #e9feff;
  font-family: "Orbitron", sans-serif;
}
.biz-card .b-sub {
  font-size: 13px;
  opacity: 0.85;
  font-family: "Orbitron", sans-serif;
}

/* ネオン縁取りとスキャンの装飾 */
.biz-card .b-glow {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inherit;
  box-shadow: inset 0 0 0 2px rgba(0, 255, 255, 0.18),
    0 0 14px rgba(0, 255, 255, 0.22);
}
.biz-card.is-active .b-glow {
  box-shadow: inset 0 0 0 2px rgba(0, 255, 255, 0.85),
    0 0 18px rgba(0, 255, 255, 0.35);
}
.biz-card .b-scan {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(160, 255, 255, 0.9),
    transparent
  );
}
.biz-card.is-active .b-scan {
  animation: bizCardScan 1200ms cubic-bezier(0.16, 0.84, 0.12, 1) forwards;
}
@keyframes bizCardScan {
  0% {
    transform: translateX(-20%);
    opacity: 0;
  }
  25% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* 下段：ドロワー */
.biz-drawer {
  position: relative;
}
.drawer-frame {
  position: relative;
}
.drawer-box {
  position: relative;
  padding: 34px 32px 30px;
  background: linear-gradient(180deg, #061416 0%, #030b0d 100%);
  color: #e7ffff;
  clip-path: polygon(
    0 0,
    98% 0,
    100% 6%,
    100% 100%,
    0 100%
  ); /* 右上のみ角カット */
  box-shadow: 0 0 28px rgba(0, 255, 255, 0.18), 0 0 10px rgba(0, 255, 255, 0.22);
}
.drawer-box::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(
    2px 2px,
    calc(100% - 2px) 2px,
    calc(100% - 2px) 22px,
    calc(100% - 22px) 2px,
    2px 2px,
    2px calc(100% - 2px),
    calc(100% - 2px) calc(100% - 2px),
    calc(100% - 2px) 2px
  );
  /* 細い発光ライン：右上のカット強調 */
  box-shadow: inset 0 0 0 2px rgba(0, 255, 255, 0.85),
    0 0 18px rgba(0, 255, 255, 0.24);
  pointer-events: none;
}

.drawer-ver {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #aef6ff;
  opacity: 0.85;
}
.drawer-rule {
  height: 2px;
  margin: 12px 0 18px;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 255, 0.85),
    rgba(0, 255, 255, 0.18)
  );
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

/* 中身（切替） */
.drawer-panels {
  position: relative;
  min-height: 200px;
}
.drawer-panel {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.drawer-panel[hidden] {
  display: none;
}
.drawer-panel.is-active {
  opacity: 1;
  transform: none;
}

/* タイポ */
.dw-ttl {
  font: 800 20px/1 "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.12em;
  color: #bffcff;
  margin-bottom: 8px;
  font-size: 1.75rem;
}
.dw-lead {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.38;
  margin: 20px 0 12px;
}
.dw-list {
  display: grid;
  gap: 8px;
  margin-left: 0;
  padding-left: 0;
}
.dw-list li {
  list-style: none;
  line-height: 1.65;
  opacity: 0.95;
}

/* スキャン（横走査） */
.drawer-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
      90deg,
      transparent 0 45%,
      rgba(160, 255, 255, 0.28) 48% 52%,
      transparent 55% 100%
    ),
    linear-gradient(180deg, rgba(0, 255, 255, 0.08) 0 2px, transparent 2px 6px);
  mix-blend-mode: screen;
  filter: blur(0.3px);
}
.drawer-box.is-scan .drawer-scan {
  opacity: 1;
  animation: drawerScan 1600ms cubic-bezier(0.16, 0.84, 0.12, 1) forwards;
}
@keyframes drawerScan {
  0% {
    transform: translateX(-120%);
    opacity: 0.85;
  }
  70% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
.drawer-box.is-scan .drawer-panels {
  filter: blur(0.35px) contrast(1.04);
}
.drawer-box.post-scan .drawer-panels {
  filter: none;
  transition: filter 0.35s ease;
}

/* ===============================
   Company セクション用
   =============================== */

/* 全体レイアウト */
.company-overview,
.company-history {
  width: 100%;
  margin-top: 4rem;
  display: grid;
  gap: 0.8rem;
}

/* 各項目の配置（dt/ddを横並び） */
.company-overview div,
.company-history div {
  display: grid;
  grid-template-columns: 16rem 1fr;
  align-items: start;
  gap: 1.6rem;
  padding: 1.2rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

/* 左項目 */
.company-overview dt,
.company-history dt {
  font-weight: 700;
  color: #0ff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 右項目 */
.company-overview dd,
.company-history dd {
  margin: 0;
  color: #eee;
  line-height: 1.7;
}

/* 沿革リスト専用 */
.company-history div {
  grid-template-columns: 10rem 1fr;
}

/* アクセス地図 */
.company-access {
  margin: 4rem 0;
}
.company-access iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}
.company-access .access-notes {
  list-style: disc;
  padding-left: 2rem;
  margin-top: 1rem;
  color: #ccc;
  font-size: 1.4rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company-overview div,
  .company-history div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .company-overview dt,
  .company-history dt {
    color: #0ff;
    text-shadow: none;
  }
}
/* =========================================================
   COMPANY: 数字インデックス付き（システムリスト風）
   使用例: <section id="sec-company" class="panel company--index">
   ========================================================= */
.company--index .company-overview {
  counter-reset: comp 0;
  width: 100%;
  margin-top: 3.2rem;
  display: grid;
  gap: 1.2rem;
  position: relative;
  padding-left: 4.8rem; /* 左に番号レール分の余白 */
}
.company--index .company-overview div {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(127, 252, 255, 0.12);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
/* 数字バッジ */
.company--index .company-overview div::before {
  counter-increment: comp 1;
  content: counter(comp, decimal-leading-zero);
  position: absolute;
  left: -4.8rem; /* レール上の番号位置 */
  top: 50%;
  transform: translateY(-50%);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 700 1.3rem/1 "Orbitron", system-ui, sans-serif;
  color: #001315;
  background: linear-gradient(180deg, #7ffcff, #52f2ff);
  box-shadow: 0 0 18px rgba(127, 252, 255, 0.45),
    inset 0 -2px 6px rgba(0, 0, 0, 0.25);
}
/* 左レール/連結ライン */
.company--index .company-overview::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(127, 252, 255, 0),
    rgba(127, 252, 255, 0.55),
    rgba(127, 252, 255, 0)
  );
  box-shadow: 0 0 10px rgba(127, 252, 255, 0.35);
}
/* ラベル/値 */
.company--index .company-overview dt {
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #7ffcff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.45);
}
.company--index .company-overview dd {
  margin: 0;
  color: #eee;
  line-height: 1.9;
}
/* ホバー微アニメ（reduced motion配慮） */
@media (prefers-reduced-motion: no-preference) {
  .company--index .company-overview div:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 30px rgba(0, 255, 255, 0.06);
  }
}
/* スマホ調整 */
@media (max-width: 768px) {
  .company--index .company-overview {
    padding-left: 4.2rem;
  }
  .company--index .company-overview div {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.3rem 1.4rem;
  }
  .company--index .company-overview div::before {
    left: -4.2rem;
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.2rem;
  }
}
/* --- 数字バッジ見切れ修正 --- */
.company--index .company-overview div {
  overflow: visible !important;
}
.company--index .company-overview div::before {
  left: -3.6rem; /* 以前より内側へ */
  z-index: 2; /* 背面に埋もれないように */
  box-shadow: 0 0 15px rgba(127, 252, 255, 0.55),
    inset 0 -2px 6px rgba(0, 0, 0, 0.25);
}
.company--index .company-overview {
  padding-left: 3.6rem; /* レールとのバランス調整 */
}
/* =========================================================
   COMPANY: シンプル＆未来感キープ（数字インデックス精密版）
   - 必須: .company--index を #sec-company に付与
   - 省スペース版: .company--compact を併用可
   - 数字バッジを消したい時: .is-plain を追加
   ========================================================= */

/* レール & レイアウト */
.company--index .company-overview {
  counter-reset: comp 0;
  width: 100%;
  margin-top: 3.2rem;
  display: grid;
  gap: 1.2rem;
  position: relative;
  padding-left: 3.6rem; /* 左レールぶん */
}
.company--index .company-overview::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(127, 252, 255, 0.12),
    rgba(127, 252, 255, 0.35),
    rgba(127, 252, 255, 0.12)
  );
  filter: drop-shadow(0 0 6px rgba(127, 252, 255, 0.35));
}

/* 行（カード） */
.company--index .company-overview div {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  align-items: center;
  gap: 1.8rem;
  padding: 1.4rem 1.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(127, 252, 255, 0.12);
  position: relative;
  overflow: visible; /* 数字が見切れないように */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* 数字インデックス（01,02,...） */
.company--index .company-overview div::before {
  counter-increment: comp 1;
  content: counter(comp, decimal-leading-zero);
  position: absolute;
  left: -3.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 700 1.2rem/1 "Orbitron", system-ui, sans-serif;
  color: #001315;
  background: linear-gradient(180deg, #7ffcff, #4fe8ff);
  box-shadow: 0 0 12px rgba(127, 252, 255, 0.45),
    inset 0 -2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
/* 数字を消したい場合（.is-plain を section に追加） */
.company--index.is-plain .company-overview div::before {
  display: none;
}
.company--index.is-plain .company-overview {
  padding-left: 1.6rem;
}
.company--index.is-plain .company-overview::before {
  left: 0.6rem;
}

/* テキスト */
.company--index .company-overview dt {
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #7ffcff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.38);
}
.company--index .company-overview dd {
  margin: 0;
  color: #eee;
  line-height: 1.9;
}

/* さりげないホバー（モーション配慮） */
@media (prefers-reduced-motion: no-preference) {
  .company--index .company-overview div {
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }
  .company--index .company-overview div:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 10px 24px rgba(0, 255, 255, 0.06);
  }
}

/* 省スペース（任意） */
.company--index.company--compact .company-overview div {
  padding: 1.1rem 1.4rem;
  gap: 1.2rem;
}
.company--index.company--compact .company-overview div::before {
  width: 3rem;
  height: 3rem;
  left: -3.2rem;
  font-size: 1.1rem;
}

/* スマホ */
@media (max-width: 768px) {
  .company--index .company-overview {
    padding-left: 3.2rem;
  }
  .company--index .company-overview div {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .company--index .company-overview div::before {
    left: -3.2rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
  }
}
/* テーマ色（必要ならここだけ差し替え） */
:root {
  --cy: #7ffcff; /* シアン */
  --cy-d: #45e9ff; /* 影用濃いめ */
}

/* 数字バッジの立体感 */
.company--index .company-overview div::before {
  background: radial-gradient(
    120% 120% at 30% 30%,
    var(--cy) 0%,
    var(--cy-d) 55%,
    #29c9e5 100%
  );
  box-shadow: 0 0 18px color-mix(in oklab, var(--cy) 55%, transparent),
    inset 0 2px 8px rgba(255, 255, 255, 0.25),
    inset 0 -6px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid color-mix(in oklab, var(--cy) 45%, transparent);
}

/* バッジと行カードを繋ぐ“肘（コネクタ）” */
.company--index .company-overview div::after {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 0.28rem;
  background: linear-gradient(
    90deg,
    var(--cy),
    color-mix(in oklab, var(--cy) 20%, transparent)
  );
  box-shadow: 0 0 10px color-mix(in oklab, var(--cy) 45%, transparent);
  border-radius: 2rem;
  z-index: 1;
}
.company--index .company-overview div {
  background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
      )
      padding-box,
    radial-gradient(
        120% 220% at 0% 0%,
        color-mix(in oklab, var(--cy) 10%, transparent),
        transparent
      )
      border-box;
  border: 1px solid color-mix(in oklab, var(--cy) 18%, #1a1a1a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.35);
}

/* ホバーは“縁が灯る”だけに抑える */
@media (prefers-reduced-motion: no-preference) {
  .company--index .company-overview div {
    transition: box-shadow 0.22s ease, background 0.22s ease,
      transform 0.22s ease, border-color 0.22s ease;
  }
  .company--index .company-overview div:hover {
    transform: translateY(-1px);
    border-color: color-mix(in oklab, var(--cy) 35%, #1a1a1a);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 14px 36px rgba(0, 255, 255, 0.08);
    background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.06),
          rgba(255, 255, 255, 0.025)
        )
        padding-box,
      radial-gradient(
          140% 240% at 0% 0%,
          color-mix(in oklab, var(--cy) 15%, transparent),
          transparent
        )
        border-box;
  }
}

/* ===== 共通トークン ===== */
:root {
  --cy: #7ffcff;
  --cy-d: #45e9ff;
  --navH: 90px;
}

/* ===== 重なりバグ対策（必須） ===== */
[hidden] {
  display: none !important;
}
.view {
  position: relative;
  isolation: isolate;
}
.panel {
  position: relative;
  z-index: 0;
}
#sec-contact {
  position: relative;
  z-index: 1000;
  scroll-margin-top: calc(var(--navH) + 12px);
}

/* ===== CONTACT: 100vhフィット ===== */
#sec-contact.contact--vh {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--navH) + 16px);
  box-sizing: border-box;
}

.contact-inner {
  width: min(1200px, 92%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* タイトル */
.contact-inner .sec-title {
  font-size: clamp(40px, 7vw, 72px);
  margin: 0;
  text-align: center;
}

/* ===== フォーム ===== */
.contact-form {
  width: 100%;
  border: 1px solid rgba(127, 252, 255, 0.18);
  border-radius: 16px;
  padding: clamp(18px, 2vw, 26px);
  background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.045),
        rgba(255, 255, 255, 0.02)
      )
      padding-box,
    radial-gradient(
        120% 200% at 0% 0%,
        color-mix(in oklab, var(--cy) 10%, transparent),
        transparent
      )
      border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* グリッド（2カラム → 狭幅で1カラム） */
.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.8vw, 22px);
}
.contact-form .span-2 {
  grid-column: 1 / -1;
}

/* 項目 */
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.contact-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(127, 252, 255, 0.22);
  background: rgba(0, 0, 0, 0.45);
  color: var(--cy);
  font-weight: 800;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.3);
  width: fit-content;
}
.contact-form .req {
  display: inline-block;
  font: 800 10px/1 "Orbitron", system-ui, sans-serif;
  color: #001315;
  background: var(--cy);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

/* 入力 */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: #eafdfd;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(127, 252, 255, 0.18);
  border-radius: 10px;
  outline: none;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: color-mix(in oklab, var(--cy) 45%, #1a1a1a);
  box-shadow: 0 0 0 3px rgba(127, 252, 255, 0.12);
}

/* 電話番号（任意）入力の幅崩れ防止 */
#tel {
  min-width: 0;
}

/* 同意（ネオンスイッチ） */
.contact-form .agree {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}
.contact-form .check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}
.contact-form .check input {
  appearance: none;
  position: absolute;
  opacity: 0;
}
.contact-form .switch {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(127, 252, 255, 0.3);
  display: grid;
  place-items: center;
  transition: 0.22s ease;
}
.contact-form .switch .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(
    120% 120% at 30% 30%,
    var(--cy) 0%,
    var(--cy-d) 70%,
    #29c9e5 100%
  );
  box-shadow: 0 0 10px rgba(127, 252, 255, 0.4);
  transform: translateX(-9px);
  transition: transform 0.22s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.contact-form .check input:checked + .switch {
  border-color: var(--cy);
  box-shadow: 0 0 10px rgba(127, 252, 255, 0.18) inset;
}
.contact-form .check input:checked + .switch .dot {
  transform: translateX(9px);
}
.contact-form .check .label {
  color: #c8faff;
  text-decoration: underline dotted rgba(127, 252, 255, 0.35);
  text-underline-offset: 0.25em;
  font-size: 14px;
}

/* エラー領域（高さブレ防止） */
.contact-form .err {
  min-height: 14px;
  font-size: 13px;
  color: #ff9aa2;
  margin: 0;
}

/* 送信ボタン */
.contact-form .actions {
  display: flex;
  justify-content: center;
}
.contact-form .btn-send {
  position: relative;
  padding: 14px 36px;
  border-radius: 999px;
  color: #001315;
  background: linear-gradient(180deg, var(--cy), var(--cy-d));
  border: 1px solid color-mix(in oklab, var(--cy) 45%, #0f1d1f);
  font: 800 15px/1 "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(127, 252, 255, 0.22);
}
.contact-form .btn-send .scan {
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
}
@keyframes scanMove {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .contact-form .btn-send:hover .scan {
    animation: scanMove 1.2s ease;
  }
}

/* 送信後ビュー（任意） */
.contact-form .ct-done {
  display: grid;
  place-items: center;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-form .btn-reset {
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #0e1d1f;
  color: #c8f9ff;
  border: 1px solid rgba(127, 252, 255, 0.25);
}

/* レスポンシブ */
@media (max-width: 860px) {
  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: clamp(14px, 3vw, 20px);
  }
}

section {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
}

/* =========================================================
   ABOUT: スキャンライン（st-scan）復活
   ※ BUSINESSの .drawer-scan と対になるABOUT版
   ========================================================= */

/* スキャンの見た目 */
.st-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
      90deg,
      transparent 0 45%,
      rgba(160, 255, 255, 0.28) 48% 52%,
      transparent 55% 100%
    ),
    linear-gradient(180deg, rgba(0, 255, 255, 0.08) 0 2px, transparent 2px 6px);
  mix-blend-mode: screen;
  filter: blur(0.3px);
}

/* スキャン中の効果（横走査＋パネルわずかにブラー） */
.st-box.is-scan .st-scan {
  opacity: 1;
  animation: stScan 1600ms cubic-bezier(0.16, 0.84, 0.12, 1) forwards;
}
.st-box.is-scan .st-panels {
  filter: blur(0.35px) contrast(1.04);
}
.st-box.post-scan .st-panels {
  filter: none;
  transition: filter 0.35s ease;
}

@keyframes stScan {
  0% {
    transform: translateX(-120%);
    opacity: 0.85;
  }
  70% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

.menu-trigger,
.overlay {
  display: none;
}
/* ===== BUSINESS modal: base (all widths) ===== */
.biz-modal[hidden] {
  display: none !important;
}
.biz-modal {
  position: fixed;
  inset: 0;
  z-index: 120; /* メニュー/FXより前に */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0; /* responsibe.css と整合。is-open時にフェード */
  transition: opacity 0.28s ease;
}
.biz-modal.is-open {
  opacity: 1;
}
.biz-modal__box {
  width: min(92vw, 560px);
  max-height: 86vh;
  overflow: hidden;
  background: #071015;
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 10px;
  box-shadow: 0 0 26px rgba(0, 255, 255, 0.28),
    inset 0 0 8px rgba(0, 255, 255, 0.18);
}
.biz-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.22);
}
.biz-modal__title {
  font: 700 16px/1.3 "Orbitron", sans-serif;
  letter-spacing: 0.12em;
}
.biz-modal__close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(12, 16, 24, 0.6);
  border-radius: 8px;
  color: #9ffcff;
  cursor: pointer;
}
.biz-modal__content {
  padding: 14px;
  margin-top: 60px;
  overflow: auto;
  max-height: calc(86vh - 56px);
}
