@charset "UTF-8";

main {
  width: 100%;
}

header::before {
  transform: scaleY(1);
}

/* ↓↓↓ title-box ↓↓↓ */
.title-box {
  width: 100%;
  padding-top: 17.96875vw;

  @media (max-width: 768px) {
    padding-top: 112px;
  }
}

.title-box .inner {
  width: 88.75vw;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  @media (max-width: 768px) {
    width: 100%;
    padding-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .ttl-group {
    width: fit-content;

    @media (max-width: 768px) {
      width: 100%;
    }

    .subttl {
      padding-left: 2.1875vw;
      font-family: var(--cormorant);
      font-size: 1.25vw;
      font-weight: 600;
      letter-spacing: 0.1em;
      line-height: 1;
      position: relative;

      @media (max-width: 768px) {
        padding-left: 28px;
        font-size: 16px;
        line-height: 1.375;
      }

      &::before {
        content: '';
        position: absolute;
        top: 0.234375vw;
        left: 0;
        width: 1.328125vw;
        aspect-ratio: 17 / 11;
        background: url(/assets/img/common/icon-cross.svg) no-repeat;
        background-size: contain;

        @media (max-width: 768px) {
          top: 5px;
          width: 17px;
        }
      }
    }

    .ttl {
      margin-top: 0.78125vw;
      font-family: var(--mincho);
      font-size: 3.125vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1.2;

      @media (max-width: 768px) {
        margin-top: 10px;
        font-size: 32px;
        line-height: 1.5;
      }
    }
  }

  .breadcrumbs {
    width: fit-content;

    @media (max-width: 768px) {
      width: calc(100% + 24px);
    }

    ul {
      display: flex;
      gap: 2.109375vw;

      @media (max-width: 768px) {
        gap: 27px;
        overflow-x: auto;
        overflow-y: clip;
        white-space: nowrap;
        padding-right: 24px;
      }

      li {
        font-size: 0.859375vw;
        letter-spacing: 0.04em;
        line-height: 1;
        position: relative;

        @media (max-width: 768px) {
          font-size: 11px;
          line-height: 1.2;
        }

        a {
          text-decoration: underline;
          transition: opacity 300ms 0s ease;

          @media (min-width: 769px) {
            &:hover {
              opacity: 0.5;
            }
          }
        }
      }

      li:not(:last-of-type) {
        &::after {
          content: '';
          position: absolute;
          top: 50%;
          left: calc(100% + 0.625vw);
          width: 0.859375vw;
          height: 1px;
          background-color: #1E1E1E;

          @media (max-width: 768px) {
            width: 11px;
            left: calc(100% + 8px);
          }
        }
      }
    }
  }
}

.title-box .image {
  display: block;
  width: 94.375vw;
  margin-top: 3.125vw;

  @media (max-width: 768px) {
    width: 93.334%;
    margin-top: 24px;
  }
}

/* ↑↑↑ title-box ↑↑↑ */

/* ↓↓↓ contents ↓↓↓ */
.contents {
  width: 100%;
  margin-top: 12.265625vw;

  @media (max-width: 768px) {
    margin-top: 80px;
  }
}

.box01 {
  width: 79.6875vw;
  margin: 0 auto;
  position: relative;

  @media (max-width: 768px) {
    width: 100%;
  }

  .inner {
    width: 100%;
    position: relative;

    @media (max-width: 768px) {
      width: calc(100% - 48px);
      margin-inline: auto;
    }
  }

  .ttl {
    padding-top: 0.9375vw;
    font-family: var(--mincho);
    font-size: 2.5vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.5;
    position: relative;

    @media (max-width: 768px) {
      padding-top: 10px;
      font-size: 24px;
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 1.328125vw;
      aspect-ratio: 17 / 11;
      background: url(/assets/img/common/icon-cross.svg) no-repeat;
      background-size: contain;

      @media (max-width: 768px) {
        width: 17px;
      }
    }
  }
}

.box01 .service-list {
  width: 100%;
  margin-top: 3.75vw;

  @media (max-width: 768px) {
    max-width: 327px;
    margin-top: 40px;
    margin-inline: auto;
    display: flex;
    gap: 16px;
  }

  .category {
    width: 100%;
    height: 6.25vw;
    display: flex;

    @media (max-width: 768px) {
      width: 40px;
      height: auto;
      flex-direction: column;
    }

    .career {
      width: 67.34375vw;
      height: 100%;
      background-color: #1D2087;

      @media (max-width: 768px) {
        width: 100%;
        height: 962px;
      }
    }

    .new {
      width: 21.40625vw;
      height: 100%;
      background-color: #8DC21F;

      @media (max-width: 768px) {
        width: 100%;
        height: 298px;
      }
    }

    > div {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      @media (max-width: 768px) {
        padding-top: 16px;
        flex-direction: row-reverse;
        justify-content: flex-end;
        writing-mode: vertical-lr;
        gap: 16px;
      }

      .eng {
        font-family: var(--cormorant);
        font-size: 1.09375vw;
        font-weight: 600;
        letter-spacing: 0.1em;
        line-height: 1;
        color: #fff;

        @media (max-width: 768px) {
          font-size: 14px;
          padding-left: 2px;
        }
      }

      .jpn {
        margin-top: 0.625vw;
        font-family: var(--mincho);
        font-size: 1.875vw;
        font-weight: 600;
        letter-spacing: 0.04em;
        line-height: 1;
        color: #fff;

        @media (max-width: 768px) {
          font-size: 20px;
        }
      }
    }
  }
}

.box01 .service-items {
  width: 100%;
  margin-top: 1.5625vw;
  display: flex;
  gap: 3.125vw;

  @media (max-width: 768px) {
    flex: 1;
    width: fit-content;
    margin-top: 0;
    flex-direction: column;
    gap: 32px;
  }

  .item {
    width: 19.84375vw;
    aspect-ratio: 254/355;
    position: relative;

    @media (max-width: 768px) {
      width: 100%;
      aspect-ratio: unset;
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      right: -1.5625vw;
      width: 1px;
      height: 100%;
      background-image: linear-gradient(to bottom, #1D2087 50%, transparent 50%);
      background-size: 1px 4px;
      background-repeat: repeat-y;

      @media (max-width: 768px) {
        display: none;
      }
    }

    .caption {
      width: 100%;
      height: 3.75vw;
      display: grid;
      place-content: center;
      font-family: var(--mincho);
      font-size: 1.5625vw;
      font-weight: 700;
      letter-spacing: 0.04em;
      line-height: 1;
      color: #fff;
      position: relative;

      @media (max-width: 768px) {
        height: 40px;
        font-size: 18px;
      }

      &::before {
        content: '';
        position: absolute;
        top: calc(100% - 1px);
        left: 50%;
        translate: -50% 0;
        width: 1.5625vw;
        height: 0.9375vw;
        clip-path: polygon(50% 100%, 0 0, 100% 0);

        @media (max-width: 768px) {
          width: 20px;
          height: 12px;
        }
      }
    }

    .image {
      display: block;
      width: 11.5625vw;
      margin: 0.9375vw auto 0;

      @media (max-width: 768px) {
        width: 131px;
        margin-top: 12px;
      }
    }

    .text-group {
      width: 17.1875vw;
      margin-inline: auto;
      padding-left: 2.5vw;
      font-size: 1.015625vw;
      letter-spacing: 0.04em;
      line-height: 1.6923;

      @media (max-width: 768px) {
        width: 220px;
        padding-left: 32px;
        font-size: 13px;
      }

      b {
        font-size: 1.171875vw;
        font-weight: 700;
        position: relative;
        display: block;

        @media (max-width: 768px) {
          font-size: 15px;
        }

        &::before {
          content: '';
          position: absolute;
          top: 1px;
          left: -2.5vw;
          width: 1.875vw;
          aspect-ratio: 1 / 1;

          @media (max-width: 768px) {
            width: 24px;
            left: -32px;
          }
        }
      }

      + .text-group {
        margin-top: 0.78125vw;

        @media (max-width: 768px) {
          margin-top: 10px;
        }
      }
    }
  }

  .item:nth-of-type(4)::before {
    display: none;
  }

  .item.color01 {
    .caption {
      background-color: #F68E32;

      &::before {
        background-color: #F68E32;
      }
    }

    .text-group {

      b {
        &::before {
          background: url(/assets/img/background-check/box06-service-items-check01.png) no-repeat;
          background-size: contain;
        }
      }
    }
  }

  .item.color02 {
    .caption {
      background-color: #EE3B40;

      &::before {
        background-color: #EE3B40;
      }
    }

    .text-group {

      b {
        &::before {
          background: url(/assets/img/background-check/box06-service-items-check02.png) no-repeat;
          background-size: contain;
        }
      }
    }
  }

  .item.color03 {
    .caption {
      background-color: #A82328;

      &::before {
        background-color: #A82328;
      }
    }

    .text-group {

      b {
        &::before {
          background: url(/assets/img/background-check/box06-service-items-check03.png) no-repeat;
          background-size: contain;
        }
      }
    }
  }

  .item.color04 {
    .caption {
      background-color: #006DB8;

      &::before {
        background-color: #006DB8;
      }
    }

    .text-group {

      b {
        &::before {
          background: url(/assets/img/background-check/box06-service-items-check04.png) no-repeat;
          background-size: contain;
        }
      }
    }
  }
}

.box02 {
  width: 100%;
  margin-top: 12.5vw;
  padding-bottom: 12.5vw;

  @media (max-width: 768px) {
    margin-top: 80px;
    padding-bottom: 100px;
  }

  .inner {
    width: 88.75vw;
    margin-inline: auto;
    position: relative;

    @media (max-width: 768px) {
      width: calc(100% - 48px);
    }
  }

  .ttl {
    padding-top: 0.9375vw;
    font-family: var(--mincho);
    font-size: 2.5vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.5;
    position: relative;

    @media (max-width: 768px) {
      padding-top: 10px;
      font-size: 24px;
    }

    span {
      font-size: 1.875vw;

      @media (max-width: 768px) {
        font-size: 20px;
      }
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 1.328125vw;
      aspect-ratio: 17 / 11;
      background: url(/assets/img/common/icon-cross.svg) no-repeat;
      background-size: contain;

      @media (max-width: 768px) {
        width: 17px;
      }
    }
  }
}

.box02 .category {
  width: 100%;
  height: 5vw;
  margin-top: 3.75vw;
  margin-left: 22.1875vw;
  display: flex;

  @media (max-width: 768px) {
    /* width: 704px; */
    width: calc(100% - 132px);
    height: 64px;
    margin-top: 40px;
    margin-left: 156px;
    overflow-x: auto;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .career {
    width: 50.234375vw;
    height: 100%;
    background-color: #1D2087;

    @media (max-width: 768px) {
      width: 510px;
      min-width: 510px;
      height: 100%;
    }
  }

  .new {
    width: 16.328125vw;
    height: 100%;
    background-color: #8DC21F;

    @media (max-width: 768px) {
      width: 170px;
      min-width: 170px;
      height: 100%;
      margin-right: 24px;
    }
  }

  > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    @media (max-width: 768px) {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: auto;
    }

    .eng {
      font-family: var(--cormorant);
      font-size: 0.9375vw;
      font-weight: 600;
      letter-spacing: 0.1em;
      line-height: 1;
      color: #fff;

      @media (max-width: 768px) {
        font-size: 12px;
        padding-left: 2px;
      }
    }

    .jpn {
      margin-top: 0.625vw;
      font-family: var(--mincho);
      font-size: 1.5625vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1;
      color: #fff;

      @media (max-width: 768px) {
        margin-top: 8px;
        font-size: 20px;
      }
    }
  }
}

.box02 .price-list {
  width: 100%;
  margin-top: 1.5625vw;
  display: flex;
  position: relative;

  @media (max-width: 768px) {
    width: calc(100% + 24px);
    margin-top: 8px;
  }

  .-bg01 {
    background-color: #F0F0F0;
  }

  .-bg02 {
    background-color: #F8F8F8;
  }

  .sp-scroll {
    display: none;

    @media (max-width: 768px) {
      display: block;
      position: absolute;
      top: 100px;
      left: 84px;
      width: 160px;
      aspect-ratio: 1/1;
      z-index: 1;
      pointer-events: none;
      opacity: 1;
      visibility: visible;
      transition: opacity 400ms ease, visibility 400ms ease;

      &.is-hidden {
        opacity: 0;
        visibility: hidden;
      }
    }
  }
}

.box02 .price-list .title-block {
  width: 20.9375vw;
  margin-top: 17.875vw;
  height: 48.75vw;
  position: relative;
  display: grid;
  grid-template-columns: 5vw 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "item01 item01"
    "item02 item02"
    "item03 item04"
    "item03 item05"
    "item03 item06"
    "item03 item07"
    "item03 item08"
    "item03 item09";

  @media (max-width: 768px) {
    width: 148px;
    height: auto;
    margin-top: 215px;
    grid-template-columns: 35px 1fr;
    grid-template-rows: auto auto auto auto auto auto auto auto;
  }

  &::before {
    content: '';
    position: absolute;
    top: 0;
    right: -0.625vw;
    width: 1px;
    height: 100%;
    background-color: #A0A0A0;

    @media (max-width: 768px) {
      right: -4px;
    }
  }

  div[class*=item] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.875vw;
    font-size: 1.09375vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 2;
    color: #1D2087;

    @media (max-width: 768px) {
      padding-left: 12px;
      font-size: 15px;
      line-height: 1.42857;
    }

    .small {
      font-size: 0.9375vw;
      font-weight: 400;
      display: block;

      @media (max-width: 768px) {
        font-size: 12px;
      }
    }
  }

  .item01 {
    grid-area: item01;
    height: 5vw;

    @media (max-width: 768px) {
      height: 56px;
    }
  }

  .item02 {
    grid-area: item02;
    height: 6.25vw;

    @media (max-width: 768px) {
      height: 56px;
    }
  }

  .item03 {
    grid-area: item03;
    background-color: #fff;
    border: 1px solid #F0F0F0;
    writing-mode: vertical-rl;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important;
    letter-spacing: 0.8em !important;

    @media (max-width: 768px) {
      width: 35px;
    }
  }

  .item04 {
    grid-area: item04;
    height: 5vw;

    @media (max-width: 768px) {
      height: 56px;
      font-size: 14px;
    }
  }

  .item05 {
    grid-area: item05;
    height: 5vw;

    @media (max-width: 768px) {
      height: 56px;
      font-size: 14px
    }
  }

  .item06 {
    grid-area: item06;
    height: 5vw;

    @media (max-width: 768px) {
      height: 56px;
      font-size: 14px
    }
  }

  .item07 {
    grid-area: item07;
    height: 7.5vw;

    @media (max-width: 768px) {
      height: 105px;
      font-size: 14px
    }
  }

  .item08 {
    grid-area: item08;
    height: 7.5vw;

    @media (max-width: 768px) {
      height: 105px;
      font-size: 14px
    }
  }

  .item09 {
    grid-area: item09;
    height: 7.5vw;

    @media (max-width: 768px) {
      height: 105px;
      font-size: 14px
    }
  }
}

.box02 .price-list .conts-block {
  width: 66.5625vw;
  margin-left: 1.25vw;
  position: relative;

  @media (max-width: 768px) {
    width: calc(100% - 156px);
    margin-left: 8px;
    overflow-x: scroll;
  }

  .conts-block-inner {
    display: flex;
    gap: 1.25vw;

    @media (max-width: 768px) {
      width: 704px;
      padding-right: 24px;
      gap: 8px;
    }
  }

  .item {
    width: 15.703125vw;
    position: relative;

    @media (max-width: 768px) {
      width: 170px;
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      right: -0.625vw;
      width: 1px;
      height: 100%;
      background-image: linear-gradient(to bottom, #A0A0A0 50%, transparent 50%);
      background-size: 1px 4px;
      background-repeat: repeat-y;

      @media (max-width: 768px) {
        right: -4px;
      }
    }

    &:nth-of-type(4) {
      &::before {
        display: none;
      }
    }
  }

  .conts01 {
    width: 100%;
    height: 17.8125vw;

    @media (max-width: 768px) {
      height: 215px;
    }

    .caption {
      width: 100%;
      height: 3.75vw;
      font-family: var(--mincho);
      font-size: 1.25vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1;
      color: #fff;
      display: grid;
      place-content: center;

      @media (max-width: 768px) {
        height: 40px;
        font-size: 14px;
      }

      &.-color01 {
        background-color: #F68E32;
      }

      &.-color02 {
        background-color: #EE3B40;
      }

      &.-color03 {
        background-color: #A82328;
      }

      &.-color04 {
        background-color: #006DB8;
      }
    }

    .image {
      display: block;
      width: 7.8125vw;
      margin: 1.25vw auto 0;

      @media (max-width: 768px) {
        width: 100px;
        margin-top: 12px;
      }
    }

    .txt {
      width: 100%;
      height: 3.4375vw;
      margin-top: 1.015625vw;
      font-size: 1.09375vw;
      font-weight: 500;
      letter-spacing: 0.04em;
      line-height: 1.571428571428571;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;

      @media (max-width: 768px) {
        height: 40px;
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.53846;
      }
    }
  }

  .conts02 {
    width: 100%;
    height: 5vw;
    display: grid;
    place-content: center;
    font-size: 1.171875vw;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;

    @media (max-width: 768px) {
      height: 56px;
      font-size: 15px;
    }
  }

  .conts03 {
    width: 100%;
    height: 6.25vw;
    font-size: 2.5vw;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    color: #F68E32;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: 768px) {
      height: 56px;
      font-size: 28px;
    }

    .unit {
      margin-left: 0.15em;
      font-size: 1.171875vw;

      @media (max-width: 768px) {
        font-size: 15px;
      }
    }
  }

  .conts04,
  .conts05,
  .conts06 {
    width: 100%;
    height: 5vw;
    font-size: 0;
    position: relative;

    @media (max-width: 768px) {
      height: 56px;
    }
  }

  .conts09,
  .conts08,
  .conts07 {
    width: 100%;
    height: 7.5vw;
    font-size: 0;
    position: relative;

    @media (max-width: 768px) {
      height: 105px;
    }
  }

  .-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 1.875vw;
    aspect-ratio: 1/1;
    border: 0.15625vw solid #F68E32;
    border-radius: 1.875vw;

    @media (max-width: 768px) {
      width: 24px;
      border-width: 2px;
      border-radius: 24px;
    }
  }

  .-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% 0;
    width: 1.875vw;
    height: 1px;
    background-color: #707070;

    @media (max-width: 768px) {
      width: 24px;
    }
  }

  .item:nth-of-type(2) {
    .conts03 {
      color: #EE3B40;
    }

    .-circle::before {
      border-color: #EE3B40;
    }
  }

  .item:nth-of-type(3) {
    .conts03 {
      color: #A82328;
    }

    .-circle::before {
      border-color: #A82328;
    }
  }

  .item:nth-of-type(4) {
    .conts03 {
      color: #006DB8;
    }

    .-circle::before {
      border-color: #006DB8;
    }
  }
}

.box02 .note {
  margin-top: 1.5625vw;
  font-size: 1.015625vw;
  letter-spacing: 0.04em;
  line-height: 1;
  display: block;

  @media (max-width: 768px) {
    margin-top: 20px;
    font-size: 13px;
  }
}

/* ↑↑↑ contents ↑↑↑ */