/*==============================================================
auto-shin-calibur.css
==============================================================*/
.common-fv-re {
  .bg {
    position: relative;
    overflow: hidden;
    height: 90vh;
    padding: 8% 4% 150px;

    @media screen and (max-width: 1280px) {
      height: 80vh;
    }

    @media screen and (max-width: 991px) {
      height: 40vh;
    }

    @media screen and (max-width: 560px) {
      padding: 6% 4% 15px;
    }

    .bg-video {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: translate(-50%, -50%);
      z-index: 0;
    }

    .dot-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 0);
      background-size: 4px 4px;
      pointer-events: none;
      z-index: 1;
    }

    &::before {
      content: "";
      position: absolute;
      display: block;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      background: linear-gradient(0deg, #000 0%, #00000000 30%);
      z-index: 1;
    }

    .cp-txt {
      position: relative;
      z-index: 2;
      opacity: 0 !important;
    }

    .ttl-cont {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      gap: 7px;

      .ttl-en {
        font-family: "Noto serif jp", serif !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
      }

      .ttl-jp {
        background-color: #0745d6;
        padding: 4px 16px;
        max-width: max-content;
      }
    }
  }

  .fv-des {
    padding: 40px 40px 100px;
    background-color: #000;

    @media screen and (max-width: 991px) {
      padding: 0px 16px 40px;
    }

    @media screen and (max-width: 560px) {
      padding: 0px 16px 40px;
    }

    .des {
      width: 100%;
      max-width: 40%;
      text-align: left;
      margin: 0 0 0 auto;
      padding-right: 10%;

      @media screen and (max-width: 991px) {
        padding-right: 0;
        max-width: 79%;
      }

      @media screen and (max-width: 560px) {
        max-width: 100%;
      }
    }
  }
}

.reason {
  overflow: hidden;
}

.problem {
  background-color: #000;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #e6000088 0%, #00000000 60%);
    z-index: 0;
  }

  .cont {
    position: relative;
    z-index: 1;
    padding: 0 0 0 40px;

    @media screen and (max-width: 991px) {
      padding: 0;
    }

    @media screen and (max-width: 560px) {
      padding: 40px 0 0;
    }

    .box {
      margin: 0 0 0 auto;

      @media screen and (max-width: 560px) {
        margin: 0 auto;
      }

      .item {
        display: flex;
        gap: 120px;

        @media screen and (max-width: 1280px) {
          gap: 0px;
          align-items: flex-end;
        }

        @media screen and (max-width: 991px) {
          flex-direction: column-reverse;
          gap: 30px;
        }

        @media screen and (max-width: 560px) {
          flex-direction: column-reverse;
          gap: 30px;
        }

        .left {
          display: flex;
          flex-direction: column;
          gap: 64px;
          flex: 1;

          @media screen and (max-width: 991px) {
            padding: 0 32px;
            gap: 24px;
            flex-direction: row;
          }

          @media screen and (max-width: 560px) {
            gap: 24px;
            padding: 0 16px;
            flex-direction: column;
          }

          .ttl-cont {
            display: flex;
            flex-direction: column;
            gap: 8px;

            @media screen and (max-width: 560px) {
              max-width: 100%;
              align-items: center;
              scale: 1.15;
              transform: translateX(22px);
            }

            .ttl {
              display: flex;
              align-items: flex-end;
              gap: 4px;
              font-family: "Noto serif jp", serif;
              font-weight: 900;
              font-size: clamp(1.125rem, 0.625rem + 1.0417vw, 1.875rem);
              line-height: 1;

              & span {
                font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
                background-color: #ff0000;
                padding: 4px 16px;
              }

              @media screen and (max-width: 560px) {
                width: 100%;
              }
            }

            .ttl-02 {
              display: flex;
              align-items: flex-end;
              gap: 4px;
              font-family: "Noto serif jp", serif;
              font-weight: 900;
              font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);

              & span {
                font-size: clamp(2rem, 1rem + 2.0833vw, 3.5rem);
              }

              @media screen and (max-width: 560px) {
                width: 100%;
              }
            }

            .ttl-03 {
              line-height: 1;
              display: flex;
              align-items: flex-start;
              gap: 4px;

              & span {
                font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
                font-family: "Noto serif jp", serif;
                font-weight: 900;
                display: flex;
                align-items: flex-end;
                gap: 4px;

                & span {
                  font-size: clamp(3rem, 1.8333rem + 2.4306vw, 4.75rem);
                  color: #ff0000;
                }
              }

              @media screen and (max-width: 560px) {
                width: 100%;
              }
            }
          }

          .des {
            line-height: 2;
            width: 100%;
            max-width: 80%;

            @media screen and (max-width: 1280px) {
              max-width: 90%;
              padding-bottom: 40px;
            }

            @media screen and (max-width: 991px) {
              flex: 2;
            }

            @media screen and (max-width: 560px) {
              flex: unset;
              max-width: 100%;
            }
          }
        }

        .right {
          flex: 1.2;

          .img {
            & img {
              border-radius: 15px 0 0 0;

              @media screen and (max-width: 991px) {
                border-radius: 0;
              }
            }
          }
        }
      }
    }
  }
}

.intro {
  .cont {
    .box {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 48px;

      @media screen and (max-width: 991px) {
        gap: 24px;
      }

      @media screen and (max-width: 560px) {
        gap: 16px;
      }

      .ttl-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;

        .ttl {
          font-size: clamp(2.5rem, 0rem + 5.2083vw, 6.25rem);
          font-weight: 900;
          font-family: "Noto serif jp", serif;
        }

        .des {
          background-color: #000;
          width: max-content;
          padding: 0px 16px;
          font-size: clamp(1.125rem, 0.7083rem + 0.8681vw, 1.75rem);
          font-weight: 600;
        }
      }

      .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 48px;

        @media screen and (max-width: 991px) {
          gap: 24px;
        }

        @media screen and (max-width: 560px) {
          gap: 16px;
        }

        .left {
          .img {
            width: 100%;
            max-width: 75%;
            margin: 0 auto;
            background-color: #0745d6;
            border-radius: 20px;
            padding: 0 16px;

            & img {
              border-radius: 15px;

              @media screen and (max-width: 560px) {
                border-radius: 5px;
              }
            }

            @media screen and (max-width: 991px) {
              max-width: 100%;
            }

            @media screen and (max-width: 560px) {
              border-radius: 5px;
              padding: 0 8px;
            }
          }
        }

        .right {
          .des {
            text-align: center;

            @media screen and (max-width: 560px) {
              text-align: left;
            }

            .none {
              @media screen and (max-width: 560px) {
                display: none;
              }
            }
          }
        }
      }
    }
  }
}

.features {
  background-color: #474747;

  .cont {
    padding: 0 40px 80px;

    @media screen and (max-width: 991px) {
      padding: 0 32px 80px;
    }

    @media screen and (max-width: 560px) {
      padding: 0 16px 40px;
    }

    .box {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 1280px;
      gap: 80px;

      @media screen and (max-width: 991px) {
        gap: 40px;
      }

      @media screen and (max-width: 560px) {
        gap: 32px;
      }

      .ttl-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;

        .ttl {
          font-size: clamp(1.5rem, 0.5rem + 2.0833vw, 3rem);
          font-weight: 900;
          width: 100%;
          max-width: 600px;
          background: linear-gradient(90deg, #0135af, #0479ff);
          text-align: center;
          padding: 4px 16px;
          border-radius: 0 0 20px 20px;
        }

        .des {
          font-size: clamp(1.25rem, 1.0833rem + 0.3472vw, 1.5rem);
          font-weight: 900;
          font-family: "Noto serif jp", serif;
        }
      }

      .item-list {
        display: flex;
        flex-direction: column;
        gap: 64px;

        @media screen and (max-width: 991px) {
          gap: 32px;
        }

        .item {
          display: flex;
          gap: 64px;

          @media screen and (max-width: 991px) {
            gap: 32px;
          }

          @media screen and (max-width: 560px) {
            flex-direction: column-reverse;
            gap: 16px;
          }

          .left {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 16px;
            position: relative;

            @media screen and (max-width: 991px) {
              padding: 0px;
            }

            .ttl {
              padding: 0 1.5rem;
              position: relative;
              font-size: clamp(1.25rem, 0.9167rem + 0.6944vw, 1.75rem);
              font-weight: 600;

              @media screen and (max-width: 991px) {
                padding: 0 1rem;
              }

              @media screen and (max-width: 560px) {
                padding: 0 0.5rem;
              }

              &::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 13px;
                transform: translateY(-50%);
                width: 7px;
                height: 66%;
                background: linear-gradient(0deg, #0135af, #0479ff);

                @media screen and (max-width: 991px) {
                  top: 54%;
                  left: 8px;
                  width: 5px;
                  height: 73%;
                }

                @media screen and (max-width: 560px) {
                  left: 0px;
                }
              }
            }

            .des {
              padding: 0 1.5rem;

              @media screen and (max-width: 991px) {
                padding: 0 1rem;
              }

              @media screen and (max-width: 560px) {
                padding: 0;
              }
            }

            .bg-txt {
              position: absolute;
              bottom: 0;
              right: 0;
              font-size: clamp(5rem, -1.6667rem + 13.8889vw, 15rem);
              font-weight: 900;
              font-family: "Noto serif jp", serif;
              line-height: 1;
              opacity: 0.1;
              color: #fff;

              @media screen and (max-width: 560px) {
                bottom: -50px;
              }
            }
          }

          .right {
            flex: 1;

            .img {
              & img {
                border-radius: 10px;

                @media screen and (max-width: 560px) {
                  border-radius: 3px;
                }
              }
            }
          }
        }
      }
    }
  }
}

.dec {
  padding: 8px 0;
  background-color: #000;
}

.drawn {
  background-color: #000;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffb3005b 0%, #00000000 60%);
    z-index: 0;

    @media screen and (max-width: 991px) {
      background: linear-gradient(180deg, #ffb3005b 0%, #00000000 100%);
    }
  }

  .cont {
    position: relative;
    z-index: 1;
    padding: 80px 40px 80px 0;

    @media screen and (max-width: 1280px) {
      padding: 80px 40px 0px 0;
    }

    @media screen and (max-width: 991px) {
      padding: 80px 0 0px 0;
    }

    @media screen and (max-width: 560px) {
      padding: 40px 0 0px 0;
    }

    .box {
      margin: 0 auto 0 0;

      .item {
        display: flex;
        align-items: center;
        gap: 120px;

        @media screen and (max-width: 1280px) {
          gap: 20px;
        }

        @media screen and (max-width: 991px) {
          gap: 0px;
          flex-direction: column;
        }

        .left {
          flex: 1.8;
          display: flex;
          flex-direction: column;
          gap: 64px;

          @media screen and (max-width: 991px) {
            gap: 24px;
          }

          .ttl-cont {
            display: flex;
            gap: 24px;

            .line {
              flex: 1;
              margin: 3% 0;
            }

            .ttl-item {
              flex: 2;
              display: flex;
              flex-direction: column;
              gap: 24px;

              .ttl {
                font-size: clamp(2rem, 0.8333rem + 2.4306vw, 3.75rem);
                font-weight: 900;
                font-family: "Noto serif jp", serif;
                line-height: 1;
              }

              .drawn-txt {
                display: flex;
                align-items: center;
                gap: 4px;
                padding-left: 32%;

                .cross {
                  & img {
                    width: 100%;
                    max-width: 80%;
                    margin: 4px auto 0;
                  }
                }

                .des {
                  font-size: clamp(2rem, 0.8333rem + 2.4306vw, 3.75rem);
                  font-weight: 600;
                  line-height: 1;
                  background-color: #ff0000;
                  display: flex;
                  padding: 4px 16px;
                }
              }
            }

            &.none {
              @media screen and (max-width: 991px) {
                display: none !important;
              }
            }
          }

          .img {
            background-color: #ff9900;
            padding-top: 8px;
            border-radius: 0 20px 20px 0;
            position: relative;

            @media screen and (max-width: 991px) {
              border-radius: 0;
            }

            &::before {
              content: "";
              position: absolute;
              display: block;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              width: 100%;
              height: 100%;
              background: linear-gradient(0deg, #000 0%, #00000000 60%);
              z-index: 0;

              @media screen and (max-width: 991px) {
                background: linear-gradient(0deg, #352500 0%, #00000000 60%);
              }
            }

            & img {
              border-radius: 0 20px 20px 0;

              @media screen and (max-width: 991px) {
                border-radius: 0;
              }
            }

            .img-txt {
              position: absolute;
              bottom: 16px;
              right: 16px;
              display: flex;
              gap: 16px;
              align-items: center;
              z-index: 1;

              @media screen and (max-width: 991px) {
                bottom: 66px;
              }

              @media screen and (max-width: 560px) {
                bottom: 8px;
                left: 9px;
              }

              .txt {
                font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
                font-weight: 900;
                font-family: "Noto serif jp", serif;
                display: block;
                flex: 0 0 auto;
              }

              .line {
                width: 80px;
              }
            }
          }
        }

        .right {
          flex: 1;
          display: flex;
          flex-direction: column;
          gap: 24px;

          &.none {
            @media screen and (max-width: 991px) {
              display: none !important;
            }
          }

          .ttl {
            font-size: clamp(2rem, 0.8333rem + 2.4306vw, 3.75rem);
            font-weight: 900;
            font-family: "Noto serif jp", serif;
            text-align: right;

            & span {
              font-size: clamp(1.5rem, 0.5rem + 2.0833vw, 3rem);
            }
          }

          .des {
            padding-left: 2rem;
            line-height: 1.6;
          }
        }

        .sp-none {
          display: none;

          @media screen and (max-width: 991px) {
            display: flex;
          }

          .right {
            gap: 24px;
            padding: 0 32px;
            width: 100%;
            max-width: 80%;
            margin: 0 auto;

            @media screen and (max-width: 560px) {
              padding: 24px 16px 40px;
              max-width: 100%;
            }
          }

          .flex {
            flex-direction: column;

            @media screen and (max-width: 560px) {
              gap: 8px;
            }
          }

          .ttl-cont {
            display: flex;
            gap: 24px;
            flex: 1.5;

            .line {
              display: none;
            }

            .ttl-item {
              flex: 3;
              display: flex;
              flex-direction: column;
              gap: 9px;

              .ttl {
                font-size: clamp(2rem, 0.8333rem + 2.4306vw, 3.75rem);
                font-weight: 900;
                font-family: "Noto serif jp", serif;
                line-height: 1;
                text-align: left;
              }

              .drawn-txt {
                display: flex;
                align-items: center;
                gap: 4px;
                padding-left: 7rem;

                @media screen and (max-width: 560px) {
                  padding-left: 0rem;
                }

                .cross {
                  & img {
                    width: 100%;
                    max-width: 60%;
                    margin: 4px auto 0;
                  }
                }

                .des {
                  font-size: clamp(2rem, 0.8333rem + 2.4306vw, 3.75rem);
                  font-weight: 600;
                  line-height: 1;
                  background-color: #ff0000;
                  display: flex;
                  padding: 4px;
                }
              }
            }
          }
          .des {
            padding: 0;
          }
        }
      }
    }
  }

  .cont-02 {
    padding: 80px 40px;
    position: relative;
    z-index: 1;

    @media screen and (max-width: 560px) {
      padding: 40px 16px;
    }

    .box {
      max-width: 1280px;

      .item {
        display: flex;
        gap: 80px;

        @media screen and (max-width: 991px) {
          gap: 32px;
        }

        @media screen and (max-width: 560px) {
          gap: 16px;
          flex-direction: column-reverse;
        }

        .left {
          flex: 1;
          padding-top: 2rem;
          display: flex;
          flex-direction: column;
          gap: 4px;

          @media screen and (max-width: 560px) {
            padding-top: 0rem;
          }

          .ttl {
            padding-left: 1.5rem;
            font-size: clamp(1.25rem, 0.75rem + 1.0417vw, 2rem);
            font-weight: 600;

            @media screen and (max-width: 560px) {
              padding-left: 0.5rem;
            }
          }

          .des {
            padding-left: 1.5rem;

            @media screen and (max-width: 560px) {
              padding-left: 0.5rem;
            }
          }
        }

        .right {
          flex: 1;

          .img {
            & img {
              border-radius: 15px;
            }
          }
        }
      }
    }
  }
}

.deep {
  background-color: #000;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #05004d 0%, #00000000 60%);
    z-index: 0;
  }

  .cont {
    padding: 80px 0;
    position: relative;
    z-index: 1;

    @media screen and (max-width: 560px) {
      padding: 80px 0 40px;
    }

    .box {
      width: 100%;
      max-width: 100%;

      .item {
        display: flex;
        gap: 100px;

        @media screen and (max-width: 1280px) {
          gap: 24px;
          align-items: flex-end;
        }

        @media screen and (max-width: 991px) {
          flex-direction: column-reverse;
        }

        .left {
          flex: 1;

          .ttl-cont {
            display: flex;
            gap: 30px;

            .line {
              flex: 1;
              margin: 22px 0px;

              @media screen and (max-width: 991px) {
                display: none;
              }
            }

            .ttl-box {
              flex: 2.5;
              display: flex;
              flex-direction: column;
              gap: 64px;

              @media screen and (max-width: 1280px) {
                flex: 3.5;
                gap: 24px;
              }

              @media screen and (max-width: 991px) {
                padding: 0 32px;
                width: 100%;
                max-width: 80%;
                margin: 0 auto;
              }

              @media screen and (max-width: 560px) {
                max-width: 100%;
                padding: 0 16px;
              }

              .ttl-item {
                display: flex;
                flex-direction: column;
                gap: 12px;
                width: 100%;
                max-width: 70%;

                @media screen and (max-width: 1280px) {
                  max-width: 81%;
                }

                @media screen and (max-width: 991px) {
                  max-width: 100%;
                  flex-direction: row;
                  align-items: flex-end;
                  gap: 1px;
                }

                @media screen and (max-width: 560px) {
                  flex-direction: column;
                  align-items: flex-start;
                  gap: 8px;
                }

                .ttl {
                  font-weight: 900;
                  font-family: "Noto serif jp", serif;
                  line-height: 1;
                  font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
                  display: flex;
                  align-items: end;
                  gap: 4px;

                  & span {
                    font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
                    background-color: #0135af;
                    padding: 4px 16px;

                    @media screen and (max-width: 991px) {
                      padding: 4px;
                    }
                  }
                }

                .ttl-02 {
                  font-size: clamp(5rem, 3.3333rem + 3.4722vw, 7.5rem);
                  font-weight: 900;
                  font-family: "Noto serif jp", serif;
                  line-height: 1;
                }

                .ttl-03 {
                  font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
                  font-weight: 900;
                  font-family: "Noto serif jp", serif;
                  line-height: 1;
                  text-align: right;
                }
              }

              .des {
                line-height: 1.6;

                .none {
                  @media screen and (max-width: 560px) {
                    display: none;
                  }
                }
              }
            }
          }
        }

        .right {
          flex: 1.4;
          background-color: #0135af;
          padding-top: 8px;
          border-radius: 20px 0 0 20px;
          position: relative;

          @media screen and (max-width: 991px) {
            border-radius: 0;
          }

          &::before {
            content: "";
            position: absolute;
            display: block;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            background: linear-gradient(0deg, #000 0%, #00000000 60%);
            z-index: 0;
            border-radius: 15px 0 0 15px;

            @media screen and (max-width: 991px) {
              border-radius: 0;
            }
          }

          & img {
            border-radius: 15px 0 0 15px;

            @media screen and (max-width: 991px) {
              border-radius: 0;
            }
          }
        }
      }
    }
  }

  .cont-02 {
    position: relative;
    z-index: 1;
    padding: 0 40px 80px;

    @media screen and (max-width: 560px) {
      padding: 0 16px 40px;
    }

    .box {
      max-width: 1280px;

      .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        width: 100%;

        @media screen and (max-width: 560px) {
          gap: 24px;
        }

        .ttl-cont {
          .ttl {
            font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
            font-weight: 900;
            font-family: "Noto serif jp", serif;
            position: relative;

            @media screen and (max-width: 560px) {
              text-align: center;
              font-size: 18px;
            }

            &::before {
              content: "";
              position: absolute;
              bottom: -8px;
              left: 50%;
              transform: translateX(-50%);
              background-color: #fff;
              width: 100%;
              max-width: 120px;
              height: 1px;

              @media screen and (max-width: 560px) {
                bottom: -4px;
                background-color: #ffffff54;
                max-width: 260px;
              }
            }
          }
        }

        .content {
          display: flex;
          width: 100%;
          align-items: stretch;

          @media screen and (max-width: 560px) {
            flex-direction: column;
          }

          .left,
          .right {
            flex: 1;
            border: 1px solid #fff;
            display: flex;
            flex-direction: column;

            .title {
              border-bottom: 1px solid #fff;
              padding: 12px;

              .ttl-txt {
                font-weight: 600;
                text-align: center;
              }
            }

            .description {
              flex: 1;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              gap: 24px;
              padding: 24px;

              @media screen and (max-width: 560px) {
                gap: 8px;
                padding: 16px;
              }

              .txt {
                font-weight: 600;
              }

              .img {
                @media screen and (max-width: 560px) {
                  width: 100%;
                  max-width: 6%;
                }
              }
            }
          }

          .left {
            .title {
              background-color: #313131d5;
            }

            .description {
              background-color: #9c9b9b86;
            }
          }
          .right {
            .title {
              background-color: #0135af;
            }
            .description {
              background-color: #ffffffc5;

              .txt {
                &.color {
                  background-color: #ff9900;
                  padding: 4px 16px;
                }
              }
            }
          }
        }
        .under-content {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 24px;

          .ttl {
            font-size: clamp(1.125rem, 0.875rem + 0.5208vw, 1.5rem);
            font-weight: 900;
            font-family: "Noto serif jp", serif;
            display: flex;
            align-items: center;
            gap: 16px;

            & span {
              content: "";
              display: block;
              width: 80px;
              height: 1px;
              background-color: #ffffff88;

              @media screen and (max-width: 560px) {
                width: 20px;
              }
            }
          }

          .content {
            display: flex;
            gap: 24px;
            width: 100%;
            max-width: 80%;
            margin: 0 auto;

            @media screen and (max-width: 991px) {
              max-width: 100%;
            }

            .content-item {
              border: 1px solid #fff;
              background-color: #ffffff50;
              padding: 16px;
              border-radius: 10px;
              display: flex;
              flex-direction: column;
              gap: 8px;
              align-items: center;
              flex: 1;

              @media screen and (max-width: 991px) {
                padding: 8px;
              }
            }
          }
        }
      }
    }
  }
}

.gallery {
  .cont {
    .box {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;

      .ttl-cont {
        display: flex;
        flex-direction: column;
        align-items: center;

        .en {
          font-size: clamp(1.5rem, 0.5rem + 2.0833vw, 3rem);
          font-weight: 900;
          font-family: Arial, Helvetica, sans-serif;
          line-height: 1;
        }

        .jp {
          font-family: "Noto serif jp", serif;
          font-weight: 600;
        }
      }
      .item-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        width: 100%;
        max-width: 90%;

        @media screen and (max-width: 991px) {
          max-width: 100%;
          gap: 16px;
          grid-template-columns: repeat(2, 1fr);
        }

        @media screen and (max-width: 560px) {
          grid-template-columns: repeat(1, 1fr);
        }

        .item {
          display: flex;
          flex-direction: column;
          gap: 8px;
          position: relative;

          .video-wrap {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            border-radius: 8px;
            background: #000;

            &::before {
              content: "";
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: rgba(0, 0, 0, 0.3);
              z-index: 1;
            }

            .movie {
              width: 100%;
              height: 100%;
              object-fit: cover;
              display: block;
            }

            .play-btn {
              position: absolute;
              top: 40%;
              left: 50%;
              transform: translate(-50%, -50%);
              width: 60px;
              height: 60px;
              border-radius: 50%;
              background: rgba(0, 0, 0, 0.6);
              border: none;
              cursor: pointer;
              display: flex;
              align-items: center;
              justify-content: center;
              z-index: 2;

              .play-icon {
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 10px 0 10px 16px;
                border-color: transparent transparent transparent #fff;
                margin-left: 4px;
              }
            }
          }

          .movie-ttl {
            font-weight: 600;
            text-align: center;
            position: absolute;
            padding: 4px 16px;
            width: 100%;
            max-width: 95%;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 8px;
            color: #fff;
            z-index: 1;
          }
        }
      }
    }
  }
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;

  &.active {
    display: flex;

    .video-modal-overlay {
      animation: fadeIn 0.3s ease forwards;
    }

    .video-modal-inner {
      animation: modalPop 0.3s ease forwards;
    }
  }

  &.closing {
    display: flex;

    .video-modal-overlay {
      animation: fadeOut 0.3s ease forwards;
    }

    .video-modal-inner {
      animation: modalPopOut 0.3s ease forwards;
    }
  }

  .video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
  }

  .video-modal-inner {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
    opacity: 0;
    transform: scale(0.9);
  }

  .video-modal-player {
    width: 100%;
    display: block;
  }

  .video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes modalPopOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}
