/* tools/build_site.py が作る。直すときは styles/base.css と asset/css/site.css を直す */
/* ---- base.css ---- */
/* 新しい枠のページの土台（D-069）。tools/build_site.py が、このファイル → mirror.css → site.css の順につなげて
   public/salon/asset/css/main.css を作る。手で編集するのはこのファイルと site.css。
   文字は端末に入っている書体を使う（旧サイトは書体のデータ 約6.6MB を毎回読み込んでいた） */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, i,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, details, figure, figcaption, footer, header, nav, section, summary {
  border: 0;
  font: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, nav, section, main { display: block; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
th, td { text-align: left; vertical-align: top; }
img { border: none; vertical-align: top; }
picture, img { display: inline-block; width: 100%; height: auto; }

html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  background-color: #f5f4f4;
  color: #3f3939;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, b, strong, th, dt, summary { font-weight: 700; }
small { font-size: 85%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }
button { font: inherit; }

/* ---- inline.css のうち使っている分 ---- */
.s-841b18d7{background-image: linear-gradient(transparent 60%, rgba(142, 209, 252, 0.5) 60%) !important}
.s-c303fc03{background-color:rgba(0, 0, 0, 0) !important}
.s-de1af10f{background-image: linear-gradient(transparent 60%, rgba(252, 185, 0, 0.5) 60%) !important}
.s-e009d888{background-image: linear-gradient(transparent 60%, rgba(252,185,0,0.5) 60%) !important}

/* ---- mirror.css ---- */
/* 旧サイトの見た目を写したページへの追加分（手で編集する。mirror_current.py は上書きしない） */

/* 応募・事前登録・新卒エントリー: 入力欄の代わりに Google フォームへの案内（D-003） */
.location { display: none; } /* 「入力→確認→完了」の段階表示。入力は Google フォームで行うため出さない */
.m-formLink {
  margin: 40px auto;
  padding: 32px 24px;
  max-width: 640px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.m-formLink h2 { margin: 0 0 16px; font-size: 24px; }
.m-formLink p { margin: 0 0 24px; line-height: 1.8; }
.m-formLink p:last-child { margin-bottom: 0; }
.m-formLink__button {
  display: inline-block;
  min-width: 280px;
  padding: 20px 32px;
  border-radius: 200px;
  background: rgb(242, 224, 73);
  color: rgb(101, 94, 94);
  font-weight: 700;
  text-decoration: none;
}
.m-formLink__button:hover { opacity: .8; }

/* 都道府県別の店舗一覧: ほかの都道府県へ戻るボタン */
.m-prefBack { margin: 0 auto 32px; }

/* プライバシーポリシー: アクセス解析ツールの開示（convert_from_current.GA_DISCLOSURE） */
.m-gaDisclosure { max-width: 1000px; margin: 0 auto 64px; padding: 0 20px; line-height: 1.8; }
.m-gaDisclosure h2 { margin: 40px 0 16px; font-size: 20px; }
.m-gaDisclosure p { margin: 0 0 16px; }
.m-gaDisclosure a { text-decoration: underline; }

/* 404 などの、旧サイトの枠に入れた本文 */
.m-generated__inner { max-width: 1000px; margin: 0 auto; padding: 160px 20px 80px; line-height: 1.8; }
.m-generated__inner h1 { font-size: 28px; margin: 0 0 24px; }
.m-generated__inner a { text-decoration: underline; }
@media (max-width: 767px) {
  .m-formLink__button { min-width: 0; width: 100%; }
  .m-generated__inner { padding-top: 120px; }
}

/* トップ: 対象者別の入口・やること／やらないこと（D-031。文面は tools/mirror_current.py） */
.m-entry, .m-scope { position: relative; z-index: 2; padding: 72px 20px; background: #fff; } /* 前のブロックの背景の円が重ならないよう手前に */
.m-scope { background: #FEF9DD; }
.m-entry__inner, .m-scope__inner { max-width: 1000px; margin: 0 auto; }
.m-entry h2, .m-scope h2 { margin: 0 0 32px; font-size: 26px; line-height: 1.5; text-align: center; }
.m-entry__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.m-entry__item { padding: 24px; border-radius: 16px; background: #FEF9DD; display: flex; flex-direction: column; }
.m-entry__item h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.5; }
.m-entry__item p { margin: 0 0 16px; font-size: 14px; line-height: 1.9; flex: 1; }
.m-entry__item a { display: inline-block; align-self: flex-start; padding: 10px 20px; border-radius: 200px; background: rgb(242, 224, 73); color: rgb(101, 94, 94); font-weight: 700; font-size: 14px; text-decoration: none; }
.m-entry__item a:hover { opacity: .8; }
.m-scope__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.m-scope__col { padding: 24px; border-radius: 16px; background: #fff; }
.m-scope__col h3 { margin: 0 0 12px; font-size: 18px; }
.m-scope__col ul { margin: 0; padding: 0; list-style: none; }
.m-scope__col li { padding: 8px 0 8px 28px; position: relative; line-height: 1.7; border-bottom: 1px solid #F1EBD2; }
.m-scope__col li:last-child { border-bottom: 0; }
.m-scope__col li::before { position: absolute; left: 0; top: 8px; font-weight: 700; }
.m-scope__col--do li::before { content: "○"; color: #2a9d5c; }
.m-scope__col--dont li::before { content: "×"; color: #d9534f; }
.m-scope__note { margin: 20px 0 0; text-align: center; font-size: 14px; line-height: 1.8; }
@media (max-width: 767px) {
  .m-entry, .m-scope { padding: 48px 16px; }
  .m-entry h2, .m-scope h2 { font-size: 20px; }
}

/* Kazu の改善提案（要望スプレッドシート #62〜79。文面は tools/mirror_current.py） */
/* トップ: キャッチコピー直後の「証拠の数字」（#74） */
.m-proof { position: relative; z-index: 2; padding: 56px 20px; background: #fff; }
.m-proof__inner { max-width: 1000px; margin: 0 auto; }
.m-proof h2 { margin: 0 0 24px; font-size: 26px; line-height: 1.5; text-align: center; }
.m-proof__numbers { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.m-proof__numbers li { padding: 20px 16px; border-radius: 16px; background: #FEF9DD; text-align: center; }
.m-proof__numbers strong { display: block; font-size: 34px; line-height: 1.2; margin-bottom: 6px; }
.m-proof__numbers span { font-size: 13px; line-height: 1.6; color: #6b6464; }
.m-proof__features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.m-proof__features li { padding: 8px 16px; border-radius: 200px; border: 2px solid rgb(242, 224, 73); font-size: 14px; font-weight: 700; }
.m-proof__note { margin: 16px 0 0; text-align: center; font-size: 13px; color: #6b6464; }
.m-proof__note a { text-decoration: underline; }
/* 固定ヘッダーの3つ目のボタン「まず相談する」（#62） */
.l-headerContact li.m-consult a, .l-contact li.m-consult a { background: #fff; border: 2px solid rgb(242, 224, 73); }
/* フォームの案内文（#64・#70） */
.m-formLink__lead { margin: 0 0 12px; font-weight: 700; }
.m-formLink__button--sub { background: #fff; border: 2px solid rgb(242, 224, 73); }
/* 相談ページ・ブランクがある方へ（#62・#65。旧サイトの枠 m-generated の中） */
.m-generated__inner h2 { font-size: 22px; margin: 36px 0 12px; }
.m-generated__inner p { margin: 0 0 14px; }
.m-steps { margin: 0 0 20px; padding-left: 1.4em; }
.m-steps li { margin: 0 0 8px; }
.m-reasons { list-style: none; margin: 0 0 8px; padding: 0; }
.m-reasons li { padding: 12px 0 12px 28px; position: relative; border-bottom: 1px solid #F1EBD2; }
.m-reasons li::before { content: "○"; position: absolute; left: 0; top: 12px; color: #2a9d5c; font-weight: 700; }
.m-links { margin: 0; padding-left: 1.4em; }
.m-links li { margin: 0 0 6px; }
.m-page__cta { margin: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.m-page__cta .m-formLink__button { min-width: 0; }
.m-page__note { font-size: 14px; color: #6b6464; }
.m-generated__inner dl { margin: 0 0 12px; padding: 14px 16px; border-radius: 12px; background: #FEF9DD; }
.m-generated__inner dt { font-weight: 700; margin: 0 0 6px; }
.m-generated__inner dd { margin: 0; }
@media (max-width: 767px) {
  .m-proof { padding: 40px 16px; }
  .m-proof h2 { font-size: 20px; }
  .m-proof__numbers strong { font-size: 28px; }
}

/* 都道府県ページの絞り込み（asset/js/pref-filter.js） */
.is-hidden { display: none !important; }
.m-filterEmpty { max-width: 1000px; margin: 0 auto 24px; padding: 16px 20px; text-align: center; }

/* 数字で見る fufu（D-042・D-043。文面と数字は tools/mirror_current.py の NUMBERS・BLANK_DIST） */
.m-stats { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.m-stats li { padding: 16px; border-radius: 12px; background: #FEF9DD; display: flex; flex-direction: column; gap: 4px; }
.m-stats__label { font-size: 14px; font-weight: 700; }
.m-stats strong { font-size: 28px; line-height: 1.3; }
.m-stats__desc { font-size: 13px; }
.m-stats__note { font-size: 12px; color: #6b6464; }
.m-table { border-collapse: collapse; margin: 0 0 24px; min-width: 260px; }
.m-table th, .m-table td { padding: 6px 12px; border-bottom: 1px solid #F1EBD2; text-align: left; font-weight: 400; }
.m-table td { text-align: right; white-space: nowrap; }
.m-generated__inner h2 { margin: 40px 0 16px; font-size: 22px; }

/* 募集要項: 地域ごとの給与・年収の例（tools/mirror_current.py の WAGES・ANNUAL_EXAMPLES） */
.m-reqExtra { max-width: 1000px; margin: 0 auto 64px; padding: 0 20px; line-height: 1.8; }
.m-reqExtra h2 { margin: 40px 0 16px; font-size: 22px; }
.m-reqExtra__scroll { overflow-x: auto; }
@media (max-width: 767px) {
  .m-table th, .m-table td { padding: 6px 6px; font-size: 13px; }
  .m-table th { min-width: 4.5em; }
}

/* スマホのヘッダー（Kazu 2026-11-11「ヘッダーが文字に重なる」）: 白い背景で本文と重ならないようにし、
   ボタンは「まず相談する」「応募する」とメニューだけにする（事前登録はメニューの中にある） */
@media (max-width: 767px) {
  .l-header { background: #fff; border-bottom: 1px solid #F1EBD2; }
  .l-headerTitle p { display: none; }
  .l-headerContact li:not(.m-consult):first-child { display: none; }
}

/* 旧サイトは「最初は画面全体が透明で、scripts.js が動いてから表示する」作り（各ページの CSS の body { opacity: 0 }）。
   プログラムが動かない環境でも読めるように、最初から表示する（Kazu 2026-11-13・D-066） */
body { opacity: 1 !important; }

/* ---- site.css ---- */
/* 店舗スタッフ向けサイトの新しい枠とページ（D-045。Claude Design の A 案: 今の黄色と写真の雰囲気を生かし、並びと文字量を整理）
   ヘッダー・フッター・トップ・働き方と待遇・正社員・応募相談。文面は tools/salon_site.py。フォントは自サイトの Noto Sans JP（CSP で外部フォントは読まない） */
:root {
  --s-yellow: #f7ec96;
  --s-yellow-soft: #fbf3b4;
  --s-cream: #fffdf2;
  --s-ink: #3f3939;
  --s-sub: #655e5e;
  --s-line: #ece7d0;
  --s-header: 60px;
}
@media (min-width: 1200px) { :root { --s-header: 76px; } }

body { padding-top: var(--s-header); }
.s-inner { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.s-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--s-line);
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif; color: var(--s-ink); }
.s-header__bar { height: var(--s-header); display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; max-width: 1280px; margin: 0 auto; box-sizing: border-box; }
.s-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--s-ink); margin-right: auto; }
.s-logo img { width: 64px; height: auto; }
.s-logo span { font-size: 11px; font-weight: 700; color: var(--s-sub); }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 99px; font-weight: 700; text-decoration: none;
  color: var(--s-ink); box-sizing: border-box; line-height: 1.3; }
.s-btn--line { border: 2px solid var(--s-ink); background: #fff; }
.s-btn--yellow { background: var(--s-yellow); }
.s-btn--dark { background: var(--s-ink); color: #fff; }
.s-btn--white { background: #fff; }
.s-btn--wide { min-height: 52px; padding: 0 24px; font-size: 16px; width: 100%; }
.s-header__cta { height: 40px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
.s-menu { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; color: var(--s-ink); cursor: pointer; }

.s-main .s-btn--dark, .s-endcta .s-btn--dark { color: #fff; }
.s-nav { display: none; }
.s-nav__list { list-style: none; margin: 0; padding: 0; }
.s-nav__toggle { all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box;
  font-weight: 700; font-size: 16px; padding: 14px 0; }
.s-nav__toggle::after { content: "＋"; }
.s-nav__toggle[aria-expanded="true"]::after { content: "－"; }
.s-nav__toggle:focus-visible, .s-btn:focus-visible, .s-menu:focus-visible { outline: 2px solid var(--s-ink); outline-offset: 2px; }
.s-nav__link { display: block; font-weight: 700; font-size: 16px; padding: 14px 0; text-decoration: none; color: var(--s-ink); }
.s-nav__sub { list-style: none; margin: 0 0 12px; padding: 0; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.s-nav__toggle[aria-expanded="true"] + .s-nav__sub { display: grid; }
.s-nav__sub a { display: block; padding: 10px; border-radius: 10px; background: #f6f4f0; text-decoration: none; color: var(--s-ink); font-size: 13px; }
.s-nav__sub a b { display: block; }
.s-nav__sub a span { display: block; font-size: 11px; color: var(--s-sub); }

/* スマホ: メニューを開いたとき（site.js が body に s-menuOpen を付ける） */
@media (max-width: 1199px) {
  .s-menuOpen { overflow: hidden; }
  .s-menuOpen .s-nav { display: block; position: fixed; top: var(--s-header); left: 0; right: 0; bottom: 0; overflow-y: auto; background: #fff; padding: 8px 16px 24px; }
  .s-nav__item { border-bottom: 1px solid var(--s-line); }
}
@media (max-width: 479px) { .s-logo span { display: none; } }

/* パソコン: 4つの入口を横に並べ、開いた入口の下にページを並べる */
@media (min-width: 1200px) {
  .s-menu { display: none; }
  .s-header__bar { gap: 12px; padding: 0 32px; }
  .s-logo { margin-right: 16px; }
  .s-logo img { width: 76px; }
  .s-logo span { font-size: 12px; }
  .s-nav { display: block; margin-right: auto; }
  .s-nav__list { display: flex; gap: 4px; }
  .s-nav__item { position: relative; }
  .s-nav__toggle, .s-nav__link { font-size: 15px; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
  .s-logo span { white-space: nowrap; }
  .s-nav__toggle::after { content: "▾"; margin-left: 6px; font-size: 11px; }
  .s-nav__toggle[aria-expanded="true"]::after { content: "▴"; }
  .s-nav__toggle:hover, .s-nav__link:hover, .s-nav__toggle[aria-expanded="true"] { background: #f6f4f0; }
  .s-nav__sub { position: absolute; top: calc(100% + 8px); left: 0; width: 560px; padding: 16px; background: #fff; border: 1px solid var(--s-line);
    border-radius: 14px; box-shadow: 0 8px 24px rgba(63, 57, 57, 0.12); }
  .s-header__cta { height: 46px; padding: 0 20px; font-size: 14px; }
}

/* ページの終わりの CTA とフッター */
.s-endcta { background: var(--s-yellow); padding: 28px 0; font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif; color: var(--s-ink); }
.s-endcta__lead { margin: 0 0 12px; font-weight: 700; }
.s-endcta__buttons { display: grid; gap: 8px; }
@media (min-width: 768px) { .s-endcta__buttons { grid-template-columns: 1fr 1fr; max-width: 640px; } }
.s-footer { background: #fff; padding: 32px 0 40px; font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif; color: var(--s-ink); font-size: 13px; line-height: 1.9; }
.s-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .s-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s-footer__head { margin: 0 0 4px; font-weight: 700; }
.s-footer ul { list-style: none; margin: 0; padding: 0; }
.s-footer a { color: var(--s-ink); }
.s-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 8px; }
.s-footer__copy { margin: 0; color: var(--s-sub); font-size: 12px; }

/* トップ（A 案） */
.s-main { display: block; background: var(--s-cream); font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif; color: var(--s-ink); line-height: 1.8; }
.s-main a { color: var(--s-ink); }
.s-hero { background: var(--s-yellow); padding: 16px 0 28px; }
.s-hero__inner { display: grid; gap: 16px; }
@media (min-width: 900px) { .s-hero { padding: 40px 0; } .s-hero__inner { grid-template-columns: 5fr 6fr; align-items: center; gap: 40px; } }
.s-hero__photo img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 12%; border-radius: 24px; display: block; }
@media (min-width: 900px) { .s-hero__photo img { height: 460px; } }
.s-hero__eyebrow { margin: 0; font-size: 12px; font-weight: 700; }
.s-hero__title { margin: 4px 0 12px; font-size: 28px; line-height: 1.4; font-weight: 700; }
@media (min-width: 900px) { .s-hero__title { font-size: 40px; } }
.s-chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.s-chips li { padding: 4px 10px; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 700; }
.s-proof { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.s-proof li { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.s-proof span { font-size: 11px; line-height: 1.5; }
.s-proof strong { font-size: 22px; line-height: 1.3; }
.s-note { font-size: 12px; line-height: 1.7; color: var(--s-sub); }
.s-hero .s-note { color: var(--s-ink); }
.s-hero__buttons { display: grid; gap: 8px; margin-top: 12px; }
.s-section { padding: 32px 0; }
.s-section--tight { padding-top: 0; }
.s-h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.5; }
.s-entries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .s-entries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s-entries a { display: flex; flex-direction: column; gap: 4px; min-height: 72px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--s-line); text-decoration: none; }
.s-entries b { font-size: 15px; }
.s-entries span { font-size: 11px; color: var(--s-sub); line-height: 1.5; }
.s-cards { display: grid; gap: 10px; }
@media (min-width: 768px) { .s-cards { grid-template-columns: 1fr 1fr; } }
.s-card { display: block; background: #fff; border-radius: 20px; padding: 16px; border: 1px solid var(--s-line); text-decoration: none; }
.s-card__label { margin: 0; font-size: 12px; font-weight: 700; color: var(--s-sub); }
.s-card__main { margin: 4px 0; font-size: 15px; }
.s-card__main b { font-size: 20px; }
.s-card__note { margin: 0; font-size: 12px; color: var(--s-sub); }
.s-more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.s-more::after { content: " →"; }
.s-box { background: #fff; border-radius: 24px; border: 1px solid var(--s-line); padding: 20px 16px; }
.s-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14px; }
.s-twocol ul { margin: 0; padding-left: 1.2em; }
.s-twocol__head { margin: 0 0 4px; font-weight: 700; }
.s-steps { list-style: none; margin: 12px 0; padding: 0; counter-reset: s-step; display: grid; gap: 6px; font-size: 14px; }
.s-steps li { counter-increment: s-step; display: flex; align-items: center; gap: 10px; }
.s-steps li::before { content: counter(s-step); flex-shrink: 0; width: 26px; height: 26px; border-radius: 99px; background: var(--s-yellow);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.s-steps li:last-child::before { background: var(--s-ink); color: #fff; }
.s-newgrad { margin: 0; text-align: center; font-weight: 700; }

/* 働き方と待遇・正社員・応募相談（旧サイトの枠の本文 .m-generated__inner の中） */
.s-crumb { font-size: 12px; color: var(--s-sub); margin: 0 0 8px; }
.s-toc { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.s-toc a { display: inline-block; padding: 6px 12px; border-radius: 99px; background: #f6f4f0; font-size: 13px; text-decoration: none; }
.s-scroll { overflow-x: auto; }
.s-compare th, .s-compare td { vertical-align: top; text-align: left; white-space: normal; }
.s-callout { border: 2px solid var(--s-yellow); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.s-photo img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 20px; display: block; }
.s-examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 768px) { .s-examples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s-examples li { background: #fffdf2; border: 1px solid var(--s-line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.s-examples b { font-size: 22px; }
.s-path { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.s-path li { padding: 8px 14px; border-radius: 99px; background: var(--s-yellow); font-weight: 700; font-size: 14px; }
.s-path li + li::before { content: "→ "; }
.s-linklist { list-style: none; margin: 0; padding: 0; }
.s-linklist a { display: block; padding: 12px 0; border-bottom: 1px solid var(--s-line); font-weight: 700; text-decoration: none; }
.s-linklist a::after { content: " →"; }
.s-choices { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.s-choices a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; border: 2px solid var(--s-ink); text-decoration: none; }
.s-choices li:first-child a { background: var(--s-yellow); border-color: var(--s-yellow); }
.s-choices__when { font-size: 12px; color: var(--s-sub); }
.s-choices b { font-size: 18px; }
.s-choices b::after { content: " →"; }
.s-choices span:last-child { font-size: 13px; }
.s-faq dt { font-weight: 700; margin-top: 12px; }
.s-faq dt::before { content: "Q. "; }
.s-faq dd { margin: 4px 0 0; }

/* 新しいヘッダーは高さが低いので、本文を作ったページ（相談・ブランク・数字・働き方と待遇など）の上の余白を詰める */
.m-generated__inner { padding-top: 32px; }
.m-generated__inner .s-toc a, .m-generated__inner .s-linklist a, .m-generated__inner .s-choices a { text-decoration: none; }

/* ---- B 案（A/B テスト・D-045 改）。<html class="s-theme-b"> のとき（asset/js/theme.js）。白と濃い文字、黄色は強調だけ、角は小さめ ---- */
.s-theme-b { --s-ink: #1f1b1b; --s-sub: #5c5555; --s-line: #e6e2e2; --s-cream: #ffffff; }
.s-theme-b .s-btn { border-radius: 10px; }
.s-theme-b .s-btn--yellow { background: var(--s-ink); color: #fff; }
.s-theme-b .s-header__cta.s-btn--yellow { background: var(--s-ink); color: #fff; }
.s-theme-b .s-endcta { background: #f6f4f4; }
.s-theme-b .s-card, .s-theme-b .s-entries a, .s-theme-b .s-box { border-radius: 12px; }
.s-theme-b .s-chips li { border-radius: 6px; }

/* B 案のトップ */
.s-main--b { background: #fff; }
.s-heroB { padding: 18px 0 28px; }
.s-heroB__inner { display: grid; gap: 16px; }
@media (min-width: 900px) { .s-heroB { padding: 40px 0; } .s-heroB__inner { grid-template-columns: 6fr 5fr; align-items: center; gap: 40px; } }
.s-heroB__title { margin: 4px 0 14px; font-size: 28px; line-height: 1.45; font-weight: 700; }
@media (min-width: 900px) { .s-heroB__title { font-size: 40px; } }
.s-heroB__title mark { background: var(--s-yellow); color: inherit; padding: 0 4px; }
.s-heroB__lead { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.s-nones { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-nones li { border: 2px solid var(--s-ink); border-radius: 10px; padding: 8px 10px; font-size: 12px; font-weight: 700; }
.s-nones b { font-size: 15px; }
.s-heroB__trainer { margin: 0 0 14px; border-radius: 10px; background: var(--s-yellow); padding: 8px 10px; font-size: 14px; font-weight: 700; }
.s-proofB { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--s-ink); border-bottom: 1px solid var(--s-line); }
.s-proofB li { padding: 8px 6px; display: flex; flex-direction: column; }
.s-proofB li + li { border-left: 1px solid var(--s-line); }
.s-proofB strong { font-size: 20px; line-height: 1.3; }
.s-proofB span { font-size: 11px; line-height: 1.4; }
.s-heroB__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.s-heroB__buttons .s-btn { min-height: 52px; font-size: 15px; }
.s-heroB__photo img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; display: block; }
@media (min-width: 900px) { .s-heroB__photo img { height: 420px; } }
.s-darkband { background: var(--s-ink); color: #fff; padding: 28px 0; }
.s-main .s-darkband a { color: #fff; }
.s-main .s-darkband .s-btn--yellow { background: var(--s-yellow); color: #1f1b1b; margin: 8px 0; }
.s-darkband__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--s-yellow); }
.s-salary { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-salary li { border: 1px solid #5a5353; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; }
.s-salary span { font-size: 11px; }
.s-salary b { font-size: 19px; }
.s-annual { list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; }
.s-annual li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #3e3838; }
.s-tags { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.s-tags li { padding: 4px 10px; border-radius: 6px; background: #3e3838; }
.s-darkband__note { margin: 0; font-size: 11px; color: #cfc9c9; }
.s-twostat { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-twostat li { background: #f6f4f4; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; }
.s-twostat b { font-size: 24px; }
.s-twostat span { font-size: 12px; }
.s-stepsB { list-style: none; margin: 12px 0; padding: 0 0 0 14px; border-left: 3px solid var(--s-ink); counter-reset: s-stepb; display: grid; gap: 8px; font-size: 14px; }
.s-stepsB li { counter-increment: s-stepb; }
.s-stepsB li::before { content: "0" counter(s-stepb) "　"; font-weight: 700; }
.s-stepsB li:last-child { font-weight: 700; }
.s-stepsB li:last-child::before { background: var(--s-yellow); }
.s-partB { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 2px solid var(--s-ink); border-radius: 12px; padding: 14px; text-decoration: none; }
.s-partB b { font-size: 17px; }
.s-partB span::after { content: " →"; }

/* 掲載マスタから出す部品（D-046）: お知らせの帯・急募・募集中のポジション・掲載しない店舗の近くの店舗 */
.s-notices { background: var(--s-ink); color: #fff; padding: 10px 0; font-size: 14px; font-weight: 700; }
.s-notices a { color: #fff; }
.s-notice { margin: 0; }
.s-badge { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #c62828; color: #fff; font-size: 13px; vertical-align: middle; }
.s-urgent { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 768px) { .s-urgent { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s-urgent a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--s-line); text-decoration: none; color: var(--s-ink); }
.s-urgent span { font-size: 12px; color: var(--s-sub); }
.s-positions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s-positions li { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--s-line); display: flex; flex-direction: column; gap: 2px; }
.s-positions b { font-size: 16px; }
.s-positions span { font-size: 12px; color: var(--s-sub); }
.s-positions p { margin: 4px 0 0; font-size: 14px; }

/* まず相談する（4つの質問。D-041 改。文面は tools/salon_site.py の consult_body、動きは asset/js/consult.js） */
.s-quiz { margin: 16px 0 24px; }
.s-progress { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.s-progress li { height: 6px; border-radius: 3px; background: var(--s-line); }
.s-progress li.is-done { background: var(--s-ink); }
.s-q, .s-result { display: flex; flex-direction: column; gap: 10px; }
.s-q[hidden], .s-result[hidden], .s-restart[hidden] { display: none; }
.s-q__no { margin: 0; font-size: 12px; font-weight: 700; color: var(--s-sub); }
.s-q h2, .s-result h2 { margin: 0; font-size: 19px; }
.s-q__label { font-size: 12px; color: var(--s-sub); }
.s-qbtn, .s-select { min-height: 54px; border-radius: 12px; border: 2px solid var(--s-ink); background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--s-ink); padding: 0 12px; cursor: pointer; }
.s-qbtn:hover { background: #f6f4f0; }
.s-result { border-radius: 16px; padding: 20px 16px; }
.s-result--ok { background: var(--s-yellow); }
.s-result--no { background: #f6f4f4; }
.s-result p { margin: 0; font-size: 14px; }
.s-restart { margin-top: 8px; min-height: 44px; border: 0; background: transparent; font: inherit; font-size: 13px; text-decoration: underline; color: var(--s-ink); cursor: pointer; }
.s-result .s-btn--dark { color: #fff; text-decoration: none; }

/* スマホ画面の下に固定するボタン（「勤務地を探す」「まず相談する」） */
.s-fixbar { display: none; }
@media (max-width: 767px) {
  .s-fixbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--s-line);
    font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif; }
  .s-fixbar .s-btn { min-height: 48px; font-size: 14px; }
  .s-fixbar .s-btn--dark { color: #fff; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
/* 「電話を希望する」の入力欄（Google フォームの埋め込み。D-054） */
.s-formFrame { width: 100%; height: 900px; border: 0; border-radius: 12px; background: #fff; }
/* 勤務地を探す（地方ごとに開閉。D-045） */
.s-region { border: 1px solid var(--s-line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
.s-region summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.s-region summary::-webkit-details-marker { display: none; }
.s-region summary span { font-size: 13px; font-weight: 400; color: var(--s-sub); }
.s-region summary::after { content: "＋"; margin-left: 4px; }
.s-region[open] summary::after { content: "－"; }
.s-region summary span { margin-left: auto; }
.s-prefs { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.s-prefs a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; background: #f6f6f6; font-weight: 700; text-decoration: none; color: inherit; }
.s-prefs a span { font-size: 12px; font-weight: 400; color: var(--s-sub); }
.m-generated__inner .s-prefs a { text-decoration: none; }
@media (min-width: 768px) { .s-prefs { grid-template-columns: repeat(4, 1fr); } }

/* 都道府県ごとの店舗一覧（店舗カード）と店舗ページ（D-045。デザイン案 PageArea） */
.s-filter { border: 1px solid var(--s-line); border-radius: 12px; background: #fff; margin: 0 0 16px; }
.s-filter summary { padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.s-filter summary::-webkit-details-marker { display: none; }
.s-filter summary::after { content: "＋"; }
.s-filter[open] summary::after { content: "－"; }
.s-filter fieldset { border: 0; margin: 0; padding: 0 12px 12px; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.s-filter legend { font-size: 12px; color: var(--s-sub); padding: 0 4px 6px; }
.s-check { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; background: #f6f6f6; font-size: 14px; cursor: pointer; }
.s-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--s-ink); }
.s-check span { font-size: 12px; color: var(--s-sub); }
.s-stores { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .s-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-store { border: 1px solid var(--s-line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.s-store__photo { display: block; }
.s-store__photo img { display: block; width: 100%; height: 140px; object-fit: cover; }
.s-store__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.m-generated__inner h2.s-store__name { font-size: 17px; margin: 0; line-height: 1.5; }
.m-generated__inner .s-store__name a { text-decoration: none; color: inherit; }
.m-generated__inner p.s-store__meta { margin: 0; font-size: 13px; line-height: 1.6; color: var(--s-sub); overflow-wrap: anywhere; }
.s-storeTags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; font-weight: 700; }
.s-storeTags li { padding: 2px 8px; border-radius: 4px; border: 1px solid var(--s-ink); line-height: 1.5; }
.s-storeTags li:not(.s-storeTags__alert):first-of-type, .s-storeTags__alert + li:not(.s-storeTags__alert) { background: var(--s-ink); color: #fff; }
.s-storeTags .s-storeTags__alert { background: #c62828; border-color: #c62828; color: #fff; }
.s-store__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: auto; padding-top: 6px; }
.s-store__btns .s-btn { min-height: 44px; border-radius: 8px; font-size: 14px; padding: 0 8px; text-align: center; }
.m-generated__inner .s-btn { text-decoration: none; }
.s-store__btns--page { margin: 16px 0 8px; max-width: 560px; }
.s-store__btns--page .s-btn { min-height: 52px; font-size: 15px; }
.s-spec { border-top: 1px solid var(--s-line); }
.s-spec__row { border-bottom: 1px solid var(--s-line); padding: 14px 0; }
.m-generated__inner .s-spec__row h3 { font-size: 15px; margin: 0 0 6px; }
.s-spec__body { font-size: 14px; overflow-wrap: anywhere; }
.m-generated__inner .s-spec__body p { margin: 0 0 8px; }
.s-spec__body ul { margin: 0 0 8px; padding-left: 1.2em; }
.s-spec__body .strong { font-weight: 700; }
.s-spec__body .caution { font-size: 12px; color: var(--s-sub); }
.s-spec__body .link ul { list-style: none; padding: 0; }
.s-spec__body h4 { font-size: 14px; margin: 0 0 2px; }
.s-spec__body .flow { display: grid; gap: 8px; counter-reset: flow; }
.s-spec__body .flow__item { padding: 10px 12px; border-radius: 10px; background: #f6f6f6; counter-increment: flow; }
.s-spec__body .flow__item h4::before { content: counter(flow) ". "; }
.m-generated__inner .s-spec__body .flow__item p { margin: 0; }
@media (min-width: 768px) {
  .s-spec__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; }
}
.m-generated__inner h1.s-store__title { font-size: 22px; line-height: 1.5; margin: 8px 0; }
.m-generated__inner p.s-store__meta--page { margin: 0 0 14px; }
@media (min-width: 768px) { .m-generated__inner h1.s-store__title { font-size: 28px; } }

/* 入社までの流れ・よくある質問（D-045） */
.s-flow { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; counter-reset: s-flow; }
.s-flow li { counter-increment: s-flow; position: relative; background: #fff; border: 1px solid var(--s-line); border-radius: 12px; padding: 14px 16px 14px 56px; display: flex; flex-direction: column; gap: 2px; }
.s-flow li::before { content: counter(s-flow); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 99px; background: var(--s-yellow); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.s-flow li:last-child::before { background: var(--s-ink); color: #fff; }
.s-flow span { font-size: 14px; }
.s-qa { border: 1px solid var(--s-line); border-radius: 12px; background: #fff; margin: 0 0 8px; }
.s-qa summary { display: flex; gap: 8px; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.s-qa summary::-webkit-details-marker { display: none; }
.s-qa summary::before { content: "Q."; flex-shrink: 0; }
.s-qa summary::after { content: "＋"; margin-left: auto; padding-left: 8px; }
.s-qa[open] summary::after { content: "－"; }
.s-qa__a { padding: 0 16px 14px 16px; font-size: 15px; }
.m-generated__inner .s-qa__a p { margin: 0 0 6px; }

/* 募集要項（D-045）。地域ごとの給与の欄（m-reqExtra）は本文の幅に合わせる */
.m-generated__inner .m-reqExtra { max-width: none; margin: 0 0 24px; padding: 0; }
.m-generated__inner .s-spec__body li { list-style: none; }
.m-generated__inner .s-spec__body ul { padding-left: 0; }
.s-callout b { font-size: 15px; }
.m-generated__inner .s-callout { margin: 28px 0 8px; }

/* 読み物のページ（キャリアアップ・研修と福利厚生・働き方・fufuの想い。D-045） */
.m-generated__inner h1.s-article__title { font-size: 24px; line-height: 1.6; margin: 8px 0 16px; }
@media (min-width: 768px) { .m-generated__inner h1.s-article__title { font-size: 30px; } }
.s-article { max-width: 760px; }
.s-article h3 { font-size: 17px; margin: 24px 0 8px; }
.s-article h4 { font-size: 15px; margin: 16px 0 6px; }
.s-eyebrow { display: inline-block; margin: 36px 0 0; padding: 2px 10px; border-radius: 6px; background: var(--s-yellow); font-size: 13px; font-weight: 700; }
.m-generated__inner .s-eyebrow + h2 { margin-top: 8px; }
.m-generated__inner p.s-photo, .m-generated__inner p.s-figure { margin: 12px 0 16px; }
.s-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.s-list { margin: 0 0 14px; padding-left: 1.2em; }
.s-article .m-table th { white-space: nowrap; vertical-align: top; text-align: left; }

/* 店舗ページ（D-069。文は content/salon/store.json） */
.s-storeTags .s-storeTags__closed { background: #fff; border-color: var(--s-sub); color: var(--s-sub); }
.s-chips--plain { margin: 0 0 12px; }
.s-chips--plain li { background: var(--s-yellow-soft); }
.s-storeFacts { list-style: none; margin: 0 0 4px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); display: grid; gap: 4px; font-size: 14px; }
.s-storeFacts b { font-size: 16px; }
.s-keynums { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.s-keynums li { background: #fff; border: 1px solid var(--s-line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; }
.s-keynums b { font-size: 19px; line-height: 1.4; }
.s-keynums span { font-size: 12px; color: var(--s-sub); }
.m-generated__inner .s-spec--list .s-spec__body li { list-style: disc; margin-left: 1.2em; }

/* 応募フォーム・事前登録・新卒エントリーの案内（D-069） */
.s-formGo { margin: 20px 0 8px; padding: 20px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--s-line); text-align: center; }
.m-generated__inner .s-formGo .s-note { margin: 8px 0 0; }
.m-generated__inner p.s-callout { margin: 0 0 10px; }

/* インタビュー（中身は data/interviews.json。D-069） */
.s-people { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .s-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s-people a { display: flex; flex-direction: column; gap: 6px; height: 100%; background: #fff; border: 1px solid var(--s-line); border-radius: 12px; overflow: hidden; padding-bottom: 14px; }
.m-generated__inner .s-people a { text-decoration: none; }
.s-people img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.s-people b { font-size: 15px; line-height: 1.6; padding: 6px 14px 0; }
.s-people span { font-size: 12px; color: var(--s-sub); padding: 0 14px; }
.s-people__tags { list-style: none; margin: 0; padding: 0 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--s-sub); }
.s-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; }
.s-duo img { display: block; width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: 12px; }
.s-article--voice em { font-style: normal; background: linear-gradient(transparent 60%, var(--s-yellow-soft) 60%); }
.s-article--voice p { font-size: 15px; line-height: 2; }
/* 募集していない店舗のページ: 通勤の方法で、近くの店舗を切り替える（D-078） */
.s-commute__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.s-commute__btn { padding: 8px 14px; border: 2px solid var(--s-line); border-radius: 99px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.s-commute__btn[aria-pressed="true"] { border-color: var(--s-yellow); background: var(--s-yellow-soft); }
.s-commute__list h3 { font-size: 15px; margin: 0 0 4px; }
.s-commute__list[hidden] { display: none; }

/* 日本語の改行を、文節の切れ目にする（「プロフェッショナ｜ル職」「応募できます｜か？」のような改行を防ぐ）。
   word-break: auto-phrase は Chrome・Edge 119 以降。text-wrap: balance は見出しの行の長さをそろえる（Safari 17.5 以降も）。
   対応していない環境では、これまでどおりの改行になるだけで、表示は崩れない。2026-11-16 */
h1, h2, h3, h4, summary, dt, th, button, .x-hero__title, .x-btn, .x-more, .x-stats span, .x-pointlist b, .g-card__title, .g-position__title, .g-btn, .s-btn, .s-more, .s-store__name, .s-store__title, .s-card__main, .s-card__label, .s-tag, .c-pager a, figcaption, label, nav a, .wp-block-heading {
  word-break: auto-phrase; text-wrap: balance; overflow-wrap: anywhere;
}
p, li, dd, td { word-break: auto-phrase; text-wrap: pretty; overflow-wrap: anywhere; }
/* 上の改行の設定で、1行に収めるはずのボタンや数字が折り返さないようにする（text-wrap は white-space: nowrap を上書きするため） */
html .s-header__cta, html .x-stats b, html .g-header__nav a, html .s-fixbar .s-btn { text-wrap: nowrap; white-space: nowrap; overflow-wrap: normal; }
/* 幅が 360px より狭い画面では、ページの題を少し小さくする（「プライバシーポリシー」などが1行に収まるように。2026-11-16） */
@media (max-width: 359px) { .m-generated__inner > h1, .s-main h1 { font-size: 24px; } }
/* フッターのリンクも文節で改行する。360px より狭い画面では、本文の見出しを少し小さくする（2026-11-16） */
.s-footer, .s-footer li, .s-footer p { word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 359px) { html .m-generated__inner h2, html .s-main h2, html .s-article h2, html .c-body h2 { font-size: 18px; } }
.s-prefs a { flex-wrap: wrap; } .s-prefs a, .s-prefs a span { white-space: nowrap; word-break: keep-all; }

/* ---- column.css ---- */
/* 求人コラム（一覧と記事）の見た目（D-069）。tools/build_site.py が main.css につなげる。
   記事の本文は WordPress で書かれたもの（旧サイト）で、その部品の名前（wp-block-…・vk_…）に、ここで見た目を付けている */
.c-date { font-size: 12px; color: var(--s-sub); margin: 0 0 4px; }
.c-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .c-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-list a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--s-line); border-radius: 12px; overflow: hidden; text-decoration: none; }
.c-list img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.c-list span { font-size: 12px; color: var(--s-sub); padding: 10px 14px 0; }
.c-list b { font-size: 15px; line-height: 1.6; padding: 2px 14px 14px; }
.m-generated__inner .c-list a { text-decoration: none; }

.c-body { max-width: 760px; font-size: 15px; line-height: 1.9; }
.c-body p { margin: 0 0 14px; }
.c-body h2 { font-size: 21px; line-height: 1.5; margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--s-yellow); }
.c-body h3 { font-size: 17px; line-height: 1.6; margin: 28px 0 10px; padding: 8px 12px; border-radius: 8px; background: #ecebeb; }
.c-body h4 { font-size: 15px; margin: 20px 0 8px; }
.c-body ul, .c-body ol { margin: 0 0 14px; padding-left: 1.3em; }
.c-body ul li { list-style: disc; margin-bottom: 4px; }
.c-body ol li { list-style: decimal; margin-bottom: 4px; }
.c-body img { width: auto; max-width: 100%; height: auto; }
.c-body figure { margin: 0 0 16px; }
.c-body figcaption { font-size: 12px; color: var(--s-sub); }
.c-body blockquote { margin: 0 0 14px; padding: 12px 14px; border-left: 4px solid var(--s-line); background: #fff; font-size: 14px; }
.c-body hr { border: 0; border-top: 1px solid var(--s-line); margin: 24px 0; }
.c-body mark, .c-body .sme-highlighter { background: linear-gradient(transparent 60%, var(--s-yellow-soft) 60%); color: inherit; }
.c-body .has-vivid-red-color { color: #c62828; }
.c-body .has-vivid-cyan-blue-color { color: #0b6cb8; }
.c-body .has-text-align-right { text-align: right; }
.m-generated__inner .c-body a { text-decoration: underline; }
/* 表（横に長いものは枠の中で横に動かす） */
.c-body .wp-block-table { overflow-x: auto; }
/* 表は、どこに置かれていても、画面より広いときは表の中で横に動かす（ページ全体は横に動かさない） */
.c-body table { display: block; max-width: 100%; overflow-x: auto; font-size: 13px; background: #fff; }
.c-body th, .c-body td { min-width: 6em; }
.c-body { overflow-wrap: anywhere; }
.c-body th, .c-body td { border: 1px solid #d9d4d4; padding: 8px 10px; }
.c-body thead th, .c-body tbody th { background: #ecebeb; }
/* 目次 */
.c-toc { margin: 20px 0; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); }
.c-toc p { font-weight: 700; margin: 0 0 6px; }
.c-toc ol { margin: 0; padding-left: 1.4em; }
.c-toc li { list-style: decimal; margin-bottom: 4px; font-size: 14px; }
/* ふきだし（アイコンと文） */
.c-body .vk_balloon { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; }
.c-body .vk_balloon-position-right { flex-direction: row-reverse; }
.c-body .vk_balloon_icon { flex: 0 0 56px; }
.c-body .vk_balloon_icon figure { margin: 0; }
.c-body .vk_balloon_icon img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.c-body .vk_balloon_content_outer { flex: 1; min-width: 0; }
.c-body .vk_balloon_content { background: #fff; border: 1px solid #d9d4d4; border-radius: 12px; padding: 12px 14px; }
.c-body .vk_balloon_content p:last-child { margin-bottom: 0; }
/* 囲み（お知らせ・枠つきの箱） */
.c-body .vk_alert, .c-body .vk_borderBox { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 2px solid var(--s-yellow); }
.c-body .vk_borderBox_title { margin: 0 0 8px; font-size: 15px; }
.c-body .vk_alert ul:last-child, .c-body .vk_borderBox ul:last-child, .c-body .vk_borderBox p:last-child { margin-bottom: 0; }
/* 記事の中のボタンと、ほかの記事へのリンク */
.c-body .vk_button { margin: 16px 0; }
.m-generated__inner .c-body .vk_button_link, .m-generated__inner .c-body .wp-block-button__link { display: block; padding: 14px 16px; border-radius: 12px; background: var(--s-yellow); font-weight: 700; text-decoration: none; text-align: center; line-height: 1.6; }
.c-body .wp-block-embed blockquote { border-left: 4px solid var(--s-yellow); font-weight: 700; }
.c-body .wp-block-embed blockquote a::before { content: "関連記事: "; font-weight: 400; }
/* 前の記事・一覧・次の記事 */
.c-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 32px 0 16px; font-size: 14px; font-weight: 700; }
.c-pager a { padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--s-line); text-align: center; }
.m-generated__inner .c-pager a { text-decoration: none; }
.c-pager span { visibility: hidden; }
/* プライバシーポリシー（番号は文の中に書いてあるので、箇条書きの印は付けない） */
.c-legal ol { padding-left: 0; }
.c-legal ol ol { padding-left: 1.2em; }
.c-legal ol li { list-style: none; }

/* 日本語の改行を、文節の切れ目にする（「プロフェッショナ｜ル職」「応募できます｜か？」のような改行を防ぐ）。
   word-break: auto-phrase は Chrome・Edge 119 以降。text-wrap: balance は見出しの行の長さをそろえる（Safari 17.5 以降も）。
   対応していない環境では、これまでどおりの改行になるだけで、表示は崩れない。2026-11-16 */
h1, h2, h3, h4, summary, dt, th, button, .x-hero__title, .x-btn, .x-more, .x-stats span, .x-pointlist b, .g-card__title, .g-position__title, .g-btn, .s-btn, .s-more, .s-store__name, .s-store__title, .s-card__main, .s-card__label, .s-tag, .c-pager a, figcaption, label, nav a, .wp-block-heading {
  word-break: auto-phrase; text-wrap: balance; overflow-wrap: anywhere;
}
p, li, dd, td { word-break: auto-phrase; text-wrap: pretty; overflow-wrap: anywhere; }
