/* =========================================================
   WattBit Inc. — Corporate Site Stylesheet
   ブランドカラー（公式ロゴレギュレーション準拠）
     Energy Blue  #0070FF → #00C8FF  信頼・技術・インフラ … Watt
     Green Energy #00D68F → #7CFF3B  環境・持続可能性・未来 … Bit
     Navy #0A1F44 / Gray #4B6B8A / White #EAF4FF
   ========================================================= */

:root {
  --bg: #04091A;
  --bg-2: #08132A;
  --bg-3: #0A1F44;          /* ブランドネイビー */
  --line: rgba(234,244,255,0.09);
  --line-strong: rgba(234,244,255,0.18);
  --text: #EAF4FF;          /* ブランドホワイト */
  --text-2: #B9C7DC;
  --text-3: #7E93B0;        /* ブランドグレー #4B6B8A を可読性のため明度調整 */

  --watt: #00A8FF;          /* Energy Blue */
  --watt-2: #0070FF;
  --bit: #7CFF3B;           /* Green Energy */
  --bit-2: #00D68F;
  --ai: #00D68F;
  --goal: #7CFF3B;

  --grad-wb: linear-gradient(90deg, #0070FF 0%, #00C8FF 45%, #7CFF3B 100%);
  --grad-wb-soft: linear-gradient(135deg, rgba(0,168,255,0.14), rgba(124,255,59,0.14));

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--text); }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.pc { display: inline; }
@media (max-width: 720px) { .pc { display: none; } }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--watt); color: #000; padding: 8px 14px; border-radius: 6px; font-weight: 700;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(4,9,26,0.75);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 36px; width: auto; display: block;
  transition: transform .3s var(--ease), filter .3s;
}
.brand:hover .brand-logo { transform: translateY(-1px); filter: drop-shadow(0 0 12px rgba(0,168,255,0.45)); }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  font-family: var(--font-en); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 999px; color: var(--text-2);
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav a.nav-cta {
  color: #000; background: var(--text); margin-left: 8px;
}
.nav a.nav-cta:hover { background: var(--watt); }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav {
  display: none; flex-direction: column; padding: 8px 24px 24px;
  background: rgba(4,9,26,0.97); border-bottom: 1px solid var(--line);
}
.mobile-nav a { padding: 14px 4px; font-family: var(--font-en); font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: flex; }
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.04em; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--text); color: #000; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; background: var(--grad-wb); opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,168,255,0.25); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--bit); color: var(--bit); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 100px; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% 20%, rgba(0,168,255,0.14), transparent 60%),
    radial-gradient(1000px 600px at 85% 75%, rgba(124,255,59,0.16), transparent 60%),
    var(--bg);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-en); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--grad-wb); }
.hero-title {
  font-size: clamp(2.15rem, 7.2vw, 6.4rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.hero-title .line { display: block; }
.hero-title .w { color: var(--watt); text-shadow: 0 0 40px rgba(0,168,255,0.35); }
.hero-title .b { color: var(--bit); text-shadow: 0 0 40px rgba(124,255,59,0.35); }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 720px; margin-bottom: 40px; }
.hero-lead strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-formula {
  display: inline-flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-en); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 2rem);
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,0.02); backdrop-filter: blur(6px);
}
.hero-formula .f-w { color: var(--watt); }
.hero-formula .f-b { color: var(--bit); }
.hero-formula .f-x, .hero-formula .f-eq { color: var(--text-3); font-weight: 400; }
.hero-formula .f-r { color: var(--text); letter-spacing: 0.02em; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 12px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 6px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
  background: var(--bit); animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint { 0%{transform:translateY(0);opacity:1} 80%{transform:translateY(14px);opacity:0} 100%{opacity:0} }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2);
  padding: 16px 0; position: relative;
}
.marquee-track {
  display: flex; gap: 40px; white-space: nowrap; width: max-content;
  /* アニメーションはJSが複製と移動量を確定してから開始（JS無効時は静止表示） */
  font-family: var(--font-en); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); font-size: 0.9rem;
}
.marquee-track i {
  align-self: center; width: 6px; height: 6px; border-radius: 50%; background: var(--watt); flex: 0 0 6px;
}
.marquee-track i:nth-child(4n) { background: var(--bit); }
.marquee-track.is-ready { animation: marquee var(--mq-dur, 22s) linear infinite; }
/* --mq-shift ＝ 1セット分の正確な幅（JSが実測して代入）。ちょうど1セット動かすと継ぎ目が消える */
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(calc(-1 * var(--mq-shift, 0px)));} }

/* ---------- Sections (common) ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.label {
  font-family: var(--font-en); font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bit); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--grad-wb); }
.section h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); font-weight: 900; letter-spacing: -0.005em; }
.section-lead { color: var(--text-2); font-size: 1.05rem; margin-top: 22px; }
.footnote { color: var(--text-3); font-size: 0.8rem; margin-top: 18px; }

/* ---------- Vision ---------- */
.vision { background: var(--bg); }
.vision-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.big-quote {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; line-height: 1.8;
  padding-left: 22px; border-left: 3px solid; border-image: linear-gradient(var(--watt), var(--bit)) 1;
  color: var(--text);
}
.cite { color: var(--text-3); font-size: 0.85rem; margin-bottom: 32px; }
.vision-text p:not(.big-quote):not(.cite) { color: var(--text-2); }

.orb-scene {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0;
  padding: 40px 10px 60px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(600px 300px at 50% 50%, rgba(255,255,255,0.03), transparent 70%), var(--bg-2);
}
.orb {
  aspect-ratio: 1; width: min(100%, 200px); margin-inline: auto; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-en); font-weight: 700; font-size: 1.6rem;
  position: relative;
}
.orb small { font-family: var(--font-jp); font-weight: 400; font-size: 0.72rem; color: var(--text-2); margin-top: 4px; letter-spacing: 0.04em; }
.orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: breathe 4s ease-in-out infinite; }
.orb-w { color: var(--watt); }
.orb-w::before { background: radial-gradient(circle, rgba(0,168,255,0.28), rgba(0,168,255,0.05) 60%, transparent 72%); box-shadow: inset 0 0 0 1px rgba(0,168,255,0.35); }
.orb-b { color: var(--bit); }
.orb-b::before { background: radial-gradient(circle, rgba(124,255,59,0.28), rgba(124,255,59,0.05) 60%, transparent 72%); box-shadow: inset 0 0 0 1px rgba(124,255,59,0.35); animation-delay: -2s; }
@keyframes breathe { 0%,100% { transform: scale(1);} 50% { transform: scale(1.06);} }
.orb-link { position: relative; width: 90px; height: 2px; background: var(--grad-wb); opacity: .7; }
.orb-link .pulse {
  position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px #fff; animation: travel 2.4s linear infinite;
}
.orb-link .pulse:nth-child(2) { animation-delay: -0.8s; }
.orb-link .pulse:nth-child(3) { animation-delay: -1.6s; }
@keyframes travel { 0% { left: 0; opacity: 0;} 15%{opacity:1} 85%{opacity:1} 100% { left: calc(100% - 8px); opacity: 0;} }
.orb-caption {
  position: absolute; left: 0; right: 0; bottom: 20px; text-align: center;
  font-size: 0.85rem; color: var(--text-3); letter-spacing: 0.06em;
}

.stat-row {
  margin-top: clamp(60px, 8vw, 100px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat-row li { background: var(--bg-2); padding: 34px 28px; display: flex; flex-direction: column; gap: 10px; }
.stat-num { font-family: var(--font-en); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  background: var(--grad-wb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num small { font-size: 0.42em; margin-left: 4px; font-family: var(--font-jp); font-weight: 500; }
.stat-desc { color: var(--text-2); font-size: 0.88rem; line-height: 1.6; }
.stat-desc sup { color: var(--text-3); }

/* ---------- Approach ---------- */
.approach { background: var(--bg-2); border-block: 1px solid var(--line); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 40px 32px 34px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); overflow: hidden; transition: transform .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-wb);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }
.card-index { font-family: var(--font-en); font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.07); line-height: 1; display: block; margin-bottom: 8px; }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card-sub { color: var(--bit); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 20px; }
.card ul li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 0.95rem; margin-bottom: 10px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-wb); }

/* ---------- Business / Structure ---------- */
.business { background: var(--bg); }
.structure { display: flex; flex-direction: column; align-items: center; margin-bottom: 70px; }
.st-tag {
  display: inline-block; font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--text-2); margin-bottom: 14px;
}
.st-tag-b { background: rgba(124,255,59,0.14); color: var(--bit); }
.st-tag-w { background: rgba(0,168,255,0.14); color: var(--watt); }
.st-tag-a { background: rgba(192,132,252,0.14); color: var(--ai); }
.st-holding {
  text-align: center; padding: 36px 48px; border-radius: var(--radius); position: relative;
  background: var(--bg-2); border: 1px solid transparent;
  background-clip: padding-box;
}
.st-holding::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--grad-wb);
}
.st-holding strong { display: block; font-size: 1.5rem; }
.st-holding small { display: block; font-family: var(--font-en); color: var(--text-3); letter-spacing: 0.1em; margin-bottom: 8px; }
.st-holding p { margin: 0; color: var(--text-2); font-size: 0.9rem; }
.st-lines { width: min(760px, 100%); height: 60px; position: relative; }
.st-lines::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 30px; background: var(--line-strong);
}
.st-lines::after {
  content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 30px; height: 30px;
  border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.st-children { width: min(760px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.st-child {
  text-align: center; padding: 26px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2);
  position: relative;
}
.st-child::before { content: ""; position: absolute; left: 50%; top: -30px; height: 30px; width: 1px; background: var(--line-strong); }
.st-child:nth-child(2)::before { top: -60px; height: 60px; }
.st-child strong { display: block; font-size: 1.1rem; }
.st-child small { display: block; font-family: var(--font-en); color: var(--text-3); letter-spacing: 0.08em; font-size: 0.78rem; margin-bottom: 8px; }
.st-child p { margin: 0; font-size: 0.82rem; color: var(--text-2); }
.st-active { border-color: rgba(124,255,59,0.4); box-shadow: 0 0 40px rgba(124,255,59,0.08); }
.st-soon { border-style: dashed; opacity: 0.75; }
.st-soon strong { color: var(--text-2); }

.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.focus-item {
  display: flex; gap: 20px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--grad-wb-soft);
}
.focus-icon {
  flex: 0 0 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(0,0,0,0.35);
}
.focus-icon svg { width: 26px; height: 26px; }
.focus-icon.w { color: var(--watt); }
.focus-icon.b { color: var(--bit); }
.focus-item h3 { font-family: var(--font-en); font-size: 1.25rem; margin-bottom: 6px; }
.focus-item p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* ---------- Group ---------- */
.group { background: var(--bg-2); border-block: 1px solid var(--line); }
.group-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.gcard {
  padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.gcard:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.gcard-main { grid-row: span 2; }
.gcard-main::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,255,59,0.18), transparent 70%); pointer-events: none;
}
.gcard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.gcard-tag { font-family: var(--font-en); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.gcard-tag.b { background: rgba(124,255,59,0.14); color: var(--bit); }
.gcard-tag.w { background: rgba(0,168,255,0.14); color: var(--watt); }
.gcard-tag.a { background: rgba(192,132,252,0.14); color: var(--ai); }
.gcard-status { font-size: 0.74rem; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--text-2); }
.gcard-status.active { border-color: rgba(74,222,128,0.5); color: var(--goal); display: inline-flex; align-items: center; gap: 7px; }
/* 点滅させるとサーバー監視の「オンライン表示」に見えるため、静的な点にとどめる */
.gcard-status.active::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--goal);
  box-shadow: 0 0 8px var(--goal);
}
.gcard h3 { font-size: 1.6rem; margin-bottom: 14px; }
.gcard h3 small { font-family: var(--font-en); font-weight: 500; font-size: 0.85rem; color: var(--text-3); letter-spacing: 0.1em; margin-left: 8px; }
.gcard-lead { color: var(--text-2); }
.gcard-list { margin: 8px 0 24px; }
.gcard-list li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 0.95rem; margin-bottom: 8px; }
.gcard-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--bit); }
.gcard-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.gcard-role { font-size: 0.82rem; color: var(--text-3); letter-spacing: 0.06em; }
.gcard-soon { border-style: dashed; }
.gcard-soon h3 { font-size: 1.25rem; color: var(--text-2); }
.gcard-soon .gcard-lead { font-size: 0.92rem; margin: 0; }

/* ---------- Message ---------- */
.message {
  background:
    radial-gradient(900px 500px at 20% 30%, rgba(0,168,255,0.10), transparent 60%),
    radial-gradient(900px 500px at 80% 70%, rgba(124,255,59,0.12), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.message-inner { max-width: 880px; margin-inline: auto; }
.message blockquote { margin: 0; }
.message blockquote p { font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 500; line-height: 1.9; }
.message blockquote footer { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.sig-role { color: var(--text-3); font-size: 0.85rem; letter-spacing: 0.1em; }
.sig-name { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.2em; }

/* ---------- Company ---------- */
.company { background: var(--bg); }
.company-table { margin: 0; border-top: 1px solid var(--line-strong); max-width: 900px; }
.company-table > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 8px; border-bottom: 1px solid var(--line); }
.company-table dt { color: var(--text-3); font-size: 0.9rem; letter-spacing: 0.1em; padding-top: 2px; }
.company-table dd { margin: 0; }

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-2); border-top: 1px solid var(--line); position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,168,255,0.16), rgba(124,255,59,0.10) 40%, transparent 70%);
  pointer-events: none;
}
.contact-inner { position: relative; text-align: center; max-width: 760px; margin-inline: auto; }
.contact-inner .label { justify-content: center; }
.contact-inner h2 { margin-bottom: 20px; }
.contact-inner p { color: var(--text-2); margin-bottom: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 56px 0 30px; flex-wrap: wrap; }
.footer-logo { height: 46px; width: auto; display: block; }
.footer-brand p { color: var(--text-3); font-size: 0.88rem; margin: 14px 0 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-en); font-size: 0.9rem; color: var(--text-2); letter-spacing: 0.06em; }
.footer-nav a:hover { color: var(--watt); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 32px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.8rem; }
.to-top { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: background .25s, color .25s; }
.to-top:hover { background: var(--text); color: #000; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: .05s; }
.hero .reveal:nth-child(2) { transition-delay: .15s; }
.hero-title .reveal:nth-child(2) { transition-delay: .3s; }
.hero-lead.reveal { transition-delay: .45s; }
.hero-actions.reveal { transition-delay: .6s; }
.hero-formula.reveal { transition-delay: .75s; }
.cards-3 .reveal:nth-child(2), .group-grid .reveal:nth-child(2), .stat-row .reveal:nth-child(2) { transition-delay: .12s; }
.cards-3 .reveal:nth-child(3), .group-grid .reveal:nth-child(3), .stat-row .reveal:nth-child(3) { transition-delay: .24s; }
.stat-row .reveal:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .vision-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .group-grid { grid-template-columns: 1fr; }
  .gcard-main { grid-row: auto; }
  .focus { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .header-inner { height: 64px; }
  .brand-logo { height: 34px; }
  .footer-logo { height: 40px; }
  .hero { padding: 120px 0 90px; }
  .hero-actions .btn { width: 100%; }
  .hero-formula { gap: 10px; padding: 12px 16px; font-size: 1rem; justify-content: center; width: 100%; }
  .hero-lead br { display: none; }
  .hero-lead { line-height: 1.95; }
  .stat-row { grid-template-columns: 1fr; }
  .st-children { grid-template-columns: 1fr; gap: 12px; }
  .st-lines { display: none; }
  .st-child::before { display: none; }
  .st-holding { padding: 28px 24px; width: 100%; margin-bottom: 14px; }
  .orb-scene { grid-template-columns: 1fr; gap: 12px; padding: 30px 16px 56px; }
  .orb-link { width: 2px; height: 60px; margin-inline: auto; background: linear-gradient(var(--watt), var(--bit)); }
  .orb-link .pulse { left: 50%; top: 0; margin: 0 0 0 -4px; animation-name: travelV; }
  @keyframes travelV { 0% { top: 0; opacity: 0;} 15%{opacity:1} 85%{opacity:1} 100% { top: calc(100% - 8px); opacity: 0;} }
  .company-table > div { grid-template-columns: 1fr; gap: 6px; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  /* 見出しの英字社名は改行させず独立行に */
  .gcard h3 small { display: block; margin-left: 0; margin-top: 4px; }
  .gcard { padding: 28px 22px; }
  /* PC向けの意図的な改行はモバイルでは解除し、自然に折り返す */
  .message blockquote br { display: none; }
  .message blockquote p { font-size: 1.08rem; line-height: 1.95; }
  .section h2 br { display: none; }
  .contact-inner h2 br, .hero-title br { display: revert; }
}

/* ---------- Address / links (added) ---------- */
.company-table .link { color: var(--bit); border-bottom: 1px solid rgba(124,255,59,0.4); transition: color .25s, border-color .25s; }
.company-table .link:hover { color: var(--watt); border-color: rgba(0,168,255,0.5); }
.footer-address {
  font-style: normal; color: var(--text-3); font-size: 0.85rem; line-height: 1.9; margin-top: 14px;
}
.footer-address a { color: var(--text-2); border-bottom: 1px solid var(--line-strong); }
.footer-address a:hover { color: var(--bit); border-color: var(--bit); }

