/* pages.css ― v2 で足す部品（複数ページ化・SEO/AIO 用）。新しいクラスだけを持つ。
   v1 のクラスへの上書きは .m-nav a[aria-current] 系（現在地）だけ。色は --m-*、角丸 8px（小物 6px）、線 1px solid var(--m-line)、
   余白はセクション 64px 48px／スマホ 48px 22px、地模様は等角格子（v1 の .biz-visual と同じ）。新しい色・影・書体・動きは足さない。 */

/* --- スキップリンク：ふだんは画面外。フォーカスされたときだけ見える --- */
.mock .skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--m-accent); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 0;
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.mock .skip-link:focus { left: 0; }

/* --- ヘッダーの現在地（色だけに頼らず、下線の形で分かる） --- */
.m-nav a[aria-current] { background: var(--m-alt); box-shadow: inset 0 -2px 0 var(--m-accent); }
.m-nav a.cta[aria-current] { background: var(--m-accent); box-shadow: inset 0 -2px 0 #fff; }
@media (forced-colors: active) {
  .m-nav a[aria-current] { border-bottom: 2px solid LinkText; }
}

/* --- パンくず --- */
.breadcrumb { background: var(--m-bg); padding: 12px 48px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 12.5px; }
.breadcrumb li + li::before { content: "/" / ""; margin-right: 8px; color: var(--m-sub); }
.mock .breadcrumb a { color: var(--m-sub); text-decoration: none; padding: 4px 0; display: inline-block; }
.mock .breadcrumb a:hover, .mock .breadcrumb a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.mock .breadcrumb a[aria-current="page"] { color: var(--m-ink); font-weight: 700; }
@media (forced-colors: active) {
  .breadcrumb a[aria-current="page"] { text-decoration: underline; }
}

/* --- 下層ページの頭（動きなし。文字が先、絵が後） --- */
.page-head {
  background: var(--m-bg); border-bottom: 1px solid var(--m-line);
  padding: 44px 48px 40px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
}
.page-head.no-visual {
  grid-template-columns: 1fr;
  background-color: var(--m-alt);
  background-image:
    linear-gradient(30deg, rgba(90,110,130,.07) 1px, transparent 1.5px),
    linear-gradient(150deg, rgba(90,110,130,.07) 1px, transparent 1.5px);
  background-size: 26px 45px;
}
.page-head .head-body { min-width: 0; }
.page-head .en { font-size: 12px; font-weight: 800; letter-spacing: .3em; color: var(--m-accent); margin: 0 0 8px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.4; margin: 0 0 16px; font-weight: 900; }
.page-head .biz-logo-plate { margin: 18px 0 0; }
.page-head .head-visual { min-width: 0; }
.page-head .head-visual img,
.page-head .head-visual svg { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; border: 1px solid var(--m-line); display: block; }
.page-head .head-visual.recruit-visual { padding: 0; min-height: 0; border-radius: 8px; border: 1px solid var(--m-line); aspect-ratio: 3 / 2; }
.page-head .head-visual.recruit-visual svg { border: 0; border-radius: 0; max-width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }

/* --- 要約ブロック（AIO：定義文＋事実の箇条書き） --- */
.page-summary { max-width: 38em; }
.page-summary .def { margin: 0 0 16px; font-size: 15px; line-height: 1.9; color: var(--m-sub); }
.page-summary .facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--m-line); }
.page-summary .facts li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--m-line); font-size: 14px; }
.page-summary .facts li > span:first-child { font-weight: 700; color: var(--m-sub); }
.page-summary .facts .v { min-width: 0; }
.summary-band .page-summary { max-width: 46em; }
.summary-band .sec-head { margin-bottom: 22px; }

/* --- 本文中のリンク（色に頼らず下線） --- */
.mock :is(.page-summary, .faq-a, .article, .prose, .bullet-list, .page-text) a { text-decoration: underline; text-underline-offset: 3px; }
.page-text { margin: 0 0 16px; font-size: 14.5px; color: var(--m-sub); max-width: 46em; }
.bullet-list { margin: 0 0 18px; padding-left: 1.2em; font-size: 14.5px; color: var(--m-sub); max-width: 46em; }
.bullet-list li { margin: 5px 0; }

/* --- 数字の出典注記 --- */
.num-note { font-size: 12.5px; color: var(--m-sub); margin: -22px 0 24px; }

/* --- FAQ（問いの文がそのまま h3） --- */
.faq { border-top: 1px solid var(--m-line); }
.faq-item { padding: 20px 6px; border-bottom: 1px solid var(--m-line); }
.faq-item h3 { margin: 0 0 8px; font-size: 16px; font-weight: 900; line-height: 1.5; }
.faq-a { max-width: 46em; }
.faq-a p { margin: 0; font-size: 14.5px; color: var(--m-sub); }
.faq-a p + p { margin-top: 8px; }

/* --- 関連リンク（見出しの文字だけがリンク） --- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.related-card { border: 1px solid var(--m-line); border-radius: 8px; padding: 24px; background: var(--m-alt); }
.related-card .en { font-size: 11px; font-weight: 800; letter-spacing: .22em; color: var(--m-accent); margin: 0 0 6px; }
.related-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 900; line-height: 1.5; }
.related-card h3 a { text-decoration: underline; text-underline-offset: 4px; }
.related-card p { margin: 0; font-size: 13.5px; color: var(--m-sub); }

/* --- EC サイトへの導線 --- */
.ext-box { border: 1px solid var(--m-line); border-radius: 8px; padding: 24px; background: var(--m-bg); max-width: 640px; }
.ext-box h3 { margin: 0 0 10px; font-size: 16px; font-weight: 900; }
.ext-box p { margin: 0 0 14px; font-size: 14px; color: var(--m-sub); }
.ext-box .btn { margin-top: 2px; }

/* --- 事業ハブ・トップの「詳しい内容」ボタン、記事・補足 --- */
.biz-actions { margin: 0 0 4px; }
.news-item.static { cursor: default; }
.cta-band { text-align: left; padding: 56px 48px; }
.cta-band p { max-width: 46em; }
.flow-step ul { margin: 10px 0 0; padding-left: 1.1em; font-size: 12.5px; color: var(--m-sub); }
.flow-step ul li { margin: 3px 0; }
table.profile caption { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
table.profile thead th { width: auto; }
table.profile thead th:first-child { width: 32%; }
.aud-card table.profile { margin-top: 14px; font-size: 13.5px; }
.aud-card table.profile th { background: var(--m-bg); width: 36%; }
.aud-card table.profile th, .aud-card table.profile td { padding: 10px 10px; }

/* --- トップ・下層の節の下に置くボタン、1列の会社概要 --- */
.section-actions { margin: 24px 0 0; }
.profile-wrap.single { grid-template-columns: minmax(0, 760px); }

/* --- 記事 --- */
.article { max-width: 38em; }
.article h2 { font-size: 18px; font-weight: 900; margin: 30px 0 8px; line-height: 1.5; }
.article p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.article-meta time { color: var(--m-sub); font-size: 13.5px; }
.article-back { margin: 28px 0 0; font-size: 14.5px; }

/* --- お問い合わせフォーム（見た目のみ。送信しない） --- */
.form-mock { display: grid; gap: 20px; max-width: 640px; }
.form-note { margin: 0; padding: 10px 14px; border: 1px solid var(--m-line); border-radius: 6px; background: var(--m-alt); font-size: 13px; color: var(--m-sub); }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.field .req { font-size: 11px; font-weight: 700; color: var(--m-accent); border: 1px solid var(--m-accent); border-radius: 4px; padding: 1px 6px; margin-left: 8px; }
.field input:not([type="checkbox"], [type="radio"]), .field textarea {
  font: inherit; font-size: 15px; color: var(--m-ink); background: #fff; width: 100%;
  border: 1px solid var(--m-sub); border-radius: 6px; padding: 10px 12px; min-height: 44px;
}
.field textarea { min-height: 9em; resize: vertical; }
.field .choices { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.field .choices label, .field label.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.field input[type="radio"], .field input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--m-accent); margin: 0; }
.mock :is(.page-summary, .summary-band, .page-head, .faq, .related, .ext-box, .article, .form-mock, .prose, .breadcrumb, .bullet-list) :is(a, input, textarea, button):focus-visible,
.mock .skip-link:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 2px; }

/* --- プライバシーポリシーの本文 --- */
.prose { max-width: 46em; }
.prose h2 { font-size: 18px; font-weight: 900; margin: 36px 0 10px; line-height: 1.5; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 14.5px; line-height: 1.9; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 1.3em; }

/* --- スマホ幅（mock-responsive.css は v1 のまま最後に読む。ここは新しい部品の分だけ） --- */
@media (max-width: 900px) {
  .breadcrumb { padding: 10px 22px; }
  .page-head { grid-template-columns: 1fr; padding: 32px 22px; gap: 24px; }
  .page-summary .facts li { grid-template-columns: 5.5em 1fr; }
  .related { grid-template-columns: 1fr; }
  .num-note { margin-top: -20px; }
  .news-list .news-item { grid-template-columns: auto 1fr; gap: 6px 12px; }
  .news-list .news-item > span:not([class]) { grid-column: 1 / -1; }
  .cta-band { padding: 56px 22px; }
}

/* --- ボタン要素（フォームの「入力内容を確認する」）を a.btn と同じ見た目に --- */
button.btn { border: 0; font-family: inherit; cursor: pointer; }
