@charset "utf-8";
/* 新卒採用の年度共通本文スタイル。共通UIは現行common.cssとcustom.jsを継承。
   構成: 設定 → レイアウト → 情報行 → リスト → 選考 → メディア → 応答幅。
   style.cssへの上書き追記ではなく、採用ページの本文パーツを管理する。 */
.recruit-page {
  --recruit-space-section: clamp(36px, 4.4vw, 56px);
  --recruit-space-group: clamp(24px, 3vw, 36px);
  --recruit-radius: 10px;
  --recruit-border: rgba(31, 54, 78, .09);
  --recruit-shadow: 0 2px 8px rgba(31, 54, 78, .04), inset 0 1px 0 rgba(255, 255, 255, .8);
  --recruit-blue: #086ba9;
  --recruit-pink: #a92b70;
}
/* ページ背景はサイト共通の薄い青（body・section）を引き継ぐ。 */
/* 情報ページの表示位置を安定させ、アンカー移動後の見出しの跳ねを防ぐ。 */
.recruit-page .reveal {
  transform: none;
}
.recruit-page .container {
  max-width: 1100px;
  padding-inline: 20px;
}
.recruit-page .recruit-section {
  padding-block: var(--recruit-space-section);
}
.recruit-page .recruit-intro {
  padding-block: 24px;
  border-bottom: 1px solid var(--recruit-border);
}
.recruit-page [id] {
  scroll-margin-top: 96px;
}
.recruit-page p {
  margin-bottom: 16px;
}
.recruit-page p:last-child {
  margin-bottom: 0;
}
.recruit-layout {
  display: grid;
  gap: 24px;
}
.recruit-layout > *, .recruit-columns > * {
  min-width: 0;
}
.recruit-columns {
  display: grid;
  gap: 24px;
}
.recruit-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.recruit-intro .recruit-heading {
  margin: 0;
}
.recruit-facts + .recruit-heading {
  margin-top: var(--recruit-space-group);
}
.recruit-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2rem);
  line-height: 1.45;
}
.recruit-heading p {
  max-width: 720px;
  margin: 0;
}
.recruit-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .09em;
}
.recruit-heading .recruit-kicker::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px;
  background: linear-gradient(140deg, var(--primary), var(--secondary));
}
.recruit-lead {
  font-size: 1.05rem;
  font-weight: 600;
}
.recruit-muted, .recruit-note {
  color: var(--muted);
}
.recruit-note {
  margin-top: 16px;
  font-size: .9rem;
}
.recruit-phone {
  font-variant-numeric: tabular-nums;
}
/* Photo, page title, actions: one composition, with swipe navigation on mobile. */
.recruit-page .recruit-hero {
  position: relative;
  overflow: hidden;
  padding-block: 48px;
  background: #172c40;
  color: white;
}
.recruit-hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.recruit-hero .container {
  position: relative;
}
.recruit-breadcrumb {
  margin-bottom: 18px;
  font-size: .8rem;
  color: #e2edf7;
}
.recruit-breadcrumb a {
  color: inherit;
}
.recruit-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.45;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}
.recruit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 20px;
}
.recruit-page .btn {
  min-height: 44px; padding: 10px 16px;
  box-shadow: var(--recruit-shadow); font-size: .95rem; line-height: 1.6;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.recruit-page .btn.primary {
  background: linear-gradient(160deg, #087bbd, var(--recruit-blue));
  border-color: rgba(5, 83, 133, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 12px rgba(10, 106, 165, .18);
}
.recruit-fact a, .recruit-panel a {
  color: var(--recruit-blue);
}
/* 和文ラベルの見た目の中心を1px上へ。余白の合計とボタン寸法は維持する。 */
.recruit-hero .btn {
  text-align: center;
  padding: 9px 16px 11px;
}
.recruit-page .btn:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(31, 54, 78, .08);
}
.recruit-page .btn.primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 16px rgba(10, 106, 165, .22);
}
.recruit-page .btn:focus-visible, .recruit-page a:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
}
.recruit-hero .btn.secondary {
  color: #fff;
  background: rgba(0, 0, 0, .13);
  border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  backdrop-filter: blur(12px) saturate(1.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.recruit-hero .btn.secondary:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .55);
}
.recruit-page .recruit-hero .btn:focus-visible {
  outline-color: white;
}
/* Information rows are defined once in content.css. */
.recruit-jobs, .recruit-jobs dd {
  margin: 0;
}
.recruit-jobs dt {
  font-weight: 700;
}
.recruit-jobs dd + dt {
  margin-top: 20px;
}
.recruit-targets {
  display: grid;
  gap: 20px;
}
.recruit-target__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}
/* Accent is explicitly bound to a list item. No link pseudo-elements. */
.recruit-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.recruit-list > li {
  position: relative;
  padding-left: 12px;
  min-width: 0;
}
.recruit-list > li::before {
  content: ""; position: absolute; width: 2px; height: 14px; top: .85em; left: 0;
  transform: translateY(-50%); background: linear-gradient(140deg, var(--primary), var(--secondary));
}
.recruit-applications {
  margin-top: 0;
  gap: 16px;
}
.recruit-applications > li > a {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.recruit-salaries {
  margin-top: 0;
  gap: 14px;
}
.recruit-salaries > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 16px;
}
.recruit-salary__amount {
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* Selection: existing vertical design, with explicit phase data instead of nth-child. */
.recruit-process {
  display: grid;
  gap: 32px;
}
.recruit-process__title {
  margin: 0 0 16px; padding: 14px 16px; font-size: 1rem; line-height: 1.5;
  background: linear-gradient(110deg, #f7f9fc, #edf3f8);
  border: 1px solid rgba(31, 54, 78, .06); border-radius: var(--recruit-radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
.recruit-process__list {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 24px;
  list-style: none;
}
.recruit-process__list::before {
  content: "";
  position: absolute;
  width: 1px;
  left: 6px;
  top: 26px;
  bottom: 26px;
  background: #e2e8f0;
}
.recruit-process__list > li {
  --phase-dot: var(--primary); position: relative; display: flex; align-items: center;
  min-height: 52px; padding: 11px 16px; font-weight: 700; line-height: 1.55; color: var(--recruit-blue);
  background: linear-gradient(110deg, #fff, #f3faff);
  border: 1px solid rgba(31, 54, 78, .07); border-radius: var(--recruit-radius);
  box-shadow: 0 1px 3px rgba(31, 54, 78, .025), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.recruit-process__list > li[data-phase="selection"] {
  --phase-dot: var(--secondary);
  color: var(--recruit-pink);
  background: linear-gradient(110deg, #fff, #fff5fa);
}
.recruit-process__list > li::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 26px;
  left: -22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--phase-dot);
  box-shadow: 0 0 0 4px white;
}
.recruit-process__note {
  display: block;
  margin-top: 4px;
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
}
/* 補足・連絡先は基本の文章へ。申込方法は罫線で区切り、個別の面を作らない。 */
.recruit-panel {
  padding: 0;
}
.recruit-columns > .recruit-panel + .recruit-panel {
  padding-top: 24px;
  border-top: 1px solid var(--recruit-border);
}
.recruit-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.recruit-panel + .recruit-facts {
  margin-top: 20px;
}
.recruit-figure {
  margin: 0;
}
.recruit-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: none;
}
/* Mobile first. One breakpoint for the information layout, separate from shared navigation. */
@media (min-width: 768px) {
  .recruit-page .container {
  padding-inline: 24px;
}
  .recruit-page .recruit-intro {
  padding-block: 28px;
  text-align: center;
}
  .recruit-intro .recruit-lead {
    margin-inline: auto;
  }
  .recruit-page .recruit-hero {
  padding-block: 64px;
}
  .recruit-applications > li > a {
  display: inline;
  margin-top: 0;
  margin-left: 8px;
}
  .recruit-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
  .recruit-columns > .recruit-panel + .recruit-panel {
    padding-top: 0;
    padding-left: 32px;
    border-top: 0;
    border-left: 1px solid var(--recruit-border);
  }
  #graduate_introduction .recruit-layout {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}
  #graduate_introduction aside {
  padding-top: 94px;
}
}
/* 選考フローの見出しは、モバイルの項目名から16px離す。 */
@media (max-width: 767px) {
  .information-facts .recruit-process { margin-top: 16px; }
}
/* モバイルのヒーローCTAは、既存の横スワイプ導線を維持する。 */
@media (max-width: 640px) {
  .recruit-hero .recruit-actions {
    display: grid;
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding: 4px 20px 8px;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .recruit-hero .recruit-actions::-webkit-scrollbar {
    display: none;
  }
  .recruit-hero .btn {
    padding: 7px 14px 9px;
    font-size: .9rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .recruit-page .recruit-hero {
    padding-block: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .recruit-page .reveal {
  transition: none;
  transform: none;
}
  .recruit-page .btn {
  transition: none;
}
}
@media print {
  .recruit-page {
  background: white;
}
  .recruit-facts, .recruit-panel, .recruit-process__list > li {
  box-shadow: none;
}
  .recruit-fact, .recruit-process__title, .recruit-process__list > li {
  break-inside: avoid;
}
}
