/*==============================================================
Recruit
==============================================================*/
.fv {
  position: relative;
  overflow: hidden;

  .fv-img {
    position: absolute;
    top: 0;
    left: 0;

    &.fv-img-03 {
      top: unset;
      left: unset;
      right: 0;
      bottom: 0;
      width: 100%;
      max-width: 45%;

      & img {
        object-fit: contain;
      }
    }

    @media screen and (max-width: 560px) {
      display: none;
    }
  }

  .fv-img-00 {
    @media screen and (max-width: 560px) {
      display: none;
    }
  }

  .fv-sp {
    display: none;

    @media screen and (max-width: 560px) {
      display: block;
    }
  }

  .fv-ttl {
    position: absolute;
    top: 44%;
    left: 6%;
    display: flex;
    flex-direction: column;
    gap: 24px;

    @media screen and (max-width: 1280px) {
      top: 41%;
    }

    @media screen and (max-width: 560px) {
      top: unset;
      left: 15%;
      bottom: 6%;
      scale: calc(1.3);
    }

    .ttl {
      font-size: clamp(1.5rem, 0.1667rem + 2.7778vw, 3.5rem);
      font-weight: 600;
      line-height: 1.4;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .des {
      @media screen and (max-width: 560px) {
        display: none;
      }
    }
  }
}

.data {
  position: relative;

  .bg-txt {
    position: absolute;
    top: -8%;
    left: 50%;
    transform: translateX(-50%);

    @media screen and (max-width: 1280px) {
      top: -1%;
    }

    @media screen and (max-width: 991px) {
      top: -1%;
    }

    @media screen and (max-width: 560px) {
      top: -0.5%;
    }

    .txt {
      font-size: clamp(4rem, -1.1213rem + 14.6324vw, 16.4375rem);
      font-weight: 600;
      font-family: Arial, Helvetica, sans-serif;
      color: #298dff2f;
    }
  }

  .cont {
    .box {
      max-width: 1200px;
      display: flex;
      flex-direction: column;
      gap: 24px;

      .item-list {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        gap: 24px;

        @media screen and (max-width: 991px) {
          grid-template-columns: repeat(2, 1fr);
          gap: 16px;
        }

        @media screen and (max-width: 560px) {
          grid-template-columns: 1fr;
          gap: 16px;
        }

        .ttl-box {
          display: flex;
          gap: 24px;
          background-color: #298dff;
          border-radius: 10px;
          overflow: hidden;
          position: relative;

          @media screen and (max-width: 560px) {
            gap: 16px;
          }

          .left {
            width: 75%;
            display: flex;
            align-items: flex-end;

            @media screen and (max-width: 991px) {
              position: absolute;
              bottom: 0;
              left: 0;
              z-index: -1;
              width: 100%;
              max-width: 110px;
            }

            @media screen and (max-width: 560px) {
              width: 36%;
            }

            .img {
              & img {
                object-fit: contain;
              }
            }
          }
          .right {
            width: 100%;
            display: flex;
            align-items: center;

            .ttl-cont {
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 8px;

              @media screen and (max-width: 991px) {
                position: absolute;
                bottom: 0;
                left: 0;
                z-index: -1;
                width: 100%;
                height: 100%;
                justify-content: center;
              }

              .en {
                font-size: clamp(1.5rem, 0rem + 3.125vw, 3.75rem);
                font-weight: 600;
                font-family: Arial, Helvetica, sans-serif;
                line-height: 1;
              }

              .jp {
                font-size: clamp(1.125rem, 0.875rem + 0.5208vw, 1.5rem);
                font-weight: 600;
                line-height: 1;
              }
            }
          }
        }

        .img-box {
          background-color: #298dff;
          border-radius: 10px;
          padding: 10px;

          display: flex;

          .img {
            flex: 1;

            & img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              display: block;
              border-radius: 10px;
            }
          }
        }

        .item {
          background: #ececec;
          border-radius: 10px;
          padding: 24px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          gap: 24px;

          @media screen and (max-width: 991px) {
            padding: 12px;
          }

          .ttl {
            position: relative;
            font-weight: 600;
            font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
            line-height: 1.2;
            border-bottom: 1px solid #ccc;
            color: #298dff;
            padding-bottom: 4px;
          }

          .middle {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 26px;

            .img {
              flex: 0 0 auto;
              height: 180px;

              @media screen and (max-width: 1280px) {
                width: 100%;
                max-width: 130px;
                height: auto;
              }

              @media screen and (max-width: 560px) {
                height: 90px;
                flex: 1;
              }

              & img {
                object-fit: contain;
              }
            }

            .number-cont {
              display: flex;
              align-items: flex-end;
              flex-direction: column;
              gap: 6px;

              @media screen and (max-width: 1280px) {
                flex: 0 0 auto;
              }

              @media screen and (max-width: 560px) {
                flex-direction: row;
                gap: 2px;
                flex: 1;
              }

              &.d-01 {
                flex-direction: unset;
              }

              .number {
                font-size: clamp(3.5rem, 1.3333rem + 4.5139vw, 6.75rem);
                font-weight: 900;
                font-family: Arial, Helvetica, sans-serif;
                color: #298dff;
                line-height: 1;

                &.d-01 {
                  font-size: clamp(4rem, -0.8333rem + 10.0694vw, 11.25rem);
                  line-height: 0.75;

                  @media screen and (max-width: 560px) {
                    line-height: 1;
                  }
                }
              }
              .credit {
                font-size: clamp(1.5rem, -0.1667rem + 3.4722vw, 4rem);
                font-weight: 600;
                line-height: 1;

                @media screen and (max-width: 560px) {
                  margin-bottom: 7px;
                }
              }
            }
          }
        }
      }

      .item-list-02 {
        display: grid;
        grid-template-columns: repeat(3, 3fr);
        gap: 24px;

        @media screen and (max-width: 991px) {
          grid-template-columns: repeat(2, 3fr);
          gap: 16px;
          width: 100%;
        }

        @media screen and (max-width: 560px) {
          grid-template-columns: unset;
          gap: 16px;
          width: 100%;
          display: flex;
          flex-direction: column;
        }

        .item {
          &:nth-child(2) {
            grid-column: span 2;

            @media screen and (max-width: 991px) {
              grid-column: span 1;
            }
          }
        }

        .ttl-box {
          display: flex;
          gap: 40px;
          background-color: #298dff;
          border-radius: 10px;
          overflow: hidden;

          .left {
            width: 95%;
          }
          .right {
            width: 100%;
            display: flex;
            align-items: center;

            .ttl-cont {
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 8px;

              .en {
                font-size: clamp(1.5rem, 0rem + 3.125vw, 3.75rem);
                font-weight: 600;
                font-family: Arial, Helvetica, sans-serif;
                line-height: 1;
              }

              .jp {
                font-size: clamp(1.125rem, 0.875rem + 0.5208vw, 1.5rem);
                font-weight: 600;
                line-height: 1;
              }
            }
          }
        }

        .img-box {
          background-color: #298dff;
          border-radius: 10px;
          padding: 10px;
          display: flex;

          @media screen and (max-width: 560px) {
            padding: 4px;
          }

          .img {
            flex: 1;

            & img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              display: block;
              border-radius: 10px;
            }
          }
        }

        .item {
          background: #ececec;
          border-radius: 10px;
          padding: 18px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          gap: 24px;

          @media screen and (max-width: 560px) {
            gap: 16px;
          }

          &.data-04 {
            gap: 8px;

            .des {
              text-align: center;
            }
          }

          @media screen and (max-width: 991px) {
            padding: 12px;
          }

          .ttl {
            position: relative;
            font-weight: 600;
            font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
            line-height: 1.2;
            border-bottom: 1px solid #ccc;
            color: #298dff;
            padding-bottom: 4px;
          }

          .middle {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 26px;

            @media screen and (max-width: 560px) {
              gap: 0px;
            }

            .img {
              flex: 0 0 auto;
              height: 130px;

              @media screen and (max-width: 1280px) {
                height: auto;
                flex: unset;
                width: 100%;
                max-width: 130px;
              }

              @media screen and (max-width: 560px) {
                height: auto;
                flex: 1;
                height: 100px;
              }

              &.data-04 {
                height: 210px;

                @media screen and (max-width: 1280px) {
                  height: auto;
                  flex: unset;
                  width: 100%;
                  max-width: 270px;
                }

                @media screen and (max-width: 560px) {
                  max-width: 100%;
                  height: auto;
                  flex: 1;
                }
              }

              & img {
                object-fit: contain;
              }
            }

            .number-cont {
              display: flex;
              align-items: flex-end;
              flex-direction: column;
              gap: 0px;

              @media screen and (max-width: 1280px) {
                flex: 0 0 auto;
              }

              @media screen and (max-width: 560px) {
                flex: 1;
                justify-content: center;
                flex-direction: row;
              }

              &.d-01 {
                flex-direction: unset;
              }

              .number {
                font-size: clamp(3.5rem, 1.3333rem + 4.5139vw, 6.75rem);
                font-weight: 900;
                font-family: Arial, Helvetica, sans-serif;
                color: #298dff;
                line-height: 1;

                &.d-01 {
                  font-size: clamp(4rem, -0.8333rem + 10.0694vw, 11.25rem);
                  line-height: 0.75;
                }
              }
              .credit {
                font-size: clamp(1.5rem, 1.0882rem + 1.1765vw, 2.5rem);
                font-weight: 600;
                line-height: 1;
                padding-right: 4px;

                @media screen and (max-width: 560px) {
                  padding-right: 0px;
                  margin-bottom: 8px;
                }
              }
            }
          }
        }
      }
    }
  }
}

.btns {
  padding-bottom: 4px;
  border-bottom: 2px solid #fff;
  width: max-content;

  .btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;

    & p {
      font-weight: 600;
    }

    & img {
      transition: transform 0.3s ease;
    }

    &:hover img {
      transform: translateX(4px);
    }
  }
}

.ttl-cont {
  display: flex;
  flex-direction: column;
  gap: 4px;

  .jp {
    line-height: 1;
    font-weight: 600;
    font-size: clamp(1.125rem, 0.875rem + 0.5208vw, 1.5rem);
  }

  .en {
    line-height: 1;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 0.6667rem + 2.7778vw, 4rem);
  }
}

.content {
  position: relative;
  z-index: 0;

  @media screen and (max-width: 560px) {
    background-image: url("../assets/img/recruit/bg-02.jpg");
    background-size: cover;
    background-position: center;
    background-size: 500%;
    background-repeat: no-repeat;
  }

  .bg-content {
    @media screen and (max-width: 560px) {
      display: none;
    }
  }

  .cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;

    @media screen and (max-width: 560px) {
      position: unset;
      transform: unset;
    }

    .box {
      max-width: 1280px;
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 80px;
      position: relative;

      @media screen and (max-width: 1280px) {
        gap: 40px;
      }

      .item {
        display: flex;
        align-items: center;
        gap: 80px;

        @media screen and (max-width: 1280px) {
          gap: 40px;
        }

        @media screen and (max-width: 560px) {
          flex-direction: column-reverse;
          gap: 24px;
        }

        &.reverse {
          flex-direction: row-reverse;

          @media screen and (max-width: 560px) {
            flex-direction: column-reverse;
            gap: 24px;
          }
        }

        .left {
          flex: 1;
          display: flex;
          flex-direction: column;
          gap: 40px;
          padding: 5%;

          @media screen and (max-width: 1280px) {
            gap: 20px;
            padding: 0;
          }

          @media screen and (max-width: 560px) {
            padding: 0;
            gap: 16px;
          }
        }

        .right {
          flex: 1.2;
          position: relative;

          &::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(3deg);
            width: 100%;
            height: 100%;
            border-radius: 10px;
            background-color: #fff;
            z-index: -1;
          }

          .img {
            & img {
              border-radius: 10px;
            }
          }
        }
      }
    }
  }
}

.people {
  overflow: hidden;

  .cont {
    padding: 0 0 80px;

    @media screen and (max-width: 560px) {
      padding: 40px 16px;
    }

    .box {
      max-width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;

      & > .item {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
      }

      .txt-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;

        .ttl-cont {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 4px;

          .en {
            color: #298dff;
          }
        }
      }

      .des {
        @media screen and (max-width: 1280px) {
          width: 100%;
          max-width: 90%;
          margin: 0 auto;
        }
      }

      .item {
        width: 100%;
        max-width: 100%;
      }

      #people-carousel {
        width: 100%;

        .owl-stage-outer {
          overflow: visible;
        }

        .item {
          opacity: 0.5;
          transform: scale3d(0.8, 0.8, 1);
          transition: all 0.3s ease-in-out;
        }

        .owl-item.active.center .item {
          opacity: 1;
          transform: scale3d(1, 1, 1);
        }

        .owl-dots {
          display: flex;
          justify-content: center;
          gap: 8px;
          margin-top: 24px;

          .owl-dot span {
            display: block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ccc;
            transition: background 0.3s ease;
          }

          .owl-dot.active span {
            background: #298dff;
          }
        }
      }

      .people-card {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 8px;

        & img {
          width: 100%;
          height: 270px;
          object-fit: cover;
          display: block;
        }

        .tag {
          position: absolute;
          top: 12px;
          left: 0;
          background: #ff8a00;
          color: #fff;
          font-size: 12px;
          font-weight: 600;
          padding: 4px 12px;
          border-radius: 0 15px 15px 0;
        }

        .people-info {
          display: flex;
          align-items: center;
          gap: 24px;
          justify-content: space-between;
          background: linear-gradient(135deg, #0057ff, #0041c4);
          color: #fff;
          padding: 12px 16px;

          @media screen and (max-width: 560px) {
            flex-direction: column;
            gap: 16px;
            width: 100%;
            align-items: normal;
          }
        }

        .catch {
          font-weight: 700;
          font-size: 20px;
          line-height: 1.4;

          @media screen and (max-width: 1280px) {
            font-size: 16px;
          }
        }

        .people-name {
          display: flex;
          align-items: center;
          gap: 8px;
          flex-direction: column;
          align-items: flex-end;

          .icon img {
            width: 16px;
            height: 16px;
            object-fit: contain;
          }

          .name {
            font-weight: 700;
            color: #fff;
            padding: 2px 8px;
            font-size: 20px;
            line-height: 1;
            border-radius: 4px;

            @media screen and (max-width: 560px) {
              font-size: 16px;
            }

            .cate-01,
            .cate-02 {
              padding: 2px 4px;
              font-size: 14px;
              color: #fff;
              border-radius: 3px;
              margin-right: 4px;
            }

            .cate-01 {
              background-color: #ff9900;
            }

            .cate-02 {
              background-color: #51c541;
            }
          }

          .years {
            font-size: 14px;

            @media screen and (max-width: 1280px) {
              font-size: 12px;
            }

            @media screen and (max-width: 560px) {
              font-size: 14px;
            }
          }
        }
      }

      .btns {
        border-bottom: 2px solid #298dff;

        .btn {
          & span {
            & img {
              filter: brightness(0) saturate(100%) invert(48%) sepia(75%) saturate(1943%) hue-rotate(190deg)
                brightness(101%) contrast(101%);
            }
          }
        }
      }
    }
  }
}
