/* ==========================================================
   リモートボックス  共通スタイル
   色を変えたいときは、すぐ下の :root の値を変更します
   ========================================================== */
:root {
  --ink: #111111;        /* 文字 */
  --sub: #555555;        /* 補足の文字 */
  --main: #8b1a1a;       /* メインカラー（親サイトと同じ深い赤） */
  --black: #111111;
  --gold: #c9a54a;       /* ゴールド（飾り） */
  --bg: #ffffff;
  --bg-soft: #f2f2f2;    /* 薄いグレーの背景 */
  --border: #cfcfcf;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: 16px;
  line-height: 1.9;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--main); }
a:focus-visible, summary:focus-visible { outline: 3px solid #2b6fd6; outline-offset: 3px; }
.ib { display: inline-block; }
.marker { color: var(--main); }
.num { font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; font-variant-numeric: lining-nums; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--main); color: #fff; }
.section-head { margin-bottom: 44px; text-align: center; }
/* 赤い背景のセクション（親サイト unique-box.jp と同じく、白と赤を交互に。上下は斜めにカット） */
.section--red { position: relative; color: #fff; background: linear-gradient(180deg, #b8241c 0%, #8b1a1a 100%); clip-path: polygon(0 3.2vw, 100% 0, 100% calc(100% - 3.2vw), 0 100%); padding: calc(88px + 3.2vw) 0; }
.section--red.is-rev { clip-path: polygon(0 0, 100% 3.2vw, 100% 100%, 0 calc(100% - 3.2vw)); }
.section--red .en { color: #fff; }
.section--red .section-head .section-title { color: #fff; }
.section--red .section-head p:not(.en) { color: #f0d9d9; }
/* 赤い背景の上の白いカードは、文字を黒に戻す */
.section--red .points, .section--red .select-box, .section--red .learn, .section--red .faq details { color: var(--ink); }
.section--red .faq { border-top-color: transparent; }
.en { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 42px); font-weight: 500; letter-spacing: .12em; line-height: 1.2; color: var(--main); margin-bottom: 10px; }
.section--dark .en { color: #fff; }
.section-title { font-size: clamp(23px, 3vw, 34px); line-height: 1.5; font-weight: 700; letter-spacing: .02em; }
.section-head--center { text-align: center; }
.lead { color: var(--sub); max-width: 720px; }

/* ---------- ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px; padding: 0 56px 0 32px; border-radius: 0;
  font-weight: 700; font-size: 17px; letter-spacing: .06em; text-decoration: none; line-height: 1.4; color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
  transition: opacity .15s;
}
/* 右端の細い矢印（親サイトのボタンと同じ形） */
.btn::after { content: ''; position: absolute; right: 18px; top: 50%; width: 24px; height: 6px; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-70%) skewX(45deg); }
.btn:hover { opacity: .82; }
/* 相談ボタン：月桂樹と同じ金色。白い背景・赤い背景のどちらでも目立つ */
.btn--primary { background: linear-gradient(90deg, #a8821f 0%, #d8b65a 55%, #b8922e 100%); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.btn--line { background: linear-gradient(90deg, #a8821f 0%, #d8b65a 55%, #b8922e 100%); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.btn--tel { background: transparent; border: 1px solid #fff; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 24px; font-size: 13px; box-shadow: none; border-radius: 999px; background: var(--main); text-shadow: none; }
.btn--sm::after { display: none; }
.btn--block { flex-direction: column; gap: 0; min-height: 76px; }
.btn--block small { font-size: 12px; font-weight: 500; }

/* 申込ボタンのまとまり */
.cta { display: flex; flex-direction: column; gap: 14px; }
.cta__note { font-size: 14px; font-weight: 700; color: var(--main); }
.cta__note::before { content: '＼ '; }
.cta__note::after { content: ' ／'; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta--center { align-items: center; text-align: center; }
.cta--center .cta__btns { justify-content: center; }
.section--dark .cta__note { color: var(--gold); }

/* ---------- ヘッダー ---------- */
.topbar { margin: 0; background: var(--main); color: #fff; font-size: 12px; font-weight: 700; line-height: 2.2; letter-spacing: .04em; }
.topbar .container { display: block; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: .08em; line-height: 1.2; }
.logo svg { flex: 0 0 auto; }
.logo small { display: block; font-size: 10px; font-weight: 500; color: var(--sub); letter-spacing: .04em; }
.nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* ---------- ファーストビュー（アドバイザーの顔で見せる型） ---------- */
/* 背景：リモートワークのデスク写真（Unsplash / Kari Shea）を人物側（左）にだけ薄く敷き、文字の後ろ（右半分）は無地の白にする */
.fva { position: relative; overflow: hidden; padding: 40px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .7) 36%, #fff 49%, #fff 100%),
    #f2f2f2 url("../img/fv-bg.jpg") center 60% / cover no-repeat; }
.fva__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* 大きい画面で写真の左に余白が出ないよう、ファーストビューだけ横幅を広げる */
.fva .container { max-width: 1280px; }
.fva__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 40px; align-items: end; }

/* 左：アドバイザーの写真 */
.fva__people { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; padding-top: 12px; }
.fva__person { position: relative; flex: 0 0 54%; }
.fva__person + .fva__person { margin-left: -8%; }
.fva__person:first-child { z-index: 2; }
/* 写真の後ろの赤い斜めの板（親サイトと同じあしらい） */
.fva__person::before { content: ''; position: absolute; inset: 2% 0 0 12%; background: linear-gradient(180deg, #a32a22 0%, #8b1a1a 100%); transform: skewX(-8deg); }
.fva__person:nth-child(2)::before { background: linear-gradient(180deg, #2a2a2a 0%, #111 100%); }
/* 写真は板と同じ角度の平行四辺形に切り抜き、右上に板の色が少しのぞくように配置 */
.fva__photo { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4.4; clip-path: polygon(17% 6%, 95% 6%, 83% 100%, 5% 100%); }
.fva__photo svg { display: block; width: 100%; height: 100%; }
.fva__name { position: absolute; left: 8%; bottom: 14px; z-index: 3; background: #fff; border-left: 3px solid var(--main); padding: 4px 12px; font-size: 12px; line-height: 1.5; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.fva__name b { display: block; font-size: 15px; }
.fva__person:nth-child(2) .fva__name { left: auto; right: 2%; bottom: 72px; }

/* 右：コピーと実績 */
.fva__copy { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; align-self: center; }
.fva__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: clamp(14px, 1.3vw, 16px); }
.fva__tags span { background: var(--main); color: #fff; font-size: clamp(13px, 1.15vw, 15px); font-weight: 700; padding: 2px 12px; line-height: 1.8; white-space: nowrap; }
.fva h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.4; font-weight: 500; letter-spacing: .04em; }
.fva h1 em { font-style: normal; color: var(--main); }
.fva__band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 7px 4px; font-size: clamp(14px, 1.3vw, 16px); font-weight: 700; text-align: center; }
.fva__band b { color: var(--main); font-size: 1.15em; }

/* 月桂樹つきの数字 */
.fva__laurels { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px; }
.fva__laurels li { position: relative; text-align: center; padding: 6px 20px 4px; line-height: 1.35; }
.fva__laurels li::before, .fva__laurels li::after { content: ''; position: absolute; top: 0; bottom: 0; width: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 60'%3E%3Cg fill='%23c9a54a'%3E%3Cellipse cx='16' cy='7' rx='2.6' ry='6' transform='rotate(48 16 7)'/%3E%3Cellipse cx='10' cy='16' rx='2.6' ry='6' transform='rotate(28 10 16)'/%3E%3Cellipse cx='7' cy='28' rx='2.6' ry='6' transform='rotate(6 7 28)'/%3E%3Cellipse cx='8' cy='40' rx='2.6' ry='6' transform='rotate(-18 8 40)'/%3E%3Cellipse cx='14' cy='51' rx='2.6' ry='6' transform='rotate(-44 14 51)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.fva__laurels li::before { left: 0; }
.fva__laurels li::after { right: 0; transform: scaleX(-1); }
.fva__laurels span { display: block; font-size: 12px; color: var(--sub); white-space: nowrap; }
.fva__laurels strong { display: block; font-size: 14px; font-weight: 700; color: var(--main); white-space: nowrap; }
.fva__laurels strong b { font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; font-variant-numeric: lining-nums; font-size: 30px; font-weight: 600; line-height: 1; }
.fva__laurels .todo::before { top: -16px; right: 0; }

/* ボタン */
.fva__cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 480px; }
.fva__cta .btn { flex-direction: column; gap: 0; min-height: 72px; padding: 6px 44px 6px 14px; font-size: 17px; }
.fva__cta .btn small { font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.fva__checks { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; font-weight: 700; }
.fva__checks li { position: relative; padding-left: 20px; }
.fva__checks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 6px; height: 11px; border-right: 2px solid var(--main); border-bottom: 2px solid var(--main); transform: rotate(40deg); }

/* 直下：紹介先企業のロゴ帯 */
.fva-logos { background: #fff; border-bottom: 1px solid var(--border); padding: 18px 0; }
.fva-logos .container { display: flex; align-items: center; gap: 20px; }
.fva-logos p { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--sub); }
.fva-logos ul { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fva-logos li { height: 40px; background: #f2f2f2; color: #888; font-size: 11px; display: flex; align-items: center; justify-content: center; white-space: nowrap; }

/* PCとスマホの間の幅（タブレット・小さめのノートPC）：数字を2×2に、メニューは折り返さない */
@media (max-width: 1100px) {
  .fva__laurels { grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 18px; }
  .nav { gap: 16px; font-size: 13px; }
  .nav a, .header .btn { white-space: nowrap; }
  .logo small { display: none; }
}
@media (max-width: 900px) {
  .fva__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fva__copy { padding: 22px 0 36px; }
  /* スマホは写真が上・文字が下に並ぶので、写真は人物の後ろだけに敷き、文字の後ろは無地の白に */
  .fva { background:
    linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .7) 22%, #fff 32%, #fff 100%),
    #f2f2f2 url("../img/fv-bg.jpg") 50% 0 / auto 60% no-repeat; }
  .fva__people { min-height: 0; max-width: 360px; margin: 0 auto; width: 100%; padding-top: 0; }
  .fva__photo { aspect-ratio: 3 / 2.7; }
  .fva__name { bottom: 8px; }
  .fva__person:nth-child(2) .fva__name { bottom: 8px; }
  .fva__person:first-child .fva__name { left: 0; }
  .fva-logos .container { flex-direction: column; gap: 10px; }
  .fva-logos ul { width: 100%; }
}
@media (max-width: 600px) {
  .fva { padding-top: 26px; }
  .fva__copy { gap: 16px; }
  .fva__laurels { grid-template-columns: .8fr 1.2fr; gap: 14px 6px; }
  .fva__laurels strong { font-size: 13px; }
  .fva__laurels strong b { font-size: 28px; }
  .fva__name { max-width: 46vw; }
  .fva__cta { grid-template-columns: minmax(0, 1fr); }
  .fva__name { font-size: 11px; padding: 3px 8px; }
  .fva__name b { font-size: 13px; }
  /* スマホ：業界名を途中で折り返さず、文字の長さに合わせたタグとして中央に並べる */
  .fva-logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .fva-logos li { height: 34px; padding: 0 14px; font-size: 12px; }
}

/* ---------- CTA帯 ---------- */
.cta-band { padding: 56px 0; text-align: center; }
/* 赤い帯は上下を斜めに切る（親サイトと同じ区切り方） */
.section--dark.cta-band { clip-path: polygon(0 0, 100% 3.2vw, 100% 100%, 0 calc(100% - 3.2vw)); padding: calc(56px + 3.2vw) 0; background: linear-gradient(180deg, #b8241c 0%, #8b1a1a 100%); }
.cta-band h2 { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.65; font-weight: 700; max-width: 760px; margin: 0 auto 6px; }
.cta-band > .container > p { color: var(--sub); margin-bottom: 22px; }
.section--dark.cta-band > .container > p { color: #f0d9d9; }
.cta-inline { border-top: 1px solid var(--border); padding-top: 28px; }

/* ---------- 共通の並び ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* サービス概要：4つのポイント */
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--border); }
.points li { padding: 28px 22px; }
.points li + li { border-left: 1px solid var(--border); }
.points .num { display: block; font-size: 16px; font-weight: 700; color: var(--main); letter-spacing: .08em; margin-bottom: 6px; }
.points p { font-weight: 700; font-size: 18px; line-height: 1.6; }
.select-box { margin-top: 24px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--main); padding: 24px 28px; }
.select-box h3 { font-size: 19px; margin-bottom: 6px; }
.select-box p { color: var(--sub); }

/* アドバイザー */
.advisor { display: flex; gap: 22px; border: 1px solid var(--border); padding: 22px; background: #fff; }
.advisor__photo { flex: 0 0 120px; height: 150px; background: #e7e4dd; color: #8b8f93; display: flex; align-items: center; justify-content: center; font-size: 12px; overflow: hidden; border-bottom: 3px solid var(--main); }
.advisor__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.advisor__body { flex: 1; min-width: 0; }
.advisor__name { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.advisor__body dl { font-size: 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.advisor__body dt { color: var(--sub); white-space: nowrap; }

/* 対象者チェック */
.checkbox { background: #fff; border: 1px solid #111; max-width: 860px; margin: 0 auto; }
.checkbox h2 { background: #111; color: #fff; text-align: center; font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; padding: 12px 16px; }
.checkbox ul { padding: 12px 32px 16px; }
.checkbox li { position: relative; padding: 14px 0 14px 36px; font-weight: 700; font-size: 17px; border-bottom: 1px dashed var(--border); }
.checkbox li:last-child { border-bottom: 0; }
.checkbox li::before { content: ''; position: absolute; left: 0; top: 20px; width: 20px; height: 20px; border: 2px solid var(--main); background: #fff; }
.checkbox li::after { content: ''; position: absolute; left: 6px; top: 16px; width: 9px; height: 16px; border-right: 4px solid var(--main); border-bottom: 4px solid var(--main); transform: rotate(40deg); }

/* 理由 */
/* 選ばれる理由：薄いグレーの地に、理由ごとの白いカードを並べる（親サイトの「白いカード」の見せ方） */
#reasons { counter-reset: reason; padding-bottom: 72px; background: linear-gradient(180deg, #fff 0, #f2f2f2 260px, #f2f2f2 calc(100% - 160px), #fff 100%); }
.reasons-intro { text-align: center; padding: 96px 0 56px; }
.reasons-intro__q { font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; line-height: 1.8; margin-bottom: 14px; }
.reasons-intro h2 { font-size: clamp(24px, 3.4vw, 40px); line-height: 1.5; font-weight: 700; margin-bottom: 28px; }
.reasons-intro h2 b { font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; font-variant-numeric: lining-nums; font-size: 1.5em; color: var(--main); line-height: 1; padding: 0 2px; }
.reasons-intro .lead { margin: 0 auto; text-align: left; }
.reason { padding: 0 0 48px; counter-increment: reason; }
.reason__inner { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; background: #fff; padding: 48px 52px 52px; border-top: 4px solid var(--main); box-shadow: 0 12px 32px rgba(17, 17, 17, .07); }
/* カード右上に大きく薄い番号を透かしで入れる */
.reason__inner::before { content: counter(reason, decimal-leading-zero); position: absolute; right: 28px; top: -34px; font-family: 'Cormorant Garamond', serif; font-variant-numeric: lining-nums; font-size: 220px; font-weight: 600; line-height: 1; color: rgba(139, 26, 26, .06); pointer-events: none; }
.reason__inner > * { position: relative; }
.reason__head { display: flex; gap: 24px; align-items: center; border-bottom: 3px solid var(--main); padding-bottom: 20px; }
.reason__no { flex: 0 0 auto; text-align: center; line-height: 1; color: var(--main); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.reason__no b { display: block; font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; font-variant-numeric: lining-nums; font-size: 66px; font-weight: 500; letter-spacing: 0; margin-top: 4px; }
.reason__head h3 { font-size: clamp(20px, 2.5vw, 28px); line-height: 1.55; font-weight: 700; }
.reason__text { color: var(--ink); max-width: 760px; }
.know-title { font-weight: 700; margin-bottom: 10px; }
.know-list li { position: relative; padding: 12px 0 12px 22px; font-weight: 700; border-bottom: 1px solid var(--border); }
.know-list li::before { content: ''; position: absolute; left: 2px; top: 24px; width: 8px; height: 8px; background: var(--main); }

/* 求人票 */
.job { border: 1px solid var(--border); background: #fff; }
.job h4 { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 14px 20px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.job dl { display: grid; grid-template-columns: 96px 1fr; font-size: 15px; }
.job dt, .job dd { padding: 12px 20px; border-bottom: 1px solid var(--border); }
.job dt { color: var(--sub); font-size: 13px; padding-right: 0; }
.job dl > :nth-last-child(-n+2) { border-bottom: 0; }
.job__salary { color: var(--main); font-weight: 700; font-size: 20px; line-height: 1.5; }
.job-note { font-size: 12px; color: var(--sub); margin-top: -12px; }

/* 理由3の手順 */
.ai-steps li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--border); font-weight: 700; }
.ai-steps li:first-child { border-top: 1px solid var(--border); }
.ai-steps .num { color: var(--main); font-size: 28px; font-weight: 700; }

/* 相談で分かること */
.learn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.learn li { padding: 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-weight: 700; line-height: 1.6; }
.learn .num { display: block; color: var(--main); font-size: 18px; letter-spacing: .08em; }

/* 流れ */
.flow-note { display: inline-block; margin-left: 16px; font-size: 15px; font-weight: 700; color: var(--main); vertical-align: middle; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.flow li { position: relative; border: 1px solid var(--border); padding: 22px 20px; background: #fff; }
.flow li + li::before { content: ''; position: absolute; left: -21px; top: 50%; border: 9px solid transparent; border-left-color: var(--main); transform: translateY(-50%); }
.flow .num { display: inline-block; background: #111; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .1em; padding: 0 10px; line-height: 2; }
.flow h3 { font-size: 18px; margin: 10px 0 4px; }
.flow p { font-size: 14px; color: var(--sub); line-height: 1.8; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 62px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; position: absolute; left: 16px; top: 18px; width: 32px; height: 32px; background: var(--main); color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 20px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 28px; width: 9px; height: 9px; border-right: 2px solid var(--main); border-bottom: 2px solid var(--main); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details p { position: relative; padding: 0 24px 22px 62px; }
.faq details p::before { content: 'A'; position: absolute; left: 16px; top: 0; width: 32px; height: 32px; border: 1px solid var(--main); color: var(--main); font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* 会社概要 */
.table { width: 100%; border-collapse: collapse; background: #fff; border-top: 1px solid var(--border); }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 15px; }
.table th { width: 28%; background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
.more-link { display: inline-block; margin-top: 18px; font-weight: 700; }

/* 最終CTA */
.final { text-align: center; padding: calc(80px + 3.2vw) 0 80px; clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #b8241c 0%, #8b1a1a 100%); }
.final h2 { font-size: clamp(22px, 3.2vw, 36px); line-height: 1.55; font-weight: 700; margin-bottom: 10px; }
.final__lead { color: var(--gold); font-weight: 700; margin-bottom: 28px; }
.final__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 640px; margin: 0 auto 36px; }
.final__btns .btn { padding-left: 16px; padding-right: 44px; }
.final__other { font-size: 14px; color: #f0d9d9; }
.final__other a { color: #fff; }

/* フッター */
.footer { background: var(--black); color: #c6c6c6; padding: 40px 0 96px; font-size: 13px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
.footer__name { color: #fff; font-weight: 700; font-size: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: #c6c6c6; }

/* 下層ページ見出し */
.page-head { background: var(--bg-soft); padding: 40px 0; border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(25px, 3.2vw, 34px); font-weight: 700; line-height: 1.5; }
.breadcrumb { font-size: 13px; color: var(--sub); margin-bottom: 6px; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: ' ＞ '; }

/* スマホ下部の固定ボタン */
.sticky-cta { display: none; }

/* 【制作中の目印】公開前に差し替える箇所。差し替えが済んだら todo クラスを外す
   kari クラス = 仮の文章・仮の氏名が入っている箇所（見た目には影響なし。公開前に本物へ差し替える） */
.todo { outline: 2px dashed #c62828; outline-offset: 3px; position: relative; }
.todo::before { content: '要差し替え'; position: absolute; top: -13px; right: 8px; z-index: 2; background: #c62828; color: #fff; font-size: 11px; font-weight: 700; padding: 0 8px; line-height: 1.9; }

/* ---------- タブレット以下 ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .points, .learn, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points li:nth-child(3) { border-left: 0; }
  .points li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .flow li:nth-child(3)::before { display: none; }
  .final__btns { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .cta, .cta__btns { width: 100%; }
  .cta__btns .btn { width: 100%; }
  .header .btn { display: none; }
  .logo { font-size: 18px; }
  .points li { padding: 18px 14px; }
  .points p { font-size: 15px; }
  .learn li { padding: 14px; font-size: 14px; }
  .advisor { padding: 16px; gap: 16px; }
  .advisor__photo { flex-basis: 88px; height: 110px; }
  .checkbox ul { padding: 8px 18px 12px; }
  .checkbox li { font-size: 15px; }
  .reasons-intro { padding: 64px 0 40px; }
  .reason { padding-bottom: 32px; }
  .reason__inner { padding: 32px 20px 36px; gap: 22px; }
  .reason__inner::before { font-size: 140px; right: 10px; top: -20px; }
  .reason__head { gap: 16px; }
  .reason__no b { font-size: 44px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .flow li + li::before, .flow li:nth-child(3)::before { display: block; left: 50%; top: -22px; border: 9px solid transparent; border-top-color: var(--main); transform: translateX(-50%); }
  .faq summary { padding-left: 56px; padding-right: 44px; }
  .faq summary::before, .faq details p::before { left: 12px; }
  .faq details p { padding-left: 56px; padding-right: 16px; }
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; padding: 10px 16px 4px; }
  .table td { padding: 8px 16px 14px; }
  .job dl { grid-template-columns: 80px 1fr; }
  .job dt, .job dd { padding: 10px 14px; }
  .sticky-cta { display: grid; grid-template-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--border); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { min-height: 48px; padding: 0 22px 0 8px; font-size: 14px; box-shadow: none; }
  .sticky-cta .btn::after { right: 8px; width: 12px; height: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
