/* =========================================================
   Aiken 共通デザイン（全ページ共通）
   基準：welzo.co.jp の構成・寸法・動き（1440px幅で実測）
   2026-09-26 整理版（重複していた上書きを統合）

   目次
   1. 変数・基本
   2. ボタン・リンク
   3. ヘッダー／メニュー（メガメニュー）
   4. 下層ページ共通（見出し帯・パンくず）
   5. 現場の知見（コラム一覧・記事）
   6. Contact Us（フッター上部）
   7. フッター
   8. 動き（スクロール表示）
   9. スマホ・タブレット
   ========================================================= */

/* ---------------------------------------------------------
   1. 変数・基本
   --------------------------------------------------------- */
:root {
  /* ロゴ色 */
  --brand-sky: #00aae8;
  --brand-orange: #f39700;
  /* 基本色 */
  --primary: #0071b8;        /* ボタン等（白文字で読める濃さ） */
  --pill: var(--primary);    /* View More ボタンの色 */
  --navy: #0a2a4a;
  --navy-2: #0d4577;
  --ink: #16263d;
  --text: #3d5670;
  --muted: #6b7f95;
  --line: #d6e2ee;
  --pale: #f2f8fc;
  --white: #fff;
  --accent: #b86300;         /* 小さい文字用のオレンジ */
  --accent-soft: #fff3e0;
  /* 書体 */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Poppins", "Helvetica Neue", Arial, sans-serif;
  /* 寸法 */
  --wrap: 1120px;
  --edge: max(16px, 3.125vw);               /* 大きなパネルの左右余白（1440pxで45px） */
  --hd-h: clamp(72px, 7.85vw, 113px);       /* ヘッダーの高さ（1440pxで113px） */
  --radius: 10px;
  /* 動き */
  --ease-out: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; letter-spacing: .05em; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { color: var(--ink); line-height: 1.45; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }
.sp { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------
   2. ボタン・リンク
   --------------------------------------------------------- */
.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 26px; border-radius: 999px; font-size: 15px; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--white { background: #fff; color: var(--navy); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; }
.link-arrow::after { content: "→"; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .2s, color .2s, transform .3s var(--ease-out); }
.link-arrow:hover::after { background: var(--navy); color: #fff; transform: translateX(4px); }

/* View More ボタン（丸い塗りボタン＋矢印の円／マウスで色が広がる） */
.pill { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 18px; height: 64px; padding: 0 14px 0 34px; border-radius: 999px; background: var(--pill); color: #fff; text-decoration: none; font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.pill::before { content: ""; position: absolute; z-index: -1; right: 14px; top: 50%; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); transform: translateY(-50%) scale(0); transition: transform .5s var(--ease-out); }
.pill:hover::before { transform: translateY(-50%) scale(9); }
.pill__icon { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.pill__icon::before { content: ""; width: 12px; height: 1.5px; background: var(--pill); box-shadow: none; position: relative; }
.pill__icon::after { content: ""; position: absolute; width: 6px; height: 6px; border-top: 1.5px solid var(--pill); border-right: 1.5px solid var(--pill); transform: translateX(3px) rotate(45deg); }
.pill:hover .pill__icon { transform: translateX(3px); }
.pill--white { background: #fff; color: var(--navy); }
.pill--white .pill__icon { background: var(--navy); }
.pill--white .pill__icon::before { background: #fff; }
.pill--white .pill__icon::after { border-color: #fff; }
.pill--white::before { background: var(--brand-orange); }
.pc-only { display: inline; }
@media (max-width: 600px) { .pc-only { display: none; } }

/* ---------------------------------------------------------
   3. ヘッダー／メニュー
   高さ113px・ロゴ64px・メニュー16px太字・右端にお問い合わせ（1440px）
   --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 42, 74, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; max-width: none; height: var(--hd-h); padding: 0 0 0 clamp(16px, 2.85vw, 41px); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo img { height: clamp(40px, 4.45vw, 64px); width: auto; }
.nav-toggle { display: none; }

.gnav a { text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--primary); }
.gnav ul { list-style: none; margin: 0; padding: 0; }
.gnav > ul { display: flex; align-items: center; height: var(--hd-h); gap: clamp(4px, .78vw, 11px); }
.gnav > ul > li { height: 100%; display: flex; align-items: center; }
.gnav > ul > li > a:not(.hd-cta) { position: relative; font-size: 16px; letter-spacing: .04em; padding: 7px clamp(8px, .9vw, 13px); }
/* ホバー：文字の上にロゴの弧をモチーフにした小さな印 */
.gnav > ul > li > a:not(.hd-cta)::before { content: ""; position: absolute; left: 50%; top: -6px; width: 36px; height: 10px; border-top: 2.5px solid var(--brand-orange); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateX(-50%) scaleX(0); transition: transform .35s var(--ease-out); }
.gnav > ul > li:hover > a:not(.hd-cta)::before { transform: translateX(-50%) scaleX(1); }

/* お問い合わせ（ヘッダー右端・高さいっぱい） */
.hd-cta-item { margin-left: clamp(16px, 2.8vw, 40px); }
.hd-cta { height: var(--hd-h); width: clamp(110px, 10.4vw, 150px); padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(6px, .9vw, 13px); background: var(--primary); color: #fff !important; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: background .25s; }
.hd-cta:hover { background: var(--navy); }
.hd-cta svg { width: clamp(22px, 1.95vw, 28px); height: auto; }
/* ヘッダーの「資料請求」（お問い合わせの左。build-publish.ps1 が全ページに入れる） */
.hd-cta-item--doc + .hd-cta-item { margin-left: 0; }
.hd-cta--doc { background: #e8f3fb; color: var(--primary) !important; }
.hd-cta--doc:hover { background: #d3e7f6; }

/* メガメニュー：ヘッダーの10px下・左右45px・四隅角丸45px・写真タイル172×135 */
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 0 var(--edge); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .45s var(--ease-out), visibility .3s; z-index: 60; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(150px, 228px) 1fr; column-gap: clamp(20px, 2.5vw, 40px); background: var(--navy); color: #cfdcec; border-radius: clamp(20px, 3.125vw, 45px); padding: clamp(28px, 3.125vw, 45px); box-shadow: 0 24px 48px rgba(10, 42, 74, .22); }
.mega__head { min-width: 0; padding: 0 0 0 clamp(0px, 3.5vw, 68px); }
.mega__en { display: none; }
.mega__title { display: inline-block; font-size: clamp(24px, 2.22vw, 32px); font-weight: 700; letter-spacing: .1em; color: #fff !important; text-decoration: none; margin: 0 0 12px; }
.mega__lead { font-size: clamp(13.5px, 1.04vw, 15px); line-height: 1.9; margin: 0; }
.mega__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 172px)); gap: 28px clamp(20px, 2.15vw, 31px); }
.mega__tiles a { display: flex; flex-direction: column; gap: 4px; color: #fff !important; white-space: normal; }
.mega__img { display: block; aspect-ratio: 172 / 135; border-radius: 10px; overflow: hidden; margin-bottom: 12px; background: #16395e; }
.mega__img img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .6s var(--ease-out), opacity .3s; }
.mega__tiles a:hover img { transform: scale(1.07); opacity: 1; }
/* メニューのアイコン（2026-09-27 写真から変更。線画のSVG、白＋水色、Accessは赤茶・緑、タブレット・障害Callは橙） */
.mega__icon { display: grid; place-items: center; aspect-ratio: 172 / 135; border-radius: 10px; margin-bottom: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, border-color .3s; }
.mega__icon svg { width: 44%; height: auto; overflow: visible; }
.mega__icon svg * { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mega__icon svg .sky { stroke: #7fd3f5; }
.mega__icon svg .red { stroke: #e0797b; }
.mega__icon svg .green { stroke: #6cc792; }
.mega__icon svg .orange { stroke: #f7b24a; }
.mega__tiles a:hover .mega__icon { background: rgba(255, 255, 255, .12); border-color: rgba(127, 211, 245, .6); }
.mega__tiles b { display: flex; justify-content: space-between; align-items: center; font-size: clamp(14.5px, 1.18vw, 17px); font-weight: 700; letter-spacing: .02em; }
.mega__tiles b::after { content: "→"; color: var(--brand-orange); transition: transform .3s var(--ease-out); }
.mega__tiles a:hover b::after { transform: translateX(4px); }
.mega__tiles small { font-size: clamp(12.5px, .97vw, 14px); font-weight: 400; color: #9fb3cb; }
.mega__links { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.mega__links a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }

/* ---------------------------------------------------------
   4. 下層ページ共通
   --------------------------------------------------------- */
.t-sec { padding: clamp(96px, 11vw, 160px) 0; }
.t-en { font-family: var(--en); font-weight: 200; font-size: clamp(72px, 20vw, 290px); line-height: .85; letter-spacing: -.07em; white-space: nowrap; color: rgba(10, 42, 74, .07); margin: 0 0 -.32em -.04em; }
.page-head { position: relative; overflow: hidden; padding: 64px 0 56px; background: var(--pale); }
.page-head .t-en { position: absolute; right: 20px; bottom: -.15em; margin: 0; }
.page-head h1 { position: relative; font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); letter-spacing: .1em; color: var(--navy); margin: 0 0 12px; }
.page-head p { position: relative; max-width: 680px; margin: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* ---------------------------------------------------------
   5. 現場の知見（コラム一覧・記事）
   --------------------------------------------------------- */
.col-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 40px; }
.col-cats a { display: inline-block; padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); text-decoration: none; transition: all .2s; }
.col-cats a:hover, .col-cats a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.col-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: #e8f2fa; padding: 2px 10px; border-radius: 4px; }
.col-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; padding: 0; margin: 0; }
.col-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.col-card__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: #dfe8f1; }
.col-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.col-card:hover .col-card__img img { transform: scale(1.05); }
.col-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.col-card__meta time { font-size: 13px; color: var(--muted); }
.col-card h3 { font-size: 17px; line-height: 1.6; color: var(--navy); margin: 0 0 6px; transition: color .2s; }
.col-card:hover h3 { color: var(--primary); }
.col-card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }

.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.article__title { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.55; letter-spacing: .06em; color: var(--navy); margin: 0 0 28px; }
.article__eyecatch { border-radius: 16px; overflow: hidden; margin-bottom: 40px; }
.article__eyecatch img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__lead { font-size: 17px; line-height: 2; letter-spacing: .06em; color: var(--ink); }
.toc { background: var(--pale); border-radius: 12px; padding: 24px 28px; margin: 36px 0 48px; }
.toc b { display: block; color: var(--navy); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink); }
.article__body h2 { font-size: 24px; line-height: 1.5; color: var(--navy); margin: 56px 0 20px; padding-left: 16px; border-left: 4px solid var(--brand-orange); scroll-margin-top: calc(var(--hd-h) + 20px); }
.article__body h3 { font-size: 19px; color: var(--navy); margin: 36px 0 12px; }
.article__body p, .article__body li { line-height: 2; letter-spacing: .06em; }
.article__body ul, .article__body ol { padding-left: 1.4em; margin: 0 0 1em; }
.article__body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.7; }
.article__body th { background: var(--pale); color: var(--navy); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.point { background: #fff8ec; border: 1px solid #f6d9a8; border-radius: 12px; padding: 20px 24px; margin: 28px 0; }
.point b { display: block; color: #8a4b00; margin-bottom: 6px; }
.article-cta { background: var(--navy); color: #cfdcec; border-radius: 16px; padding: 40px; margin: 64px 0 0; }
.article-cta b { display: block; font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 10px; }
.article-cta .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.article-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.article__author { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: 14px; }
.article__author img { width: 72px; height: auto; }

/* ---------------------------------------------------------
   6. Contact Us（全ページ共通・フッター上部）
   マウスを乗せると中心から円が広がり、白い下線付きの文章が浮かぶ
   --------------------------------------------------------- */
.contact-us { position: relative; background: #fff; color: var(--text); text-align: center; padding: clamp(56px, 6vw, 88px) 0; }
.contact-us .wrap { max-width: none; padding: 0 var(--edge); }   /* 画面幅いっぱい（左右45px） */
.contact-us__link { position: relative; z-index: 1; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; padding: clamp(48px, 5.8vw, 96px) 24px; border-radius: clamp(20px, 3.125vw, 45px); background: transparent; text-decoration: none !important; }
.contact-us__circle { position: absolute; z-index: -1; top: 50%; left: 50%; width: 110vw; height: 110vw; max-width: 2000px; max-height: 2000px; border-radius: 50%; background: var(--primary); transform: translate(-50%, -50%) scale(0); transition: transform .7s cubic-bezier(.33, 1, .68, 1); pointer-events: none; }
.contact-us__en { display: inline-flex; align-items: center; gap: .3em; font-family: var(--en); font-weight: 600; font-size: clamp(44px, 4.45vw, 64px); line-height: 1; letter-spacing: -.03em; color: var(--primary); transition: opacity .35s, color .3s; }
.contact-us__link:hover .contact-us__en { color: var(--navy); }
.contact-us__txt { font-size: 15px; letter-spacing: .08em; color: var(--text); transition: opacity .3s; }
@media (hover: hover) and (min-width: 768px) {
  .contact-us__txt { position: absolute; top: 50%; left: 50%; width: max-content; max-width: 90%; font-size: clamp(18px, 1.9vw, 26px); font-weight: 700; letter-spacing: .14em; line-height: 1.5; color: #fff; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; opacity: 0; transform: translate(-50%, -40%); transition: opacity .4s, transform .6s var(--ease-out); }
  .contact-us__txt .sp { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .contact-us__link:hover .contact-us__circle { transform: translate(-50%, -50%) scale(1); }
  .contact-us__link:hover .contact-us__en { opacity: 0; }
  .contact-us__link:hover .contact-us__txt { opacity: 1; transform: translate(-50%, -50%); transition-delay: .15s; }
}
.contact-us__tel { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.contact-us__tel a { display: inline-block; white-space: nowrap; font-family: var(--en); font-weight: 600; font-size: 26px; letter-spacing: .02em; color: var(--navy) !important; text-decoration: none; margin: 0 6px; }
.contact-us__tel small { font-size: 12px; }

/* ---------------------------------------------------------
   7. フッター
   ロゴ・所在地＋メニュー3列を4等分、最下部に紺の帯
   --------------------------------------------------------- */
.site-footer { position: relative; background: #fff; color: var(--ink); font-size: 14px; }
.site-footer a { color: inherit; }
.ft-totop { position: absolute; z-index: 2; right: clamp(24px, 8.1vw, 117px); top: clamp(16px, 2vw, 28px); width: clamp(56px, 5.76vw, 83px); aspect-ratio: 1; border-radius: 50%; background: var(--navy); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease-out); }
.ft-totop::before { content: ""; width: 12px; height: 12px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: translateY(3px) rotate(45deg); }
.ft-totop:hover { background: var(--primary); transform: translateY(-4px); }

.ft-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 var(--edge); border-top: 1px solid rgba(10, 42, 74, .1); }
.ft-about { grid-column: 1; padding: clamp(56px, 6.25vw, 90px) clamp(20px, 2.8vw, 40px) clamp(56px, 6.25vw, 90px) clamp(24px, 4.4vw, 64px); }
.ft-logo img { height: clamp(48px, 4.45vw, 64px); width: auto; }
.ft-location { margin-top: clamp(28px, 3.1vw, 45px); }
.ft-location h3 { font-size: 15px; font-weight: 700; line-height: 2; letter-spacing: .04em; color: var(--ink); margin: 0 0 4px; }
.ft-location p { font-size: 15px; line-height: 1.8; letter-spacing: .04em; margin: 0; }
.ft-location p a { font-size: 13.5px; color: var(--muted); margin-left: 8px; text-decoration: underline; }
.ft-about hr { border: 0; border-top: 1px solid rgba(10, 42, 74, .1); margin: 22px 0; }
.ft-contact { margin: 0; font-size: 15px; line-height: 1.8; letter-spacing: .04em; }
.ft-contact div { display: flex; gap: 8px; }
.ft-contact dd { margin: 0; }
.ft-contact a { text-decoration: none; }

.ft-nav { grid-column: 2 / 5; border-left: 1px solid rgba(10, 42, 74, .1); padding: clamp(56px, 6.25vw, 90px) 0 clamp(40px, 4vw, 56px); }
.ft-cats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 19px; padding: 0; margin: 0; }
.ft-cats > li { display: flex; flex-direction: column; padding: 0 clamp(20px, 2.8vw, 40px) 0 clamp(24px, 4.4vw, 64px); }
.ft-cats > li + li { border-left: 1px solid rgba(10, 42, 74, .06); }
/* 見出し：上に短い色線＋薄い灰色線（マウスで色線が伸びる） */
.ft-cat { position: relative; display: block; font-size: 18px; font-weight: 700; line-height: 2.9; letter-spacing: .04em; text-decoration: none; }
.ft-cat + .ft-cat, ul + .ft-cat { margin-top: 19px; }
.ft-cat::before, .ft-cat::after { content: ""; position: absolute; left: 0; top: 0; height: 0; }
.ft-cat::after { right: 0; border-top: 2px solid rgba(10, 42, 74, .1); }
.ft-cat::before { z-index: 1; width: 14%; border-top: 2px solid var(--primary); transition: width .6s var(--ease-out); }
.ft-cat:hover::before { width: 100%; }
.ft-cats ul { list-style: none; margin: 0; padding: 0; }
.ft-cats ul a { display: inline-block; font-family: var(--en), var(--font); font-size: 15px; line-height: 2.3; letter-spacing: .04em; color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 85% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.ft-cats ul a:hover { background-size: 100% 1px; }

.ft-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: clamp(96px, 10.6vw, 153px); padding: 24px calc(var(--edge) + clamp(24px, 4.4vw, 64px)); background: var(--navy); color: #fff; }
.ft-terms { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.ft-terms li + li::before { content: "|"; margin: 0 10px; opacity: .4; }
.ft-terms a { font-size: 14.5px; letter-spacing: .04em; color: #fff; text-decoration: none; }
.ft-terms a:hover { text-decoration: underline; }
.ft-copy { margin: 0; font-family: var(--en); font-size: 14px; color: rgba(198, 198, 198, .8); }

/* ---------------------------------------------------------
   8. 動き（JSが有効なときだけ最初に隠す）
   --------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* 順番に表示 */
.js [data-reveal="stagger"] { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform 1.1s var(--ease-out); }
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"].is-in > :nth-child(2) { transition-delay: .12s; }
.js [data-reveal="stagger"].is-in > :nth-child(3) { transition-delay: .24s; }
.js [data-reveal="stagger"].is-in > :nth-child(4) { transition-delay: .36s; }
.js [data-reveal="stagger"].is-in > :nth-child(5) { transition-delay: .48s; }
.js [data-reveal="stagger"].is-in > :nth-child(6) { transition-delay: .6s; }
/* 写真がゆっくり引く */
.js [data-reveal="zoom"] { opacity: 1; transform: none; }
.js [data-reveal="zoom"] > img { transform: scale(1.15); transition: transform 2.8s cubic-bezier(.22, .61, .36, 1); }
.js [data-reveal="zoom"].is-in > img { transform: scale(1); }
/* フッター見出しの色線が伸びる */
.js .ft-nav[data-reveal] { opacity: 1; transform: none; }
.js .ft-nav[data-reveal] .ft-cat::before { width: 0; }
.js .ft-nav[data-reveal].is-in .ft-cat::before { width: 14%; transition-duration: 1.1s; }
.js .ft-nav[data-reveal].is-in .ft-cat:hover::before { width: 100%; transition-duration: .6s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal] > *, .js [data-reveal] > img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js .ft-nav[data-reveal] .ft-cat::before { width: 14% !important; transition: none !important; }
}

/* ---------------------------------------------------------
   9. スマホ・タブレット
   --------------------------------------------------------- */
@media (min-width: 901px) and (max-width: 1099px) {
  .gnav > ul > li > a:not(.hd-cta) { font-size: 15px; padding-left: 7px; padding-right: 7px; }
  .hd-cta { font-size: 13px; }
  .hd-cta, .hd-cta--doc { width: 104px; }
  .hd-cta-item { margin-left: 10px; }
}
@media (max-width: 900px) {
  :root { --hd-h: 68px; }
  .site-header .wrap { padding: 0 16px; }
  .nav-toggle { display: block; flex-shrink: 0; white-space: nowrap; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font: inherit; font-size: 14px; color: var(--ink); }
  .gnav { display: none; position: absolute; top: var(--hd-h); left: 0; right: 0; max-height: calc(100vh - 68px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); }
  .gnav.open { display: block; }
  .gnav > ul { flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 8px 20px 20px; }
  .gnav > ul > li { display: block; height: auto; }
  .gnav > ul > li > a:not(.hd-cta) { display: block; font-size: 16px; padding: 12px 4px; border-bottom: 1px solid #eef3f8; }
  .gnav > ul > li > a:not(.hd-cta)::before { display: none; }
  /* メガメニューは文字リンクの一覧に */
  .mega { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 8px 14px; }
  .mega__inner { display: block; background: none; box-shadow: none; padding: 0; border-radius: 0; color: inherit; }
  .mega__head, .mega__img, .mega__icon, .mega__tiles small { display: none; }
  .mega__tiles { display: block; }
  .gnav .mega__tiles a, .gnav .mega__links a { display: block; padding: 7px 0; border: 0; color: var(--muted) !important; }
  .gnav .mega__tiles b, .gnav .mega__links a b { font-size: 15px; font-weight: 400; }
  .mega__tiles b::after { display: none; }
  .mega__links { display: block; }
  .hd-cta-item { margin: 12px 0 0; }
  .hd-cta { display: flex; flex-direction: row; width: auto; height: auto; padding: 14px; border-radius: 8px; font-size: 15px; }
  .hd-cta-item--doc + .hd-cta-item { margin-top: 8px; }

  .col-list { grid-template-columns: repeat(2, 1fr); }

  .ft-totop { top: -28px; right: 20px; }
  .ft-body { grid-template-columns: 1fr; margin: 0 16px; }
  .ft-about { grid-column: auto; padding: 40px 8px 24px; }
  .ft-nav { grid-column: auto; border-left: 0; border-top: 1px solid rgba(10, 42, 74, .1); padding: 32px 8px 40px; }
  .ft-cats { grid-template-columns: 1fr 1fr; gap: 19px clamp(24px, 3.44vw, 49.5px); }
  .ft-cats > li { padding: 0; }
  .ft-cats > li + li { border-left: 0; }
  .ft-cat { font-size: 17px; }
  .ft-sub { flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px clamp(20px, 12.15vw, 175px) 24px clamp(20px, 11.1vw, 160px); }
}
@media (max-width: 600px) {
  .sp { display: inline; }
  .col-list { grid-template-columns: 1fr; }
  .article-cta { padding: 28px 22px; }
  .contact-us__link { padding: 44px 16px; }
  .contact-us__tel { display: flex; flex-direction: column; align-items: center; gap: 2px; }
}
@media (max-width: 480px) {
  .ft-cats { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .pill { height: 56px; padding-left: 26px; }
}

/* 関連する事業・製品のカード（全ページ共通） */
.rel-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 32px 0 0; padding: 0; }
.lp-wrap .rel-cards { margin: 0 0 clamp(56px, 6vw, 88px); }
.rel-card { display: flex; flex-direction: column; height: 100%; border: 1px solid rgba(10, 42, 74, .12); border-radius: 20px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out); }
.rel-card:hover { border-color: var(--primary); box-shadow: 0 14px 32px rgba(10, 42, 74, .12); transform: translateY(-4px); }
.rel-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e3ecf5; }
.rel-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.rel-card:hover .rel-card__img img { transform: scale(1.06); }
.rel-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.rel-card__kind { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--pale); color: var(--primary); }
.rel-card__name { font-size: 18px; line-height: 1.5; color: var(--navy); }
.rel-card__catch { font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.rel-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--primary); }
.rel-card__more::after { content: "→"; transition: transform .3s var(--ease-out); }
.rel-card:hover .rel-card__more::after { transform: translateX(4px); }

/* =========================================================
   オレンジの使い方（2026-09-29）
   ① （見出しの弧は 2026-09-29 に取りやめ。見出しの線は元の青のまま）
   ② オレンジ＝「無料診断・資料請求」の行動の色（文字は紺。白文字は読みにくい）
   ③ 小さい番号などの茶色っぽいオレンジは、青にそろえる
   ========================================================= */
/* ② 行動の色：無料診断・資料請求のボタン */
.pill[href*="/diagnosis/"], .pill[href*="type=shindan"], .pill[href^="/request/"] { --pill: var(--brand-orange); background: var(--brand-orange); color: var(--navy); transition: color .3s; }
.pill[href*="/diagnosis/"]:hover, .pill[href*="type=shindan"]:hover, .pill[href^="/request/"]:hover { color: #fff; }
.pill--white[href*="/diagnosis/"] .pill__icon, .pill--white[href*="type=shindan"] .pill__icon, .pill--white[href^="/request/"] .pill__icon { background: #fff; }
.pill--white[href*="/diagnosis/"] .pill__icon::before, .pill--white[href*="type=shindan"] .pill__icon::before, .pill--white[href^="/request/"] .pill__icon::before { background: var(--brand-orange); }
.pill--white[href*="/diagnosis/"] .pill__icon::after, .pill--white[href*="type=shindan"] .pill__icon::after, .pill--white[href^="/request/"] .pill__icon::after { border-color: var(--brand-orange); }
.pill--white[href*="/diagnosis/"]::before, .pill--white[href*="type=shindan"]::before, .pill--white[href^="/request/"]::before { background: var(--navy-2); }
.hd-cta--doc { background: var(--brand-orange); color: var(--navy) !important; }
.hd-cta--doc:hover { background: #e08a00; }
.promo-box:not(.promo-box--next) { border-color: var(--brand-orange); background: #fffaf2; }
.promo-box:not(.promo-box--next) .promo-box__more { color: var(--navy); }

/* ③ 小さい番号・英字ラベルは青に（オレンジは①②に集める） */
:root .w-biz__no, :root .svc-card__no, :root .svc-card--link h3 small, :root .reason-list span, :root .price-table tbody th small, :root .case-card__head span, :root .env-card__en, :root .lp-issue__tag, :root .lp-card__no, :root .lp-details__no, :root .ab-panel__no, :root .feature-case__tag { color: var(--primary); }
:root .client-cols h3 { border-bottom-color: var(--primary); }
.mega__tiles b::after { color: var(--primary); }