#page {
  /* background-color: var(--light_gray); */

  .container {
    width: 90%;
    margin-inline: auto;

    &.container_xl {
      max-width: var(--width-xl);
    }

    &.container_l {
      max-width: var(--width-lg);
    }

    &.container_m {
      max-width: var(--width-pc);
    }
  }

  .h2 {
    font-size: 4.6rem;
  }

  .h3 {
    font-size: 5.5svw;

    @media (500px <=width) {
      font-size: 3rem;
    }
  }

  .fs32 {
    font-size: 3.2rem;
  }

  .fs22 {
    font-size: 2rem;

    @media (500px <=width) {
      font-size: 2.2rem;
    }
  }

  .cta {
    background: var(--light_gray) url(../images/bg_navy_gray.webp);
    padding-block: 5% 10%;

    .container {
      /* background: linear-gradient(150deg, rgba(229, 229, 229, 1) 0%, rgba(255, 255, 255, 1) 100%); */
      /* border: #fff solid 2px; */
      /* border-radius: 10px; */
      padding: 5%;

      @media (768px <=width) {
        padding: 2em 5%;
      }

      .buttons {
        margin-block-end: 1.5em;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1em;

        @media (768px <=width) {
          grid-template-columns: repeat(2, 1fr);
        }

        .btn {
          text-align: center;
          background-repeat: no-repeat;
          background-position: calc(100% - 1.25em) 50%;
          background-size: 1.5em;
        }

        .btn_aqua {
          background-image: url(../images/icon_dl.webp);
        }

        .btn_yellow {
          background-image: url(../images/icon_mail.webp);
        }
      }

      .btn_tel {
        a {
          line-height: 0;
          display: block;
        }

        .tel_inner {
          line-height: 1;
          display: flex;
          justify-content: center;
          align-items: center;
          flex-wrap: wrap;
          gap: 1em;

          .eng {
            font-size: 10.5svw;
            background-image: url(../images/icon_freedial.webp);
            background-repeat: no-repeat;
            background-position: 0 calc(50% + 0.1em);
            background-size: auto 0.7em;
            padding-inline-start: 1.25em;
            margin-block-start: -0.15em;

            @media (649px <=width) {
              font-size: 4rem;
            }
          }

          span {
            &:nth-of-type(1) {
              font-size: 4svw;
              /* letter-spacing: 0.1em; */

              @media (649px <=width) {
                font-size: inherit;
              }
            }

            &:nth-of-type(3) {
              border-top: var(--gray) solid 1px;
              border-bottom: var(--gray) solid 1px;
              padding-block: 0.2em 0.3em;
              font-size: 3.6svw;

              @media (649px <=width) {
                font-size: inherit;
              }
            }
          }
        }
      }
    }
  }

  /* header --------------------------- */
  #header_scroll {
    width: 100%;
    height: min-content;
    padding-inline: 2.5%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 201;
    transform: translateY(50%);
    opacity: 0;
    visibility: hidden;
    transition: all 500ms ease;

    @media (768px >width) {
      justify-content: center;

      &>div {
        margin-inline: auto;
      }

      @media (500px >width) {
        .btn {
          font-size: 3svw;
        }
      }
    }

    @media (768px <=width) {
      top: 0;
      transform: translateY(-50%);
    }

    &.is_scrolled {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
  }

  .header {
    width: 95%;
    padding-block: 1em;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: start;

    .buttons {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1em;

      .btn {
        background-repeat: no-repeat;
        background-position: calc(100% - 1.25em) 50%;
        background-size: 1.5em;
        padding-inline-end: 3.5em;
        padding-block: 1em;
      }

      .btn_aqua {
        background-image: url(../images/icon_dl.webp);
      }

      .btn_yellow {
        background-image: url(../images/icon_mail.webp);
      }
    }
  }

  /* mv --------------------------- */
  #mv {
    min-height: 100svh;
    display: grid;

    .mv_inner {
      display: grid;
      position: relative;

      .pic_MV {
        width: 33%;
        /* height: calc(100% - (6% + 10em)); */
        max-width: var(--width-pc);
        text-align: right;
        position: absolute;
        right: 5%;
        bottom: 0;
        pointer-events: none;

        &.sm {
          img {
            height: auto;
          }
        }

        @media (768px <=width) {
          width: 90%;
          max-width: var(--width-xl);
          height: calc(100% - (12% + 10em));
          bottom: calc(6% + 5em);
          left: 50%;
          transform: translateX(-50%);

          &.tb {
            display: block !important;
          }
        }

        @media (1200px <=width) {
          /* height: calc(100% - 10em); */
          top: inherit;
          bottom: 2%;
        }

        @media (1440px <=width) {
          max-width: var(--width-xl);
          padding-inline-end: 3%;
        }

        img {
          width: auto;
          height: 100%;
        }
      }

      .bg_MV {
        background-image: url(../images/bg_MV.webp);
        background-repeat: no-repeat;
        background-position: 50% 0;
        background-size: auto 50%;
        display: grid;
        position: relative;

        @media (768px <=width) {
          background-size: cover;
        }

        .container {
          position: relative;
          z-index: 1;

          .title_wrap {
            font-feature-settings: "palt";
            padding-block: 8% 5%;

            .title {
              font-size: 4.7svw;
              letter-spacing: 0.1em;

              @media (768px <=width) {
                font-size: 5.5rem;
              }
            }

            img {
              max-width: 52%;
            }
          }
        }
      }

      .container {
        &:nth-of-type(2) {
          display: grid;
          align-items: center;
          position: relative;

          &::before {
            content: '';
            width: 100svw;
            height: 100%;
            background: var(--navy-02) url(../images/bg_navy_noise_02.webp);
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: -1;
          }

          .inquery_wrap {
            width: 100%;
            max-width: 660px;
            text-align: center;
            padding-block: 4% 5%;
            z-index: 1;

            @media (500px <=width) {
              text-align: left;
            }

            h1 {
              font-size: 2.8rem;
              font-weight: normal;
              letter-spacing: 0.1em;
              margin-block-end: 1em;

              @media (500px <=width) {
                margin-block-end: 1em;
              }

              .small {
                font-size: 80%;
              }
            }

            .buttons {
              display: grid;
              grid-template-columns: repeat(1, 1fr);
              gap: 1em;

              @media (550px <=width) {
                grid-template-columns: repeat(2, 1fr);
              }

              .btn {
                background-repeat: no-repeat;
                background-position: calc(100% - 1.25em) 50%;
                background-size: 1.5em;
              }

              .btn_aqua {
                background-image: url(../images/icon_dl.webp);
              }

              .btn_yellow {
                background-image: url(../images/icon_mail.webp);
              }
            }
          }
        }
      }
    }
  }


  /* content --------------------------- */
  #main {
    min-height: 50svh;

    #about {
      background: var(--navy-02) url(../images/bg_navy_noise.webp);
      padding-block: 5em;

      .about_wrap {
        /* @media (960px <=width) {
          min-height: 100svh;
          display: grid;
          justify-content: center;
          align-items: center;
        } */

        &:nth-of-type(1) {

          /* .about_inner {
            padding-block: 5em;
          } */

          .h2 {
            font-size: 2.24rem;
            font-weight: normal;
            letter-spacing: 0.1em;
            margin-block-start: -0.5em;

            @media (500px <=width) {
              font-size: 5.3svw;
            }

            @media (768px <=width) {
              font-size: 4.6rem;
            }

            .line {
              text-decoration: underline;
              text-decoration-thickness: 0.25em;
              text-decoration-color: rgba(0, 138, 225, 0.6);
              text-underline-offset: -0.1em;
              text-decoration-skip-ink: none;
            }
          }

          .container {
            line-height: 2;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6%;

            @media (960px <=width) {
              .text {
                width: 41%;
              }

              .picture {
                width: 53%;
              }
            }
          }
        }

        &:nth-of-type(2) {
          .about_inner {
            padding-block: 5% 0;

            .container {
              display: flex;
              flex-wrap: wrap;
              gap: 1em 2em;

              @media (768px <=width) {
                flex-wrap: nowrap;

                img {
                  width: calc(50% - 1em);
                }
              }
            }
          }
        }
      }
    }

    #features {
      background: var(--light_gray) url(../images/bg_navy_gray.webp);
      padding-block: 5em 5%;

      @media (960px <=width) {
        min-height: 100svh;
      }

      .container {
        .title {
          @media (960px <=width) {
            display: flex;
            align-items: center;

            .h2 {
              font-size: 3.5rem;
            }

            p {
              font-size: inherit;
              margin-block-end: 0;
            }
          }

          .h2 {
            letter-spacing: 0.3em;
          }
        }

        .features_inner,
        .gallery_wrap {
          position: relative;

          .eng {
            font-weight: bold;
            letter-spacing: 0.1em;
            text-transform: uppercase;
          }

          .aside {
            @media (960px >width) {
              margin-inline: -5.5%;
            }

            @media (960px <=width) {
              width: 18em;
              position: absolute;
              top: 0.5%;
              left: 0;
              z-index: 200;
            }

            .swiper {
              overflow: visible;
            }

            ul {
              display: grid;

              @media (960px >width) {
                border: var(--gray-02) solid 1px;
                margin-block-end: 2em;
                display: grid;
                grid-template-columns: repeat(2, 1fr);

                li {
                  &:nth-of-type(odd) {
                    border-right: var(--gray-02) solid 1px;
                  }

                  &:last-of-type {
                    border-bottom: none;
                  }

                  @media (502px >width) {
                    font-size: 2.8svw;
                  }
                }
              }

              li {
                border-bottom: var(--gray-02) solid 1px;
                padding: 1em;
                cursor: pointer;

                &.current,
                &.swiper-slide-thumb-active {
                  color: #fff;
                  background-color: var(--navy-02);

                  .navy {
                    color: #fff;
                  }

                  @media (960px <=width) {
                    &::before {
                      content: '';
                      width: 100%;
                      height: 100%;
                      background-image: url(../images/ico_triangle.png);
                      background-repeat: no-repeat;
                      background-position: 100% 50%;
                      position: absolute;
                      top: 0;
                      right: -2em;
                      z-index: -1;
                    }
                  }
                }

                a {
                  border-bottom: #fff solid 1px;
                  display: block;
                  position: relative;
                  z-index: 0;
                  pointer-events: none;
                }
              }
            }
          }

          .point_wrap {
            /* width: 65%;
            margin-inline-start: auto; */

            @media (960px >width) {
              width: 100%;
            }

            .point {
              background-color: #fff;
              border-radius: 10px;
              box-shadow: 0 0 2em -0.5em rgba(0, 0, 0, 0.1);
              padding: 1.75em 2em 1.75em;

              @media (960px <=width) {
                .large {
                  font-size: 192%;

                  small {
                    font-size: 84%;
                  }
                }

                .h3 {
                  font-size: 4.5rem;
                  font-feature-settings: "palt";
                }

                &:not(.current) {
                  /* opacity: 0; */
                }
              }

              .video {
                aspect-ratio: 32 / 17;

                video {
                  width: 100%;
                  height: 105%;
                  object-fit: contain;
                }
              }

              .button {
                text-align: center;

                .btn {
                  background-repeat: no-repeat;
                  background-position: calc(100% - 1.25em) 50%;
                  background-size: 1.5em;
                  padding-inline-end: 4em;
                }

                .btn_aqua {
                  background-image: url(../images/icon_dl.webp);
                }
              }
            }
          }
        }

        .features_inner {
          position: relative;
          display: none;

          @media (960px <=width) {
            width: calc(100% - 18em - 5%);
            margin-inline: auto 0;
            display: block;
          }
        }

        .gallery_wrap {
          display: inherit;

          @media (960px <=width) {
            display: block;
          }

          .gallery {
            margin-inline: -5.5%;
            position: relative;

            @media (960px <=width) {
              width: calc(100% - 18em - 5%);
              margin-inline: auto 0;
              display: none;
            }

            .swiper-slide {
              padding-inline: 5%;

              @media (960px <=width) {
                padding-inline: 1.5em;
              }
            }
          }

          .swiper-button-prev,
          .swiper-button-next {
            width: 3.5em;
            height: 3.5em;
            background-image: url(../images/btn_arrow.png);
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: contain;
            top: calc(50% - 1.75em);
            filter: drop-shadow(0 0 1em rgba(0, 0, 0, 0.1));

            @media (960px <=width) {
              display: none;
            }

            &::after {
              content: none;
            }
          }

          .swiper-button-prev {
            transform: rotate(-180deg);
          }
        }
      }
    }

    #space {
      background: var(--navy-02) url(../images/bg_navy_noise.webp);

      @media (960px <=width) {
        min-height: 100svh;
      }

      >.container {
        padding-block: 2em 5em;

        .title_wrap {
          font-feature-settings: "palt";

          @media (768px <=width) {
            width: 90%;
            margin-inline: auto;
          }

          .title_inner {
            /* display: flex;
            align-items: center; */

            .h2 {
              font-size: 7.5svw;
              white-space: nowrap;

              @media (1100px <=width) {
                font-size: 6.5rem;
              }

              .dots {
                background-image: radial-gradient(circle at center, #fff 14%, transparent 14%);
                background-position: top right;
                background-repeat: repeat-x;
                background-size: 1em 0.2em;
                /* padding-top: .05em; */
              }
            }

            p {
              font-size: 3.9svw;
              font-weight: normal;

              @media (768px <=width) {
                font-size: 2.2rem;
              }
            }
          }
        }

        .map {
          width: 111%;
          margin-inline: -5.5%;
          margin-block-end: -1em;

          @media (768px <=width) {
            width: inherit;
            margin-inline: inherit;
            margin-block-end: 0;
          }
        }

        .space_inner {
          padding: 1em;
          display: grid;
          grid-template-columns: repeat(1, 1fr);
          position: relative;
          z-index: 0;

          &::after {
            content: '';
            width: 100%;
            height: 100%;
            background-color: #fff;
            border-radius: 6px;
            box-shadow: 0 0 1em rgba(0, 0, 0, .1);
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
          }

          &::before {
            content: '';
            width: 100svw;
            height: calc(100% + 5em);
            background: var(--light_gray) url(../images/bg_navy_gray.webp);
            position: absolute;
            bottom: -5em;
            left: 50%;
            transform: translateX(-50%);
            z-index: -1;

            @media (768px <=width) {
              height: calc(50% + 5em);
            }
          }

          @media (768px <=width) {
            grid-template-columns: repeat(2, 1fr);
          }

          @media (960px <=width) {
            grid-template-columns: repeat(4, 1fr);
          }

          .text {
            padding: 1em;
            display: grid;
            position: relative;

            @media (960px <=width) {
              &:not(:nth-of-type(1)) {
                &::before {
                  content: '';
                  width: 1px;
                  height: calc(100% - 2em);
                  border-left: var(--navy-02) solid 1px;
                  position: absolute;
                  top: 50%;
                  left: 0;
                  transform: translateY(-50%);
                  opacity: .4;
                }
              }
            }

            img {
              max-height: 3.5em;
              margin-block-start: auto;
            }
          }
        }
      }
    }

    #example {
      min-height: 100svh;
      background: var(--light_gray) url(../images/bg_navy_gray.webp);
      padding-block: 5% 20%;
      display: grid;
      align-items: center;

      @media (768px <=width) {
        padding-block-end: 10%;
      }

      .title {
        letter-spacing: 0.1em;
        margin-block-start: -0.5em;
      }

      .container {
        display: grid;
        grid-template-columns: 100%;
        gap: 5%;

        @media (960px <=width) {
          grid-template-columns: 35% 60%;
        }

        .text {
          line-height: 1.8;

          .fs32 {
            @media (500px >width) {
              font-size: 2.2rem;
            }
          }

          .detail {
            background-color: rgba(0, 0, 0, 0.1);
            padding: 1.5em;

            .title {
              display: flex;
              justify-content: space-between;
              align-items: center;

              @media (500px <=width) {
                display: flex;
                justify-content: space-between;
              }

              .logo {
                width: 50%;
              }
            }
          }

          .buttons {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 1em;

            @media (768px <=width) {
              grid-template-columns: repeat(2, 1fr);
            }

            @media (960px <=width) {
              grid-template-columns: repeat(1, 1fr);
            }

            @media (1130px <=width) {
              grid-template-columns: repeat(2, 1fr);
            }

            .btn {
              background-repeat: no-repeat;
              background-position: calc(100% - 1.25em) 50%;
              background-size: 1.5em;
            }

            .btn_aqua {
              background-image: url(../images/icon_dl.webp);
              letter-spacing: -0.5px;
            }

            .btn_yellow {
              background-image: url(../images/icon_mail.webp);
            }
          }
        }
      }
    }

    #cases {
      background: var(--light_gray) url(../images/bg_navy_gray.webp);
      padding-block: 0 10%;

      /* @media (960px <=width) {
        min-height: 100svh;
        display: flex;
        align-items: center;
      } */

      .container {
        width: 100%;
        background: var(--navy-02) url(../images/bg_navy_noise.webp);
        padding-block: 1.5em 4em;

        .swiper_wrap {
          position: relative;

          .crousel {
            text-align: center;
            line-height: 0;

            @media (768px <=width) {
              margin-inline: 5%;
            }

            .swiper-slide {
              padding-inline: 1em;
            }
          }

          .swiper-button-prev,
          .swiper-button-next {
            width: 3.5em;
            height: 3.5em;
            background-image: url(../images/btn_arrow.png);
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: contain;
            filter: drop-shadow(0 0 1em rgba(0, 0, 0, 0.1));

            &::after {
              content: none;
            }
          }

          .swiper-button-prev {
            transform: rotate(-180deg);
          }
        }
      }
    }
  }


  /* contact --------------------------- */
  #contact {
    position: relative;
    z-index: 0;

    &::before {
      content: "";
      width: 100%;
      max-width: var(--width-lg);
      height: 100%;
      background-color: #fff;
      /* border-top: #fff solid 2px; */
      box-shadow: 0 0 2em rgba(0, 0, 0, 0.09);
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: -1;
    }

    .contact_wrap {
      /* max-width: 1424px; */
      /* margin-inline: auto; */
      position: relative;
      z-index: 0;

      &:nth-of-type(1) {
        .container {
          .title {
            color: var(--navy-02);
            font-size: 5.5svw;
            font-feature-settings: "palt";
            padding-inline-start: 5%;

            @media (768px <=width) {
              font-size: 5rem;
            }
          }
        }
      }

      &:nth-of-type(2) {
        .container {
          .contact_inner {
            width: 60%;
            padding-block: 1em;

            .logo {
              margin-block-end: 0.8%;
            }

            .buttons {
              margin-block-end: 1%;
              display: grid;
              grid-template-columns: repeat(1, 1fr);
              gap: 1em;

              @media (768px <=width) {
                grid-template-columns: repeat(2, 1fr);
              }

              .btn {
                background-repeat: no-repeat;
                background-position: calc(100% - 1.25em) 50%;
                background-size: 1.5em;
              }

              .btn_aqua {
                background-image: url(../images/icon_dl.webp);
              }

              .btn_yellow {
                background-image: url(../images/icon_mail.webp);
              }
            }

            .btn_tel {
              display: none;

              @media (768px <=width) {
                display: inherit;
              }

              small {
                font-size: 2.5svw;
                padding-block-end: 1%;
                display: inline-block;

                @media (768px <=width) {
                  font-size: 80%;
                }
              }

              a {
                img {
                  width: 74%;
                  display: none;

                  @media (768px <=width) {
                    width: inherit;
                  }
                }

                .tel_inner {
                  line-height: 1;
                  display: flex;
                  /* justify-content: center; */
                  align-items: center;
                  flex-wrap: wrap;
                  gap: 0.5em 1em;

                  .eng {
                    font-size: 5.7svw;
                    background-image: url(../images/icon_freedial.webp);
                    background-repeat: no-repeat;
                    background-position: 0 calc(50% + 0.1em);
                    background-size: auto 0.7em;
                    padding-inline-start: 1.25em;
                    margin-block-start: -0.15em;

                    @media (649px <=width) {
                      font-size: 3rem;
                    }

                    @media (1200px <=width) {
                      font-size: 3.4rem;
                    }
                  }

                  >span {
                    &:nth-of-type(2) {
                      border-top: var(--gray) solid 1px;
                      border-bottom: var(--gray) solid 1px;
                      padding-block: 0.2em 0.3em;
                      font-size: 3.6svw;

                      @media (649px <=width) {
                        font-size: inherit;
                        font-size: 85%;
                      }

                      span {
                        display: none;

                        @media (960px <=width) {
                          display: inline;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }

      .container {
        width: 95%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
      }
    }

    &+.cta {
      padding-block-end: 5%;
      display: block;

      @media (1100px <=width) {
        display: none;
      }
    }
  }
}

/* footer --------------------------- */
#footer {
  background-color: var(--navy-01);
  padding-block: 2em;

  .container {
    &:nth-of-type(1) {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
  }
}