/* =========================================================
   株式会社インストテック コーポレートサイト
   Design: Navy × Teal "True DX" — 提案資料のブランド言語をWebに展開
   ========================================================= */

:root {
  --navy-950: #071426;
  --navy-900: #0a1c38;
  --navy-800: #0d2447;
  --navy-700: #123058;
  --navy-600: #1a4278;
  --blue-500: #2e6db4;
  --blue-400: #4a8ad2;
  --blue-300: #7fb0e8;
  --teal-500: #14a8a2;
  --teal-400: #2cc4bd;
  --teal-600: #0e807b;
  --ink: #1b2637;
  --muted: #5a6b82;
  --faint: #8b99ad;
  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #e3e9f2;
  --shadow-sm: 0 1px 2px rgba(13, 36, 71, .06), 0 2px 8px rgba(13, 36, 71, .05);
  --shadow-md: 0 4px 12px rgba(13, 36, 71, .08), 0 12px 32px rgba(13, 36, 71, .10);
  --shadow-lg: 0 8px 24px rgba(13, 36, 71, .12), 0 24px 64px rgba(13, 36, 71, .14);
  --radius: 16px;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- ユーティリティ ---------- */
.kicker {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--teal-500);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--teal-500);
  display: inline-block;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--navy-800);
  margin: 14px 0 18px;
}

.section-lead { color: var(--muted); max-width: 640px; font-size: 15.5px; }

section { padding: clamp(72px, 10vw, 120px) 0; }

/* スクロール連動フェード（JS有効時のみ隠す。no-JSでも内容は見える） */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(13,36,71,.06);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--navy-800);
  white-space: nowrap;
}
/* ヒーロー上（透過ヘッダー時）はロゴ・社名を白抜きに */
.brand .logo-white { display: none; }
.site-header.on-dark:not(.scrolled) .brand-name { color: #fff; }
.site-header.on-dark:not(.scrolled) .brand .logo-navy { display: none; }
.site-header.on-dark:not(.scrolled) .brand .logo-white { display: block; }
.site-header.on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { color: #fff; }
.site-header.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .04em;
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover::after,
.nav-links a.current::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  padding: 11px 26px !important;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(20,168,162,.35);
  transition: transform .25s, box-shadow .25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,168,162,.45); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-800);
  transition: transform .3s, opacity .3s;
}

/* ---------- ヒーロー（トップ） ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1100px 620px at 88% -10%, rgba(46,109,180,.38), transparent 60%),
    radial-gradient(900px 560px at -12% 110%, rgba(20,168,162,.22), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 36px;
}
/* 細グリッド */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
}
/* 浮遊する光 */
.hero .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero .orb-1 { width: 380px; height: 380px; background: rgba(46,109,180,.5); top: -80px; right: 6%; }
.hero .orb-2 { width: 300px; height: 300px; background: rgba(20,168,162,.35); bottom: -60px; left: 4%; animation-delay: -7s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.12); }
}

.hero .container {
  position: relative;
  margin-block: auto;   /* 残りの高さの中で上下中央に */
}

.hero-copy {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.hero-copy .kicker { color: var(--teal-400); }
.hero-copy .kicker::before { background: var(--teal-400); }
.hero-copy .kicker::after {
  content: "";
  width: 34px; height: 2px;
  background: var(--teal-400);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.42;
  letter-spacing: .01em;
  margin: 22px 0 24px;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--teal-400), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  color: rgba(255,255,255,.78);
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  max-width: 560px;
  margin: 0 auto 44px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

.btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  padding: 16px 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  box-shadow: 0 8px 24px rgba(20,168,162,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,168,162,.5); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); transform: translateY(-3px); }

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

.scroll-cue {
  position: relative;
  z-index: 1;
  flex: none;              /* 縮まない＝必ず自分の高さを確保する */
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(rgba(255,255,255,.7), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 実績バー ---------- */
.stats-band {
  background: var(--navy-900);
  color: #fff;
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  padding: 44px 28px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 28%;
  height: 44%;
  width: 1px;
  background: rgba(255,255,255,.14);
}
.stat .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: .02em;
  background: linear-gradient(90deg, #fff, var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .num .unit { font-size: .55em; margin-left: 2px; }
.stat .label { font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 8px; letter-spacing: .06em; }

/* ---------- 強み ---------- */
.strengths { background: var(--card); }
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.strength-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px 34px;
  background: linear-gradient(180deg, #fff, #fafcfe);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s;
}
.strength-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.strength-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.strength-card:hover::before { transform: scaleX(1); }
.strength-card .index {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(46,109,180,.35);
  margin-bottom: 18px;
}
.strength-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19.5px;
  color: var(--navy-800);
  line-height: 1.5;
  margin-bottom: 12px;
}
.strength-card p { font-size: 14.5px; color: var(--muted); }
.strength-card .badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  border: none;
  box-shadow: 0 4px 12px rgba(20,168,162,.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- サービス ---------- */
.services { background: var(--bg); position: relative; overflow: hidden; }
.services::before {
  content: "SERVICE";
  position: absolute;
  top: 30px; right: -20px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(90px, 14vw, 190px);
  letter-spacing: .04em;
  color: rgba(13,36,71,.04);
  line-height: 1;
  pointer-events: none;
}
.service-list { display: grid; gap: 44px; margin-top: 64px; }
.service-item {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s;
}
.service-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-item:nth-child(even) { grid-template-columns: 1fr 460px; }
.service-item:nth-child(even) .service-visual { order: 2; }

.service-visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  background: linear-gradient(140deg, #e8eff8, #f2f7fb);
  position: relative;
}
.service-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.service-item:hover .service-visual img { transform: scale(1.05); }

.service-no {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .26em;
  color: var(--teal-500);
  display: block;
  margin-bottom: 10px;
}
.service-body h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy-800);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.service-body > p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

.feature-list { display: grid; gap: 12px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}
.feature-list .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  margin-top: 3px;
}
.feature-list b { font-size: 14.5px; color: var(--navy-800); display: block; line-height: 1.6; }
.feature-list span.desc { font-size: 13px; color: var(--muted); display: block; line-height: 1.7; }

/* ---------- 支援実績 ---------- */
.works { background: var(--bg); }
.client-list { display: grid; gap: 20px; margin-top: 52px; }
.client-card {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 40px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.client-logo { flex: none; width: 200px; display: grid; place-items: center; }
.client-logo img { max-height: 46px; width: auto; object-fit: contain; }
.client-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.client-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--navy-800);
}
.client-sep { color: var(--faint); }
.client-desc { color: var(--muted); font-weight: 500; font-size: 15px; }

.client-others { margin-top: 36px; }
.client-others-note { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.client-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-800);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px 9px 20px;
  box-shadow: var(--shadow-sm);
}
.svc {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .02em;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.svc-training { background: rgba(20,168,162,.14); color: #0c7a75; }
.svc-advisory { background: rgba(46,109,180,.14); color: #245d9e; }
.svc-gws { background: rgba(13,36,71,.09); color: var(--navy-700); }
.svc-event { background: rgba(90,107,130,.13); color: var(--muted); }
.client-others-privacy { font-size: 12px; color: var(--faint); margin-top: 16px; }

/* ---------- テクノロジー ---------- */
.tech { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.tech::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(46,109,180,.25), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(20,168,162,.15), transparent 60%);
}
.tech .container { position: relative; }
.tech .section-title { color: #fff; }
.tech .section-lead { color: rgba(255,255,255,.65); }
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}
.tech-tags li {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .04em;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  transition: background .3s, border-color .3s, transform .3s;
}
.tech-tags li:hover {
  background: rgba(20,168,162,.18);
  border-color: rgba(44,196,189,.6);
  transform: translateY(-3px);
}
.tech-tags li .ja { font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,.55); margin-left: 8px; }

/* ---------- 代表紹介ダイジェスト ---------- */
.ceo-digest { background: var(--card); }
.ceo-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.ceo-photo-wrap { max-width: 260px; }
.ceo-photo-wrap { position: relative; aspect-ratio: 1 / 1; }
.ceo-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(20,168,162,.35), rgba(46,109,180,.25) 55%, transparent 80%);
  z-index: 0;
}
.ceo-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 18px 40px rgba(13,36,71,.20);
}
.ceo-name-row { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 18px 0 6px; }
.ceo-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--navy-800);
}
.ceo-name-en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--faint);
  text-transform: uppercase;
}
.ceo-role { font-size: 13.5px; font-weight: 700; color: var(--teal-600); letter-spacing: .1em; }
.ceo-highlights { margin: 26px 0 34px; display: grid; gap: 14px; }
.ceo-highlights li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.ceo-highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-500));
  transform: rotate(45deg) scale(.7);
}
.btn-outline-navy {
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-3px); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(46,109,180,.35), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(20,168,162,.28), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 75%);
}
.cta .container { position: relative; }
.cta .kicker { justify-content: center; color: var(--teal-400); }
.cta .kicker::before { background: var(--teal-400); }
.cta h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.5;
  margin: 18px 0 16px;
}
.cta p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 40px; font-size: 15px; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; color: var(--muted); transition: color .25s; }
.footer-nav a:hover { color: var(--teal-600); }
.footer-sns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-sns a {
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-700);
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.footer-sns a:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  transform: translateY(-3px);
}
.footer-sns svg { width: 18px; height: 18px; fill: currentColor; }
.copyright {
  text-align: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--faint);
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ---------- 下層ページ共通ヒーロー ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 96px)) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(46,109,180,.35), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, rgba(20,168,162,.2), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 80%);
}
.page-hero .container { position: relative; }
.page-hero .kicker { color: var(--teal-400); }
.page-hero .kicker::before { background: var(--teal-400); }
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 48px);
  margin-top: 16px;
  letter-spacing: .02em;
}
.breadcrumb {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }

/* ---------- 会社概要 ---------- */
.company-table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 860px;
  margin-inline: auto;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: 24px 32px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  width: 200px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  background: #f4f7fb;
  white-space: nowrap;
}
.company-table td { color: var(--ink); }
.company-table td a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }
.company-table td a:hover { color: var(--teal-600); }
.company-table .list { display: grid; gap: 6px; }

/* ---------- 代表紹介ページ ---------- */
.profile-intro { background: var(--card); }
.profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.profile-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.profile-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(13,36,71,.18);
}
.profile-photo .sns-note {
  margin-top: 22px;
  background: linear-gradient(135deg, rgba(20,168,162,.08), rgba(46,109,180,.08));
  border: 1px solid rgba(20,168,162,.25);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--navy-700);
  line-height: 1.8;
}
.profile-photo .sns-note b { color: var(--teal-600); }

.timeline { position: relative; margin-top: 34px; display: grid; gap: 0; }
.timeline-item {
  position: relative;
  padding: 0 0 34px 36px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: -4px;
  width: 2px;
  background: linear-gradient(var(--line), var(--line));
}
.timeline-item:last-child::before { display: none; }
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20,168,162,.12);
}
.timeline-item h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy-800);
  line-height: 1.65;
  margin-bottom: 6px;
}
.timeline-item p { font-size: 14px; color: var(--muted); }
.timeline-item .tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(46,109,180,.08);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 8px;
}

/* ---------- YouTube動画 ---------- */
.videos { background: var(--bg); }
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}
.video-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-800);
  margin: 18px 8px 6px;
}
.video-card p { font-size: 13.5px; color: var(--muted); margin: 0 8px 14px; }
.video-link {
  margin: 0 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--teal-600);
}
.video-link:hover { color: var(--teal-500); }

.certs { background: var(--card); }
.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}
.cert-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert-card img {
  border-radius: 12px;
  margin: 0 auto 22px;
  max-height: 340px;
  width: auto;
  object-fit: contain;
}
.cert-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.cert-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- お問合せページ ---------- */
.contact-section { background: var(--card); }
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.contact-info { display: grid; gap: 20px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  background: linear-gradient(180deg, #fff, #fafcfe);
  box-shadow: var(--shadow-sm);
}
.contact-card .icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-500));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.contact-card .icon svg { width: 22px; height: 22px; fill: currentColor; }
.contact-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.contact-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.contact-card a.link {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-500);
  word-break: break-all;
}
.contact-card a.link:hover { color: var(--teal-600); }

.form-wrap {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.form-wrap iframe { display: block; width: 100%; height: 1100px; border: 0; }
.form-fallback {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.form-fallback a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- レスポンシブ ---------- */
/* ---------- ナビ：項目が増えたため 1100px 以下でハンバーガーに切替 ---------- */
@media (max-width: 1240px) and (min-width: 1101px) {
  .nav-links { gap: 24px; }
}

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10,28,56,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: clamp(18px, 3.4vh, 34px);
    padding: calc(var(--header-h) + 20px) 24px 40px;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .4s;
    z-index: 100;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { color: #fff !important; font-size: 18px; font-weight: 700; }
  .nav-cta { margin-top: 6px; }
  .nav-toggle { display: flex; }
  .nav-open .nav-toggle span { background: #fff; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 1024px) {
  .service-item,
  .service-item:nth-child(even) { grid-template-columns: 1fr; }
  .service-item:nth-child(even) .service-visual { order: 0; }
  .ceo-grid, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .profile-photo { position: static; max-width: 380px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 32px 20px; }
}

@media (max-width: 720px) {
  .strengths-grid, .certs-grid, .video-grid { grid-template-columns: 1fr; }
  .client-card { flex-direction: column; text-align: center; gap: 18px; padding: 26px 20px; }
  .client-logo { width: auto; }
  .client-logo img { max-height: 38px; }
  .client-info { justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .company-table th { width: 110px; padding: 18px 16px; font-size: 13.5px; }
  .company-table td { padding: 18px 16px; font-size: 14px; }
  .form-wrap iframe { height: 1200px; }
  .float-card .en { font-size: 16px; }
}
