@charset "UTF-8";
/* =========================================================================
   page-work.css — 仕事・キャリアを知る
   Figma: 仕事・キャリアを知る (node 53:88) 1440 x 10033（2026-10-02 改訂版）
   ※ Figma MCP の呼び出し上限に達したため、ブラウザ上の Figma から
      レイヤー名・キャンバス表示・ネットワークログ経由で取得して実装している
   ========================================================================= */

/* ---------------------------------------------------------- service ---- */
/* カンプ: 3枚のカードを Group 202 (x120 y1313 / 1153x178) に横並び */
/* カンプ（2026-10 改訂）: 幅 350 のカード3枚・間 75px。間の中央に薄いグレーの縦線（高さ 466） */
.service { margin-top: clamp(48px, 9.9vw, 142px); }

.service__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5.2vw, 75px);
}

.service-card { position: relative; }

.service-card + .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(clamp(24px, 5.2vw, 75px) / -2);
  width: 1px;
  height: min(100%, 466px);
  background: #d9d9d9;
}

.service-card__photo {
  width: 100%;
  aspect-ratio: 350 / 248;
  object-fit: cover;
  border-radius: 9px;
}

.service-card__title {
  margin-top: clamp(12px, 1.3vw, 19px);
  font-size: var(--fs-h6);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--c-primary);
}

/* カンプは見出しの色を左から 濃紺 → 青 → 水色 と変えている */
.service-card:nth-child(1) .service-card__title { color: var(--c-primary-deep); }
.service-card:nth-child(3) .service-card__title { color: var(--c-sky); }

.service-card__body {
  margin-top: clamp(12px, 1.25vw, 18px);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  color: var(--c-ink);
  text-wrap: pretty;
}

/* ------------------------------------------------------- career path --- */
/* カンプ（アセット 1 3）: クリーム #fbf9f7 の地。上端はゆるい波形（左右が高く、x≒465 で最も下がる・高さ約 61px）。
   地は下の「教育・サポート体制」の帯の裏まで続くため、帯との間に白い隙間を作らない（下端の波は帯に隠れる） */
.career {
  margin-top: clamp(56px, 7.4vw, 106px);
  padding-block: clamp(56px, 10.2vw, 147px) clamp(64px, 13.9vw, 200px);
  background:
    url(../img/career-wave-top.svg) top center / 100% 4.45vw no-repeat,
    linear-gradient(#fbf9f7, #fbf9f7) 0 4.4vw / 100% 100% no-repeat;
}

.career + .support { margin-top: 0; }

/* カンプでは見出し・カードが x154 から始まる（コンテンツ左端 +34px） */
.career__inner > .hlabel { margin-left: clamp(0px, 2.4vw, 34px); }

.career__track { margin-inline: clamp(0px, 2.4vw, 34px); }

/* 2026-10 改訂: 応募区分ごとに［A］［B］2つのキャリアパス。区分の間は 100px */
.career__track + .career__track { margin-top: clamp(48px, 6.9vw, 100px); }

.career__title {
  margin-top: clamp(18px, 1.9vw, 28px);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  line-height: 1.875;   /* 32/60 */
  color: var(--c-ink);
}

.career__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

/* カンプ: 1132x132 の白カード。左に STEP 番号と期間（期間がカードの縦中央）、
   本文 20/40 はカード左端から 215px で縦中央（2行でも高さ 132 のまま） */
.step {
  display: grid;
  grid-template-columns: minmax(0, 176px) minmax(0, 1fr);
  align-items: center;
  align-content: center;   /* 余白を行に配らず、番号+期間のまとまりを縦中央に置く */
  min-height: 132px;
  padding: 16px clamp(20px, 2.7vw, 39px);
  background: var(--c-white);
  border-radius: 18px;
}

.step__no {
  grid-column: 1;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  line-height: 18px;
  color: var(--c-primary);
}

/* 番号の分だけ下にも余白を取り、期間の行がカードの縦中央に来るようにする */
.step__term {
  grid-column: 1;
  margin: -2px 0 16px;
  font-size: var(--fs-lead);
  font-weight: var(--fw-bold);
  line-height: 40px;
  color: var(--c-ink);
}

.step__body {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: var(--fs-lead);
  font-weight: var(--fw-bold);
  line-height: 2;
  color: var(--c-ink);
  text-wrap: pretty;
}

/* ---------------------------------------------------------- support ---- */
/* カンプ: 1440x579 の青帯。白地に人物写真4枚を約16°傾けて段違いに並べ、
   帯全体に #00509d を 82% で被せる（写真の無い部分も同じ被せで #3373b1 になる） */
.support {
  position: relative;
  margin-top: clamp(48px, 6.6vw, 95px);
  padding-block: clamp(40px, 3.8vw, 55px) clamp(40px, 4.4vw, 63px);
  background: var(--c-white);
  overflow: hidden;
}

/* コラージュの寸法はカンプ(1440)の px 値 × --u。1440px 未満では比率で縮める */
.support__photos {
  --u: min(1px, calc(100vw / 1440));
  position: absolute;
  inset: 0;
}

.support__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 80 157 / .82);
  pointer-events: none;
}

/* 2026-10-28 改訂: カンプでは4枚を傾けて並べた状態の1枚画像（689x680）になった。
   帯（上端 y=3409）に対して x=617・y=-53 に置き、はみ出しは帯で切る */
.support__collage {
  position: absolute;
  top: calc(-53 * var(--u));
  left: calc(50% - 103 * var(--u));   /* 617 = 720 - 103 */
  width: calc(689 * var(--u));
}

.support__collage img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.support__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3.6vw, 52px);   /* ラベル右端 157 → カード 209 */
  align-items: start;
}

/* 青地の上に置くため、見出しは白抜き・英字は水色（2026-10-30 指示） */
.support__label .vlabel__en { color: var(--c-sky); }
.support__label .vlabel__ja { color: var(--c-white); }

.support__list {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, .76vw, 11px);
  width: min(100%, 429px);
}

/* カンプ実測: 431x107 / 文字の左端まで26px。本文は1行21字前後で折り返す */
.support-card {
  padding: clamp(12px, 1.04vw, 15px) clamp(16px, 1.8vw, 18px) 10px clamp(16px, 1.7vw, 25px);
  background: var(--c-white);
  border-radius: 10px;
}

.support-card__title {
  font-size: var(--fs-lead);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--c-primary);
}

.support-card__body {
  max-width: 20.4em;   /* カンプと同じ位置で折り返す幅（実測 323〜331px の間） */
  margin-top: 4px;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: 1.5625;
  color: var(--c-ink);
}

/* ------------------------------------------------------- interviews ---- */
/* カンプ（2026-10 改訂）: 左にプロフィール（幅 430）、右に Q&A の白カード（幅 682・角丸 16）。
   カードの中は 質問 = 右寄せの青ラベル / 回答 = 薄いグレーの箱。3問目の後に2枚目の写真（590x294） */
/* カンプ: 教育・サポート体制の帯の下から CTA 帯まで、画面幅いっぱいに水色→クリームのグラデーション地。
   白い Q&A カードと白いタグはこの地の上に乗る */
.interviews {
  padding-block: clamp(72px, 10.4vw, 150px) clamp(72px, 12.1vw, 174px);
  background: linear-gradient(62.24deg, var(--c-ice) 1.57%, var(--c-cream) 98.43%);
}

/* 見出しは下層ページ冒頭と同じ型（英字 + 青い下線 + 黒の 40/40） */
.interviews__title {
  margin-top: 11px;
  font-size: var(--fs-page-title);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--c-ink);
}

.iv {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: clamp(24px, 6.1vw, 88px);
  align-items: start;
  margin-top: clamp(48px, 6.9vw, 100px);
  scroll-margin-top: calc(var(--header-h) + 24px);   /* トップのカードから #interview-01 などで飛んだとき固定ヘッダーに隠れない */
}

.iv + .iv { margin-top: clamp(64px, 13vw, 187px); }

/* PC（横並び）のときは、左の人物写真だけをヘッダーの下に留め、見出し・名前・タグと右の Q&A はスクロールする。
   about の代表メッセージと同じ動き。各インタビュー（.iv）の範囲内でだけ留まり、次の人に替わる。
   留まる範囲を .iv の高さいっぱいにするため、.iv__profile を縦に伸ばす。
   写真は高さ約 294px ＋ 上の余白 130px。画面の高さが足りないと写真の下が切れたまま留まるので、高さ 480px 以上のときだけ留める */
@media (min-width: 1024px) and (min-height: 480px) {
  .iv__profile { align-self: stretch; }

  .iv__profile .iv__photo {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

.iv__head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: 35px;
  color: var(--c-primary);
}

.iv__rule {
  width: 68px;
  height: 1px;
  background: currentColor;
}

.iv__title {
  display: inline-block;
  margin-top: clamp(10px, 1vw, 14px);
  padding: 3px 14px;
  background: var(--c-white);
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--c-ink);
}

.iv__name {
  margin-top: clamp(10px, 1vw, 14px);
  font-size: var(--fs-lead);
  font-weight: var(--fw-medium);
  line-height: 35px;
  letter-spacing: 0.02em;
  color: var(--c-text);
}

.iv__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: clamp(12px, 1.5vw, 22px);
}

.iv__photo {
  width: 100%;
  margin-top: clamp(24px, 3vw, 43px);
  aspect-ratio: 430 / 294;
  object-fit: cover;
  border-radius: 21px;
}

.interviews + .cta { margin-top: 0; }

/* ------------------------------------------------------ Q&A card ------- */
.iv__qa {
  padding: clamp(24px, 3.2vw, 46px) clamp(16px, 2.5vw, 36px) clamp(32px, 3.9vw, 56px) clamp(16px, 2.3vw, 33px);
  background: var(--c-white);
  border-radius: 16px;
}

.qa-list { margin: 0; }

/* 質問は右寄せの青い吹き出し（右下だけ角・高さ 44） */
.qa-q {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  padding: 4px 12px 4px 19px;
  background: var(--c-primary);
  border-radius: 15px 15px 0 15px;   /* カンプ: 右下だけ角のある吹き出し（他の3つの角は 15px） */
  color: var(--c-white);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: 36px;
}

.qa-q::before { content: "Q\00a0"; }

.qa-a + .qa-q { margin-top: 30px; }

/* 回答は薄いグレーの箱 */
.qa-a {
  margin: 20px 0 0;
  padding: 22px 18px 21px clamp(16px, 2vw, 29px);   /* カンプは下余白 15〜26px と揺れる。最も多い高さ 192px に合わせる */
  background: #f6f6f6;
  border-radius: 15px;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: 1.875;   /* 16/30 */
  color: var(--c-text);
  text-wrap: pretty;
}

/* 3問目の後の2枚目の写真 */
.iv__photo--sub {
  width: min(590px, calc(100% - 18px));
  margin: 60px 0 60px clamp(0px, 1.3vw, 18px);
  aspect-ratio: 590 / 294;
}

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1023px) {
  .service__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .iv { grid-template-columns: minmax(0, 1fr); }

  .iv__photo { max-width: 430px; }

  .support__inner { grid-template-columns: auto minmax(0, 1fr); }

  .support__list { width: 100%; }
}

@media (max-width: 767px) {
  .service__list { grid-template-columns: minmax(0, 1fr); }

  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
  }

  .step__body { grid-column: 1; grid-row: auto; }

  .step__term { margin-bottom: 0; }

  /* 縦積みでは縦の区切り線は不要 */
  .service-card + .service-card::before { display: none; }

  .iv__photo--sub { margin-block: 32px; }

  /* SP では写真コラージュを隠し、青一色にしてカードを全幅で見せる */
  /* 写真だけ隠す。青の被せ（.support__photos::after）は残して帯の地色にする */
  .support__collage { display: none; }

  .support__inner { gap: 12px; }

  /* SP は全幅カードになるため、本文を以前の 15px に戻して3行化を抑える */
  .support-card__body { font-size: var(--fs-sm); }
}
