/* エスエスシー東北 リニューアルMOC　画像なし・文字と色だけで組む */
:root {
  --ink: #1d2a24;
  --sub: #4d5c55;
  --line: #d6dfda;
  --bg: #ffffff;
  --bg-soft: #f3f7f4;
  --green: #1f6b4a;
  --green-dark: #154d35;
  --green-pale: #e3f0e8;
  --accent: #e8792b;
  --accent-dark: #c4601a;
  --kari: #fff3a8;
  --radius: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 17px; line-height: 1.85; letter-spacing: .02em;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
a[href^="tel:"] { white-space: nowrap; }  /* 電話番号を途中で折り返さない */
/* 電話番号の前に受話器の印を付け、押すと電話をかけられることが分かるようにする */
a[href^="tel:"]::before { content: ""; display: inline-block; width: .95em; height: .95em; margin-right: .3em; vertical-align: -.12em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* MOCの説明帯・仮の内容 */
.moc-bar { background: #2b2b2b; color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; line-height: 1.6; }
.moc-bar a { color: #ffd58a; }
mark.kari { background: var(--kari); color: inherit; padding: 0 2px; border-bottom: 1px dashed #b59a00; }
.kari-tag { display: inline-block; font-size: 11px; background: var(--kari); border: 1px solid #d8bf2f; border-radius: 4px; padding: 0 5px; margin-left: 4px; vertical-align: 2px; line-height: 1.6; }

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.header-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 8px; }
.logo { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.3; }
.logo-sub { font-size: 12px; color: var(--sub); }
.logo-name { font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.logo-name::before { content: ""; display: inline-block; width: 10px; height: 22px; background: var(--green); margin-right: 8px; vertical-align: -3px; border-radius: 2px; }
.header-tel { text-align: right; line-height: 1.3; }
.header-tel a { font-size: 20px; font-weight: 700; text-decoration: none; color: var(--green-dark); white-space: nowrap; }
.header-tel span { display: block; font-size: 12px; color: var(--sub); }
.gnav ul { display: flex; flex-wrap: wrap; gap: 2px 4px; list-style: none; margin: 0 auto; padding-bottom: 8px; }
.gnav a { display: block; padding: 6px 12px; text-decoration: none; color: var(--ink); border-radius: 6px; font-size: 15px; }
.gnav a:hover, .gnav a[aria-current="page"] { background: var(--green-pale); color: var(--green-dark); }
.gnav a.nav-saiyo { background: var(--accent); color: #fff; font-weight: 700; }
.gnav a.nav-saiyo:hover, .gnav a.nav-saiyo[aria-current="page"] { background: var(--accent-dark); color: #fff; }

/* 本文 */
main { padding-top: 24px; padding-bottom: 48px; }
.crumb { font-size: 13px; color: var(--sub); margin-bottom: 8px; }
h1 { font-size: 30px; line-height: 1.4; margin: 8px 0 16px; letter-spacing: .04em; }
h2 { font-size: 24px; line-height: 1.4; margin: 48px 0 16px; padding-left: 14px; border-left: 6px solid var(--green); }
h3 { font-size: 19px; margin: 0 0 6px; }
.summary { font-size: 18px; background: var(--bg-soft); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 24px; }
.note { font-size: 14px; color: var(--sub); }
.small { font-size: 15px; }
section { scroll-margin-top: 140px; }
[id] { scroll-margin-top: 140px; }

/* トップ */
.hero { padding: 32px 0 8px; }
.hero h1 { font-size: 38px; margin-top: 4px; }
.hero-lead, .eyebrow { color: var(--green); font-weight: 700; margin: 0; letter-spacing: .08em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--green); color: var(--green-dark); background: #fff; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.4; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--green-pale); }
.btn-main { background: var(--green); color: #fff; }
.btn-main:hover { background: var(--green-dark); color: #fff; }

.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats li { background: var(--green-pale); border-radius: var(--radius); padding: 16px; text-align: center; line-height: 1.4; }
.stats b { display: block; font-size: 40px; color: var(--green-dark); font-weight: 800; letter-spacing: 0; }
.stats span { font-size: 14px; color: var(--sub); }

.appeal h3 { font-size: 20px; color: var(--green-dark); margin: 26px 0 6px; }
.appeal p { margin: 0 0 10px; }
.appeal-end { margin-top: 24px !important; padding: 16px 20px; border-left: 4px solid var(--green); background: var(--bg-soft); font-weight: 700; border-radius: 0 var(--radius) var(--radius) 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); text-decoration: none; background: #fff; margin: 0; }
a.card { border-top: 5px solid var(--green); }
a.card:hover { border-color: var(--green); box-shadow: 0 4px 14px rgba(31,107,74,.12); color: var(--ink); }
a.card h3::after { content: " →"; color: var(--green); }
.card p { margin: 0; font-size: 15px; }
blockquote.card footer { margin-top: 10px; font-size: 13px; color: var(--sub); }

.saiyo-teaser, .saiyo-hero { margin-top: 48px; background: #fff7f0; border: 2px solid #f6cfae; border-radius: 16px; padding: 28px 28px; }
.saiyo-teaser h2 { border: 0; padding: 0; margin: 4px 0 10px; }
.saiyo-teaser .eyebrow, .saiyo-hero .eyebrow { color: var(--accent-dark); }
.saiyo-teaser .btn-main, .saiyo-hero .btn-main, .oubo .btn-main, .job .btn-main { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.saiyo-teaser .btn-main:hover, .saiyo-hero .btn-main:hover, .oubo .btn-main:hover, .job .btn-main:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.saiyo-teaser .btn, .saiyo-hero .btn { border-color: var(--accent); color: var(--accent-dark); }
.saiyo-hero { margin-top: 0; }
.saiyo-hero .big { font-size: 28px; font-weight: 800; line-height: 1.5; margin: 6px 0 12px; }

.news { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.news li { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.news time { display: inline-block; min-width: 9em; color: var(--sub); font-size: 15px; }

/* 表・定義リスト */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
caption { text-align: left; font-size: 14px; color: var(--sub); padding-bottom: 6px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--green); color: #fff; font-weight: 700; }
tbody th { background: var(--bg-soft); white-space: nowrap; }
.dl-table { display: grid; grid-template-columns: 9em 1fr; border-top: 1px solid var(--line); margin: 0; }
.dl-table dt, .dl-table dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dl-table dt { background: var(--bg-soft); font-weight: 700; }
.dl-table.small { font-size: 15px; grid-template-columns: 7em 1fr; margin: 10px 0; }
.dots { padding-left: 1.3em; }
.dots li { margin: 4px 0; }

/* 流れ */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 70px; background: #fff; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.steps li h2, .steps li h3 { margin: 4px 0 6px; padding: 0; border: 0; font-size: 19px; }
.steps li p { margin: 0; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.oubo .steps li::before { background: var(--accent); }

/* 採用 */
.toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.toc a { display: block; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; text-decoration: none; font-size: 15px; }
/* 職種のインデックス（押すと各職種のカードへ） */
.job-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 28px; }
.job-index-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; color: var(--ink); text-decoration: none; }
.job-index-card:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(232,121,43,.15); color: var(--ink); }
.job-index-card b { font-size: 17px; line-height: 1.4; }
.job-index-sum { font-size: 14px; color: var(--sub); line-height: 1.5; flex: 1; }
.job-index-go { font-size: 14px; font-weight: 700; color: var(--accent-dark); margin-top: 6px; }
.job-no { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--accent-dark); background: #fdeee2; border-radius: 999px; padding: 2px 10px; }
/* 職種カード */
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; margin: 0; scroll-margin-top: 150px; box-shadow: 0 2px 8px rgba(29,42,36,.05); }
.job-head { background: #fdf4ec; border-bottom: 1px solid #f3dcc8; padding: 16px 20px 14px; }
.job-head .job-no { background: #fff; }
.job-head h3 { margin: 6px 0 8px; font-size: 21px; line-height: 1.4; }
.job-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.job-tags li { font-size: 13px; border: 1px solid #f0c9a8; background: #fff; border-radius: 6px; padding: 1px 8px; }
.job-body { padding: 16px 20px 18px; }
.job-body > p:first-child { margin-top: 0; }
.job .dl-table.small { grid-template-columns: 7em 1fr; font-size: 15px; }
.job-back { margin: 10px 0 0; font-size: 14px; text-align: right; }
.job-back a { color: var(--sub); }
#jobs-index { scroll-margin-top: 150px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--green-pale); }
.timeline li { padding: 6px 0 6px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 15px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); }
.timeline time { display: inline-block; width: 4em; font-weight: 700; color: var(--green-dark); }

/* よくある質問 */
details.faq { border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; background: #fff; }
details.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; position: relative; padding-left: 50px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "Q"; position: absolute; left: 16px; top: 12px; color: var(--green); font-size: 20px; font-weight: 800; }
details.faq[open] summary { border-bottom: 1px dashed var(--line); }
.faq-a { padding: 4px 18px 6px 50px; position: relative; }
.faq-a::before { content: "A"; position: absolute; left: 16px; top: 14px; color: var(--accent); font-size: 20px; font-weight: 800; }

/* フォーム */
.form { max-width: 640px; background: var(--bg-soft); border-radius: var(--radius); padding: 20px 22px; margin-top: 20px; }
.form label { display: block; font-weight: 700; font-size: 15px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #b9c7bf; border-radius: 6px; background: #fff; }
/* 採用の応募フォーム（項目をまとまりごとに区切る） */
.form-saiyo { max-width: 760px; scroll-margin-top: 150px; }
.form-lead { margin: 0 0 12px; }
.form-group { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px 18px 6px; margin: 0 0 14px; }
.form-group legend { font-weight: 800; color: var(--green-dark); padding: 0 6px; }
.form-sub { font-weight: 700; font-size: 15px; margin: 12px 0 4px; }
.req { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent-dark); border-radius: 4px; padding: 0 6px; vertical-align: 2px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.choice label, .agree label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; border: 1px solid #b9c7bf; border-radius: 999px; padding: 6px 14px; background: #fff; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--accent); background: #fdeee2; font-weight: 700; }
.form .choice input, .form .agree input { display: inline; width: auto; margin: 0; accent-color: var(--accent-dark); }
/* 同意などのチェック欄：文をひと続きで折り返す（チェックは左に固定し、2行目以降は文の頭にそろえる） */
.agree label { display: block; position: relative; border: 0; padding: 0 0 0 30px; background: none; line-height: 1.7; }
.form .agree input { position: absolute; left: 0; top: .25em; width: 20px; height: 20px; }
.req { white-space: nowrap; }

/* 問い合わせの帯・フッター */
.cta-band { background: var(--green-dark); color: #fff; padding: 28px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-title { font-size: 22px; font-weight: 800; margin: 0; }
.cta-in p { margin: 4px 0 0; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-band .btn { border-color: #fff; color: #fff; background: transparent; }
.cta-band .btn-main { background: #fff; color: var(--green-dark); }
.site-footer { background: #10261c; color: #d7e3dc; font-size: 14px; padding: 28px 0 80px; }
.site-footer a { color: #d7e3dc; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.f-name { font-size: 18px; font-weight: 700; color: #fff; margin-top: 0; }
.f-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.f-links li { margin-bottom: 4px; }
.f-links a.nav-saiyo { color: #ffc08f; font-weight: 700; }
.f-copy { margin-top: 20px; color: #8fa59a; }

/* 右下の採用ボタン */
.float-saiyo { position: fixed; right: 16px; bottom: 16px; z-index: 20; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 10px 20px; text-align: center; line-height: 1.3; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.float-saiyo small { display: block; font-size: 11px; font-weight: 400; }
.float-saiyo:hover { background: var(--accent-dark); color: #fff; }

/* 左下の「上へ戻る」ボタン（site.js が作る。少しスクロールすると出る） */
.to-top { position: fixed; left: 16px; bottom: 16px; z-index: 20; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--green-dark); font: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--green-pale); }
.to-top span { display: block; font-size: 16px; line-height: 1; }

/* スマホ */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-in { flex-direction: column; align-items: flex-start; }
  .header-tel { text-align: left; }
  .gnav ul { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gnav a { white-space: nowrap; font-size: 14px; padding: 6px 10px; }
  /* スマホ：会社名と電話の段は流し、メニューの段だけ画面の上に残す（--hh は site.js が入れる。入らないときは従来どおり固定しない） */
  .site-header { position: sticky; top: calc(-1 * var(--hh, 9999px)); }
  section, [id] { scroll-margin-top: 60px; }
  h1 { font-size: 25px; }
  .hero h1 { font-size: 26px; }
  .hero h1 br { display: none; }
  .btn { white-space: nowrap; padding: 12px 18px; }
  h2 { font-size: 21px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats b { font-size: 32px; }
  .cards, .cards.two, .steps.three { grid-template-columns: 1fr; }
  .dl-table, .dl-table.small, .job .dl-table.small { grid-template-columns: 1fr; }
  .job-index { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .job-index-card { padding: 12px; }
  .job-index-card b { font-size: 15px; }
  .job-index-sum { font-size: 13px; }
  .job-grid { grid-template-columns: 1fr; }
  .job, #jobs-index, .form-saiyo { scroll-margin-top: 60px; }
  .form-group { padding: 10px 12px 4px; }
  .job-head, .job-body { padding-left: 16px; padding-right: 16px; }
  .dl-table dt { border-bottom: 0; padding-bottom: 2px; }
  .saiyo-teaser, .saiyo-hero { padding: 20px 18px; }
  .saiyo-hero .big { font-size: 22px; }
  .f-links { columns: 1; }
  .moc-bar { font-size: 12px; }
}

/* ===== 提案メモを隠したとき（html に memo-off が付く。moc.js） ===== */
.memo-off .moc-bar,
.memo-off .kari-tag,
.memo-off a[href="teian.html"] { display: none !important; }
.memo-off mark.kari { background: none; border: 0; padding: 0; }
.memo-off .page-teian main > * { display: none; }
.memo-hidden-note { display: none; }
.memo-off .page-teian main > .memo-hidden-note { display: block; }
.moc-bar button { font: inherit; font-size: 12px; margin-left: 10px; padding: 1px 10px; border-radius: 999px; border: 1px solid #ffd58a; background: transparent; color: #ffd58a; cursor: pointer; }
.moc-bar button:hover { background: #ffd58a; color: #2b2b2b; }

/* ===== 提案メモのページ（サイト本体と見分けるため、紺の配色・紙の書類風） ===== */
.page-teian {
  --green: #3b3f8f;
  --green-dark: #262a6b;
  --green-pale: #e7e8f6;
  --bg-soft: #f1f2fa;
  --line: #d3d5ea;
  --accent: #b5476b;
  --accent-dark: #8f3354;
  background: #e9eaf0;
}
.page-teian .site-header,
.page-teian .cta-band,
.page-teian .float-saiyo,
.page-teian .site-footer { display: none; }
.page-teian .moc-bar { background: #262a6b; }
.teian-head { background: #262a6b; color: #fff; }
.teian-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.teian-head b { font-size: 18px; letter-spacing: .06em; }
.teian-head span { display: block; font-size: 12px; opacity: .8; }
.teian-head a { color: #fff; border: 1px solid #fff; border-radius: 999px; padding: 6px 16px; text-decoration: none; font-size: 14px; white-space: nowrap; }
.teian-head a:hover { background: #fff; color: #262a6b; }
.page-teian main { background: #fff; margin-top: 24px; margin-bottom: 40px; border-radius: 6px; box-shadow: 0 2px 16px rgba(38,42,107,.12); padding: 28px 36px 40px; border-top: 8px solid #3b3f8f; }
.page-teian h1::before { content: "PROPOSAL"; display: block; font-size: 12px; letter-spacing: .3em; color: var(--accent); font-weight: 700; }
.page-teian .crumb { display: none; }
@media (max-width: 760px) {
  .page-teian main { padding: 20px 18px 28px; margin-left: 10px; margin-right: 10px; }
}

/* 提案メモを隠したときだけ、左下に小さく「提案メモを表示」を出す（お客様の邪魔にならない薄さ） */
.memo-restore { display: none; }
.memo-off .memo-restore { display: block; position: fixed; left: 12px; bottom: 12px; z-index: 20; font: inherit; font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid #9aa8a0; background: rgba(255,255,255,.85); color: #4d5c55; cursor: pointer; opacity: .45; }
.memo-off .memo-restore:hover, .memo-off .memo-restore:focus { opacity: 1; }

/* フォームのスパム対策（人には見えない欄） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* プライバシーポリシー・サイトポリシーの本文 */
.policy { max-width: 820px; }
.policy h3 { font-size: 19px; margin: 32px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.policy h4 { font-size: 16px; margin: 20px 0 4px; }
.policy p { margin: 6px 0 10px; }
.policy-sub { font-weight: 700; margin-top: 14px !important; }

/* ===== スマホのメニュー（≡ ボタンで開く。ボタンは site.js が作り、html に js-nav を付ける。
   スクリプトが動かないときは、上の「横に並ぶメニュー」のまま） ===== */
.gnav-bar { display: none; }
@media (max-width: 760px) {
  .js-nav .header-in { display: none; }             /* 会社名と電話は、上に残るメニューの段に出す */
  .js-nav .gnav { position: relative; }
  .js-nav .gnav-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 16px; }
  .js-nav .gnav-bar .bar-id { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
  .js-nav .gnav-bar .bar-name { font-size: 17px; font-weight: 700; letter-spacing: .02em; color: var(--ink); text-decoration: none; padding: 0; background: none; white-space: nowrap; }
  .js-nav .gnav-bar .bar-name::before { content: ""; display: inline-block; width: 7px; height: 16px; background: var(--green); margin-right: 6px; vertical-align: -2px; border-radius: 2px; }
  /* 電話は、押せることが分かるようにボタンの形にする */
  .js-nav .gnav-bar .bar-tel { align-self: flex-start; margin-top: 3px; font-size: 15px; font-weight: 700; color: var(--green-dark); text-decoration: none; padding: 1px 10px; border: 1px solid var(--green); border-radius: 999px; background: var(--green-pale); }
  .js-nav .gnav-bar .bar-tel small { font-size: 11px; font-weight: 400; color: var(--green-dark); margin: 0 0 0 6px; }
  .menu-btn { font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 6px 16px; border-radius: 8px; border: 1px solid var(--green); background: var(--green); color: #fff; cursor: pointer; white-space: nowrap; }
  .menu-btn span { font-size: 18px; margin-right: 6px; }
  .gnav.open .menu-btn { background: #fff; color: var(--green-dark); }
  .js-nav .gnav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; flex-wrap: nowrap; gap: 0; background: #fff; padding: 4px 16px 14px; max-height: calc(100vh - 70px); overflow-x: visible; overflow-y: auto; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.15); }
  .js-nav .gnav.open ul { display: flex; }
  .js-nav .gnav ul a { font-size: 17px; padding: 13px 12px; white-space: normal; border-radius: 0; border-bottom: 1px solid var(--line); }
  .js-nav .gnav ul a.nav-saiyo { border-radius: 8px; border-bottom: 0; margin-top: 8px; text-align: center; }
  .js-nav section, .js-nav [id], .js-nav .job, .js-nav #jobs-index, .js-nav .form-saiyo { scroll-margin-top: 68px; }
}
@media (max-width: 359px) { .js-nav .gnav-bar .bar-tel small { display: none; } }
