/*
Theme Name: tōmei / kasumi 求人（SP改善版 2026-09）
Theme URI: https://tomei-gray.net/
Author: Your Name
Description: 美容室 tōmei・kasumi ／ KIMIA の採用（求人）サイト向けテーマ。既存の「tōmei / kasumi 求人」を複製し、スマートフォン表示の改善（条件の要約、スタッフの声の見出し、LINE中心の追従バー、セクション順と読みやすさ）を加えたもの。文章はすべて「外観→カスタマイズ」から変更できます。元に戻すときは、外観→テーマ で元のテーマを有効化してください。
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tomei-recruit
*/

/* ===== 色とフォント =====
 * 「手書き寄り・温かみ」の方向でまとめてあります。
 * ・見出し   … Klee One（ペン字寄りの楷書）
 * ・本文     … Zen Maru Gothic（丸ゴシック）
 * ・英字ラベル… Quicksand（丸みのある英字。丸ゴシックと相性が良い）
 * 灰色や寒色を使うと丸ゴシックと喧嘩するので、文字色も茶系で統一しています。
 */
:root {
  --accent: #C96F4A;        /* メインのテラコッタ（サロン本体サイトと共通）*/
  --accent-dark: #8F4A2E;   /* 濃いテラコッタ（文字用）*/
  --accent-soft: #FBF3EC;   /* 薄いテラコッタ（背景用）*/
  --beige: #F6E9DE;         /* ベージュ（交互背景用）*/
  --ink: #4A3F38;           /* 見出しの文字色（暖色の濃茶）*/
  --text: #6B5D54;          /* 本文の文字色（暖色のグレージュ）*/
  --deep: #4A3B33;          /* フッター・募集要項の見出し帯（暖色の濃茶）*/
  --line-green: #06C755;    /* LINEの緑 */
  --rose: #E0A88B;          /* 電話ボタン用のくすみローズ */
  --font-head: 'Klee One', 'Yu Mincho', serif;                     /* 見出し */
  --font-en: 'Quicksand', 'Zen Maru Gothic', sans-serif;           /* 英字ラベル */

  /* ===== セクションの余白（3段階）=====
   * 全部を同じ余白にすると、同じ型の繰り返しに見えて「量産っぽさ」が出ます。
   * 役割ごとに 3段階に振り、隣どうしで差が出るようにしています。
   *   tight … 情報を見せるだけのセクション（表・一覧・Q&A）
   *   （標準）… ふつうのセクション
   *   wide  … 読ませたい・決めさせたいセクション（1〜2箇所だけ）
   * 画面幅に応じて自動で伸縮します（スマホ 40/64/96 → PC 72/120/168px）。
   * ※背景の白／ベージュの交互とは連動させていません。
   *   余白まで交互にすると規則性が見えて、かえってテンプレらしくなるためです。 */
  --sec-s: clamp(40px,  8vw,  72px);
  --sec-m: clamp(64px, 12vw, 120px);
  --sec-l: clamp(96px, 16vw, 168px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Zen Maru Gothic', "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.9;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: 1080px; margin: 0 auto;
}
.site-logo { font-size: 20px; letter-spacing: 2px; color: var(--ink); line-height: 1.4; }
.site-logo img { max-height: 44px; width: auto; }
.site-logo .sl-sub { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: 3px; color: var(--accent); }
.global-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; font-size: 14px; }
.global-nav a { color: var(--text); }
.global-nav a:hover { color: var(--accent); }
.header-apply {
  background: var(--line-green); color: #fff !important;
  padding: 9px 20px; border-radius: 28px; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

/* スクロールでフワッと表示（フェードアップ）*/
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.fade-up.in-view { opacity: 1; transform: none; }

/* ===== セクション共通 ===== */
.section { padding-block: var(--sec-m); }
.section.is-tight { padding-block: var(--sec-s); }
.section.is-wide  { padding-block: var(--sec-l); }
.section.beige { background: var(--beige); }

/* 英字ラベル。'Problem' と入力して、表示だけ大文字にします。
   'PROBLEM' と直接入力すると、読み上げソフトが1文字ずつ読んでしまうためです。
   大きさは見出しの約50%（40〜60%が目安）。 */
.section-eyebrow {
  text-align: center; font-family: var(--font-en);
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #cf9678; margin: 0 0 12px;
}
/* text-wrap: balance … 見出しの改行位置を整えて、最後の行に1文字だけ残るのを防ぐ */
.section-title { text-align: center; font-family: var(--font-head); font-size: 26px; color: var(--ink); font-weight: 500; margin: 0 0 34px; line-height: 1.6; text-wrap: balance; }
/* リード文は中央でも読めるよう、2行程度に収まる幅で止める（全角21字/行 × 2行）。
   これを超えると行頭がバラついて読みにくくなります。 */
.section-lead { text-align: center; font-size: 15px; line-height: 2; max-width: 23em; margin: -18px auto 40px; text-wrap: pretty; }
/* 見出しを空にして非表示にした場合、上に詰めすぎないよう余白を戻す */
.section-eyebrow + .section-lead { margin-top: 10px; }
.container > .section-lead:first-child { margin-top: 0; }

/* 情報を読ませるセクション（1日の流れ・募集要項・Q&A）は見出しも左に寄せる。
   全部を中央にそろえると、どのセクションも同じ型に見えるため。 */
.section.is-left .section-eyebrow,
.section.is-left .section-title { text-align: left; }
.section.is-left .section-lead { text-align: left; max-width: 34em; margin-left: 0; margin-right: 0; }

/* セクション末尾のCTA（LINE＋電話）。上に食い込む設計なので </section> の外に置くこと */
.section-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 0 20px; margin: -34px 0 0; }
.section-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--line-green); color: #fff;
  padding: 15px 30px; border-radius: 30px; font-size: 15px; font-weight: 500;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.20);
  transition: transform .15s ease;
}
.section-cta a.tel-cta { background: var(--rose); box-shadow: 0 8px 22px rgba(201, 111, 74, 0.20); }
.section-cta a:active { transform: scale(0.98); }

/* ===== ヒーロー =====
 * 既存テーマ（tōmei / kasumi・KIMIA）と同じ仕組みに揃えています。
 *   ・画像は .rc-hero の「背景画像」として敷く（文字ありでも画像バナーでも同じ）
 *   ・文字は上下中央
 *   ・写真にかけるフィルターは1色のベタ。濃さは カスタマイズ の「フィルターの濃さ」で変わる
 *   ・スマホは画面幅に対して 4:5 の高さ（4:5の画像が切れずに収まる）
 *   ・トップページだけは、カスタマイズで高さ（画面の何%か）を変えられる
 */
.rc-hero {
  position: relative; min-height: 460px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-color: var(--accent-soft);
  background-size: cover; background-position: center;
}
.rc-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.25); }
.rc-hero.is-light .rc-hero-title,
.rc-hero.is-light .rc-hero-sub,
.rc-hero.is-light .rc-hero-eyebrow { color: #fff; }
.rc-hero-inner { position: relative; padding: 40px 22px; max-width: 680px; }
.rc-hero-eyebrow { font-family: var(--font-en); font-size: 12px; letter-spacing: 3px; color: var(--accent-dark); margin: 0 0 18px; }
/* Klee One はもともと字間が広めなので、追加の letter-spacing は控えめにする */
.rc-hero-title { font-family: var(--font-head); font-size: clamp(27px, 5.4vw, 44px); line-height: 1.6; color: var(--ink); letter-spacing: 0.5px; font-weight: 500; margin: 0; }
.rc-hero-sub { color: var(--ink); font-size: 15px; line-height: 1.95; margin: 20px 0 0; }
/* ヒーロー内の訴求バッジ（例：完全週休2日制）*/
.rc-hero-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; }
.rc-hero-badges span { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.88); color: var(--accent-dark); border: 1px solid rgba(201,111,74,0.35); font-size: 12.5px; padding: 6px 15px; border-radius: 20px; }
.rc-hero-badges .ti { font-size: 15px; color: var(--accent); }
.rc-hero.is-light .rc-hero-badges span { background: rgba(0,0,0,0.32); color: #fff; border-color: rgba(255,255,255,0.55); }
.rc-hero.is-light .rc-hero-badges .ti { color: #fff; }
.rc-hero-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; background: var(--line-green); color: #fff; padding: 15px 36px; border-radius: 30px; font-size: 15px; font-weight: 500; box-shadow: 0 10px 26px rgba(6, 199, 85, 0.22); transition: transform .15s ease; }
.rc-hero-btn:active { transform: scale(0.98); }
/* 画像バナー方式（文字なし）。背景画像はそのまま、フィルターだけ外す。
   高さの決まり方は文字ありのときと同じなので、FVが消えることはありません。 */
.rc-hero-banner { display: block; }
a.rc-hero-banner { cursor: pointer; }
.rc-hero-banner::before { display: none; }

/* 画面には出さないが、検索エンジンと読み上げソフトには読ませる見出し用 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* もう一方の職種ページへの案内（ヒーローのすぐ下の細い帯）
   例：美容師ページに「アイリストの募集はこちら」 */
.rc-otherjob { background: var(--accent-soft); text-align: center; padding: 0 16px; border-bottom: 1px solid rgba(201, 111, 74, 0.16); }
.rc-otherjob a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 6px; font-size: 13.5px; color: var(--accent-dark);
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(201, 111, 74, 0.4);
}
.rc-otherjob a:hover { text-decoration-color: var(--accent); }
.rc-otherjob .ti { font-size: 16px; }

/* ヒーロー直下のアンカーナビ（ページ内の目次）
   区切り線だけのテキストリンクだと押せることが伝わらないので、
   ベージュ帯の上に白いピル型ボタンを浮かせる。 */
.rc-anchor { background: var(--beige); padding: 20px 16px 22px; }
.rc-anchor ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }
.rc-anchor a {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(201, 111, 74, 0.30);
  padding: 11px 20px; border-radius: 30px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.5px;
  box-shadow: 0 2px 7px rgba(143, 74, 46, 0.07);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.rc-anchor a .ti { font-size: 16px; color: var(--accent); transition: color .2s ease; }
.rc-anchor a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.rc-anchor a:hover .ti { color: #fff; }
.rc-anchor a:active { transform: scale(0.97); }

/* ===== お悩み（Problem）===== */
/* 見出しの上に置くイラスト・写真。白背景のイラストでも背景に馴染ませる */
.worry-illust { display: block; width: 220px; height: auto; margin: -14px auto 22px; mix-blend-mode: multiply; }
.worry-list { max-width: 620px; margin: 0 auto; list-style: none; padding: 0; }
.worry-list li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; font-size: 15px; color: var(--ink); border: 1px solid rgba(143, 74, 46, 0.09); }
.worry-list .ti { color: var(--accent); font-size: 22px; flex-shrink: 0; }
.worry-close { text-align: center; font-family: var(--font-head); font-size: 17px; color: var(--accent-dark); font-weight: 500; margin: 30px 0 0; line-height: 1.9; }

/* ===== 代表メッセージ（Affinity）===== */
.msg-wrap { display: flex; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; }
.msg-photo { flex: 0 0 38%; }
.msg-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; display: block; }
.msg-body { flex: 1; min-width: 0; }
.msg-title { font-family: var(--font-head); font-size: 23px; color: var(--ink); font-weight: 500; line-height: 1.7; letter-spacing: 1px; margin: 0 0 20px; }
.msg-text { font-size: 15px; color: var(--text); line-height: 2.05; margin: 0; white-space: pre-line; }
.msg-sign { display: block; text-align: right; font-size: 13px; color: var(--accent-dark); margin: 24px 0 0; letter-spacing: 1px; }
.msg-sns { text-align: right; margin: 12px 0 0; }
.msg-sns a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent-dark); border: 1px solid var(--accent); padding: 7px 18px; border-radius: 20px; }
.msg-noimg .msg-wrap { display: block; max-width: 700px; }
.msg-noimg .msg-title { text-align: center; }

/* ===== 選ばれる理由（Solution）===== */
.rc-reasons { display: flex; flex-direction: column; gap: 20px; max-width: 860px; margin: 0 auto; }
.rc-reason { display: flex; gap: 28px; align-items: center; background: #fff; border: 1px solid rgba(143, 74, 46, 0.10); border-radius: 20px; padding: 28px 26px; }
/* 写真を入れたカードは、写真と文章を左右に並べる。偶数番目は左右を入れ替えて
   ページ全体がジグザグになるようにする（写真が無いカードは影響を受けない）。 */
.rc-reason.has-photo { padding: 22px; }
.rc-reason.has-photo:nth-child(even) { flex-direction: row-reverse; }
.rc-reason-photo { flex: 0 0 40%; }
.rc-reason-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.rc-reason-body { flex: 1; min-width: 0; }
.rc-reason-num { display: flex; align-items: baseline; gap: 9px; font-family: var(--font-en); font-size: 12.5px; line-height: 1.2; color: var(--accent); letter-spacing: 2px; margin: 0 0 8px; }
.rc-reason-num b { font-size: 27px; font-weight: 500; letter-spacing: 1px; }
.rc-reason h3 { font-family: var(--font-head); font-size: 19px; color: var(--ink); font-weight: 500; margin: 0 0 10px; line-height: 1.6; }
.rc-reason p { font-size: 14.5px; color: var(--text); line-height: 1.95; margin: 0; }

/* ===== サロンの雰囲気（ギャラリー）===== */
.rc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.rc-gallery-item { margin: 0; }
.rc-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; }
.rc-gallery-item figcaption { font-size: 12.5px; color: var(--text); text-align: center; margin: 9px 0 0; line-height: 1.7; }

/* ===== 数字で見る ===== */
.rc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.rc-stat { background: #fff; border: 1px solid rgba(143, 74, 46, 0.10); border-radius: 20px; padding: 26px 14px; text-align: center; }
.rc-stat-label { font-size: 12.5px; color: var(--text); margin: 0 0 8px; letter-spacing: 0.5px; }
.rc-stat-value { font-family: var(--font-head); font-size: 32px; line-height: 1.2; color: var(--accent-dark); font-weight: 500; margin: 0; letter-spacing: 1px; }
.rc-stat-value small { font-size: 15px; margin-left: 2px; }
.rc-stat-note { font-size: 11.5px; color: #9aa3ab; margin: 8px 0 0; line-height: 1.6; }

/* 注記（数字の根拠・法令上の但し書きなど）*/
.rc-note { font-size: 12px; color: #9aa3ab; text-align: center; line-height: 1.85; margin: 20px auto 0; max-width: 760px; }
.rc-note-left { text-align: left; }

/* ===== スタッフの声 ===== */
.rc-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.rc-voice { position: relative; background: #fff; border: 1px solid rgba(143, 74, 46, 0.10); border-radius: 20px; padding: 26px 24px; }
.rc-voice::before { content: "\201C"; position: absolute; top: 12px; right: 20px; font-family: var(--font-head); font-size: 46px; line-height: 1; color: var(--accent-soft); }
.rc-voice-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
/* 写真が無いときは、人型アイコンを置くだけなので小さい丸のまま。
   大きい空の丸を並べても意味がないため。 */
.rc-voice-av { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.rc-voice-av .ti { font-size: 22px; }
.rc-voice-av img { width: 100%; height: 100%; object-fit: cover; }
/* 顔写真を入れたときは大きく出す。
   求人サイトでは「誰と働くのか」が伝わることが一番大事なので、
   アイコンサイズのままだと顔が見えず意味がない。 */
.rc-voice.has-photo .rc-voice-head { gap: 16px; margin-bottom: 18px; }
.rc-voice.has-photo .rc-voice-av { width: 96px; height: 96px; box-shadow: 0 4px 14px rgba(143, 74, 46, 0.16); }
.rc-voice.has-photo .rc-voice-name { font-size: 16.5px; }
.rc-voice.has-photo .rc-voice-meta { font-size: 13px; }
.rc-voice-who { min-width: 0; }
.rc-voice-name { font-size: 14.5px; color: var(--ink); font-weight: 500; margin: 0; }
.rc-voice-meta { font-size: 12px; color: var(--accent-dark); margin: 2px 0 0; }
.rc-voice p { position: relative; font-size: 14px; color: var(--text); line-height: 1.95; margin: 0; white-space: pre-line; }

/* ===== 1日の流れ（タイムライン）=====
   縦線と丸は .rc-tl-body を基準に描くので、左の時刻の桁数が変わってもズレません。 */
.rc-timeline { max-width: 680px; margin: 0 auto; }
.rc-tl-item { display: flex; gap: 20px; padding-bottom: 30px; }
.rc-tl-item:last-child { padding-bottom: 0; }
.rc-tl-time { flex: 0 0 62px; text-align: right; font-family: var(--font-en); font-size: 15px; color: var(--accent-dark); padding-top: 2px; letter-spacing: 0.5px; }
.rc-tl-body { position: relative; flex: 1; min-width: 0; padding-left: 26px; }
/* 次の項目へつながる縦線 */
.rc-tl-body::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: -30px; width: 1.5px; background: var(--accent-soft); }
.rc-tl-item:last-child .rc-tl-body::before { display: none; }
/* 丸 */
.rc-tl-body::after { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.rc-tl-title { font-size: 16px; color: var(--ink); font-weight: 500; margin: 0 0 4px; }
.rc-tl-desc { font-size: 13.5px; color: var(--text); line-height: 1.85; margin: 0; }
.rc-tl-photo { margin: 12px 0 0; }
.rc-tl-photo img { width: 100%; max-width: 380px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }

/* ===== 募集要項（職種ごとのまとまり＋雇用形態の切替タブ＋テーブル）===== */
/* 職種のまとまり。2つ以上あるときは間隔をあけて区切る */
.rc-terms-group + .rc-terms-group { margin-top: 52px; padding-top: 46px; border-top: 1px dashed rgba(143, 74, 46, 0.22); }
.rc-terms-group-name {
  text-align: center; font-family: var(--font-head); font-size: 21px; font-weight: 600;
  color: var(--ink); margin: 0 0 20px; letter-spacing: 1px;
}
.rc-terms-group-name::before {
  content: ""; display: block; width: 34px; height: 2px;
  background: var(--accent); border-radius: 2px; margin: 0 auto 14px;
}
.rc-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 auto 28px; }
.rc-tab {
  background: #fff; border: 1px solid var(--accent); color: var(--accent-dark);
  font-size: 14px; font-family: inherit; padding: 11px 26px; border-radius: 26px;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.rc-tab:hover { background: var(--accent-soft); }
.rc-tab.is-active { background: var(--accent); color: #fff; }
.rc-terms { max-width: 800px; margin: 0 auto; }
.rc-terms-panel[hidden] { display: none; }
/* 角丸は table ではなく、この外側の div にかける。
   border-collapse: collapse の table は overflow: hidden でセルを切り抜けず、
   濃い色の項目名（th）だけ角が四角いまま残ってしまうため。 */
.rc-terms-table { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.rc-terms table { width: 100%; border-collapse: collapse; background: #fff; }
.rc-terms th, .rc-terms td { border-bottom: 0.5px solid #EADFD5; padding: 15px 18px; font-size: 14px; text-align: left; vertical-align: top; line-height: 1.85; }
.rc-terms th { width: 190px; background: var(--deep); color: #fff; font-weight: 500; letter-spacing: 0.5px; border-bottom-color: rgba(255,255,255,0.14); }
.rc-terms td { color: var(--text); white-space: pre-line; }
.rc-terms tr:last-child th, .rc-terms tr:last-child td { border-bottom: 0; }
.rc-terms-title { text-align: center; font-family: var(--font-head); font-size: 19px; color: var(--ink); font-weight: 500; margin: 0 0 16px; }

/* ===== 応募の流れ（ステップ）===== */
.rc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.rc-step { background: #fff; border: 1px solid rgba(143, 74, 46, 0.10); border-radius: 20px; padding: 28px 20px 24px; text-align: center; position: relative; }
.rc-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 19px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(201, 111, 74, 0.22); }
/* 写真を入れたステップは、写真を上いっぱいに出し、番号を写真に重ねる */
.rc-step.has-photo { padding-top: 0; overflow: hidden; }
.rc-step-photo { margin: 0 -20px; }
.rc-step-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rc-step.has-photo .rc-step-num { margin-top: -22px; position: relative; z-index: 1; border: 3px solid #fff; width: 48px; height: 48px; }
.rc-step h3 { font-size: 16px; color: var(--ink); font-weight: 500; margin: 0 0 8px; }
.rc-step p { font-size: 13.5px; color: var(--text); line-height: 1.85; margin: 0; }

/* ===== こんな方を募集（Narrowing）===== */
.rc-target-photo { max-width: 640px; margin: 0 auto 24px; }
.rc-target-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; display: block; }
.rc-target { max-width: 640px; margin: 0 auto; background: #fff; border: 1.5px solid var(--accent); border-radius: 22px; padding: 34px 32px; }
.rc-target ul { list-style: none; margin: 0; padding: 0; }
.rc-target li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink); padding: 11px 0; border-bottom: 0.5px dashed #EADFD5; line-height: 1.8; }
.rc-target li:last-child { border-bottom: 0; }
.rc-target .ti { color: var(--accent); font-size: 20px; flex-shrink: 0; margin-top: 3px; }
/* 募集人数・募集時期（実際に決まっているときだけ表示される）*/
.rc-limit { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 14px; max-width: 640px; margin: 20px auto 0; }
.rc-limit p { display: inline-flex; align-items: center; gap: 8px; background: var(--deep); color: #fff; font-size: 13.5px; padding: 10px 20px; border-radius: 28px; margin: 0; }
.rc-limit .ti { font-size: 17px; color: #e0b8a4; }
.rc-limit-label { opacity: .78; font-size: 12.5px; }
.rc-limit b { font-weight: 500; letter-spacing: 0.5px; }
.rc-target-close { text-align: center; font-family: var(--font-head); font-size: 16px; color: var(--accent-dark); margin: 24px 0 0; line-height: 1.9; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 0.5px solid #EADFD5; }
.faq-q {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 6px; cursor: pointer; list-style: none;
  font-size: 16px; color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-mark { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.faq-mark.a { background: var(--accent); color: #fff; }
.faq-arrow { margin-left: auto; color: var(--accent); transition: transform .25s ease; }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-a { display: flex; align-items: flex-start; gap: 12px; padding: 0 6px 22px; font-size: 14px; color: var(--text); line-height: 1.9; white-space: pre-line; }

/* ===== 最終CTA ===== */
.cta-band { position: relative; max-width: 720px; margin: 0 auto; background: var(--accent); border-radius: 28px; padding: 56px 32px; text-align: center; color: #fff; }
/* 背景写真を入れたとき。写真の上に暗い膜をかけて文字を読めるようにする */
.cta-band.has-photo { background-size: cover; background-position: center; overflow: hidden; }
.cta-band.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(74,59,51,0.62), rgba(74,59,51,0.72)); }
.cta-band.has-photo > * { position: relative; z-index: 1; }
.cta-band .cta-eyebrow { font-family: var(--font-en); font-size: 12px; letter-spacing: 3px; opacity: .85; margin: 0 0 14px; }
.cta-band h2 { font-family: var(--font-head); font-size: 26px; margin: 0 0 12px; font-weight: 500; color: #fff; letter-spacing: 1px; line-height: 1.6; }
.cta-band .cta-lead { margin: 0 0 30px; opacity: .94; font-size: 15px; line-height: 1.95; white-space: pre-line; }
.cta-btns { display: flex; gap: 12px; justify-content: center; max-width: 460px; margin: 0 auto; }
.cta-btns a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 18px; border-radius: 30px; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform .15s ease;
}
.cta-btns a:active { transform: scale(0.98); }
.cta-btns .line { background: var(--line-green); color: #fff; }
.cta-btns .tel { background: #fff; color: var(--accent-dark); }
.cta-btns .ig { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.75); color: #fff; }
.cta-lineid { margin: 22px 0 0; font-size: 13px; opacity: .9; }

/* ===== 募集店舗 ===== */
.shops-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.shop-card { background: #fff; border: 1px solid rgba(143, 74, 46, 0.10); border-radius: 20px; overflow: hidden; text-align: center; padding-bottom: 22px; }
.shop-thumb { aspect-ratio: 16 / 10; background: var(--accent-soft); }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.shop-thumb-ph .ti { font-size: 38px; color: #dcc0b0; }
.shop-name { font-family: var(--font-head); font-size: 18px; color: var(--ink); margin: 16px 0 4px; font-weight: 500; }
.shop-role { font-size: 12px; color: var(--accent-dark); background: var(--accent-soft); display: inline-block; padding: 4px 14px; border-radius: 20px; margin: 0 0 12px; }
.shop-detail { text-align: left; margin: 0 22px; font-size: 13px; color: var(--text); }
.shop-detail p { margin: 5px 0; display: flex; align-items: baseline; gap: 8px; line-height: 1.7; }
.shop-detail .ti { color: var(--accent); flex-shrink: 0; }
.shop-detail a { color: inherit; text-decoration: underline; }
.shop-btns { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
.shop-ig { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent-dark); background: #fff; border: 1px solid var(--accent); padding: 7px 20px; border-radius: 20px; }

/* ===== フッター ===== */
.site-footer { background: var(--deep); color: #cfd6dc; text-align: center; padding: 48px 20px 90px; }
.footer-logo { font-family: var(--font-head); font-size: 21px; letter-spacing: 3px; color: #fff; margin-bottom: 16px; }
.footer-shops { display: flex; gap: 44px; justify-content: center; flex-wrap: wrap; font-size: 13px; line-height: 2; text-align: center; }
.footer-shop .fs-name { font-family: var(--font-head); color: #fff; font-size: 15px; letter-spacing: 2px; margin: 0 0 4px; }
.footer-shop a { color: inherit; text-decoration: underline; }
.footer-info { font-size: 13px; line-height: 2; }
.footer-sns { margin-top: 18px; display: flex; gap: 18px; justify-content: center; font-size: 22px; }
.footer-links { margin-top: 18px; font-size: 12.5px; }
.footer-links a { text-decoration: underline; }
.footer-copy { margin-top: 22px; font-size: 11px; color: #8e99a3; }

/* ===== 追従バー（スマホは常時／PCは設定で切替）===== */
.fixed-cta { display: none; }

/* ===== 固定ページ・投稿の本文 ===== */
.page-body { max-width: 760px; margin: 0 auto; padding: 60px 20px; }
.page-body h1 { font-family: var(--font-head); font-size: 28px; color: var(--ink); font-weight: 500; }
.page-body img { border-radius: 10px; margin: 16px 0; }
.page-body h2, .single-content h2 { font-family: var(--font-head); font-size: 22px; color: var(--ink); font-weight: 500; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-soft); }
.page-body h3, .single-content h3 { font-size: 18px; color: var(--ink); font-weight: 500; margin: 28px 0 10px; }
.page-body p, .single-content p { margin: 0 0 18px; line-height: 1.95; }
.page-body ul, .page-body ol, .single-content ul, .single-content ol { margin: 0 0 18px; padding-left: 1.4em; line-height: 1.9; }
.page-body table, .single-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.page-body th, .page-body td, .single-content th, .single-content td { border: 0.5px solid #EADFD5; padding: 10px 12px; font-size: 14px; text-align: left; }
.page-body th, .single-content th { background: var(--beige); }

/* ブログ一覧（スタッフブログ・お知らせ用）*/
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.blog-card { display: block; color: inherit; }
.blog-thumb { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--accent-soft); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-thumb-ph .ti { font-size: 34px; color: #dcc0b0; }
.blog-date { font-family: var(--font-en); font-size: 12px; letter-spacing: 1px; color: var(--accent); display: block; margin-top: 12px; }
.blog-title { font-family: var(--font-head); font-size: 17px; color: var(--ink); font-weight: 500; margin: 6px 0; line-height: 1.6; }
.blog-excerpt { font-size: 13px; color: var(--text); line-height: 1.8; margin: 0; }
.blog-card:hover .blog-title { color: var(--accent); }
.blog-pagination { text-align: center; margin-top: 44px; }
.blog-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border-radius: 8px; border: 0.5px solid var(--accent); color: var(--accent-dark); font-size: 14px; }
.blog-pagination .page-numbers.current { background: var(--accent); color: #fff; }

/* 記事ページ */
.post-single { max-width: 760px; }
.single-date { text-align: center; color: var(--accent); }
.single-title { font-family: var(--font-head); font-size: 26px; color: var(--ink); font-weight: 500; text-align: center; line-height: 1.5; margin: 6px 0 24px; }
.single-thumb { border-radius: 18px; overflow: hidden; margin-bottom: 28px; }
.single-content { font-size: 16px; color: var(--text); }
.single-content img { border-radius: 10px; margin: 10px 0; }
.single-content a { color: var(--accent-dark); text-decoration: underline; }
.single-back { text-align: center; margin-top: 40px; }
.single-back a { color: var(--accent-dark); font-size: 14px; }

/* ===== 白いセクションの中の白カードが沈まないようにする =====
   セクション背景は lumiere_alt_bg() で自動的に白／ベージュが交互になるため、
   白セクションのときだけカードをうっすら色付けして輪郭を保ちます。 */
.section:not(.beige) .worry-list li,
.section:not(.beige) .rc-reason,
.section:not(.beige) .rc-stat,
.section:not(.beige) .rc-voice,
.section:not(.beige) .rc-step,
.section:not(.beige) .shop-card { background: var(--accent-soft); }
/* 写真入りのステップは写真が主役なので、カード自体は白のままにする */
.section:not(.beige) .rc-step.has-photo { background: #fff; }
/* 募集要項テーブルは白のままにする（読みやすさ優先）*/
.section:not(.beige) .rc-terms table { background: #fff; }

/* ===== レスポンシブ（スマホ）===== */
@media (max-width: 768px) {
  .global-nav { display: none; }
  .global-nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    position: absolute; top: 100%; right: 16px;
    background: #fff; padding: 18px 26px;
    border-radius: 16px; box-shadow: 0 10px 28px rgba(74, 59, 51, 0.13);
    z-index: 200;
  }
  .global-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-toggle { display: block; }
  /* 余白は :root の clamp() が自動で縮むので、ここでは指定しません */
  .section-title { font-size: 22px; }
  /* スマホは1行が短く行数が増えるため、リード文の中央揃えを解除して左に。
     中央のまま行数が増えると、行頭がガタついて読みにくくなります。 */
  .section-lead { font-size: 14.5px; margin-bottom: 32px; text-align: left; max-width: none; }

  /* ヒーロー：スマホは画面幅に対して4:5の高さに（4:5の画像が切れずに収まる）*/
  .rc-hero { aspect-ratio: 4 / 5; min-height: 420px; }
  /* トップページのFVだけ画面いっぱいに近い高さにする
     （実際の高さは カスタマイズ →「2. ヒーロー」の「トップのFVの高さ（スマホ）」で調整）*/
  .home .rc-hero { aspect-ratio: auto; min-height: 600px; }
  .rc-hero-inner { padding: 28px 18px; }
  /* 文字間が広いままだと「募集」だけ次の行に落ちるので、スマホでは詰める */
  .rc-hero-eyebrow { font-size: 11.5px; letter-spacing: 2px; }
  .rc-hero-btn { margin-top: 22px; padding: 14px 30px; font-size: 14.5px; }
  .rc-hero-badges { gap: 6px; margin-top: 18px; }
  .rc-hero-badges span { font-size: 11.5px; padding: 5px 12px; }

  /* 目次のボタン：スマホでは横並びだと3行に折れて散らかるので、2列の等幅に揃える。
     項目数が奇数のときは、最後の1つだけ横いっぱいに広げる。 */
  .rc-anchor { padding: 16px 16px 18px; }
  .rc-anchor ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rc-anchor li:last-child:nth-child(odd) { grid-column: span 2; }
  .rc-anchor a { justify-content: center; width: 100%; padding: 12px 8px; font-size: 12.5px; gap: 6px; }
  .rc-anchor a .ti { font-size: 15px; }

  .msg-wrap { flex-direction: column; gap: 24px; }
  .msg-photo { flex: none; width: 100%; }
  .msg-photo img { aspect-ratio: 4 / 3; border-radius: 18px; }
  .msg-title { font-size: 20px; margin-bottom: 16px; text-align: center; }
  .msg-text { font-size: 14.5px; line-height: 1.95; }
  /* 右寄せのままだと左側が大きく空くので、スマホでは中央に置く */
  .msg-sns { text-align: center; }

  /* 理由カード：スマホでは写真を上、文章を下に縦積み（左右交互は解除）*/
  .rc-reason,
  .rc-reason.has-photo:nth-child(even) { flex-direction: column; align-items: stretch; gap: 16px; }
  .rc-reason { padding: 24px 20px; }
  .rc-reason.has-photo { padding: 18px; }
  .rc-reason-photo { flex: none; width: 100%; }
  .rc-reason-num b { font-size: 24px; }

  /* スタッフの顔写真：スマホはカードが全幅になるので、もう一回り大きく出す */
  .rc-voice.has-photo .rc-voice-av { width: 100px; height: 100px; }
  .rc-voice.has-photo .rc-voice-name { font-size: 16px; }

  /* ギャラリー：2列に */
  .rc-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rc-gallery-item figcaption { font-size: 11.5px; margin-top: 7px; }

  .worry-illust { width: 170px; margin-bottom: 18px; }
  .rc-target-photo { margin-bottom: 20px; }
  .rc-tl-photo img { max-width: 100%; }
  .rc-step-photo { margin: 0 -20px; }

  /* 数字：2列に。「完全週休2日」のような長い値が2行に折れてカードの高さが
     揃わなくなるため、文字を少し小さくして横幅を確保する */
  .rc-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rc-stat { padding: 22px 8px; }
  .rc-stat-value { font-size: 23px; letter-spacing: 0; }
  .rc-stat-label { font-size: 12px; }
  .rc-stat-note { font-size: 11px; }

  /* 1日の流れ：時刻の幅と間隔を詰める（縦線・丸は .rc-tl-body 基準なので追従します）*/
  .rc-tl-item { gap: 12px; padding-bottom: 24px; }
  .rc-tl-time { flex-basis: 50px; font-size: 13.5px; }
  .rc-tl-body { padding-left: 22px; }
  .rc-tl-body::before { bottom: -24px; }

  /* 募集要項：スマホでは項目名を上、内容を下の縦積みにする（横スクロール回避）*/
  .rc-terms table, .rc-terms tbody, .rc-terms tr, .rc-terms th, .rc-terms td { display: block; width: auto; }
  /* 角丸は外側の .rc-terms-table が持っているので、ここでは指定しません */
  .rc-terms th { width: auto; padding: 11px 16px; font-size: 13.5px; }
  .rc-terms td { padding: 14px 16px 18px; background: #fff; }
  .rc-tab { padding: 10px 20px; font-size: 13.5px; }
  /* 職種名が長いとスマホで窮屈になるので少し小さく */
  .rc-terms-group-name { font-size: 18px; letter-spacing: 0; }
  .rc-terms-group + .rc-terms-group { margin-top: 40px; padding-top: 36px; }

  .rc-target { padding: 26px 22px; }
  .rc-target li { font-size: 14.5px; }

  /* セクション末尾CTA：スマホでは縦積み・幅広め */
  .section-cta a { width: 100%; max-width: 320px; justify-content: center; }

  /* 最終CTA：スマホでは縦に等幅 */
  .cta-band { padding: 44px 22px; border-radius: 20px; margin: 0 16px; }
  .cta-band h2 { font-size: 21px; }
  .cta-btns { flex-direction: column; max-width: 320px; }
  .cta-btns a { width: 100%; }

  /* スマホの画面下に追従するバー */
  .fixed-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(74, 59, 51, 0.16);
  }
  .fixed-cta a {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    /* 下端の余白はボタンの色で埋める（iPhoneのホームバー対応）*/
    padding: 11px 4px calc(11px + env(safe-area-inset-bottom));
    color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 1px;
  }
  .fixed-cta a .ti { font-size: 23px; display: block; }
  .fixed-cta a.tel  { background: var(--rose); }
  .fixed-cta a.line { background: var(--line-green); }
  .fixed-cta a.ig   { background: linear-gradient(45deg, #F09433 0%, #DC2743 55%, #BC1888 100%); }
  .fixed-cta a + a { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.3); }
  .fixed-cta a:active { filter: brightness(0.95); }

  /* 追従バーに隠れないよう本文下に余白 */
  body { padding-bottom: 84px; }
}

/* ===== パソコンでの追従バー ===== */
@media (min-width: 769px) {
  body.has-pc-cta { padding-bottom: 84px; }
  body.has-pc-cta .fixed-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }
  body.has-pc-cta .fixed-cta a {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    padding: 13px 4px;
    color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 1px;
    transition: filter .15s ease;
  }
  body.has-pc-cta .fixed-cta a .ti { font-size: 24px; display: block; }
  body.has-pc-cta .fixed-cta a.tel  { background: var(--rose); }
  body.has-pc-cta .fixed-cta a.line { background: var(--line-green); }
  body.has-pc-cta .fixed-cta a.ig   { background: linear-gradient(45deg, #F09433 0%, #DC2743 55%, #BC1888 100%); }
  body.has-pc-cta .fixed-cta a + a { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.3); }
  body.has-pc-cta .fixed-cta a:hover { filter: brightness(1.06); }
}

html { scroll-behavior: smooth; }
/* 追従ヘッダーにアンカー先が隠れないようにする */
[id] { scroll-margin-top: 78px; }

/* ===== 見出しの太さ =====
 * Klee One は 400 と 600 の2種類しかありません。
 * 500 を指定すると 400 が使われて細く見えるため、見出しは 600 に揃えます。 */
.section-title, .rc-hero-title, .msg-title, .rc-reason h3, .rc-terms-title,
.rc-target-close, .worry-close, .cta-band h2, .shop-name, .footer-logo,
.footer-shop .fs-name, .blog-title, .single-title, .rc-stat-value,
.page-body h1, .page-body h2, .single-content h2 { font-weight: 600; }



/* =============================================================
   ここから下が SP改善版で追加した分（2026-09-21）
   ============================================================= */

/* =============================================================
   tomei-gray.net  SP改善パッチ（2026-09-21）
   テーマ tomei-recruit の style.css の「あと」に読み込む前提。
   WordPressでは「外観 → カスタマイズ → 追加CSS」に貼るか、
   子テーマの style.css に追記して使う。既存の宣言は書き換えていない。

   対応範囲
     3. 給与・休日・勤務条件の要約（冒頭直下）
     4. スタッフの声の編集見出し
     5. 固定バーをLINE中心に整理
     6. 募集要項・FAQ・店舗紹介の読みやすさ
     ＋ 本文の文字サイズ／注記のコントラスト／横スクロール／
        アンカー位置／固定バーの下余白（safe-area）
   ※ ヒーロー（項目1・2）はこのパッチでは変更していない。
   ============================================================= */


/* -------------------------------------------------------------
   0. 共通：横はみ出しを「隠さずに」止める
   overflow-x:hidden で見た目だけ隠すと、文字やボタンが切れたまま
   気づけなくなるので、はみ出す原因のほうを止める。
   ------------------------------------------------------------- */
.rc-terms td,
.rc-terms th,
.rc-voice p,
.shop-detail span,
.footer-shop {
  overflow-wrap: anywhere;
  word-break: normal;
}
/* 半角の長い英数字（LINE ID・URL・メールなど）だけが原因のはみ出しを防ぐ */
.rc-step p,
.rc-final-sub,
.faq-a span {
  overflow-wrap: anywhere;
}


/* -------------------------------------------------------------
   1. 注記の色と大きさ
   元の #9aa3ab は白背景でコントラスト比 約2.6:1 で読みにくい。
   本文色（#6B5D54 ＝ 白背景で 約6.3:1）に寄せ、12px→13pxにする。
   ------------------------------------------------------------- */
.rc-note,
.rc-stat-note {
  color: var(--text);
  font-size: 13px;
}
.footer-copy {
  color: #aeb6bd;   /* --deep 背景で 約5.2:1 */
  font-size: 12px;
}


/* =============================================================
   項目3：給与・休日・勤務の条件要約（冒頭直下）
   ============================================================= */
.rc-summary-sec { background: var(--accent-soft); }
.rc-summary-sec .section-lead { margin-bottom: 26px; }

.rc-sum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.rc-sum-card {
  background: #fff;
  border: 1px solid rgba(143, 74, 46, 0.16);
  border-radius: 20px;
  padding: 22px 20px 18px;
}
.rc-sum-type {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 15px; color: var(--ink); margin: 0 0 14px;
}
.rc-sum-badge {
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  padding: 5px 14px; border-radius: 20px; line-height: 1.6;
}
.rc-sum-badge.is-part { background: var(--deep); }

.rc-sum-list { margin: 0; padding: 0; }
.rc-sum-row {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 4px 12px;
  padding: 11px 0;
  border-bottom: 0.5px dashed #EADFD5;
}
.rc-sum-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.rc-sum-row dt {
  font-size: 13.5px; color: var(--accent-dark); font-weight: 500;
  line-height: 1.7; padding-top: 1px;
}
.rc-sum-row dd {
  margin: 0; font-size: 15px; color: var(--text); line-height: 1.75;
}
.rc-sum-row dd b { color: var(--ink); font-weight: 600; }
.rc-sum-note {
  display: block; font-size: 12.5px; color: var(--text);
  line-height: 1.7; margin-top: 3px; opacity: 0.92;
}

/* 2行に折り返しても矢印が本文から離れないよう、ブロック＋インライン配置にする */
.rc-sum-link {
  display: block; text-align: center;
  margin-top: 16px; padding: 13px 14px;
  background: var(--accent-soft); color: var(--accent-dark);
  border: 1px solid rgba(201, 111, 74, 0.45);
  border-radius: 26px; font-size: 14px; font-weight: 500; line-height: 1.6;
  transition: background .2s ease, color .2s ease;
}
.rc-sum-link .ti { font-size: 17px; vertical-align: -3px; margin-left: 2px; }
.rc-sum-link:hover,
.rc-sum-link:focus-visible { background: var(--accent); color: #fff; border-color: var(--accent); }
.rc-sum-link:active { transform: scale(0.99); }

/* 職種の分岐（アイデザイナー）。冒頭付近から別ページへ渡す細い案内 */
.rc-sum-foot {
  max-width: 900px; margin: 18px auto 0;
  font-size: 13.5px; line-height: 1.85; color: var(--text); text-align: center;
}
.rc-sum-foot .ti { color: var(--accent); font-size: 16px; vertical-align: -2px; margin-right: 4px; }
.rc-sum-foot a {
  color: var(--accent-dark); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-color: rgba(201, 111, 74, 0.5);
  white-space: nowrap;
}
.rc-sum-foot a:hover { text-decoration-color: var(--accent); }


/* =============================================================
   項目4：スタッフの声に、体験の要点が伝わる短い見出しを足す
   ・見出しは編集側の要約。本人の逐語引用ではないので、
     引用符の装飾（.rc-voice::before）とは重ねない。
   ============================================================= */
.rc-voice-lead {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 600; line-height: 1.55;
  color: var(--accent-dark);
  margin: 0 0 6px;
  text-wrap: pretty;
}
.rc-voice.has-photo .rc-voice-head { align-items: flex-start; }
.rc-voice.has-photo .rc-voice-av { margin-top: 2px; }
.rc-voice-who { flex: 1; }
/* 引用符が見出しに重ならないよう、右上から少しどける */
.rc-voice::before { top: 6px; right: 12px; opacity: 0.85; }
.rc-voice-disclaimer { text-align: left; margin-top: 22px; }


/* =============================================================
   項目6：募集要項・FAQ・店舗紹介の読みやすさ
   ============================================================= */
/* 募集要項：選択中の雇用形態が分かるように、タブの当たり判定も広げる */
.rc-tab { min-height: 46px; }
.rc-tab:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

/* 店舗カード：職種が違う店舗は注記を添えて、条件の取り違えを防ぐ */
.shop-note {
  font-size: 12.5px; line-height: 1.7; color: var(--accent-dark);
  background: var(--accent-soft); border-radius: 12px;
  margin: 12px 22px 0; padding: 9px 12px; text-align: left;
}
.section.beige .shop-note { background: #FBF3EC; }
.shop-terms-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 500;
  padding: 11px 20px; border-radius: 22px;
}
.shop-terms-link .ti { font-size: 16px; }
.shop-terms-link:active { transform: scale(0.99); }

/* FAQ：開閉ボタンの当たり判定とフォーカス表示 */
.faq-q { min-height: 56px; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: -2px; border-radius: 8px; }


/* =============================================================
   最後のLINE（見学・相談の流れの直後）
   ============================================================= */
.rc-final-cta {
  max-width: 560px; margin: 32px auto 0;
  background: #fff; border: 1.5px solid var(--accent);
  border-radius: 22px; padding: 26px 22px; text-align: center;
}
.rc-final-lead { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.rc-final-line {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--line-green); color: #fff;
  padding: 17px 24px; border-radius: 30px;
  font-size: 16px; font-weight: 500;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.22);
}
.rc-final-line .ti { font-size: 23px; }
.rc-final-line:active { transform: scale(0.99); }
.rc-final-sub { margin: 14px 0 0; font-size: 13px; color: var(--text); line-height: 1.8; }
.rc-final-sub a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }


/* =============================================================
   項目5：固定バーを「LINEで見学・相談」中心にする（スマホ）
   ============================================================= */
@media (max-width: 768px) {
  .fixed-cta--line a.line {
    flex: 2.1 1 0;
    flex-direction: row; gap: 8px;
    font-size: 15px; letter-spacing: 0.5px;
    /* 下端の余白はボタンの色で埋める（iPhoneのホームバー対応）*/
    padding: 15px 8px calc(15px + env(safe-area-inset-bottom));
  }
  .fixed-cta--line a.line .ti { font-size: 24px; }
  .fixed-cta--line a.terms {
    flex: 1 1 0;
    flex-direction: row; gap: 6px;
    background: var(--beige); color: var(--accent-dark);   /* ベージュ上の濃茶で 約5.5:1 */
    font-size: 13.5px; letter-spacing: 0;
    padding: 15px 6px calc(15px + env(safe-area-inset-bottom));
  }
  .fixed-cta--line a.terms .ti { font-size: 20px; color: var(--accent); }
  .fixed-cta--line a + a { box-shadow: inset 1px 0 0 rgba(143, 74, 46, 0.18); }
  .fixed-cta--line a:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }

  /* 固定バーの実高さ（約58px）＋ iPhone下端 に合わせて本文の下余白を取る。
     元の 84px 固定だと、ホームバーのある端末で最後のボタンが隠れる。 */
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 40px; }
}

/* パソコン側も同じ2分割にそろえる */
@media (min-width: 769px) {
  body.has-pc-cta .fixed-cta--line a.line   { flex: 2.4 1 0; flex-direction: row; gap: 10px; font-size: 16px; }
  body.has-pc-cta .fixed-cta--line a.terms  { flex: 1 1 0;  flex-direction: row; gap: 8px; background: var(--beige); color: var(--accent-dark); }
  body.has-pc-cta .fixed-cta--line a.terms .ti { color: var(--accent); }
  body.has-pc-cta .fixed-cta--line a + a { box-shadow: inset 1px 0 0 rgba(143, 74, 46, 0.18); }
}


/* =============================================================
   スマホの読みやすさ（本文16px前後・行間・余白）
   ============================================================= */
@media (max-width: 768px) {
  /* 本文まわり。元は 13.5〜14.5px で、小さい画面では読み進めにくい */
  .rc-reason p   { font-size: 15.5px; line-height: 2.0; }
  .rc-voice p    { font-size: 15px;   line-height: 2.0; }
  .faq-a         { font-size: 15px;   line-height: 1.95; }
  .faq-q         { font-size: 15.5px; line-height: 1.6; }
  .rc-step p     { font-size: 14.5px; line-height: 1.9; }
  .shop-detail   { font-size: 14px; }
  .worry-list li { font-size: 15.5px; }
  .rc-terms th   { font-size: 14px; }
  .rc-terms td   { font-size: 15px; line-height: 1.95; }
  .rc-target li  { font-size: 15.5px; }
  .section-lead  { font-size: 15px; }

  /* 条件要約：3列に詰めず縦に置く。項目名も内容も同じ列幅で読ませる */
  .rc-sum { grid-template-columns: 1fr; gap: 14px; }
  .rc-sum-card { padding: 20px 17px 16px; }
  .rc-sum-row { grid-template-columns: 4.8em 1fr; gap: 3px 10px; }
  .rc-sum-row dt { font-size: 13px; }
  .rc-sum-row dd { font-size: 15px; }
  .rc-sum-link { font-size: 14.5px; padding: 15px 12px; }
  .rc-sum-foot { font-size: 13px; text-align: left; }
  .rc-sum-foot a { white-space: normal; }

  /* スタッフの声：写真の右に見出し、その下に氏名・勤続年数 */
  .rc-voice.has-photo .rc-voice-av { width: 84px; height: 84px; }
  .rc-voice-lead { font-size: 16px; }
  .rc-voice { padding: 22px 18px; }

  /* 店舗カード */
  .shop-name { font-size: 17px; line-height: 1.5; }
  .shop-btns { gap: 10px; }

  /* 最後のLINE */
  .rc-final-cta { padding: 24px 18px; }
  .rc-final-line { font-size: 15.5px; padding: 16px 16px; }
}

/* 360px前後のいちばん狭い画面。詰まりすぎる箇所だけ戻す */
@media (max-width: 374px) {
  .rc-sum-row { grid-template-columns: 1fr; gap: 2px; }
  .rc-sum-row dt { font-size: 12.5px; }
  .rc-sum-type { font-size: 14px; gap: 8px; }
  .rc-sum-badge { font-size: 12.5px; padding: 4px 12px; }
  .fixed-cta--line a.line { font-size: 14px; }
  .fixed-cta--line a.terms { font-size: 12.5px; }
  .section-title { font-size: 20.5px; }
}


/* =============================================================
   アンカー移動・キーボード操作
   ============================================================= */
/* 追従ヘッダー（スマホ実測 約77px）に見出しが隠れないようにする */
[id] { scroll-margin-top: 92px; }
@media (min-width: 769px) { [id] { scroll-margin-top: 96px; } }

/* hover だけに頼らず、キーボードのフォーカスでも状態が分かるようにする */
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

/* 動きを減らす設定の端末では、フェードアップの移動量を出さない */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
