/* ============================================================
   HiQEST Corporate Site — v2.0 "Local Tech Partner" Design
   Technical Warmth — 技術の精度に、人の温度を加える。
   配色正本: 要件定義/パーソナルカラー/HiQEST_Webサイト配色設計_親しみやすさ重視版.md
   ============================================================ */

:root {
  /* Base */
  --bg:          #F8F5E9;   /* Warm Ivory — 基本背景 */
  --surface:     #FFFDF7;   /* Soft White — カード・交互セクション */
  --bg-soft:     #FFFDF7;   /* 交互セクション用（Soft White） */
  --text:        #29322D;   /* Soft Charcoal — 基本文字 */
  --text-sub:    #626A63;   /* Warm Gray — 説明文 */
  --text-muted:  #8B9188;   /* 注釈・補助 */
  --border:      #DADACF;   /* Light Warm Gray */
  --input-border:#BFC4B9;

  /* Brand */
  --olive:       #4A5845;   /* Deep Olive — メイン */
  --olive-dk:    #384335;   /* Dark Olive — フッター・ホバー */
  --olive-deep:  #29322D;   /* 濃色バンドのベース（Soft Charcoal系） */
  --sage:        #87917A;   /* Soft Sage — 補助・線・図形 */
  --link:        #47614E;   /* Forest Green — テキストリンク */

  /* Accent（シグナルとして少量使用。白文字は載せない） */
  --yellow:      #E7D36B;   /* Warm Yellow */
  --yellow-pale: #F4EAB5;   /* Pale Yellow — 柔らかな強調背景 */
  --gold:        #C4B04A;   /* 黄系の濃いめ装飾（アイコン等） */

  /* Status */
  --error:       #A34B40;
  --success:     #477456;

  /* 旧トークン名エイリアス（互換用） */
  --navy:        var(--olive-deep);
  --navy-800:    var(--olive-dk);
  --blue:        var(--olive);
  --blue-dark:   var(--olive-dk);
  --cyan:        var(--gold);
  --bg-blue:     var(--yellow-pale);
  --on-dark-sub: #C9CFC0;

  /* Typography（配色設計書 §13 準拠） */
  --ff-head:  'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --ff-serif: var(--ff-head);  /* 旧名互換 */
  --ff-sans:  'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-latin: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1120px;
  --container-wide: 1280px;
  --text-max: 760px;
  --gap: clamp(20px, 4.5vw, 48px);
  --section-py: clamp(72px, 10vw, 112px);

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(41, 50, 45, .05);
  --shadow-md: 0 8px 26px rgba(41, 50, 45, .08);
  --shadow-lg: 0 16px 44px rgba(41, 50, 45, .11);

  /* Radius（ボタン9 / カード14〜16 / 画像20 / タグ999） */
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(231, 211, 107, .4);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border-radius: 0; }
a { color: var(--link); text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
svg { flex-shrink: 0; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap); }

/* ---------- Fade-in（常時表示） ----------
   要望によりスクロール連動の非表示を廃止。fade-inクラスは残置（無効） */
.fade-in { opacity: 1; transform: none; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in.d1 { transition-delay: .08s; }
.fade-in.d2 { transition-delay: .16s; }
.fade-in.d3 { transition-delay: .24s; }
.fade-in.d4 { transition-delay: .32s; }
.fade-in.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons（配色設計書 §7-2, 7-3） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-head);
  font-size: 15.5px; font-weight: 700;
  letter-spacing: .04em;
  border: none; cursor: pointer;
  transition: all .22s var(--ease);
  line-height: 1.4;
}
.btn:focus-visible { box-shadow: var(--focus-ring); }
.btn--primary {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 88, 69, .26);
}
.btn--primary:hover {
  background: var(--olive-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(74, 88, 69, .32);
}
.btn--outline {
  background: transparent;
  color: var(--olive);
  border: 1.5px solid var(--olive);
}
.btn--outline:hover { background: var(--yellow-pale); transform: translateY(-2px); }
/* 濃色バンド上のCTA（黄色はシグナル・文字は墨色） */
.btn--white {
  background: var(--yellow);
  color: var(--text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.btn--white:hover { transform: translateY(-2px); background: #EDDC85; }
.btn .btn-arrow { transition: transform .22s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Section header ---------- */
.section-header { margin-bottom: clamp(40px, 6vw, 60px); }
.section-header.center { text-align: center; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-latin);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive);
}
.section-label::before {
  content: ""; width: 26px; height: 3px;
  background: var(--yellow);
  border-radius: 3px;
}
.section-header.center .section-label::after {
  content: ""; width: 26px; height: 3px;
  background: var(--yellow);
  border-radius: 3px;
}
.section-header h2 {
  font-family: var(--ff-head);
  font-size: clamp(27px, 3.8vw, 38px);
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--text);
  margin: 14px 0 18px;
  font-weight: 700;
}
.section-lead {
  color: var(--text-sub);
  max-width: var(--text-max);
  font-size: clamp(15px, 1.6vw, 16.5px);
}
.section-header.center .section-lead { margin: 0 auto; }

/* on dark */
.on-dark .section-label { color: var(--yellow); }
.on-dark .section-label::before,
.on-dark .section-header.center .section-label::after { background: rgba(231, 211, 107, .55); }
.on-dark .section-header h2 { color: #fff; }
.on-dark .section-lead { color: var(--on-dark-sub); }

/* SPのみ表示する改行 */
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* 黄色マーカー（重要キーワードの強調） */
.accent {
  background: linear-gradient(transparent 62%, rgba(231, 211, 107, .55) 62%);
  -webkit-text-fill-color: currentColor;
  color: inherit;
  padding: 0 2px;
}

/* ============================================================
   Header（明るい背景で開放感 — §7-1）
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 72px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 253, 247, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(16px, 3vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo {
  display: inline-flex; align-items: center; gap: 12px;
  transition: opacity .25s ease;
}
.site-logo:hover { opacity: .82; }

/* ヘッダー: 正式ロゴ（ロックアップ画像。v2.1〜） */
.logo-img {
  height: 52px; width: auto;
  display: block;
}
.site-header .logo-text {
  padding-left: 13px;
  border-left: 1px solid var(--border);
}
.site-header .logo-text .logo-ja { font-size: 16.5px; }

.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--olive);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 3px 10px rgba(74, 88, 69, .3);
}
.logo-mark::after {
  content: "";
  position: absolute; right: 5px; top: 5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .logo-ja {
  font-family: var(--ff-head);
  font-weight: 700; font-size: 18px; color: var(--text);
  letter-spacing: .04em;
}
.logo-text .logo-en {
  font-family: var(--ff-latin);
  font-size: 10px; font-weight: 600; letter-spacing: .28em;
  color: var(--text-muted); text-transform: uppercase;
}

.global-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); }
.global-nav a {
  position: relative;
  color: var(--text); font-size: 14.5px; font-weight: 500;
  padding: 6px 0;
  transition: color .2s ease;
}
.global-nav a:hover { color: var(--link); }
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2.5px;
  background: var(--yellow);
  border-radius: 2px;
  transition: width .28s var(--ease);
}
.global-nav a:hover::after, .global-nav a:focus-visible::after { width: 100%; }
.global-nav a[aria-current="page"]::after { width: 100%; }

.header-cta { display: inline-flex; align-items: center; gap: 8px;
  background: var(--olive); color: #fff;
  font-family: var(--ff-head);
  font-size: 14.5px; font-weight: 700;
  padding: 11px 24px; border-radius: var(--radius-sm);
  transition: all .22s var(--ease);
}
.header-cta:hover { background: var(--olive-dk); transform: translateY(-1px); box-shadow: 0 5px 14px rgba(56, 67, 53, .3); }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--text);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(41, 50, 45, .98);
  backdrop-filter: blur(16px);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
  padding: 24px;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.drawer-head .logo-ja { color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 18px; }
.drawer-close { background: none; border: none; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; }
.drawer-nav { margin-top: 32px; flex: 1; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 17px; font-weight: 500;
  font-family: var(--ff-head);
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer-nav a span.en {
  font-family: var(--ff-latin);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--yellow);
}
.drawer-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--yellow);
  color: var(--text); font-size: 16.5px; font-weight: 700;
  font-family: var(--ff-head);
  padding: 16px; border-radius: var(--radius-md); margin-top: 24px;
}

/* ============================================================
   Hero（Warm Ivory ×黄色マーカー — §10）
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 760px 500px at 90% -8%, rgba(231, 211, 107, .18), transparent 62%),
    radial-gradient(ellipse 860px 560px at -6% 108%, rgba(135, 145, 122, .14), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41, 50, 45, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 50, 45, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 85% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--olive);
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.hero-label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow);
}
.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(transparent 64%, rgba(231, 211, 107, .6) 64%);
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: inherit;
}
.hero-sub {
  color: var(--text-sub);
  font-size: clamp(15px, 1.7vw, 17px);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-note {
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--text-sub); font-size: 13px;
}
.hero-note li { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--olive); }

/* Hero visual — floating UI cards */
.hero-visual { position: relative; height: clamp(380px, 42vw, 500px); }
.hv-blob {
  position: absolute; border-radius: 50%; filter: blur(58px); pointer-events: none;
}
.hv-blob.b1 { width: 300px; height: 300px; top: 4%; right: 0; background: rgba(231, 211, 107, .3); }
.hv-blob.b2 { width: 240px; height: 240px; bottom: 4%; left: 4%; background: rgba(135, 145, 122, .25); }

.hv-card {
  position: absolute;
  background: rgba(255, 253, 247, .96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: hv-float 7s ease-in-out infinite;
}
@keyframes hv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hv-card .hv-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14.5px; color: var(--text);
}
.hv-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
}
.hv-icon.i-blue { background: var(--olive); }
.hv-icon.i-cyan { background: var(--yellow); color: var(--text); }
.hv-icon.i-navy { background: var(--olive-dk); }

.hv-main {
  top: 6%; left: 6%;
  width: min(300px, 62%);
  padding: 22px;
  animation-delay: 0s;
  z-index: 3;
}
.hv-check-list { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.hv-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-sub); line-height: 1.4;
}
.hv-check .ck {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: var(--olive);
}
.hv-check.pending .ck { background: var(--border); color: var(--text-muted); }
.hv-bar { margin-top: 16px; height: 7px; border-radius: 99px; background: var(--yellow-pale); overflow: hidden; }
.hv-bar span {
  display: block; height: 100%; width: 72%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--olive), var(--sage));
}
.hv-bar-label { margin-top: 7px; font-size: 11.5px; color: var(--text-muted); display: flex; justify-content: space-between; }

.hv-ai {
  top: 16%; right: 2%;
  width: min(240px, 52%);
  padding: 20px;
  animation-delay: 1.6s;
  z-index: 2;
}
.hv-metric { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.hv-metric .num {
  font-family: var(--ff-latin);
  font-size: 34px; font-weight: 700; line-height: 1;
  color: var(--olive);
}
.hv-metric .unit { font-size: 12.5px; color: var(--text-muted); }
.hv-spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 12px; }
.hv-spark i {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(74, 88, 69, .85), rgba(135, 145, 122, .5));
}
.hv-spark i:nth-child(1) { height: 34%; opacity: .45; }
.hv-spark i:nth-child(2) { height: 48%; opacity: .55; }
.hv-spark i:nth-child(3) { height: 42%; opacity: .65; }
.hv-spark i:nth-child(4) { height: 64%; opacity: .8; }
.hv-spark i:nth-child(5) { height: 78%; opacity: .9; }
.hv-spark i:nth-child(6) { height: 100%; background: linear-gradient(180deg, var(--yellow), rgba(231, 211, 107, .55)); }

.hv-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  font-size: 13.5px; font-weight: 700; color: var(--text);
  border-radius: 999px;
}
.hv-chip .hv-icon { width: 28px; height: 28px; border-radius: 8px; }
.hv-chip.c-cloud { bottom: 21%; right: 12%; animation-delay: .8s; z-index: 3; }
.hv-chip.c-cycle { bottom: 6%; left: 14%; animation-delay: 2.4s; z-index: 3; }

/* ============================================================
   Trust bar
   ============================================================ */
.trust-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.trust-item {
  background: var(--surface);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 14px;
  text-align: left;
}
.trust-item .t-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--olive);
}
.trust-item .t-en {
  display: block;
  font-family: var(--ff-latin);
  font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sage);
  line-height: 1.4;
}
.trust-item .t-ja { display: block; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5; }

/* ============================================================
   Problem
   ============================================================ */
.problem { padding: var(--section-py) 0; background: var(--bg); }
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.problem-card .p-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--yellow-pale);
  display: grid; place-items: center;
  color: var(--olive);
  margin-bottom: 18px;
  transition: background .25s ease, color .25s ease;
}
.problem-card:hover .p-icon { background: var(--olive); color: #fff; }
.problem-card h3 { font-family: var(--ff-head); font-size: clamp(16.5px, 1.8vw, 18px); color: var(--text); margin-bottom: 10px; line-height: 1.5; font-weight: 700; }
.problem-card p { font-size: 14px; color: var(--text-sub); line-height: 1.75; }
.problem-close {
  margin-top: clamp(36px, 5vw, 52px);
  text-align: center;
  color: var(--text-sub);
  font-size: clamp(15px, 1.7vw, 16.5px);
}
.problem-close strong {
  color: var(--text); font-weight: 700;
  background: linear-gradient(transparent 62%, rgba(231, 211, 107, .55) 62%);
}

/* ============================================================
   Solution concept（濃色バンド — 思想を語る技術図解）
   ============================================================ */
.solution {
  position: relative;
  padding: var(--section-py) 0;
  background: linear-gradient(160deg, var(--olive-deep) 0%, var(--olive-dk) 100%);
  color: #fff;
  overflow: hidden;
}
.solution::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 78%);
  pointer-events: none;
}
.solution::after {
  content: "整";
  position: absolute;
  right: -.06em; top: -.12em;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(170px, 24vw, 320px);
  line-height: 1;
  color: rgba(255, 255, 255, .03);
  pointer-events: none;
}
.solution .container { position: relative; z-index: 1; }
.solution-body {
  max-width: var(--text-max);
  margin: 0 auto clamp(44px, 6vw, 64px);
  color: var(--on-dark-sub);
  font-size: clamp(15px, 1.7vw, 16.5px);
  text-align: center;
}
.solution-body p + p { margin-top: 1.2em; }
.solution-body em { font-style: normal; color: var(--yellow); font-weight: 700; }

.solution-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(10px, 1.6vw, 18px);
  max-width: 980px;
  margin: 0 auto;
}
.sol-step {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px) clamp(20px, 2.4vw, 28px);
  text-align: center;
  transition: transform .28s var(--ease), background .28s ease, border-color .28s ease;
}
.sol-step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(231, 211, 107, .45); }
.sol-step .s-num {
  font-family: var(--ff-latin);
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  color: var(--yellow);
  display: block; margin-bottom: 14px;
}
.sol-step .s-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 15px;
  background: var(--yellow);
  display: grid; place-items: center; color: var(--text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}
.sol-step h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(17px, 2vw, 19.5px); margin-bottom: 10px; }
.sol-step p { font-size: 13.5px; color: var(--on-dark-sub); line-height: 1.75; }
.sol-arrow {
  align-self: center;
  color: var(--yellow);
  display: grid; place-items: center;
}
.sol-arrow svg { transform: none; }

/* ============================================================
   Services
   ============================================================ */
.services { padding: var(--section-py) 0; background: var(--bg-soft); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 32px);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease), background .28s ease;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
  background: #FBF7E8;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .sv-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--yellow-pale);
  color: var(--olive);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: all .25s ease;
}
.service-card:hover .sv-icon { background: var(--olive); color: #fff; }
.service-card .sv-num {
  font-family: var(--ff-latin);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: 6px;
}
.service-card h3 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(17.5px, 1.9vw, 19.5px); color: var(--text);
  margin-bottom: 12px; line-height: 1.5;
}
.service-card p { font-size: 14px; color: var(--text-sub); line-height: 1.8; flex: 1; }
.sv-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 11.5px; font-weight: 500;
  color: var(--link);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 11px; border-radius: 999px;
  line-height: 1.5;
}

/* ============================================================
   Strengths
   ============================================================ */
.strengths { padding: var(--section-py) 0; background: var(--bg); }
.strengths-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.strengths-left { position: sticky; top: 110px; }
.strengths-left .section-header { margin-bottom: 28px; }
.strengths-copy { color: var(--text-sub); font-size: 15.5px; margin-bottom: 30px; }
.strength-list { display: flex; flex-direction: column; }
.strength-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.4vw, 28px);
  padding: clamp(24px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--border);
}
.strength-item:first-child { padding-top: 0; }
.strength-item .st-num {
  font-family: var(--ff-latin);
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sage);
  min-width: 62px;
  position: relative;
}
.strength-item .st-num::after {
  content: "";
  display: block;
  width: 26px; height: 4px;
  border-radius: 3px;
  background: var(--yellow);
  margin-top: 6px;
}
.strength-item h3 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(17px, 1.9vw, 19px); color: var(--text);
  margin-bottom: 8px; line-height: 1.5;
  display: flex; align-items: center; gap: 10px;
}
.strength-item p { font-size: 14.5px; color: var(--text-sub); line-height: 1.8; }

/* ============================================================
   Process
   ============================================================ */
.process { padding: var(--section-py) 0; background: var(--bg-soft); }
.process-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  position: relative;
}
.process-step { position: relative; text-align: center; padding-top: 8px; }
.process-step::before {
  content: "";
  position: absolute; top: 33px; left: calc(50% + 32px); right: calc(-50% + 32px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(135, 145, 122, .55) 0 6px, transparent 6px 12px);
}
.process-step:last-child::before { display: none; }
.process-step .pr-num {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--sage);
  color: var(--olive);
  font-family: var(--ff-latin); font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
  position: relative; z-index: 1;
  transition: all .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.process-step:hover .pr-num {
  background: var(--olive);
  border-color: var(--olive); color: #fff;
}
.process-step h3 { font-family: var(--ff-head); font-weight: 700; font-size: 15.5px; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 12.8px; color: var(--text-sub); line-height: 1.7; padding: 0 4px; }

/* ============================================================
   Cases
   ============================================================ */
.cases { padding: var(--section-py) 0; background: var(--bg); }
.case-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 28px);
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 32px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.case-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.case-head .cs-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--yellow-pale); color: var(--olive);
  display: grid; place-items: center;
}
.case-tag {
  font-family: var(--ff-latin);
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage);
  display: block; margin-bottom: 3px;
}
.case-card h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(16.5px, 1.9vw, 18.5px); color: var(--text); line-height: 1.5; }
.case-card > p { font-size: 14px; color: var(--text-sub); line-height: 1.8; margin-bottom: 20px; }
.case-ba { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.case-ba .ba-row { display: grid; grid-template-columns: 76px 1fr; }
.case-ba .ba-row + .ba-row { border-top: 1px solid var(--border); }
.ba-label {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-latin); font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  padding: 12px 8px;
}
.ba-row.before .ba-label { background: var(--bg); color: var(--text-muted); }
.ba-row.after .ba-label { background: var(--olive); color: #fff; }
.ba-text { padding: 12px 16px; font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.ba-row.after .ba-text { color: var(--text); font-weight: 500; background: rgba(244, 234, 181, .35); }

/* ============================================================
   Representative
   ============================================================ */
.representative { padding: var(--section-py) 0; background: var(--bg-soft); }
.rep-inner {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.rep-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 36px);
  text-align: center;
  box-shadow: var(--shadow-md);
  position: sticky; top: 110px;
}
.rep-avatar {
  width: 108px; height: 108px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--olive);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--ff-latin); font-size: 36px; font-weight: 700;
  box-shadow: 0 10px 26px rgba(74, 88, 69, .3);
  position: relative;
}
.rep-avatar::after {
  content: "";
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1.5px dashed var(--sage);
}
.rep-position { font-size: 12.5px; color: var(--text-muted); letter-spacing: .1em; }
.rep-name { font-family: var(--ff-head); font-size: 23px; color: var(--text); font-weight: 700; margin: 4px 0 16px; }
.rep-bio { font-size: 13px; color: var(--text-sub); line-height: 1.8; text-align: left; margin-bottom: 20px; }
.rep-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }

.rep-message .section-header { margin-bottom: 30px; }
.rep-quote {
  font-family: var(--ff-head);
  font-size: clamp(19px, 2.3vw, 23px);
  line-height: 1.7;
  color: var(--text);
  font-weight: 700;
  padding-left: 20px;
  border-left: 4px solid var(--yellow);
  margin-bottom: 28px;
}
.rep-message .msg p {
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 2;
}
.rep-message .msg p + p { margin-top: 1.3em; }
.rep-message .msg .closing { color: var(--text); font-weight: 500; }

/* ============================================================
   Company
   ============================================================ */
.company { padding: var(--section-py) 0; background: var(--bg); }
.company-table {
  max-width: 860px; margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.company-table dl { display: grid; grid-template-columns: 220px 1fr; }
.company-table dt {
  background: #F2EFDF;
  padding: 20px 26px;
  font-weight: 700; font-size: 14.5px; color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.company-table dt svg { color: var(--olive); }
.company-table dd {
  background: var(--surface);
  padding: 20px 26px;
  font-size: 14.5px; color: var(--text-sub);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.company-table dt:nth-last-of-type(1), .company-table dd:last-of-type { border-bottom: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--section-py) 0; background: var(--bg-soft); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item.open { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  background: none; border: none;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--ff-head);
  font-size: 15.5px; font-weight: 700; color: var(--text);
  line-height: 1.6;
}
.faq-q .q-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--yellow-pale); color: var(--olive);
  font-family: var(--ff-latin); font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
}
.faq-item.open .q-mark { background: var(--olive); color: #fff; }
.faq-q .chev { margin-left: auto; color: var(--text-muted); transition: transform .3s var(--ease); }
.faq-item.open .chev { transform: rotate(180deg); color: var(--olive); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 0 22px 22px 66px;
  font-size: 14.5px; color: var(--text-sub); line-height: 1.85;
}

/* ============================================================
   Contact（濃色CTAセクション）
   ============================================================ */
.contact {
  position: relative;
  padding: var(--section-py) 0;
  background: linear-gradient(160deg, var(--olive-deep) 0%, var(--olive-dk) 100%);
  color: #fff;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 20%, transparent 80%);
  pointer-events: none;
}
.contact .container { position: relative; }
.contact-copy { max-width: var(--text-max); margin: 0 auto; text-align: center; }
.contact-copy p { color: var(--on-dark-sub); font-size: clamp(15px, 1.7vw, 16.5px); }
.contact-note { margin-top: 18px; font-size: 13px; color: rgba(201, 207, 192, .8); }
.contact-note svg { vertical-align: -3px; margin-right: 5px; color: var(--yellow); }

.contact-form-wrap {
  max-width: 780px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  color: var(--text);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.wide { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.req, .opt {
  font-size: 10.5px; font-weight: 700;
  padding: 2.5px 9px; border-radius: 6px; line-height: 1.5;
}
.req { background: #F7ECEA; color: var(--error); border: 1px solid #E3C4BF; }
.opt { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color .22s ease, box-shadow .22s ease;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(231, 211, 107, .35);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626A63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-item {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13.5px; color: var(--text-sub);
  cursor: pointer;
  transition: all .2s ease;
  background: var(--surface);
  font-weight: 500;
}
.check-item:hover { border-color: var(--olive); }
.check-item input { accent-color: var(--olive); width: 16px; height: 16px; cursor: pointer; }
.check-item:has(input:checked) {
  border-color: var(--olive);
  background: var(--yellow-pale);
  color: var(--text);
}
.field-error { font-size: 12.5px; color: var(--error); display: none; }
.form-field.error input, .form-field.error textarea { border-color: var(--error); background: #FBF3F2; }
.form-field.error .field-error { display: block; }
.form-submit { grid-column: 1 / -1; text-align: center; margin-top: 8px; }
.form-submit .btn { width: 100%; max-width: 380px; padding: 16px 34px; }
.form-privacy { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }
.form-success {
  display: none;
  text-align: center;
  padding: clamp(30px, 5vw, 50px) 10px;
}
.form-success.show { display: block; }
.form-success .ok-icon {
  width: 68px; height: 68px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--success);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 26px rgba(71, 116, 86, .35);
}
.form-success h3 { font-family: var(--ff-head); font-size: 21px; color: var(--text); margin-bottom: 12px; }
.form-success p { font-size: 14.5px; color: var(--text-sub); }

/* ============================================================
   Footer（Dark Olive）
   ============================================================ */
.site-footer { background: var(--olive-dk); color: #fff; padding: clamp(48px, 7vw, 72px) 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 52px);
}
.footer-brand .site-logo { margin-bottom: 18px; }
.footer-brand .logo-ja { color: #fff; }
.footer-brand .logo-en { color: rgba(201, 207, 192, .6); }
.footer-brand .logo-mark { background: rgba(255, 255, 255, .12); box-shadow: none; }
/* フッター: 濃色地のため、ロックアップではなくシンボル（歯車）＋社名テキストを使う */
.footer-brand .logo-mark::after { display: none; }
.footer-brand .logo-mark img { width: 27px; height: 27px; }
.footer-tagline {
  font-family: var(--ff-latin);
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  color: var(--yellow);
  margin: -6px 0 12px;
}
.footer-desc { color: var(--on-dark-sub); font-size: 14px; max-width: 460px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.footer-nav h4 {
  font-family: var(--ff-latin);
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px;
}
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.footer-nav a {
  color: var(--on-dark-sub); font-size: 14px;
  transition: color .22s ease;
  display: inline-flex; align-items: center; gap: 7px;
}
.footer-nav a::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(231, 211, 107, .45);
  transition: background .22s ease;
}
.footer-nav a:hover { color: var(--yellow); }
.footer-nav a:hover::before { background: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-bottom small { color: rgba(201, 207, 192, .6); font-size: 12.5px; }
.footer-bottom a { color: var(--on-dark-sub); font-size: 12.5px; }
.footer-bottom a:hover { color: var(--yellow); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ============================================================
   Privacy page
   ============================================================ */
.page-hero {
  background:
    radial-gradient(ellipse 700px 400px at 90% -10%, rgba(231, 211, 107, .16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: clamp(56px, 8vw, 88px) 0;
}
.page-hero .section-label { color: var(--olive); }
.page-hero .section-label::before { background: var(--yellow); }
.page-hero h1 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(28px, 4vw, 38px); margin-top: 12px; color: var(--text); }
.privacy-body { padding: var(--section-py) 0; }
.privacy-body .container { max-width: 800px; }
.privacy-body h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 21px; color: var(--text);
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--yellow);
}
.privacy-body h2:first-of-type { margin-top: 0; }
.privacy-body p, .privacy-body li { color: var(--text-sub); font-size: 15px; }
.privacy-body ul { list-style: disc; padding-left: 24px; margin: 12px 0; }
.privacy-body .updated { color: var(--text-muted); font-size: 13px; margin-top: 48px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
  .process-step:nth-child(3)::before { display: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .strengths-left { position: static; }
  .strengths-inner { grid-template-columns: 1fr; gap: 40px; }
  .rep-card { position: static; }
}

@media (max-width: 900px) {
  .global-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { height: 400px; max-width: 560px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  .site-header { height: 64px; }
  .logo-img { height: 42px; }
  .site-header .logo-text { padding-left: 11px; }
  .site-header .logo-text .logo-ja { font-size: 15px; }
  .rep-inner { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .solution-steps { grid-template-columns: 1fr; max-width: 480px; }
  .sol-arrow svg { transform: rotate(90deg); }
  .company-table dl { grid-template-columns: 1fr; }
  .company-table dt { border-bottom: none; padding-bottom: 8px; }
  .company-table dd { padding-top: 0; padding-left: 26px; }
  .company-table dt:nth-last-of-type(1) { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .problem-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; padding: 18px 10px; }
  .trust-item > div { text-align: center; }
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-step { display: grid; grid-template-columns: 52px 1fr; gap: 0 18px; text-align: left; padding: 0 0 30px; }
  .process-step::before {
    top: 52px; bottom: -4px; left: 25px; right: auto;
    width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(135, 145, 122, .55) 0 6px, transparent 6px 12px);
    display: block;
  }
  .process-step:nth-child(3)::before { display: block; }
  .process-step:last-child::before { display: none; }
  .process-step .pr-num { margin: 0; grid-row: 1 / 3; }
  .process-step h3 { align-self: center; }
  .process-step p { grid-column: 2; padding: 4px 0 0; }
  .hero-actions .btn { width: 100%; }
  .faq-a-inner p { padding-left: 22px; }
  .hero-visual { height: 350px; }
  .hv-main { width: 74%; }
  .hv-ai { width: 56%; top: 42%; }
  .hv-chip.c-cloud { bottom: 4%; right: 4%; }
  .hv-chip.c-cycle { display: none; }
  .solution::after { font-size: 150px; }
}

/* ============================================================
   Visual Design v2 — docs/HiQEST_ClaudeCode_ビジュアルデザイン改善指示書.md 準拠
   （トップページ先行実装）
   ============================================================ */

/* ---------- セクション見出しの大型英字（透かし） ---------- */
.section-display {
  position: absolute;
  top: clamp(6px, 1.6vw, 18px);
  right: clamp(-30px, -1vw, -8px);
  font-family: var(--ff-latin);
  font-weight: 700;
  font-size: clamp(60px, 11vw, 148px);
  letter-spacing: .04em;
  line-height: 1;
  color: rgba(74, 88, 69, .06);
  pointer-events: none;
  user-select: none;
}

/* ---------- Contact 装飾（黄色の円と接続線） ---------- */
.contact-deco {
  position: absolute;
  right: -50px; top: -34px;
  width: clamp(220px, 26vw, 340px);
  height: auto;
  pointer-events: none;
}

/* ============================================================
   v2.1 — 3事業アイコン（assets/canva/icon-*.svg）の共通チップ
   明背景・濃背景どちらにも置けるよう、必ず明色チップの中に入れる
   ============================================================ */
.svc-ic {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-grid; place-items: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.svc-ic img { width: 30px; height: 30px; }
.svc-ic--hero {
  background: rgba(255, 253, 247, .95);
  border-color: transparent;
  margin-bottom: 18px;
}

/* ---------- Footer ネットワークパターン ---------- */
.site-footer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'%3E%3Cpath d='M0 120 L44 84 L96 108 L160 56'/%3E%3Cpath d='M44 84 L44 30 L110 12'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.09)'%3E%3Ccircle cx='44' cy='84' r='2.2'/%3E%3Ccircle cx='96' cy='108' r='2.2'/%3E%3Ccircle cx='44' cy='30' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Responsive ---------- */

/* v6.5: フッターは反転ロゴタイプ（回路の輪を外した HiQEST の文字＋Q の歯車）＋社名 */
.footer-brand .site-logo { flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-logotype { display: block; height: 36px; width: auto; }
.footer-logoname { font-size: 12.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .72); }

/* フッターの発信欄（note／Instagram／LINE）— tools/sns_links.py が差し込む。2026-10-19 */
.footer-sns { margin-top: 22px; }
.footer-sns__h { font-size: 12px; letter-spacing: .08em; color: var(--on-dark-sub); opacity: .8; margin: 0 0 8px; }
.footer-sns ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.footer-sns a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.footer-sns a:hover { border-bottom-color: var(--yellow); }
.footer-sns__ext { opacity: .7; }
.footer-sns__glyph { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.footer-sns__glyph img { width: 18px; height: 18px; }
.footer-sns a.footer-sns__line { border-bottom: 0; padding: 0; }
.footer-sns__line img { height: 36px; width: auto; max-width: none; display: block; }

/* 本文中の note への一言リンク（取り組み・会社概要・代表メッセージ） */
.note-ref { font-size: 14px; color: #5b6458; line-height: 1.9; }
.note-ref a { color: var(--forest, #47614E); text-decoration: underline; text-underline-offset: 3px; }
.note-ref svg { vertical-align: -1px; margin-left: 2px; }
.an-note { padding: 0 0 clamp(36px, 5vw, 56px); }
.an-note .note-ref { max-width: 760px; margin: 0 auto; padding: 16px 20px; border-left: 3px solid var(--yellow); background: rgba(255,255,255,.6); }

/* note の記事カード（tools/build_note_cards.py が差し込む）。黄色はボタンだけ — 2026-10-19 */
.note-sec { background: #EFEBDD; padding: clamp(56px, 7vw, 88px) 0; }
.note-sec--dark { background: var(--olive-dk); color: #fff; }
.note-sec .section-label { display: inline-block; margin-bottom: 10px; }
.note-sec--dark .section-label { color: var(--yellow); }
.note-sec__h { font-family: var(--ff-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.5; margin: 0 0 12px; }
.note-sec__lead { max-width: 720px; font-size: 15px; line-height: 1.9; color: #4d564b; margin: 0 0 32px; }
.note-sec--dark .note-sec__lead { color: var(--on-dark-sub); }
.note-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.note-card { display: flex; flex-direction: column; background: #fff; color: var(--text, #29322D); border-radius: 14px; overflow: hidden; border: 1px solid rgba(41, 50, 45, .12); box-shadow: 0 10px 28px rgba(41, 50, 45, .08); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.note-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(41, 50, 45, .14); }
.note-card__img { display: block; aspect-ratio: 1.91 / 1; background: #0b1018; }
.note-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.note-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.note-card__tag { font-family: var(--ff-latin); font-size: 11px; letter-spacing: .08em; color: #6b7368; }
.note-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: #6b7368; }
.note-card__src { font-family: var(--ff-latin); font-weight: 700; color: #29322D; letter-spacing: .02em; }
.note-card__badge { border: 1px solid rgba(41, 50, 45, .3); border-radius: 999px; padding: 1px 8px; font-size: 11px; color: #29322D; }
.note-card__title { font-size: 15.5px; font-weight: 600; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--olive); }
.note-card-wrap { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.note-card__note { font-size: 12.5px; line-height: 1.7; color: #6b7368; margin: 0; }
.note-sec--dark .note-card__note { color: var(--on-dark-sub); }
.note-sec__more { margin: 32px 0 0; }
.note-sec__foot { font-size: 12.5px; line-height: 1.7; color: #6b7368; margin: 14px 0 0; }
.note-sec--dark .note-sec__foot { color: var(--on-dark-sub); }
.note-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: #29322D !important; font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 9px; text-decoration: none; }
.note-btn:hover { filter: brightness(.96); }
.note-btn--ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .7); }
.note-btn--ghost:hover { background: rgba(255, 255, 255, .08); filter: none; }
/* 取り組みページ: 相談の前の横長カード1枚 */
.an-note .note-ref { padding: 0; border: 0; background: none; margin: 0 auto 12px; }
.an-note .note-card-wrap, .an-note > .container > .note-card { max-width: 760px; margin: 0 auto; }
.note-card--wide { flex-direction: row; }
.note-card--wide .note-card__img { flex: 0 0 42%; aspect-ratio: 1.91 / 1; }
.note-card--wide .note-card__body { justify-content: center; }
/* 取り組みページのヒーロー（濃色の左パネル）の文字リンク */
.sub-hero__note { margin: 18px 0 0; }
.sub-hero__note a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 2px; }
.sub-hero__note a:hover { border-bottom-color: var(--yellow); }
@media (max-width: 900px) {
  .note-cards { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 560px) {
  .note-card--wide { flex-direction: column; }
}

/* フッターの電話番号 — tools/footer_tel.py が差し込む。2026-11-04 */
.footer-tel { margin-top: 14px; color: var(--on-dark-sub); font-size: 14px; line-height: 1.7; }
.footer-tel a { color: #fff; font-family: var(--ff-latin); font-weight: 600; letter-spacing: .02em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer-tel a:hover { border-bottom-color: var(--yellow); }
.footer-tel__hours { display: inline-block; }
.footer-tel + .footer-tel { margin-top: 4px; }
