/*----------------------
　下層ｆｖ
-----------------------*/
/*----------------------
　下層セクションタイトル
-----------------------*/
.common-fv {
  .img {
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  .ttl-cont {
    position: relative;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 1;

    @media screen and (max-width: 480px) {
      padding-top: 32px;
      gap: 8px;
    }

    .ttl-en {
      font-size: 1rem;
      font-weight: 900;
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1;
      color: #fbba24;
    }

    .ttl-jp {
      font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
      font-family: "zen-maru-gothic", sans-serif;
      font-weight: 700;
      font-style: normal;

      @media screen and (max-width: 480px) {
        line-height: 1;
      }
    }

    .img {
      width: 100%;
      max-width: 48px;
      position: absolute;
      top: -15%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 3;

      @media screen and (max-width: 480px) {
        max-width: 36px;
        top: -5%;
      }
    }

    .mega-ttl-cont {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      overflow: hidden;
      width: 100%;
      z-index: -1;

      .mega-ttl {
        font-size: clamp(7.5rem, 4.1667rem + 6.9444vw, 12.5rem);
        font-family: "zen-maru-gothic", sans-serif;
        font-weight: 700;
        font-style: normal;
        color: #dcdcdc3b;
        text-align: center;
        white-space: nowrap;
      }
    }
  }
}

.under-ttl {
  margin-bottom: 40px;

  .ttl-en-cont {
    display: flex;
    align-items: center;
    gap: 4px;

    .img {
      width: 100%;
      max-width: 36px;
    }
    .ttl-en {
      font-size: clamp(1.75rem, 1.4167rem + 0.6944vw, 2.25rem);
      font-family: "zen-maru-gothic", sans-serif;
      font-weight: 700;
      font-style: normal;
      line-height: 1;
      color: #fbba24;
    }
  }

  .ttl-jp {
    font-size: clamp(2rem, 1.6667rem + 0.6944vw, 2.5rem);
    font-family: "zen-maru-gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
  }
}

/*----------------------
　採用エリア
-----------------------*/
.common-recruit {
  background-image: url(../assets/img/common/re-area-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4); /* 数値で濃さ調整 */
    z-index: 0;
  }

  > * {
    position: relative;
    z-index: 1;
  }

  .cont {
    @media screen and (max-width: 991px) {
      padding: 8px;
    }
  }

  .box {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);

    .common-recruit-area {
      background-image: url(../assets/img/common/re-area-main-bg.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      display: flex;
      border-radius: 10px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      padding: 32px;
      height: 550px;

      @media screen and (max-width: 991px) {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
      }

      .common-recruit-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px;

        @media screen and (max-width: 991px) {
          align-items: flex-start;
          gap: 8px;
        }

        .common-ttl-cont {
          position: relative;
          z-index: 1;
          display: inline-flex;
          flex-direction: column;

          @media screen and (max-width: 991px) {
            align-items: flex-start;
          }

          .common-ttl {
            font-family: "noto serif jp";
            font-weight: 900;
            font-size: clamp(4rem, 2.5rem + 3.125vw, 6.25rem);
            line-height: 1.3;

            @media screen and (max-width: 991px) {
              line-height: 1.1;
            }

            span {
              font-size: clamp(3rem, 1.1667rem + 3.8194vw, 5.75rem);
            }
          }
        }
        .dec {
          height: 28px;
        }
      }

      .common-recruit-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        gap: 24px;

        @media screen and (max-width: 991px) {
          align-items: center;
          justify-content: center;
          flex: unset;
          gap: 8px;
        }

        .common-recruit-btn {
          border-radius: 5px;
          padding: 12px 24px;
          background: linear-gradient(90deg, #3091ff, #00c55c);
          color: #fff;
          transition:
            background-position 0.5s ease,
            transform 0.3s ease,
            box-shadow 0.3s ease;

          &:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
          }
        }
      }
    }
  }
}

/*----------------------
　コンタクトエリア
-----------------------*/
.common-contact {
  background-image: url("../assets/img/common/contact-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;

  .cont {
    padding: 40px 32px;

    @media screen and (max-width: 991px) {
      padding: 40px 16px;
    }

    .box {
      max-width: 1000px;
      background: #fbba24;
      border-radius: 10px;
      padding: 0 10px;

      .common-contact-area {
        background-image: url("../assets/img/common/bg.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        flex-direction: column;
        gap: 18px;
        border-radius: 10px;
        padding: 32px;

        @media screen and (max-width: 991px) {
          gap: 16px;
        }

        @media screen and (max-width: 480px) {
          padding: 16px;
        }

        .common-contact-ttl {
          .common-contact-ttl-en {
            font-size: clamp(2rem, 1rem + 2.0833vw, 3.5rem);
            font-weight: 900;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 1;
          }

          .common-contact-ttl-jp {
            font-weight: 600;
          }
        }

        .contact-area-flex {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 24px;

          @media screen and (max-width: 991px) {
            flex-direction: column;
            gap: 16px;
          }

          .common-contact-btn {
            background: #fbba24;
            padding: 8px 24px;
            border-radius: 50px;
            width: 100%;
            max-width: max-content;
            height: stretch;
            transition:
              background 0.25s ease,
              box-shadow 0.25s ease;

            &:hover {
              background: #e8a510;
              box-shadow: 0 4px 14px rgba(251, 186, 36, 0.5);
            }

            &.tel:hover {
              background: unset;
              box-shadow: none;

              .btn-border {
                opacity: 0.75;
              }
            }

            .btn-border {
              transition: opacity 0.25s ease;
            }

            @media screen and (max-width: 480px) {
              padding: 8px 16px;
            }

            &.contact-txt {
              font-size: 1rem;
            }

            &.tel {
              background: unset;
              padding: 0;
            }

            .tel-hours {
              font-size: 1rem;
              font-family: "zen-maru-gothic", sans-serif;
              font-weight: 700;
              font-style: normal;
            }

            .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);
                line-height: 1;
                display: block;
                font-family: "heisei-maru-gothic-std", sans-serif;
                font-weight: 800;
                font-style: normal;
              }
            }

            .mail-form {
              font-size: clamp(1.25rem, 1.0833rem + 0.3472vw, 1.5rem);

              .contact-area-img {
                height: 38px;
              }

              span {
                color: #fff;
                font-family: "zen-maru-gothic", sans-serif;
                font-weight: 700;
                font-style: normal;
              }
            }
          }
        }
      }
    }
  }
}

/*----------------------
faq
-----------------------*/
.faq {
  .btns {
    display: flex;
    justify-content: flex-start;

    .btn {
      background: #fbba24;
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 600;
      transition: 0.3s;
      border: 3px solid #ffe57e;
      position: relative;
      overflow: hidden;
      z-index: 0;

      &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(251, 186, 36, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition:
          width 0.5s ease,
          height 0.5s ease;
        z-index: -1;
      }

      &:hover {
        background: #fff;
        color: #1a1a1a !important;
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(251, 186, 36, 0.5);

        &::before {
          width: 300px;
          height: 300px;
        }
      }

      &:active {
        transform: translateY(0);
        box-shadow: none;
      }
    }
  }

  .cont {
    .box {
      width: 1280px;
      max-width: 90%;
      margin: 0 auto;
      background: #fbba24;
      padding: 0 16px;
      border-radius: 15px;

      @media screen and (max-width: 480px) {
        padding: 8px 0;
        max-width: 100%;
      }

      .item {
        display: flex;
        gap: 80px;
        background: #fff;
        border-radius: 15px;
        overflow: hidden;

        @media screen and (max-width: 991px) {
          gap: 24px;
        }

        @media screen and (max-width: 480px) {
          flex-direction: column-reverse;
          gap: 0px;
        }

        .left {
          flex: 1;
          padding: 40px 0 40px 24px;
          display: flex;
          gap: 8px;

          @media screen and (max-width: 991px) {
            padding: 16px 0 16px 16px;
          }

          @media screen and (max-width: 480px) {
            padding: 16px;
          }

          .left-dec {
            flex: 1;

            @media screen and (max-width: 991px) {
              display: none;
            }
          }

          .left-ttl {
            flex: 5;
            display: flex;
            flex-direction: column;
            gap: 24px;

            .section-ttl {
              display: flex;
              flex-direction: column;
              align-items: flex-start;
              gap: 8px;

              .section-ttl-en {
                font-size: 1rem;
                font-family: "zen-maru-gothic", sans-serif;
                font-weight: 700;
                font-style: normal;
                line-height: 1;
                background-color: #333;
                border-radius: 50px;
                padding: 4px 8px;
                width: max-content;
              }
            }

            .section-ttl-jp {
              font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
              font-family: "zen-maru-gothic", sans-serif;
              font-weight: 700;
              font-style: normal;
              color: #fbba24;
              line-height: 1;
            }
          }
        }

        .right {
          flex: 1;

          .img {
            display: inline;
          }
        }
      }
    }
  }
}
