@charset "UTF-8";
/* 採用情報 ページ専用のスタイル（共通は common/site.css・common/page.css） */

/* 6つの喜び（3列×2段） */
.points3--6 { row-gap: 60px; }
.points3--6 .point:nth-child(3n+1) { border-left: 0; padding-left: 0; }
/* 見出し・本文の大きさは page.css の .point（現デザイン：見出し24px、本文18px・行間1.8） */

/* 代表挨拶 */
.greeting { display: grid; grid-template-columns: 1fr 441px; gap: 56px; align-items: start; } /* 現デザイン：写真 441×553px */
.greeting .greeting-catch { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 400; line-height: 1.5; margin-bottom: 40px; } /* 現デザイン：36px */
.greeting p { font-size: var(--font-size-18px); line-height: 1.8; } /* 現デザイン：18px・行間1.8 */
.greeting .greeting-sign { text-align: right; font-size: var(--font-size-18px); margin-top: 30px; }
.greeting .greeting-sign strong { display: block; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 500; margin-top: 4px; }
.greeting-photo { aspect-ratio: 441 / 553; border-radius: 5px; overflow: hidden; }
.greeting-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 一日の流れ（タブ） */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tab { position: relative; border: 0; border-radius: 5px; padding: 26px 10px 24px; background: #dde3ec; color: var(--navy); font: inherit; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.4; cursor: pointer; } /* 現デザイン：24px */
.tab small { display: block; font-size: 0.875rem; opacity: .7; }
.tab.is-active { background: var(--navy); color: #fff; }
.tab.is-active::after { content: ""; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); border: 9px solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.tab-panel { display: none; background: var(--gray-bg); border-radius: 4px; padding: 44px 56px 50px; margin-top: 18px; }
.tab-panel.is-active { display: block; }
.tab-panel > p { font-size: var(--font-size-18px); line-height: 1.8; } /* 現デザイン：18px・行間1.8 */
.label-navy { display: flex; align-items: center; gap: 20px; color: var(--navy); font-size: var(--font-size-20px); font-weight: 600; margin: 0 0 18px; } /* 現デザイン：20px */
.label-navy::after { content: ""; flex: 1; height: 1px; background: #c3ccd6; }
.tab-panel .label-navy + p { margin-bottom: 40px; }
.timeline { position: relative; display: grid; gap: 10px; margin-bottom: 44px; }
.timeline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 28px 34px 26px 112px; }
.timeline li::before { content: attr(data-time); position: absolute; left: 30px; top: 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.8125rem; font-weight: 700; display: grid; place-items: center; z-index: 2; }
/* 点線：各項目の丸の中心から次の項目の丸の中心まで（項目の高さに関係なくつながる） */
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 57px; top: 50px; bottom: -60px; border-left: 2px dotted #7d8fa8; z-index: 1; }
.timeline h4 { color: var(--navy); font-size: var(--font-size-20px); font-weight: 600; margin-bottom: 8px; } /* 現デザイン：20px */
.timeline p { margin: 0 0 .7em; font-size: var(--font-size-18px); line-height: 1.8; } /* 現デザイン：18px・行間1.8 */
.timeline p:last-child { margin-bottom: 0; }
.tab-panel > p.msg-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 400; line-height: 1.5; margin: 0 0 30px; } /* 現デザイン：36px */
.tab-panel > p.label-navy { color: var(--navy); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); } /* 現デザイン：22px */
.refresh { display: inline-block; background: #fff; border-radius: 30px; padding: 9px 20px; font-size: 1rem; font-weight: 500; color: var(--navy); margin-top: 16px; } /* 現デザイン：16px・中太 */
.refresh b { font-weight: 500; color: #333; margin-left: 4px; }

/* キャリアアップ */
/* キャリアアップ（現デザイン：幅260px・高さ240→480pxの階段、ラベル18px、本文16px白） */
.career-steps { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; margin-top: 140px; color: #FFF; }
.career-step { position: relative; display: flex; flex-direction: column; padding: 24px 20px 12px; }
.career-step:nth-child(1) { min-height: 240px; background-color: #265EB5; }
.career-step:nth-child(2) { min-height: 300px; background-color: #154B9F; }
.career-step:nth-child(3) { min-height: 360px; background-color: #063885; }
.career-step:nth-child(4) { min-height: 420px; background-color: #00307A; }
.career-step:nth-child(5) { min-height: 480px; background-color: #002257; }
.career-step p { margin: 0; font-size: 1rem; line-height: 1.6; }
.career-step p:not(.career-step-ttl) { margin-top: auto; min-height: 144px; line-height: 1.5; } /* 現デザイン：本文の書き出しを全段そろえる（段の下から156px） */
.career-step .career-step-ttl { margin: 0 0 18px; padding: 6px; background-color: #FFF; border-radius: 2px; color: var(--navy); text-align: center; font-weight: 600; font-size: var(--font-size-18px); }
.career-illust { position: absolute; bottom: calc(100% - 18px); height: auto; } /* 現デザイン：イラストの足元を段の上辺に少し重ねる */
.career-step .career-step-ttl { position: relative; z-index: 1; }
.career-illust--pair { left: 18%; width: 180px; }
.career-illust--junior { left: 13%; bottom: calc(100% - 23px); width: 53px; }
.career-illust--boss { left: 39%; bottom: calc(100% - 23px); width: 127px; }
/* データ：人のアイコン（デザインの素材：image/合体 36・38・41） */
.icons img { width: 24px; height: 48px; }

/* データで見る */
.data-note { font-size: 0.875rem; color: #666; margin: -20px 0 26px; }
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.data-grid--2 { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.data-card { position: relative; background: var(--gray-bg); border-radius: 5px; padding: 84px 30px 56px; text-align: center; }
.data-card-label { position: absolute; top: 0; left: 0; background: var(--navy); color: #fff; font-size: 0.9375rem; font-weight: 600; padding: 9px 16px; border-radius: 5px 0 5px 0; }
.data-big { font-size: clamp(3.5rem, 2.5rem + 3vw, 5.25rem); font-weight: 300; color: var(--navy); line-height: 1; } /* 現デザイン：84px */
.data-big small { font-size: 1.75rem; font-weight: 400; margin-left: 4px; }
.icons { display: grid; grid-template-columns: repeat(5, 24px); gap: 10px 8px; justify-content: center; margin-bottom: 24px; }
.icons svg { width: 26px; height: 38px; }
.ratio { display: flex; justify-content: center; gap: 40px; }
.ratio span { display: block; font-size: 1rem; font-weight: 500; white-space: nowrap; }
.ratio strong { font-size: clamp(2.75rem, 2rem + 2.2vw, 4rem); font-weight: 400; line-height: 1.1; } /* 現デザイン：64px */
.ratio strong small { font-size: 1.75rem; margin-left: 3px; }
.c-navy { color: var(--navy); } .c-pink { color: #e05a8f; } .c-sky { color: #4a90d9; } .c-orange { color: #ee8a2c; }
.bars { display: grid; gap: 16px; padding: 0 20px; text-align: left; }
.bar { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 0; font-size: 1rem; }
.bar-label { text-align: right; padding-right: 16px; white-space: nowrap; }
.bar-track { display: flex; align-items: center; gap: 10px; border-left: 1px solid #b9c3cc; padding: 2px 0; }
.bar-fill { height: 30px; background: #1E57B4; }
.bar-num { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: 300; color: var(--navy); } /* 現デザイン：38px */
.bar-num small { font-size: 0.875rem; margin-left: 2px; }
/* 年齢層・勤務年数のグラフ（現デザインに合わせる：見出し左寄せ・紺、軸線を1本に、行間60px、最大の棒を約280pxに、数字は棒と同じ色） */
.data-grid--2 .data-card { display: flex; flex-direction: column; justify-content: center; min-height: 409px; padding: 41px 40px 0 80px; text-align: left; }
.data-grid--2 .bars { gap: 0; padding: 0; }
.data-grid--2 .bar { grid-template-columns: 61px 1fr; }
.data-grid--2 .data-card + .data-card .bar { grid-template-columns: 160px 1fr; }
.data-grid--2 .bar-label { text-align: left; padding-right: 0; color: var(--navy); font-weight: 500; font-size: 0.9375rem; }
.data-grid--2 .bar-track { gap: 21px; padding: 15px 0; }
.data-grid--2 .bar-fill { flex: none; border-radius: 0 2px 2px 0; }
.data-grid--2 .bar-num { color: #1E57B4; line-height: 30px; }
@media (max-width: 640px) {
  .data-grid--2 .data-card { min-height: 0; padding: 60px 20px 30px; }
}

/* 選考プロセス */
.steps--process .step { padding: 16px 12px 22px; }
.steps--process .step-num { padding-bottom: 12px; margin-bottom: 18px; font-size: 1.375rem; color: var(--navy); }
.steps--process .step h4 { margin: 0; font-weight: 400; }
.steps--process .step:last-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.steps--process .step:last-child .step-num { color: #fff; border-color: rgba(255,255,255,.3); }

@media (max-width: 900px) {
  /* キャリアアップ制度：スマホ・タブレットは階段をやめ、年次ごとに縦に並べる */
  .career-steps { grid-template-columns: 1fr; align-items: stretch; margin-top: 40px; }
  .career-step { display: grid; grid-template-columns: 7.5em 1fr; gap: 0 18px; align-items: start; min-height: 0 !important; padding: 20px; }
  .career-step .career-step-ttl { margin: 0; }
  .career-step p:not(.career-step-ttl) { margin-top: 0; min-height: 0; }
  /* スマホ・タブレットではイラストを出さない（2026-11-19 ご指示） */
  .career-illust { display: none; }
  /* スマホ・タブレット：写真は本文のあと、名前（署名）の上に置く */
  .greeting { display: flex; flex-direction: column; gap: 0; }
  .greeting > div:first-child { display: contents; }
  .greeting-photo { order: 1; width: 100%; max-width: 360px; margin-top: 10px; }
  .greeting .greeting-sign { order: 2; align-self: stretch; width: 100%; text-align: right; }
  .tab-panel { padding: 28px 20px; }
  .data-grid, .data-grid--2 { grid-template-columns: minmax(0, 1fr); } /* 中身の幅でカードが画面より広がらないように */
  .points3--6 .point { border-left: 0 !important; padding-left: 0 !important; }
}
@media (max-width: 640px) {
  .tab { font-size: 15px; }
  .timeline li { padding: 16px 18px 18px; }
  .timeline h4 { display: flex; align-items: center; min-height: 56px; padding-left: 70px; } /* 時刻の丸の横に見出しを置く */
  .timeline li::before { left: 18px; top: 16px; }
  /* 見出しのない時間（11:30・16:00 など）：文章を時刻の丸の右に置き、丸と重ならないようにする */
  .timeline li > p:first-child { display: flex; align-items: center; min-height: 56px; padding-left: 70px; }
  .timeline li:not(:last-child)::after { display: none; }
  .bar { grid-template-columns: 100px 1fr; }
  /* グラフが画面からはみ出して横に揺れないように */
  .data-grid--2 .bar, .data-grid--2 .data-card + .data-card .bar { grid-template-columns: 5.5em minmax(0, 1fr); }
  .data-grid--2 .bar-label { white-space: normal; }
  .data-grid--2 .bar-track { gap: 12px; min-width: 0; }
}

/* もとは HTML の style="..." に直接書いていた指定 */
.recruit-sub-lead { margin: -6px 0 18px !important; }
.svg-defs { position: absolute !important; }

/* 一日の流れ：各スタッフの写真（メッセージの後半の右に回り込み。文章は横幅いっぱい） */
.staff-msg { display: flow-root; }
.staff-msg-text > p { font-size: var(--font-size-18px); line-height: 1.8; }
.staff-msg-text > p.label-navy { color: var(--navy); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); }
.staff-msg-text > p.msg-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 400; line-height: 1.5; margin: 0 0 30px; }
.staff-photo { float: right; width: 340px; margin: 6px 0 20px 48px; border-radius: 5px; overflow: hidden; }
.staff-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .staff-photo { float: none; width: auto; max-width: 420px; margin: 0 0 24px; }
}

/* スマホでは仁熊さんの写真を文章の下に置く */
@media (max-width: 900px) {
  .staff-msg-text:has(.staff-photo--sp-last) { display: flex; flex-direction: column; }
  .staff-photo--sp-last { order: 1; margin: 24px 0 0; }
  .staff-msg-text:has(.staff-photo--sp-last) > .refresh { align-self: flex-start; }
}

/* 数字で見る児玉会計：数字は Outfit（英数字用の書体）。「名」「年」などの日本語は IBM Plex Sans JP のまま */
.data-big, .ratio strong, .bar-num { font-family: "Outfit", "IBM Plex Sans JP", sans-serif; font-weight: 200; } /* 現デザインに合わせて細め（ExtraLight） */
.data-big small, .ratio strong small, .bar-num small { font-family: "IBM Plex Sans JP", sans-serif; font-weight: 500; } /* 現デザイン：「名」「年」「%」は数字より太め */

/* よくある一日：時刻は Outfit の Medium、見出しは少し細く（現デザインに合わせる） */
.timeline li::before { font-family: "Outfit", sans-serif; font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.02em; }
.timeline h4 { font-weight: 500; }

/* 「入社動機」「よくある一日」「メッセージ」などの見出しと、代表の名前：現デザインに合わせて1段細く */
.label-navy { font-weight: 500; }
.greeting .greeting-sign strong { font-weight: 400; }

/* 「6つの喜び」「活躍できる人」の大きな番号（01〜06）：現デザインの薄い青に合わせる */
.point-num { color: #E6EEF9; }

/* よくある一日：見出しのない時間（11:30・16:00）は、時刻の丸と文章を上下中央にそろえ、丸の上下の余白を同じにする */
.timeline li:has(> p:first-child) { display: flex; align-items: center; min-height: 100px; padding-block: 22px; }
.timeline li:has(> p:first-child) > p { flex: 1; margin: 0; }
@media (max-width: 640px) {
  .timeline li:has(> p:first-child) { min-height: 0; padding-block: 16px; }
}
