/* 株式会社Re.ACT — リニューアル版
   レイアウト：ロゴの「2つのR」から、紺と青緑の2色の面を左右にずらして重ねる構成。
   黄色は“動き出す”ための操作（相談ボタン）にだけ使う。見出しは左揃え。 */
:root {
  interpolate-size: allow-keywords;
  --navy: #12295f;
  --navy-deep: #0b1b42;
  --teal: #24576a;
  --teal-tint: #e4eef1;
  --sun: #f3c233;
  --sun-deep: #dba514;
  --ink: #151a2d;
  --ink-soft: #4a5267;
  --line: #d9e0ea;
  --paper: #f3f5f9;
  --white: #ffffff;
  --alert: #c0392b;
  --sun-tint: #fff5d4;
  --line-green: #06c755;

  --f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --f-en: "Bricolage Grotesque", "Avenir Next", "Segoe UI", Arial, sans-serif;

  --wrap: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.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; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-jp); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  font-feature-settings: "palt" 1; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; text-wrap: balance; font-weight: 900; word-break: auto-phrase; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--paper { background: var(--paper); }
.section--tint { background: var(--teal-tint); }
.section--navy { background: var(--navy); color: var(--white); }

/* ---------- 見出し ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--sun); }
.title { font-size: clamp(27px, 3.6vw, 40px); margin-top: 12px; }
.lead { font-size: clamp(15px, 1.6vw, 17px); color: var(--ink-soft); margin-top: 18px; max-width: 40em; }
.section--navy .lead { color: #d3dbea; }
.head { margin-bottom: clamp(36px, 5vw, 56px); }
.head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-jp); font-weight: 700; font-size: 16px; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
}
.btn::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.btn:hover { transform: translateY(-2px); }
.btn--sun { background: var(--sun); color: var(--navy-deep); box-shadow: 0 6px 0 var(--sun-deep); }
.btn--sun:hover { box-shadow: 0 8px 0 var(--sun-deep); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--small { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 32px; }

/* ---------- ヘッダー ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; }
.brand span { display: grid; line-height: 1.25; }
.brand b { font-family: var(--f-en); font-weight: 800; font-size: 19px; letter-spacing: .02em; color: var(--navy); }
.brand small { font-size: 11px; color: var(--ink-soft); letter-spacing: .08em; }
.gnav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.gnav a { display: block; padding: 8px 12px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink); border-radius: 999px; }
.gnav a:hover { color: var(--teal); }
.gnav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.gnav .nav-cta a { background: var(--sun); color: var(--navy-deep); padding: 10px 22px; margin-left: 8px; }
.gnav .nav-cta a:hover { background: var(--sun-deep); color: var(--navy-deep); }
.nav-toggle { display: none; }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0; }
  .nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gnav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(18,41,95,.1); padding: 8px var(--gutter-r) 20px var(--gutter-l); }
  .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav a { padding: 15px 6px; font-size: 16px; border-bottom: 1px solid var(--paper); border-radius: 0; }
  .gnav a[aria-current="page"] { box-shadow: none; }
  .gnav .nav-cta a { margin: 16px 0 0; text-align: center; border-radius: 999px; border-bottom: 0; }
}

/* ---------- ホーム：ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero::before { content: ""; position: absolute; top: 0; right: 0; width: 38%; height: 72%; background: var(--teal-tint); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero h1 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.38; letter-spacing: .03em; margin-top: 18px; }
.nw { display: inline-block; }
.hero h1 .mark { background: linear-gradient(transparent 64%, var(--sun) 64%, var(--sun) 92%, transparent 92%); }
.hero .lead { margin-top: 24px; }
.hero-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--ink-soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--teal); }
.hero-visual { max-width: 540px; width: 100%; justify-self: end; margin: 18px 18px 0 0; }
.hero-visual .photo { position: relative; }
.hero-visual .photo::before, .hero-visual .photo::after { content: ""; position: absolute; z-index: 0; }
.hero-visual .photo::before { left: -18px; bottom: -18px; width: 64%; height: 72%; background: var(--navy); }
.hero-visual .photo::after { right: -18px; top: -18px; width: 50%; height: 58%; background: var(--teal); }
.hero-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 980 / 832; object-fit: cover; }
.hero-visual figcaption { position: relative; z-index: 1; margin-top: 30px; font-family: var(--f-en); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); color: var(--navy); text-align: right; letter-spacing: -.005em; }
@media (max-width: 860px) {
  .hero::before { width: 100%; height: 46%; top: auto; bottom: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; margin: 24px 18px 0; width: calc(100% - 36px); }
}

/* ---------- 社名の由来 ---------- */
.name-eq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px clamp(16px, 3vw, 40px); }
.name-eq .term { display: grid; gap: 6px; }
.name-eq .term b { font-family: var(--f-en); font-weight: 800; font-size: clamp(54px, 9vw, 112px); line-height: 1; letter-spacing: -.02em; }
.name-eq .term span { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.name-eq .op { font-family: var(--f-en); font-weight: 600; font-size: clamp(36px, 6vw, 72px); line-height: 1.2; color: #a9b4c6; }
.name-eq .re b { color: var(--navy); }
.name-eq .act b { color: var(--teal); }
.name-eq .sum b { color: var(--ink); }
.name-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 56px; align-items: end; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.name-body p { color: var(--ink-soft); }
.name-body .btn { justify-self: end; }
@media (max-width: 760px) { .name-body { grid-template-columns: 1fr; } .name-body .btn { justify-self: start; } }

/* ---------- 2つの入口 ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door { position: relative; color: var(--white); padding: clamp(32px, 4vw, 52px); display: grid; gap: 20px; align-content: start; overflow: hidden; }
.door--navy { background: var(--navy); }
.door--teal { background: var(--teal); }
.door::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border: 36px solid rgba(255,255,255,.07); }
.door .who { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); }
.door h3 { font-size: clamp(21px, 2.4vw, 27px); }
.door ul { list-style: none; display: grid; gap: 10px; }
.door li { word-break: auto-phrase; display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.door li::before { content: ""; flex-shrink: 0; width: 12px; height: 7px; border-left: 2px solid var(--sun); border-bottom: 2px solid var(--sun); transform: rotate(-45deg) translateY(-3px); }
.door .btn { justify-self: start; margin-top: 8px; position: relative; z-index: 1; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* ---------- 事業内容 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-card .body { padding: 24px 24px 28px; display: grid; gap: 12px; align-content: start; }
.svc-card .cat { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.svc-card h3 { font-size: 20px; }
.svc-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 4px; }
.tags li { font-size: 12px; font-weight: 700; padding: 2px 10px; background: var(--teal-tint); color: var(--teal); }
.svc-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.svc-wide .svc-card { grid-template-rows: auto; }
.svc-wide .body { grid-template-columns: 64px 1fr; column-gap: 20px; padding: 28px; }
.svc-wide .body > * { grid-column: 2; }
.svc-wide .ico { grid-column: 1; grid-row: 1 / span 4; width: 64px; height: 64px; display: grid; place-items: center; background: var(--navy); }
.svc-wide .svc-card:nth-child(2) .ico { background: var(--teal); }
.svc-wide .ico svg { width: 34px; height: 34px; }
.new { display: inline-block; margin-left: 8px; font-family: var(--f-en); font-size: 11px; font-weight: 800; letter-spacing: .12em; vertical-align: middle; padding: 2px 8px; background: var(--sun); color: var(--navy-deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; justify-self: start; font-size: 14.5px; }
.text-link:hover { color: var(--teal); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .svc-grid, .svc-wide { grid-template-columns: 1fr; }
  .svc-wide .body { grid-template-columns: 1fr; }
  .svc-wide .body > *, .svc-wide .ico { grid-column: 1; grid-row: auto; }
  .svc-wide .ico { margin-bottom: 8px; }
}

/* ---------- 大切にしていること ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.value { padding: 36px 32px 8px 0; display: grid; gap: 14px; align-content: start; }
.value + .value { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); }
.value .ico { width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid var(--sun); border-radius: 50%; }
.value .ico svg { width: 28px; height: 28px; }
.value h3 { font-size: 21px; }
.value p { color: #d3dbea; font-size: 15px; }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
}

/* ---------- 流れ ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.flow::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px); }
.flow li { position: relative; display: grid; gap: 10px; align-content: start; }
.flow .num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-family: var(--f-en); font-weight: 800; font-size: 20px; position: relative; }
.flow li:last-child .num { background: var(--sun); color: var(--navy-deep); }
.flow h3 { font-size: 17px; margin-top: 6px; }
.flow p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 14px); }
  .flow li { grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .flow li > *:not(.num) { grid-column: 2; }
  .flow .num { grid-row: 1 / span 2; }
  .flow h3 { margin-top: 12px; }
}

/* ---------- メディア ---------- */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.media-card { background: var(--white); color: var(--ink); padding: clamp(28px, 3.6vw, 40px); display: grid; gap: 18px; align-content: start; }
.media-card .top { display: flex; align-items: center; gap: 18px; }
.media-card .top img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.media-card h3 { font-size: 20px; }
.media-card h3 small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.media-card p { font-size: 14.5px; color: var(--ink-soft); }
.media-card .shot { display: flex; align-items: flex-end; justify-content: center; background: var(--paper); padding: 20px 12px 0; }
.media-card .shot .pc { width: 66%; }
.media-card .shot .sp { width: 26%; margin-left: -5%; }
.sns { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.sns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 2px solid var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; color: var(--navy); border-radius: 999px; }
.sns a:hover { background: var(--navy); color: var(--white); }
@media (max-width: 760px) { .media-grid { grid-template-columns: 1fr; } }

/* ---------- 相談バンド ---------- */
.cta-band { position: relative; color: var(--white); background: linear-gradient(100deg, var(--navy) 0 58%, var(--teal) 58% 100%); overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr auto; gap: 28px 48px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: #d7dfec; margin-top: 12px; }
.cta-band .btns { display: grid; gap: 14px; justify-items: stretch; }
@media (max-width: 820px) {
  .cta-band { background: var(--navy); }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .btns { justify-items: start; }
}

/* ---------- 下層ページのヒーロー ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--paper); }
.page-hero::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(26vw, 340px); background: linear-gradient(90deg, var(--navy) 0 50%, var(--teal) 50% 100%); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin-top: 14px; }
.page-hero .lead { max-width: 36em; }
.page-hero--image::after { display: none; }
.page-hero--image .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: end; padding-bottom: 0; }
.page-hero--image .text { padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero--image .visual { position: relative; align-self: end; }
.page-hero--image .visual::before { content: ""; position: absolute; left: 8%; right: 0; bottom: 0; height: 78%; background: linear-gradient(90deg, var(--navy) 0 50%, var(--teal) 50% 100%); }
.page-hero--image .visual img { position: relative; width: 100%; max-width: 620px; margin-left: auto; }
@media (max-width: 820px) {
  .page-hero::after { width: 22vw; opacity: .9; }
  .page-hero--image .wrap { grid-template-columns: 1fr; }
  .page-hero--image .text { padding-bottom: 8px; }
  .page-hero--image .visual img { max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) { .page-hero::after { width: 14px; clip-path: none; } }

/* ---------- 特徴リスト（求職者） ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.feature { background: var(--white); border: 1px solid var(--line); padding: 28px 26px; display: grid; gap: 12px; align-content: start; }
.feature .ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--teal-tint); }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 18px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.job-col { padding: 32px; color: var(--white); display: grid; gap: 16px; align-content: start; }
.job-col--navy { background: var(--navy); }
.job-col--teal { background: var(--teal); }
.job-col h3 { font-size: 21px; }
.job-col h3 small { display: block; font-family: var(--f-en); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); font-weight: 700; }
.job-col ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.job-col li { background: rgba(255,255,255,.12); padding: 6px 14px; font-weight: 700; font-size: 14px; }
.job-col p { color: #d8e1ee; font-size: 14.5px; }
.note-line { margin-top: 24px; font-size: 14.5px; color: var(--ink-soft); }
.note-line b { color: var(--ink); }
@media (max-width: 720px) { .jobs { grid-template-columns: 1fr; } }

.school { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.school img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.school ul { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.school li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.school li::before { content: ""; width: 8px; height: 8px; background: var(--teal); flex-shrink: 0; transform: translateY(-2px); }
@media (max-width: 760px) { .school { grid-template-columns: 1fr; } }

/* ---------- FAQ（開閉式） ---------- */
.faq { display: grid; max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 32px minmax(0, 1fr) 30px; gap: 14px; align-items: center; padding: 22px 4px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .txt { color: var(--teal); }
.faq .q, .faq .a { font-family: var(--f-en); font-weight: 800; width: 32px; height: 32px; display: grid; place-items: center; font-size: 15px; }
.faq .q { background: var(--navy); color: var(--white); }
.faq .a { background: var(--sun); color: var(--navy-deep); }
.faq .pm { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--navy); transition: background-color .2s; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s, background-color .2s; }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--navy); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--white); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; padding: 0 4px 24px; }
.faq .ans p { color: var(--ink-soft); font-size: 15px; padding-top: 2px; }
.faq details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* ---------- 企業向けサービス詳細 ---------- */
.svc-detail { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.svc-detail + .svc-detail { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.svc-detail h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 12px; }
.svc-detail .summary { margin-top: 16px; color: var(--ink-soft); }
.svc-detail .points { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; }
.svc-detail h3 { font-size: 15px; font-weight: 700; color: var(--teal); letter-spacing: .06em; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.checks li::before { content: ""; flex-shrink: 0; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translateY(-3px); }
.price { margin-top: 24px; border: 2px solid var(--navy); background: var(--white); display: grid; gap: 4px; padding: 20px 24px; }
.price .label { font-size: 13px; font-weight: 700; color: var(--teal); }
.price .amount { font-family: var(--f-en); font-weight: 800; font-size: clamp(34px, 4vw, 44px); color: var(--navy); line-height: 1.1; }
.price .amount small { font-family: var(--f-jp); font-size: 14px; font-weight: 700; margin-left: 6px; color: var(--ink); }
.price ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.price li { font-size: 13px; font-weight: 700; background: var(--sun); color: var(--navy-deep); padding: 2px 10px; }
.small-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } }

/* ---------- 会社概要 ---------- */
.philo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.philo article { background: var(--white); padding: clamp(28px, 3vw, 40px); display: grid; gap: 14px; align-content: start; border-top: 4px solid var(--navy); }
.philo article:nth-child(2) { border-top-color: var(--teal); }
.philo article:nth-child(3) { border-top-color: var(--sun); }
.philo h3 { font-size: 20px; }
.philo p, .philo li { font-size: 14.5px; color: var(--ink-soft); }
.philo ul { list-style: none; display: grid; gap: 6px; }
.philo li::before { content: "— "; color: var(--teal); }
@media (max-width: 900px) { .philo { grid-template-columns: 1fr; } }
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.story .body { display: grid; gap: 16px; color: var(--ink-soft); }
.story blockquote { margin: 8px 0; padding: 0 0 0 20px; border-left: 4px solid var(--sun); display: grid; gap: 4px; color: var(--ink); font-weight: 700; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }
.message { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.message .badge { aspect-ratio: 1; background: linear-gradient(135deg, var(--navy) 0 50%, var(--teal) 50% 100%); display: grid; place-items: center; }
.message .badge img { width: 58%; background: var(--white); border-radius: 50%; padding: 12%; }
.message .body { display: grid; gap: 18px; }
.message .body p { font-size: 16px; }
.message .sign { text-align: right; font-weight: 700; margin-top: 8px; }
.message .sign small { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 760px) { .message { grid-template-columns: 1fr; } .message .badge { max-width: 220px; } }

/* ---------- 企業情報 ---------- */
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td { text-align: left; vertical-align: top; padding: 20px 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.85; }
.profile-table tr:first-child th, .profile-table tr:first-child td { border-top: 2px solid var(--navy); }
.profile-table th { width: 28%; font-weight: 700; color: var(--navy); white-space: nowrap; background: var(--paper); }
.profile-table a { color: var(--teal); }
@media (max-width: 560px) {
  .profile-table th, .profile-table td { display: block; width: 100%; }
  .profile-table th { border-bottom: 0; padding-bottom: 6px; }
  .profile-table tr:first-child td { border-top: 0; }
  .profile-table td { padding-top: 8px; }
}

/* ---------- フォーム ---------- */
.form-wrap { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); max-width: 760px; }
.form { display: grid; gap: 20px; }
.form label { display: block; font-size: 15px; font-weight: 700; }
.form label > input, .form label > textarea, .form label > select { display: block; margin-top: 8px; }
.form .req { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--white); background: var(--alert); padding: 0 6px; vertical-align: 2px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 13px 15px; border: 1px solid #b8c1cf; background: var(--white); color: var(--ink); border-radius: var(--radius);
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(36,87,106,.25); border-color: var(--teal); }
.form .agree { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.form .agree input { width: 22px; height: 22px; accent-color: var(--navy); flex-shrink: 0; }
.form .agree a { color: var(--teal); }
.form button[type="submit"] { justify-self: start; border: 0; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.is-error { color: var(--alert); }
.form-done { background: var(--white); border: 2px solid var(--teal); padding: 36px clamp(20px, 4vw, 40px); display: grid; gap: 8px; max-width: 760px; }
.form-wrap .form-done { border: 0; padding: 0; }
.form-done strong { font-size: 22px; color: var(--navy); }

/* 無料相談（チャット風） */
.consult { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.consult-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.consult-side h1 { font-size: clamp(28px, 3.8vw, 42px); }
.consult-side ul { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.consult-side li { display: flex; gap: 12px; align-items: baseline; font-weight: 700; }
.consult-side li::before { content: ""; flex-shrink: 0; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translateY(-3px); }
.chat { display: grid; gap: 26px; }
.chat-step { display: grid; gap: 12px; }
.chat-q { display: flex; align-items: flex-end; gap: 12px; }
.chat-q img { width: 52px; height: 52px; border-radius: 50%; background: var(--white); padding: 8px; flex-shrink: 0; border: 1px solid var(--line); }
.chat-q span { position: relative; background: var(--navy); color: var(--white); font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 18px 18px 18px 4px; }
.chat-q span small { font-family: var(--f-en); font-weight: 700; color: var(--sun); margin-right: 8px; letter-spacing: .08em; }
.chat-step > select { margin-left: 64px; width: calc(100% - 64px); font: inherit; font-size: 16px; padding: 14px; border: 1px solid #b8c1cf; background: var(--white); border-radius: var(--radius); color: var(--ink); }
.chat-final { margin-left: 64px; background: var(--white); border: 1px solid var(--line); padding: 24px clamp(16px, 3vw, 28px); border-radius: var(--radius); }
@media (max-width: 860px) {
  .consult { grid-template-columns: 1fr; }
  .consult-side { position: static; }
}
@media (max-width: 480px) {
  .chat-step > select, .chat-final { margin-left: 0; width: 100%; }
}

/* ---------- プライバシーポリシー ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 21px; margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16.5px; font-weight: 700; margin: 30px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 2; color: var(--ink-soft); }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 8px 0; }
.legal .box { background: var(--paper); padding: 16px 20px; margin: 12px 0; }
.legal .date { text-align: right; margin-top: 32px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-deep); color: #cfd8e8; font-size: 14px; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 36px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 56px; }
.footer-brand b { font-family: var(--f-en); font-weight: 800; font-size: 26px; color: var(--white); letter-spacing: .01em; }
.footer-brand p { margin-top: 10px; line-height: 1.9; }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--sun); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: #9fb0ca; }
.footer-bottom em { font-family: var(--f-en); font-style: normal; font-weight: 700; color: var(--sun); letter-spacing: .04em; }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn:hover { transform: none; }
}

/* =====================================================================
   リニューアル2：トップページ
   ===================================================================== */
.on-dark { color: var(--white); }
.on-dark .lead { color: #d3dbea; }

.hero2 { position: relative; overflow: hidden; background: var(--navy); }
.hero2::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; background: var(--teal); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.hero2-bg { position: absolute; left: -.04em; bottom: -.22em; font-family: var(--f-en); font-weight: 800; font-size: clamp(150px, 24vw, 360px); line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.1); white-space: nowrap; pointer-events: none; user-select: none; }
.hero2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(80px, 9vw, 132px); }
.hero2 h1 { font-size: clamp(46px, 7.2vw, 96px); line-height: 1.12; letter-spacing: .02em; margin-top: 20px; word-break: keep-all; }
.hero2 h1 .l { display: block; }
.hero2 h1 em { font-style: normal; color: var(--sun); }
.hero2-sub { margin-top: 20px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; }
.hero2 .lead { max-width: 32em; }
.hero2-visual { position: relative; width: 100%; max-width: 520px; justify-self: end; }
.ph { margin: 0; position: relative; }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy-deep); color: var(--white); font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; }
.ph--office { width: 80%; }
.ph--field { width: 62%; margin: -20% 0 0 auto; outline: 8px solid var(--navy); }
.ph--field figcaption { left: auto; right: 0; }
.hero2-badge { position: absolute; z-index: 2; top: -30px; right: 4%; width: 124px; height: 124px; border-radius: 50%; background: var(--sun); color: var(--navy-deep); display: grid; place-content: center; text-align: center; line-height: 1.1; transform: rotate(-8deg); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.hero2-badge small { font-size: 13px; font-weight: 900; }
.hero2-badge b { font-family: var(--f-en); font-weight: 800; font-size: 50px; line-height: 1; }
.hero2-badge b i { font-style: normal; font-family: var(--f-jp); font-size: 18px; margin-left: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: rotate(-30deg) scale(.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.hero2 .eyebrow, .hero2 h1 .l, .hero2-sub, .hero2 .lead, .hero2 .btn-row, .ph { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero2 h1 .l:nth-child(2) { animation-delay: .12s; }
.hero2-sub { animation-delay: .24s; }
.hero2 .lead { animation-delay: .32s; }
.hero2 .btn-row { animation-delay: .4s; }
.ph--office { animation-delay: .2s; }
.ph--field { animation-delay: .38s; }
.hero2-badge { animation: pop .6s .6s cubic-bezier(.3,1.4,.5,1) both; }
@media (max-width: 860px) {
  .hero2::before { width: 100%; height: 36%; top: auto; clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 100%); }
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-visual { justify-self: center; max-width: 440px; margin-top: 20px; }
}
@media (max-width: 480px) {
  .hero2-badge { width: 100px; height: 100px; top: -24px; right: 0; }
  .hero2-badge b { font-size: 40px; }
}

/* 職種ティッカー */
.ticker { background: var(--sun); color: var(--navy-deep); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; }
.ticker li { display: flex; align-items: center; white-space: nowrap; font-weight: 900; font-size: clamp(17px, 2vw, 22px); padding-block: 14px; letter-spacing: .06em; }
.ticker li::after { content: ""; width: 9px; height: 9px; background: var(--navy); transform: rotate(45deg); margin-inline: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* 3つの事実 */
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 8px 32px; display: grid; gap: 8px; align-content: start; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font-family: var(--f-en); font-weight: 800; font-size: clamp(42px, 5vw, 60px); line-height: 1; color: var(--navy); letter-spacing: -.01em; }
.fact b small { font-family: var(--f-jp); font-weight: 900; font-size: .42em; margin-left: 4px; letter-spacing: 0; }
.fact h3 { font-size: 17px; }
.fact p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; padding-top: 0; }
}

/* 2つの入口（ロゴの2つのR） */
.doors2 { display: grid; grid-template-columns: 1fr 1fr; }
.door2 { position: relative; overflow: hidden; display: block; color: var(--white); text-decoration: none; padding-block: clamp(56px, 7vw, 100px); transition: filter .25s; }
.door2:hover { filter: brightness(1.08); }
.door2--navy { background: var(--navy); padding-left: max(var(--gutter-l), calc((100vw - 1160px) / 2)); padding-right: clamp(24px, 5vw, 72px); }
.door2--teal { background: var(--teal); padding-right: max(var(--gutter-r), calc((100vw - 1160px) / 2)); padding-left: clamp(24px, 5vw, 72px); }
.door2-in { position: relative; z-index: 1; display: grid; gap: 18px; max-width: 480px; }
.door2-bigR { position: absolute; bottom: -.16em; right: -.04em; font-family: var(--f-en); font-weight: 800; font-size: clamp(240px, 28vw, 440px); line-height: 1; color: rgba(255,255,255,.07); pointer-events: none; }
.door2--teal .door2-bigR { right: auto; left: -.04em; transform: scaleX(-1); }
.door2 .who { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); }
.door2 h2 { font-size: clamp(26px, 3.2vw, 38px); }
.door2 p { color: #dbe3ef; }
.door2 ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.door2 li { background: rgba(255,255,255,.12); padding: 4px 14px; font-weight: 700; font-size: 14px; }
.door2 .go { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; margin-top: 6px; }
.door2 .go::after { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b42' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .25s; }
.door2:hover .go::after { transform: translateX(6px); }
@media (max-width: 760px) {
  .doors2 { grid-template-columns: 1fr; }
  .door2--navy, .door2--teal { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
}

/* 事業内容の一覧 */
.svc-index { list-style: none; border-top: 2px solid var(--navy); }
.svc-index a { display: grid; grid-template-columns: 168px minmax(0, 1fr) minmax(0, 1.25fr) 48px; gap: 28px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.svc-index .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); display: grid; place-items: center; }
.svc-index .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-index .thumb svg { width: 46px; height: 46px; }
.svc-index .thumb--sun { background: var(--sun); }
.svc-index .thumb--teal { background: var(--teal); }
.svc-index a:hover .thumb img { transform: scale(1.06); }
.svc-index .for { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; background: var(--teal-tint); color: var(--teal); }
.svc-index .for--biz { background: var(--navy); color: var(--white); }
.svc-index .name { display: block; margin-top: 8px; font-size: clamp(18px, 2vw, 22px); font-weight: 900; line-height: 1.5; transition: color .2s; }
.svc-index a:hover .name { color: var(--teal); }
.svc-index .desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.svc-index .arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312295f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; transition: background-color .2s, transform .25s; }
.svc-index a:hover .arrow { background-color: var(--sun); border-color: var(--sun); transform: translateX(4px); }
@media (max-width: 860px) {
  .svc-index a { grid-template-columns: 104px minmax(0, 1fr) 40px; gap: 12px 18px; }
  .svc-index .desc { grid-column: 1 / -1; }
  .svc-index .arrow { width: 40px; height: 40px; background-size: 17px; }
}

/* =====================================================================
   リニューアル2：採用企業ページ
   ===================================================================== */
.btn--lineapp { background: var(--line-green); color: #fff; }
.btn--lineapp:hover { filter: brightness(1.06); }

.ehero { position: relative; overflow: hidden; background: var(--teal); }
.ehero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; background: var(--navy); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.ehero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.ehero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.35; margin-top: 16px; }
.ehero-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ehero-menu a { display: grid; gap: 4px; align-content: start; padding: 20px 20px 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: var(--white); text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.ehero-menu a:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.ehero-menu .k { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.ehero-menu a:hover .k { color: var(--teal); }
.ehero-menu .k em { font-style: normal; background: var(--sun); color: var(--navy-deep); padding: 0 6px; margin-left: 6px; letter-spacing: .08em; }
.ehero-menu .n { font-size: 19px; font-weight: 900; }
.ehero-menu .p { font-size: 13px; opacity: .85; line-height: 1.7; }
@media (max-width: 900px) {
  .ehero::before { width: 100%; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 98%); }
  .ehero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .ehero-menu { grid-template-columns: 1fr; } }

/* お悩み → サービス */
.worries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.worry { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 32px); display: grid; gap: 20px; align-content: space-between; }
.worry blockquote { margin: 0; position: relative; background: var(--paper); padding: 18px 20px; border-radius: 14px 14px 14px 2px; font-weight: 700; font-size: 16.5px; line-height: 1.75; }
.worry .to { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.worry .to span { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.worry .to a { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 700; padding: 8px 18px; border-radius: 999px; transition: background-color .2s; }
.worry .to a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.worry .to a:hover { background: var(--teal); }
@media (max-width: 720px) { .worries { grid-template-columns: 1fr; } }

/* 早見表 */
.compare-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); line-height: 1.8; }
.compare thead th { background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.compare tbody th { font-weight: 900; color: var(--navy); white-space: nowrap; font-size: 15.5px; }
.compare tbody th a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--sun); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .is-hot { background: var(--sun-tint); }
.compare b { color: var(--ink); }

/* サービス詳細（共通） */
.svc2-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.svc2-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 12px; }
.svc2-head p { color: var(--ink-soft); }
@media (max-width: 860px) { .svc2-head { grid-template-columns: 1fr; } }

/* 成果報酬の流れ */
.fee-line { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: fee; }
.fee-line li { counter-increment: fee; display: grid; gap: 6px; align-content: start; padding: 18px 16px 20px; background: var(--paper); border-top: 4px solid var(--teal); }
.fee-line li::before { content: "STEP " counter(fee); font-family: var(--f-en); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--teal); }
.fee-line .st { font-weight: 700; font-size: 15px; line-height: 1.6; }
.fee-line .fee { font-family: var(--f-en); font-weight: 800; font-size: 26px; color: var(--navy); line-height: 1.1; }
.fee-line .fee small { font-family: var(--f-jp); font-size: 13px; font-weight: 900; margin-left: 2px; }
.fee-line .hit { background: var(--navy); color: var(--white); border-top-color: var(--sun); }
.fee-line .hit::before { color: var(--sun); }
.fee-line .hit .fee { font-family: var(--f-jp); font-size: 15px; font-weight: 900; color: var(--sun); line-height: 1.6; }
.agent-cols { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; margin-top: 28px; }
.agent-cols > div { border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); }
.agent-cols h3 { font-size: 15px; font-weight: 700; color: var(--teal); letter-spacing: .06em; }
.agent-cols .guarantee { background: var(--teal-tint); border-color: var(--teal-tint); display: grid; gap: 10px; align-content: start; }
.agent-cols .guarantee p { font-size: 15px; }
@media (max-width: 900px) {
  .fee-line { grid-template-columns: 1fr; gap: 8px; }
  .fee-line li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 14px 18px; border-top: 0; border-left: 4px solid var(--teal); }
  .fee-line li::before { grid-column: 1 / -1; }
  .fee-line .hit { border-left-color: var(--sun); }
  .fee-line .hit .fee { text-align: right; }
  .agent-cols { grid-template-columns: 1fr; }
}

/* バイトレル */
.section--sun { background: var(--sun-tint); }
.baito { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.baito h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 12px; }
.baito .summary { margin-top: 16px; color: var(--ink-soft); }
.baito-tasks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.baito-tasks li { background: var(--white); padding: 20px; display: grid; gap: 6px; align-content: start; border-bottom: 3px solid var(--sun); }
.baito-tasks .ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); margin-bottom: 6px; }
.baito-tasks .ico svg { width: 24px; height: 24px; }
.baito-tasks b { font-size: 16px; }
.baito-tasks span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }
.baito-rules { margin-top: 24px; }
.baito-rules h3 { font-size: 15px; font-weight: 700; color: var(--teal); letter-spacing: .06em; }
.price2 { background: var(--navy); color: var(--white); padding: clamp(26px, 3.4vw, 40px); display: grid; gap: 18px; position: sticky; top: 104px; }
.price2 .label { font-size: 13px; font-weight: 700; color: var(--sun); letter-spacing: .08em; }
.price2 .amount { font-family: var(--f-en); font-weight: 800; font-size: clamp(48px, 5.6vw, 64px); line-height: 1; color: var(--white); }
.price2 .amount small { font-family: var(--f-jp); font-size: 15px; font-weight: 700; margin-left: 8px; }
.price2 .breakdown { font-size: 14px; color: #d3dbea; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.price2 .breakdown b { color: var(--white); }
.price2 .chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.price2 .chips li { background: var(--sun); color: var(--navy-deep); font-weight: 900; font-size: 13px; padding: 4px 12px; }
.price2 dl { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.price2 dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 14px; }
.price2 dt { color: #d3dbea; }
.price2 dd { margin: 0; font-weight: 700; white-space: nowrap; }
.price2 .btns { display: grid; gap: 12px; }
.price2 .btn { width: 100%; }
@media (max-width: 900px) {
  .baito { grid-template-columns: 1fr; }
  .price2 { position: static; }
}
@media (max-width: 520px) { .baito-tasks { grid-template-columns: 1fr; } }

/* 営業代行・アウトソーシング */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair article { border: 1px solid var(--line); background: var(--white); padding: clamp(26px, 3.4vw, 40px); display: grid; gap: 16px; align-content: start; scroll-margin-top: 96px; }
.pair article:nth-child(1) { border-top: 4px solid var(--navy); }
.pair article:nth-child(2) { border-top: 4px solid var(--teal); }
.pair h2 { font-size: clamp(22px, 2.6vw, 28px); }
.pair .summary { color: var(--ink-soft); font-size: 15px; }
.pair h3 { font-size: 15px; font-weight: 700; color: var(--teal); letter-spacing: .06em; margin-top: 4px; }
@media (max-width: 820px) { .pair { grid-template-columns: 1fr; } }

[id="agent"], [id="baitorel"], [id="school"] { scroll-margin-top: 96px; }

/* =====================================================================
   トップ：人材紹介サイトの入口（白基調・角丸カード）
   ===================================================================== */
.ah-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.ah-hero::before { content: ""; position: absolute; right: -14vw; top: 10%; width: 64vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: var(--teal); opacity: .6; }
.ah-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: end; padding-top: clamp(44px, 6vw, 80px); }
.ah-hero-text { padding-bottom: clamp(120px, 13vw, 160px); }
.ah-hero h1 { font-size: inherit; line-height: 1; }
.ah-kicker { display: block; font-weight: 900; font-size: clamp(19px, 2.4vw, 28px); letter-spacing: .04em; }
.ah-kicker b { color: var(--sun); }
.ah-word { display: block; font-family: var(--f-en); font-weight: 800; font-size: clamp(86px, 13.5vw, 196px); line-height: .92; letter-spacing: -.04em; margin-top: 10px; }
.ah-catch { margin-top: 22px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 900; line-height: 1.45; }
.ah-catch em { font-style: normal; color: var(--sun); }
.ah-lead { margin-top: 12px; color: #d3dbea; max-width: 30em; }
.ah-visual { align-self: end; }
.ah-visual img { width: 100%; max-width: 660px; margin-left: auto; }
.ah-hero .ah-kicker, .ah-word, .ah-catch, .ah-lead, .ah-hero .btn-row { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.ah-word { animation-delay: .08s; }
.ah-catch { animation-delay: .18s; }
.ah-lead { animation-delay: .26s; }
.ah-hero .btn-row { animation-delay: .34s; }
.ah-visual { animation: rise .8s .2s cubic-bezier(.2,.7,.2,1) both; }
@media (max-width: 900px) {
  .ah-hero::before { width: 120vw; right: -50vw; top: 50%; }
  .ah-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .ah-hero-text { padding-bottom: 8px; }
  .ah-visual { padding-bottom: clamp(90px, 18vw, 120px); }
  .ah-visual img { max-width: 460px; margin-inline: auto; }
}

/* 検索カード */
.ah-search { position: relative; z-index: 2; margin-top: calc(-1 * clamp(80px, 9vw, 104px)); scroll-margin-top: 90px; }
.ah-search-card { background: var(--white); border-radius: 20px; box-shadow: 0 18px 44px rgba(18,41,95,.16); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); overflow: hidden; }
.ah-search-main, .ah-search-side { padding: clamp(24px, 3vw, 36px); }
.ah-search-side { background: var(--paper); display: grid; gap: 12px; align-content: start; }
.ah-search-side p:not(.ah-label) { font-size: 14.5px; color: var(--ink-soft); }
.ah-search-side .btn { justify-self: start; }
.ah-label { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; }
.ah-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); flex-shrink: 0; }
.ah-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 16px; }
.ah-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ah-form select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 14px; border: 1px solid #b8c1cf; border-radius: 10px; background: var(--white); }
.ah-form .btn { min-height: 52px; }
.ah-note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .ah-search-card { grid-template-columns: 1fr; }
  .ah-form { grid-template-columns: 1fr; }
  .ah-form .btn { width: 100%; }
}

/* セクション共通 */
.ah-sec { padding-block: clamp(64px, 8vw, 104px); }
.ah-sec--gray { background: var(--paper); }
.ah-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 40px); }
.ah-en { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--teal); }
.ah-en::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.ah-title { font-size: clamp(25px, 3.2vw, 36px); margin-top: 6px; }
.ah-sub { color: var(--ink-soft); font-size: 15px; margin-top: 8px; max-width: 40em; }
.pill-link { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 10px 8px 26px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); background: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color .2s, color .2s; }
.pill-link::after { content: ""; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pill-link:hover { background: var(--navy); color: var(--white); }
.pill-link:hover::after { background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b42' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.center { text-align: center; margin-top: 32px; }

/* 特集から探す */
.ah-feat { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ah-feat a { height: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; align-items: center; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ah-feat a:hover { border-color: var(--teal); box-shadow: 0 10px 24px rgba(18,41,95,.1); transform: translateY(-2px); }
.ah-feat .g { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--navy-deep); font-weight: 900; font-size: 15px; letter-spacing: -.02em; }
.ah-feat b { font-size: 16px; line-height: 1.5; }
.ah-feat span:last-child { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 960px) { .ah-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ah-feat { gap: 10px; }
  .ah-feat a { grid-template-columns: 1fr; gap: 8px; padding: 16px 14px; }
  .ah-feat .g { grid-row: auto; width: 44px; height: 44px; font-size: 14px; }
  .ah-feat b { font-size: 15px; }
}

/* エリアから探す */
.ah-area { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ah-area article { background: var(--white); border-radius: 16px; padding: 22px 22px 24px; display: grid; gap: 14px; align-content: start; }
.ah-area h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.ah-area h3::before { content: ""; width: 4px; height: 18px; background: var(--teal); border-radius: 2px; }
.ah-area .home h3::after { content: "拠点"; font-size: 11px; font-weight: 700; color: var(--navy-deep); background: var(--sun); padding: 1px 8px; border-radius: 999px; }
.ah-area ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ah-area a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s; }
.ah-area a:hover { background: var(--navy); color: var(--white); }
@media (max-width: 900px) { .ah-area { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ah-area { grid-template-columns: 1fr; } }

/* 職種から探す */
.ah-occ { display: grid; gap: 28px; }
.ah-occ h3 { font-size: 17px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.ah-occ h3 small { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.ah-occ ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ah-occ a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding: 12px 16px 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; transition: border-color .2s, color .2s; }
.ah-occ a::after { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.ah-occ a:hover { border-color: var(--teal); color: var(--teal); }
.ah-occ .office a { background: var(--teal-tint); border-color: var(--teal-tint); }
@media (max-width: 900px) { .ah-occ ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* サービス紹介 */
.ah-promise { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; background: var(--teal); color: var(--white); border-radius: 24px; padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.ah-promise h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.4; }
.ah-promise h2 em { font-style: normal; color: var(--sun); }
.ah-promise > div > p { margin-top: 16px; color: #dbe6ea; }
.ah-promise ul { list-style: none; display: grid; gap: 10px; margin: 22px 0 28px; }
.ah-promise li { display: flex; gap: 12px; align-items: baseline; font-weight: 700; }
.ah-promise li::before { content: ""; flex-shrink: 0; width: 12px; height: 7px; border-left: 2px solid var(--sun); border-bottom: 2px solid var(--sun); transform: rotate(-45deg) translateY(-3px); }
.ah-promise img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 18px; }
.ah-promise .pill-link { border-color: var(--white); }
@media (max-width: 860px) { .ah-promise { grid-template-columns: 1fr; } }

/* ご利用の流れ */
.ah-flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.ah-flow li { position: relative; background: var(--white); border-radius: 16px; padding: 22px 20px 24px; display: grid; gap: 8px; align-content: start; counter-increment: s; }
.ah-flow li::before { content: "STEP " counter(s, decimal-leading-zero); font-family: var(--f-en); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--teal); }
.ah-flow li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: translateY(-50%) rotate(45deg); }
.ah-flow h3 { font-size: 17px; }
.ah-flow p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.ah-flow .last { background: var(--navy); color: var(--white); }
.ah-flow .last::before { color: var(--sun); }
.ah-flow .last p { color: #d3dbea; }
@media (max-width: 900px) {
  .ah-flow { grid-template-columns: 1fr; gap: 18px; }
  .ah-flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%) rotate(135deg); }
}

/* FAQ（2列） */
.faq--2col { max-width: none; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
.faq--2col details:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .faq--2col { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .faq--2col details:nth-child(2) { border-top: 0; }
  .faq--2col details:first-child { border-top: 0; }
}

/* 企業様・会社情報への導線 */
.ah-biz { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0; background: var(--paper); border-radius: 24px; overflow: hidden; }
.ah-biz .txt { padding: clamp(28px, 4vw, 52px); display: grid; gap: 14px; align-content: center; }
.ah-biz h2 { font-size: clamp(22px, 2.8vw, 30px); }
.ah-biz p { color: var(--ink-soft); }
.ah-biz ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ah-biz li { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--white); color: var(--navy); }
.ah-biz .links { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 8px; }
.ah-biz .links a.sub { font-weight: 700; color: var(--navy); }
.ah-biz img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
@media (max-width: 820px) { .ah-biz { grid-template-columns: 1fr; } .ah-biz img { min-height: 0; aspect-ratio: 16 / 9; } }

/* 最後の相談ブロック */
.ah-final { background: var(--navy); color: var(--white); border-radius: 24px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); text-align: center; display: grid; gap: 16px; justify-items: center; position: relative; overflow: hidden; }
.ah-final::before { content: "Re.ACT"; position: absolute; left: 50%; bottom: -.32em; transform: translateX(-50%); font-family: var(--f-en); font-weight: 800; font-size: clamp(110px, 18vw, 240px); line-height: 1; letter-spacing: -.04em; color: rgba(255,255,255,.05); pointer-events: none; white-space: nowrap; }
.ah-final h2 { position: relative; font-size: clamp(24px, 3.4vw, 38px); }
.ah-final h2 em { font-style: normal; color: var(--sun); }
.ah-final p { position: relative; color: #d3dbea; max-width: 34em; }
.ah-final .btn-row { position: relative; justify-content: center; margin-top: 12px; }
