@charset "utf-8";

/*=========================
  sec1
=========================*/
.recruit-sec1 {
  background: url(../img/recruit/sec1-bg.webp) no-repeat;
  background-size: 100% 100%;
  padding: 100px 0 200px;
  position: relative;
  @media (max-width: 960px) {
    padding: 50px 0 120px;
  }
  .l-container {
    position: relative;
    z-index: 2;
  }
  .recruit-sec1__lead {
    margin-bottom: 44px;
    @media (max-width: 960px) {
      margin-bottom: 30px;
    }
    .bubble {
      width: min(100%, 384px);
      margin-inline: auto;
      margin-bottom: 20px;
    }
    .row1,
    .row2 {
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 25px;
      text-align: center;
      @media (max-width: 960px) {
        font-size: 19px;
      }
    }
    .row1 {
      margin-bottom: 36px;
      @media (max-width: 960px) {
        margin-bottom: 16px;
      }
    }
    .row2 {
      @media (max-width: 960px) {
        font-size: 24px;
      }
    }
  }
  .recruit-sec1__img {
    width: 100%;
    margin-inline: auto;
    margin-bottom: 42px;
    @media (max-width: 960px) {
      display: none;
    }
  }
  .recruit-sec1__img-sp {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vi);
    margin-bottom: 42px;
    display: none;
    @media (max-width: 960px) {
      display: block;
    }
  }
  .recruit-sec1__title {
    font-family: 'dnp-shuei-mgothic-std', sans-serif;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    width: fit-content;
    margin-inline: auto;
    border-bottom: 3px dashed #2c630c;
    padding-bottom: 15px;
    margin-bottom: 24px;
    @media (max-width: 960px) {
      display: none;
      font-size: 24px;
      padding-bottom: 10px;
    }
  }
  .recruit-sec1__title-sp {
    display: none;
    width: 240px;
    margin-inline: auto;
    margin-bottom: 34px;
    @media (max-width: 960px) {
      display: block;
    }
  }
  .recruit-sec1__text1 {
    text-align: center;
    margin-bottom: 24px;
    @media (max-width: 960px) {
      text-align: justify;
      margin-bottom: 12px;
    }
  }
  .recruit-sec1__text2 {
    text-align: center;
    @media (max-width: 960px) {
      text-align: justify;
    }
  }
  .illust1 {
    position: absolute;
    bottom: 1%;
    left: 5%;
    translate: 0% -15%;
    width: calc(330 / 1440 * 100vw);
    max-width: 330px;
    @media (max-width: 960px) {
      bottom: 0;
      left: 1%;
      translate: 0% -5%;
      width: calc(133 / 375 * 100vw);
      max-width: 204px;
    }
  }
  .illust2 {
    position: absolute;
    width: calc(104 / 1440 * 100vw);
    max-width: 104px;
    bottom: 5%;
    right: 6%;
    translate: 0% -22%;
    @media (max-width: 960px) {
      bottom: 0%;
      right: 4%;
      translate: 0% -48%;
      width: calc(47 / 375 * 100vw);
      max-width: 95px;
    }
  }
  .wave {
    position: absolute;
    width: 100%;
    bottom: 0;
  }
}

/*=========================
  sec2
=========================*/
.recruit-sec2 {
  padding: 0px 0 100px;
  @media (max-width: 960px) {
    padding: 40px 0 60px;
  }
  .recruit-sec2__title {
    margin-bottom: 84px;
    @media (max-width: 960px) {
      margin-bottom: 38px;
    }
    .icon {
      width: 40px;
      margin-inline: auto;
      margin-bottom: 14px;
      @media (max-width: 960px) {
        width: 30px;
        margin-bottom: 12px;
      }
    }
    .title {
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 25px;
      text-align: center;
      @media (max-width: 960px) {
        font-size: 20px;
      }
    }
  }
  .recruit-sec2__chart-wrapper {
    max-width: 1200px;
    margin-inline: auto;
    margin-bottom: 132px;
    @media (max-width: 960px) {
      display: none;
    }
  }
  .recruit-sec2__chart-wrapper-sp {
    display: none;
    width: 100vw;
    margin-inline: calc(50% - 50vi);
    overflow-x: scroll;
    @media (max-width: 960px) {
      display: block;
    }
    .chart {
      max-width: initial;
      height: 387px;
    }
  }
  .recruit-sec2__chart-wrapper-sp-text {
    display: none;
    font-family: 'dnp-shuei-mgothic-std', sans-serif;
    font-weight: 700;
    color: #8d7762;
    font-size: 15px;
    text-align: right;
    margin-bottom: 38px;
    @media (max-width: 960px) {
      display: block;
    }
  }
  .recruit-sec2__lead {
    margin-bottom: 87px;
    text-align: center;
    @media (max-width: 960px) {
      margin-bottom: 20px;
    }
    .lead1 {
      font-size: 25px;
      font-weight: 500;
      line-height: 2;
      margin-bottom: 20px;
      @media (max-width: 960px) {
        font-size: 20px;
      }
    }
    .lead2 {
      color: #816354;
      font-size: 40px;
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      @media (max-width: 960px) {
        font-size: 24px;
      }
    }
  }
  .recruit-sec2__text-img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
      gap: 20px;
    }
    .text {
      width: 55%;
      font-size: 20px;
      font-weight: 500;
      @media (max-width: 960px) {
        width: 100%;
        font-size: 16px;
      }
    }
    .img {
      width: 45%;
      @media (max-width: 960px) {
        display: none;
      }
    }
    .img-sp {
      display: none;
      @media (max-width: 960px) {
        display: block;
        width: 100vw;
        max-width: 100vw;
        margin-inline: calc(50% - 50vi);
      }
    }
  }
}

/*=========================
  sec3
=========================*/
.recruit-sec3 {
  padding: 0 0 100px;
  background-color: #f6f1ee;
  position: relative;
  @media (max-width: 960px) {
    padding: 0 0 20px;
  }
  &::before {
    content: '';
    display: block;
    aspect-ratio: 1442/156;
    background-color: #fff;
    @media (max-width: 960px) {
    }
  }
  .recruit-sec3__upper {
    position: absolute;
    z-index: 1;
    top: 0;
    width: 100%;
  }
  .recruit-sec3__title {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
    top: -40px;
    @media (max-width: 960px) {
      top: 20px;
      margin-bottom: 60px;
    }
    .icon {
      width: 80px;
      margin-inline: auto;
      margin-bottom: 26px;
    }
    .title {
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 40px;
      text-align: center;
      width: fit-content;
      margin-inline: auto;
      border-bottom: 3px dashed #2c630c;
      padding-bottom: 15px;
      @media (max-width: 960px) {
        font-size: 22px;
        padding-bottom: 10px;
      }
    }
  }
  .recruit-sec3-item {
    padding-bottom: 80px;
    margin-bottom: 80px;
    border-bottom: 3px dashed #2c630c;
    @media (max-width: 960px) {
      padding-bottom: 10px;
      margin-bottom: 40px;
    }
    .flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
      margin-bottom: 48px;
      @media (max-width: 960px) {
        flex-direction: column;
        margin-bottom: 30px;
      }
    }
    .flex:nth-of-type(2) {
      gap: 54px;
      @media (max-width: 960px) {
        flex-direction: column-reverse;
        gap: 30px;
      }
      .img {
        @media (max-width: 960px) {
          width: 90%;
          margin-inline: auto;
        }
      }
    }
    .number {
      width: 50%;
      max-width: 497px;
      @media (max-width: 960px) {
        width: 100%;
        /* max-width: 300px; */
        margin-right: auto;
      }
    }
    .img {
      width: 50%;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
    .text {
      width: 50%;
      max-width: 570px;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
  }
  .recruit-sec3-item--01 {
    .flex:nth-of-type(2) {
      align-items: flex-start;
      .img {
        max-width: 570px;
      }
    }
  }
  .recruit-sec3-item--02 {
    .flex {
      flex-direction: row-reverse;
      @media (max-width: 960px) {
        flex-direction: column;
      }
    }
    .flex:nth-of-type(2) {
      .img {
        max-width: 513px;
      }
    }
  }
  .recruit-sec3-item--03 {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
    .text {
      width: 100%;
      max-width: 1056px;
      margin-inline: auto;
      margin-bottom: 43px;
    }
    .flex:nth-of-type(2) {
      gap: 30px;
      @media (max-width: 960px) {
        flex-direction: column;
      }
      .img {
        width: calc((100% - 30px) / 2);
        @media (max-width: 960px) {
          width: 100%;
        }
      }
    }
  }
}

.recruit-sec4 {
  position: relative;
  padding-bottom: 120px;
  @media (max-width: 960px) {
    padding-bottom: 80px;
  }
  .separator {
    width: 100%;
    margin-bottom: 40px;
    @media (max-width: 960px) {
      margin-bottom: 70px;
    }
  }
  .illust1 {
    position: absolute;
    z-index: -1;
    top: -80px;
    right: 10%;
    width: calc(189 / 1440 * 100vw);
    max-width: 189px;
    @media (max-width: 960px) {
      width: calc(79 / 375 * 100vw);
      max-width: 79px;
      top: -30px;
    }
  }
  .illust2 {
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 18px;
    translate: 0% 17%;
    width: 178px;
    @media (max-width: 960px) {
      left: 10px;
      width: calc(120 / 375 * 100vw);
      max-width: 150px;
      translate: 0% 17%;
    }
  }
  .recruit-sec4__voices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 150px;
    @media (max-width: 960px) {
      grid-template-columns: 1fr;
      margin-bottom: 50px;
    }
  }
  .c-interview {
    .open-modal {
      cursor: pointer;
      transition: opacity 0.3s ease;
    }
    @media (any-hover: hover) {
      .open-modal:hover {
        opacity: 0.7;
      }
    }
    .modal-overlay {
      opacity: 0;
      visibility: hidden;
      transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
      position: fixed;
      z-index: 1010;
      inset: 0;
      background: rgba(255, 255, 255, 0.94);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .modal-overlay.is-active {
      opacity: 1;
      visibility: visible;
    }
    .modal-window {
      position: relative;
      z-index: 100;
      inset: 0;
      width: min(90%, 1000px);
      height: 90dvh;
      max-height: 1500px;
      margin: auto;
      padding: 8rem 0 4rem;
      background-color: #fff;
      border: 3px solid #9e8b79;
      /* transform: translateY(8px);
      transition: transform 0.3s ease; */
      transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
      @media (max-width: 960px) {
        padding: 100px 0 40px;
        height: 90svh;
      }
    }
    .modal-overlay.is-active .modal-window {
      /* transform: translateY(0); */
    }
    .modal-window__scroller {
      max-height: 100%;
      overflow-y: scroll;
    }
    .modal-window__number {
      position: absolute;
      top: 0%;
      left: 50%;
      translate: -50% 24px;
      width: 66px;
      @media (max-width: 960px) {
        width: 50px;
        translate: -50% 15px;
      }
    }
    .close-modal {
      cursor: pointer;
      position: absolute;
      z-index: 1;
      top: 100%;
      left: 50%;
      translate: -50% -50%;
      width: 60px;
    }
    .modal-window__inner {
      width: min(90%, 900px);
      margin-inline: auto;
    }
    .modal-window__img {
      margin-inline: auto;
      margin-bottom: 3rem;
      @media (max-width: 960px) {
        margin-bottom: 2rem;
      }
    }
    .modal-window__text-header {
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 18px;
      width: fit-content;
      color: #816354;
      margin-bottom: 0.5rem;
      display: grid;
      align-items: center;
      grid-template-columns: auto 1fr;
      gap: 16px;
      @media (max-width: 960px) {
        font-size: 16px;
        align-items: flex-start;
      }
      &::before {
        content: '';
        display: block;
        background: url(../img/recruit/icon-interview.svg) no-repeat;
        background-size: contain;
        width: 36px;
        aspect-ratio: 36/32;
        @media (max-width: 960px) {
          width: 30px;
          margin-top: 4px;
        }
      }
    }
    .modal-window__text {
      font-weight: 500;
      font-size: 18px;
      margin-bottom: 54px;
      @media (max-width: 960px) {
        font-size: 16px;
      }
    }
    .modal-window__img-2col {
      width: 100%;
      margin-inline: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 24px;
      margin-bottom: 48px;
      @media (max-width: 960px) {
        flex-direction: column;
      }
      .img {
        width: calc((100% - 24px) / 2);
        @media (max-width: 960px) {
          width: 100%;
        }
      }
    }
    .modal-window__img-1col {
      width: min(90%, 600px);
      margin-inline: auto;
    }
  }
  .recruit-sec4__movie {
    .title {
      margin-bottom: 40px;
      color: #816354;
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 40px;
      text-align: center;
      @media (max-width: 960px) {
        font-size: 30px;
        margin-bottom: 20px;
      }
    }
    .video-wrapper {
      width: 100%;
      aspect-ratio: 16/9;
      & iframe {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.recruit-sec5 {
  padding: 100px 0;
  background-color: #f6f1ee;
  @media (max-width: 960px) {
    padding: 50px 0;
  }
  .recruit-sec5__title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 80px;
    @media (max-width: 960px) {
      margin-bottom: 40px;
    }
  }
  .c-faq-items {
  }
  .c-faq-items__item {
    padding: 36px 24px;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    margin-bottom: 32px;
    @media (max-width: 960px) {
      padding: 25px 14px;
      margin-bottom: 30px;
    }
  }
  .c-faq-items__q-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    position: relative;
    cursor: pointer;
    .q-icon {
      width: 32px;
      @media (max-width: 960px) {
        width: 24px;
      }
    }
    .q-title {
      color: #816354;
      font-size: 28px;
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      @media (max-width: 960px) {
        font-size: 18px;
      }
    }
    .q-toggler {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .q-toggler .icon {
      transform: scale(1, 1);
      transition: transform 0.3s ease-in-out;
      @media (max-width: 960px) {
        width: 20px;
      }
    }
  }
  .c-faq-items__a-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }
  .c-faq-items__a-inner {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 1rem;
    margin-right: 2rem;
    .a-icon {
      background-color: #fff;
      color: #9E8B79;
      border: 2px solid #9E8B79;
      border-radius: 100vmax;
      width: 32px;
      aspect-ratio: 1/1;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 18px;
      line-height: 1;
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      margin-top: 3px;
      @media (max-width: 960px) {
        width: 24px;
        font-size: 12px;
        border: 1px solid #9E8B79;
      }
    }
    .a-text {
      font-size: 18px;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 14px;
      }
    }
  }
  .c-faq-items__item.is-open {
    .c-faq-items__q-wrapper {
      .q-toggler .icon {
        transform: scale(1, -1);
      }
    }
    .c-faq-items__a-wrapper {
      max-height: 6000px;
    }
  }
}

.recruit-sec6 {
  padding: 114px 0 83px;
  @media (max-width: 960px) {
    padding: 50px 0;
  }
  .recruit-sec6__title {
    color: #816354;
    font-family: 'dnp-shuei-mgothic-std', sans-serif;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    margin-bottom: 80px;
    @media (max-width: 960px) {
      font-size: 24px;
      margin-bottom: 30px;
    }
  }
  .job_description-table {
    & tbody {
      display: grid;
      grid-template-columns: 25% 1fr;
      gap: 8px;
      margin-bottom: 60px;
      border-collapse: separate !important;
      @media (max-width: 960px) {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
      }
    }
    & tr {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1/-1;
      @media (max-width: 960px) {
        gap: 4px;
      }
    }
    & td {
      border: none;
    }
    & td:nth-child(1) {
      background-color: #9e8b79;
      color: #fff;
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      font-size: 25px;
      border-radius: 5px;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px;
      @media (max-width: 960px) {
        font-size: 20px;
        padding: 8px;
      }
    }
    & td:nth-child(2) {
      border-radius: 5px;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
      padding: 10px 24px;
      font-size: 18px;
      display: flex;
      align-items: center;
      @media (max-width: 960px) {
        display: block;
        font-size: 15px;
      }
    }
  }
  .wp-block-table {
    overflow-x: visible;
  }
  .wp-block-table table {
    border-collapse: separate;
  }
  .c-button.c-button--recruit {
    width: 324px;
    height: 60px;
    .icon--mail {
      margin-right: 8px;
    }
  }
}
