/* ============================================================
   /work/ ページ専用CSS
   読み込み順：common.css → work.css
   旧 sub.css（下層共通CSS）から、このページが使う部品だけを移したもの（2026-10-08）。
   このページのデザインは、このファイルの中で自由に変えてよい（他のページに影響しない）。
   ヘッダー・フッターなど全ページ共通の見た目は common.css に書く。
   ============================================================ */

/* ============================================================
   5. コールアウト（補足・注意・「正直に書く」系メッセージ）
   ============================================================ */
.callout{
  padding:28px 32px;
  background:var(--red-50);
  border-left:5px solid var(--red);
  border-radius:4px 16px 16px 4px;      /* 片側だけ直角＋赤縁取り＝シャープネスのアクセント */
}
.callout-title{margin:0 0 8px;font-size:15px;font-weight:500;color:var(--text);}
.callout p{font-size:14px;color:var(--text-sub);}
.callout .link-arrow{margin-top:14px;}

/* ============================================================
   6. 情報テーブル（会社概要・募集要項向け）
   ============================================================ */
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-card);}
.data-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff;}
.data-table th,.data-table td{padding:16px 20px;text-align:left;border-top:1px solid var(--border);}
.data-table thead th{border-top:none;background:var(--bg-light);font-size:13px;font-weight:500;color:var(--text);white-space:nowrap;}
.data-table td{color:var(--text-sub);}

/* ============================================================
   8. ステップ（選考フロー・1日の流れ・キャリアステップ）
   ============================================================ */
.flow{list-style:none;margin:0;padding:0;counter-reset:flow;}
.flow>li{position:relative;padding:0 0 36px 72px;counter-increment:flow;}
.flow>li::before{
  content:counter(flow,decimal-leading-zero);
  position:absolute;left:0;top:0;
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:12px;
  background:var(--red-50);border:1px solid var(--red-tint-border);
  font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:700;color:var(--red-600);
}
.flow>li::after{
  content:"";position:absolute;left:21px;top:52px;bottom:8px;width:2px;background:var(--border);
}
.flow>li:last-child{padding-bottom:0;}
.flow>li:last-child::after{display:none;}
.flow h3{margin:0 0 6px;font-size:17px;font-weight:500;line-height:44px;}
.flow p{font-size:14px;color:var(--text-sub);}

/* ============================================================
   9. カード派生
   ============================================================ */
/* 英字ラベル付きカード（people-card / column card と同系）。data-label="PAGE 01" */
.card--k{padding-top:52px;overflow:hidden;}
.card--k::before{
  content:attr(data-label);
  position:absolute;left:28px;top:20px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;font-weight:700;letter-spacing:.18em;
  color:rgba(215,25,32,.78);
}
.card--k::after{
  content:"";position:absolute;right:-34px;bottom:-34px;
  width:84px;height:84px;
  border:1px solid rgba(215,25,32,.12);transform:rotate(45deg);
  pointer-events:none;
}
.card--k h3{font-size:17px;}

/* ============================================================
   10. 画像＋テキストのジグザグ（トップの .job-row の汎用版）
   ============================================================ */
.feature{display:flex;gap:64px;align-items:center;margin-bottom:72px;}
.feature:last-child{margin-bottom:0;}
.feature.reverse{flex-direction:row-reverse;}
.feature-visual{
  position:relative;overflow:hidden;
  margin:0;flex:1.1;min-height:320px;
  border-radius:4px 16px 16px 4px;border-left:5px solid var(--red);
  background:repeating-linear-gradient(135deg,#F5F5F4,#F5F5F4 10px,#EFEEEA 10px,#EFEEEA 20px);
}
.feature-visual img{width:100%;height:100%;object-fit:cover;}
.feature.reverse .feature-visual{
  border-radius:16px 4px 4px 16px;border-left:none;border-right:5px solid var(--red);
}
.feature-visual figcaption{
  position:absolute;left:16px;bottom:14px;
  padding:7px 12px;border-radius:999px;
  background:rgba(255,255,255,.88);backdrop-filter:blur(5px);
  font-size:12px;color:var(--text);
}
.feature-text{flex:1;}
.feature-text h3{margin:8px 0 14px;font-size:21px;font-weight:500;}
.feature-text p{font-size:14px;color:var(--text-sub);margin-bottom:20px;}

/* ============================================================
   レスポンシブ（860px以下。common.css / top.css と同じブレークポイント）
   ============================================================ */
@media (max-width:860px){
  .callout{padding:22px 20px;}
  .flow>li{padding-left:60px;}
  .feature,.feature.reverse{flex-direction:column;gap:28px;margin-bottom:56px;}
  .feature-visual{width:100%;min-height:220px;}
}

/* ============================================================
   17. 部品を組み合わせたときの余白（既存部品の補正）
   ============================================================ */
/* .feature-text の中にコールアウトを置くとき（.feature-text p の下余白を打ち消す） */
.feature-text .callout p{margin-bottom:0;}
.feature-text .callout .callout-title{margin-bottom:8px;}
/* リンクの無いカードは、ホバーで浮かせない（押せるように見えないようにする） */
.card:not(:has(a)):hover{transform:none;box-shadow:none;border-color:var(--border);}
/* 表の行見出し（tbody の th）を太字（700）にしない */
.data-table tbody th{font-weight:500;color:var(--text);white-space:nowrap;}
/* 表（.table-wrap）の下にコールアウトを置くとき */
.table-wrap + .callout{margin-top:28px;}
@media (max-width:860px){
  .data-table th,.data-table td{padding:12px 14px;}
}

/* ============================================================
   18. 小見出し（.subhead）：英字ラベル付き。セクションの中の h3 に使う
   <h3 class="subhead" data-en="EVENTS">社内イベント</h3>
   見た目は 15節の .smtp-subtitle と同じ（.smtp-subtitle は付録Cの文面専用にする）
   ============================================================ */
.subhead{
  position:relative;
  font-size:17px;font-weight:500;
  margin:56px 0 24px;
}
.subhead::before{
  content:attr(data-en);
  display:block;margin-bottom:6px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;font-weight:700;letter-spacing:.2em;
  color:var(--red);
}
@media (max-width:860px){
  .subhead{margin:44px 0 20px;}
}

/* ============================================================
   20. リンクの横並び（.link-row）：矢印リンクを2つ以上並べるとき
   <div class="link-row"><a class="link-arrow" href="…">… ›</a><a class="link-arrow" href="…">… ›</a></div>
   ============================================================ */
.link-row{display:flex;flex-wrap:wrap;gap:10px 28px;}

/* ============================================================
   21. 部品を組み合わせたときの余白（17節の続き）
   ============================================================ */
/* グリッドの各列の先頭に置いた小見出しは、上の余白をなくす */
.grid > * > .subhead:first-child{margin-top:0;}
/* ステップ（.flow）の中の矢印リンク */
.flow .link-arrow{margin-top:8px;}
@media (max-width:860px){
  /* スマホでは、表の列見出しも折り返す（長い職種名で表がはみ出さないように） */
  .data-table thead th{white-space:normal;}
}

/* ============================================================
   27. 部品を組み合わせたときの補正（23節の続き）
   ============================================================ */
/* 横長の写真を .feature-visual に入れても、枠（最小の高さ）の下に隙間が出ないようにする */
.feature-visual > img{min-height:320px;}
@media (max-width:860px){
  .feature-visual > img{min-height:220px;}
}

/* ============================================================
   T11. 先輩の声（.voice）：起業家本人の言葉の引用（2026-10 追加）
   <figure class="voice"><blockquote cite="出典URL"><p>「引用」</p></blockquote>
   <figcaption>会社名 <a href="/people/#○○">○○社長</a>（対談動画より）</figcaption></figure>
   引用の文は実装案の文案から一字一句そのまま写す
   ============================================================ */
.voice{
  margin:28px 0;padding:18px 22px;
  background:var(--bg);
  border:1px solid var(--border);border-left:3px solid var(--red);
  border-radius:3px 12px 12px 3px;
}
.voice blockquote{margin:0;}
.voice blockquote p{margin:0;font-size:15px;font-weight:500;line-height:1.85;color:var(--text);}
.voice figcaption{margin-top:10px;font-size:12px;line-height:1.7;color:var(--text-sub);}
.voice figcaption a{color:inherit;border-bottom:1px solid var(--red-tint-border);}
.voice-note{margin-top:12px;font-size:12px;line-height:1.7;color:var(--text-sub);}
.prose .voice{margin:1.6em 0;}
@media (max-width:860px){
  .voice{padding:16px 18px;}
  .voice blockquote p{font-size:14px;}
}

.honest-text{margin:0 0 4px;font-size:15px;line-height:1.95;color:var(--text-sub);}

/* ============================================================
   T12. 小さな注記（.fine-note）（2026-10 追加）
   ============================================================ */
.fine-note{margin-top:12px;font-size:12px;line-height:1.7;color:var(--text-sub);}

/* ============================================================
   T12. ディレクターの1日（.day-timeline）（2026-10 追加）
   ============================================================ */
.day-col .subhead{margin-top:0;}
.day-timeline{list-style:none;margin:0 0 24px;padding:0;border-left:2px solid var(--border);}
.day-timeline li{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:baseline;padding:9px 0 9px 20px;}
.day-timeline li::before{content:"";position:absolute;left:-6px;top:16px;width:10px;height:10px;border-radius:3px;background:var(--red);}
.day-timeline time{font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:700;color:var(--red);}
.day-timeline span{font-size:15px;line-height:1.7;color:var(--text);}
@media (max-width:860px){
  .day-timeline li{grid-template-columns:56px minmax(0,1fr);}
}

/* T12. 余白の調整（#products のタグと段落、#day の右列）（2026-10 追加） */
#products .tags{margin:14px 0 20px;}
.day-col .flow{margin-bottom:24px;}
.day-col .link-arrow{display:inline-block;margin-top:16px;}

/* ============================================================
   T13（2026-10-28）#day を、時刻の一覧｜コールアウトの2列に。成長ステップは #steps に分けた
   ============================================================ */
#day .day-timeline{margin-bottom:0;}
#steps .wrap--narrow{margin-left:0;}
#steps .fine-note{margin-top:24px;}
#steps .link-arrow{display:inline-block;margin-top:16px;}

/* ===== 2026-10-28 A3：本文の途中の応募の入口（.inline-cta） =====
   /people/・/work/・/career/market-value/・/career/management-perspective/ の個別CSSに同じものを置く。
   PCは左に文、右にボタン2つ。スマホは縦並び。ボタンの高さは44px以上 */
.inline-cta{
  margin-top:56px;padding:28px 32px;
  display:flex;align-items:center;justify-content:space-between;gap:20px 32px;
  border:1px solid var(--red-tint-border);border-radius:var(--radius-card);background:var(--red-50);
}
.inline-cta__body{flex:1 1 auto;min-width:0;}
.inline-cta__title{font-size:18px;font-weight:500;line-height:1.6;color:var(--text);word-break:auto-phrase;text-wrap:balance;}
.inline-cta__text{margin-top:6px;font-size:13px;line-height:1.8;color:var(--text-sub);word-break:auto-phrase;text-wrap:pretty;}
.inline-cta__actions{flex:0 0 auto;display:flex;flex-direction:column;gap:10px;}
.inline-cta__actions .btn-pill{min-height:44px;padding:10px 28px;font-size:14px;}
.inline-cta__sub{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 24px;
  border:1px solid var(--red);border-radius:var(--radius-pill);background:var(--bg);
  font-size:14px;color:var(--red);white-space:nowrap;transition:background 150ms ease-out;
}
.inline-cta__sub:hover{background:var(--red-50);}
@media (max-width:860px){
  .inline-cta{flex-direction:column;align-items:stretch;margin-top:40px;padding:24px 20px;text-align:center;}
  .inline-cta__title{font-size:16px;}
}

/* ---- 第5弾（2026-10-30）：成長ステップの各段階の1行目（その段階を一言で） ---- */
.flow p.step-lead{margin:0 0 4px;font-size:15px;font-weight:500;color:var(--text);}

/* ---- 第8弾（2026-11-20）---- */
/* 3-2 2つの仕事の違い：正社員とフリーランスの列を同じ幅に（項目の列は固定） */
#compare .data-table{table-layout:fixed;}
#compare .data-table thead th:first-child{width:136px;}
#compare .data-table thead th{white-space:normal;line-height:1.6;}
@media (max-width:860px){
  #compare .data-table thead th:first-child{width:112px;}
}
/* 3-3 HONESTLY・SUPPORT の冒頭の注記 */
.honest-scope{margin:0 0 24px;font-size:13px;line-height:1.85;color:var(--text-sub);}
.subhead + .honest-scope{margin:-6px 0 18px;}
