/* ============================================================
   時空テクノロジーズ — Corporate Site
   Visual system: deep navy + blue-gradient "frontier" world
   ============================================================ */

:root {
  /* Brand palette (from /ai-frontier logo) */
  --navy-950: #030B22;
  --navy-900: #04102E;
  --navy-850: #051536;
  --navy-800: #061A44;   /* brand navy */
  --navy-700: #0B2C66;
  --navy-600: #123a82;

  --blue-700: #0F6FCB;
  --blue-600: #168BE8;
  --blue-500: #2F9AF4;   /* primary accent */
  --blue-400: #64C6FF;   /* light accent */
  --blue-200: #B9E2FF;

  --gold: #C8A24A;       /* Logmeets device accent — used sparingly */

  --ink: #0B1730;        /* text on light */
  --ink-soft: #44516B;
  --ink-faint: #8593ad;
  --line: #e4eaf3;
  --line-soft: #eef2f8;
  --paper: #ffffff;
  --mist: #f3f6fb;       /* light section bg */
  --mist-2: #eaf0f9;

  /* On-dark text */
  --on-dark: #eaf1fb;
  --on-dark-soft: #9fb2d4;
  --on-dark-faint: #6b80a8;

  /* Gradients */
  --grad-blue: linear-gradient(118deg, #168BE8 0%, #2F9AF4 48%, #64C6FF 100%);
  --grad-blue-soft: linear-gradient(118deg, #2F9AF4 0%, #64C6FF 100%);

  /* Tweakable (overridden by tweaks panel) */
  --accent: var(--blue-500);
  --accent-2: var(--blue-400);
  --accent-grad: var(--grad-blue);
  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-mono: "Space Mono", "Space Grotesk", monospace;
  --font-latin: "Space Grotesk", "Noto Sans JP", sans-serif;
  --aif-glow: 1;   /* AI Frontier intensity 0..1.4 */

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--blue-400); color: var(--navy-900); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typographic primitives ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; letter-spacing: 0.01em; }

.display {
  font-size: clamp(2.4rem, 6.2vw, 5.1rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.005em;
}
.h-section {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.22;
}
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 2;
  color: var(--ink-soft);
  font-weight: 400;
}

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(47,154,244,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(47,154,244,.7); }
.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(159,178,212,.4);
}
.btn-ghost:hover { border-color: var(--accent-2); color: #fff; background: rgba(100,198,255,.08); }
.btn-dark {
  background: var(--navy-800);
  color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-700); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 76px;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(6,26,68,.5);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-grad);
  display: grid; place-items: center;
  flex: none;
  box-shadow: 0 6px 18px -6px rgba(47,154,244,.6);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; transition: color .35s; }
.brand-name span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .22em; color: var(--on-dark-soft); transition: color .35s; }
.scrolled .brand-name b { color: var(--ink); }
.scrolled .brand-name span { color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--on-dark-soft);
  transition: color .25s; position: relative; padding: 4px 0;
  white-space: nowrap;
}
.nav a:hover { color: #fff; }
.scrolled .nav a { color: var(--ink-soft); }
.scrolled .nav a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.header-btn {
  font-size: 0.85rem; font-weight: 700; padding: 10px 20px; border-radius: 999px;
  background: var(--accent-grad); color: #fff;
  transition: transform .25s, box-shadow .25s;
}
.header-btn { white-space: nowrap; }
.header-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(47,154,244,.6); }
.brand-name b { white-space: nowrap; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border: none; cursor: pointer;
  background: transparent; flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.menu-toggle i { display: block; width: 22px; height: 2px; background: #fff; transition: background .3s, transform .3s, opacity .3s; }
.scrolled .menu-toggle i { background: var(--ink); }

/* mobile menu panel */
.mobile-nav {
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: rgba(4,16,46,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(100,198,255,.18);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  padding: 14px var(--pad) 26px;
}
.mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 1rem; color: var(--on-dark); border-bottom: 1px solid rgba(100,198,255,.08); }
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 1040px) { .nav { gap: 22px; } .nav a { font-size: .85rem; } }
@media (max-width: 940px) {
  .nav { display: none; }
  /* 窓パン版はハンバーガーメニューを持たないため、唯一のCTA「お問い合わせ」を
     スマホでも常時表示する（元の .header-btn 非表示指定は外した）。 */
  .menu-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 80% -10%, #0b2c66 0%, var(--navy-900) 46%, var(--navy-950) 100%);
  color: var(--on-dark);
  padding: 168px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.hero-glow {
  position: absolute; z-index: -1;
  width: 720px; height: 720px; border-radius: 50%;
  right: -160px; top: -240px;
  background: radial-gradient(circle, rgba(47,154,244,.32), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid-fade {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(100,198,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,198,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 35%, transparent 78%);
}

.hero-inner { position: relative; max-width: 940px; }
.hero .eyebrow { color: var(--accent-2); margin-bottom: 30px; }
.hero .eyebrow::before { background: var(--accent-2); }
.hero h1 { color: #fff; margin-bottom: 30px; }
.hero h1 .ja-sub { display: block; font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 500; color: var(--blue-200); margin-top: 18px; letter-spacing: .04em; }
.hero-lead { font-size: clamp(1.04rem, 1.6vw, 1.28rem); color: var(--on-dark-soft); max-width: 680px; line-height: 2; margin-bottom: 42px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--on-dark-faint); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--accent-2), transparent); animation: scrollpulse 2.4s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* slash motif echoing the logo */
.slash-motif {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  display: flex; gap: 26px; z-index: -1; opacity: .8;
}
.slash-motif i {
  display: block; width: 30px; height: 240px;
  background: var(--accent-grad);
  transform: skewX(-22deg);
  border-radius: 4px;
  filter: drop-shadow(0 0 30px rgba(47,154,244,.5));
}
.slash-motif i:nth-child(2) { height: 320px; opacity: .55; }
.slash-motif i:nth-child(3) { height: 180px; opacity: .3; }
@media (max-width: 1100px) { .slash-motif { display: none; } }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  background: var(--navy-850);
  color: #fff;
  padding: 0 0 0;
  border-top: 1px solid rgba(100,198,255,.12);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(100,198,255,.12);
}
.stat {
  background: var(--navy-850);
  padding: 48px 28px;
  text-align: center;
  position: relative;
}
.stat .num {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat .num .grad-text { font-weight: 700; }
.stat .unit { font-size: .5em; font-weight: 600; color: var(--blue-200); margin-left: 2px; }
.stat .label { margin-top: 14px; font-size: .82rem; color: var(--on-dark-soft); letter-spacing: .04em; line-height: 1.6; }
@media (max-width: 760px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section.light { background: var(--paper); }
.section.mist { background: var(--mist); }
.section.dark { background: var(--navy-900); color: var(--on-dark); }
.section.darker { background: var(--navy-950); color: var(--on-dark); }

.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 24px; }
.dark .section-head h2, .darker .section-head h2 { color: #fff; }
.dark .lead, .darker .lead { color: var(--on-dark-soft); }

/* ============================================================
   MISSION
   ============================================================ */
.mission { display: grid; grid-template-columns: 1fr; gap: 0; }
.mission-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.4;
  letter-spacing: .01em;
  max-width: 16em;
}
.mission-quote .mk { color: var(--accent); font-family: var(--font-latin); }
.mission-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.mission-card {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.mission-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(6,26,68,.32); border-color: var(--blue-200); }
.mission-card .mc-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--accent); font-weight: 700; }
.mission-card h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.mission-card p { font-size: .95rem; color: var(--ink-soft); line-height: 1.85; }
@media (max-width: 820px) { .mission-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-feature {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center;
}
.product-copy .pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  color: var(--accent); background: rgba(47,154,244,.1); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.product-copy h2 { margin-bottom: 22px; }
.product-copy .logmeets-name { font-family: var(--font-latin); }
.feature-list { list-style: none; margin: 30px 0 36px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.feature-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(47,154,244,.12); color: var(--accent);
  display: grid; place-items: center; margin-top: 2px;
}
.feature-list .tick svg { width: 13px; height: 13px; }
.feature-list b { color: var(--ink); font-weight: 700; }

.device-stage {
  position: relative; display: grid; place-items: center;
  padding: 30px;
}
.device-stage::before {
  content: ""; position: absolute; inset: 8% 12%;
  background: radial-gradient(circle at 50% 40%, rgba(47,154,244,.28), transparent 65%);
  filter: blur(20px); z-index: 0;
}
.device-stage img {
  position: relative; z-index: 1;
  max-height: 560px; width: auto;
  filter: drop-shadow(0 40px 60px rgba(6,26,68,.3));
  border-radius: 22px;
}
@media (max-width: 900px) { .product-feature { grid-template-columns: 1fr; } .device-stage { order: -1; } .device-stage img { max-height: 460px; } }

/* product trio (other products / next-gen) */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.prod-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(100,198,255,.16);
  border-radius: 18px; padding: 34px 30px;
  transition: transform .3s, border-color .3s, background .3s;
}
.prod-card:hover { transform: translateY(-5px); border-color: var(--accent-2); background: rgba(100,198,255,.07); }
.prod-card .pc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-grad); display: grid; place-items: center; margin-bottom: 20px; }
.prod-card .pc-ico svg { width: 22px; height: 22px; }
.prod-card h3 { color: #fff; font-size: 1.18rem; margin-bottom: 12px; }
.prod-card p { font-size: .92rem; color: var(--on-dark-soft); line-height: 1.8; }
@media (max-width: 820px) { .prod-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PARTNERSHIP (Claude / Anthropic)
   ============================================================ */
.partner-hero { display: grid; grid-template-columns: 1fr; gap: 0; }
.claude-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(100,198,255,.2);
  font-size: .82rem; color: var(--on-dark-soft); margin-bottom: 30px;
}
.claude-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.claude-badge b { color: #fff; font-weight: 700; }

.model-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 14px; }
.model-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(100,198,255,.18);
  border-radius: 18px; padding: 32px 28px; position: relative; overflow: hidden;
}
.model-card::before { content:""; position:absolute; inset:0 0 auto 0; height: 3px; background: var(--accent-grad); }
.model-card .mname { font-family: var(--font-latin); font-weight: 700; font-size: 1.3rem; color: #fff; }
.model-card .mtag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin: 6px 0 18px; }
.model-card p { font-size: .92rem; color: var(--on-dark-soft); line-height: 1.85; }
@media (max-width: 820px) { .model-grid { grid-template-columns: 1fr; } }

/* architecture / 3-tier */
.arch {
  margin-top: 80px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px,5vw,72px); align-items: center;
}
.arch-visual {
  border: 1px solid rgba(100,198,255,.18); border-radius: 22px; padding: 40px 32px;
  background: linear-gradient(180deg, rgba(11,44,102,.4), rgba(4,16,46,.2));
}
.tier { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(100,198,255,.12); margin-bottom: 14px; }
.tier:last-child { margin-bottom: 0; }
.tier .t-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(100,198,255,.1); color: var(--accent-2); }
.tier .t-ico svg { width: 20px; height: 20px; }
.tier .t-body b { display: block; color: #fff; font-size: .98rem; }
.tier .t-body span { font-size: .82rem; color: var(--on-dark-soft); }
.tier-link { text-align: center; font-family: var(--font-mono); font-size: 18px; color: var(--accent-2); line-height: .4; }
@media (max-width: 820px) { .arch { grid-template-columns: 1fr; } }

/* timeline + ARR */
.roadmap { margin-top: 80px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; position: relative; }
.timeline::before { content:""; position: absolute; top: 9px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(100,198,255,.4), rgba(100,198,255,.4), transparent); }
.tl-step { padding: 0 18px; position: relative; text-align: center; }
.tl-step .tl-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--accent-2); margin: 0 auto 22px; position: relative; z-index: 1; display: grid; place-items: center; }
.tl-step .tl-dot::after { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.tl-step.is-now .tl-dot { background: var(--accent-2); box-shadow: 0 0 0 6px rgba(100,198,255,.18); }
.tl-step .tl-when { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent-2); font-weight: 700; }
.tl-step h4 { color: #fff; font-size: 1rem; margin: 10px 0 6px; font-family: var(--font-display); }
.tl-step p { font-size: .82rem; color: var(--on-dark-soft); line-height: 1.7; }
@media (max-width: 820px) { .timeline { grid-template-columns: 1fr 1fr; gap: 40px 0; } .timeline::before { display: none; } }

.arr-band {
  margin-top: 72px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: rgba(100,198,255,.16); border-radius: 20px; overflow: hidden;
}
.arr-cell { background: var(--navy-850); padding: 38px 30px; text-align: center; }
.arr-cell .ac-label { font-size: .82rem; color: var(--on-dark-soft); letter-spacing: .06em; margin-bottom: 14px; }
.arr-cell .ac-num { font-family: var(--font-latin); font-weight: 700; font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1; }
.arr-cell .ac-sub { font-size: .8rem; color: var(--on-dark-faint); margin-top: 8px; }
.arr-cell.total { background: linear-gradient(135deg, rgba(47,154,244,.16), rgba(11,44,102,.3)); }
@media (max-width: 760px) { .arr-band { grid-template-columns: 1fr; } }

/* ============================================================
   PUBLIC SECTOR VISION
   ============================================================ */
.vision { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
.vision-stat { font-family: var(--font-latin); font-weight: 700; font-size: clamp(5rem, 13vw, 11rem); line-height: .9; letter-spacing: -.02em; }
.vision-stat .pct { font-size: .42em; }
.vision-cap { font-size: 1.05rem; color: var(--on-dark-soft); max-width: 22em; margin-top: 12px; line-height: 1.9; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.domain-tags span { font-size: .88rem; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(100,198,255,.24); color: var(--on-dark); background: rgba(100,198,255,.05); }
.region-note { margin-top: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--accent-2); }
@media (max-width: 820px) { .vision { grid-template-columns: 1fr; } }

/* ============================================================
   AI FRONTIER (cinematic)
   ============================================================ */
.aif {
  background:
    radial-gradient(90% 80% at 18% 10%, rgba(47,154,244,calc(.16 * var(--aif-glow))), transparent 60%),
    radial-gradient(70% 70% at 90% 90%, rgba(100,198,255,calc(.12 * var(--aif-glow))), transparent 55%),
    #02081c;
  color: var(--on-dark);
  position: relative; overflow: hidden;
}
.aif-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 56px; }
.aif-logo { width: min(440px, 78vw); height: auto; margin-bottom: 30px; filter: drop-shadow(0 0 30px rgba(47,154,244,calc(.4 * var(--aif-glow)))); }
.aif-logo svg, .aif-logo img { width: 100%; height: auto; }
.aif-tagline { font-family: var(--font-mono); font-size: clamp(11px,1.4vw,14px); letter-spacing: .4em; text-transform: uppercase; color: var(--accent-2); }
.aif-desc { max-width: 640px; margin: 28px auto 0; color: var(--on-dark-soft); line-height: 2; font-size: 1.05rem; }

.aif-stage { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(100,198,255,.2); box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); }
.aif-stage video { width: 100%; display: block; background: #000; }
.aif-stage .vidframe { position: relative; aspect-ratio: 16/9; background: #000; }
.aif-stage .vidframe video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aif-playbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(2,8,28,.92));
}
.aif-play { flex: none; width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer; background: var(--accent-grad); display: grid; place-items: center; box-shadow: 0 0 30px rgba(47,154,244,.5); transition: transform .2s; }
.aif-play:hover { transform: scale(1.06); }
.aif-play svg { width: 20px; height: 20px; fill: #fff; }
.aif-playmeta { color: #fff; }
.aif-playmeta b { display: block; font-size: .98rem; }
.aif-playmeta span { font-size: .78rem; color: var(--on-dark-soft); }

/* hosts */
.hosts { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; margin-top: 56px; }
.host {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(100,198,255,.18);
  aspect-ratio: 16/10; background: #04102e;
}
.host img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.host:hover img { transform: scale(1.04); }
.host .host-grad { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(2,8,28,.92)); }
.host .host-info { position: absolute; left: 26px; bottom: 24px; right: 26px; }
.host .host-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); }
.host .host-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; margin-top: 4px; }
.host .host-desc { font-size: .88rem; color: var(--on-dark-soft); margin-top: 6px; line-height: 1.6; }
@media (max-width: 760px) { .hosts { grid-template-columns: 1fr; } }

.aif-cta { display: flex; justify-content: center; margin-top: 56px; }
.yt-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px; border-radius: 999px;
  background: #fff; color: var(--navy-900); font-weight: 700; font-size: .98rem;
  transition: transform .25s, box-shadow .25s;
}
.yt-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(255,255,255,.3); }
.yt-btn .yt { width: 30px; height: 22px; }

/* ============================================================
   COMPANY INFO
   ============================================================ */
.company { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px,6vw,80px); align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; padding: 22px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .98rem; }
.company-table th { width: 30%; color: var(--ink); font-weight: 700; font-family: var(--font-display); }
.company-table td { color: var(--ink-soft); line-height: 1.8; }
.cert-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cert-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; font-weight: 700;
  padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--mist);
}
.company-side { position: sticky; top: 100px; }
.company-side .cs-mission { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.5; margin-bottom: 18px; }
.company-side p { color: var(--ink-soft); font-size: .95rem; line-height: 1.9; }
@media (max-width: 820px) { .company { grid-template-columns: 1fr; } .company-side { position: static; } }

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.cta {
  background: radial-gradient(110% 130% at 50% -20%, #0b2c66, var(--navy-900) 60%, var(--navy-950));
  color: var(--on-dark); text-align: center; position: relative; overflow: hidden;
}
.cta .slash-bg { position: absolute; inset: 0; z-index: 0; opacity: .5; display: flex; justify-content: center; gap: 60px; }
.cta .slash-bg i { width: 50px; height: 120%; background: linear-gradient(rgba(47,154,244,.08), transparent); transform: skewX(-22deg); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 22px; }
.cta p { color: var(--on-dark-soft); max-width: 540px; margin: 0 auto 40px; line-height: 1.9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-mail { font-family: var(--font-mono); font-size: 1.05rem; color: var(--accent-2); letter-spacing: .04em; margin-top: 30px; display: inline-block; }
.cta-mail:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-950); color: var(--on-dark-soft); padding: 70px 0 36px; border-top: 1px solid rgba(100,198,255,.1); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(100,198,255,.1); }
.footer .brand-name b { color: #fff; }
.footer-about { color: var(--on-dark-faint); font-size: .88rem; line-height: 1.8; margin-top: 20px; max-width: 30ch; }
.footer-col h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-mono); margin-bottom: 18px; }
.footer-col a { display: block; font-size: .9rem; padding: 6px 0; color: var(--on-dark-soft); transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 30px; font-size: .8rem; color: var(--on-dark-faint); }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* base = visible (no-JS safe). only hide once JS marks the doc ready. */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: revealUp .85s cubic-bezier(.16,1,.3,1) both; }
.js .reveal.d1.in { animation-delay: .09s; }
.js .reveal.d2.in { animation-delay: .18s; }
.js .reveal.d3.in { animation-delay: .27s; }
@keyframes revealUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; }
  .js .reveal.in { animation: none; }
  .hero-scroll .line { animation: none; }
}

/* ============================================================
   MINIMAL LAYOUT (focused edition)
   ============================================================ */
.m-narrow { max-width: 920px; }

/* hero — minimal */
.hero-min { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 100px; }

/* ============================================================
   HERO — Noah cinematic scroll-pan (mouth → eye → head → black)
   The image is tied to scroll: a tall portrait inside a sticky
   black stage, panned vertically up the face as the user scrolls.
   ============================================================ */
.hero-noah {
  position: relative;
  height: 360vh;              /* scroll track length — gives the pan room */
  background: #000;
}
.noah-pin {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  background: #000;
}
/* WINDOW-PAN version: a clip aperture (window) that opens, then a black bar
   grows from the bottom while a tall portrait pans up the face. */
.noah-aperture {
  position: absolute; inset: 0; z-index: 0;
  clip-path: inset(var(--ct, 100%) 0% var(--cb, 0%) 0%);
  -webkit-clip-path: inset(var(--ct, 100%) 0% var(--cb, 0%) 0%);
}
/* heartbeat particle sphere on the black intro */
.noah-heart {
  position: absolute; inset: 0; z-index: 1;
  display: block; background: transparent;
  touch-action: pan-y;
}
.noah-imgwrap {
  position: absolute; left: 0; right: 0; top: 0;
  height: 210svh;
  transform: translate3d(0, var(--noah-ty, -100svh), 0);
  will-change: transform;
  background: #000515;
}
.noah-img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 横位置の寄せ：左右は余剰が大きいので object-position の X で調整できる。
     X を上げるほど画は左へ寄る（46%→60%で少し左へ）。%指定なので画面幅に自動追従。 */
  object-position: var(--noah-ox, 60%) 50%;
  display: block;
}
/* black curtain that deepens at the end of the pan */
.noah-dark {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #000515;
  opacity: var(--noah-dark, 0);
}
.noah-logo {
  position: absolute; z-index: 2;
  right: clamp(20px, 5vw, 76px);
  top: 50%;
  height: clamp(280px, 56vh, 560px);
  width: auto;
  transform: translateY(calc(-50% + var(--logo-rise, 0px)));
  filter: drop-shadow(0 6px 34px rgba(2,6,15,.7));
  opacity: var(--logo-o, 0);
  pointer-events: none;
}
/* tagline — settles on black at the end */
.noah-copy {
  position: absolute; z-index: 3;
  left: clamp(22px, 8vw, 132px);
  top: 50%; transform: translateY(-50%);
  max-width: min(80%, 760px);
}
.noah-copy .nc-line {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  line-height: 1.5; letter-spacing: .02em; white-space: nowrap;
}
.noah-copy .nc-line .lat { font-family: var(--font-latin); font-weight: 700; }
.noah-copy .nc-1 { font-size: clamp(1.5rem, 3.4vw, 2.8rem); opacity: var(--o1, 0); transform: translateY(var(--r1, 42px)); }
.noah-copy .nc-2 { font-size: clamp(1.05rem, 2.3vw, 1.8rem); font-weight: 500; color: var(--blue-200); margin-top: .55em; opacity: var(--o2, 0); transform: translateY(var(--r2, 42px)); }

.noah-pin .hero-scroll { z-index: 4; color: rgba(234,241,251,.7); transition: opacity .5s ease; }
.noah-pin .hero-scroll .line { background: linear-gradient(var(--accent-2), transparent); }

@media (max-width: 640px) {
  .noah-logo { right: 50%; transform: translate(50%, calc(-50% + var(--logo-rise, 0px))); top: 44%; height: clamp(230px, 42vh, 400px); }
  .noah-imgwrap { transform: translate3d(0, var(--noah-ty, -85svh), 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-noah { height: 100svh; }
  .noah-aperture { clip-path: none; -webkit-clip-path: none; }
  .noah-imgwrap { height: 100svh; transform: none; }
  .noah-img { object-position: 46% 40%; }
  .noah-copy .nc-1, .noah-copy .nc-2 { opacity: 1; transform: none; }
}
.hero-min .eyebrow { margin-bottom: 34px; }
.hero-min .display { color: #fff; margin-bottom: 28px; }
.hero-min .hero-sub-line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 2rem); color: var(--blue-200);
  letter-spacing: .04em;
}

/* statement + stats */
.statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem); line-height: 1.7;
  letter-spacing: .01em; color: var(--ink); text-wrap: pretty;
  max-width: 22em;
}
.statement b { font-weight: 700; }
.statement .hl { color: var(--accent); font-weight: 700; }

.m-stats {
  margin-top: clamp(60px, 8vw, 100px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 60px);
  border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px);
}
.m-stat { text-align: center; }
.m-stat .m-num {
  font-family: var(--font-latin); font-weight: 700; line-height: .92;
  font-size: clamp(3rem, 7vw, 5.4rem); letter-spacing: -.02em;
}
.m-stat .m-num .u { font-size: .42em; font-weight: 700; margin-left: .04em; }
.m-stat .m-lbl { margin-top: 16px; font-size: .92rem; color: var(--ink-soft); letter-spacing: .03em; }
@media (max-width: 760px) {
  .m-stats { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .m-stat { display: flex; align-items: baseline; gap: 20px; }
  .m-stat .m-lbl { margin-top: 0; }
}

/* primary feature — Project Noah */
.feature {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 26px;
  background: radial-gradient(120% 130% at 85% 0%, #0b2c66 0%, var(--navy-900) 52%, var(--navy-950) 100%);
  color: var(--on-dark);
  padding: clamp(44px, 6vw, 88px);
}
.feature .feature-grid-fade {
  position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image:
    linear-gradient(rgba(100,198,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,198,255,.06) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(90% 120% at 90% 10%, #000, transparent 70%);
  mask-image: radial-gradient(90% 120% at 90% 10%, #000, transparent 70%);
}
.feature .feat-slash { position: absolute; right: -40px; top: -60px; z-index: -1; display: flex; gap: 30px; opacity: .5; }
.feature .feat-slash i { width: 34px; height: 360px; background: var(--accent-grad); transform: skewX(-22deg); border-radius: 5px; filter: drop-shadow(0 0 40px rgba(47,154,244,.5)); }
.feature .feat-slash i:nth-child(2) { height: 260px; opacity: .55; }
.feature .pname {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-2); display: inline-flex; align-items: center; gap: 12px;
}
.feature .pname::before { content: ""; width: 28px; height: 2px; background: var(--accent-2); }
.feature h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.3; margin: 26px 0 24px; max-width: 16em; }
.feature p { color: var(--on-dark-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 2; max-width: 40em; }

/* two offerings */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.offer {
  border-radius: 26px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  min-height: 380px;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.offer:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(6,26,68,.4); }
.offer .o-media { position: relative; flex: 1; display: grid; place-items: center; overflow: hidden; }
.offer .o-body { padding: 30px clamp(26px, 3vw, 38px) 36px; }
.offer .o-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.offer .o-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 10px 0 8px; }
.offer .o-desc { font-size: .98rem; color: var(--ink-soft); line-height: 1.8; }

/* Logmeets offer */
.offer.offer-logmeets .o-media { background: linear-gradient(160deg, #f3f6fb 0%, #e7eef8 100%); padding: 30px; }
.offer.offer-logmeets .o-media::before { content: ""; position: absolute; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(47,154,244,.22), transparent 65%); filter: blur(10px); }
.offer.offer-logmeets img { position: relative; max-height: 300px; width: auto; filter: drop-shadow(0 26px 40px rgba(6,26,68,.28)); border-radius: 16px; }
.offer.offer-logmeets .o-title { color: var(--ink); }

/* AI Frontier offer */
.offer.offer-aif { border-color: transparent; background: #02081c; color: var(--on-dark); }
.offer.offer-aif .o-media {
  background:
    radial-gradient(80% 90% at 25% 15%, rgba(47,154,244,calc(.2 * var(--aif-glow))), transparent 60%),
    radial-gradient(70% 80% at 90% 100%, rgba(100,198,255,calc(.16 * var(--aif-glow))), transparent 55%),
    #02081c;
  padding: 40px;
}
.offer.offer-aif .aif-logo-mini { width: min(300px, 80%); }
.offer.offer-aif .aif-logo-mini svg { width: 100%; height: auto; }
.offer.offer-aif .o-title { color: #fff; }
.offer.offer-aif .o-desc { color: var(--on-dark-soft); }
.offer.offer-aif .o-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font-size: .92rem; font-weight: 700; color: var(--accent-2); white-space: nowrap;
}
.offer.offer-aif .o-link .yt { width: 24px; height: 18px; }
.offer.offer-aif .o-link:hover { color: #fff; }

@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } .offer { min-height: 0; } }

/* minimal footer */
.footer-min { background: var(--navy-950); color: var(--on-dark-soft); padding: 64px 0 40px; }
.footer-min .fm-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; padding-bottom: 36px; border-bottom: 1px solid rgba(100,198,255,.1); }
.footer-min .fm-addr { font-size: .9rem; line-height: 1.9; color: var(--on-dark-faint); max-width: 36ch; }
.footer-min .fm-addr a { color: var(--accent-2); }
.footer-min .fm-bottom { padding-top: 26px; font-size: .8rem; color: var(--on-dark-faint); }


/* ============================================================
   SIMPLE HERO (plain-scroll edition) — tagline first, no scroll-jacking
   ============================================================ */
.hero-simple {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
  background: #03060f;
}
.hero-simple .hs-bg { position: absolute; inset: 0; z-index: -2; }
.hero-simple .hs-bg video,
.hero-simple .hs-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; }
/* legibility wash: subtle at top, deep at the bottom where the copy sits */
.hero-simple::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3,6,15,.45) 0%, rgba(3,6,15,.12) 34%, rgba(3,6,15,.55) 72%, rgba(3,6,15,.92) 100%);
}
.hero-simple .wrap { padding-top: 120px; padding-bottom: clamp(96px, 17vh, 168px); }
.hs-copy .hs-1 {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  line-height: 1.4; letter-spacing: .02em;
  font-size: clamp(1.9rem, 5vw, 3.7rem);
}
.hs-copy .hs-1 .lat { font-family: var(--font-latin); font-weight: 700; }
.hs-copy .hs-2 {
  color: var(--blue-400); font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2.7vw, 2.15rem); margin-top: .55em; letter-spacing: .03em;
}
.hero-simple .hero-scroll { color: rgba(234,241,251,.7); }
.hero-simple .hero-scroll .line { background: linear-gradient(var(--accent-2), transparent); }
/* reveal helper for the hero lines */
.js .hs-copy .hs-1 { opacity: 0; animation: revealUp .9s cubic-bezier(.16,1,.3,1) .15s both; }
.js .hs-copy .hs-2 { opacity: 0; animation: revealUp .9s cubic-bezier(.16,1,.3,1) .38s both; }
@media (prefers-reduced-motion: reduce) {
  .js .hs-copy .hs-1, .js .hs-copy .hs-2 { opacity: 1; animation: none; }
}

/* offers with a single card (e.g. ai-frontier temporarily removed): centre it at a comfortable width */
.offers.offers-single { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
@media (max-width: 820px) { .offers.offers-single { max-width: none; } }

/* hero: official 時空 ZIKŪ logo (white alpha PNG) on the right, like the window-pan hero */
.hero-simple .hero-logo {
  position: absolute; z-index: 1;
  right: clamp(24px, 6vw, 104px); top: 40%;
  transform: translateY(-50%);
  height: clamp(220px, 46vh, 460px); width: auto;
  filter: drop-shadow(0 6px 34px rgba(2,6,15,.7));
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero-simple { align-items: center; }
  .hero-simple .hero-logo { right: 50%; top: 34%; transform: translate(50%, -50%); height: clamp(150px, 30vh, 260px); }
  .hero-simple .wrap { align-self: flex-end; }
}

/* header brand: official 時空 ZIKŪ logo (white PNG). brightness(0) makes the black
   version on the fly when the header turns light on scroll. */
/* crop to the 時空 kanji only (ZIKŪ trimmed off) via object-position; ~20% larger glyph */
.site-header .brand-logo {
  height: 46px; aspect-ratio: 902 / 830; display: block; flex: none;
  overflow: hidden; transition: filter .35s ease;
  filter: drop-shadow(0 2px 8px rgba(2,6,15,.45));
}
.site-header .brand-logo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 50% 14%;   /* shows rows ~70–1105 = 時空, hides ZIKŪ */
}
.scrolled .brand-logo { filter: brightness(0); }
@media (max-width: 600px) { .site-header .brand-logo { height: 40px; } }

/* footer (plain-scroll edition): address block right-aligned, copyright centred */
.footer-min .fm-top { justify-content: flex-end; }
.footer-min .fm-addr { text-align: right; max-width: none; }
.footer-min .fm-bottom { text-align: center; }

/* ============================================================
   SECURITY / CERTIFICATIONS (ported from ziku-tech.com)
   ============================================================ */
.security-sec { text-align: center; }
.sec-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: 16px; }
.sec-sub { font-family: var(--font-mono); font-size: clamp(.78rem, 1.4vw, .95rem); letter-spacing: .03em; color: var(--ink-soft); margin-bottom: clamp(32px, 5vw, 52px); }
.sec-certs { display: flex; justify-content: center; }
.sec-certs img { width: 100%; max-width: 580px; height: auto; }   /* marks kept small */
.sec-policies { margin-top: clamp(30px, 5vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.sec-policies a { font-size: .95rem; font-weight: 500; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
.sec-policies a:hover { color: var(--blue-600); }
.sec-sheets { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sec-sheets a {
  font-size: .9rem; font-weight: 700; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px;
  transition: border-color .25s, color .25s, background .25s;
}
.sec-sheets a:hover { border-color: var(--accent-2); color: var(--accent); background: var(--mist); }

/* Logmeets offer: 16:9 product photo full-bleed (image has its own dark backdrop) */
.offer .o-media.o-media-photo { display: block; flex: none; background: none; padding: 0; }
.offer .o-media.o-media-photo::before { display: none; }
.offer .o-media-photo img {
  position: static; width: 100%; height: auto; max-height: none;
  border-radius: 0; filter: none; display: block; aspect-ratio: 16 / 9; object-fit: cover;
}

/* language toggle (JP / EN) in the header */
.lang-toggle {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  color: var(--on-dark); background: transparent;
  border: 1px solid rgba(159,178,212,.45); border-radius: 999px;
  padding: 8px 14px; line-height: 1; cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.lang-toggle:hover { color: #fff; border-color: var(--accent-2); background: rgba(100,198,255,.08); }
.scrolled .lang-toggle { color: var(--ink-soft); border-color: var(--line); }
.scrolled .lang-toggle:hover { color: var(--accent); border-color: var(--accent-2); background: var(--mist); }
@media (max-width: 600px) { .lang-toggle { padding: 7px 11px; font-size: .72rem; } }

/* DuoTrans card: composition is right-weighted, so crop the left 10%.
   container 14.4:9 (= right 90% of a 16:9 image) + right-aligned cover does it, no vertical crop. */
.offer-duotrans .o-media-photo img { aspect-ratio: 14.4 / 9; object-position: 100% 50%; }

/* stacked offer list (single column at a comfortable width) */
.offers.offers-stack { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; gap: 26px; }
@media (max-width: 820px) { .offers.offers-stack { max-width: none; } }

/* header contact button: "<label> <phone>" — phone uses mono and a thin separator */
.header-btn .ct-label { letter-spacing: .02em; }
.header-btn .ct-tel { font-family: var(--font-mono); font-weight: 700; margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.45); white-space: nowrap; }
@media (max-width: 760px) { .header-btn .ct-tel { display: none; } }

/* contact button as a static label (no hover, no click, no link) */
.header-btn-static { pointer-events: none; cursor: default; }
.header-btn-static:hover { transform: none; box-shadow: 0 10px 30px -10px rgba(47,154,244,.6); }
