/*==============================================================
HOME
==============================================================*/
.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;
    }
  }
}
#serviceList {
  user-select: none;
}

/*-------------fv-------------*/
.fv-02 {
  position: relative;
  background-image: url("../assets/img/home/fv.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 10px;
  height: 100vh;

  @media screen and (max-width: 1280px) {
    height: 80vh;
  }

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

  @media screen and (max-width: 560px) {
    background-image: url("../assets/img/home/fv-sp.jpg");
    height: 80vh;
  }

  .main {
    border: 1px solid #fff;
    height: 100%;

    .txt-img {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      height: 100%;
      gap: 36px;
      padding-bottom: 3%;
      max-width: 60%;
      margin: 0 auto;

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

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

      .txt-01 {
        @media screen and (max-width: 1280px) {
          width: 100%;
          max-width: 80%;
        }
      }
      .txt-02 {
        @media screen and (max-width: 1280px) {
          width: 100%;
          max-width: 50%;
        }
      }
      .txt-03 {
        @media screen and (max-width: 1280px) {
          width: 100%;
          max-width: 60%;
        }
      }
    }

    .sub {
      text-align: center;
      display: flex;
      gap: 8px;
      justify-content: center;
      color: #fff;
      padding-bottom: 4px;
      border-bottom: 1px solid #fff;
      margin-top: 80px;

      @media screen and (max-width: 1280px) {
        margin-top: 16px;
      }
    }
  }

  .bg-number {
    position: absolute;
    top: 40%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 1;

    .number {
      font-size: 1600px;
      -webkit-text-stroke: 1px #ffffff44;
      color: transparent;
      font-family: Arial, Helvetica, sans-serif;
      font-weight: 900;
    }
  }
}

.fv {
  background-image: url("../assets/img/home/fv-bg.jpg");
  height: 90vh;
  overflow: hidden;
  position: relative;
  z-index: 0;

  @media screen and (max-width: 1400px) {
    height: 80vh;
  }

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

  @media screen and (max-width: 560px) {
    height: 76vh;
  }

  .number-cont {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 2;
    height: 97%;

    &.left {
      top: 50%;
      left: 1%;
      transform: translateY(-50%);
    }

    &.right {
      top: 50%;
      right: 1%;
      transform: translateY(-50%);
    }

    .number {
      color: #fff;
      font-weight: 900;
    }
    .line {
      content: "";
      display: block;
      width: 1px;
      height: 90vh;
      background-color: #fff;
    }
  }
  .main {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    height: 100%;
    padding: 100px 32px 40px;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;

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

    .left {
      flex: 1;

      .img {
        height: 280px;

        @media screen and (max-width: 560px) {
          height: unset;
        }

        & img {
          object-fit: contain;
        }
      }

      @media screen and (max-width: 560px) {
        position: absolute;
        left: 0;
        bottom: 16px;
        width: 100%;
        height: max-content;
        max-width: 20%;
        z-index: 2;
      }
    }
    .middle {
      flex: 3;
      position: relative;
      height: 100%;
      display: flex;
      align-items: flex-end;
      justify-content: center;

      @media screen and (max-width: 991px) {
        flex: 4;
      }

      .fv-txt {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 80px;
        padding-bottom: 2rem;

        @media screen and (max-width: 560px) {
          gap: 30px;
          padding-bottom: 3.5rem;
        }

        .ttl-cont {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 24px;
          width: 100%;
          max-width: 78%;
          margin: 0 auto;
          @media screen and (max-width: 991px) {
            gap: 14px;
          }
          .word-c {
            position: relative;

            .word {
              font-weight: 600;
              font-size: 14px;
              text-align: right;
              position: absolute;
              right: 0;

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

            &.first {
              .word {
                bottom: -7%;

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

                @media screen and (max-width: 991px) {
                  bottom: -25%;
                }

                @media screen and (max-width: 560px) {
                  bottom: -17%;
                }
              }
            }

            &.second {
              .word {
                bottom: -44%;

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

                @media screen and (max-width: 991px) {
                  bottom: -72%;
                }

                @media screen and (max-width: 560px) {
                  bottom: -63%;
                }
              }
            }

            &.third {
              .word {
                bottom: -31%;

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

                @media screen and (max-width: 991px) {
                  bottom: -51%;
                }

                @media screen and (max-width: 560px) {
                  bottom: -46%;
                }
              }
            }
          }

          .second {
            width: 100%;
            max-width: 50%;
          }
          .third {
            width: 100%;
            max-width: 54%;
          }

          .img-x {
            height: 20px;

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

        .under-name {
          .name {
            border-radius: 2px;
            border: 1px solid #fff;
            padding: 2px 16px;
            color: #fff;
            font-weight: 600;
            font-size: 12px;
          }
        }
      }

      .bg {
        position: absolute;
        top: 1%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 0;
      }
    }
    .right {
      flex: 1;

      @media screen and (max-width: 560px) {
        position: absolute;
        right: 0;
        bottom: 16px;
        width: 100%;
        height: max-content;
        max-width: 30%;
      }

      .img {
        height: 280px;

        @media screen and (max-width: 560px) {
          height: unset;
        }

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

.font {
  font-family: serif, "Noto sans serif";
}

.company {
  position: relative;
  z-index: 0;

  .section-ttl.pc {
    @media screen and (max-width: 991px) {
      display: none;
    }
  }

  .section-ttl.sp {
    display: none;

    @media screen and (max-width: 991px) {
      display: flex;
    }
  }

  .cont {
    padding: 200px 0 200px 40px;

    @media screen and (max-width: 1280px) {
      padding: 80px 32px;
    }

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

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

    .box {
      max-width: 1700px;
      margin: 0 0 0 auto;
    }

    .item {
      flex: 1;
      display: flex;
      justify-content: center;
      gap: 2%;
      position: relative;

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

      @media screen and (max-width: 560px) {
        flex-direction: column-reverse;
        gap: 24px;
      }

      .left {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 40%;

        .img {
          width: 100%;
          max-width: 320px;
          padding-left: 5%;
        }

        @media screen and (max-width: 991px) {
          position: absolute;
          bottom: -27px;
          right: 24px;
          width: 100%;
          max-width: 120px;
        }

        @media screen and (max-width: 560px) {
          bottom: -87px;
          right: 204px;
          width: 100%;
          max-width: 100px;
        }
      }

      .middle {
        flex: 1.2;
        padding: 10% 1% 10% 0;
        display: flex;
        flex-direction: column;
        gap: 30%;

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

        .ttl {
          font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
          font-weight: 600;
          text-align: center;
          line-height: 1.4;
        }

        .des {
          width: 100%;
          max-width: 95%;

          & p {
            line-height: 2;
          }
        }
      }

      .right {
        flex: 1.2;
        padding-left: 5%;

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

        .img {
          position: relative;
          z-index: 0;

          &::before {
            content: "";
            position: absolute;
            z-index: -1;
            top: 0;
            left: 0;
            width: 100%;
            height: 105%;
            background: linear-gradient(90deg, #fff, #d4af37, #f9e076, #d4af37);
          }
        }
      }
    }
  }
}

.service {
  background-image: url("../assets/img/home/service-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;

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

  .cont {
    padding: 0;

    .box {
      max-width: 100%;

      .item {
        display: flex;
        gap: 120px;

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

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

        .left {
          flex: 1.1;
          padding: 80px 0 80px 120px;
          display: flex;
          flex-direction: column;
          gap: 40px;

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

          @media screen and (max-width: 560px) {
            padding: 40px 16px 0;
            width: 100%;
            flex: unset;
          }

          .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%;
            }

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

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

            & p {
              line-height: 1.8;
            }
          }

          .under {
            display: flex;
            justify-content: flex-end;

            .img {
              width: 100%;
              max-width: 320px;

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

        .right {
          flex: 1;
          background-color: #ffba00;
          padding: 0 2%;
          overflow: hidden;
          position: relative;
          box-sizing: border-box;

          @media screen and (max-width: 560px) {
            height: 240px;
            width: 100%;
            flex: unset;
            padding: 24px 2%;
          }

          .item-list-wrap {
            position: absolute;
            inset: 0;
            cursor: grab;
            touch-action: none;
            user-select: none;
            will-change: transform;
            display: flex;
            flex-direction: column;
            gap: 16px;

            @media screen and (max-width: 560px) {
              flex-direction: row;
              width: max-content;
              top: 24px;
              bottom: 24px;
              left: 0;
              right: 0;
              height: auto;
            }
          }

          .item-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            width: 100%;
            max-width: 90%;
            margin: 0 auto;

            @media screen and (max-width: 560px) {
              flex-direction: row;
              width: max-content;
              max-width: none;
              height: 100%;
              margin: 0;
            }

            .item {
              @media screen and (max-width: 560px) {
                height: 100%;
                flex-shrink: 0;
              }
              .service-item {
                position: relative;
                display: block;

                @media screen and (max-width: 560px) {
                  height: 100%;
                  display: flex;
                }

                .img {
                  width: 100%;
                  overflow: hidden;
                  border-radius: 15px;
                  position: relative;

                  @media screen and (max-width: 560px) {
                    height: 100%;
                    width: auto;
                  }

                  &::after {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background-color: #000;
                    opacity: 0;
                    transition: opacity 0.3s ease;
                  }

                  & img {
                    width: 100%;
                    display: block;
                    object-fit: cover;
                    border-radius: 15px;
                    transition: transform 0.4s ease;

                    @media screen and (max-width: 560px) {
                      width: auto;
                      height: 100%;
                    }
                  }
                }

                .ttl {
                  position: absolute;
                  bottom: 16px;
                  left: 16px;
                  display: flex;
                  gap: 4px;
                  width: max-content;
                  align-items: center;
                  padding: 6px 16px;
                  border-radius: 50px;
                  background-color: #fff;
                  transition: background-color 0.3s ease;

                  & span {
                    content: "";
                    display: block;
                    width: 20px;
                    height: 20px;
                    border-radius: 50px;
                    background-color: #ffba00;
                    transition: background-color 0.3s ease;
                  }

                  & p {
                    font-family: "Noto sans jp";
                    font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
                  }
                }

                &:hover {
                  .img {
                    &::after {
                      opacity: 0.15;
                    }

                    & img {
                      transform: scale(1.08);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

.instagram {
  background-color: #ccc;
  z-index: 0;

  .cont {
    padding: 0;

    .box {
      max-width: 100%;

      .item {
        display: flex;
        flex-direction: column;
        gap: 32px;

        .main {
          display: flex;
          gap: 40px;

          .img {
            & img {
              border-radius: 5px;
            }
          }
        }
      }
    }
  }
}
