/* =========================================================
   株式会社ビタフェリ 共通スタイル
   Layout: 参考サイト（high-sta）を踏襲。青 #00428c を主役に、淡い青のグラデーション＋白い模様の背景、
   上から空色へ抜けるグラデーションの帯、白地の角丸ボックスとイラストで説明する構成。
   ========================================================= */
:root {
  --bg: #ffffff;
  --ice: #f0f4f8;          /* ごく淡い青グレー */
  --soft: #e7f2fb;         /* 淡い青 */
  --soft-2: #d6e6f7;
  --cta-bg: #e9f0ff;
  --ink: #2c2c2c;
  --ink-soft: #556270;
  --navy: #00428c;         /* メインの青 */
  --navy-deep: #002e63;
  --blue: #1b58d3;         /* 鮮やかな青（ボタン） */
  --sky: #43abff;          /* 水色 */
  --sky-light: #9fd3ff;
  --gold: #f2c94c;
  --logo-red: #e2461d;     /* ロゴの朱色（ロゴまわりだけで使う） */
  --line: #dfe7f2;
  --white: #ffffff;
  /* 全体の字体：明朝体（Contactの見出しの字体）をベースに。英字は明朝に合うセリフ体 */
  --f-ja: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-en: "Cormorant Garamond", "Noto Serif JP", "Times New Roman", serif;
  --f-script: "Cormorant Garamond", "Noto Serif JP", serif;
  --f-ui: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; /* 画面イメージの中だけ */
  --maxw: 1360px;
  --radius: 20px;
  --header-h: 84px;
  --story: linear-gradient(180deg, #00428c 0%, #2d71b5 30%, #5197d4 54%, #6fb0ea 74%, #89c8fc 92%);
  /* 淡い青のグラデーションに、白い山形の模様を重ねた背景 */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='14' stroke-linejoin='round' opacity='.55'%3E%3Cpath d='M30 40 L70 80 L30 120'/%3E%3Cpath d='M140 100 L180 140 L140 180'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='6' opacity='.45'%3E%3Crect x='120' y='18' width='54' height='54' rx='14'/%3E%3Crect x='24' y='150' width='40' height='40' rx='10'/%3E%3C/g%3E%3C/svg%3E");
  --hero-grad: linear-gradient(119deg, #f0f4f8 0%, #c1d4ea 100%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ja); font-size: 16px; line-height: 1.9; letter-spacing: .03em; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.4; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(16px, 4.5vw, 64px); }

/* ---------- ボタン ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; font-family: var(--f-ja); transition: background .2s, border-color .2s, color .2s, transform .2s;
  box-shadow: 0 6px 16px rgba(27, 88, 211, .25);
}
.pill:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-1px); }
.pill.outline { background: var(--white); color: var(--navy); border-color: var(--navy); box-shadow: none; }
.pill.outline:hover { background: var(--navy); color: var(--white); }
.pill.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); box-shadow: none; }
.pill.ghost:hover { background: var(--white); color: var(--navy); }
.more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.more .pill::after { content: "→"; font-family: var(--f-en); }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0, 46, 99, .06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
/* ロゴ：マークを大きく、社名は細い縦線で区切って上品に */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { width: 54px; height: 56px; object-fit: contain; }
.logo-text { display: grid; gap: 6px; padding-left: 14px; border-left: 1px solid var(--line); white-space: nowrap; line-height: 1; }
.logo-word { font-family: var(--f-en); font-weight: 700; font-size: 30px; letter-spacing: .16em; color: #1d1d1f; }
.logo-text .r { color: var(--logo-red); }
.logo-text small { font-family: var(--f-ja); font-weight: 500; font-size: 11.5px; letter-spacing: .32em; color: var(--ink-soft); }
.header-right { display: flex; align-items: center; gap: 22px; }
.gnav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; }
.gnav a { text-decoration: none; white-space: nowrap; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.gnav a:hover { color: var(--blue); }
.gnav a[aria-current="page"]:not(.nav-btn) { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
/* お問い合わせ（青い丸）・LINE相談（緑） */
.gnav .nav-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--white); padding: 11px 22px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(0, 46, 99, .18); transition: transform .2s, filter .2s; }
.gnav .nav-btn svg { width: 18px; height: 18px; flex: none; }
.gnav .nav-btn:hover { color: var(--white); transform: translateY(-1px); filter: brightness(1.08); }
.gnav .nav-contact { background: var(--navy); margin-left: 10px; }
.gnav .nav-line { background: #06c755; box-shadow: 0 6px 16px rgba(6, 199, 85, .25); }
.menu-btn { display: none; width: 44px; height: 44px; border: none; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin-block: 6px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 導入アニメーション：帆が風を受けるように、ゆったりと揺れながら現れ、静かに画面が開く ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: radial-gradient(ellipse at 50% 42%, #0b2f5c 0%, #04152e 55%, #010a18 100%); display: grid; place-items: center; transition: opacity 1.2s ease, visibility 1.2s; }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) .intro { display: none; }
.intro-inner { display: grid; justify-items: center; gap: 26px; perspective: 1200px; width: 320px; }
/* ぶれ対策：ぼかし・ゆがみは使わず、回転だけ。GPUの1枚の層として動かす */
.intro-mark { position: relative; width: clamp(120px, 16vw, 168px); aspect-ratio: 934 / 958; transform-origin: 30% 100%; opacity: 0; transform: translateZ(0); will-change: transform, opacity; backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
.intro.go .intro-mark { animation: sail 3.8s linear .15s forwards; }
.intro-mark img { width: 100%; height: 100%; display: block; }
/* ロゴの形に沿って、光がゆっくり横切る */
.intro-shine { position: absolute; inset: 0; overflow: hidden; -webkit-mask: url("../img/logo-mark-white.svg") center / contain no-repeat; mask: url("../img/logo-mark-white.svg") center / contain no-repeat; pointer-events: none; }
.intro-shine::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.85) 50%, transparent 100%); transform: translate3d(-120%, 0, 0); will-change: transform; }
.intro.go .intro-shine::before { animation: gleam 1.4s ease-in-out 2.5s forwards; }
/* 揺れ方：大きく2回だけゆったり揺れ、最後は時間をかけてすーっと静止（細かい揺れ＝振動は入れない） */
@keyframes sail {
  0%   { opacity: 0; transform: rotateY(40deg); animation-timing-function: cubic-bezier(.3, .1, .3, 1); }
  34%  { opacity: 1; transform: rotateY(-14deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  62%  { transform: rotateY(5deg); animation-timing-function: cubic-bezier(.33, 0, .2, 1); }
  100% { opacity: 1; transform: rotateY(0deg); }
}
@keyframes gleam { to { transform: translate3d(240%, 0, 0); } }
.intro-name { font-family: var(--f-en); font-weight: 600; letter-spacing: .9em; padding-left: .9em; color: rgba(255,255,255,.9); font-size: 15px; opacity: 0; }
.intro.go .intro-name { animation: name-in 1.6s ease 1.8s forwards; }
.intro-name .r { color: var(--logo-red); }
.intro-line { width: 220px; height: 1px; transform: scaleX(0); will-change: transform; background: linear-gradient(90deg, transparent, rgba(201,165,74,.9), transparent); margin-top: -12px; }
.intro.go .intro-line { animation: line-in 1.4s ease 2s forwards; }
@keyframes name-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes line-in { to { transform: scaleX(1); } }
.intro-skip { position: absolute; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); background: none; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); font: 13px var(--f-en); letter-spacing: .25em; padding: 6px 16px; cursor: pointer; }
body.intro-active { overflow: hidden; }

/* ---------- トップ：空とオフィスビルのスライド ---------- */
.kv { position: relative; min-height: min(calc(100svh - var(--header-h)), 820px); overflow: hidden; background: var(--navy-deep); color: var(--white); isolation: isolate; }
.kv-slides { position: absolute; inset: 0; z-index: -2; }
.kv-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.kv-slide.is-active { opacity: 1; }
.kv-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.kv-slide.is-active img { animation: kenburns 9s linear forwards; }
.kv-slide:nth-child(2n).is-active img { animation-name: kenburns-r; }
@keyframes kenburns { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1.02) translate(-1.5%, -1%); } }
@keyframes kenburns-r { from { transform: scale(1.02) translate(-1.5%, 0); } to { transform: scale(1.12) translate(1.5%, -1%); } }
.kv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,46,99,.35) 0%, rgba(0,66,140,.25) 45%, rgba(0,46,99,.75) 100%); }
/* 左に文章、右にコンサルティングの画面イメージ */
.kv-inner { position: relative; z-index: 2; min-height: inherit; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 72px); align-items: center; padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(150px, 15vw, 240px); }
.kv-copy { display: grid; justify-items: start; text-align: left; gap: 14px; }
.kv-script { white-space: nowrap; font-style: italic; font-weight: 500; letter-spacing: .02em; font-family: var(--f-script); font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.kv h1 { white-space: nowrap; color: var(--white); font-weight: 700; font-size: clamp(34px, 4.6vw, 74px); line-height: 1.25; letter-spacing: .04em; text-shadow: 0 4px 28px rgba(0,30,70,.55); }
.kv h1 .hl { color: var(--sky-light); }
.kv-lead { font-weight: 700; font-size: clamp(14px, 1.6vw, 17px); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.kv-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* 右側：経営の成長を表す抽象的なイラスト（すりガラスのパネルに、細い線のグラフ・進捗リング・組織のつながり） */
.kv-art { position: relative; height: 450px; color: var(--white); }
.glass { position: absolute; border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.07) 100%); border: 1px solid rgba(255,255,255,.38); box-shadow: 0 30px 60px rgba(0, 18, 45, .35), inset 0 1px 0 rgba(255,255,255,.45); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.g-label { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: .02em; white-space: nowrap; }
.g-sub { font-family: var(--f-en); font-size: 11.5px; letter-spacing: .1em; opacity: .8; white-space: nowrap; }
.g-main { left: 0; top: 39%; width: 58%; height: 48%; padding: 18px 22px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; animation: drift-a 10s ease-in-out infinite; }
.g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.g-chart { width: 100%; height: 100%; min-height: 0; overflow: visible; display: block; }
.g-chart .grid path { stroke: rgba(255,255,255,.14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-chart .bars rect { fill: rgba(255,255,255,.28); stroke: rgba(255,255,255,.45); stroke-width: .8; transform-origin: center bottom; transform-box: fill-box; animation: rise 7s cubic-bezier(.22,.61,.36,1) infinite; }
.g-chart .bars rect:nth-child(2) { animation-delay: .15s; } .g-chart .bars rect:nth-child(3) { animation-delay: .3s; } .g-chart .bars rect:nth-child(4) { animation-delay: .45s; } .g-chart .bars rect:nth-child(5) { animation-delay: .6s; }
.g-chart .curve { stroke-dasharray: 470; stroke-dashoffset: 470; animation: trace 7s cubic-bezier(.45,.05,.25,1) infinite; }
.g-chart .area { opacity: 0; animation: area-in 7s ease infinite; }
.g-chart .tip { fill: #f3d27a; }
.g-chart .pulse { fill: rgba(243,210,122,.35); transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes rise { 0% { transform: scaleY(.15); opacity: .6; } 22%, 100% { transform: scaleY(1); opacity: 1; } }
@keyframes trace { 0% { stroke-dashoffset: 470; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes area-in { 0%, 25% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.g-foot { display: flex; align-items: baseline; gap: 10px; font-size: 12px; opacity: .92; }
.g-foot b { font-family: var(--f-en); font-size: 21px; font-weight: 600; margin-right: 8px; color: #fff; }
.g-ring { right: 6%; top: 12%; width: 176px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; animation: drift-b 9s ease-in-out infinite; }
.g-ring svg { position: absolute; inset: 9%; width: 82%; height: 82%; }
.g-ring .arc { stroke-dasharray: 289; stroke-dashoffset: 289; animation: ring-fill 7s cubic-bezier(.45,.05,.25,1) infinite; }
@keyframes ring-fill { 0% { stroke-dashoffset: 289; } 45%, 88% { stroke-dashoffset: 46; } 100% { stroke-dashoffset: 46; opacity: .2; } }
.ring-tx { position: relative; display: grid; justify-items: center; line-height: 1; gap: 6px; }
.ring-tx b { font-family: var(--f-en); font-weight: 600; font-size: clamp(30px, 3vw, 40px); }
.ring-tx small { font-size: .5em; margin-left: 2px; }
.ring-tx span { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .14em; opacity: .8; }
/* 事業構成のドーナツ（3つ目のグラフ） */
.g-donut { left: 4%; top: 0; width: 150px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; animation: drift-b 10s ease-in-out infinite reverse; }
.g-donut svg { position: absolute; inset: 10%; width: 80%; height: 80%; }
.g-donut .dn { animation: dn-in 8s cubic-bezier(.45,.05,.25,1) infinite; }
.g-donut .d2 { animation-delay: .25s; } .g-donut .d3 { animation-delay: .5s; } .g-donut .d4 { animation-delay: .75s; }
@keyframes dn-in { 0% { opacity: 0; } 12%, 90% { opacity: 1; } 100% { opacity: .2; } }
.dn-tx { position: relative; display: grid; justify-items: center; line-height: 1; gap: 5px; }
.dn-tx b { font-family: var(--f-en); font-weight: 600; font-size: 24px; }
.dn-tx small { font-size: .5em; margin-left: 1px; }
.dn-tx span { font-family: var(--f-en); font-size: 8.5px; letter-spacing: .06em; opacity: .85; white-space: nowrap; }/* ノートPCに映る経営計画表（表計算）：行が順に入力され、営業利益率の行が光る */
.g-pc { right: -2%; bottom: -5%; width: 43%; padding: 12px 14px 10px; display: grid; gap: 4px; animation: drift-a 11s ease-in-out infinite reverse; }
.g-pc .pc { width: 100%; height: auto; display: block; overflow: visible; }
.g-pc text { font-family: var(--f-ui); font-size: 8.4px; fill: rgba(255,255,255,.92); text-anchor: middle; }
.g-pc .t-cap { font-size: 7px; fill: rgba(255,255,255,.75); letter-spacing: .04em; }
.g-pc .hdr text { font-weight: 700; fill: #fff; }
.g-pc .rule path { stroke: rgba(255,255,255,.16); stroke-width: .7; fill: none; }
.g-pc .row { opacity: 0; animation: cell-in 8s ease infinite; }
.g-pc .r1 { animation-delay: .2s; } .g-pc .r2 { animation-delay: .6s; } .g-pc .r3 { animation-delay: 1s; } .g-pc .r4 { animation-delay: 1.4s; } .g-pc .r5 { animation-delay: 1.8s; }
.g-pc .hl text { font-weight: 700; fill: #f3d27a; }
.g-pc .hl-bg { fill: rgba(243,210,122,.16); animation: hl 8s ease infinite 1s; }
.g-pc .cursor { animation: cursor 8s steps(1) infinite 1s; opacity: 0; }
@keyframes cell-in { 0% { opacity: 0; transform: translateY(2px); } 6%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hl { 0%, 18% { fill: rgba(243,210,122,0); } 30%, 85% { fill: rgba(243,210,122,.2); } 100% { fill: rgba(243,210,122,0); } }
@keyframes cursor { 0%, 20% { opacity: 0; } 22%, 30% { opacity: 1; } 32%, 36% { opacity: .2; } 38%, 86% { opacity: 1; } 88%, 100% { opacity: 0; } }
.pc-cap { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .04em; opacity: .95; }
.pc-cap i { width: 7px; height: 7px; background: #f3d27a; transform: rotate(45deg); }
.pc-cap b { font-family: var(--f-en); font-size: 16px; color: #f3d27a; }
.g-foot .up { color: #f3d27a; font-weight: 700; letter-spacing: .04em; }
@keyframes node { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes dash { to { stroke-dashoffset: -200; } }
.art-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(243,210,122,.8), transparent); }
.art-line.l1 { left: -6%; top: 6%; width: 46%; }
.art-line.l2 { right: -4%; bottom: 40%; width: 34%; }
@keyframes drift-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift-b { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(7px); } }
/* 下端の大きな英字（参考サイトの「Build with HIGH-STANDARD.」の位置づけ） */
.kv-big { position: absolute; left: 0; right: 0; bottom: clamp(38px, 5.2vw, 84px); z-index: 2; text-align: center; font-family: var(--f-en); font-weight: 700; font-size: clamp(22px, 5.6vw, 92px); line-height: 1; letter-spacing: -.005em; color: var(--white); white-space: nowrap; text-shadow: 0 6px 30px rgba(0, 20, 50, .45); pointer-events: none; }
.kv-big em { font-style: italic; font-weight: 600; color: var(--sky-light); }
.kv-dots { position: absolute; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.kv-dots button { width: 4px; height: 30px; border: none; padding: 0; background: rgba(255,255,255,.4); border-radius: 2px; cursor: pointer; }
.kv-dots button[aria-current="true"] { background: var(--white); }
.kv-credit { position: absolute; right: clamp(16px, 4vw, 40px); top: 10px; font-size: 10px; color: rgba(255,255,255,.6); z-index: 3; }
/* 下端：S字の青い帯（参考サイトの大きなうねりを意識） */
.kv-swoosh { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 9vw, 120px); z-index: 1; }

/* トロフィー（左下）：月桂冠＋青い円 */
.trophies { display: flex; gap: clamp(6px, 1.2vw, 14px); margin-top: 18px; margin-left: -10px; }
.trophy { position: relative; width: clamp(108px, 11.5vw, 142px); aspect-ratio: 1; display: grid; place-items: center; text-align: center; color: var(--white); }
.trophy svg.laurel { position: absolute; inset: 0; width: 100%; height: 100%; }
.trophy .t-inner { position: relative; width: 66%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); box-shadow: 0 6px 18px rgba(0,30,70,.35), inset 0 0 0 2px rgba(255,255,255,.25); display: grid; place-content: center; line-height: 1.15; }
.trophy small { font-size: clamp(8.5px, .8vw, 10.5px); font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.trophy b { font-family: var(--f-en); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.05; }
.trophy b em { font-style: normal; font-family: var(--f-ja); font-size: .45em; margin-left: 2px; }
.trophy .t-sub { font-size: clamp(8.5px, .8vw, 10.5px); font-weight: 700; }
.trophy .crown { position: absolute; top: 2%; left: 50%; width: 26%; transform: translateX(-50%); }

/* ---------- 下層ページのタイトル帯 ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); isolation: isolate; padding-block: clamp(64px, 9vw, 110px) clamp(96px, 12vw, 140px); text-align: center; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,66,140,.72), rgba(0,46,99,.86)); }
.page-hero .en { font-family: var(--f-en); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1.1; letter-spacing: .02em; display: block; }
.page-hero h1 { color: var(--white); font-size: clamp(16px, 2vw, 20px); font-weight: 700; margin-top: 8px; }
.page-hero .kv-swoosh { height: clamp(50px, 7vw, 90px); }
.breadcrumb { font-size: 12px; color: var(--ink-soft); padding-block: 14px 0; }
.breadcrumb a { text-decoration: none; color: var(--blue); }

/* ---------- 取引先ロゴ（横に流れる） ---------- */
.clients { padding-block: clamp(40px, 5vw, 64px); background: var(--white); }
.clients-head { text-align: center; display: grid; gap: 4px; margin-bottom: 28px; }
.clients-head h2 { font-family: var(--f-ja); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: .14em; color: var(--navy); line-height: 1.3; }
.clients-head p { font-weight: 700; font-size: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 16px; }
/* カクつき対策：カードの幅を固定（画像の読み込みで幅が変わらない）＋GPUで滑らかに動かす */
.marquee-track { display: flex; width: max-content; animation: flow 70s linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 64s; }
.marquee.slow .marquee-track { animation-duration: 78s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client { flex: 0 0 210px; width: 210px; margin-right: 16px; height: 84px; padding: 12px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; }
.client img { max-height: 54px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes flow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.clients-note { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 20px; }

/* ---------- セクション共通 ---------- */
.sec { padding-block: clamp(64px, 9vw, 112px); position: relative; overflow: clip; }
.sec.ice { background: var(--ice); }
.sec.pattern { background: var(--pattern) 0 0 / 220px 220px, var(--hero-grad); }
.sec.story { background: var(--story); color: var(--white); }
.sec.deep { background: var(--navy); color: var(--white); }
.sec.cta-sec { background: var(--cta-bg); }
.sec.contact-sec { background: var(--pattern) 0 0 / 220px 220px, linear-gradient(135deg, #e7f2fb 0%, #f0f4f8 100%); }
.sec-title { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); display: grid; gap: 4px; }
.sec-title h2 { font-family: var(--f-en); font-weight: 700; font-size: clamp(36px, 5vw, 50px); color: var(--navy); letter-spacing: .01em; line-height: 1.2; }
.sec-title p { font-weight: 700; font-size: 15px; }
.sec-lead { text-align: center; font-weight: 500; max-width: 46em; margin: -16px auto clamp(32px, 4vw, 48px); }
.story .sec-title h2, .deep .sec-title h2 { color: var(--white); }
.story .sec-title p, .deep .sec-title p { color: var(--white); }
.story .sec-lead, .deep .sec-lead { color: rgba(255,255,255,.9); }

/* ---------- Purpose（上から空色へ抜けるグラデーション） ---------- */
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.purpose .sec-title { text-align: left; }
.purpose-copy { font-size: clamp(30px, 4.6vw, 46px); font-weight: 700; line-height: 1.4; margin-bottom: 20px; color: var(--white); }
.purpose-text { display: grid; gap: 1.2em; font-weight: 500; }
.vm-list { display: grid; gap: 14px; }
.vm-card { border-radius: 16px; padding: 20px 22px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(2px); display: grid; gap: 6px; }
.vm-card .en { font-family: var(--f-en); font-weight: 700; font-size: 22px; line-height: 1.2; }
.vm-card .en small { font-family: var(--f-ja); font-size: 12px; font-weight: 700; margin-left: 10px; opacity: .85; }
.vm-card p { font-weight: 500; font-size: 15px; }
/* バリューもビジョン・ミッションと同じ文字の見せ方にそろえる */
.vm-card ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; counter-reset: v; }
.vm-card li { counter-increment: v; display: flex; align-items: baseline; gap: 8px; font-weight: 500; font-size: 15px; }
.vm-card li::before { content: counter(v) "."; font-family: var(--f-en); font-weight: 700; font-size: 14px; opacity: .85; }
.team-photo { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 2vw, 22px); margin-top: clamp(40px, 6vw, 64px); }
.team-photo a { display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--white); }
.team-photo img { width: clamp(88px, 11vw, 124px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 10px 24px rgba(0,46,99,.25); transition: transform .2s; }
.team-photo a:hover img { transform: translateY(-4px); }
.team-photo span { font-size: 12.5px; font-weight: 700; line-height: 1.3; text-align: center; text-shadow: 0 1px 6px rgba(0,46,99,.4); }
.team-photo small { display: block; font-family: var(--f-en); font-size: 11px; letter-spacing: .08em; }

/* ---------- Issue ---------- */
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.issue { background: var(--white); border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 12px; align-content: start; justify-items: center; box-shadow: 0 10px 28px rgba(0,46,99,.08); }
.issue svg { width: 76px; height: 76px; }
.issue h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.issue p { font-size: 15px; color: var(--ink-soft); }
.issue-answer { margin-top: clamp(32px, 4vw, 48px); text-align: center; font-weight: 700; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.6; color: var(--navy); }
.issue-answer span { background: linear-gradient(transparent 62%, rgba(67,171,255,.45) 62%); }

/* ---------- Service：白地の角丸ボックス＋イラスト付きカード ---------- */
.svc-box { border: 2px solid var(--navy); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); background: var(--white); }
.svc-box-head { display: grid; gap: 6px; margin-bottom: clamp(20px, 3vw, 32px); }
.svc-box-head .en { font-family: var(--f-en); font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); line-height: 1.2; }
.svc-box-head p { color: var(--ink-soft); font-size: 15px; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr; background: var(--white); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,46,99,.12); }
.svc-card .photo { overflow: hidden; background: var(--ice); }
.svc-card .photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s ease; }
.svc-card:hover .photo img { transform: scale(1.05); }
.svc-card h3 { color: var(--white); font-weight: 700; text-align: center; padding: 12px 10px; font-size: 16px; background: var(--navy); }
.svc-card:nth-child(4n+2) h3 { background: var(--sky); }
.svc-card:nth-child(4n+3) h3 { background: var(--blue); }
.svc-card:nth-child(4n+4) h3 { background: #1f3f6e; }
.svc-card p { padding: 14px 16px 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
.svc-card.more-card { background: var(--soft); border-color: var(--soft-2); grid-template-rows: 1fr; place-items: center; text-align: center; padding: 24px; gap: 10px; }
.svc-card.more-card b { font-size: 18px; color: var(--navy); display: block; }
.svc-card.more-card span { font-size: 13px; color: var(--ink-soft); }
.svc-card.more-card i { font-style: normal; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--f-en); margin-top: 6px; }

/* トップ：7つの領域のインフォグラフィック（リング＋引き出し線＋説明） */
.svc-box { border: none; border-radius: 28px; background:
  radial-gradient(ellipse 60% 55% at 50% 52%, rgba(67,171,255,.10) 0%, rgba(67,171,255,0) 70%),
  radial-gradient(circle, rgba(0,66,140,.07) 1px, transparent 1.2px) 0 0 / 22px 22px,
  linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 46, 99, .07); }
.svc-box-head { text-align: center; justify-items: center; }
.sol-map { position: relative; aspect-ratio: 1200 / 760; max-width: 1200px; margin: clamp(40px, 6vw, 90px) auto 0; }
.sol-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sol-ring .orbit { fill: none; stroke: #c9dcf2; stroke-width: 1; stroke-dasharray: 2 7; transform-box: view-box; transform-origin: 600px 390px; animation: orbit 90s linear infinite; }
.sol-ring .orbit-2 { stroke-dasharray: 1 0; stroke: #e3eefa; animation: none; }
@keyframes orbit { to { transform: rotate(360deg); } }
.sol-ring .seg { transform-box: view-box; transform-origin: 600px 390px; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s; cursor: pointer; }
.sol-ring .seg.active { transform: scale(1.06); filter: brightness(1.08) drop-shadow(0 8px 14px rgba(0,46,99,.25)); }
.sol-ring .seg-ic { pointer-events: none; }
.sol-ring .seg-no { font-family: var(--f-en); font-weight: 700; font-size: 26px; fill: #fff; text-anchor: middle; dominant-baseline: central; pointer-events: none; letter-spacing: .02em; }
.sol-ring .leader { fill: none; stroke: #9fbfe2; stroke-width: 1.2; }
.sol-ring .leader-dot { fill: var(--navy); }
.sol-ring .core-ja { font-family: var(--f-ja); font-weight: 700; font-size: 25px; fill: var(--navy); text-anchor: middle; letter-spacing: .14em; }
.sol-ring .core-en { font-family: var(--f-en); font-weight: 600; font-size: 14px; fill: #5c7da3; text-anchor: middle; letter-spacing: .32em; }
.sol { position: absolute; display: flex; align-items: center; gap: 14px; width: clamp(240px, 24vw, 310px); text-decoration: none; color: var(--ink); }
.sol-right .sol-tx { border-left: 2px solid var(--c); padding-left: 16px; }
.sol-left .sol-tx { border-right: 2px solid var(--c); padding-right: 16px; }
.sol-top .sol-tx { border-bottom: 2px solid var(--c); padding-bottom: 12px; }
.sol-right { transform: translate(10px, -50%); }
.sol-left { transform: translate(calc(-100% - 10px), -50%); flex-direction: row-reverse; text-align: right; }
.sol-top { transform: translate(-50%, calc(-100% - 8px)); flex-direction: column; text-align: center; gap: 8px; width: clamp(260px, 26vw, 340px); }
.sol-ic { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: var(--white); box-shadow: 0 0 0 1.5px var(--c), 0 8px 18px rgba(0,46,99,.12); transition: background .3s, color .3s; }
.sol-ic svg { width: 26px; height: 26px; }
.sol-tx { display: grid; gap: 3px; }
.sol-tx em { font-style: normal; font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .22em; color: var(--c); }
.sol-tx b { font-size: clamp(17px, 1.5vw, 21px); color: var(--navy); letter-spacing: .06em; line-height: 1.35; }
.sol-tx small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }
.sol.active .sol-tx b { color: var(--c); }
.sol:hover .sol-tx b { color: var(--c); }
.sol-groups { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(28px, 4vw, 44px) auto 0; max-width: 1100px; border-top: 1px solid var(--line); }
.sol-groups div { padding: 20px 22px 4px; display: grid; gap: 6px; }
.sol-groups div + div { border-left: 1px solid var(--line); }
.sol-groups b { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--navy); }
.sol-groups b i { width: 22px; height: 6px; border-radius: 3px; background: var(--c); }
.sol-groups small { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 960px) {
  .sol-map { aspect-ratio: auto; display: grid; gap: 12px; }
  .sol-ring { position: relative; inset: auto; height: auto; max-width: 420px; margin: 0 auto 8px; }
  .sol-ring .leader, .sol-ring .leader-dot, .sol-ring .orbit { display: none; }
  .sol, .sol-left, .sol-right, .sol-top { position: static; transform: none; width: auto; flex-direction: row; text-align: left; gap: 14px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 12px; padding: 14px 16px; }
  .sol .sol-tx { border: none !important; padding: 0 !important; }
  .sol-groups { grid-template-columns: 1fr; }
  .sol-groups div + div { border-left: none; border-top: 1px solid var(--line); }
}
/* ホバーで中央に内容がボワンと現れる */
.sol-focus { position: absolute; left: 50%; top: 51.32%; width: 22.6%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(.5); opacity: 0; pointer-events: none; z-index: 3; background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f3f8ff 100%); box-shadow: 0 0 0 4px var(--c, var(--navy)), 0 0 0 14px rgba(67,171,255,.12), 0 30px 60px rgba(0, 46, 99, .28); display: grid; place-items: center; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease, box-shadow .3s; }
.sol-map.focus .sol-focus { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.sf-inner { display: grid; justify-items: center; text-align: center; gap: 4px; width: 78%; }
.sf-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--c, var(--navy)); color: #fff; display: grid; place-items: center; margin-bottom: 2px; }
.sf-ic svg { width: 22px; height: 22px; }
.sol-focus em { font-style: normal; font-family: var(--f-en); font-weight: 600; font-size: 11px; letter-spacing: .24em; color: var(--c, var(--navy)); }
.sol-focus b { font-size: clamp(17px, 1.7vw, 22px); color: var(--navy); letter-spacing: .08em; line-height: 1.3; }
.sol-focus ul { list-style: none; margin: 4px 0 0; padding: 6px 0 0; border-top: 1px solid var(--line); display: grid; gap: 2px; font-size: clamp(10px, .85vw, 11.5px); color: var(--ink); line-height: 1.6; }
.sol-focus .sf-more { font-family: var(--f-ja); font-size: 11px; font-weight: 700; color: var(--c, var(--navy)); margin-top: 4px; }
.sol-map.focus .seg:not(.active) { opacity: .32; }
.sol-ring .seg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), filter .35s, opacity .35s; }
.sol-map.focus .sol:not(.active) { opacity: .4; }
.sol { transition: opacity .3s, scale .45s cubic-bezier(.34, 1.56, .64, 1); z-index: 2; }
.sol::before { content: ""; position: absolute; inset: -14px -18px; border-radius: 16px; background: var(--white); box-shadow: 0 18px 40px rgba(0, 46, 99, .16); opacity: 0; transition: opacity .3s; z-index: -1; }
.sol.active { scale: 1.08; }
.sol.active::before { opacity: 1; }
@media (max-width: 960px) { .sol-focus { display: none; } .sol::before { display: none; } .sol.active { scale: 1; } .sol-map.focus .sol:not(.active), .sol-map.focus .seg:not(.active) { opacity: 1; } }
/* サービスページ：雑誌のような見せ方（大きな写真＋ずらした色面、大きな番号、細い罫線のリスト） */
.svc-index { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); margin: 0 auto clamp(40px, 6vw, 72px); }
.svc-index a { display: grid; gap: 2px; padding: 16px 10px 14px; text-align: center; text-decoration: none; color: var(--ink); transition: background .2s, color .2s; }
.svc-index a + a { border-left: 1px solid var(--line); }
.svc-index a span { font-family: var(--f-en); font-size: 15px; font-weight: 600; color: var(--sky); letter-spacing: .1em; }
.svc-index a b { font-size: 14.5px; letter-spacing: .06em; }
.svc-index a:hover { background: var(--ice); color: var(--navy); }
.svc-detail { display: grid; gap: 0; }
.svc-item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-item:first-child { padding-top: 0; }
.svc-item:last-child { border-bottom: none; }
.svc-item > div:first-child { order: 2; }
.svc-item:nth-child(even) > div:first-child { order: 0; }
.svc-item .photo { position: relative; isolation: isolate; }
.svc-item .photo::before { content: ""; position: absolute; z-index: -1; inset: 22px -22px -22px 22px; background: var(--soft); }
.svc-item:nth-child(even) .photo::before { inset: 22px 22px -22px -22px; background: linear-gradient(135deg, var(--navy), var(--blue)); opacity: .9; }
.svc-item .photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 2px; box-shadow: 0 24px 48px rgba(0, 46, 99, .14); }
.svc-item-head { display: grid; gap: 6px; margin-bottom: 22px; }
.svc-item-head .no { font-family: var(--f-en); font-weight: 600; font-size: clamp(56px, 6vw, 84px); line-height: .9; color: transparent; -webkit-text-stroke: 1.2px var(--sky); letter-spacing: .02em; order: 0; }
.svc-item-head .en { font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); order: 1; }
.svc-item-head h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; color: var(--navy); letter-spacing: .08em; order: 2; position: relative; padding-bottom: 16px; }
.svc-item-head h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--navy); }
.svc-item ul { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.svc-item li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.8; }
.svc-item li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tool-chips span { font-size: 13px; font-weight: 600; color: var(--navy); background: transparent; border: 1px solid var(--soft-2); padding: 4px 14px; border-radius: 0; }
/* サービス：文章側のデザイン（領域ごとの色・色付きカード・グラデーションの番号・色のチェック） */
#s1, #s6 { --c: #00428c; --c2: #1b58d3; }
#s5, #s7 { --c: #1b58d3; --c2: #43abff; }
#s2, #s3, #s4 { --c: #2b9af0; --c2: #7cc8ff; }
.svc-item > div:first-child { position: relative; padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3vw, 44px) clamp(26px, 3vw, 40px); border-radius: 22px; background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--c2) 18%, transparent) 0%, transparent 45%),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 7%, #fff) 0%, #ffffff 70%);
  border: 1px solid color-mix(in srgb, var(--c) 14%, #fff); box-shadow: 0 18px 44px color-mix(in srgb, var(--c) 10%, transparent); overflow: hidden; }
.svc-item > div:first-child::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.svc-item > div:first-child::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border: 22px solid color-mix(in srgb, var(--c2) 10%, transparent); transform: rotate(45deg); pointer-events: none; }
.svc-item-head .no { color: transparent; -webkit-text-stroke: 0; background: linear-gradient(135deg, var(--c) 0%, var(--c2) 100%); -webkit-background-clip: text; background-clip: text; }
.svc-item-head .en { justify-self: start; color: var(--c); background: color-mix(in srgb, var(--c2) 14%, #fff); padding: 3px 12px; border-radius: 999px; letter-spacing: .24em; font-size: 12px; }
.svc-item-head h3 { color: var(--navy); }
.svc-item-head h3::after { width: 64px; height: 3px; background: linear-gradient(90deg, var(--c), var(--c2)); border-radius: 2px; }
.svc-item ul { border-top: none; gap: 10px; position: relative; z-index: 1; }
.svc-item li { background: rgba(255,255,255,.92); border: 1px solid color-mix(in srgb, var(--c) 10%, #fff); border-radius: 12px; padding: 13px 16px 13px 50px; box-shadow: 0 4px 12px color-mix(in srgb, var(--c) 6%, transparent); transition: transform .25s, box-shadow .25s; }
.svc-item li:hover { transform: translateX(4px); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 14%, transparent); }
.svc-item li::before { left: 16px; top: 50%; width: 22px; height: 22px; border: none; border-radius: 50%; transform: translateY(-50%); background: linear-gradient(135deg, var(--c), var(--c2)) ; }
.svc-item li::after { content: ""; position: absolute; left: 23px; top: 50%; width: 8px; height: 4.5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-70%) rotate(-45deg); }
.tool-chips span { border-color: color-mix(in srgb, var(--c) 22%, #fff); color: var(--c); background: #fff; border-radius: 999px; }
.svc-index a span { color: var(--blue); }
@media (max-width: 860px) {
  .svc-index { grid-template-columns: repeat(4, 1fr); }
  .svc-index a:nth-child(5) { border-left: none; }
  .svc-item, .svc-item:nth-child(even) { grid-template-columns: 1fr; }
  .svc-item > div:first-child, .svc-item:nth-child(even) > div:first-child { order: 2; }
  .svc-item .photo { order: 1; margin: 0 22px 22px 0; }
}

/* ---------- Reason（青地＋イラスト） ---------- */
.reason-list { display: grid; gap: clamp(40px, 5vw, 64px); }
.reason-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.reason-item:nth-child(even) .reason-body { order: 2; }
.reason-num { font-family: var(--f-en); font-weight: 700; font-size: 60px; line-height: 1; color: var(--sky-light); }
.reason-body { display: grid; gap: 14px; }
.reason-body h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--white); }
.reason-body p { color: rgba(255,255,255,.9); }
.reason-art { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 20px 40px rgba(0, 20, 50, .3); }
.reason-art img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.reason-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 46, 99, .45)); }
.reason-closing { text-align: center; font-weight: 700; font-size: clamp(17px, 2.2vw, 22px); margin-top: clamp(40px, 5vw, 56px); }

/* ---------- Member ---------- */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 8px 24px rgba(0, 46, 99, .07); scroll-margin-top: 96px; }
.member-photo { position: relative; background: var(--soft); }
.member-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.member-role { position: absolute; left: 16px; bottom: 14px; background: var(--white); border-radius: 10px; padding: 8px 14px; box-shadow: 0 6px 16px rgba(0, 46, 99, .15); line-height: 1.35; }
.member-role b { display: block; font-size: 20px; font-weight: 700; }
.member-role span { font-size: 12px; font-weight: 700; color: var(--blue); }
.member-role small { font-family: var(--f-en); font-size: 11px; color: var(--ink-soft); letter-spacing: .05em; margin-left: 6px; }
.career { margin: 0; padding: 18px 22px 24px; display: grid; gap: 10px; align-content: start; }
.career dt { font-size: 13px; font-weight: 700; color: var(--navy); }
.career dd { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }

/* ---------- メンバーカード（高級感のある縦長カード：黒い名札＋金の文字） ---------- */
:root { --m-gold: #c9a54a; --m-gold-text: #d9bd72; --m-plate: rgba(12, 14, 18, .9); --f-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.m-card { position: relative; display: block; aspect-ratio: 1 / 1.12; overflow: hidden; background: linear-gradient(180deg, #d4d8dc 0%, #b9bfc6 100%); text-decoration: none; color: var(--white); isolation: isolate; }
.m-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.82) contrast(1.06) brightness(1.02); transition: transform .6s ease; z-index: -1; }
.m-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 52%, rgba(8, 12, 20, .55) 100%); }
.m-card:hover img { transform: scale(1.04); }
.m-plate { position: absolute; left: clamp(14px, 2vw, 26px); right: 56px; bottom: clamp(16px, 2.2vw, 26px); display: grid; justify-items: start; gap: 4px; }
.m-role { background: var(--m-plate); color: var(--m-gold-text); font-size: clamp(11px, 1.05vw, 13px); font-weight: 700; letter-spacing: .1em; line-height: 1.6; padding: 4px 9px; }
.m-name { background: var(--m-plate); font-family: var(--f-serif); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .12em; line-height: 1.3; padding: 2px 9px; }
.m-en { background: #0a0a0a; font-family: var(--f-en); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; }
.m-arrow { position: absolute; right: clamp(14px, 2vw, 24px); bottom: clamp(18px, 2.4vw, 28px); width: 30px; height: 30px; border-radius: 50%; background: var(--m-gold); display: grid; place-items: center; }
.m-arrow::before { content: ""; border-left: 8px solid #111; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.m-label { display: block; font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--m-gold); margin-bottom: 14px; }

/* メンバーページ：カード＋経歴の横並び */
.m-profiles { display: grid; gap: clamp(40px, 6vw, 72px); }
.m-profile { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; scroll-margin-top: 96px; }
.m-profile .m-card { cursor: default; }
.m-profile .m-card .m-arrow { display: none; }
.m-detail { display: grid; gap: 18px; padding-top: 6px; }
.m-detail-head { border-bottom: 1px solid var(--line); padding-bottom: 16px; display: grid; gap: 4px; }
.m-detail-head .role { font-size: 13px; font-weight: 700; color: var(--m-gold); letter-spacing: .1em; }
.m-detail-head .name { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: .14em; color: var(--ink); line-height: 1.3; }
.m-detail-head .en { font-family: var(--f-en); font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); }
.m-career { margin: 0; display: grid; gap: 16px; }
.m-career dt { font-size: 14px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.m-career dt::before { content: ""; width: 14px; height: 2px; background: var(--m-gold); }
.m-career dd { margin: 4px 0 0 22px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
@media (max-width: 860px) { .m-grid { grid-template-columns: repeat(2, 1fr); } .m-profile { grid-template-columns: 1fr; } .m-profile .m-card { max-width: 420px; } }
@media (max-width: 480px) { .m-grid { grid-template-columns: 1fr; } }

/* ---------- CTA（淡い青の地に、青い角丸ボックス） ---------- */
.cta-box { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--radius); color: var(--white); text-align: center; padding: clamp(36px, 6vw, 60px) clamp(20px, 4vw, 48px); display: grid; gap: 24px; justify-items: center; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) 0 0 / 220px 220px; opacity: .25; }
.cta-box h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 700; line-height: 1.4; color: var(--white); }
.cta-points { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-point { position: relative; width: 128px; height: 128px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.45; margin-top: 14px; }
.cta-point em { font-style: normal; display: block; color: var(--sky); font-size: 11px; font-family: var(--f-en); letter-spacing: .08em; }
.cta-point svg { position: absolute; top: -18px; left: 50%; width: 34px; transform: translateX(-50%); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-box .pill { background: var(--white); color: var(--navy); border-color: var(--white); }
.cta-box .pill:hover { background: var(--sky-light); border-color: var(--sky-light); }
.cta-box .pill.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }

/* ---------- Flow ---------- */
.flow-list { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; }
.flow-list li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; position: relative; padding-bottom: 36px; }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; left: 35px; top: 72px; bottom: 0; border-left: 2px dotted var(--sky); }
.flow-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.flow-icon svg { width: 34px; height: 34px; }
.flow-list h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-top: 8px; }
.flow-list p { color: var(--ink-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 1040px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details { background: var(--white); border-radius: 14px; border: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; display: flex; gap: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; font-family: var(--f-en); font-weight: 700; color: var(--blue); font-size: 20px; line-height: 1.5; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--navy); font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-a { padding: 0 24px 22px; display: flex; gap: 14px; color: var(--ink-soft); }
.faq-a::before { content: "A"; font-family: var(--f-en); font-weight: 700; color: var(--sky); font-size: 20px; line-height: 1.5; }

/* ---------- 会社概要 ---------- */
.company-table { width: 100%; max-width: 1040px; margin: 0 auto; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 22px 12px; border-bottom: 1px solid var(--line); }
.company-table th { width: 180px; color: var(--navy); font-weight: 700; font-size: 15px; }
.fill { background: #fff1d6; color: #9a5b00; padding: 1px 6px; font-size: 13px; border-radius: 3px; }

/* ---------- お問い合わせ ---------- */
.contact-card { max-width: 1000px; margin: 0 auto; background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); display: grid; gap: 32px; box-shadow: 0 8px 32px rgba(0, 46, 99, .08); }
.contact-mail { display: grid; gap: 4px; text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.contact-mail span { font-size: 14px; color: var(--ink-soft); }
.contact-mail b { font-family: var(--f-en); font-size: clamp(20px, 3.4vw, 28px); color: var(--navy); letter-spacing: .02em; word-break: break-all; }
form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.req { background: var(--blue); color: var(--white); font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--ice); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(27,88,211,.18); }
textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); text-align: center; }
.form-submit { display: flex; justify-content: center; }
.form-submit .pill { min-width: 260px; padding-block: 16px; font-size: 16px; }
.form-msg { text-align: center; color: var(--blue); font-weight: 700; }

/* ---------- フッター ---------- */
footer { background: var(--navy); color: rgba(255,255,255,.88); padding-block: 48px 32px; font-size: 14px; }
footer .wrap { display: grid; gap: 28px; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-mark { width: 64px; height: 64px; flex: none; display: grid; place-items: center; background: var(--white); border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 20, 50, .25); }
.foot-mark img { width: 44px; height: auto; } /* ロゴは正しい色（Fは朱色、下のLは黒）で、白い台に載せる */
.foot-logo { font-family: var(--f-en); font-weight: 700; letter-spacing: .14em; font-size: 22px; color: var(--white); }
.foot-copy { color: var(--sky-light); font-weight: 700; }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--sky-light); }
.copy { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.65); }

/* ---------- 代表挨拶 ---------- */
.ceo { max-width: 960px; margin: 0 auto; }
.ceo .m-card { aspect-ratio: 1 / 1.15; }
.ceo-body { display: grid; gap: 1.3em; }
.ceo-catch { font-family: var(--f-serif); font-weight: 700; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.6; color: var(--navy); letter-spacing: .06em; }
.ceo-body p { color: var(--ink); line-height: 2.05; }
.ceo-sign { display: grid; justify-items: end; gap: 2px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.ceo-sign small { font-size: 13px; color: var(--ink-soft); }
.ceo-sign b { font-family: var(--f-serif); font-size: 24px; letter-spacing: .2em; }
.ceo-sign .en { font-family: var(--f-en); font-size: 11px; letter-spacing: .16em; color: var(--ink-soft); }

/* ---------- 無料相談（シックなコンサル風）：夜のオフィス街の写真＋紺の重ね＋四角いボタン ---------- */
.cta2 { position: relative; overflow: hidden; color: var(--white); isolation: isolate; padding-block: clamp(72px, 10vw, 120px); }
.cta2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 22, 50, .94) 0%, rgba(0, 46, 99, .86) 55%, rgba(0, 66, 140, .7) 100%); }
.cta2-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta2-label { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .3em; color: var(--sky-light); display: flex; align-items: center; gap: 14px; }
.cta2-label::after { content: ""; width: 56px; height: 1px; background: var(--sky-light); opacity: .6; }
.cta2 h2 { font-family: var(--f-serif); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.55; letter-spacing: .06em; color: var(--white); margin: 18px 0 16px; }
.cta2 p { color: rgba(255,255,255,.85); }
.cta2-notes { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; }
.cta2-notes li { display: flex; align-items: center; gap: 8px; }
.cta2-notes li::before { content: ""; width: 7px; height: 7px; background: var(--sky); transform: rotate(45deg); }
.cta2-actions { display: grid; gap: 14px; }
.cta2-btn { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 22px 24px; text-decoration: none; color: var(--white); border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.04); transition: background .25s, border-color .25s; }
.cta2-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.cta2-btn.primary { background: var(--white); color: var(--navy); border-color: var(--white); }
.cta2-btn.primary:hover { background: var(--soft); }
.cta2-btn svg { width: 32px; height: 32px; }
.cta2-btn small { display: block; font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; opacity: .75; }
.cta2-btn b { font-size: clamp(16px, 1.6vw, 19px); letter-spacing: .06em; }
.cta2-btn i { font-style: normal; font-family: var(--f-en); font-size: 20px; transition: transform .25s; }
.cta2-btn:hover i { transform: translateX(4px); }

/* ---------- 採用ページ ---------- */
.rc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rc-intro .photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 46, 99, .15); }
.rc-intro .photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rc-catch { font-family: var(--f-serif); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.6; color: var(--navy); margin-bottom: 18px; letter-spacing: .05em; }
.rc-intro p + p { margin-top: 1em; }
.rc-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rc-point { background: var(--white); border-radius: 16px; padding: 24px 20px; display: grid; gap: 10px; align-content: start; box-shadow: 0 10px 28px rgba(0,46,99,.08); }
.rc-point .no { font-family: var(--f-en); font-weight: 700; font-size: 30px; line-height: 1; color: var(--sky); }
.rc-point h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.rc-point p { font-size: 14px; color: var(--ink-soft); }
.jobs { display: grid; gap: 20px; }
.job { border: 2px solid var(--soft-2); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.job:nth-child(odd) { border-color: var(--navy); }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.job-head h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; color: var(--navy); }
.job-head .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job-head .tags span { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--soft); padding: 2px 10px; border-radius: 999px; }
.job table { width: 100%; border-collapse: collapse; }
.job th, .job td { text-align: left; vertical-align: top; padding: 14px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); font-size: 15px; }
.job tr:last-child th, .job tr:last-child td { border-bottom: none; }
.job th { width: 150px; color: var(--navy); font-weight: 700; background: var(--ice); }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .intro { display: none; }
  .kv-slide.is-active img { animation: none; transform: none; }
  .glass, .g-chart *, .g-ring .arc, .g-pc *, .g-donut * { animation: none !important; }
  .g-pc .row, .g-pc .cursor { opacity: 1; }
  .g-chart .curve { stroke-dashoffset: 0; } .g-chart .area { opacity: 1; } .g-ring .arc { stroke-dashoffset: 46; }
  .intro-mark, .intro-name, .intro-line { animation: none !important; opacity: 1; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 12px; padding-inline: 16px; }
  .marquee-track .client { margin-right: 0; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1120px) {
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; gap: 0; padding: 8px 0 16px; box-shadow: 0 12px 24px rgba(0, 46, 99, .12); }
  .gnav.open { display: flex; }
  .gnav a { padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav .nav-btn { justify-content: center; margin: 10px clamp(16px, 4vw, 40px) 0; border-radius: 999px; border-bottom: none; }
  .gnav a[aria-current="page"]:not(.nav-btn) { box-shadow: none; background: var(--soft); }
  .logo-word { font-size: 24px; }
  .logo img { width: 44px; height: 46px; }
  .menu-btn { display: block; }
  .header-right .pill { padding: 10px 18px; font-size: 14px; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .issue-grid, .purpose-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr 1fr; }
  .reason-item, .svc-item { grid-template-columns: 1fr; }
  .reason-item:nth-child(even) .reason-body { order: 0; }
  .svc-item .photo { max-width: 420px; }
  .kv { height: auto; min-height: 0; }
  .kv-inner { grid-template-columns: 1fr; padding-block: 48px 120px; }
  .kv-art { height: 450px; min-height: 0; max-width: 600px; width: 100%; justify-self: center; }
  .ceo, .rc-intro, .cta2-grid { grid-template-columns: 1fr; }
  .ceo .m-card { max-width: 380px; }
  .rc-points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-right .pill { display: none; }
  .member-grid, .svc-cards { grid-template-columns: 1fr; }
  .kv-dots, .kv-credit { display: none; }
  .trophies { gap: 0; margin-left: -6px; }
  .trophy { width: 104px; }
  .kv-art { height: 540px; }
  .g-main { width: 80%; height: 58%; padding: 12px 14px; }
  .g-pc { width: 58%; }
  .svc-index a b { font-size: 12px; }
  .g-ring { width: 120px; top: 2%; right: 8%; }
  .g-main { top: 25%; width: 100%; height: 31%; }
  .g-pc { width: 74%; right: 0; bottom: 0; }
  .ring-tx span { font-size: 8.5px; }
  .g-foot b { font-size: 17px; }
  .rc-points { grid-template-columns: 1fr; }
  .job th, .job td { display: block; width: auto; }
  .job th { padding-bottom: 4px; }
  .cta2-btn { grid-template-columns: 36px 1fr auto; padding: 18px; }
  .client { height: 68px; min-width: 120px; padding: 10px 16px; }
  .client img { max-height: 42px; max-width: 170px; }
  .company-table th, .company-table td { display: block; width: auto; padding: 6px 4px; border: none; }
  .company-table th { padding-top: 18px; }
  .company-table tr { border-bottom: 1px solid var(--line); display: block; padding-bottom: 14px; }
  .flow-list li { grid-template-columns: 56px 1fr; gap: 16px; }
  .flow-icon { width: 56px; height: 56px; }
  .flow-list li:not(:last-child)::after { left: 27px; top: 56px; }
  .cta-point { width: 104px; height: 104px; font-size: 13px; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
}
/* =========================================================
   公開用サイトで追加した部品
   ========================================================= */
/* ---------- ヘッダー：会社案内・サービスの下にメニュー（ドロップダウン） ---------- */
.gnav > a.cur, .nav-dd > a.cur { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.nav-dd { position: relative; }
.nav-dd > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.dd { position: absolute; left: 50%; top: calc(100% + 10px); min-width: 210px; padding: 10px; background: var(--white); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px rgba(0, 46, 99, .14); display: grid; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .dd, .nav-dd:focus-within .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnav .dd a { padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.gnav .dd a:hover { background: var(--ice); color: var(--navy); }
.gnav .dd a[aria-current="page"] { background: var(--soft); color: var(--navy); box-shadow: none; }
.dd a span { font-family: var(--f-en); font-size: 13px; color: var(--sky); letter-spacing: .06em; }
.dd-svc { min-width: 240px; }
@media (max-width: 1120px) {
  .gnav { max-height: calc(100svh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; align-items: stretch; }
  .gnav .nav-btn { align-self: stretch; }
  html.nav-open { overflow: hidden; }
  .nav-dd { display: grid; }
  .nav-dd > a { padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
  .nav-dd > a::after { display: none; }
  .gnav > a.cur, .nav-dd > a.cur { box-shadow: none; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; padding: 4px 0 8px; min-width: 0; background: var(--ice); grid-template-columns: 1fr 1fr; }
  .dd::before { display: none; }
  .gnav .dd a { padding: 9px clamp(16px, 4vw, 40px); border-bottom: none; font-size: 13.5px; }
}

/* ---------- パンくず ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumb .sep { color: #9fb0c4; }
.breadcrumb [aria-current] { color: var(--ink-soft); }

/* ---------- フッター：住所＋サイトマップ ---------- */
.foot-info { display: grid; gap: 18px; }
.foot-addr { font-style: normal; font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.8); }
.foot-addr a { color: var(--sky-light); text-decoration: none; }
.foot-sitemap { display: grid; grid-template-columns: repeat(3, auto); gap: 20px clamp(28px, 4vw, 64px); }
.foot-sitemap div { display: grid; gap: 6px; align-content: start; }
.foot-sitemap a { text-decoration: none; font-size: 13.5px; color: rgba(255,255,255,.8); }
.foot-sitemap a.h { color: var(--white); font-weight: 700; font-size: 14.5px; margin-bottom: 4px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.2); }
.foot-sitemap a:hover { color: var(--sky-light); }
@media (max-width: 860px) { .foot-sitemap { grid-template-columns: 1fr 1fr; } .foot-sitemap div:last-child { grid-column: 1 / -1; } }

/* ---------- 青い背景の中のリンク ---------- */
.deep a, .story a:not(.pill) { color: var(--sky-light); text-underline-offset: 3px; }

/* ---------- サービス一覧：詳細ページへのリンク ---------- */
.svc-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 11px 22px; border-radius: 999px; background: linear-gradient(135deg, var(--c), var(--c2)); color: var(--white); font-weight: 700; font-size: 14.5px; text-decoration: none; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 25%, transparent); transition: transform .2s, filter .2s; }
.svc-link i { font-style: normal; font-family: var(--f-en); transition: transform .2s; }
.svc-link:hover { transform: translateY(-1px); filter: brightness(1.08); }
.svc-link:hover i { transform: translateX(3px); }
.svc-index a[aria-current="page"] { background: var(--navy); color: var(--white); }
.svc-index a[aria-current="page"] span { color: var(--sky-light); }

/* ---------- サービス個別ページ ---------- */
.sv-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.sv-head { display: grid; gap: 6px; margin-bottom: 22px; }
.sv-head .no { font-family: var(--f-en); font-weight: 600; font-size: clamp(56px, 6vw, 84px); line-height: .9; background: linear-gradient(135deg, var(--c), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-head .en { justify-self: start; font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c2) 14%, #fff); padding: 3px 12px; border-radius: 999px; }
.sv-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--navy); letter-spacing: .08em; position: relative; padding-bottom: 16px; }
.sv-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.sv-catch { font-weight: 700; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.65; color: var(--navy); margin-bottom: 18px; letter-spacing: .04em; }
.sv-lead { display: grid; gap: 1em; }
.sv-photo { position: relative; isolation: isolate; }
.sv-photo::before { content: ""; position: absolute; z-index: -1; inset: 22px -22px -22px 22px; background: linear-gradient(135deg, var(--c), var(--c2)); opacity: .9; }
.sv-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 24px 48px rgba(0, 46, 99, .16); }
.sv-issues { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sv-issues li { position: relative; background: var(--white); border-radius: 14px; padding: 20px 22px 20px 58px; font-weight: 600; line-height: 1.7; box-shadow: 0 10px 28px rgba(0, 46, 99, .08); }
.sv-issues li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); border-radius: 6px; border: 2px solid var(--c); }
.sv-issues li::after { content: ""; position: absolute; left: 27px; top: 50%; width: 10px; height: 5.5px; border-left: 2.5px solid var(--c2); border-bottom: 2.5px solid var(--c2); transform: translateY(-75%) rotate(-45deg); }
.sv-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sv-card { position: relative; overflow: hidden; border-radius: 20px; padding: clamp(26px, 3vw, 38px); background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--c2) 16%, transparent) 0%, transparent 45%), linear-gradient(160deg, color-mix(in srgb, var(--c) 6%, #fff) 0%, #fff 70%); border: 1px solid color-mix(in srgb, var(--c) 14%, #fff); box-shadow: 0 16px 36px color-mix(in srgb, var(--c) 9%, transparent); display: grid; gap: 10px; align-content: start; }
.sv-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.sv-card-no { font-family: var(--f-en); font-weight: 600; font-size: 34px; line-height: 1; background: linear-gradient(135deg, var(--c), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-card h3 { font-size: clamp(18px, 1.8vw, 21px); color: var(--navy); }
.sv-card p { color: var(--ink-soft); font-size: 15px; }
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.sv-steps li { position: relative; background: var(--white); border-radius: 16px; padding: 26px 22px; display: grid; gap: 8px; align-content: start; box-shadow: 0 10px 28px rgba(0, 46, 99, .07); }
.sv-steps li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--c2); border-right: 2px solid var(--c2); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.sv-step-no { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--c); }
.sv-steps h3 { font-size: 18px; color: var(--navy); }
.sv-steps p { font-size: 14px; color: var(--ink-soft); }
.sv-related { background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); }
.sv-related-note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: -24px; }
@media (max-width: 960px) { .sv-steps { grid-template-columns: 1fr 1fr; } .sv-steps li:nth-child(2)::after { display: none; } }
@media (max-width: 860px) {
  .sv-intro-grid, .sv-cards, .sv-issues { grid-template-columns: 1fr; }
  .sv-photo { order: -1; margin: 0 22px 22px 0; max-width: 520px; }
}
@media (max-width: 560px) { .sv-steps { grid-template-columns: 1fr; } .sv-steps li::after { display: none; } }

/* ---------- 会社案内：アクセス・関連ページ ---------- */
.access { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; max-width: 1200px; margin: 0 auto; }
.access-map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 36px rgba(0, 46, 99, .1); background: var(--soft); aspect-ratio: 16 / 10; }
.access-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access-info { margin: 0; display: grid; gap: 4px 0; background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: 0 10px 28px rgba(0, 46, 99, .07); }
.access-info dt { font-weight: 700; color: var(--navy); font-size: 14px; margin-top: 12px; }
.access-info dt:first-child { margin-top: 0; }
.access-info dd { margin: 0; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.access-info dd:last-child { border-bottom: none; padding-bottom: 0; }
.access-info a, .company-table a { color: var(--blue); }
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.link-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; color: var(--white); text-decoration: none; isolation: isolate; }
.link-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.link-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,46,99,.15) 0%, rgba(0,46,99,.85) 100%); }
.link-card:hover img { transform: scale(1.05); }
.link-card span { position: absolute; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 4px; }
.link-card em { font-style: normal; font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .24em; color: var(--sky-light); }
.link-card b { font-size: 22px; letter-spacing: .08em; }
.link-card b::after { content: " →"; font-family: var(--f-en); }
.link-card small { font-size: 13px; opacity: .9; }
@media (max-width: 860px) { .access, .link-cards { grid-template-columns: 1fr; } .link-card { aspect-ratio: 16 / 9; } }

/* ---------- 選ばれる理由：支援体制 ---------- */
.reason-body p + p { margin-top: -2px; }
.team-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.team-role { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 14px; padding: 22px 24px; display: grid; gap: 2px; box-shadow: 0 10px 24px rgba(0, 46, 99, .06); }
.team-role:nth-child(3n+2) { border-top-color: var(--blue); }
.team-role:nth-child(3n) { border-top-color: var(--sky); }
.team-role em { font-style: normal; font-family: var(--f-en); font-weight: 700; font-size: 24px; color: var(--navy); line-height: 1.2; }
.team-role b { font-size: 13px; color: var(--ink-soft); }
.team-role span { font-size: 19px; font-weight: 700; letter-spacing: .1em; margin-top: 6px; }
.team-role small { font-size: 13px; color: var(--ink-soft); padding-top: 8px; margin-top: 6px; border-top: 1px solid var(--line); }
.team-role a { color: var(--blue); }
@media (max-width: 860px) { .team-roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-roles { grid-template-columns: 1fr; } }

/* ---------- よくあるご質問 ---------- */
.faq-group { max-width: 1040px; margin: clamp(32px, 4vw, 48px) auto 16px; font-size: clamp(19px, 2vw, 22px); color: var(--navy); padding-left: 14px; border-left: 4px solid var(--blue); line-height: 1.4; }
.sec-lead a { color: var(--blue); }

/* ---------- プライバシーポリシーなどの文章ページ ---------- */
.doc { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.doc h2 { font-size: clamp(18px, 2vw, 21px); color: var(--navy); margin-top: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.doc ul { margin: 0; padding-left: 1.4em; }
.doc a { color: var(--blue); }
.doc-date { text-align: right; color: var(--ink-soft); font-size: 14px; margin-top: 24px; }

/* ---------- フォーム：同意欄・迷惑送信よけ・結果表示 ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent label { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; padding: 0; accent-color: var(--blue); }
.consent a { color: var(--blue); }
.form-msg.is-error { color: #c2352b; }
.form-submit .pill:disabled { opacity: .6; cursor: wait; transform: none; }
.contact-mail b a { color: inherit; text-decoration: none; }
.done-card { text-align: center; justify-items: center; max-width: 760px; }
.done-card h2 { font-size: clamp(22px, 2.6vw, 28px); color: var(--navy); }
.done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; }
.done-mark svg { width: 36px; height: 36px; }
.done-card a:not(.pill) { color: var(--blue); }
.nf-code { font-family: var(--f-en); font-weight: 700; font-size: clamp(72px, 12vw, 120px); line-height: 1; color: var(--navy); opacity: .9; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nf-links a { padding: 8px 18px; border: 1px solid var(--soft-2); border-radius: 999px; text-decoration: none; color: var(--navy) !important; font-size: 14px; font-weight: 600; }
.nf-links a:hover { background: var(--soft); }

/* ---------- トップ：見出しの文字数に合わせた大きさ／実績（トロフィー）のアイコンと注記 ---------- */
.kv h1 { font-size: clamp(28px, 3.7vw, 60px); }
.trophy .t-ic { position: absolute; top: 0; left: 50%; width: 22%; height: auto; transform: translate(-50%, -18%); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0,30,70,.5)); }
.trophy b.ja { font-family: var(--f-ja); font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .02em; margin: 2px 0; }
.trophy b em { font-size: .42em; }
.trophy-note { font-size: 11px; color: rgba(255,255,255,.82); text-shadow: 0 1px 6px rgba(0,0,0,.6); margin-top: -4px; }

/* ---------- Reason：S字の青い帯が流れ込む背景＋「VF」の透かし ---------- */
.reason-fx { background: linear-gradient(125deg, #002a5c 0%, #00428c 42%, #0f5bc4 78%, #2b7fe0 100%); isolation: isolate; }
.reason-fx > .wrap { position: relative; z-index: 1; }
.rfx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.rfx-vf { font-family: var(--f-en); font-style: italic; font-weight: 700; font-size: 720px; letter-spacing: -.04em; fill: none; stroke-width: 2; opacity: 0; transform: translateX(60px); transition: opacity 1.6s ease .3s, transform 2.2s cubic-bezier(.2,.8,.2,1) .3s; }
.rfx-vf .v { stroke: rgba(255,255,255,.16); }
.rfx-vf .f { stroke: rgba(226,70,29,.38); }
.rfx-band { fill: none; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 2.4s cubic-bezier(.3,.7,.2,1); }
.rfx-band.b1 { stroke-width: 150; opacity: .55; }
.rfx-band.b2 { stroke-width: 46; opacity: .65; transition-delay: .25s; }
.rfx-band.b3 { stroke-width: 90; opacity: .3; transition-delay: .45s; }
.rfx-line { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 2; stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 3s cubic-bezier(.3,.7,.2,1) .5s; }
.reason-fx.in-view .rfx-band, .reason-fx.in-view .rfx-line { stroke-dashoffset: 0; }
.reason-fx.in-view .rfx-vf { opacity: 1; transform: none; }
/* 流れ込んだあとは、帯がゆっくり揺らぐ */
.reason-fx.in-view .rfx-band.b1 { animation: rfx-drift 14s ease-in-out 2.6s infinite alternate; }
.reason-fx.in-view .rfx-band.b2 { animation: rfx-drift 11s ease-in-out 2.8s infinite alternate-reverse; }
@keyframes rfx-drift { from { transform: translate(0, 0); } to { transform: translate(-40px, 18px); } }
.reason-fx .reason-art { box-shadow: 0 24px 50px rgba(0, 15, 40, .4); }
html:not(.js) .rfx-band, html:not(.js) .rfx-line { stroke-dashoffset: 0; }
html:not(.js) .rfx-vf { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rfx-band, .rfx-line { stroke-dashoffset: 0 !important; animation: none !important; } .rfx-vf { opacity: 1; transform: none; } }
@media (max-width: 860px) { .rfx-vf { font-size: 900px; } .rfx-band.b1 { stroke-width: 200; } }

/* ---------- 会社案内：拠点と本社のアクセス（2つ並べる） ---------- */
.access-list { display: grid; gap: clamp(24px, 3vw, 36px); max-width: 1200px; margin: 0 auto; }
.access-label { font-size: 18px !important; color: var(--navy); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.access-label span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.access-info dd.access-lead { font-size: 13.5px; color: var(--ink-soft); }
.access-note { text-align: center; font-size: 14px; color: var(--ink-soft); }
.access-note a { color: var(--blue); }
.foot-addr span { display: inline-block; font-size: 11px; border: 1px solid rgba(255,255,255,.4); border-radius: 3px; padding: 0 5px; margin-right: 6px; line-height: 1.6; }

/* Reason背景の調整：縦長の欄でも帯が切れないよう伸縮させ、線の太さは一定に。「VF」は文字で右側に配置 */
.rfx-band, .rfx-line { vector-effect: non-scaling-stroke; stroke-dasharray: 4200; stroke-dashoffset: 4200; }
.rfx-band.b1 { stroke-width: 170; opacity: .6; }
.rfx-band.b2 { stroke-width: 54; opacity: .7; }
.rfx-band.b3 { stroke-width: 110; opacity: .35; }
.rfx-vf { position: absolute; z-index: 0; right: -1%; top: 4%; font-family: var(--f-en); font-style: italic; font-weight: 700; font-size: clamp(300px, 38vw, 620px); line-height: .8; letter-spacing: -.05em; color: transparent; pointer-events: none; user-select: none; opacity: 0; transform: translateX(80px); transition: opacity 1.6s ease .3s, transform 2.2s cubic-bezier(.2,.8,.2,1) .3s; }
.rfx-vf .v { -webkit-text-stroke: 2px rgba(255,255,255,.2); }
.rfx-vf .f { -webkit-text-stroke: 2px rgba(240,110,70,.5); }
.reason-fx.in-view .rfx-vf { opacity: 1; transform: none; }
html:not(.js) .rfx-vf { opacity: 1; transform: none; }
@media (max-width: 860px) { .rfx-vf { font-size: 260px; top: 1%; } .rfx-band.b1 { stroke-width: 120; } .rfx-band.b3 { stroke-width: 80; } }

.access-list .access { margin: 0; width: 100%; }

/* ---------- トップ：Business Support（円グラフ）の背景に、明るい水色のグラデーション ---------- */
#service .svc-box { background:
    radial-gradient(ellipse 46% 50% at 50% 56%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 75%),
    radial-gradient(circle, rgba(0,66,140,.08) 1px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(160deg, #eaf4ff 0%, #d7eafc 55%, #c6e0f8 100%);
  box-shadow: 0 0 0 1px #cfe2f6, 0 30px 60px rgba(0, 46, 99, .1); }
#service .sol-groups { border-top-color: rgba(0, 66, 140, .15); }
#service .sol-groups div + div { border-left-color: rgba(0, 66, 140, .15); }

/* 採用情報：募集職種の枠は3つとも同じ青枠に統一 */
.job, .job:nth-child(odd) { border-color: var(--navy); }

/* トップ：実績の注記は、スライド右下の白い部分に小さく */
.kv-note { position: absolute; right: clamp(16px, 4.5vw, 64px); bottom: 6px; z-index: 2; margin: 0; font-size: 10px; line-height: 1.4; letter-spacing: .02em; color: #8a97a6; pointer-events: none; }

/* =========================================================
   スマホ表示の整理（画面幅600px以下だけに効く。PCの見た目は変わらない）
   ========================================================= */
@media (max-width: 600px) {
  /* トップのイラスト：3枚のパネルを小さくまとめる */
  .kv-art { height: 330px; max-width: 360px; }
  .g-ring { width: 86px; top: 0; right: 0; }
  .ring-tx b { font-size: 20px; }
  .ring-tx span { font-size: 7px; }
  .g-main { left: 0; top: 18px; width: 72%; height: 150px; padding: 10px 12px; }
  .g-head .g-label { font-size: 13px; }
  .g-head .g-sub { font-size: 8.5px; }
  .g-foot { font-size: 10px; gap: 6px; }
  .g-foot b { font-size: 13px; }
  .g-pc { width: 60%; right: 0; bottom: 0; }
  .pc-cap { font-size: 10px; }
  .kv-inner { padding-block: 36px 110px; gap: 28px; }

  /* お悩み：アイコンを左、文章を右にした横長カード */
  .issue-grid { gap: 12px; }
  .issue { grid-template-columns: 56px 1fr; grid-template-areas: "ic ttl" "ic txt"; justify-items: start; align-items: center; text-align: left; gap: 2px 16px; padding: 16px 18px; }
  .issue svg { grid-area: ic; width: 56px; height: 56px; }
  .issue h3 { grid-area: ttl; font-size: 17px; }
  .issue p { grid-area: txt; font-size: 13.5px; line-height: 1.7; }
  .issue-answer { font-size: 17px; }

  /* Business Support：円グラフを小さく、7項目のカードを詰める */
  .sol-ring { max-width: 250px; }
  .sol-map { gap: 8px; margin-top: 24px; }
  .sol, .sol-left, .sol-right, .sol-top { padding: 10px 14px; gap: 10px; }
  .sol-tx { gap: 1px; }
  .sol-tx em { font-size: 10px; }
  .sol-tx b { font-size: 16px; }
  .sol-tx small { font-size: 12px; line-height: 1.6; }
  .svc-box { padding: 20px 14px; }
  .sol-groups div { padding: 12px 10px 4px; }

  /* 選ばれる理由：番号を小さく */
  .reason-list { gap: 36px; }
  .reason-num { font-size: 40px; }
  .reason-body { gap: 10px; }

  /* 相談の誘導欄 */
  .cta2 { padding-block: 56px; }
  .cta2 h2 { font-size: 22px; margin: 12px 0 10px; }
  .cta2 p { font-size: 14px; }
  .cta2-notes { margin-top: 16px; gap: 6px 18px; font-size: 13px; }
  .cta2-btn { padding: 14px 16px; gap: 12px; }
  .cta2-btn svg { width: 26px; height: 26px; }
  .cta2-btn b { font-size: 15px; }

  /* フッター */
  footer { padding-block: 36px 24px; }
  footer .wrap { gap: 20px; }
  .foot-sitemap { gap: 14px 18px; }
  .foot-sitemap div:nth-child(2) { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .foot-sitemap div:nth-child(2) a.h { grid-column: 1 / -1; }
  .foot-sitemap a { font-size: 12.5px; }

  /* 会社概要の表：行の余白を詰める */
  .company-table th { padding: 12px 4px 2px; font-size: 13px; }
  .company-table td { padding: 2px 4px 0; font-size: 14.5px; line-height: 1.75; }
  .company-table tr { padding-bottom: 12px; }

  /* 採用：募集職種の表を詰める */
  .job-head { padding: 16px; }
  .job th, .job td { padding: 10px 16px 2px; font-size: 14px; }
  .job td { padding: 0 16px 12px; line-height: 1.75; }
  .job th { width: auto; background: none; color: var(--blue); font-size: 12.5px; }

  /* サービス個別ページ：カードの余白 */
  .sv-card { padding: 22px 18px; }
  .sv-issues li { padding: 16px 16px 16px 52px; font-size: 14.5px; }
}
@media (max-width: 600px) { .kv-art { height: 350px; } .g-pc { width: min(56%, 210px); } }

/* フッターのロゴ：白い台をやめ、紺の背景にそのまま載せる（Fは朱色・Lは白）。PC・スマホ共通 */
.foot-mark { background: none; box-shadow: none; border-radius: 0; width: 56px; height: 58px; }
.foot-mark img { width: 52px; height: auto; }

@media (max-width: 600px) {
  /* 1. トップのイラストをさらにコンパクトに */
  .kv-art { height: 300px; max-width: 340px; }
  .g-ring { width: 78px; }
  .g-main { top: 14px; width: 70%; height: 132px; padding: 9px 11px; }
  .g-head .g-label { font-size: 12px; }
  .g-foot b { font-size: 12px; }
  .g-foot { font-size: 9.5px; }
  .g-pc { width: min(52%, 180px); }
  .pc-cap { font-size: 9.5px; }

  /* 2. 支援先企業のロゴを小さくして、一度に多く見えるように */
  .client { flex: 0 0 120px; width: 120px; height: 54px; min-width: 0; margin-right: 10px; padding: 8px 12px; border-radius: 10px; }
  .client img { max-height: 32px; max-width: 100%; }
  .marquee + .marquee { margin-top: 10px; }
  .clients-head { margin-bottom: 18px; }

  /* 3. Business Supportの円グラフを大きく（図の余白を切り詰めて拡大） */
  .sol-map { overflow: hidden; }
  .sol-ring { width: 180%; max-width: none; margin: -13.5% 0 -10.5% -40%; }
}
@media (max-width: 600px) { .kv-art { height: 318px; } .g-main { top: 10px; height: 126px; } .client { flex-basis: 104px; width: 104px; height: 50px; padding: 7px 10px; } .client img { max-height: 30px; } }

/* 改行の出し分け：br.sp はスマホだけ、br.pc はPCだけで改行 */
br.sp { display: none; }
@media (max-width: 600px) { br.sp { display: inline; } br.pc { display: none; } }

/* フッターのロゴ：紺の上でも埋もれないよう、うっすら明るいガラス調の台に載せる（朱色も明るく） */
.foot-mark { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 8px 20px rgba(0,20,50,.25); }
.foot-mark img { width: 44px; height: auto; filter: drop-shadow(0 1px 2px rgba(0,20,50,.35)); }

/* スマホ：トップのイラストをさらに圧縮（KPIの円とPC画面を小さく上へ。下の英文を近づける） */
@media (max-width: 600px) {
  .kv-inner { padding-bottom: 84px; gap: 22px; }
  .kv-art { height: 250px; }
  .g-main { top: 0; height: 118px; width: 68%; }
  .g-ring { width: 68px; top: 0; }
  .ring-tx b { font-size: 16px; }
  .ring-tx span { font-size: 6px; }
  .g-pc { width: min(44%, 152px); right: 0; bottom: 0; }
  .pc-cap { font-size: 8.5px; }
}
@media (max-width: 600px) { .kv-art { height: 264px; } }
@media (max-width: 600px) { .g-main { height: 110px; } }
@media (max-width: 600px) { .pc-cap { white-space: nowrap; font-size: 8px; gap: 4px; } .pc-cap b { font-size: 11px; } }

/* 改行位置の調整（語の途中で折り返さない） */
.nw { display: inline-block; }

/* ===== フッター：薄い青の背景にして、ロゴを正式な色（上：朱色／下：黒）で見せる（PC・スマホ共通） ===== */
footer { position: relative; background: linear-gradient(180deg, #f3f8fe 0%, #e4effb 100%); color: var(--ink); }
footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--navy) 0%, var(--sky) 60%, #d33c1b 100%); }
.foot-mark { background: var(--white); border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 66, 140, .12), inset 0 0 0 1px rgba(0, 66, 140, .08); }
.foot-mark img { filter: none; }
.foot-logo { color: var(--navy); }
.foot-copy { color: var(--blue); }
.foot-addr { color: var(--ink-soft); }
.foot-addr span { border-color: rgba(0, 66, 140, .35); color: var(--navy); }
.foot-addr a { color: var(--blue); }
.foot-sitemap a { color: var(--ink-soft); }
.foot-sitemap a.h { color: var(--navy); border-bottom-color: rgba(0, 66, 140, .18); }
.foot-sitemap a:hover, .foot-nav a:hover, .foot-addr a:hover { color: var(--navy); }
.copy { border-top-color: rgba(0, 66, 140, .14); color: #7a8796; }

/* ===== スマホのみ：冒頭のPCイラストを非表示にして、上の余白を詰める ===== */
@media (max-width: 600px) {
  .g-pc { display: none; }
  .kv-art { height: 124px; }
}

/* ===== 採用メッセージの英語キャッチ ===== */
.rc-en { font-family: var(--f-en); font-style: italic; font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: .01em; margin: 0 0 10px; background: linear-gradient(135deg, var(--navy), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== 会社概要：表内の備考（小さい文字） ===== */
.td-note { display: inline-block; font-size: 12px; line-height: 1.6; color: var(--ink-soft); margin-top: 2px; }

/* ===== サービス「こんな課題」：同じ行で高さがそろったとき、文字もチェックと同じく上下中央に ===== */
.sv-issues li { display: flex; align-items: center; }

/* トップ Our Story の長いコピー：1行ずつ折り返さずに収める */
.purpose-copy.pc-long { font-size: min(40px, 2.9vw); white-space: nowrap; }
@media (max-width: 860px) { .purpose-copy.pc-long { font-size: min(30px, calc((100vw - 48px) / 13.4)); } }

/* トロフィー：長い語（大手上場企業）は少し小さくして円の中に収める */
.trophy b.ja.t-long { font-size: clamp(10.5px, 1vw, 13.5px); letter-spacing: 0; white-space: nowrap; }
/* トップページ最下段：実績の注記（コピーライトの下） */
.copy-note { display: block; margin-top: 4px; font-size: 11px; color: #8a97a6; }

/* 選ばれる理由の見出し：とても小さいスマホ（〜360px）でも語の途中で折り返さない */
@media (max-width: 360px) { .reason-body h3 { font-size: 17px; letter-spacing: 0; } }

/* 代表メッセージの見出し：とても小さいスマホ（〜360px）でも「ます。」だけが残らないように */
@media (max-width: 360px) { .ceo-catch { font-size: 19px; letter-spacing: .02em; } }
