:root {
  --recruit-primary: #004d80;
  --recruit-secondary: #006eb3;
  --recruit-title-font: "DM Sans", sans-serif;
  --recruit-text: #2E2E2E;
  --recruit-text-light: #2E2E2E;
  --recruit-bg: #f5f5f5;
  --recruit-bg-dark: #222222;
  --recruit-font-main: "Noto Sans JP", sans-serif;
  --recruit-font-en: "Josefin Sans", sans-serif;
  --recruit-font-num: "din-2014";
  --radius-xl: 300px;
  --radius-lg: 80px;
  --radius-md: 20px;
}

.recruit-wrapper {
  font-family: var(--recruit-font-main);
  color: var(--recruit-text);
  line-height: 1.8;
}

.recruit-wrapper img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 0;
}


/* ========================
   共通コンポーネント: サブタイトル
   ======================== */
.rec-attr__subtitle,
.rec-wc__subtitle,
.rec-voice__subtitle,
.rec-prof__subtitle,
.rec-num__subtitle {
  color: #148DCC;
  font-family: var(--recruit-font-en);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.1em;
  /* 一括標準化 */
}


/* ========================
   共通コンポーネント: セクション見出し
   ======================== */
.rec-num__title,
.rec-wc__title,
.rec-voice__title,
.rec-prof__title {
  font-size: 43px;
  font-weight: 700;
}


/* ========================
   共通コンポーネント: 特大の角丸（R）適用群
   ======================== */
/* ABEで働く3つの魅力 / 誰もが、世界にひとつの「本物」の創り手。(CAREER) */
.rec-attr__img img,
.rec-split--right .rec-split__img img {
  border-radius: var(--radius-xl) 0 0 0 !important;
  /* Top-Left の特大角丸 */
}

/* 木製ドアが空間を変える。(WORKS) */
.rec-split--left .rec-split__img img {
  border-radius: 0 var(--radius-xl) 0 0 !important;
  /* Top-Right の特大角丸 */
}

/* 共通幅コンテナ */
.rec-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* どこか一箇所角丸 (Top-Right / Top-Left default classes) */
.radius-tr {
  border-radius: 0 var(--radius-lg) 0 0 !important;
  overflow: hidden;
}

.radius-tl {
  border-radius: var(--radius-lg) 0 0 0 !important;
  overflow: hidden;
}

.radius-tr-md {
  border-radius: 0 var(--radius-md) 0 0 !important;
  overflow: hidden;
}

/* 1. Hero Section */
.rec-hero {
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #8fd3f5, #288dac, #00426e, #16295b, #1b2558);
  color: #ffffff;
  padding: 30px 20px 0;
  overflow: hidden;
}

.rec-hero__inner.rec-container {
  max-width: 1200px;
}

.rec-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.rec-hero__left {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding-left: 45px;
}

.rec-hero__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-left: 0;
}

.rec-hero__illustration {
  width: 100%;
  max-width: 550px;
}

.rec-hero__copy {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.rec-hero__logo {
  width: 160px;
}

/* 2. Wide Image (Overlapping message) */
.rec-wide-img-bg {
  background: #B2AEA6;
  width: 100%;
  margin-top: 80px;
}

.rec-wide-img.rec-container {
  max-width: 1200px;
}

.rec-wide-img {
  padding: 0;
  position: relative;
  z-index: 1;
}

.rec-wide-img img[alt="風景"] {
  width: 1200px;
  height: 600px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
}

/* 3. Message */
.rec-msg {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 80px 40px;
  background: #fff;
  margin-top: -100px;
  margin-bottom: 100px;
  border-radius: 20px 20px 0 0;
}

.rec-msg__logo {
  width: 80px;
  margin: 30px auto 20px;
}

.rec-msg__en {
  font-family: var(--recruit-font-en);
  font-size: 40px;
  color: #103859;
  letter-spacing: 0.2em;
  margin-bottom: 45px;
  font-weight: normal;
  margin-top: 110px;
}

.rec-msg__text {
  font-size: 15px;
  margin-bottom: 30px;
}

.rec-msg__text p {
  margin-bottom: 24px;
}

.rec-msg__text p:first-child {
  font-size: 24px;
  line-height: 2;
  margin-bottom: 77px;
  font-weight: bold;
}

/* 4. Attractive */
.rec-attr {
  padding: 80px 0 120px;
}

.rec-attr__top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 116px;
}

.rec-attr__copy {
  flex: 1;
}


.rec-attr__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
}

.rec-attr__desc {
  color: var(--recruit-text-light);
}

.rec-attr__img {
  flex: 1;
}

.rec-attr__img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.rec-attr__cards {
  display: flex;
  gap: 20px;
}

.rec-attr__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #BCBCBC;
  border-radius: 0 var(--radius-md) 0 0;
  padding: 30px;
  margin-top: 50px;
  /* 数字がはみ出るためのスペース */
  background: #fff;
}

.rec-attr__card-header {
  display: block;
  margin-bottom: 20px;
}

.rec-attr__card-num {
  position: absolute;
  bottom: 100%;
  left: 0;
  font-family: var(--recruit-font-num);
  font-size: 60px;
  font-style: italic;
  line-height: 1.2;
  /* 余分なディセンダーをカットしてピタリと乗せる */
  color: #103859;
  background: transparent;
  /* 枠線を上に超えるため背景の白塗りは不要 */
  padding: 0;
  margin-bottom: 5px;
  /* 枠線との間にわずかな隙間（余白）を設ける */
  border: none;
}

.rec-attr__card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  color: #103859;
}

.rec-attr__card-text {
  font-size: 15px;
  color: var(--recruit-text-light);
  margin-bottom: 10px;
  text-align: left;
  margin-top: 0;
}

.rec-attr__card-img {
  margin-top: auto;
  width: 100%;
  border-radius: 0 !important;
}

/* 5. Numbers */
.rec-num {
  background: var(--recruit-bg-dark) url('../images/recruit/r5.png') center/cover;
  color: #fff;
  padding: 100px 20px;
  margin-bottom: 160px;
}

.rec-num__title {
  margin-bottom: 50px;
}

.rec-num__title .logo-on-ttl {
  width: 120px;
  display: block;
}

.rec-num__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rec-num__item {
  background: rgba(255, 255, 255, 0.9);
  color: #103859;
  padding: 30px 20px;
  border-radius: 0 var(--radius-md) 0 0;
  text-align: center;
}

.rec-num__item-ja {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.rec-num__item-en {
  font-size: 18px;
  color: #103859;
  font-family: var(--recruit-font-en);
}

.rec-num__item-val {
  font-size: 64px;
  font-weight: 700;
  font-family: var(--recruit-font-num);
  margin: 15px 0;
  line-height: 1;
  background: linear-gradient(to bottom, #17A8DE, #0169A6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #66b3ff;
  /* Fallback */
  display: inline-block;
}

.rec-num__item-unit {
  font-size: 32px;
}

.rec-num__item-sub {
  font-size: 16px;
  color: var(--recruit-text-light);
}

.rec-num__item-val.is-sm {
  font-size: 32px;
}

.rec-num__item-val.is-sm.text-emphasis {
  font-size: 38px;
  font-weight: 900;
}

.rec-num__item-val.is-xs {
  font-size: 28px;
}

/* --- 男女比ブロック専用スタイル --- */
.rec-num__item--ratio {
  position: relative;
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.rec-num__ratio-flex {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  margin: 0 0 15px;
}

.rec-num__ratio-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rec-num__ratio-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.rec-num__ratio-val {
  font-size: 64px;
  font-weight: 700;
  font-family: var(--recruit-font-num);
  line-height: 1;
  background: linear-gradient(to bottom, #17A8DE, #0169A6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #17A8DE;
  /* Fallback */
}

.rec-num__ratio-unit {
  font-size: 32px;
  margin-left: 2px;
}

/* 6. Works & Career - ブラウザ端一杯レイアウト */
.rec-edge-blocks {
  padding: 40px 0 100px;
  width: 100%;
  overflow: hidden;
}

.rec-split {
  display: grid;
  /* Col1: 左右余白(可変) / Col2: コンテナ左半分(Max500px) / Col3: コンテナ右半分(Max500px) / Col4: 左右余白(可変) */
  grid-template-columns: minmax(20px, 1fr) minmax(0, 500px) minmax(0, 500px) minmax(20px, 1fr);
  width: 100%;
  margin-bottom: 120px;
  align-items: center;
  /* 行の中央揃え */
}

/* ★要素がセルいっぱいに広がるように100%化★ */
.rec-split__img {
  grid-row: 1;
  /* ★明示的に1行目に固定して改行を防ぐ */
  width: 100%;
  height: 100%;
  padding: 0 !important;
}

.rec-split__img img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.rec-split__content {
  grid-row: 1;
  /* ★明示的に1行目に固定して改行を防ぐ */
  width: 100%;
  display: flex;
  align-items: center;
}

.rec-split__content-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  /* パディング込でセル幅に収める */
}

.rec-split__content-inner .rec-btn {
  align-self: flex-end;
  margin-top: 10px;
}

/* Works (Image on left stretches to left edge) */
.rec-split--left .rec-split__img {
  grid-column: 1 / 3;
  /* 左端[フル端]から[中央線]まで */
  padding-right: 30px !important;
  box-sizing: border-box;
}

.rec-split--left .rec-split__content {
  grid-column: 3 / 4;
  /* [中央線]から右側[500pxコンテナ端]まで */
}

.rec-split--left .rec-split__content-inner {
  padding-left: 30px;
  /* 中央余白。右側はGridセル境界にピッタリ一致する */
}


/* Career (Image on right stretches to right edge) */
.rec-split--right .rec-split__img {
  grid-column: 3 / 5;
  /* [中央線]から右側[フル端]まで */
  padding-left: 30px !important;
  box-sizing: border-box;
}

.rec-split--right .rec-split__content {
  grid-column: 2 / 3;
  /* 左側[500pxコンテナ端]から[中央線]まで */
}

.rec-split--right .rec-split__content-inner {
  padding-right: 30px;
  /* 中央余白。左側はGridセル境界にピッタリ一致する */
}

.rec-wc__title {
  line-height: 1.5;
  margin-bottom: 30px;
}

.rec-wc__text {
  font-size: 15px;
  color: var(--recruit-text-light);
  margin-bottom: 40px;
}

.rec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--recruit-primary);
  /* 元の青色背景に戻す */
  color: #fff;
  border: none;
  /* 枠線を削除 */
  padding: 16px 40px;
  border-radius: 60px;
  font-weight: 700;
  text-decoration: none;
  min-width: 250px;
  transition: background 0.3s;
  position: relative;
}

.rec-btn-arrow {
  position: absolute;
  left: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-btn-arrow img {
  width: 100%;
  height: auto;
  display: block;
}

.rec-btn:hover {
  background: var(--recruit-secondary);
  color: #fff;
  text-decoration: none;
}

/* 7. Voice */
.rec-voice {
  position: relative;
  background: #C6CED6;
  padding: 100px 20px;
  margin-top: 150px;
  /* ABEの文字が上にはみ出す分のスペース */
}

/*.rec-voice::before {*/
/*  content: 'ABE';*/
/*  position: absolute;*/
/*  bottom: 100%;*/
/*  !* 灰色背景の上端に下端をピッタリ合わせる *!*/
/*  left: max(20px, calc(50% - 500px));*/
/*  !* コンテンツ幅(1000px)の左端に合わせる *!*/
/*  transform: none;*/
/*  font-size: 200px;*/
/*  font-family: var(--recruit-font-main);*/
/*  font-weight: 700;*/
/*  color: #C6CED6;*/
/*  line-height: 0.74;*/
/*  !* ABEの文字の下部余白をカットして接地面に合わせる *!*/
/*  letter-spacing: 0.05em;*/
/*  z-index: 1;*/
/*}*/

.rec-voice::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: max(20px, calc((100% - 1000px) / 2));
  width: 320px;
  height: 125px;
  background-image: url("../images/recruit/abe.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: none;
  z-index: 1;
}

.rec-voice__header {
  position: relative;
  text-align: left;
  margin-bottom: 60px;
}

.rec-voice__subtitle,
.rec-voice__title {
  position: relative;
  z-index: 1;
}


.rec-voice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rec-voice__card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

.rec-voice__card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.rec-voice__card-body {
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rec-voice__card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.5;
  color: #103859;
}

.rec-voice__card-text {
  font-size: 15px;
  color: var(--recruit-text-light);
  margin-bottom: 20px;
}

.rec-voice__card-meta {
  font-size: 15px;
  color: #2E2E2E;
  border-bottom: 1px solid #707070;
  padding-bottom: 15px;
  margin-top: auto;
}

/* 8. Profile */
.rec-prof {
  padding: 100px 20px;
}

.rec-prof__header {
  margin-bottom: 50px;
}


.rec-prof__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.rec-prof__card {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #000;
  color: #fff;
  border-radius: 0 var(--radius-md) 0 0;
  overflow: hidden;
}

.rec-prof__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 0.3s, transform 0.5s;
}

.rec-prof__card:nth-child(1)::before {
  background-image: url('../images/recruit/r14.png');
}

.rec-prof__card:nth-child(2)::before {
  background-image: url('../images/recruit/r15.png');
}

.rec-prof__card:nth-child(3)::before {
  background-image: url('../images/recruit/r16.png');
}

.rec-prof__card:nth-child(4)::before {
  background-image: url('../images/recruit/r17.png');
}

.rec-prof__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  /* 30%黒の幕 */
  transition: background 0.3s;
  z-index: 1;
}

.rec-prof__card:hover::before {
  transform: scale(1.05);
}

.rec-prof__card:hover::after {
  background: rgba(0, 0, 0, 0.45);
  /* ホバー時に少し暗くする */
}

.rec-prof__card:hover {
  color: #fff;
  text-decoration: none;
}

.rec-prof__card-title {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.rec-prof__card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rec-prof__card-arrow img {
  width: 100%;
  height: auto;
  display: block;
}

/* 9. CTA Bottom */
.rec-cta {
  position: relative;
  background: var(--recruit-bg-dark) url('../images/recruit/r18.png') center/cover;
  color: #fff;
  text-align: center;
  padding: 60px 20px 74px;
}

.rec-cta__inner {
  position: relative;
  z-index: 2;
}

.rec-cta__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 114px;
}

.rec-cta__desc {
  font-size: 24px;
  margin-bottom: 20px;
}

.rec-cta__btns {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.rec-cta__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  /* 元の白色背景に戻す */
  color: var(--recruit-primary);
  border: none;
  /* 枠線を削除 */
  padding: 10px;
  border-radius: 60px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  width: 360px;
  transition: background 0.3s, transform 0.2s;
}

.rec-cta__btn-arrow {
  position: absolute;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.rec-cta__btn-arrow img {
  width: 100%;
  height: auto;
  display: block;
}

.rec-cta__btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
  color: var(--recruit-primary);
  text-decoration: none;
}

/* Responsive Modifications */
@media (max-width: 1024px) {
  .rec-attr__top {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .rec-attr {
    padding-left: 15px;
    padding-right: 15px;
  }

  .rec-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .rec-hero__left {
    justify-content: center;
    padding-left: 0;
  }

  .rec-hero__right {
    align-items: center;
    text-align: center;
  }

  .rec-wide-img img[alt="風景"] {
    width: 100%;
    height: 300px;
  }

  .rec-msg {
    margin: -50px 20px 20px;
    padding: 20px 20px;
    width: auto;
  }

  .rec-hero {
    padding: 60px 20px;
  }

  .rec-hero__copy {
    font-size: 24px;
  }

  .rec-attr__cards {
    flex-direction: column;
  }

  .rec-num__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rec-voice__grid {
    grid-template-columns: 1fr;
  }

  .rec-prof__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rec-wide-img-bg {
    margin-top: 40px;
  }

  .rec-cta__btns {
    flex-direction: column;
    align-items: center;
  }

  /* Split layouts on mobile */
  .rec-split {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 30px;
  }

  .rec-split__img,
  .rec-split__content {
    width: 100% !important;
    padding: 0 !important;
  }

  /* PC側の詳細度（クラス2つ + !important）をスマホ側でもクラス2つで完全に上書きし無効化します */
  .rec-split--left .rec-split__img,
  .rec-split--right .rec-split__img {
    padding: 0 !important;
  }

  .rec-split__img img {
    min-height: 250px;
    height: auto;
    border-radius: 0 !important;
  }

  .rec-split__content-inner {
    padding: 30px 20px !important;
    margin: 0 auto;
  }

  .rec-hero__logo {
    width: 100px;
  }

  .rec-voice::before {
    width: 160px;
    height: 62px;
  }

  .rec-num__title,
  .rec-wc__title,
  .rec-voice__title,
  .rec-prof__title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .rec-num__title .logo-on-ttl {
    width: 90px;
  }

  .rec-msg__logo img {
    width: 40px;
  }

  .rec-msg__en {
    font-size: 32px;
    margin-bottom: 25px;
    margin-top: 40px;
  }

  .rec-msg__text p:first-child {
    font-size: 20px;
    margin-bottom: 40px;
  }

  p.md-left {
    text-align: left !important;
  }

  .rec-attr {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .rec-attr__subtitle,
  .rec-wc__subtitle,
  .rec-voice__subtitle,
  .rec-prof__subtitle,
  .rec-num__subtitle {
    font-size: 18px;
  }

  .rec-attr__title {
    font-size: 30px;
  }

  .rec-attr__card-num {
    font-size: 40px;
  }

  .rec-num {
    margin-bottom: 50px;
  }

  .rec-wc__text {
    margin-bottom: 20px;
  }

  .rec-edge-blocks {
    padding: 40px 0 30px;
  }

  .rec-voice {
    margin-top: 50px;
  }

  .rec-prof,
  .rec-num,
  .rec-voice {
    padding: 50px 20px;
  }

  .rec-prof__header {
    margin-bottom: 30px;
  }

  .rec-prof__card {
    height: 120px;
  }

  .rec-cta__title {
    font-size: 24px;
  }

  .rec-cta__desc {
    font-size: 18px;
  }

  .rec-cta {
    padding: 70px 20px 40px;
  }

  .rec-attr__card {
    padding: 20px;
  }

  .rec-attr__card-text {
    font-size: 14px;
  }

  .rec-num__item-val {
    margin: 10px 0;
  }

  .rec-num__item {
    padding: 20px 15px;
  }

  .rec-num__item-unit,
  .rec-num__ratio-unit {
    font-size: 20px;
  }

  .rec-num__ratio-val,
  .rec-num__item-val {
    font-size: 40px;
  }

  .rec-num__item-val.is-sm {
    font-size: 28px;
  }

  .rec-num__item-val.is-sm.text-emphasis {
    font-size: 32px;
  }

  .rec-prof__card-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .rec-hero__copy {
    font-size: 20px;
  }

  .rec-num__grid {
    grid-template-columns: 1fr;
  }
}

/* Animation: Scroll Fade-in */
.js .js-fade-in {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
  transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
  visibility 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .js-fade-in.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* ========================
   Floating Side Menu
   ======================== */
.rec-side-nav {
  position: fixed;
  z-index: 999;
  display: flex;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* PC版のスタイル (1025px以上) */
@media screen and (min-width: 1025px) {
  .rec-side-nav {
    right: 0;
    top: 170px;
    align-items: flex-start;
    transform: translateX(100%);
  }

  /* ホバーまたは is-open クラスで展開 (PCでもクリック対応) */
  .rec-side-nav:hover,
  .rec-side-nav.is-open {
    transform: translateX(0);
  }

  .rec-side-nav__tab {
    width: 64px;
    background: var(--recruit-primary);
    color: #fff;
    padding: 30px 0;
    border-radius: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: absolute;
    left: -64px;
    top: 0;
    height: 100%;
    box-sizing: border-box;
  }

  .rec-side-nav__tab-arrow {
    margin-bottom: 20px;
  }

  .rec-side-nav__tab-arrow img {
    transform: rotate(0deg);
    /* 右向き */
  }

  .rec-side-nav__tab-en {
    writing-mode: vertical-rl;
    margin-bottom: 20px;
  }

  .rec-side-nav__tab-jp {
    writing-mode: vertical-rl;
  }
}


/* 共通パーツ（タブ矢印・メニューリスト等） */
.rec-side-nav__tab-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-side-nav__tab-arrow img {
  width: 100%;
  height: auto;
  display: block;
}

.rec-side-nav__tab-en {
  font-family: var(--recruit-font-en);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.1em;
}

.rec-side-nav__tab-jp {
  font-size: 16px;
  letter-spacing: 0.1em;
}

.rec-side-nav__menu {
  width: 216px;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #eee;
  border-right: none;
}

.rec-side-nav__menu-item {
  border-bottom: 1px solid #c7c7c7;
}

.rec-side-nav__menu a {
  display: block;
  padding: 20px;
  color: #000000;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

.rec-side-nav__menu a:hover {
  background: #f8f8f8;
  color: #000000;
  text-decoration: none;
}

.rec-side-nav__menu-item:last-child {
  border-bottom: none;
}

.rec-side-nav__menu-item--entry a {
  background: rgba(198, 206, 214, 0.3);
  color: #000000;
}

.rec-side-nav__menu-item--entry a:hover {
  background: #e9ecef;
}

/* スマホ・タブレット版のスタイル (1024px以下) */
@media screen and (max-width: 1024px) {
  .rec-side-nav {
    right: 0;
    bottom: 0;
    flex-direction: column;
    width: 280px;
    /* 初期位置：タブ以外を画面外へ */
    transform: translateY(calc(100% - 48px));
  }

  .rec-side-nav.is-open {
    transform: translateY(0) !important;
  }

  .rec-side-nav__tab {
    width: 100%;
    height: 48px;
    background: var(--recruit-primary);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 12px 0 0 0;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    box-sizing: border-box;
  }

  .rec-side-nav__tab-arrow {
    margin-right: 10px;
  }

  .rec-side-nav__tab-arrow img {
    transform: rotate(90deg);
    /* 下向き */
  }

  .rec-side-nav__tab-en {
    writing-mode: horizontal-tb;
    margin-right: 15px;
  }

  .rec-side-nav__tab-jp {
    writing-mode: horizontal-tb;
    font-size: 14px;
  }

  /* スマホ時は280pxを維持 */
  .rec-side-nav__menu {
    width: 100%;
  }

  .rec-side-nav__menu-link {
    font-size: 16px;
  }
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }

  /* 1段目（1〜3人目）のタイトル高さを3行分にする */
  .rec-voice__card:nth-child(-n+3) .rec-voice__card-title {
    min-height: 81px;
  }

  /* 2段目（4〜6人目）のタイトル高さを4行分にする */
  .rec-voice__card:nth-child(n+4) .rec-voice__card-title {
    min-height: 108px;
  }
}

/* ========================
   Career Test Page
   ======================== */
.rct-page {
  --rct-blue: #103859;
  --rct-blue-deep: #0f3f61;
  --rct-accent: #148DCC;
  --rct-muted: #2E2E2E;
  --rct-pale: #DEDEDE;
  --rct-pale-arrow: #8fa4b5;
  --rct-line: #C7C7C7;
  background: #ffffff;
  color: var(--rct-muted);
  font-family: var(--recruit-font-main);
  line-height: 2;
  overflow: hidden;
}

.rct-page *,
.rct-page *::before,
.rct-page *::after {
  box-sizing: border-box;
}

.rct-page h1,
.rct-page h2,
.rct-page h3,
.rct-page h4,
.rct-page p,
.rct-page ol,
.rct-page table {
  margin: 0;
}

.rct-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rct-page div:not(#breadcrumb) a {
  color: var(--rct-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.rct-page [hidden] {
  display: none !important;
}

.rct-center {
  text-align: center;
}

.rct-kicker {
  color: var(--rct-accent);
  font-family: var(--recruit-font-en);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.rct-hero {
  min-height: 260px;
  background: linear-gradient(
      to bottom,
      rgba(84, 84, 84, 0.3) 0%,
      rgba(168, 168, 168, 1) 100%
  );
  color: #ffffff;
  display: flex;
  align-items: center;
}

.rct-hero__inner {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 50px;
}

.rct-hero h1 {
  font-family: var(--recruit-title-font);
  font-size: clamp(38px, 3.2vw, 64px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.rct-hero h2 {
  font-size: 18px;
  line-height: 1.6;
  font-weight: normal;
}

.rct-breadcrumb {
  min-height: 115px;
  background: #ffffff;
  display: flex;
  align-items: center;
}

.rct-breadcrumb ol {
  padding: 0 0 0 50px;
  display: flex;
  gap: 14px;
  list-style: none;
  color: #787878;
  font-size: 13px;
  line-height: 1.4;
}

.rct-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 14px;
}

.rct-breadcrumb a {
  color: #787878;
  text-decoration: none;
}

.rct-page .rct-wide-img-bg {
  background: #ffffff;
  margin-top: 0;
}

.rct-page .rec-wide-img img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

.rct-page .rec-msg {
  margin-bottom: 145px;
}

.rct-page .rec-msg__logo img {
  width: 100%;
}

.rct-growth-blocks {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 70px;
}

.rct-growth-intro {
  margin-bottom: 120px;
  text-align: center;
}

.rct-growth-intro .rec-wc__title {
  margin-bottom: 55px;
}

.rct-growth-intro .rec-wc__text {
  margin: 0 auto;
}

.rct-growth-blocks .rec-split:last-child {
  margin-bottom: 0;
}

.rct-growth-blocks .rec-wc__title, .rec-msg .rec-wc__title {
  color: var(--rct-blue);
}

.rec-msg .rec-wc__title {
  margin-bottom: 35px;
}

.rct-growth-blocks .rec-wc__text {
  color: #3d3d3d;
  line-height: 2;
  margin-top: 35px;
}

.rct-growth-blocks .rct-reasons__box {
  width: 100%;
  margin-top: 42px;
}

.rct-growth-blocks .rec-split--right .rct-timeline {
  margin-top: 42px;
}

.rec-wc__title-small {
  font-size: 32px;
  font-weight: bold;
  color: var(--rct-blue);
  line-height: 1.5;
}

.rct-training h3 {
  color: var(--rct-blue);
  font-size: 35px;
  font-weight: 500;
  line-height: 1.5;
}

.rct-training__layout {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(360px, 560px);
  gap: 130px;
  align-items: start;
  margin-top: 70px;
}

.rct-timeline {
  position: relative;
  padding: 0 0 0 62px;
  list-style: none;
}

.rct-timeline::before {
  content: none;
}

.rct-timeline li {
  position: relative;
  min-height: 122px;
  padding-bottom: 38px;
}

.rct-timeline li:last-child {
  padding-bottom: 0;
}

.rct-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -62px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rct-accent);
  z-index: 1;
}

.rct-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  bottom: -17px;
  left: -48px;
  width: 6px;
  background: var(--rct-pale);
}

.rct-timeline h4 {
  color: var(--rct-blue);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

.rct-timeline p {
  margin-top: 12px;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

.rct-training__image {
  margin-top: 92px;
}

.rct-training__image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 280px 0 0 0;
}

.rct-reasons {
  display: grid;
  grid-template-columns: minmax(360px, 44vw) minmax(360px, 500px);
  gap: 150px;
  align-items: center;
  max-width: 1920px;
  margin: 230px auto 0;
}

.rct-reasons__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 0 280px 0 0;
}

.rct-reasons__body {
  width: 100%;
  max-width: 500px;
}

.rct-reasons__body h3 {
  color: var(--rct-blue);
  font-size: 33px;
  font-weight: 500;
  line-height: 1.8;
}

.rct-reasons__body > p {
  margin-top: 34px;
  color: #3d3d3d;
  font-size: 16px;
  line-height: 2.35;
}

.rct-reasons__box {
  margin-top: 66px;
  padding: 36px;
  background: var(--rct-pale);
  color: #000000;
}

.rct-reasons__box h4 {
  color: var(--rct-blue);
  font-size: 18px;
  line-height: 1.5;
}

.rct-reasons__box p {
  margin-top: 10px;
  color: #000000;
  line-height: 1.9;
}

.rct-reasons__box p + h4 {
  margin-top: 34px;
}

.rct-program {
  position: relative;
  min-height: 480px;
  margin-top: 130px;
  background: #0f4363;
  overflow: hidden;
}

.rct-program::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(50vw - 60px);
  background-image: linear-gradient(90deg, rgba(15, 67, 99, 0.25), rgba(0, 152, 213, 0.42)), url("../images/recruit/career4.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.rct-program__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 1000px;
  min-height: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.rct-program__body {
  width: min(100%, 480px);
  color: #ffffff;
}

.rct-program h2 {
  color: #ffffff;
  font-size: 32px;
  line-height: 1.5;
}

.rct-program p:not(.rct-kicker) {
  margin-top: 35px;
  color: #ffffff;
  font-size: 17px;
}

.rct-recruitment {
  background: #ffffff;
  padding: 190px 0 145px;
}

.rct-recruitment--continued {
  padding-top: 155px;
}

.rct-recruitment--last {
  padding-top: 155px;
  padding-bottom: 210px;
}

.rct-recruitment h2 {
  color: var(--rct-blue);
  font-size: 42px;
  line-height: 1.4;
}

.rct-recruitment__head {
  position: relative;
}

.rct-recruitment__head::after,
.rct-tab-band::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 100vw;
  height: 8px;
  background: var(--rct-blue-deep);
  transform: translateX(50%);
  z-index: 2;
}

.rct-tabs {
  --rct-tab-gap: 8px;
  width: min(100%, 760px);
  display: flex;
  gap: var(--rct-tab-gap);
  justify-content: flex-start;
  padding: 0;
}

.rct-recruitment .rct-tabs {
  margin-top: 35px;
  margin-bottom: -8px;
  position: relative;
  z-index: 1;
}

.rct-tabs button {
  appearance: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.rct-tabs a,
.rct-tabs button {
  flex: 0 0 calc((100% - (var(--rct-tab-gap) * 2)) / 3);
  width: calc((100% - (var(--rct-tab-gap) * 2)) / 3);
  min-height: 64px;
  border-radius: 6px 6px 0 0;
  background: #C6CED6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1.3;
  text-decoration: none;
  padding-bottom: 7px;
  font-weight: bold;
}

.rct-tabs a.is-active,
.rct-tabs button.is-active {
  background: var(--rct-blue-deep);
}

.rct-tabs button:focus-visible {
  outline: 3px solid var(--rct-accent);
  outline-offset: 3px;
}

.rct-job {
  margin-top: 115px;
}

.rct-job h3 {
  color: var(--rct-blue);
  font-size: 32px;
  font-weight: bold;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.rct-page p.rct-job__lead {
  margin-top: 24px;
  color: var(--rct-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.rct-page table.rct-job-table {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  border-top: 1px solid var(--rct-line);
  border-right: 0;
  border-left: 0;
  color: #3f3f3f;
  font-size: 16px;
  line-height: 2;
}

.rct-page table.rct-job-table a {
  color: var(--rct-accent);
  text-decoration: underline;
}

.rct-job-table tr {
  border-bottom: 1px solid var(--rct-line);
}

.rct-job-table th,
.rct-job-table td {
  border-right: 0;
  border-left: 0;
  padding: 25px 0;
  vertical-align: top;
  text-align: left;
  font-size: 14px;
}

.rct-job-table th {
  width: 170px;
  color: #333333;
  font-weight: 500;
}

.rct-job-table td {
  padding-left: 30px;
}

.rct-job-table td p + p {
  margin-top: 10px;
}

.rct-entry-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
}

.rct-entry-banners img {
  width: auto;
  max-height: 46px;
}

.rct-tab-band {
  background: #ffffff;
  position: relative;
  padding: 60px 0 0;
}

.rct-selection {
  background: #ffffff;
  scroll-margin-top: 90px;
}

.rct-tab-band .rct-tabs {
  justify-content: flex-start;
  margin-bottom: -8px;
  position: relative;
  z-index: 1;
}

.rct-flow {
  background: #C6CED6;
  color: #000000;
  padding: 160px 20px 90px;
}

.rct-flow h2 {
  color: var(--rct-blue);
  font-size: 44px;
  line-height: 1.4;
}

.rct-flow .rct-center > p:not(.rct-kicker) {
  margin-top: 33px;
}

.rct-flow__list {
  width: calc(100% - 40px);
  max-width: 960px;
  margin: 70px auto 0 !important;
  padding: 0 !important;
  list-style: none;
}

.rct-flow__list li {
  position: relative;
  display: flex;
  gap: 42px;
  align-items: center;
  min-height: 138px;
  padding: 35px 40px;
  background: #fff;
  border-radius: 8px;
}

.rct-flow__list li + li {
  margin-top: 88px;
}

.rct-flow__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -58px;
  left: 0;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-top: 32px solid var(--rct-pale-arrow);
  border-right: 34px solid transparent;
  border-left: 34px solid transparent;
}

.rct-flow__list span {
  color: var(--rct-blue);
  font-family: var(--recruit-font-num);
  line-height: 1.1;
  text-align: center;
}

.rct-flow__list b {
  display: block;
  color: var(--rct-blue);
  font-family: var(--recruit-font-num);
  font-size: 48px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.rct-flow__list h3 {
  color: var(--rct-blue);
  font-size: 24px;
  line-height: 1.5;
}

.rct-flow__list p {
  margin-top: 12px;
  line-height: 2;
}

.rec-msg__en.rec-msg__en-small {
  font-size: 32px;
}

@media (max-width: 1200px) {
  .rct-training__layout {
    grid-template-columns: minmax(0, 470px) minmax(320px, 1fr);
    gap: 70px;
  }

  .rct-reasons {
    grid-template-columns: minmax(320px, 48vw) minmax(320px, 1fr);
    gap: 70px;
  }
}

@media (max-width: 1024px) {
  .rct-culture {
    padding-bottom: 220px;
  }

  .rct-growth > .rec-container.rct-center {
    margin-bottom: 110px;
  }

  .rct-training__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .rct-training__image {
    margin-top: 0;
  }

  .rct-training__image img {
    max-width: 620px;
    margin: 0 auto;
  }

  .rct-reasons {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 55px;
    margin-top: 150px;
  }

  .rct-reasons__image img {
    max-width: 720px;
    margin: 0 auto;
  }

  .rct-reasons__body {
    max-width: 720px;
    margin: 0 auto;
  }

  .rct-program::after {
    width: calc(50vw - 60px);
  }

  .rct-program__body {
    width: min(100%, 420px);
  }
}

@media (max-width: 768px) {
  .recruit-wrapper.rct-page {
    font-size: 15px;
  }

  .rct-hero {
    min-height: 140px;
  }

  .rct-hero__inner {
    padding-left: 0;
  }

  .rct-hero p {
    font-size: 16px;
  }

  .rct-breadcrumb {
    min-height: 76px;
  }

  .rct-breadcrumb ol {
    padding-left: 0;
    flex-wrap: wrap;
  }

  .rct-page .rec-msg {
    width: auto;
    margin: -60px 20px 0;
    padding: 50px 24px 30px;
  }

  .rct-growth-blocks {
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .rct-growth-intro .rec-wc__title {
    margin-bottom: 15px;
  }

  .rct-growth-intro {
    margin-bottom: 0;
    text-align: left;
  }

  .rct-kicker {
    font-size: 18px;
  }

  .rec-wc__title-small {
    font-size: 24px;
  }

  .rct-growth-blocks .rec-split--right .rct-timeline {
    margin-top: 25px;
  }

  .rct-timeline li:not(:last-child)::after {
    left: -37px;
  }

  .rct-flow h2 {
    font-size: 24px;
  }

  .rct-reasons br,
  .rct-flow br {
    display: none;
  }

  .rct-training h3,
  .rct-reasons__body h3,
  .rct-program h2,
  .rct-recruitment h2,
  .rct-job h3 {
    font-size: 24px;
  }

  .rct-recruitment h2 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .rct-timeline {
    padding-left: 48px;
  }

  .rct-timeline::before {
    left: 13px;
  }

  .rct-timeline li::before {
    left: -48px;
    width: 28px;
    height: 28px;
  }

  .rct-training__image img,
  .rct-reasons__image img {
    height: 300px;
    border-radius: 120px 0 0 0;
  }

  .rct-reasons__image img {
    border-radius: 0 120px 0 0;
  }

  .rct-reasons__box {
    padding: 20px;
  }

  .rct-growth-blocks .rct-reasons__box {
    margin-top: 30px;
  }

  .rct-program {
    margin-top: 20px;
    min-height: auto;
  }

  .rct-program::after {
    display: none;
  }

  .rct-program__inner {
    min-height: 420px;
  }

  .rct-program__body {
    width: 100%;
  }

  .rct-recruitment,
  .rct-recruitment--continued,
  .rct-recruitment--last {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .rct-recruitment .rct-tabs {
    margin-top: 25px;
  }

  .rct-tabs {
    --rct-tab-gap: 4px;
    gap: var(--rct-tab-gap);
  }

  .rct-tabs a,
  .rct-tabs button {
    min-height: 54px;
    padding: 0 8px;
    font-size: 15px;
  }

  .rct-job {
    margin-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .rct-page p.rct-job__lead {
    font-size: 20px;
  }

  .rct-job-table,
  .rct-job-table tbody,
  .rct-job-table tr,
  .rct-job-table th,
  .rct-job-table td {
    display: block;
    width: 100%;
  }

  .rct-job-table th {
    padding: 10px 0;
  }

  .rct-job-table td {
    padding: 8px 0 22px;
    font-size: 14px;
  }

  .rct-tab-band {
    padding-top: 42px;
  }

  .rct-selection {
    scroll-margin-top: 60px;
  }

  .rct-flow {
    padding: 50px 15px;
  }

  .rct-flow .rct-center > p:not(.rct-kicker) {
    margin-top: 25px;
    font-size: 15px;
  }

  .rct-flow__list {
    margin-top: 55px;
  }

  .rct-flow__list li {
    display: block;
    gap: 20px;
    padding: 25px 15px;
  }

  .rct-flow__list span {
    display: block;
    margin-bottom: 10px;
  }

  .rct-flow__list li + li {
    margin-top: 68px;
  }

  .rct-flow__list li:not(:last-child)::after {
    bottom: -48px;
    border-top-width: 26px;
    border-right-width: 28px;
    border-left-width: 28px;
  }

  .rct-flow__list b {
    font-size: 40px;
  }

  .rct-flow__list h3 {
    font-size: 18px;
  }

  .rec-msg__en.rec-msg__en-small {
    font-size: 20px;
  }

  .rct-page .rec-msg .rec-wc__title, .rct-page .rct-growth-blocks .rec-wc__title {
    font-size: 24px;
  }

  .rct-growth-blocks .rec-wc__text {
    margin-top: 25px;
  }

  .rct-flow__list {
    margin: 50px auto 0 !important;
    width: 100%;
  }

  .rct-flow__list p {
    font-size: 14px;
  }

  .rct-program p:not(.rct-kicker) {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .rct-hero__inner,
  .rct-breadcrumb ol,
  .rct-program__inner {
    width: calc(100% - 28px);
  }

  .rct-hero h1 {
    font-size: 24px;
  }

  .rct-page .rec-wide-img img {
    height: 300px;
  }

  .rct-tabs a,
  .rct-tabs button {
    font-size: 13px;
  }

  .rct-entry-banners {
    gap: 16px;
  }
}

/* Entry form page */
.rct-entry-page {
  --rct-entry-blue: #004d80;
  --rct-entry-text: #070707;
  --rct-entry-muted: #555555;
  --rct-entry-line: #BCBCBC;
  --rct-entry-required: #f05a28;
  background: #ffffff;
  color: var(--rct-entry-text);
  padding: 120px 20px 170px;
}

.rct-entry-page__inner {
  max-width: 1000px;
}

.rct-entry-intro {
  margin-bottom: 92px;
}

.rct-entry-intro h2 {
  color: var(--rct-entry-blue);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 28px;
}

.rct-entry-intro p {
  color: var(--rct-entry-muted);
  font-size: 15px;
  line-height: 2;
}

.rct-entry-form-wrap {
  width: 100%;
}

.rct-entry-form,
.rct-entry-form fieldset,
.rct-entry-form legend {
  margin: 0;
  padding: 0;
  border: 0;
}

.rct-entry-form .rct-entry-form__section {
  margin-top: 116px;
}

.rct-entry-form .rct-entry-form__section:first-child {
  margin-top: 0;
}

.rct-entry-form__section > legend {
  display: block;
  width: 100%;
  color: var(--rct-entry-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 13px;
}

.rct-entry-form__section > legend small {
  color: #070707;
  font-size: 16px;
  font-weight: 400;
  margin-left: 12px;
}

.rct-entry-form__row {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 93px;
  padding: 20px 0;
  border-top: 1px solid var(--rct-entry-line);
}

.rct-entry-form__row--textarea {
  align-items: start;
}

.rct-entry-form__label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--rct-entry-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.rct-entry-form__required {
  flex: 0 0 auto;
  color: var(--rct-entry-required);
  font-size: 12px;
  line-height: 1;
}

.rct-entry-form__field {
  min-width: 0;
  color: var(--rct-entry-text);
}

.rct-entry-form__field--tel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rct-entry-form__field--short {
  max-width: 300px;
}

.rct-entry-form input[type="text"],
.rct-entry-form input[type="email"],
.rct-entry-form textarea {
  width: 100%;
  min-height: 43px;
  background: #ffffff;
  border: 1px solid var(--rct-entry-line);
  border-radius: 0;
  color: var(--rct-entry-text);
  font-family: var(--recruit-font-main);
  font-size: 15px;
  line-height: 1.6;
  padding: 8px 17px;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rct-entry-form textarea {
  min-height: 250px;
  resize: vertical;
}

.rct-entry-form input[type="text"]:focus,
.rct-entry-form input[type="email"]:focus,
.rct-entry-form textarea:focus {
  border-color: var(--rct-entry-blue);
  box-shadow: 0 0 0 3px rgba(0, 77, 128, 0.12);
}

.rct-entry-form ::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

.rct-entry-form__choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rct-entry-form__choices--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px 90px;
}

.rct-entry-form__choices--compact {
  gap: 0;
}

.rct-entry-form__choices label,
.rct-entry-form__privacy label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rct-entry-text);
  font-size: 15px;
  line-height: 1.7;
  cursor: pointer;
}

.rct-entry-form input[type="radio"],
.rct-entry-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--rct-entry-blue);
}

.rct-entry-form input[type="checkbox"] {
  border-radius: 0;
}

.rct-entry-form__date,
.rct-entry-form__tel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rct-entry-form__date label,
.rct-entry-form__tel {
  color: var(--rct-entry-text);
  font-size: 15px;
}

.rct-entry-form__date label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rct-entry-form__date input {
  width: 126px !important;
}

.rct-entry-form__date label:nth-of-type(2) input,
.rct-entry-form__date label:nth-of-type(3) input {
  width: 86px !important;
}

.rct-entry-form__date--month label:nth-of-type(2) input {
  width: 86px !important;
}

.rct-entry-form__tel input[type="text"] {
  width: 84px;
}

.rct-entry-form__tel input[type="text"]:nth-of-type(2),
.rct-entry-form__tel input[type="text"]:nth-of-type(3) {
  width: 106px;
}

.rct-entry-form small {
  color: var(--rct-entry-required);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.rct-entry-form__subfield {
  color: var(--rct-entry-text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.rct-entry-form__other {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  color: var(--rct-entry-text);
  font-size: 15px;
}

.rct-entry-form__file {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rct-entry-form input[type="file"] {
  width: 100%;
  max-width: 590px;
  color: var(--rct-entry-text);
  font-family: var(--recruit-font-main);
  font-size: 15px;
}

.rct-entry-form input[type="file"]::file-selector-button {
  min-height: 43px;
  margin-right: 14px;
  padding: 7px 18px;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: #eeeeee;
  color: #222222;
  font-family: var(--recruit-font-main);
  cursor: pointer;
}

.rct-entry-form .mwform-file-delete {
  color: var(--rct-entry-muted);
  font-size: 18px;
  line-height: 1;
}

.rct-entry-form__privacy {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 18px;
  margin-top: 116px;
  padding-top: 27px;
  border-top: 2px solid var(--rct-entry-line);
}

.rct-entry-form__privacy-title {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--rct-entry-text);
  font-size: 15px;
}

.rct-entry-form__privacy-body {
  color: var(--rct-entry-text);
  font-size: 15px;
  line-height: 1.9;
}

.rct-entry-form__privacy-body p {
  margin-bottom: 30px;
}

.rct-entry-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 58px;
}

.rct-entry-form__submit button, .rct-entry-form__submit input {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 335px;
  min-height: 88px;
  padding: 20px 72px;
  border: 0;
  border-radius: 999px;
  background: var(--rct-entry-blue);
  color: #ffffff;
  font-family: var(--recruit-font-main);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.rct-entry-form__submit button::before {
  content: "→";
  position: absolute;
  left: 39px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  font-size: 20px;
  letter-spacing: 0;
}

.rct-entry-form__submit {
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.rct-entry-form__submit input[type="submit"] {
  position: relative;
  z-index: 0;
  display: block;
  padding: 18px 40px;
}

.rct-entry-form__submit::before {
  content: "→";
  position: absolute;
  z-index: 1;
  left: 39px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

input[type="submit"] {
  color: #ffffff!important;
  font-family: var(--recruit-font-main)!important;
}

.rct-entry-form__submit button:hover, .rct-entry-form__submit input:hover,
.rct-entry-form__submit button:focus-visible, .rct-entry-form__submit input:focus-visible {
  background: #003a61;
  transform: translateY(-2px);
}

.mwform-checkbox-field, .mwform-radio-field {
  display: block !important;
  text-align: left !important;
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .rct-entry-page {
    padding: 90px 24px 130px;
  }

  .rct-entry-intro {
    margin-bottom: 70px;
  }

  .rct-entry-form__row,
  .rct-entry-form__privacy {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .rct-entry-page {
    padding: 40px 18px 60px;
  }

  .rct-entry-intro {
    margin-bottom: 52px;
  }

  .rct-entry-intro h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .rct-entry-intro p {
    font-size: 14px;
  }

  .rct-entry-form .rct-entry-form__section {
    margin-top: 40px;
  }

  .rct-entry-form__section > legend {
    font-size: 22px;
  }

  .rct-entry-form__section > legend small {
    display: block;
    margin: 4px 0 0;
  }

  .rct-entry-form__row,
  .rct-entry-form__privacy {
    display: block;
  }

  .rct-entry-form__row {
    min-height: 0;
    padding: 22px 0;
  }

  .rct-entry-form__label,
  .rct-entry-form__privacy-title {
    margin-bottom: 12px;
  }

  .rct-entry-form__field--short {
    max-width: none;
  }

  .rct-entry-form__field--tel {
    gap: 12px;
  }

  .rct-entry-form__choices--inline {
    gap: 12px 30px;
  }

  .rct-entry-form__date {
    gap: 10px;
  }

  .rct-entry-form__date input {
    width: 90px !important;
  }

  .rct-entry-form__date label:nth-of-type(2) input,
  .rct-entry-form__date label:nth-of-type(3) input,
  .rct-entry-form__date--month label:nth-of-type(2) input {
    width: 68px !important;
  }

  .rct-entry-form__tel input[type="text"],
  .rct-entry-form__tel input[type="text"]:nth-of-type(2),
  .rct-entry-form__tel input[type="text"]:nth-of-type(3) {
    width: 86px;
  }

  .rct-entry-form__other {
    display: block;
  }

  .rct-entry-form__other span {
    display: block;
    margin-bottom: 8px;
  }

  .rct-entry-form__privacy {
    margin-top: 40px;
  }

  .rct-entry-form__submit button, .rct-entry-form__submit input {
    width: 100%;
    min-width: 0;
    min-height: 74px;
    font-size: 18px;
  }

  .rct-entry-form__submit button::before, .rct-entry-form__submit input::before {
    left: 32px;
  }

  .rct-entry-form__submit {
    margin-top: 40px;
  }
}

@media (max-width: 420px) {
  .rct-entry-form__choices--inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rct-entry-form__date,
  .rct-entry-form__tel {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
  }

  .rct-entry-form__field--tel {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .rct-entry-form__date label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .rct-entry-form__date input {
    width: 70px !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  .rct-entry-form__date label:nth-of-type(2) input,
  .rct-entry-form__date label:nth-of-type(3) input,
  .rct-entry-form__date--month label:nth-of-type(2) input {
    width: 52px !important;
  }

  .rct-entry-form__date small {
    display: none;
  }

  .rct-entry-form__tel input[type="text"] {
    width: 52px !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  .rct-entry-form__tel input[type="text"]:nth-of-type(2),
  .rct-entry-form__tel input[type="text"]:nth-of-type(3) {
    width: 62px !important;
  }

  .rct-entry-form__tel > span {
    display: inline;
  }

  .rct-entry-form__field--tel small {
    font-size: 11px;
  }
}
