$design-sp: 750;
@function vw-sp($size, $base: null) {
  @if $base == null {
    $base: $design-sp;
  }
  @if $size != 0 {
    //$vw: ($size * 100 / $base);
    $vw: calc($size * 100 / $base);
    $vw: calc(floor($vw * 1000) / 1000);
    @return $vw  + vw;
  }
  @return 0;
}

.helix-page {
  p,div,dt,dd,span {
    font-feature-settings: "palt";
  }

  //.product-mv-block {
  //  height: 820px;
  //  @media only screen and (max-width: 767px) {
  //    height: 575px;
  //  }
  //  .product-mv {
  //    .sub {
  //      font-size: 18px;
  //      vertical-align: middle;
  //      border-radius: 3px;
  //      padding: 6px 10px;
  //      display: inline-block;
  //      border: 1px solid #343434;
  //      @media only screen and (max-width: 767px) {
  //        font-size: 1.8rem;
  //        padding: 4px 6px;
  //        margin-left: 4px;
  //      }
  //    }
  //    p {
  //      padding-top: 24px;
  //      line-height: 1.6111284776;
  //      letter-spacing: 0.05em;
  //      @media only screen and (max-width: 767px) {
  //        padding-top: 7px;
  //        padding-bottom: 5px;
  //      }
  //
  //    }
  //  }
  //}

  .product-mv-block {
    height: 820px;
    background-image: url("/assets/images/helix/mv.jpg");
    @media only screen and (min-width: 1415px) {
      background-image: url("/assets/images/helix/mv_wide.jpg");
    }
    @media only screen and (max-width: 767px) {
      background-image: url("/assets/images/helix/mv-sp.jpg");
      margin-top: 100px;
      height: vw-sp(1312);
      align-items: flex-start;
    }
    .product-mv {
      @media only screen and (max-width: 767px) {
        display: flex;
        flex-direction: column;
        //justify-content: center;
        //align-items: center;
        height: 100%;
        gap: 15vw;
      }
      .logo {
      }
      .title-box {
        color: #FFF;
        @media only screen and (max-width: 767px) {
          margin-top: vw-sp(330);
        }
        .helix-heading {
          font-size: 28px;
          letter-spacing: 0.05em;
          @media only screen and (max-width: 767px) {
            font-size: 3.3rem;
            @include text-tracking(180);
          }
        }
        .helix-logo {
          max-width: 231px;
          margin: 30px 0 20px;
          @media only screen and (max-width: 767px) {
            max-width: vw-sp(289);
            margin: vw-sp(38) auto vw-sp(25);
          }
        }
        .helix-text {
          font-size: 20px;
          @media only screen and (max-width: 767px) {
            font-size: 2.4rem;
            @include text-tracking(100);
          }
        }
      }
      p {
        color: #FFF;
        padding-top: 44px;
        line-height: 1.6111284776;
        letter-spacing: 0.05em;
        @media only screen and (max-width: 767px) {
          padding-top: 7px;
          padding-bottom: 5px;
          font-size: 3.6rem;
          @include text-tracking(50);
        }
      }

    }
  }

  .intro-block {
    background-color: #000000;
    color: #FFF;
    padding-top: 65px;
    padding-bottom: 105px;
    @media only screen and (max-width: 767px) {
      padding-top: 21.5vw;
      padding-bottom: 20vw;
    }
    .inner {
      max-width: 1100px;
      display: flex;
      flex-direction: column;
      gap: 160px;
      @media only screen and (max-width: 767px) {
        gap: 12.5vw;
      }
      .intro-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0 0;
        grid-template-areas:
    "title title"
    "body img";
        @media only screen and (max-width: 767px) {
          display: block;
        }
        .image {
          grid-area: img;
          position: relative;
          @media only screen and (max-width: 767px) {
            max-width: vw-sp(507);
            margin: auto;
          }
          img {
            position: absolute;
            left: 70px;
            @media only screen and (max-width: 767px) {
              position: relative;
              left: initial;
            }
          }
        }
        .title {
          grid-area: title;
          font-size: 32px;
          @include text-tracking(150);
          @include text-line-height(32,66.75);
          margin-bottom: 20px;
          @media only screen and (max-width: 767px) {
            font-size: 4rem;
            @include text-line-height(40,80);
            padding-top: 7vw;
            text-align: center;
            margin-bottom: 7vw;
          }
        }
        .body {
          grid-area: body;
          p {
            font-size: 20px;
            @include text-tracking(90);
            @include text-line-height(20,39.38);
            @media only screen and (max-width: 767px) {
              font-size: 2.6rem;
              @include text-line-height(26,47);
              text-align: center;
            }
            + p {
              margin-top: 40px;
              @media only screen and (max-width: 767px) {
                margin-top: 7vw;
              }
            }
          }
          .logo {
            width: 100%;
            max-width: 241px;
            margin-top: 50px;
            margin-bottom: 20px;
            @media only screen and (max-width: 767px) {
              max-width: vw-sp(290);
              margin: 9vw auto 4vw;
            }
            .ja {
              margin-top: 20px;
              display: block;
              font-size: 20px;
              @media only screen and (max-width: 767px) {
                text-align: center;
                font-size: 2.4rem;
                margin-top: 3.5vw;
              }
            }
          }
          .catch {
            font-size: 28px;
            @media only screen and (max-width: 767px) {
              font-size: 3.35rem;
            }
          }
        }
      }
    }
  }

  .scene-block {
    background-color: #28211e;
    padding-top: 110px;
    padding-bottom: 65px;
    @media only screen and (max-width: 767px) {
      padding-top: 19vw;
    }
    .scene {
      @media only screen and (max-width: 767px) {
        padding: 0 4%;
      }
      .title {
        text-align: center;
        font-size: 32px;
        @include text-tracking(150);
        color: #FFF;
        @media only screen and (max-width: 767px) {
          font-size: 3.84rem;
        }
      }
      .list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        margin-top: 100px;
        @media only screen and (max-width: 767px) {
          display: flex;
          flex-direction: column;
          gap: 7vw;
          margin-top: 10vw;
        }
        .item {
        }
      }
    }
  }

  .features-introduce-block {
    padding-top: 0;
    @media only screen and (max-width: 767px) {
      padding-bottom: 0;
    }
    .full-width-image-block {
      .features-image-block {
        @media only screen and (max-width: 767px) {
          padding: 108vw 0 15vw 0;
        }
        .inner {
          .features-image {
            max-width: 520px;
            margin-right: 48%;
            @media only screen and (max-width: 767px) {
              max-width: 100%;
              margin-right: 0;
            }
            .features-merit {
            }
            h3 {
              @media only screen and (max-width: 767px) {
                padding: 0 0 20px 0;
              }
            }
            p {
              span {
                font-size: 14px;
                @media only screen and (max-width: 767px) {
                  font-size: 1.6rem;
                }

                &.attention {
                  font-size: 14px;
                  position: relative;
                  display: block;
                  padding-top: 0;
                  @include text-line-height(14,28);
                  padding-left: 1em;
                  text-indent: -1em;
                  @media only screen and (max-width: 767px) {
                    font-size: 2rem;
                  }
                  &:nth-of-type(1){
                    padding-top: 7px;
                  }
                }


              }
            }
          }
        }
      }

      .features-image-block01 {
        background-image: url("/assets/images/helix/selling01-bg01.jpg");
        @media only screen and (max-width: 767px) {
          background-image: url("/assets/images/helix/selling01-bg01-sp.jpg");
        }
        .image-socket {
          margin-top: 30px;
        }
      }

      .features-image-block02 {
        background-image: url("/assets/images/helix/selling01-bg02.jpg");
        @media only screen and (max-width: 767px) {
          background-image: url("/assets/images/helix/selling01-bg02-sp.jpg");
        }
      }

      .features-image-block03 {
        background-image: url("/assets/images/helix/selling01-bg03.jpg");
        @media only screen and (max-width: 767px) {
          background-image: url("/assets/images/helix/selling01-bg03-sp.jpg");
        }
      }

      .features-image-block04 {
        background-image: url("/assets/images/helix/selling01-bg04.jpg");
        @media only screen and (max-width: 767px) {
          background-image: url("/assets/images/helix/selling01-bg04-sp.jpg");
        }
      }

      .features-image-block05 {
        background-image: url("/assets/images/helix/kamome-bg.jpg");
        @media only screen and (max-width: 767px) {
          padding: 84vw 0 15vw 0;
          background-image: url("/assets/images/helix/kamome-bg-sp.jpg");
        }
      }

    }
  }

  .remote-controll-block {
    background-color: #f6f5f4;
    padding-top: 140px;
    padding-bottom: 140px;
    @media only screen and (max-width: 767px) {
      padding-top: 18vw;
      padding-bottom: 15vw;
    }
    .inner {
      .remote-controll {
        display: flex;
        align-items: center;
        gap: 70px;
        @media only screen and (max-width: 767px) {
          align-items: flex-start;
          gap: 7vw;
        }
        .image {
          width: 158px;
          @media only screen and (max-width: 767px) {
            width: vw-sp(158);
            margin-top: 2vw;
          }
        }
        .text {
          flex: 1;
          .title-box {
            .title {
              font-size: 40px;
              @include text-tracking(50);
              @include text-line-height(40,60);
              border-bottom: 1px solid #0a0608;
              padding-bottom: 30px;
              margin-bottom: 15px;
              @media only screen and (max-width: 767px) {
                font-size: 4.6rem;
                @include text-line-height(46,74);
                padding-bottom: 4vw;
                margin-bottom: 4vw;
              }
            }
          }
          p {
            font-size: 18px;
            @include text-line-height(18,38);
            @media only screen and (max-width: 767px) {
              font-size: 2.6rem;
              @include text-line-height(26,52);
            }
          }
          .important {
            color: #e30012;
            font-size: 24px;
            padding-top: 35px;
            @media only screen and (max-width: 767px) {
              font-size: 3.6rem;
              @include text-line-height(36,57);
              padding-top: 4.7vw;
              padding-bottom: 4.7vw;
            }
          }
          .attention {
            font-size: 14px;
            @include text-line-height(14,28);
            padding-top: 10px;
            @media only screen and (max-width: 767px) {
              font-size: 2rem;
              padding-left: 1em;
              text-indent: -1em;
            }
          }
        }
      }
    }
  }

  .heading-introduce-block {
    padding-top: 38px;
    padding-bottom: 125px;
    @media only screen and (max-width: 767px) {
      padding-top: 17vw;
      padding-bottom: 18.5vw;
    }
    .inner {
      .heading-introduce {
        .headline {
          padding-top: 67px;
          padding-bottom: 29px;
          @media only screen and (max-width: 767px) {
            padding-top: 0;
            padding-bottom: 4vw;
          }
          h2 {
            @media only screen and (max-width: 767px) {
              font-size: 4rem;
              @include text-tracking(50)
            }
          }
        }
        p {
          @media only screen and (max-width: 767px) {
            font-size: 3rem;
            @include text-line-height(30,56);
            @include text-tracking(50);
            text-align: center;
          }
        }
        .features-image {
          padding-top: 5px;
          padding-bottom: 40px;
          @media only screen and (max-width: 767px) {
            padding-top: 2vw;
            padding-bottom: 6vw;
          }
        }
        .explain {
          display: grid;
          grid-template-columns: 1fr 1fr 1fr;
          gap: 20px;
          @media only screen and (max-width: 767px) {
            display: flex;
            flex-direction: column;
            gap: 5vw;
          }
          .item {
            text-align: justify;
            border-left: 4px solid #b27353;
            padding: 2vw 2vw 0;
            .title {
              color: #b27353;
              font-size: 22px;
              @include text-tracking(30);
              @media only screen and (max-width: 767px) {
                font-size: 3.3rem;
              }
            }
            .lead {
              font-size: 18px;
              @include text-line-height(18,32);
              margin: 0;
              margin-top: 10px;
              @media only screen and (max-width: 767px) {
                font-size: 2.6rem;
                text-align: justify;
              }
            }
          }
        }
      }
    }
  }


  .lineup-block {
    @media only screen and (max-width: 767px) {
      padding-top: 11vw;
      padding-bottom: 7vw;
    }
    .lineup {
      ul {
        li {
          margin: 0 15px;
          @media only screen and (max-width: 767px) {
            margin: 0;
            margin-bottom: 23px;
          }
        }
      }
    }
  }

  .how-to-setup-block {
    padding-top: 113px;
    padding-bottom: 105px;
    @media only screen and (max-width: 767px) {
      padding-top: 17vw;
      padding-bottom: 24vw;
    }
    .inner {
      .headline-block {
        h2 {
          color: #bc8858;
          @include text-tracking(100);
        }
      }
      .movie-block {
        padding-top: 40px;
       @media only screen and (max-width: 767px) {
        padding-top: 7vw;
       }
        .movie {
        }
      }
      .maintenance-box {
        margin-top: 95px;
        @media only screen and (max-width: 767px) {
          margin-top: 16.5vw;
        }
        .maintenance {
          .wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 45px;
            @media only screen and (max-width: 767px) {
              flex-direction: column;
              gap: 4vw;
            }
            .image {
              width: 100%;
              max-width: 600px;
            }
            .text {
              flex: 1;
              .title {
                color: #bc8858;
                font-size: 40px;
                @include text-tracking(100);
                @include text-line-height(40,60);
                @media only screen and (max-width: 767px) {
                  font-size: 4.6rem;
                }
              }
              .lead {
                font-size: 20px;
                @include text-line-height(20,34);
                margin-bottom: 20px;
                @media only screen and (max-width: 767px) {
                  font-size: 2.8rem;
                  @include text-line-height(28,54);
                  margin-bottom: 2vw;
                }
              }
              dl {
                margin-top: 10px;
                dt {
                  font-size: 24px;
                  @include text-tracking(100);
                  @include text-line-height(24,48);
                  @media only screen and (max-width: 767px) {
                    font-size: 3.6rem;
                  }
                }
                dd {
                  font-size: 18px;
                  @include text-line-height(18,32);
                  @media only screen and (max-width: 767px) {
                    font-size: 2.6rem;
                  }
                }
              }
            }
          }
          .attention {
            font-size: 14px;
            @include text-line-height(14,28);
            margin-top: 15px;
            @media only screen and (max-width: 767px) {
              font-size: 2rem;
              @include text-line-height(20,36);
            }
          }
        }
      }
    }
  }

  .prodcut-introduce-block {
    background-color: #000000;
    text-align: center;
    color: #FFF;
    padding-top: 140px;
    padding-bottom: 130px;
    @media only screen and (max-width: 767px) {
      padding-top: 26vw;
      padding-bottom: 25vw;
    }
    .inner {
      width: 100%;
      max-width: 620px;
      margin: auto;
      @media only screen and (max-width: 767px) {
        max-width: 86%;
      }
      .image {
        width: 100%;
        max-width: 236px;
        margin: auto;
        @media only screen and (max-width: 767px) {
          max-width: vw-sp(534);
        }
      }
      .title-box {
        margin-top: 43px;
        .logo {
          width: 100%;
          max-width: 328px;
          margin: auto;
        }
        .title {
          margin-top: 18px;
          h3 {
            font-size: 18px;
            @include text-tracking(100);
            @include text-line-height(18,23);
            @media only screen and (max-width: 767px) {
              font-size: 4rem;
            }
          }
          .model {
            display: inline-block;
            font-size: 12px;
            @include text-tracking(50);
            @include text-line-height(12,26);
            padding: 0 20px;
            border-top: 1px solid #FFF;
            border-bottom: 1px solid #FFF;
            margin-top: 12px;
            @media only screen and (max-width: 767px) {
              font-size: 2.6rem;
              padding: 0.4vw 0;
              display: block;
              margin-top: 3vw;
            }
          }
        }
      }
      .spec {
        margin-top: 40px;
        @media only screen and (max-width: 767px) {
          margin-top: 7vw;
        }
      }
      .outer-link {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 15px;
        gap: 7px 5px;
        a {
          margin-bottom: 0;
        }
        .manual {
          width: calc(50% - 5px);
          order: 1;
          border-radius: initial;
          justify-content: center;
          padding: 1em 0;
          background-color: #a0a0a0;
          font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", "Noto Serif JP", serif;
          @media only screen and (max-width: 767px) {
            width: 100%;
          }
        }
        .official,
        .rakuten,
        .amazon {
          width: calc(50% - 5px);
          @media only screen and (max-width: 767px) {
            width: 100%;
          }
        }
        .official {
          order: 3;
          background-color: initial;
          border: 1px solid #FFF;
          @media only screen and (max-width: 767px) {
            order: 2;
          }
        }
        .rakuten {
          background-color: #db1501;
          order: 2;
          @media only screen and (max-width: 767px) {
            order: 3;
          }
        }
        .amazon {
          background-color: #3973f4;
          order: 4;
        }
      }
    }
  }
  .specifications-block {
    background-color: #28211e;
    padding-top: 75px;
    padding-bottom: 90px;
    @media only screen and (max-width: 767px) {
      padding-top: 22.5vw;
      padding-bottom: 21.5vw;
    }
    .inner {
      .title-box {
        color: #FFF;
        text-align: center;
        h2 {
          font-size: 40px;
          @include text-tracking(100);
          @media only screen and (max-width: 767px) {
            font-size: 4rem;
          }
          span {
            font-size: 22px;
            display: block;
            margin-bottom: 40px;
            letter-spacing: 0;
            @media only screen and (max-width: 767px) {
              font-size: 2.6rem;
              margin-bottom: 7.5vw;
            }
          }
        }
      }
      .specifications {
        display: flex;
        flex-direction: column;
        gap: 13px;
        margin-top: 30px;
        @media only screen and (max-width: 767px) {
          margin-top: 7vw;
          margin-bottom: 1vw;
          gap: 2.5vw;
        }
        .specifications-content {
          .title {
            color: #FFF;
            font-size: 16px;
            @include text-line-height(16,27);
            @media only screen and (max-width: 767px) {
              font-size: 2.4rem;
            }
          }
          .spec-sheet {
            table {
              width: 100%;
              border-left: 1px solid #c6c6c6;
              border-top: 1px solid #c6c6c6;
              tr {
                th,td {
                  padding: 10px;
                  font-family: "Noto Sans JP", sans-serif;
                  font-size: 16px;
                  @include text-line-height(16,27);
                  @media only screen and (max-width: 767px) {
                    padding: 9px 10px;
                    font-size: 2.2rem;
                  }
                }
                th {
                  background-color: #7b7b7b;
                  color: #FFF;
                  width: 150px;
                  text-align: center;
                  border-bottom: 1px solid #c6c6c6;
                  @media only screen and (max-width: 767px) {
                    width: 22vw;
                    vertical-align: middle;
                  }
                }
                td {
                  background-color: #FFF;
                  border-bottom: 1px solid #c6c6c6;
                  border-left: 1px solid #c6c6c6;
                }
              }
            }
          }
        }
      }
      .attention {
        color: #FFF;
        font-size: 12px;
        @include text-line-height(12,18);
        margin-top: 6px;
        @media only screen and (max-width: 767px) {
          font-size: 2rem;
          margin-top: 4vw;
        }
      }
    }
  }

  .footer-product-link-block {
    margin-top: 0;
  }

}
