/* ============================================================
   JENIS 下層ページ共通CSS(css/pages.css)。トップ以外の全ページ + トップのフッター/現在地で読み込む。
   前半(共通の枠・/faq・/jobs・/line・/diagnosis)実装 production KAITO / 2026-10-10。部品のクラスは pg- 始まり(既存 style.css と衝突しない)。
   先頭〜「ここまで designer 案」は designer LUNA の _proposal/pages-common.css をそのまま。その後ろが実装で足したもの。
   読み込み順: css/style.css → css/pages.css
============================================================ */
/* ============================================================
   JENIS 下層ページ共通部品(提案・見本用)  designer LUNA / 2026-10-10
   仕様書: pages-spec.md。実装時は css/style.css の末尾へ移す(クラス名は pg- で始まる=既存と衝突しない)。
   色・書体・影は「トップに既にある値」だけ。新色は2つだけ(入力エラーの赤 / 必須ラベル)。
   読み込み前提: css/style.css(ヘッダー・フッター・.btn・.btn-cta・.faq-*・.age-tab・.job-eyebrow・.tr-ph--empty が入っている)
============================================================ */
:root {
  --pg-navy: #03174D; --pg-blue: #2F7BFF; --pg-blue-d: #0B5AF5; --pg-link: #1D5FD6; --pg-sub: #4B5563;
  --pg-line: #DCE7F6; --pg-bg1: #F3F8FE; --pg-bg2: #EEF5FD; --pg-ink: #1B2A4A;
  --pg-g: #06C755; --pg-g-d: #07793A; --pg-gbg: #EAF8F0;
  --pg-err: #C0261D;             /* 新色(入力エラー専用。文字と枠のみ。面には塗らない) */
  --pg-face-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 22px 40px -32px rgba(40,100,220,.45), 0 0 0 1px #E6EEF9;
  --pg-card-shadow: 0 6px 24px rgba(27,42,74,.08);
}
.pg-wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.pg-narrow { width: min(880px, calc(100% - 28px)); margin: 0 auto; }
.pg-read { width: min(720px, 100%); margin: 0 auto; }
.pg-sec { padding: 64px 0 72px; }
.pg-sec--blue { background: linear-gradient(180deg, var(--pg-bg1), var(--pg-bg2)); }
.pg-sec--soft { background: var(--color-surface-soft, #F4F6F9); }
.pg-sec :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--pg-blue-d); outline-offset: 3px; border-radius: 12px; }
html { scroll-padding-top: 76px; }
@media (min-width: 960px) { html { scroll-padding-top: 90px; } }

/* ---------- ① ページ見出し帯 + パンくず ---------- */
.pg-head { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--pg-bg1), var(--pg-bg2)); border-bottom: 1px solid var(--pg-line); }
.pg-head::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.13), rgba(47,123,255,0) 68%); pointer-events: none; }
.pg-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 18px 0 0; margin: 0; list-style: none; font-size: 13px; line-height: 1.6; color: var(--pg-sub); }
.pg-crumb li + li::before { content: "›"; margin-right: 8px; color: #8FA0BE; }
.pg-crumb a { color: var(--pg-link); }
.pg-crumb [aria-current] { color: var(--pg-navy); font-weight: 700; }
.pg-head__in { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 22px 0 52px; }
.pg-eyebrow { margin: 0; display: flex; align-items: center; gap: 14px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--pg-blue-d); }
.pg-eyebrow::after { content: ""; width: 40px; height: 1.5px; background: var(--pg-blue-d); opacity: .6; }
.pg-h1 { margin: 10px 0 0; font-family: var(--font-display); font-size: 40px; line-height: 1.3; font-weight: 900; letter-spacing: .01em; color: var(--pg-navy); text-wrap: balance; }
.pg-accent { color: var(--pg-blue-d); white-space: nowrap; }
.pg-lead { margin: 14px 0 0; max-width: 580px; font-size: 16px; line-height: 1.85; color: var(--pg-sub); text-wrap: pretty; }
.pg-head__art { width: 340px; height: 190px; border-radius: 24px; overflow: hidden; box-shadow: var(--pg-face-shadow); }
.pg-head__art .tr-ph { width: 100%; height: 100%; }

/* ---------- ② 節の見出し(2種) ---------- */
.pg-sec-head { margin: 0 0 28px; }
.pg-h2 { margin: 10px 0 0; font-family: var(--font-display); font-size: 32px; line-height: 1.3; font-weight: 900; color: var(--pg-navy); text-wrap: balance; }
.pg-sec-lead { margin: 8px 0 0; font-size: 15px; line-height: 1.8; color: var(--pg-sub); }
/* 中央・斜線ラベル型は、トップの .job-eyebrow + .section-title をそのまま使う(橙の斜線はこの型だけ) */

/* ---------- ③ 面(白い角丸)・カード ---------- */
.pg-face { padding: 40px 44px 36px; border-radius: 28px; background: #fff; box-shadow: var(--pg-face-shadow); }
.pg-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--pg-card-shadow); color: inherit; }
a.pg-card { transition: transform .15s ease, box-shadow .15s ease; }
@media (hover: hover) { a.pg-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,42,74,.14); } }

/* ---------- ④ タブ(絞り込み)・チップ ---------- */
.pg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.pg-tab { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--color-accent-secondary-soft, rgba(62,127,191,.12)); color: var(--pg-navy); font: inherit; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; text-decoration: none; }
.pg-tab[aria-selected="true"], .pg-tab[aria-current="true"], .pg-tab[aria-pressed="true"] { background: var(--color-trust, #1B2A4A); color: #fff; }
.pg-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #E6F0FE; color: var(--pg-link); font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap; }
.pg-pill--tent { background: #fff; box-shadow: inset 0 0 0 1px #C9D6EA; color: var(--pg-sub); }

/* ---------- ⑤ CTA帯(ページ末尾) ---------- */
.pg-cta { background: linear-gradient(180deg, #F3F8FE, #E9F2FD); border-top: 1px solid var(--pg-line); padding: 56px 0 60px; }
.pg-cta__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pg-cta__lead { grid-column: 1 / -1; text-align: center; margin-bottom: 4px; }
.pg-cta__lead .pg-h2 { font-size: 30px; }
.pg-cta-card { position: relative; padding: 26px 28px 26px; border-radius: 26px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px #E3ECF8, 0 20px 34px -26px rgba(40,100,220,.45); }
.pg-cta-card--line { background: linear-gradient(135deg, #F1FBF5, var(--pg-gbg)); box-shadow: 0 0 0 1px #D4EFDF, 0 20px 34px -26px rgba(5,140,70,.5); }
.pg-cta-card h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--pg-navy); }
.pg-cta-card p { margin: 10px 0 0; font-size: 14px; line-height: 1.75; color: var(--pg-ink); }
.pg-badge-g { display: inline-flex; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--pg-g-d); color: #fff; font-size: 12px; font-weight: 800; }
.pg-btn-g, .pg-btn-b { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; margin-top: 16px; border-radius: 999px; font-size: 16px; font-weight: 800; text-decoration: none; }
.pg-btn-g { background: linear-gradient(90deg, #14C95F, var(--pg-g-d)); color: #fff; box-shadow: 0 14px 22px -14px rgba(5,140,70,.8); }
.pg-btn-b { border: 1.8px solid var(--pg-blue); background: #fff; color: var(--pg-blue-d); }
.pg-cta-card .pg-tel-num { margin: 8px 0 0; font-family: var(--font-display); font-size: 32px; line-height: 1.2; font-weight: 900; letter-spacing: .02em; color: var(--pg-navy); }
.pg-small { font-size: 13px; line-height: 1.7; color: var(--pg-sub); }

/* ---------- ⑥ フォーム部品 ---------- */
.pg-form { display: grid; gap: 22px; }
.pg-field { display: grid; gap: 8px; }
.pg-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--pg-navy); }
.pg-req, .pg-opt { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; line-height: 1; }
.pg-req { background: var(--pg-blue-d); color: #fff; }
.pg-opt { box-shadow: inset 0 0 0 1px #C9D6EA; color: var(--pg-sub); }
.pg-help { margin: 0; font-size: 13px; line-height: 1.6; color: var(--pg-sub); }
.pg-input, .pg-select, .pg-textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #AFC0DC; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; /* 16px未満だとiPhoneが入力時に拡大する */ color: var(--pg-navy); }
.pg-textarea { min-height: 168px; line-height: 1.7; resize: vertical; }
.pg-select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5AF5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.pg-input::placeholder, .pg-textarea::placeholder { color: #8A97AE; }
.pg-input:focus, .pg-select:focus, .pg-textarea:focus { outline: none; border-color: var(--pg-blue-d); box-shadow: 0 0 0 3px rgba(47,123,255,.25); }
.pg-field.is-error :is(.pg-input, .pg-select, .pg-textarea) { border-color: var(--pg-err); }
.pg-error { display: none; margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--pg-err); }
.pg-field.is-error .pg-error { display: block; }
.pg-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.7; color: var(--pg-ink); cursor: pointer; }
.pg-check a { color: var(--pg-link); text-decoration: underline; text-underline-offset: 3px; }
.pg-check input { appearance: none; -webkit-appearance: none; flex: 0 0 26px; width: 26px; height: 26px; margin: 0; border: 1.8px solid #8A97AE; border-radius: 8px; background: #fff; display: grid; place-content: center; }
.pg-check input:checked { border-color: var(--pg-blue-d); background: var(--pg-blue-d); }
.pg-check input:checked::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.6px 2.6px; transform: translateY(-1px) rotate(-45deg); }
.pg-check input:focus-visible { outline: 3px solid var(--pg-blue-d); outline-offset: 3px; }
.pg-submit { display: flex; justify-content: center; margin-top: 4px; }
.pg-submit .btn { border: 0; font-family: inherit; cursor: pointer; width: min(360px, 100%); height: 58px; font-size: 17px; }

/* ---------- ⑦ 記事本文(お知らせ・インタビュー・プライバシーポリシー共通) ---------- */
.pg-prose { overflow-wrap: anywhere; color: var(--pg-ink); font-size: 16px; line-height: 1.95; word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
.pg-prose > * + * { margin-top: 1.2em; }
.pg-prose h2 { margin-top: 2.4em; padding-bottom: 12px; font-family: var(--font-display); font-size: 24px; line-height: 1.45; font-weight: 900; color: var(--pg-navy); background: linear-gradient(90deg, var(--pg-blue-d) 0 48px, var(--pg-line) 48px) bottom / 100% 2px no-repeat; }
.pg-prose h3 { margin-top: 2em; font-family: var(--font-display); font-size: 19px; line-height: 1.5; font-weight: 800; color: var(--pg-navy); }
.pg-prose a { color: var(--pg-link); text-decoration: underline; text-underline-offset: 3px; }
.pg-prose ul { padding: 0; list-style: none; }
.pg-prose ul li { position: relative; padding-left: 20px; }
.pg-prose ul li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--pg-blue); }
.pg-prose ol { padding-left: 1.5em; }
.pg-prose figure { margin: 1.8em 0; }
.pg-prose figure .tr-ph, .pg-prose figure img { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; object-fit: cover; }
.pg-prose figcaption { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--pg-sub); }
.pg-quote { position: relative; margin: 1.8em 0; padding: 22px 24px 22px 56px; border-radius: 16px; background: var(--pg-bg2); font-family: var(--font-display); font-size: 18px; line-height: 1.8; font-weight: 700; color: var(--pg-navy); }
.pg-quote::before { content: "\201C"; position: absolute; left: 16px; top: 4px; font-family: Georgia, serif; font-size: 52px; line-height: 1; color: var(--pg-blue); }
.pg-note { display: flex; gap: 12px; padding: 16px 18px; border: 1px solid var(--pg-line); border-radius: 14px; background: var(--pg-bg2); font-size: 14.5px; line-height: 1.8; color: var(--pg-ink); }
.pg-note svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--color-accent-secondary, #3E7FBF); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ⑧ 一覧の部品 ---------- */
.pg-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.pg-cards > li { width: calc((100% - 48px) / 3); display: flex; }
.pg-cards .pg-card { width: 100%; }
.pg-person { aspect-ratio: 5 / 4; }
.pg-person .tr-ph { width: 100%; height: 100%; }
.pg-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 20px; }
.pg-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-card__name { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.4; font-weight: 900; color: var(--pg-navy); }
.pg-card__meta { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--pg-sub); }
.pg-card__quote { margin: 4px 0 0; font-size: 15px; line-height: 1.8; color: var(--pg-ink); }
.pg-card__more { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; color: var(--pg-link); }
.pg-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pg-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pg-line); }
.pg-row { display: grid; grid-template-columns: 112px auto 1fr 28px; align-items: center; gap: 14px; min-height: 72px; padding: 14px 6px; border-bottom: 1px solid var(--pg-line); color: inherit; }
.pg-row__date { font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--pg-blue-d); }
.pg-row__title { font-size: 16.5px; line-height: 1.6; font-weight: 700; color: var(--pg-navy); }
.pg-row__chev { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #EEF5FF; }
.pg-row__chev svg { width: 16px; height: 16px; fill: none; stroke: var(--pg-blue-d); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { a.pg-row:hover .pg-row__title { color: var(--pg-link); } a.pg-row:hover .pg-row__chev { background: #DCEAFF; } }
.pg-pager { display: flex; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.pg-pager a, .pg-pager span { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; font-size: 15px; font-weight: 800; color: var(--pg-navy); background: #EEF5FF; }
.pg-pager [aria-current] { background: var(--color-trust, #1B2A4A); color: #fff; }
.pg-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pg-fact { padding: 22px 22px 20px; border-radius: 14px; background: #fff; box-shadow: var(--pg-card-shadow); }
.pg-fact .icon-circle { margin-bottom: 12px; }
.pg-fact h3 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--pg-navy); }
.pg-fact p { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: var(--pg-sub); }
.pg-prof { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; padding: 18px 22px; border-radius: 16px; background: var(--pg-bg2); font-size: 15px; line-height: 1.7; }
.pg-prof dt { font-weight: 800; color: var(--pg-blue-d); }
.pg-prof dd { margin: 0; color: var(--pg-ink); }

/* ---------- ⑨ フッター(共通版) ---------- */
.pg-foot { background: var(--color-surface-soft, #F4F6F9); border-top: 1px solid var(--pg-line); color: var(--pg-sub); font-size: 13.5px; line-height: 1.8; }
.pg-foot__in { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 8px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.pg-foot__h { margin: 0 0 8px; font-weight: 800; color: var(--pg-navy); font-size: 14px; }
@media (max-width: 359px) { .pg-foot__h { font-size: 13px; letter-spacing: -.02em; } .pg-cta-card h3 { font-size: 18px; flex-wrap: wrap; row-gap: 2px; } }
.pg-foot ul { margin: 0; padding: 0; list-style: none; }
.pg-foot li a { display: inline-block; padding: 4px 0; color: var(--pg-ink); }
.pg-foot li a:hover { color: var(--pg-link); }
.pg-foot__sub { width: min(1120px, calc(100% - 48px)); margin: 24px auto 0; padding: 16px 0 26px; border-top: 1px solid var(--pg-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; }

/* ---------- SP ---------- */
@media (max-width: 959px) {
  .pg-head__art { display: none; }
  .pg-head__in { grid-template-columns: minmax(0, 1fr); }
  .pg-cards > li { width: calc((100% - 24px) / 2); }
  .pg-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pg-wrap { width: min(1120px, calc(100% - 40px)); }
  .pg-sec { padding: 44px 0 52px; }
  .pg-crumb { padding-top: 14px; font-size: 12.5px; }
  .pg-head__in { padding: 16px 0 34px; }
  .pg-h1 { font-size: 30px; }
  .pg-lead { font-size: 15px; margin-top: 12px; }
  .pg-h2 { font-size: 26px; }
  .pg-face { padding: 28px 18px 24px; border-radius: 22px; }
  .pg-cards { gap: 16px; }
  .pg-cards > li { width: 100%; }
  .pg-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 20px; padding: 0 20px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .pg-tabs::-webkit-scrollbar { display: none; }
  .pg-tab { scroll-snap-align: start; }
  .pg-tabs { scroll-padding-inline: 20px; }
  .pg-cta { padding: 40px 0 44px; }
  .pg-cta__in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pg-cta__lead .pg-h2 { font-size: 24px; }
  .pg-cta-card { padding: 22px 18px; border-radius: 22px; }
  .pg-cta-card .pg-tel-num { font-size: 28px; }
  .pg-row { grid-template-columns: auto 1fr 24px; gap: 4px 10px; padding: 14px 2px; }
  .pg-row__date { grid-column: 1; }
  .pg-row .pg-pill { grid-column: 2; justify-self: start; }
  .pg-row__title { grid-column: 1 / 3; grid-row: 2; font-size: 16px; }
  .pg-row__chev { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 24px; height: 24px; }
  .pg-prose { font-size: 16px; line-height: 1.9; }
  .pg-prose h2 { font-size: 21px; }
  .pg-quote { padding: 18px 16px 18px 46px; font-size: 16.5px; }
  .pg-quote::before { left: 12px; }
  .pg-foot__in { grid-template-columns: 1fr 1fr; padding-top: 36px; }
  .pg-foot__in > :first-child { grid-column: 1 / -1; }
  .pg-prof { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pg-prof dd { margin-bottom: 8px; }
}
@media (max-width: 480px) { .pg-facts { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { a.pg-card, .btn { transition: none; } }

/* ===== ここまで designer 案(pages-common.css)。ここから実装で足したもの ===== */

/* ---------- 実装追加①: ヘッダー/SPメニューの「現在地」(aria-current="page")。親項目=紺の太字+下に2pxの青線。SPは該当行の左に青い縦棒 ---------- */
.global-nav :is(a, .nav-parent)[aria-current="page"] { color: var(--pg-navy); font-weight: 900; background: linear-gradient(var(--pg-blue-d), var(--pg-blue-d)) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; }
.nav-dropdown a[aria-current="page"] { color: var(--pg-navy); font-weight: 900; box-shadow: inset 3px 0 0 var(--pg-blue-d); background: var(--pg-bg1); }
.menu-link[aria-current="page"] { background: var(--pg-bg1); font-weight: 900; } /* 見た目(青い丸・青文字)は末尾「導線見直し」ブロック */

/* ---------- 実装追加②: フッター(.pg-foot)の中身。タップ領域44px以上(行間で確保) ---------- */
.pg-foot__logo { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.pg-foot__logo img { display: block; height: 56px; width: auto; }
.pg-foot__logo b { color: var(--pg-navy); font-size: 17px; }
.pg-foot__addr { margin: 0; }
.pg-foot__addr a { color: var(--pg-ink); }
.pg-foot li a, .pg-foot li .is-off { display: inline-block; padding: 10px 0; }
.pg-foot__sub a { display: inline-block; padding: 10px 0; color: var(--pg-ink); }
.pg-foot .is-off { opacity: .35; cursor: default; pointer-events: none; }
.pg-foot a:focus-visible { outline: 3px solid var(--pg-blue-d); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 768px) { .pg-foot__logo img { height: 48px; } }

/* ---------- 実装追加③: 共通の小物 ---------- */
.pg-cta-card .pg-tel-num a { color: inherit; }
.pg-btn-g { background: linear-gradient(90deg, #09873C, #07793A); }   /* 白文字のコントラスト確保(トップの .tr-btn-g と同じ緑) */

/* ---------- 実装追加④: /jobs ---------- */
.pg-diag-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px; border-radius: 20px; background: #fff; box-shadow: var(--pg-face-shadow); }
.pg-diag-strip__t { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.5; font-weight: 900; color: var(--pg-navy); }
.pg-diag-strip__s { display: block; margin: 2px 0 0; font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--pg-sub); }
.pg-diag-strip .btn { flex: 0 0 auto; padding: 15px 28px; }
.pg-strip-wrap { padding: 28px 0 0; background: var(--color-surface-soft); }
.pg-jobs .job-band { padding-bottom: 56px; }
.pg-jobs .job-inner { padding-top: 40px; }
.pg-facts { margin-top: 28px; }
.pg-fact { display: flex; flex-direction: column; }
.pg-fact p { margin-bottom: 0; }
.pg-fact .pg-fact__more { margin: auto 0 0; padding-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--pg-sub); }
.pg-jobs .diorama-band .job-eyebrow { display: none; }   /* 橙の斜線ラベルは1ページ2回まで(帯のイントロ+CTA帯)。ジオラマ側は見出しだけ */
@media (max-width: 768px) {
  .pg-diag-strip { flex-direction: column; align-items: stretch; padding: 18px 18px 20px; gap: 14px; }
  .pg-diag-strip__t { font-size: 18px; }
  .pg-diag-strip .btn { width: 100%; }
  .pg-strip-wrap { padding-top: 20px; }
  .pg-jobs .job-inner { padding-top: 32px; }
}

/* ---------- 実装追加⑤: /faq ---------- */
.faq.pg-faq { padding-top: 40px; }
.pg-faq .pg-faq-cat { scroll-margin-top: 84px; }
.pg-faq .pg-faq-cat + .pg-faq-cat { margin-top: 28px; }
.pg-faq .faq-title { font-size: 28px; }
.pg-faq-tabs { width: min(880px, 100%); margin: 0 auto 24px; }
.pg-faq-tabs .pg-tabs { margin-bottom: 0; }
.pg-lost { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; width: min(880px, 100%); margin: 36px auto 0; padding: 28px 40px; border-radius: 28px; background: linear-gradient(135deg, #F1FBF5, var(--pg-gbg)); box-shadow: 0 0 0 1px #D4EFDF, 0 20px 34px -26px rgba(5,140,70,.5); }
.pg-lost__art img { display: block; width: 110px; height: auto; }
.pg-lost h2 { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.5; font-weight: 900; color: var(--pg-navy); }
.pg-lost p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--pg-ink); }
.pg-lost__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.pg-lost__btns .pg-btn-g, .pg-lost__btns .pg-btn-b { width: auto; min-width: 220px; margin-top: 0; padding: 0 24px; }
@media (max-width: 768px) {
  .faq.pg-faq { padding: 28px 14px 48px; }
  .pg-faq-tabs .pg-tabs { margin: 0 -14px; padding: 0 14px 4px; }
  .pg-faq .faq-title { font-size: 24px; }
  .pg-faq .faq-sec { padding: 28px 16px 24px; }
  .pg-lost { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 8px; padding: 24px 18px 26px; border-radius: 22px; margin-top: 28px; }
  .pg-lost__art img { width: 84px; }
  .pg-lost h2 { font-size: 19px; }
  .pg-lost__btns { flex-direction: column; width: 100%; }
  .pg-lost__btns .pg-btn-g, .pg-lost__btns .pg-btn-b { width: 100%; }
}

/* ---------- 実装追加⑥: /line(LINEの大きなカード=トップの .tr-line の拡大版) ---------- */
.pg-line { position: relative; display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 36px; padding: 40px 48px 40px 40px; border-radius: 30px; background: linear-gradient(135deg, #F1FBF5, var(--pg-gbg)); box-shadow: 0 0 0 1px #D4EFDF, 0 24px 40px -28px rgba(5,140,70,.5); }
.pg-line__art { position: relative; height: 280px; }
.pg-line__phone { position: absolute; left: 70px; top: 6px; width: 170px; height: 250px; overflow: hidden; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #C9E8D5, #E6F5EC); box-shadow: 0 0 0 5px #243349, 0 12px 20px -10px rgba(20,40,80,.5); transform: rotate(-6deg); transform-origin: bottom center; }
.pg-line__phone i { position: absolute; left: 50%; top: 5px; width: 44px; height: 8px; margin-left: -22px; border-radius: 6px; background: #243349; }
.pg-line__bub { position: absolute; padding: 8px 10px; border-radius: 12px; background: #fff; font-size: 12px; line-height: 1.5; font-weight: 700; color: var(--pg-navy); box-shadow: 0 4px 10px -6px rgba(20,60,40,.4); }
.pg-line__bub--1 { left: 12px; top: 40px; max-width: 120px; }
.pg-line__bub--2 { right: 10px; top: 112px; max-width: 128px; background: #BDEBCF; }
.pg-line__zero { position: absolute; left: 0; bottom: 0; width: 126px; height: auto; z-index: 2; filter: drop-shadow(0 8px 10px rgba(5,140,70,.25)); }
.pg-line__t { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.4; font-weight: 900; color: var(--pg-g-d); }
.pg-line__logo { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--pg-g-d); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pg-line__checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pg-line__checks li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--pg-ink); }
.pg-line__checks svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--pg-g-d); }
.pg-line__btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: min(360px, 100%); height: 58px; margin-top: 22px; border-radius: 999px; background: linear-gradient(90deg, #09873C, #07793A); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 14px 22px -14px rgba(5,140,70,.8); }
.pg-line__btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pg-line .pg-note { margin-top: 18px; background: rgba(255,255,255,.75); border-color: #D4EFDF; }
.pg-line .pg-note p { margin: 0; }
.pg-line .pg-note a { color: var(--pg-link); text-decoration: underline; text-underline-offset: 3px; }
.pg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.pg-steps li { position: relative; padding: 22px 22px 20px; border-radius: 14px; background: #fff; box-shadow: var(--pg-card-shadow); }
.pg-steps__n { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(180deg, #4A93FF, #0B5AF5); color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 15px; }
.pg-steps h3 { margin: 10px 0 0; font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--pg-navy); }
.pg-steps p { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: var(--pg-sub); }
.pg-steps-note { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--pg-sub); }
.pg-tel-one { width: min(520px, 100%); margin: 0 auto; }
.pg-tel-one .pg-cta-card { text-align: center; }
.pg-tel-one .pg-cta-card h3 { justify-content: center; }
.pg-minilink { margin: 28px 0 0; text-align: center; font-size: 15px; }
.pg-minilink a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pg-link); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 959px) {
  .pg-line { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 28px 20px 28px; }
  .pg-line__art { height: 220px; max-width: 300px; margin: 0 auto; width: 100%; }
  .pg-line__phone { left: 78px; width: 140px; height: 205px; }
  .pg-line__zero { width: 104px; }
  .pg-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .pg-line { border-radius: 22px; }
  .pg-line__t { font-size: 22px; }
  .pg-line__btn { width: 100%; }
}

/* ---------- 実装追加⑦: /diagnosis(ページ内表示。js/diagnosis-render.js が #dg-inline に描く) ---------- */
.dg.dg--inline { display: block; width: 100%; max-width: none; height: auto; max-height: none; margin: 0; border-radius: 28px; box-shadow: var(--pg-face-shadow); overflow: visible; animation: none; }
.dg--inline .dg__panel { min-height: 0; padding: 28px 48px 40px; }
.dg--inline .dg__bar { position: static; }
.dg--start .dg__bar, .dg--start .dg__seg, .dg--start .dg__dur { display: none; }
.dg--inline .dg__view { margin-top: 12px; }
.dg__q--start { font-size: 28px; line-height: 1.5; }
.dg__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.dg__chips li { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #E6F0FE; color: var(--pg-link); font-size: 14px; font-weight: 800; }
.dg__start { width: min(360px, 100%); border: 0; font-family: inherit; cursor: pointer; }
.pg-dg-note { margin: 18px 0 0; text-align: center; font-size: 14px; line-height: 1.8; color: var(--pg-sub); }
.pg-dg-note a { color: var(--pg-link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 731px) {
  .dg.dg--inline { height: auto; border-radius: 22px; }
  .dg--inline .dg__panel { padding: 16px 18px 28px; min-height: 0; }
  .dg__q--start { font-size: 22px; }
  .dg__start { width: 100%; }
}
.pg-dg-note a, .pg-lost a { white-space: nowrap; }

/* ============================================================
   第2弾(後半): /interview・/interview/<slug>・/news・/news/<slug>・/contact・/privacy  production KAITO / 2026-10-10
============================================================ */
/* 個別インタビュー: Q&A(青いQ丸+H2) */
.pg-iv .pg-prof { margin-bottom: 20px; }
.pg-iv .pg-face { padding-bottom: 44px; }
.pg-qa + .pg-qa { margin-top: 2.2em; }
.pg-prose .pg-qa h2 { display: flex; align-items: flex-start; gap: 12px; margin-top: 0; }
.pg-q { flex: 0 0 34px; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-top: -3px; border-radius: 50%; background: linear-gradient(180deg, #4A93FF, #0B5AF5); color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 15px; line-height: 1; }
.pg-qa > * + * { margin-top: 1em; }
.pg-qa h2 + p { margin-top: .9em; }
.pg-prose figure .tr-ph { position: relative; }
.pg-prose .pg-quote { margin-top: 1.2em; }
.pg-mv-here { scroll-margin-top: 76px; }
.pg-mv-here .mv-viewall, .pg-mv-here .mv-cta { display: none; }   /* 動画の節はこのページ自身なので「すべて見る」は出さない */
/* お知らせ */
.pg-tabs button.pg-tab { font-family: inherit; }
.pg-tabs > li { display: contents; }
.pg-rows > li[hidden] { display: none; }
.pg-empty { margin: 24px 0 8px; text-align: center; font-size: 15px; color: var(--pg-sub); }
.pg-art-meta { display: flex; align-items: center; gap: 12px; margin: 0; }
.pg-art-title { margin: 12px 0 28px; font-family: var(--font-display); font-size: 30px; line-height: 1.5; font-weight: 900; color: var(--pg-navy); }
@media (max-width: 768px) { .pg-art-title { font-size: 24px; margin-bottom: 20px; } }
/* お問い合わせ */
.pg-contact { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.pg-contact__side { display: grid; gap: 20px; }
.pg-contact__side .pg-cta-card { padding: 24px 24px 24px; }
.pg-co { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: 14px; line-height: 1.75; }
.pg-co dt { font-weight: 800; color: var(--pg-blue-d); white-space: nowrap; }
.pg-co dd { margin: 0; color: var(--pg-ink); overflow-wrap: anywhere; }
.pg-minilink-a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pg-link); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.pg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg-form-sum { margin: 0 0 22px; padding: 16px 18px; border: 1.5px solid var(--pg-err); border-radius: 14px; font-size: 14.5px; line-height: 1.7; color: var(--pg-err); }
.pg-form-sum[hidden] { display: none; }
.pg-form-sum p { margin: 0; }
.pg-form-sum ul { margin: 6px 0 0; padding-left: 1.3em; }
.pg-form-sum a { color: var(--pg-err); text-decoration: underline; }
.pg-done { text-align: center; padding: 24px 0 16px; }
.pg-done[hidden], #pg-form-wrap[hidden] { display: none; }
.pg-done:focus { outline: none; }
.pg-done__ic { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: #E6F0FE; }
.pg-done__ic svg { width: 32px; height: 32px; fill: none; stroke: var(--pg-blue-d); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-done__t { margin: 14px 0 0; font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--pg-navy); }
.pg-done p { margin: 12px auto 0; max-width: 460px; font-size: 15px; line-height: 1.85; color: var(--pg-ink); }
@media (max-width: 959px) { .pg-contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 768px) { .pg-face > .pg-tabs { margin: 0 -18px 16px; padding: 0 18px 4px; scroll-padding-inline: 18px; } }

/* 2026-10-10 QA修正: 記事見出し帯の補助表示(お知らせ記事のH1は記事タイトル) / トップ「すべての求人を見る」 */
.pg-head__label { margin: 10px 0 0; font-size: 14px; font-weight: 800; color: var(--pg-sub); }
.job-all { display: flex; justify-content: center; width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 56px; }

/* ============================================================
   v2(2026-10-10 designer仕様 pages-spec-v2.md 2-6 / 2-7): CTA帯v2・フッターの一言。全下層ページ共通(site-frame.js が描く)
   旧版: _archive/before-pages-v2-2026-10-10/
============================================================ */
.pg-cta { position: relative; padding: 0; margin-top: 0; background: linear-gradient(180deg, #F3F8FE, #E6F0FC); border-top: 0; }
.pg-cta__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pg-cta__orb { position: absolute; border-radius: 50%; pointer-events: none; }
.pg-cta__orb--1 { left: -120px; top: -90px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(47,123,255,.16), rgba(47,123,255,0) 70%); }
.pg-cta__orb--2 { right: -140px; bottom: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(6,199,85,.12), rgba(6,199,85,0) 70%); }
.pg-cta2 { position: relative; display: grid; grid-template-columns: 360px minmax(0, 1fr); align-items: end; gap: 0 20px; min-height: 340px; padding: 0; }
.pg-cta2__person { position: relative; z-index: 2; align-self: end; width: 500px; max-width: none; height: auto; margin: -84px 0 0 -96px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 78%, transparent 100%); }
.pg-cta2__main { padding: 52px 0 56px; }
.pg-cta__lead { text-align: left; margin: 0 0 20px; }
.pg-cta__lead .job-eyebrow { justify-content: flex-start; margin: 0; }
.pg-cta__lead .pg-h2 { margin-top: 6px; font-size: 30px; }
.pg-cta2__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 959px) { .pg-cta2 { grid-template-columns: 250px minmax(0, 1fr); } .pg-cta2__person { width: 380px; margin: -60px 0 0 -90px; } .pg-cta2__cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 768px) {
  .pg-cta2 { display: block; min-height: 0; padding: 0; }
  .pg-cta2__person { position: absolute; right: 0; top: -52px; width: 196px; margin: 0; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 80%, transparent 100%); }
  .pg-cta2__main { padding: 40px 0 44px; }
  .pg-cta__lead { margin-bottom: 18px; padding-right: 130px; min-height: 108px; }
  .pg-cta__lead .pg-h2 { font-size: 23px; }
  .pg-cta2__cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
.pg-foot__tag { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 0; display: flex; align-items: center; gap: 24px; }
.pg-foot__tag img { display: block; width: 190px; height: auto; flex: 0 0 auto; }
.pg-foot__tag::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--pg-line), rgba(220,231,246,0)); }
@media (max-width: 768px) { .pg-foot__tag { width: calc(100% - 40px); padding-top: 28px; } .pg-foot__tag img { width: 150px; } .pg-foot__in { padding-top: 24px; } }

/* ============================================================
   全ページ共通メニュー 導線見直し(designer LUNA _proposal/menu-ia-spec.md / 実装 production 2026-10-10)
   - 動かすのは opacity / transform のみ。無限アニメ・追加ライブラリなし。prefers-reduced-motion では即表示。
   - ヘッダー・メニュー・フッターの見た目はここ1か所(会社概要も css/site-chrome-base.css + この pages.css で同じ見た目)。
============================================================ */
/* --- PCヘッダー(960px〜) --- */
.global-nav { align-items: center; }   /* 単独リンク(診断)も親項目と同じ高さに */
.header-tel-num { display: none; }
.header-tel { text-decoration: none; }
.hl-ico { display: none; }
.hl-short { display: none; }
.btn-header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-header-cta[aria-current="page"] { background: var(--color-accent-dark); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }   /* /line/ ページ自身: 濃色 */
.nav-chip { display: none; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #EEF5FF; color: var(--pg-blue-d); font-size: 10.5px; font-weight: 800; letter-spacing: .02em; vertical-align: 1px; }
.nav-item.is-outline > .nav-parent { padding: 7px 14px; border: 1.5px solid var(--pg-navy); border-radius: 999px; background: #fff; color: var(--pg-navy); }   /* 従(企業向け)=輪郭だけのボタン風。主ボタンLINEは塗り */
.nav-item.is-outline > .nav-parent:hover { background: #EEF5FF; color: var(--pg-navy); }
.global-nav .nav-item.is-outline > .nav-parent[aria-current="page"] { background: #EEF5FF; padding-bottom: 7px; }
.nav-item.is-outline .nav-dropdown { left: auto; right: 0; transform: none; }
@media (min-width: 960px) {
  .nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { animation: navDdIn .18s ease both; }
  .nav-item.is-outline:hover .nav-dropdown, .nav-item.is-outline:focus-within .nav-dropdown { animation-name: navDdInR; }
}
@keyframes navDdIn { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes navDdInR { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1200px) {
  .header-tel { width: auto; padding: 0 14px 0 10px; border-radius: 999px; gap: 8px; }
  .header-tel-num { display: inline; font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--pg-navy); white-space: nowrap; }
}
@media (min-width: 960px) { .logo-tagline { display: none; } }    /* 960〜1279px: 項目が増えたためタグライン(仮文言)は出さない */
@media (min-width: 1280px) { .header-inner { max-width: 1280px; } .logo-tagline { display: block; white-space: nowrap; } }
@media (min-width: 1360px) { .nav-chip { display: inline-block; } }

/* --- SPヘッダー(〜959px): 末尾の「共通ヘッダー整理(D案)」ブロックに集約 --- */

/* --- SPメニュー(全画面): 求職者→会社→企業(従)。行52px・現在地=青い丸+青文字・診断は青チップ --- */
.menu-link { position: relative; min-height: 52px; }
.menu-link > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.menu-link.has-chip { background: #EEF5FF; }
.menu-chip { font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--pg-blue-d); padding: 3px 9px; border-radius: 999px; line-height: 1.3; }
.menu-link[aria-current="page"] { color: var(--pg-blue-d); box-shadow: none; }
.menu-link[aria-current="page"]::before { content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--pg-blue-d); }
.menu-group--sub { margin-top: 20px; }
.menu-group--sub .menu-en { font-size: 10.5px; }
.menu-group--sub .menu-h { font-size: 14px; font-weight: 700; color: var(--pg-sub); }
.menu-group--sub .menu-list { margin-top: 6px; border-radius: 14px; box-shadow: 0 0 0 1px #E6EEF9; }
.menu-group--sub .menu-link { min-height: 44px; font-size: 14.5px; font-weight: 600; }
.menu-cta { margin-top: 20px; padding-top: 18px; }
.menu-tel { flex-wrap: wrap; gap: 2px 10px; padding: 0 12px; }
.menu-tel small { font-size: 12px; font-weight: 600; color: var(--pg-sub); }
@keyframes menuRowIn { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.menu-panel.is-open .menu-list li { animation: menuRowIn .28s ease both; animation-delay: calc(var(--i, 0) * 30ms); }
@media (prefers-reduced-motion: reduce) {
  .menu-panel.is-open .menu-list li, .nav-item .nav-dropdown { animation: none !important; }
}

/* --- フッター3列(お仕事をお探しの方 / 会社情報 / 企業の方へ) --- */
.pg-foot__in { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 768px) { .pg-foot__in { grid-template-columns: 1fr 1fr; } }
/* 2026-10-11 末尾CTA(全ページ共通): SPで見出しと右上の人物写真の間に余白を取る(折り返しはsite-frame.jsの.nbで固定) */
@media (max-width: 768px) { .pg-cta__lead .pg-h2 { margin-top: 14px; } }

/* ===== 共通ヘッダー整理(D案 / 社長決定 2026-10-12 / 仕様 _proposal/header-fix-spec.md) =====
   pages.css 末尾と site-chrome-base.css 末尾に同じ内容を置く(会社概要は両方を読む。内容は同一なので二重適用しても結果は同じ)。
   部品の高さ44(PCは48)・角丸14・ネイビー#03174D・薄青#EEF4FF・オレンジ・線の太さを統一。動かすのは transform/opacity のみ。 */
:root { --hd-navy: #03174D; --hd-blue-soft: #EEF4FF; --hd-line: #D6E3F8; --hd-h: 44px; --hd-r: 14px; }
.site-header .header-tel, .site-header .nav-toggle, .site-header .btn-header-cta { box-sizing: border-box; height: var(--hd-h); }
.site-header .header-tel svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 959px) {
  .site-header .header-inner { padding: 11px 20px; gap: 8px; }
  .site-header .logo-img { height: 40px; }
  .site-header .header-right { gap: 4px; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-tel-num { display: none; }
  .site-header .ht-ico { width: 24px; height: 24px; }
  .site-header .header-tel { display: flex; align-items: center; justify-content: center; width: 44px; padding: 0; border-radius: var(--hd-r); background: var(--hd-blue-soft); color: var(--hd-navy); box-shadow: inset 0 0 0 1px var(--hd-line); }
  .site-header .btn-header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; width: auto; border-radius: var(--hd-r); color: #fff; background: linear-gradient(135deg, #F0794C 0%, #EA5B2F 100%); box-shadow: 0 6px 14px -8px rgba(234,91,47,.8); }
  .site-header .btn-header-cta .hl-long, .site-header .btn-header-cta .hl-ico { display: none; }
  .site-header .btn-header-cta .hl-short { display: inline; font-size: 15px; font-weight: 900; line-height: 1; letter-spacing: .01em; }
  /* 旧CSSの「.nav-toggle span=2px黒線」「開いたら1・3番目のspanを回す/2番目を消す」を、入れ物のspanに効かせない(線は中の<i>が描く) */
  .site-header .nav-toggle span { height: auto; width: auto; background: none; border-radius: 0; }
  html.menu-open .site-header .nav-toggle > span { transform: none; opacity: 1; }
  .site-header .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; padding: 0; margin: 0 -10px 0 0; border: 0; border-radius: var(--hd-r); background: none; -webkit-tap-highlight-color: transparent; }
  .site-header .nav-toggle .nt-bars { position: relative; display: block; width: 24px; height: 17px; }
  .site-header .nt-bars i { position: absolute; left: 0; width: 24px; height: 3px; border-radius: 2px; background: var(--hd-navy); transition: transform .22s ease, opacity .18s ease; }
  .site-header .nt-bars i:nth-child(1) { top: 0; }
  .site-header .nt-bars i:nth-child(2) { top: 7px; }
  .site-header .nt-bars i:nth-child(3) { top: 14px; }
  html.menu-open .site-header .nt-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  html.menu-open .site-header .nt-bars i:nth-child(2) { opacity: 0; }
  html.menu-open .site-header .nt-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 359px) {   /* 幅320: ロゴを36に・LINE相談の余白と文字を少し詰める(文言は変えない) */
  .site-header .header-inner { padding: 11px 16px; }
  .site-header .logo-img { height: 36px; }
  .site-header .btn-header-cta { padding: 0 12px; }
  .site-header .btn-header-cta .hl-short { font-size: 14px; }
}
/* PC(960〜): 電話とLINEの高さを48にそろえる(従来 電話38/LINE61)。ヘッダーは81 */
@media (min-width: 960px) {
  :root { --hd-h: 48px; }
  .site-header .header-inner { padding: 16px 20px; }
  .site-header .header-actions { gap: 10px; }
  .site-header .header-tel { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 16px 0 14px; border-radius: 999px; background: #fff; color: var(--hd-navy); box-shadow: inset 0 0 0 1.5px var(--hd-navy); }
  .site-header .header-tel:hover { background: var(--hd-blue-soft); }
  .site-header .ht-ico { width: 20px; height: 20px; }
  .site-header .header-tel-num { display: none; }
  .site-header .btn-header-cta { border-radius: 999px; padding: 0 26px; font-size: 15px; box-shadow: 0 8px 18px -10px rgba(234,91,47,.75); gap: 8px; }
  .site-header .btn-header-cta:hover { transform: none; }
  .site-header .btn-header-cta .hl-ico { display: block; width: 19px; height: 19px; fill: #fff; }
  .site-header .btn-header-cta .hl-long { display: inline; font-size: 15px; font-weight: 900; }
  .site-header .btn-header-cta .hl-short { display: none; }
}
@media (min-width: 960px) and (max-width: 1199px) { .site-header .header-tel { width: 48px; padding: 0; justify-content: center; } }
@media (min-width: 1200px) {
  .site-header .header-tel-num { display: inline; font-size: 16px; font-weight: 800; letter-spacing: .02em; color: var(--hd-navy); }
  .site-header .header-tel { padding: 0 18px 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .site-header .nt-bars i { transition: none; } }
