/*----------------------
　下層ｆｖ
-----------------------*/
.section-ttl {
  display: flex;
  flex-direction: column;
  gap: 8px;

  .en {
    font-size: clamp(1.5rem, -0.8333rem + 4.8611vw, 5rem);
    line-height: 1;
    font-family: "quiche-flare", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .jp {
    line-height: 1;
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 6px;

    & span {
      content: "";
      display: block;
      width: 16px;
      height: 16px;
      background: #6b793a;
    }
  }
}

.common-fv {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 40%;
    height: 65%;
    background: #9cb5c3;
    display: block;
    z-index: 0;
  }

  .cont {
    position: relative;
    z-index: 1;
    padding: 120px 40px 64px;

    @media screen and (max-width: 991px) {
      padding: 120px 40px 24px;
    }

    @media screen and (max-width: 560px) {
      padding: 100px 16px 32px;
    }

    .box {
      max-width: 1720px;

      .item {
        display: flex;
        align-items: flex-end;
        gap: 80px;

        .left {
          flex: 2;
          display: flex;
          flex-direction: column;
          gap: 64px;

          .fv-txt {
            .txt {
              font-size: clamp(1.125rem, 0.625rem + 1.0417vw, 1.875rem);
              font-weight: 600;
              position: relative;
              z-index: 0;

              &::before {
                content: "";
                position: absolute;
                bottom: -20%;
                left: -2%;
                width: 30%;
                height: 50%;
                background: linear-gradient(90deg, #d4af37, #fff, #f9e076, #d4af37);
                z-index: -1;
                opacity: 0.5;
              }
            }
          }
        }
        .right {
          flex: 1;
          height: 320px;

          @media screen and (max-width: 991px) {
            position: absolute;
            top: 90px;
            right: 5%;
            width: 40%;
            height: 150px;

            .img {
              display: block;
              width: 100%;
              height: 100%;
            }

            & img {
              display: block;
              width: 100%;
              height: 100%;
              object-fit: contain;
              object-position: right top;
            }
          }

          @media screen and (max-width: 560px) {
            top: 100px;
            right: 16px;
            width: 35%;
            height: 100px;
          }

          & img {
            object-fit: contain;
          }
        }
      }
    }
  }
}

.btns {
  display: flex;
  justify-content: flex-end;
  padding-top: 40px;

  .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 600;

    .img {
      display: flex;
      transition: transform 0.3s ease;
    }

    &:hover .img {
      transform: translateX(6px);
    }
  }
}
.body-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-95%, -50%);
  transition: transform 0.6s ease;
  z-index: 1;

  @media screen and (max-width: 1280px) {
    width: 100%;
    max-width: 250px;
  }
}

.body-img.is-fv {
  transform: translate(-95%, -50%);

  @media screen and (max-width: 1280px) {
    transform: translate(-95%, -85%);
  }

  @media screen and (max-width: 991px) {
    transform: translate(-95%, -136%);
  }
}

.body-img-under {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  @media screen and (max-width: 1280px) {
    width: 100%;
    max-width: 250px;
  }
}
/*----------------------
　下層セクションタイトル
-----------------------*/

.under-ttl {
  display: flex;
  align-items: center;
  gap: 64px;

  @media screen and (max-width: 560px) {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .ttl-en {
    font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
    font-weight: 900;
    line-height: 1;
  }

  .ttl-jp {
    padding-left: 0.6rem;
    position: relative;
    background-color: #3b6a7a;
    padding: 6px 24px;

    @media screen and (max-width: 560px) {
      padding: 2px 8px;
      font-size: 14px;
      margin-left: 12px;
    }

    &::before {
      position: absolute;
      content: "";
      top: 50%;
      left: -50px;
      transform: translateY(-50%);
      width: 64px;
      height: 1px;
      background: #333;

      @media screen and (max-width: 560px) {
        left: -10px;
        width: 14px;
      }
    }
  }
}

/*----------------------
　採用エリア
-----------------------*/
.common-recruit {
  z-index: 10;
  position: relative;

  .cont {
    .box {
      max-width: 1400px;

      .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;
          gap: 16px;
        }

        .left {
          flex: 1.8;

          @media screen and (max-width: 1280px) {
            flex: 1.4;
          }
        }

        .right {
          flex: 1.2;
          display: flex;
          flex-direction: column;
          gap: 40px;

          @media screen and (max-width: 1280px) {
            gap: 24px;
          }

          @media screen and (max-width: 991px) {
            gap: 16px;
          }

          .ttl {
            font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
            font-weight: 600;
            display: flex;
            flex-direction: column;
            line-height: 1.4;

            & span:nth-child(1) {
              padding-left: 20%;

              @media screen and (max-width: 1280px) {
                padding-left: 10%;
              }
            }

            & span:nth-child(2) {
              padding-left: 28%;

              @media screen and (max-width: 1280px) {
                padding-left: 14%;
              }
            }
          }

          .des {
            width: 100%;
            max-width: 480px;

            & p {
              line-height: 1.8;
            }

            .btns {
              @media screen and (max-width: 991px) {
                padding-top: 16px;
              }

              @media screen and (max-width: 560px) {
                justify-content: center;
                padding-top: 24px;
              }
            }
          }
        }
      }
    }
  }
}

/*----------------------
　コンタクトエリア
-----------------------*/
.common-contact {
  z-index: 1;
  position: relative;

  .cont {
    padding: 40px 32px 80px;

    @media screen and (max-width: 991px) {
      padding: 40px 16px;
    }

    .box {
      max-width: 1420px;
      background: linear-gradient(90deg, #d4af37, #f9e076, #d4af37);
      border-radius: 56px;
      padding: 6px;

      .common-contact-area {
        background-image: url("../assets/img/common/contact-common.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        padding: 48px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        border-radius: 50px;

        @media screen and (max-width: 991px) {
          gap: 16px;
          padding: 16px;
        }

        .common-contact-ttl {
          .common-contact-ttl-en {
            font-size: clamp(2rem, 1rem + 2.0833vw, 3.5rem);
            font-weight: 900;
            line-height: 1;
          }

          .common-contact-ttl-jp {
            font-weight: 600;
          }
        }

        .contact-area-flex {
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 40px;

          @media screen and (max-width: 991px) {
            flex-direction: column;
            gap: 16px;
          }

          .common-contact-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px 24px;
            width: 100%;
            max-width: 390px;
            height: stretch;

            &.common-contact {
              background: #ffffff46;
              border: 1px solid #fff;
              border-radius: 50px;
            }

            @media screen and (max-width: 991px) {
              height: 70px;
            }

            .tel-icon {
              border: 1px solid #fff;
              padding: 3px 5px;
              border-radius: 2px;
              font-size: 12px;
              color: #fff;
            }

            .btn-border {
              display: flex;
              justify-content: center;
              align-items: center;
              gap: 6px;
              .contact-area-img {
                height: 44px;
              }

              .tel-hours {
                line-height: 1;
              }

              .contact-number span {
                font-size: clamp(1.5rem, 1.1667rem + 0.6944vw, 2rem);
                font-weight: 600;
                line-height: 30px;
                display: block;
              }
            }

            .mail-form {
              font-size: clamp(1.25rem, 1.0833rem + 0.3472vw, 1.5rem);

              .contact-area-img {
                height: 24px;
              }

              span {
                color: #fff;
              }
            }
          }
        }
      }
    }
  }
}
