@charset "UTF-8";

.b-pageContent {
  .e-mds.m-normal {
    margin-bottom: 40px;
  }
  p,dd {
    line-height: 2;
  }
}
/*--------------------------------------------------*/

/* massage

/*--------------------------------------------------*/
.b-message {
  .b-movie {
    margin-top: 80px;
    text-align: center;
    dt {
      font-size: min(6vw,24px);
      font-weight: 300;
      margin-bottom: 30px;
    }
    dd {
      display: block;
      aspect-ratio: 362/222;
      line-height: 0;
      margin: auto;
      border: 1px solid var(--line-t);
      padding: 5px;
      border-radius: var(--r);
    }
    iframe {
      width: 100%;
      height: 100%;
    }
  }
}
@media screen and (max-width: 767px) {
  .b-message {
    .e-mds.m-normal {
      font-size: min(5.5vw,22px);
    }
    .e-img {
      margin-top: 50px;
    }
  }
}
@media screen and (min-width: 768px) {
  .b-message {
    .b-content {
      display: flex;
      gap: 50px;
      .e-img {
        width: 300px;
        min-width: 300px;
      }
    }
    .b-movie {
      dd {
        width: 712px;
      }
    }
  }
}

/*--------------------------------------------------*/

/* learnabout

/*--------------------------------------------------*/
.b-learnabout {
  .b-businessKey {
    margin-bottom: 50px;
  }
}

.b-learnaboutStrengths,
.b-learnaboutEnchantment {
  margin-top: 80px;
  .b-mds.m-hasLine {
    margin-bottom: 40px;
  }
}
.b-learnaboutStrengths {
  .e-img {
    .b-btns {
      margin-top: 40px;
      .b-btn {
        margin-left: auto;
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .b-learnaboutStrengths,
  .b-learnaboutEnchantment {
    .b-content {
      .e-img {
        margin-top: 20px;
        .b-btn {
          margin-right: auto;
        }
      }
    }
  }
  .b-learnaboutEnchantment {
    .b-item:not(:first-of-type) {
      margin-top: 40px;
    }
  }
}
@media screen and (min-width: 768px) {
  .b-learnaboutStrengths,
  .b-learnaboutEnchantment {
    .b-content {
      display: flex;
    }
  }
  .b-learnaboutStrengths {
    .b-content {
      gap: 50px;
      .e-img {
        width: clamp(300px,40%,500px);
        min-width: clamp(300px,40%,500px);
      }
    }
  }
  .b-learnaboutEnchantment {
    .b-content {
      gap: 70px;
      .b-item {
        display: flex;
        gap: 20px;
        width: calc( ( 100% - 70px ) / 2 );
        .e-img {
          width: calc( 50% - 10px);
          min-width: calc( 50% - 10px);
          margin-right: 0;
          margin-left: auto;
        }
      }
    }
  }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .b-learnaboutEnchantment {
    .b-content {
      flex-direction: column;
      .b-item {
        width: 100%;
        .e-img {
          width: 300px;
          min-width: 300px;
        }
      }
    }
  }
}


/*--------------------------------------------------*/

/* vaitaldata

/*--------------------------------------------------*/

.b-vaitaldata {
  width: 100dvw;
  margin-left: 50%;
  transform: translateX(-50dvw);
  background: var(--bgblue);
  .b-vaitaldataList {
    display: grid;
    line-height: 1;
    .b-item {
      background: #fff;
      text-align: center;
      color:var(--blue);
      overflow: hidden;
      &::before {
        content: "";
        display: block;
        aspect-ratio: 1/1;
        margin: auto;
      }
      dt {
        font-size: min(5vw,20px);
        font-weight: 600;
      }
      .b-nums {
        font-size: min(4.5vw,18px);
        font-weight: 300;
        line-height: 1.8;
        span {
          display: inline-block;
          padding: 0 5px 0 10px;
          font-size: min(12.5vw,50px);
          font-family: var(--fontEN);
        }
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .b-vaitaldata {
    .e-mds {
      font-size: min(7vw,28px);
    }
  }
}
@media screen and (min-width: 768px) {
  .b-vaitaldata {
    .e-mds {
      font-size: 42px;
    }
  }
}

@media screen and (max-width: 500px) {
  .b-vaitaldata {
    padding: 50px 0;
    .b-vaitaldataList {
      gap: 10px;
      .b-item {
        &::before {
          width: min(27.5vw,110px);
        }
        &.m-01,
        &.m-06,
        &.m-07 {
          &::before {
            margin-left: 0;
            margin-right: auto;
            transform: translate(-10%,-10%);
          }
          dl {
            transform: translateX(-8vw);
          }
        }
        &.m-02,
        &.m-03,
        &.m-04,
        &.m-05 {
          &::before {
            margin-top: -8%;
          }
          dl {
            margin-top: -5%;
            .b-nums {
              line-height: 1;
              padding-top: .9em;
              
            }
          }
        }
        dl {
          flex-grow: 1;
          padding-bottom: 10px;
        }
      }
    }
  }
}
@media screen and (min-width: 501px) {
  .b-vaitaldata {
    padding: 150px 0;
    .b-vaitaldataList {
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 30px;
      .b-item {
        &::before {
          width:137px;
        }
        .b-nums {
          font-size: 24px;
          span {
            font-size: 60px;
          }
        }
        &.m-01 { grid-area: 1 / 1 / 2 / 4; }
        &.m-02 { grid-area: 1 / 4 / 2 / 7; }
        &.m-03 { grid-area: 1 / 7 / 2 / 10; }
        &.m-04 { grid-area: 1 / 10 / 2 / 13; }
        &.m-05 { grid-area: 2 / 1 / 3 / 5; }
        &.m-06 { grid-area: 2 / 5 / 3 / 9; }
        &.m-07 { grid-area: 2 / 9 / 3 / 13; }
      }
    }
  }
}
@media screen and (min-width: 951px) and (max-width: 1200px) {
  .b-vaitaldata {
    .b-vaitaldataList {
      grid-template-columns: repeat(6, 1fr);
      grid-template-rows: repeat(3, 1fr);
      .b-item {
        &.m-01 { grid-area: 1 / 1 / 2 / 3; }
        &.m-02 { grid-area: 1 / 3 / 2 / 5; }
        &.m-03 { grid-area: 1 / 5 / 2 / 7; }
        &.m-04 { grid-area: 2 / 1 / 3 / 4; }
        &.m-05 { grid-area: 2 / 4 / 3 / 7; }
        &.m-06 { grid-area: 3 / 1 / 4 / 4; }
        &.m-07 { grid-area: 3 / 4 / 4 / 7; }
      }
    }
  }
}
@media screen and (max-width: 950px) {
  .b-vaitaldata {
    .b-vaitaldataList {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(5);
      .b-item {
        &.m-01,
        &.m-06,
        &.m-07 {
          display: flex;
          align-items: center;
          justify-content: center;
          padding-top: 25px;
          gap: 0;
          &::before {
            margin: 0 20px;
          }
        }
        &.m-01 { grid-area: 1 / 1 / 2 / 3; }
        &.m-02 { grid-area: 2 / 1 / 3 / 2; }
        &.m-03 { grid-area: 2 / 2 / 3 / 3; }
        &.m-04 { grid-area: 3 / 1 / 4 / 2; }
        &.m-05 { grid-area: 3 / 2 / 4 / 3; }
        &.m-06 { grid-area: 4 / 1 / 5 / 3; }
        &.m-07 { grid-area: 5 / 1 / 6 / 3; }
      }
    }
  }
}
@media screen and (min-width: 501px) and (max-width: 950px) {
  .b-vaitaldata {
    .b-vaitaldataList {
      .b-item {
        &.m-01,
        &.m-06,
        &.m-07 {
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 0;
          &::before {
            margin: 0;
          }
          dl {
            width: 300px;
          }
        }
      }
    }
  }
}


.b-vaitaldata {
  .b-vaitaldataList {
    .b-item {
      &.m-01 {
        &::before {
          background: url(../images/recruit/vaitaldata-01.svg) center center / contain no-repeat;
        }
      }
      &.m-02 {
        &::before {
          background: url(../images/recruit/vaitaldata-02.svg) center center / contain no-repeat;
        }
      }
      &.m-03 {
        &::before {
          background: url(../images/recruit/vaitaldata-03.svg) center center / contain no-repeat;
        }
      }
      &.m-04 {
        &::before {
          background: url(../images/recruit/vaitaldata-04.svg) center center / contain no-repeat;
        }
      }
      &.m-05 {
        &::before {
          background: url(../images/recruit/vaitaldata-05.svg) center center / contain no-repeat;
        }
      }
      &.m-06 {
        &::before {
          background: url(../images/recruit/vaitaldata-06.svg) center center / contain no-repeat;
        }
      }
      &.m-07 {
        &::before {
          background: url(../images/recruit/vaitaldata-07.svg) center center / contain no-repeat;
        }
        .b-nums {
          span {
            padding-left: 0;
          }
        }
      }
    }
  }
}


/*--------------------------------------------------*/

/* guidelines

/*--------------------------------------------------*/
.b-guidelines {
  .b-table {
    border-top: 1px solid var(--line-t);
    th {
      padding: 15px 1.5em;
      background: var(--bg50);
      border-color: var(--line-t);
      width: auto;
      white-space: nowrap;
    }
    td {
      width: 100%;
      padding: 15px 10px;
      dl {
        &+dl {
          margin-top: .8em;
        }
        dt {
          font-weight: 500;
        }
        dd {
          line-height: 1.5;
          &::before {
            content: "・";
          }
        }
      }
    }
  }
  .b-content {
    margin-top: 80px;
    p {
      line-height: 1.6;
    }
    .b-btns {
      display: flex;
      gap: 30px;
      width: 100%;
      margin-top: 40px;
      .b-btn {
        &::after {
          display: none;
        }
        max-width: unset;
        height: auto;
        border-color: var(--line-t);
        padding: 20px;
        color: var(--txt);
        .b-mark {
          width: min(10vw,40px);
          background: #fff;
          right: 23px;
          >span {
            span {
              width: 13%;
              border-color: var(--txt);
            }
          }
        }
        dt {
          font-size: min(5.5vw,22px);
          margin-bottom: 10px;
        }
        dd {
          font-size: min(3.5vw,14px);
          line-height: 1.5;
        }
        .b-txts {
          align-self: flex-start;
          margin-left: 0;
          margin-right: auto;
        }
      }
    }
  }
  hr {
    margin: 40px 0;
  }
}
@media screen and (max-width: 767px) {
  .b-guidelines {
    .b-mds {
      .e-mds {
        font-size: min(7vw,28px);
      }
    }
    .e-img {
      width: 100dvw;
      margin-left: 50%;
      margin-top: 50px;
      transform: translateX(-50dvw);
    }
  }
}
@media screen and (min-width: 768px) {
  .b-guidelines {
    .b-mds {
      .e-mds {
        font-size: 42px;
      }
    }
    .b-table {
      th {
        width: auto;
      }
    }
    .b-content {
      display: flex;
      gap: 50px;
      .b-txts {
        width: 100%;
      }
      .e-img {
        width: clamp(300px,40%,500px);
        min-width: clamp(300px,40%,500px);
      }
      .b-btns {
        .b-btn {
          width: calc( (100% - 30px) / 2 );
          &:hover {
            color: var(--blue);
            border-color: var(--blue);
            background-color: #fff;
            .b-mark {
              background: var(--bgblue);
              >span {
                span {
                  border-color: var(--blue);
                }
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1310px) {
  .b-guidelines {
    .b-content {
      .b-btns {
        flex-direction: column;
        .b-btn {
          width: 100%;
          max-width: 500px;
        }
      }
    }
  }
}

/*--------------------------------------------------*/

/* entrySection

/*--------------------------------------------------*/
.b-entrySection {
  width: 100dvw;
  margin-left: 50%;
  transform: translateX(-50dvw);
  background: var(--bgblue);
  margin-bottom: -150px;
  .e-mds {
    text-align: center;
  }
  .e-lead {
    line-height: 1.5;
    text-align: center;
    font-weight: 300;
    color: var(--blue);
    margin-bottom: 50px;
  }
  .b-btns {
    .b-btn {
      height: 90px;
      background: var(--blue);
      color: #fff;
      font-size: min(5.5vw,22px);
      border: 0 none;
      width: 100%;
      max-width: 360px;
      margin: auto;
      font-weight: 400;
      .b-mark {
        background: var(--blue) !important;
        &>span {
          span {
            width: 20% !important;
            border-color: #fff !important;
          }
        }
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .b-entrySection {
    padding: 50px 0;
    margin-top: -150px;
    .e-lead {
      font-size: min(5.5vw,22px);
    }
  }
}
@media screen and (min-width: 768px) {
  .b-entrySection {
    padding: 150px 0;
    .e-lead {
      font-size: 32px;
    }
    .b-btns {
      .b-btn {
        &:hover {
          color: #fff !important;
          background: rgb(4 137 168 / .7) !important;
          .b-mark {
            background: var(--blue-p) !important;
            >span {
              span {
                border-color: var(--blue) !important;
              }
            }
          }
        }
      }
    }
  }
}
