/* 新卒採用/中途採用 共通 */
.recruit-info-section {
  margin: 0 auto;
  max-width: 450px;
  width: 100%;
}

/* 加藤追記：背景色の明示 */
.recruit-info-section { background-color: #FCFCFC; }
.recruit-flow-section { background-color: #FCFCFC; }

.recruit-info-section .section-container {
  padding-bottom: 72px;
}

.recruit-info-section .recruit-details>dt {
  background: #edf7fe;
  border-top: 1px solid #888;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  align-content: center;
  padding: 0 16px;
  height: 46px;
}

.recruit-info-section .recruit-details>dd {
  font-size: 15px;
  padding: 16px;
  line-height: 1.8;
}

.recruit-info-section .recruit-details>dd:nth-of-type(3) ul {
  padding-top: 8px;
}

.recruit-details .recruit-details-more dt {
  color: var(--primary-color);
}

.recruit-details .recruit-details-more:not(:last-child) dd {
  margin: 0 0 16px;
}

.recruit-details ul {
  margin: 0 0 16px 26px;
}

.recruit-details ul li { list-style: disc; }
.recruit-details ul li::marker { font-size: 10px; }

/* 選考プロセス */
.recruit-flow-list {
  position: relative;
  margin: 40px 0 0;
}

.recruit-flow-list li {
  border: 1px solid #C5D2D8;
  padding: 24px;
  margin: 0 0 48px;
}

.recruit-flow-list li:last-child { margin: 0; }

.recruit-flow-list li:first-child,
.recruit-flow-list li:nth-child(6) {
  padding: 24px 24px 16px;
}

.recruit-flow-list li h3 {
  font-size: 20px;
  font-weight: 600;
}

.recruit-flow-list li>div {
  display: flex;
  align-items: center;
}

.recruit-flow-list li:nth-child(1) div,
.recruit-flow-list li:nth-child(6) div {
  margin-bottom: 8px;
}

.recruit-flow-list li span {
  font-family: var(--text-font-roboto);
  font-size: 32px;
  font-weight: 600;
  margin: 0 16px 0 0;
}

.recruit-flow-list li:nth-child(1) span { color: #2495DA; }
.recruit-flow-list li:nth-child(2) span { color: #248FD4; }
.recruit-flow-list li:nth-child(3) span { color: #248FD4; }
.recruit-flow-list li:nth-child(4) span { color: #2381C5; }
.recruit-flow-list li:nth-child(5) span { color: #2277B9; }
.recruit-flow-list li:nth-child(6) span { color: #216CAD; }
.recruit-flow-list li:nth-child(7) span { color: #2067A7; }
.recruit-flow-list li:nth-child(8) span { color: #1F5D94; }

.recruit-flow-list li small {
  font-size: 15px;
  line-height: 1.6;
}

.recruit-flow-list li::after {
  content: "";
  display: block;
  height: 48px;
  width: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  background-origin: border-box;
  position: absolute;
  justify-self: anchor-center;
  transform: translateY(26px);
}

.recruit-flow-list li:nth-child(1)::after,
.recruit-flow-list li:nth-child(6)::after {
  transform: translateY(16px);
}

.recruit-flow-list li:nth-child(1)::after { background-image: url("/images/7_recruit/arrow_1.webp"); }
.recruit-flow-list li:nth-child(2)::after { background-image: url("/images/7_recruit/arrow_2.webp"); }
.recruit-flow-list li:nth-child(3)::after { background-image: url("/images/7_recruit/arrow_3.webp"); }
.recruit-flow-list li:nth-child(4)::after { background-image: url("/images/7_recruit/arrow_4.webp"); }
.recruit-flow-list li:nth-child(5)::after { background-image: url("/images/7_recruit/arrow_5.webp"); }
.recruit-flow-list li:nth-child(6)::after { background-image: url("/images/7_recruit/arrow_6.webp"); }
.recruit-flow-list li:nth-child(7)::after { background-image: url("/images/7_recruit/arrow_7.webp"); }
.recruit-flow-list li:last-of-type::after { background-image: none; }

/* CTA 応募・コンタクト */
.recruit-to-contact-section {
  background: linear-gradient(90deg, #2488CC 0%, #23A7EE 50%, #2488CC 190%);
  padding: 16px 16px 24px;
  margin: 0 auto;
  max-width: 400px;
}

.recruit-contact-wrap {
  background: #fcfcfcee;
  padding: 46px 24px 48px;
}

.recruit-contact-catch h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-color);
  background: -webkit-linear-gradient(329deg, #2067A7 20%, #2488CC 46%, #23A7EE 80%, #2488CC 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 24px;
}

.recruit-contact-catch p { letter-spacing: 0; }

.recruit-line-link a {
  background: #F1AB49;
  box-shadow: 4px 4px 0 0 #00000044;
  font-family: var(--text-font-roboto);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  margin: 0 auto 32px;
  height: 83px;
  width: 279px;
}

.recruit-line-link a::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("/images/7_recruit/LINE.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.recruit-line-link a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("/images/7_recruit/right-arrow.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.recruit-contact-info hr {
  color: var(--primary-color);
  height: 1px;
  margin: 0 auto 24px;
  width: 279px;
}

.recruit-contact-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.recruit-contact-phone::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("/images/7_recruit/phone.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  margin: 0 16px 0 0;
}

.recruit-contact-phone p:first-child {
  font-family: var(--text-font-roboto);
  font-size: 24px;
  font-weight: 600;
  color: #F1AB49;
  text-shadow:
    1px 1px 0 var(--text-color-2),
    -1px 1px 0 var(--text-color-2),
    -1px -1px 0 var(--text-color-2),
    1px -1px 0 var(--text-color-2);
  letter-spacing: 2.8px;
  margin: 0 0 -4px;
}

.recruit-contact-phone p:last-child {
  font-size: 15px;
  margin: 0;
}

/* 応募要項 右上装飾（PCのみ・画面右端追随） */
.recruit-info-section { margin-top: 72px; }

@media screen and (min-width: 1024px) {
  .recruit-info-section {
    background-image: url("/images/7_recruit/kazari.webp");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 578px 160px;
  }
}

/* 選考プロセス 背景装飾（PCのみ・画面右端追随） */
.recruit-flow-section { background-color: #fcfcfc; }

@media screen and (min-width: 1024px) {
  .recruit-flow-section {
    background-image: url("/images/7_recruit/kazari_2.webp");
    background-repeat: no-repeat;
    background-position: right 0 top 128px;
    background-size: 336px 1350px;
  }
}

/* 箱幅指定（新卒 / 中途） */
/* TAB（768〜1023px） */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .recruit-flow-list li {
    margin-left: auto;
    margin-right: auto;
  }
}

/* PC（1024px〜） */
@media screen and (min-width: 1024px) {
  .recruit-flow-list li{ width: 480px; }
}

/* LINEエントリー：タブレット対応まとめ（最終） */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .recruit-to-contact-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .recruit-contact-wrap {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .recruit-contact-catch h2 br { display: none; }
}

/* =====================================
   新卒採用FV：社員インタビュー挙動に統一（完成版）
   ===================================== */
.fv-type3-image-wrapper {
  position: relative;
  overflow: hidden;
}

.fv-type3-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-type3-image-wrapper { height: auto; }
.fv-type3-title-box { margin: 0 auto; }

@media screen and (min-width: 768px) {
  .fv-type3-image-wrapper { height: 550px; }
  .fv-type3-image-sp { display: none; }
  .fv-type3-image-pc { display: block; }

  .fv-type3-content-wrapper {
    bottom: auto;
    top: 50%;
    left: 64px;
    right: auto;
    transform: translateY(-50%);
  }

  .fv-type3-title-box {
    margin: 0;
    background-color: #2067a7f2;
  }
}

/* 新卒採用FV：画像の左下を基準（PCのみ） */
@media screen and (min-width: 768px) {
  .fv-type3-image-wrapper img {
    object-position: left bottom;
  }
}

/* PC */
@media screen and (min-width: 1024px) {
  .recruit-info-section {
    margin: 0 auto;
    max-width: none;
    width: 100%;
  }

  .recruit-info-section .section-container {
    padding: 80px 0 0;
    max-width: 928px;
  }

  .recruit-info-section .recruit-details {
    margin: 108px 0 0;
    display: grid;
    width: 100%;
  }

  .recruit-info-section .recruit-details>dt {
    grid-column: 1;
    align-content: unset;
    padding: 30px;
    height: auto;
    width: 185px;
  }

  .recruit-details dt:nth-of-type(10) { grid-row: span 3; }

  .recruit-info-section .recruit-details>dd {
    grid-column: 2;
    border-top: 1px solid #888;
    font-size: 16px;
    padding: 30px 48px;
    line-height: 1.8;
  }

  .recruit-info-section .recruit-details>dt:last-of-type,
  .recruit-info-section .recruit-details>dd:last-of-type {
    border-bottom: 1px solid #888;
  }

  .recruit-details dd:nth-of-type(11),
  .recruit-details dd:nth-of-type(12) {
    border-top: none;
    padding-top: 2px;
  }

  .recruit-details .recruit-details-more dd { text-indent: 16px; }
  .recruit-details .recruit-details-more.not-indent dd { text-indent: 0; }

  .recruit-details ul { margin: 0 0 24px 26px; }

  .recruit-flow-section .section-container { padding: 128px 0 0; }
  .recruit-flow-wrap { display: flex; }
  .recruit-flow-list { margin: 0; }

  .recruit-flow-list li,
  .recruit-flow-list li:first-child,
  .recruit-flow-list li:nth-child(6) {
    padding: 32px 64px;
  }

  .recruit-flow-list li:last-child { margin: 0 0 200px; }

  .recruit-flow-list li h3 { font-size: 24px; font-weight: 600; }

  .recruit-flow-list li:nth-child(1) div,
  .recruit-flow-list li:nth-child(6) div {
    margin-bottom: 16px;
  }

  .recruit-flow-list li span { font-size: 48px; margin: 0 48px 0 0; }
  .recruit-flow-list li small { font-size: 16px; line-height: 1.8; }

  .recruit-flow-list li::after,
  .recruit-flow-list li:nth-child(1)::after,
  .recruit-flow-list li:nth-child(6)::after {
    transform: translateY(34px);
  }

  .recruit-to-contact-section {
    padding: 32px;
    margin: 0 auto 220px;
    max-width: 1120px;
  }

  .recruit-contact-wrap { padding: 96px 144px 96px; }

  .recruit-contact-catch { width: fit-content; margin: 0 auto; }

  .recruit-contact-catch h2 {
    font-size: 48px;
    margin: 0 0 16px;
  }

  .recruit-contact-catch p {
    font-size: 16px;
    font-weight: 500;
  }

  .recruit-contact-catch+hr {
    color: var(--primary-color);
    margin: 0 auto 32px;
    width: 768px;
  }

  .recruit-contact-info { display: flex; align-items: center; }

  .recruit-line-link a {
    font-size: 24px;
    padding: 24px 30px;
    margin: 0 0 0 44px;
    width: 320px;
  }

  .recruit-contact-info hr {
    background: var(--primary-color);
    margin: auto;
    height: 64px;
    width: 1px;
  }

  .recruit-contact-phone { margin: 0 23px 0 0; }

  .recruit-contact-phone p:first-child {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .recruit-contact-phone p:last-child { font-size: 15px; }
}
