/* ========================================
　　career.css
    キャリア採用
   ======================================== */

/*--------------- ENTRY ---------------*/
.entry-btn:hover .entry-btn__arrow {
  --fill-0: var(--nec-blue);
}

/*--------------- FLOATING ENTRY ---------------*/
@media (max-width: 1024px) {
  .floating-entry-bg {
    width: 100px;
    height: 96px;
  }
  .floating-entry {
    width: 90px;
    height: 90px;
    right: 5px;
    bottom: 65px;
  }
  .floating-entry__year {
    font-size: 18px;
  }
  .floating-entry__label {
    font-size: 14px;
  }
  .floating-entry__arrow {
    width: 34px;
  }
}

/*--------------- HERO ---------------*/
.p-hero {
  width: 100%;
  margin-inline: auto;
  padding-block: 54px 75px;
  position: relative;
}
@media (min-width: 1441px) {
  .p-hero {
    width: calc(1440px + 50vw - 720px);
    margin-right: 0;
  }
}
/* HEROスライダー（旧: background画像 hero.png） */
.p-hero__slider {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1118px;
  max-width: 100%;
  height: 461px;
  z-index: 0;
}
@media (max-width: 1440px) {
  .p-hero__slider {
    right: calc((1440px - 100vw) / 2 * -1);
    max-width: 100%;
  }
}
.p-hero__slider .swiper-slide {
  width: 100%;
  height: 100%;
}
.p-hero__slider .swiper-slide picture,
.p-hero__slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
}
/* スライドショー停止ボタン */
.p-hero__pause {
  position: absolute;
  right: 16px;
  top: 20px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.p-hero__pause:hover {
  background: rgba(0, 0, 0, 0.65);
}
.p-hero__pause:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.p-hero__pause::before {
  content: "";
  width: 11px;
  height: 14px;
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
}
.p-hero__pause.is-paused::before {
  width: 0;
  height: 0;
  border: none;
  border-left: 13px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}
.p-hero__category {
  padding: 11px 18px 0 33px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  background: var(--white);
  width: fit-content;
  position: relative;
  z-index: 2;
}
.p-hero__title {
  font-size: 63px;
  line-height: 1.2;
  padding: 24px 16px 24px 34px;
  background: rgba(255, 255, 255, 0.9);
  width: fit-content;
  margin: 0;
  color: var(--nec-blue);
  position: relative;
  z-index: 2;
}

/*--------------- RECRUIT ---------------*/
.p-recruit {
  padding-inline: var(--side-pad);
  margin-top: 13px;
}
.p-recruit__inner {
  max-width: 1346px;
  border: solid 1px var(--blue);
  border-radius: 30px;
  margin-inline: auto;
  display: flex;
  gap: 42px;
  align-items: center;
  padding: 11px;
}
.p-recruit__image {
  width: 426px;
  flex-shrink: 0;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}
.p-recruit__title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.p-recruit__desc {
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 32px;
}
.p-recruit__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/*--------------- NEWS ---------------*/
.p-news {
  margin: 70px auto 0;
  max-width: 934px;
}
.p-news__title {
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: solid 1px var(--nec-blue);
}
.p-news__list {
  max-height: 184px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-news__item {
  font-size: 16px;
  display: flex;
  font-weight: 500;
  gap: 18px;
  word-break: normal;
}
.p-news__text {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.p-news__item-link {
  color: var(--nec-blue);
  width: fit-content;
}
.p-news__text--link::after {
  content: '';
  display: block;
  width: 8px;
  height: 11px;
  background: url('../img/career/arrow_news_link.svg') center / 100% 100% no-repeat;
  flex-shrink: 0;
}

/*--------------- ENTRY ---------------*/
.p-entry {
  margin: 70px auto 0;
  text-align: center;
}
.p-entry__title {
  margin-bottom: 5px;
}
.p-entry__desc {
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 10px;
}
.p-entry .entry-section__buttons {
  gap: 11px;
  margin-bottom: 16px;
}
.p-entry .entry-btn {
  width: 210px;
  font-size: 16px;
  height: 50px;
  padding: 0 10px;
  gap: 6px;
}
.p-entry .entry-btn{
  font-size: 16px;
  width: 222px;
  height: 50px;
  padding: 0 11px;
}
.p-entry .entry-btn__arrow{
  width: 19px;
  height: 19px;
}
.p-entry__sub {
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: var(--nec-blue);
}
.p-entry__arrow {
  width: 12px;
  height: 16px;
}

/*--------------- ABOUT ---------------*/
.p-about {
  margin-top: 80px;
  background: #3c4155;
  padding-block: 110px 140px;
  display: flex;
  flex-direction: column;
  gap: 80px;

  --text-color: #D9DFE9;
  --emphasis-color: #EFF2F6;
}
.p-about__section {
  padding-inline: var(--side-pad);
  max-width: 1053px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-about__title {
  color: var(--emphasis-color);
}
.p-about__desc {
  color: var(--text-color);
  line-height: 1.7;
  font-weight: 400;
}
.p-about .btn-wrap {
  padding-top: 0;
}
.p-about .btn-list {
  border: solid 2px #fff;
  background: transparent;
  color: var(--white);
}
.p-about .btn-list:hover {
  background: var(--white);
  color: #3c4155;
}
.p-about__btns {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.p-about__btn {
  color: var(--emphasis-color);
  background: var(--nec-blue);
  border: solid 2px var(--emphasis-color);
  border-radius: 100px;
  font-weight: bold;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 50px;
  transition: background 0.25s, color 0.25s, letter-spacing 0.4s ease;
}
.p-about__btn:hover {
  background: var(--emphasis-color);
  color: var(--nec-blue);
  letter-spacing: 0.05em;
}
.p-about__btn-arrow {
  width: 12px;
  height: 16px;
}
.p-about__btn::after {
  content: '';
  display: block;
  width: 12px;
  height: 16px;
  background-color: var(--emphasis-color);
  -webkit-mask: url(../img/career/about_arrow.svg) no-repeat center;
  mask: url(../img/career/about_arrow.svg) no-repeat center;
  transition: background 0.25s ease;
}
.p-about__btn:hover::after {
  background: var(--nec-blue);
}
.p-about__img {
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
}
.p-about__section--company {
  gap: 47px;
}
.p-about__section--company .p-about__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.p-about__section--company .p-about__btn {
  width: 245px;
  margin-left: auto;
}
.p-about__section--company .p-about__img {
  width: 47.5327291%;
}
.p-about__section--business {
  gap: 67px;
}
.p-about__section--business .p-about__title {
  margin-bottom: 13px;
}
.p-about__section--business .p-about__btns {
  margin-top: 24px;
  gap: 10px;
}
.p-about__section--business .p-about__btn {
  width: 240px;
}
.p-about__section--business .p-about__img {
  width: 43.001007%;
}
.p-about__section--environment {
  gap: 50px;
}
.p-about__section--environment .p-about__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.p-about__section--environment .p-about__btn {
  width: 220px;
}
.p-about__section--environment .p-about__img {
  width: 47.633434%;
}

/*--------------- NUMBERS ---------------*/
.p-numbers {
  width: 100%;
  max-width: 1012px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p-numbers__title {
  font-size: 24px;
  color: var(--emphasis-color);
  text-align: center;
  margin-bottom: 4px;
}
.p-numbers__desc {
  font-size: 14px;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.7;
  font-weight: 400;
}
.p-numbers__list {
  display: flex;
  gap: 16px;
}
.p-numbers__item {
  width: 146px;
}
.p-numbers__circle {
  background: #fff;
  border-radius: 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.p-numbers__circle-img {
  width: 80px;
}
.p-numbers__gender-img {
  width: 80px;
}
.p-numbers__age-img {
  width: 110px;
}
.p-numbers__tenure-img {
  width: 40px;
}
.p-numbers__label,
.p-numbers__value {
  color: var(--emphasis-color);
  text-align: center;
  margin-top: 13px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}
.p-numbers__fiscal {
  color: var(--text-color);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.p-numbers__more-text {
  color: var(--text-color);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  width: fit-content;
  margin: 30px auto 5px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  position: relative;
}
.p-numbers__more-text::before,
.p-numbers__more-text::after {
  content: '';
  display: block;
  width: 1px;
  height: 11px;
  background: var(--text-color);
  transform: rotate(20deg);
}
.p-numbers__more-text::before {
  transform: rotate(-20deg);
}
.p-numbers .p-about__btn {
  margin-inline: auto;
  padding-inline: 20px;
}
.p-numbers .btn-list {
  margin-inline: auto;
  padding-inline: 20px;
  width: fit-content;
  display: flex;
}

/*--------------- INTERVIEW ---------------*/
.people-section .c-title__wrapper--row {
  text-align: right;
}

/*--------------- ENTRY ---------------*/
#top-entry .entry-section__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 0;
}
#top-entry {
  margin-block: 60px 120px;
  height: 380px;
}
#top-entry.entry-secioin--no-deco {
  margin-block: 60px 0;
}
.entry-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.entry-section__desc {
  font-size: 14px;
}

/* ========================================
   レスポンシブ 1024px
   ======================================== */
@media (max-width: 1024px) {
  /*--------------- HERO ---------------*/
  .p-hero {
    padding-block: 54.358974359vw 0;
    background: none;
    position: relative;
  }
  /* SPはスライダーを旧::before（hero_sp.png）と同じ位置に配置 */
  .p-hero__slider {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    height: calc(54.358974359vw + 96px);
  }
  .p-hero__slider .swiper-slide picture,
  .p-hero__slider .swiper-slide img {
    object-position: center top;
  }
  .p-hero__pause {
    right: 12px;
    bottom: auto;
    top: calc(54.358974359vw + 96px - 56px);
    width: 34px;
    height: 34px;
  }
  .p-hero__category {
    width: 320px;
    font-size: 14px;
    padding: 12px 14px 4px 20px;
  }
  .p-hero__title {
    width: 320px;
    font-size: 32px;
    background: var(--white);
    padding: 0 0  4px 20px;
  }

  /*--------------- RECRUIT ---------------*/
  .p-recruit {
    padding-inline: 16px;
    max-width: 600px;
    margin-inline: auto;
  }
  .p-recruit__inner {
    border-radius: 20px;
    padding: 35px 9px 9px;
    flex-direction: column-reverse;
    gap: 38px;
  }
  .p-recruit__title {
    font-size: 22px;
  }
  .p-recruit__desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .p-recruit__desc br {
    display: none;
  }
  .p-recruit__image {
    width: auto;
    border-radius: 10px;
  }

  /*--------------- NEWS ---------------*/
  .p-news {
    padding-inline: 14px;
    margin-block: 60px 0;
    max-width: 600px;
    margin-inline: auto;
  }
  .p-news__title {
    font-size: 22px;
  }
  .p-news__list {
    max-height: 300px;
  }
  .p-news__item {
    flex-direction: column;
    gap: 2px;
  }
  .p-news__text {
    overflow: visible;
    line-height: 1.2;
  }

  /*--------------- ENTRY ---------------*/
  .p-entry {
    margin-top: 60px;
    position: relative;
  }
  .p-entry::before {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: 23px 0;
  }
  .p-entry__inner {
    position: relative;
    z-index: 1;
    padding-block: 0 38px;
  }
  .p-entry__title {
    font-size: 28px;
  }
  .p-entry__desc {
    font-size: 14px;
    margin-bottom: 8px;
  }

  /*--------------- ABOUT ---------------*/
  .p-about {
    margin-top: 0;
    padding-block: 60px;
    gap: 64px;
  }
  .p-about__section {
    padding-inline: 15px;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    margin-inline: auto;
  }
  .p-about__title {
    font-size: 28px;
  }
  .p-about__desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .p-about__img {
    margin-top: 10px;
  }
  .p-about__btns {
    flex-wrap: wrap;
    justify-content: center;
  }
  .p-about__section--company .p-about__btn {
    margin-inline: auto;
  }
  .p-about__section--company .p-about__img {
    width: 100%;
  }
  .p-about__section--business {
    flex-direction: column-reverse;
    gap: 0;
  }
  .p-about__section--business .p-about__btns {
    width: 100%;
    margin-top: 30px;
    gap: 20px;
  }
  .p-about__section--business .p-about__img {
    width: min(60vw, 400px);
  }
  .p-about__section--environment .p-about__btns {
    width: 100%;
    gap: 20px;
  }
  .p-about__section--environment .p-about__btn {
    width: 165px;
  }
  .p-about__section--environment .p-about__img {
    width: min(80vw, 500px);
  }

  /*--------------- NUMBERS ---------------*/
  .p-numbers {
    padding-inline: 15px;
    max-width: 600px;
    display: block;
  }
  .p-numbers__title {
    text-align: left;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  .p-numbers__desc {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
  }
  .p-numbers__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
  .p-numbers__item {
    width: 170px;
  }
  .p-numbers__gender-img {
    width: 88px;
  }
  .p-numbers__age-img {
    width: 135px;
  }
  .p-numbers__tenure-img {
    width: 40px;
  }
  .p-numbers__label,
  .p-numbers__value {
    font-size: 20px;
    margin-top: 10px;
  }
  .p-numbers__fiscal {
    line-height: 1.2;
    margin-top: 6px;
  }

  /*--------------- INTERVIEW ---------------*/
  .people-section .c-title__wrapper--row {
    text-align: left;
  }

  /*--------------- ENTRY ---------------*/
  #top-entry {
    height: 440px;
  }
  #top-entry.entry-secioin--no-deco {
    margin-bottom: 60px;
  }
  #top-entry .entry-section__buttons {
    grid-template-columns: auto;
    gap: 10px;
  }

}

/* ========================================
   レスポンシブ 640px（SP）
   ======================================== */
@media (max-width: 640px) {
}
