/* ═══════════════════════════════════════════════════════════════
   GALILEO INC. ── corporate site design system
   宇宙（dark hero）と手稿（light body）の二層構造
   Galileo Design Guideline 2025 準拠
   ═══════════════════════════════════════════════════════════════ */

:root {
  --orange: #FFBA42;
  --orange-deep: #C8831A;
  --orange-tint: #FFF4D6;
  --navy: #0D1F5C;
  --navy-light: #1C3A8A;
  --navy-pale: #E8ECF8;
  --ink: #05081a;
  --white: #FFFFFF;
  --off-white: #F8F8F6;
  --gray-100: #F2F2F0;
  --gray-200: #E5E5E2;
  --gray-400: #A0A09A;
  --gray-600: #6B6B65;
  --gray-800: #2C2C2A;
  --star-white: #F4F6FF;
  --f: 'Inter', 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  background: var(--off-white);
  color: var(--gray-800);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.ready { opacity: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ═══════════════ HEADER ═══════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 40px);
  height: 68px;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}
.site-header.scrolled {
  background: rgba(13, 31, 92, 0.96);
  backdrop-filter: blur(12px);
  height: 58px;
}
.sh-logo img { height: 17px; }
.sh-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.sh-nav a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  color: rgba(244,246,255,0.82); text-decoration: none;
  position: relative; padding: 6px 0;
  transition: color 0.25s;
}
.sh-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sh-nav a:hover { color: var(--orange); }
.sh-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.sh-nav .nav-en { font-size: 9px; letter-spacing: 0.24em; color: rgba(244,246,255,0.4); display: block; line-height: 1.2; }
.sh-nav .nav-cta {
  background: var(--orange); color: var(--navy);
  padding: 10px 22px; font-weight: 700; border-radius: 2px;
  transition: background 0.25s;
}
.sh-nav .nav-cta::after { display: none; }
.sh-nav .nav-cta:hover { background: var(--orange-deep); color: var(--navy); }

/* mobile menu */
.sh-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.sh-burger span { width: 24px; height: 1.5px; background: var(--star-white); transition: transform 0.3s, opacity 0.3s; }
@media (max-width: 1080px) {
  .sh-nav { display: none; }
  .sh-burger { display: flex; }
  .sh-menu {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(5, 8, 26, 0.98);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s;
  }
  body.menu-open .sh-menu { opacity: 1; visibility: visible; }
  body.menu-open .sh-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .sh-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .sh-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .sh-menu a {
    font-size: 20px; font-weight: 300; letter-spacing: 0.2em;
    color: var(--star-white); text-decoration: none; text-align: center;
  }
  .sh-menu a small { display: block; font-size: 9px; letter-spacing: 0.3em; color: var(--orange); margin-top: 4px; }
}
.sh-menu { display: none; }
@media (max-width: 1080px) { .sh-menu { display: flex; } }

/* ═══════════════ TOP: CINEMA (凝縮フィルム) ═══════════════ */
#cinema { position: relative; height: 330vh; background: var(--ink); }
.cine-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
#cine-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(1,2,8,0.6) 100%);
}
.cine-grain { position: absolute; inset: -60px; pointer-events: none; opacity: 0.07; }

.cine-seq {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 7vw;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.cine-seq .copy { will-change: transform, opacity; }

.cine-fv { align-items: flex-end; padding-bottom: 14vh; }
.cine-fv .copy { max-width: 100%; }
.sp-br { display: none; }
@media (max-width: 560px) {
  .sp-br { display: inline; }
  .cine-fv .fv-descriptor { font-size: 17px; letter-spacing: 0.1em; line-height: 2.1; }
  .cine-fv .fv-company { font-size: 8.5px; letter-spacing: 0.18em; line-height: 2; white-space: normal; padding: 0 4vw; }
}
.fv-descriptor {
  font-size: clamp(19px, 2.5vw, 34px);
  font-weight: 200; letter-spacing: 0.18em; text-indent: 0.18em;
  color: var(--star-white); line-height: 1.9;
  text-shadow: 0 0 32px rgba(2,4,15,0.9);
}
.fv-company {
  margin-top: 24px;
  font-size: 11px; letter-spacing: 0.34em; text-indent: 0.34em;
  color: rgba(244,246,255,0.55);
}

.cine-v { justify-content: flex-end; padding-right: 13vw; text-align: left; }
.cine-v .v-line {
  writing-mode: vertical-rl;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 200; letter-spacing: 0.22em; line-height: 2.1;
  color: var(--star-white);
  text-shadow: 0 0 32px rgba(2,4,15,0.9);
  display: inline-block; max-height: 70vh;
}
.cine-v .v-line + .v-line { margin-right: 1vw; }
.cine-v .v-sub { font-size: clamp(15px, 1.8vw, 24px); color: rgba(244,246,255,0.8); margin-right: 3vw; }
.cine-v .copy { display: flex; flex-direction: row-reverse; align-items: flex-start; }

.cine-epur .epur {
  font-size: clamp(30px, 5.6vw, 84px);
  font-weight: 200; letter-spacing: 0.1em; line-height: 1.15;
  color: var(--star-white);
  text-shadow: 0 0 60px rgba(255,186,66,0.18);
}
.cine-epur .epur-jp {
  margin-top: 24px;
  font-size: clamp(15px, 1.9vw, 26px);
  font-weight: 300; letter-spacing: 0.32em; text-indent: 0.32em;
  color: rgba(244,246,255,0.92);
  text-shadow: 0 0 26px rgba(2,4,15,0.85);
}
.cine-epur .epur-sub {
  margin-top: 28px;
  font-size: clamp(11px, 1.1vw, 15px);
  letter-spacing: 0.26em; text-indent: 0.26em;
  color: rgba(255,186,66,0.9);
}

.cine-cap {
  position: absolute; left: 7vw; bottom: 12vh;
  font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(244,246,255,0.4); padding-left: 26px;
}
.cine-cap::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 16px; height: 1px; background: var(--orange-deep);
}

.cine-hud {
  position: absolute; right: clamp(20px, 3vw, 40px); bottom: 30px;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244,246,255,0.4); text-align: right;
  font-variant-numeric: tabular-nums;
}

.cine-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cine-hint span { font-size: 9px; letter-spacing: 0.5em; text-indent: 0.5em; color: rgba(244,246,255,0.5); }
.cine-hint i {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--orange), transparent);
  transform-origin: top; animation: hint-line 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes hint-line {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); transform-origin: top; }
  46% { transform-origin: bottom; }
  90%, 100% { transform: scaleY(0); transform-origin: bottom; }
}

.cine-h {
  font-size: clamp(21px, 2.8vw, 38px);
  font-weight: 200; letter-spacing: 0.1em; line-height: 2;
  color: var(--star-white);
  text-shadow: 0 0 32px rgba(2,4,15,0.9);
}
.cine-h-sub {
  margin-top: 16px;
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 300; letter-spacing: 0.14em;
  color: rgba(244,246,255,0.7);
  text-shadow: 0 0 26px rgba(2,4,15,0.85);
}
.cine-big {
  font-size: clamp(34px, 5.6vw, 78px);
  font-weight: 200; letter-spacing: 0.16em; line-height: 1.5;
  color: var(--star-white);
  text-shadow: 0 0 40px rgba(2,4,15,0.9);
}

/* 観測タグ */
.obs-tag {
  position: absolute; left: var(--x); top: var(--y); z-index: 5;
  font-size: clamp(11px, 1vw, 14px); font-weight: 300;
  letter-spacing: 0.12em; color: rgba(244,246,255,0.8);
  padding: 9px 15px 9px 18px;
  border-left: 1px solid rgba(255,186,66,0.55);
  background: linear-gradient(90deg, rgba(13,31,92,0.3), transparent 80%);
  opacity: 0; white-space: nowrap; pointer-events: none;
}
.obs-tag .obs-id {
  display: block; font-size: 8.5px; letter-spacing: 0.3em;
  color: var(--orange); margin-bottom: 4px; font-weight: 600;
}
@media (max-width: 760px) {
  .obs-tag { font-size: 10px; padding: 6px 10px; }
}

/* 夜明け：ダーク→ライトの受け渡し */
.cine-dawn {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(to top, var(--off-white) 0%, rgba(255,186,66,0.35) 34%, rgba(13,31,92,0) 72%);
}

/* ═══════════════ PAGE HERO（下層） ═══════════════ */
.page-hero {
  position: relative; min-height: 56vh; padding: 150px 8vw 90px;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(1,2,8,0.5) 100%);
}
.ph-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; width: 100%; }
.ph-en {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 18px;
}
.ph-title {
  font-size: clamp(34px, 5vw, 60px); font-weight: 200;
  letter-spacing: 0.12em; color: var(--star-white); line-height: 1.4;
}
.ph-lead {
  margin-top: 22px; max-width: 640px;
  font-size: clamp(13px, 1.2vw, 15px); font-weight: 300;
  color: rgba(244,246,255,0.72); line-height: 2.1;
}
.ph-breadcrumb {
  position: absolute; top: 92px; left: 8vw; z-index: 2;
  font-size: 10px; letter-spacing: 0.2em; color: rgba(244,246,255,0.4);
}
.ph-breadcrumb a { color: rgba(244,246,255,0.4); text-decoration: none; }
.ph-breadcrumb a:hover { color: var(--orange); }

/* ═══════════════ LIGHT SECTIONS（手稿） ═══════════════ */
.section { padding: clamp(80px, 10vw, 128px) 8vw; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section.band-gray { background: var(--gray-100); }
.section.band-white { background: var(--white); }

.sec-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-num { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--orange); }
.sec-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 300; color: var(--navy); letter-spacing: 0.04em; }
.sec-en { font-size: 10px; font-weight: 600; letter-spacing: 0.3em; color: var(--gray-400); text-transform: uppercase; }
.sec-divider { flex: 1; height: 1px; background: var(--gray-200); }

.lead-copy {
  font-size: clamp(20px, 2.5vw, 32px); font-weight: 300;
  color: var(--navy); line-height: 2.1; letter-spacing: 0.06em;
}
.lead-copy em { font-style: normal; color: var(--orange-deep); font-weight: 400; }
.body-copy { margin-top: 28px; font-size: 15px; color: var(--gray-600); line-height: 2.2; max-width: 720px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════ ARCHITECT × DISRUPTOR ═══════════════ */
.arch-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 2.6vw, 36px);
  align-items: stretch;
}
.arch-cell {
  background: var(--navy); padding: clamp(28px, 3vw, 44px);
  position: relative; overflow: hidden;
}
.arch-cell::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,186,66,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,186,66,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.arch-en {
  position: relative;
  font-size: clamp(17px, 1.8vw, 24px); font-weight: 300;
  letter-spacing: 0.14em; color: var(--orange);
}
.arch-jp { position: relative; margin-top: 10px; font-size: 14px; font-weight: 500; letter-spacing: 0.14em; color: var(--white); }
.arch-desc { position: relative; margin-top: 16px; font-size: 12.5px; line-height: 2; color: rgba(244,246,255,0.66); }
.arch-x {
  align-self: center; font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 200; color: var(--orange-deep);
}
@media (max-width: 760px) {
  .arch-grid { grid-template-columns: 1fr; }
  .arch-x { text-align: center; }
}

/* ═══════════════ 8つの武器 ═══════════════ */
.weapon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.weapon {
  background: var(--white); padding: clamp(20px, 2.2vw, 32px) clamp(16px, 2vw, 28px);
  font-size: clamp(14px, 1.4vw, 18px); font-weight: 500; color: var(--navy); letter-spacing: 0.08em;
  transition: background 0.3s;
}
.weapon:hover { background: var(--orange-tint); }
.weapon span {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em; color: var(--orange); margin-bottom: 8px;
}
@media (max-width: 860px) { .weapon-grid { grid-template-columns: 1fr 1fr; } }

/* ═══════════════ MVV ═══════════════ */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.mvv-cell { background: var(--white); padding: clamp(28px, 3vw, 44px); }
.mvv-label { font-size: 10px; font-weight: 700; letter-spacing: 0.28em; color: var(--orange); text-transform: uppercase; margin-bottom: 18px; }
.mvv-text { font-size: clamp(15px, 1.4vw, 18px); font-weight: 400; color: var(--navy); line-height: 2; }
@media (max-width: 860px) { .mvv-grid { grid-template-columns: 1fr; } }

/* ═══════════════ BUSINESS CARDS ═══════════════ */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.biz-card {
  background: var(--white); border: 1px solid var(--gray-200); border-top: 3px solid var(--orange);
  padding: clamp(28px, 3vw, 42px);
  text-decoration: none; display: block; position: relative;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(13,31,92,0.09); }
.biz-num { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--orange); }
.biz-title { margin-top: 12px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; color: var(--navy); letter-spacing: 0.04em; }
.biz-en { font-size: 9px; font-weight: 600; letter-spacing: 0.3em; color: var(--gray-400); text-transform: uppercase; margin-top: 4px; }
.biz-desc { margin-top: 16px; font-size: 13.5px; color: var(--gray-600); line-height: 2; }
.biz-chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  background: var(--navy-pale); color: var(--navy);
  padding: 4px 12px; border-radius: 999px;
}
.biz-card .card-arrow {
  position: absolute; right: 28px; bottom: 24px;
  font-size: 11px; letter-spacing: 0.2em; color: var(--orange-deep); font-weight: 600;
  transition: transform 0.3s;
}
.biz-card:hover .card-arrow { transform: translateX(6px); }
@media (max-width: 860px) { .biz-grid { grid-template-columns: 1fr; } }

/* ═══════════════ STRENGTH ═══════════════ */
.str-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.str-item { background: var(--white); padding: clamp(26px, 2.6vw, 40px) clamp(20px, 2vw, 32px); }
.str-num { font-size: 30px; font-weight: 200; color: var(--orange); letter-spacing: 0.02em; line-height: 1; }
.str-word { margin-top: 14px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; color: var(--navy); }
.str-en { font-size: 9px; letter-spacing: 0.28em; color: var(--gray-400); text-transform: uppercase; margin-top: 4px; }
.str-desc { margin-top: 14px; font-size: 12.5px; color: var(--gray-600); line-height: 1.9; }
@media (max-width: 860px) { .str-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .str-grid { grid-template-columns: 1fr; } }

/* philosophy rows */
.phi-list { border-top: 1px solid var(--gray-200); }
.phi-row {
  display: flex; align-items: baseline; gap: clamp(20px, 4vw, 60px);
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--gray-200);
}
.phi-num { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--orange); min-width: 44px; }
.phi-word { font-size: clamp(19px, 2.2vw, 28px); font-weight: 300; color: var(--navy); letter-spacing: 0.08em; min-width: 9em; }
.phi-desc { font-size: 13px; color: var(--gray-600); line-height: 1.9; }
@media (max-width: 720px) { .phi-row { flex-direction: column; gap: 8px; } .phi-word { min-width: 0; } }

/* ═══════════════ TABLES ═══════════════ */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 18px 20px; border-bottom: 1px solid var(--gray-200); font-size: 14px; text-align: left; vertical-align: top; }
.info-table th { width: 200px; font-weight: 600; color: var(--navy); letter-spacing: 0.06em; white-space: nowrap; }
.info-table td { color: var(--gray-600); }
@media (max-width: 640px) {
  .info-table th { width: 110px; padding: 14px 10px; font-size: 12.5px; }
  .info-table td { padding: 14px 10px; font-size: 12.5px; }
}

.svc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.svc-table th {
  padding: 12px 16px; background: var(--navy); color: var(--white);
  font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-align: left;
}
.svc-table th:first-child { color: var(--orange); }
.svc-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); line-height: 1.8; vertical-align: top; }
.svc-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.svc-table tr:nth-child(even) td { background: var(--gray-100); }
.svc-wrap { overflow-x: auto; }
.svc-wrap .svc-table { min-width: 640px; }

/* ═══════════════ CTA BAND ═══════════════ */
.cta-band {
  background: var(--navy); position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 130px) 8vw; text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,186,66,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,186,66,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-inner { position: relative; }
.cta-line {
  font-size: clamp(22px, 3.4vw, 44px); font-weight: 200;
  color: var(--star-white); letter-spacing: 0.12em; line-height: 1.9;
}
.cta-en { margin-top: 18px; font-size: 10px; letter-spacing: 0.4em; text-indent: 0.4em; color: rgba(244,246,255,0.45); text-transform: uppercase; }
.btn {
  display: inline-block; margin-top: 44px;
  padding: 17px 54px; background: var(--orange); color: var(--navy);
  font-size: 15px; font-weight: 700; letter-spacing: 0.22em; text-indent: 0.22em;
  text-decoration: none; border-radius: 2px; border: none; cursor: pointer;
  font-family: var(--f);
  transition: background 0.25s, transform 0.25s;
}
.btn:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn small { display: block; margin-top: 5px; font-size: 9px; font-weight: 600; letter-spacing: 0.3em; color: rgba(13,31,92,0.6); }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer { background: var(--ink); padding: 64px 8vw 40px; }
.sf-inner { max-width: 1160px; margin: 0 auto; }
.sf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.sf-brand img { height: 18px; }
.sf-brand p { margin-top: 16px; font-size: 11px; color: rgba(244,246,255,0.45); line-height: 2; letter-spacing: 0.06em; }
.sf-nav { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.sf-nav a {
  font-size: 12px; letter-spacing: 0.14em; color: rgba(244,246,255,0.7);
  text-decoration: none; transition: color 0.25s;
}
.sf-nav a:hover { color: var(--orange); }
.sf-nav a small { display: block; font-size: 8.5px; letter-spacing: 0.26em; color: rgba(244,246,255,0.3); margin-top: 3px; }
.sf-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244,246,255,0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.sf-copy { font-size: 10px; letter-spacing: 0.14em; color: rgba(244,246,255,0.35); }
.sf-tag { font-size: 9px; letter-spacing: 0.3em; color: rgba(255,186,66,0.5); text-transform: uppercase; }

/* ═══════════════ CONTACT ═══════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.ct-mail-label { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; color: var(--orange-deep); text-transform: uppercase; }
.ct-mail {
  display: inline-block; margin-top: 12px;
  font-size: clamp(19px, 2.2vw, 28px); font-weight: 300; letter-spacing: 0.04em;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--orange);
  transition: color 0.25s;
}
.ct-mail:hover { color: var(--orange-deep); }
.ct-note { margin-top: 26px; font-size: 13px; color: var(--gray-600); line-height: 2.1; }
.ct-info { margin-top: 40px; }
.ct-info dt { font-size: 10px; font-weight: 700; letter-spacing: 0.24em; color: var(--gray-400); text-transform: uppercase; margin-top: 22px; }
.ct-info dd { font-size: 13.5px; color: var(--gray-600); margin-top: 6px; line-height: 1.9; }

.form-field { margin-bottom: 22px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: 0.08em; margin-bottom: 8px; }
.form-label .req { color: var(--orange-deep); font-size: 10px; margin-left: 8px; letter-spacing: 0.2em; }
.form-input, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-200); border-radius: 2px;
  font-size: 14px; font-family: var(--f); color: var(--gray-800);
  background: var(--white); outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { min-height: 170px; resize: vertical; }
.form-note { font-size: 11.5px; color: var(--gray-400); margin-top: 14px; line-height: 1.9; }

/* ═══════════════ MISC ═══════════════ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.idea-item { background: var(--white); border: 1px solid var(--gray-200); padding: 26px 24px; }
.idea-item .n { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 0.2em; }
.idea-item .w { margin-top: 10px; font-size: 16.5px; font-weight: 500; color: var(--navy); letter-spacing: 0.06em; }
@media (max-width: 860px) { .idea-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .idea-grid { grid-template-columns: 1fr; } }

.section-link { text-align: right; margin-top: 34px; }
.section-link a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--navy); text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--orange);
  transition: color 0.25s;
}
.section-link a:hover { color: var(--orange-deep); }

/* ═══════════════════════════════════════════════════════════════
   EXPANSION LAYER ── transition / works / news / privacy / 404 /
   process steps / project cards / a11y / mobile refinements
   ═══════════════════════════════════════════════════════════════ */

/* ───── page transition wipe ───── */
.pt-ov {
  position: fixed; inset: 0; z-index: 500; pointer-events: none;
  background: var(--ink);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1);
}
.pt-ov::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
body.pt-in .pt-ov { transform: translateY(-101.5%); }
body.pt-out .pt-ov { transform: translateY(0); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .pt-ov { transition: none; } }

/* ───── a11y ───── */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 600;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; font-size: 13px; border-radius: 2px;
  transition: top 0.25s;
}
.skip-link:focus { top: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}

/* ───── process steps（観測→構造→実装→証明） ───── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--gray-200); border: 1px solid var(--gray-200); counter-reset: step; }
.step { background: var(--white); padding: clamp(24px, 2.6vw, 40px) clamp(18px, 2vw, 30px); position: relative; overflow: hidden; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; right: 14px; top: 10px;
  font-size: clamp(40px, 4.5vw, 64px); font-weight: 200; color: var(--gray-100);
  line-height: 1; letter-spacing: -0.03em;
}
.step-word { position: relative; font-size: clamp(18px, 1.8vw, 24px); font-weight: 400; color: var(--navy); letter-spacing: 0.14em; }
.step-en { position: relative; margin-top: 5px; font-size: 9px; font-weight: 600; letter-spacing: 0.3em; color: var(--orange-deep); text-transform: uppercase; }
.step-desc { position: relative; margin-top: 14px; font-size: 12px; line-height: 2; color: var(--gray-600); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ───── WORKS ── 観測記録カード ───── */
.wk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wk-card {
  position: relative; background: var(--white); border: 1px solid var(--gray-200);
  padding: clamp(24px, 2.6vw, 40px);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s;
}
.wk-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(13,31,92,0.1); }
.wk-chart { position: absolute; right: 14px; top: 14px; width: 92px; height: 92px; opacity: 0.9; }
.wk-id { font-size: 9px; font-weight: 700; letter-spacing: 0.3em; color: var(--orange-deep); }
.wk-industry { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--navy); background: var(--navy-pale); padding: 4px 14px; border-radius: 999px; }
.wk-title { margin-top: 16px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; color: var(--navy); letter-spacing: 0.05em; line-height: 1.7; max-width: 82%; }
.wk-desc { margin-top: 14px; font-size: 12.5px; line-height: 2.05; color: var(--gray-600); }
.wk-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.wk-tags span { font-size: 10px; font-weight: 500; color: var(--gray-600); border: 1px solid var(--gray-200); padding: 3px 10px; border-radius: 999px; }
.wk-note { margin-top: 40px; font-size: 11.5px; color: var(--gray-400); line-height: 2; letter-spacing: 0.04em; }
@media (max-width: 860px) { .wk-grid { grid-template-columns: 1fr; } }

/* ───── NEWS ── OBS.LOG ───── */
.news-list { border-top: 1px solid var(--gray-200); }
.news-row {
  display: grid; grid-template-columns: 150px 130px 1fr;
  gap: clamp(14px, 2.4vw, 40px); align-items: baseline;
  padding: clamp(20px, 2.4vw, 32px) 6px;
  border-bottom: 1px solid var(--gray-200);
  position: relative; overflow: hidden;
}
.news-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--orange); transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.news-row:hover::before { transform: scaleY(1); }
.news-date { font-size: 12px; font-weight: 400; color: var(--gray-400); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.news-cat {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--orange-deep); text-transform: uppercase;
}
.news-title { font-size: clamp(13.5px, 1.3vw, 16px); font-weight: 400; color: var(--navy); letter-spacing: 0.04em; line-height: 1.9; }
@media (max-width: 720px) {
  .news-row { grid-template-columns: 1fr; gap: 4px; padding-left: 14px; }
}

/* ───── PROJECTS 進行カード ───── */
.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pj-card {
  position: relative; background: var(--navy); overflow: hidden;
  padding: clamp(24px, 2.6vw, 38px); min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.pj-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,186,66,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,186,66,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
.pj-card:hover::before { transform: scale(1.1); }
.pj-status {
  position: absolute; top: 20px; right: 20px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--orange); border: 1px solid rgba(255,186,66,0.5);
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.pj-status i {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); margin-right: 7px; vertical-align: 1px;
  animation: pj-blink 2.2s ease infinite;
}
@keyframes pj-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
.pj-title { position: relative; font-size: clamp(17px, 1.7vw, 22px); font-weight: 400; color: var(--white); letter-spacing: 0.08em; }
.pj-en { position: relative; margin-top: 6px; font-size: 9px; font-weight: 600; letter-spacing: 0.3em; color: rgba(255,186,66,0.75); text-transform: uppercase; }
.pj-desc { position: relative; margin-top: 14px; font-size: 12px; line-height: 2; color: rgba(244,246,255,0.66); }
@media (max-width: 860px) { .pj-grid { grid-template-columns: 1fr; } .pj-card { min-height: 0; } }

/* ───── PRIVACY / prose ───── */
.prose { max-width: 760px; }
.prose h2 { font-size: 16px; font-weight: 600; color: var(--navy); letter-spacing: 0.08em; margin: 44px 0 14px; padding-left: 14px; border-left: 3px solid var(--orange); }
.prose p, .prose li { font-size: 13.5px; line-height: 2.2; color: var(--gray-600); }
.prose ul { padding-left: 1.4em; margin-top: 8px; }
.prose .prose-date { margin-top: 48px; font-size: 12px; color: var(--gray-400); text-align: right; }

/* ───── 404 ───── */
.nf-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--ink); overflow: hidden; }
.nf-inner { position: relative; z-index: 2; padding: 0 7vw; }
.nf-code {
  font-size: clamp(90px, 18vw, 240px); font-weight: 200; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244,246,255,0.85);
  letter-spacing: 0.06em;
}
.nf-title { margin-top: 20px; font-size: clamp(16px, 2vw, 24px); font-weight: 300; color: var(--star-white); letter-spacing: 0.24em; }
.nf-sub { margin-top: 18px; font-size: 11px; letter-spacing: 0.2em; color: rgba(244,246,255,0.5); line-height: 2.2; }
.nf-btn {
  display: inline-block; margin-top: 44px; padding: 15px 46px;
  background: var(--orange); color: var(--navy); font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-indent: 0.22em; text-decoration: none; border-radius: 2px;
}

/* ───── contact privacy agreement ───── */
.form-agree { font-size: 11.5px; color: var(--gray-600); margin-top: 18px; line-height: 2; }
.form-agree a { color: var(--orange-deep); }

/* ───── footer legal ───── */
.sf-legal { font-size: 10px; letter-spacing: 0.12em; }
.sf-legal a { color: rgba(244,246,255,0.45); text-decoration: none; }
.sf-legal a:hover { color: var(--orange); }

/* ───── mobile refinements ───── */
@media (max-width: 560px) {
  .obs-tag[data-i="2"], .obs-tag[data-i="3"] { display: none; }
  .fv-descriptor { font-size: 19px; letter-spacing: 0.12em; }
  .fv-company { font-size: 9px; letter-spacing: 0.22em; }
  .cine-big { letter-spacing: 0.1em; }
  .epur { font-size: 30px; }
  .info-table th { width: 96px; }
  .cta-line { letter-spacing: 0.08em; }
  .sh-menu a { font-size: 17px; }
}
