/* =========================================================
   Cosmo Vision Consulting — Corporate Site
   Palette: deep navy / white / desaturated pale blue
   ========================================================= */

:root {
  --navy-deep: #070c1c;
  --navy: #0a1024;
  --navy-2: #101a38;
  --navy-soft: #16224a;
  --line: rgba(195, 212, 230, 0.14);
  --line-strong: rgba(195, 212, 230, 0.28);

  --pale: #c3d4e6;          /* 淡い青 */
  --pale-soft: #dce7f2;
  --pale-dim: #8ea6c2;
  --accent: #9db8d6;

  --white: #ffffff;
  --text: #e7edf6;
  --text-dim: #a9b7cd;
  --text-mute: #7688a3;

  --maxw: 1180px;
  --nav-h: 66px;            /* スクロール後のヘッダー高さ = 各セクションの padding-top 基準 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slide: cubic-bezier(0.7, 0, 0.2, 1);   /* セクション横スライド用（緩急のある滑らかな動き） */
  --serif: "Noto Serif JP", "Cormorant Garamond", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--navy-deep);
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--pale); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 5vw, 48px); }
.container--narrow { max-width: 760px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
/* 通常スクロール時は is-visible、フルページ時は現在パネルの .is-active で表示。
   フルページでは is-active の付け替えで毎回コンテンツが立ち上がる（stagger は JS で付与）。 */
.reveal.is-visible,
.panel.is-active .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 48px);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ヒーロー・各セクションを通じて同一デザイン（常に透過ナビ、切替なし） */

.header__brand { display: flex; align-items: center; gap: 14px; }
.header__logo { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(157, 184, 214, 0.25)); }
.header__brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.header__brand-en { font-size: 13px; letter-spacing: 0.22em; color: var(--white); font-weight: 500; white-space: nowrap; }
.header__brand-ja { font-size: 10.5px; letter-spacing: 0.1em; color: var(--text-mute); }

.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.nav__link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; }
.nav__en { font-size: 13px; letter-spacing: 0.14em; font-weight: 400; color: var(--text); transition: color 0.3s; }
.nav__ja { font-size: 9.5px; letter-spacing: 0.08em; color: var(--text-mute); transition: color 0.3s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--pale); transform: scaleX(0); transform-origin: center; transition: transform 0.4s var(--ease);
}
.nav__link:hover .nav__en { color: var(--pale); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 20px;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: rgba(157, 184, 214, 0.12); border-color: var(--pale); }

/* mobile toggle */
.nav-toggle {
  display: none; width: 40px; height: 40px; position: relative;
  background: none; border: none; cursor: pointer; z-index: 120;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 22px 76px;
  overflow: hidden;
}
/* --- 全画面固定の宇宙背景（fixed：横スライドしても動かず、全セクション共通で表示） --- */
.cosmos-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #1a2a55 0%, #0c142c 45%, var(--navy-deep) 80%);
}
/* ごく細かい粒子がふわふわと漂うレイヤー（canvas / main.js で描画） */
.cosmos-bg__particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cosmos-bg__glow {
  position: absolute; left: 50%; top: 42%; width: min(760px, 90vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(157, 184, 214, 0.22) 0%, rgba(157,184,214,0) 62%);
  filter: blur(10px);
  animation: pulse 9s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }
.cosmos-bg__stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.2px 1.2px at 70% 20%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.6px 1.6px at 40% 70%, rgba(195,212,230,.6), transparent),
    radial-gradient(1.1px 1.1px at 85% 60%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.3px 1.3px at 55% 45%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.2px 1.2px at 90% 85%, rgba(195,212,230,.5), transparent);
  opacity: .55;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .7; } }

.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__emblem {
  width: clamp(72px, 10vw, 116px); margin: 0 auto 22px; opacity: .95;
  filter: drop-shadow(0 0 26px rgba(157, 184, 214, 0.4));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__lead {
  font-family: var(--serif); font-weight: 300; letter-spacing: 0.34em;
  font-size: clamp(12px, 1.6vw, 15px); color: var(--pale); text-transform: uppercase; margin-bottom: 18px;
  transition-delay: .1s;
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(31px, 6vw, 62px); line-height: 1.4; letter-spacing: 0.04em; color: var(--white);
  transition-delay: .2s;
}
.hero__title-line { display: block; }
.hero__desc {
  margin: 20px auto 0; max-width: 620px; color: var(--text-dim);
  font-size: clamp(14px, 1.7vw, 16px); font-weight: 300; transition-delay: .34s;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; transition-delay: .46s; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 36px; font-size: 14px; letter-spacing: 0.08em; font-weight: 400;
  border-radius: 999px; cursor: pointer; transition: all 0.4s var(--ease); border: 1px solid transparent;
}
.btn--primary { background: var(--pale); color: var(--navy-deep); font-weight: 500; }
.btn--primary:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(157,184,214,0.28); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--pale); background: rgba(157,184,214,0.1); transform: translateY(-3px); }

/* =========================================================
   Section base
   ========================================================= */
/* =========================================================
   フルページ・スクロール（JS制御 / main.js）
   各パネル = 1画面(100svh)。ホイールの蓄積量・キー・ドットで
   1セクションずつ前後に切り替える。スクロールバーは非表示。
   ========================================================= */

/* スクロールバー非表示（全ブラウザ） */
html { -ms-overflow-style: none; scrollbar-width: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

.fp { position: relative; z-index: 1; }   /* 固定背景(.cosmos-bg z-index:0)より前面に */
.fp__track { will-change: transform; }

.panel {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.section.panel {
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);  /* 固定ヘッダーぶんの余白（内容がナビに隠れない） */
}
.section > .container { width: 100%; }
.section__head { max-width: 720px; margin-bottom: clamp(18px, 3vh, 42px); }

/* --- デスクトップ（十分な高さ・マウス）: JSフルページ有効（横スライド） ---
   セクションを横並びにし、縦位置は固定のまま translateX で左右に移動させる。 */
@media (min-width: 901px) and (min-height: 720px) and (pointer: fine) {
  body { overflow: hidden; }
  .fp { height: 100svh; overflow: hidden; }
  .fp__track { display: flex; flex-wrap: nowrap; transition: transform 1.05s var(--ease-slide); }
  .fp__track > .panel { flex: 0 0 100vw; width: 100vw; }
  /* 非アクティブなパネルはわずかに沈ませ、アクティブで前面に立ち上がる（奥行き感） */
  .fp__track > .panel { transition: opacity 1.05s var(--ease-slide), filter 1.05s var(--ease-slide); opacity: .35; filter: blur(2px); }
  .fp__track > .panel.is-active { opacity: 1; filter: none; }
}

/* --- タッチ端末・低い画面: 縦積みの通常スクロール（1画面ごとの高さは維持） --- */
@media (max-width: 900px), (max-height: 719px), (pointer: coarse) {
  .fp__track { display: block; transform: none !important; }
  .panel { height: auto; min-height: 100svh; width: auto; overflow: visible; }
  .fp-dots { display: none !important; }
  .section.panel { padding-top: calc(var(--nav-h) + 6svh); padding-bottom: 6svh; }
}

/* --- セクション・ドットナビ（下部中央・宇宙の光＝菱形スパークル） --- */
.fp-dots {
  position: fixed; left: 50%; bottom: clamp(16px, 3vh, 34px); transform: translateX(-50%);
  z-index: 90; display: flex; flex-direction: row; align-items: center; gap: clamp(16px, 1.8vw, 24px);
}
.fp-dots__dot {
  position: relative;
  width: 13px; height: 13px; padding: 0; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 0;
  color: var(--pale-dim); opacity: .4;
  transition: opacity .5s var(--ease), color .5s var(--ease), filter .5s var(--ease);
}
.fp-dots__dot svg { width: 100%; height: 100%; display: block; fill: currentColor; }
/* 拡大はメインのスパークルのみに適用（周囲のスパークルは広げない） */
.fp-dots__dot > svg { transition: transform .5s var(--ease); transform-origin: center; }
.fp-dots__dot:hover { opacity: .8; color: var(--pale); }
.fp-dots__dot:hover > svg { transform: scale(1.25); }
.fp-dots__dot.is-active {
  opacity: 1; color: #eef4fb;
  filter: drop-shadow(0 0 4px rgba(206, 222, 240, 0.95))
          drop-shadow(0 0 11px rgba(157, 184, 214, 0.7));
}
.fp-dots__dot.is-active > svg { transform: scale(1.6); animation: sparkle-grow 0.75s var(--ease); }
@keyframes sparkle-grow {
  0%   { transform: scale(0.2); }
  55%  { transform: scale(1.85); }   /* 少しオーバーシュートして弾ける */
  100% { transform: scale(1.6); }
}

/* --- アクティブなスパークルのすぐ近くで瞬く、ごく小さなスパークル群 --- */
.fp-dots__aura { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none; }
.fp-dots__spark {
  position: absolute; opacity: 0; line-height: 0; color: #eaf2fb;
  transform: translate(-50%, -50%) scale(0.2);
  filter: drop-shadow(0 0 1.5px rgba(206, 222, 240, 0.95));
}
.fp-dots__dot.is-active .fp-dots__spark { animation: dot-twinkle 1.8s var(--ease) infinite; }
.fp-dots__dot.is-active .fp-dots__spark:nth-child(2) { animation-delay: .5s;  animation-duration: 2.1s; }
.fp-dots__dot.is-active .fp-dots__spark:nth-child(3) { animation-delay: .9s;  animation-duration: 1.6s; }
.fp-dots__dot.is-active .fp-dots__spark:nth-child(4) { animation-delay: .3s;  animation-duration: 1.9s; }
.fp-dots__dot.is-active .fp-dots__spark:nth-child(5) { animation-delay: .75s; animation-duration: 1.5s; }
.fp-dots__dot.is-active .fp-dots__spark:nth-child(6) { animation-delay: 1.15s; animation-duration: 2.2s; }
@keyframes dot-twinkle {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.15) rotate(0deg); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .fp-dots__dot.is-active > svg { animation: none; }
  .fp-dots__dot.is-active .fp-dots__spark { animation: none; opacity: 0; }
}
.section__label {
  display: inline-block; font-family: var(--serif); font-size: 12px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--pale); margin-bottom: 20px; position: relative; padding-left: 40px;
}
.section__label::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 1px; background: var(--pale-dim); }
.section__title {
  font-family: var(--serif); font-weight: 500; color: var(--white);
  font-size: clamp(26px, 4.4vw, 44px); line-height: 1.45; letter-spacing: 0.03em;
}
.section__desc { margin-top: 14px; color: var(--text-dim); font-size: clamp(14px, 1.6vw, 16px); line-height: 1.8; }

/* ---------- About ---------- */
.about { background: transparent; }
.about__body { max-width: 760px; margin-bottom: clamp(28px, 4.5vw, 52px); }
.about__text { color: var(--text-dim); font-size: clamp(14.5px, 1.7vw, 16.5px); margin-bottom: 18px; }
.about__text:last-child { margin-bottom: 0; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); }
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 46px); color: var(--pale); line-height: 1; margin-bottom: 10px; }
.stat__label { color: var(--text-mute); font-size: 13px; line-height: 1.8; }

/* ---------- Service ---------- */
.service { background: transparent; }
.service__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.card { background: var(--navy); padding: clamp(15px, 1.8vw, 26px); transition: background 0.5s var(--ease); position: relative; }
.card:hover { background: var(--navy-2); }
.card__no { font-family: var(--serif); font-size: 12px; letter-spacing: 0.2em; color: var(--pale-dim); }
.card__title { font-family: var(--serif); font-weight: 500; color: var(--white); font-size: clamp(17px, 2vw, 21px); margin: 10px 0 10px; letter-spacing: 0.03em; }
.card__text { color: var(--text-dim); font-size: 13.5px; line-height: 1.66; }

/* ---------- System ---------- */
.system { background: transparent; }
.system__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.system__desc { color: var(--text-dim); font-size: clamp(13.5px, 1.5vw, 15.5px); line-height: 1.72; margin-bottom: 10px; }
.system__features { list-style: none; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.system__features li { background: var(--navy); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; color: var(--text-mute); font-size: 12px; }
.system__features li span { color: var(--white); font-size: 14px; font-weight: 400; letter-spacing: 0.03em; }

.system__visual { perspective: 1400px; }
.mockup {
  background: linear-gradient(160deg, #0f1a3a, #0a1330);
  border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5), 0 0 0 1px rgba(157,184,214,0.05);
  transform: rotateY(-9deg) rotateX(4deg); transition: transform 0.8s var(--ease);
}
.system__visual:hover .mockup { transform: rotateY(-3deg) rotateX(1deg); }
.mockup__bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.mockup__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mockup__body { padding: 8px 4px; }
.mockup__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.9fr; align-items: center; gap: 8px; padding: 11px 18px; font-size: 12.5px; color: var(--text-dim); border-bottom: 1px solid rgba(195,212,230,0.06); }
.mockup__row:last-child { border-bottom: none; }
.mockup__row--head { color: var(--text-mute); font-size: 11px; letter-spacing: 0.1em; text-transform: none; }
.tag { justify-self: start; font-size: 11px; font-weight: 500; padding: 3px 11px; border-radius: 999px; letter-spacing: 0.02em; }
.tag--ok { background: rgba(157,184,214,0.14); color: var(--pale); }
.tag--warn { background: rgba(214,196,120,0.14); color: #d8c47c; }
.tag--alert { background: rgba(214,130,130,0.16); color: #e29a9a; }

/* ---------- Flow ---------- */
.flow { background: transparent; }
.flow__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); counter-reset: none; }
.flow__item { position: relative; padding-top: 40px; border-top: 1px solid var(--line); }
.flow__item::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--pale); box-shadow: 0 0 12px rgba(157,184,214,0.6); }
.flow__step { font-family: var(--serif); font-size: 12px; letter-spacing: 0.2em; color: var(--pale-dim); }
.flow__title { font-family: var(--serif); color: var(--white); font-size: clamp(17px, 2vw, 21px); margin: 12px 0 14px; font-weight: 500; }
.flow__text { color: var(--text-dim); font-size: 13.5px; line-height: 1.9; }

/* ---------- Company ---------- */
.company { background: transparent; }
.company__table { border-top: 1px solid var(--line); }
.company__row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 13px 6px; border-bottom: 1px solid var(--line); }
.company__row dt { color: var(--pale); font-size: 14px; letter-spacing: 0.06em; font-weight: 400; }
.company__row dd { color: var(--text); font-size: 15px; }
.company__en { color: var(--text-mute); font-size: 12.5px; letter-spacing: 0.08em; }
.company__note { margin-top: 22px; color: var(--text-mute); font-size: 12.5px; }

/* ---------- Contact（フォーム＋フッターを1パネルに収める） ---------- */
.contact { background: transparent; }
.contact.panel { flex-direction: column; align-items: stretch; padding-top: 0; }
.contact__inner {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 3svh);
  padding-bottom: 3svh;
}
.form { display: grid; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 13px; letter-spacing: 0.05em; color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.form__label em { font-size: 10.5px; padding: 2px 8px; border-radius: 3px; background: rgba(195,212,230,0.1); color: var(--text-mute); letter-spacing: 0.06em; }
.form__label .req { background: rgba(157,184,214,0.16); color: var(--pale); }
.form input, .form textarea {
  font-family: inherit; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 6px; padding: 9px 14px; transition: border-color 0.3s, background 0.3s;
  width: 100%; resize: vertical;
}
.form textarea { min-height: 84px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pale); background: rgba(157,184,214,0.06); }
.form input::placeholder, .form textarea::placeholder { color: var(--text-mute); }
.form__submit { display: flex; justify-content: center; margin-top: 4px; }
.form__status { text-align: center; font-size: 14px; min-height: 1em; }
.form__status.is-error { color: #e29a9a; }
.form__status.is-success { color: var(--pale); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .system__layout { grid-template-columns: 1fr; }
  .system__visual { order: -1; }
  .mockup { transform: none; }
  .service__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; background: rgba(7,12,28,0.97); backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: center;
    transform: translateX(100%); transition: transform 0.5s var(--ease); z-index: 110;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 26px; }
  .nav__link { flex-direction: row; gap: 12px; align-items: baseline; }
  .nav__en { font-size: 19px; }
  .nav__ja { font-size: 12px; }
  .nav__link--cta { padding: 12px 34px; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .header__brand-ja { display: none; }

  .about__stats { grid-template-columns: 1fr; gap: 26px; }
  .service__grid { grid-template-columns: 1fr; }
  .flow__list { grid-template-columns: 1fr; }
  .company__row { grid-template-columns: 1fr; gap: 8px; }
  .company__row dt { font-size: 13px; }
  .form__row { grid-template-columns: 1fr; }
}
