$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;
}

.wing-standard-page {
  .product-mv-block {
    background-image: url("/assets/images/wing-standard/mv.jpg");
    @media only screen and (min-width: 1415px) {
      background-image: url("/assets/images/wing-standard/mv_wide.jpg");
    }
    @media only screen and (max-width: 767px) {
      background-image: url("/assets/images/wing-standard/mv-sp.jpg");
      margin-top: 100px;
      height: vw-sp(1393);
      align-items: flex-start;
    }
    .product-mv {
      @media only screen and (max-width: 767px) {
        padding-bottom: 0;
        margin-top: 48vw;
      }
      h1 {
        margin-top: 0;
        letter-spacing: -3px;
        @media only screen and (max-width: 767px) {
          margin-top: 0;
          line-height: 1.2;
        }
      }
      .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;
        font-feature-settings: "palt";
        line-height: 1.6111284776;
        letter-spacing: 0.05em;
        @media only screen and (max-width: 767px) {
          padding-top: 7px;
          padding-bottom: 5px;
        }

        &.lead {
          @media only screen and (max-width: 767px) {
            text-shadow:
              0 0 4px rgba(255, 255, 255, 1),
              0 0 8px rgba(255, 255, 255, 1),
              0 0 16px rgba(255, 255, 255, 1),
              0 0 24px rgba(255, 255, 255, 0.9);
          }
        }
      }
    }
  }

  .info-list {
    display: flex;
    justify-content: center;
    gap: 55px;
    margin-top: -150px;
    @media only screen and (max-width: 1000px) {
      gap: 5%;
      padding: 0 2%;
    }
    @media only screen and (max-width: 767px) {
      gap: 1%;
      width: 92%;
      margin: -16vw auto 0;
    }
    .item {
      width: 280px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      @media only screen and (max-width: 767px) {
        width: 33%;
      }
      .image {
        width: 100%;
        img {
          filter: drop-shadow(1px 5px 15px rgba(0, 0, 0, 0.3));
        }
      }
      p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 50px;
        color: #FFF;
        width: 100%;
        text-align: center;
        @media only screen and (max-width: 1000px) {
          font-size: 5vw;
        }
        @media only screen and (max-width: 767px) {
          font-size: 4rem;
        }
        sup {
          font-size: 18px;
          vertical-align: text-top;
          @media only screen and (max-width: 767px) {
            font-size: 1.44rem;
          }
        }
      }
    }
  }

  .intro-block {
    height: 982px;
    margin-top: -8vw;
    @media only screen and (max-width: 767px) {
      height: initial;
    }
    .intro {
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
      height: 100%;
      display: flex;
      align-items: center;
      background-image: url("/assets/images/wing-standard/product.jpg");
      text-align: left;
      @media only screen and (max-width: 767px) {
        flex-direction: column;
        background: initial;
        text-align: center;
        //height: vw-sp(1786);
        //padding: 4rem 2rem 3rem 2rem;
        //background-size: contain;
        //background-position: center bottom;
      }
      .inner {
        //width: 1340px;
        height: auto;
        max-width: calc(520px + 80px);
        margin-left: auto;
        margin-right: 45.5%;
        @media only screen and (max-width: 767px) {
          padding: 0;
          max-width: 100%;
          margin-right: 0;
        }
        .heading-introduce-image {
          margin: 0 auto;
          color: #717070;
          font-feature-settings: "palt";
          @media only screen and (max-width: 767px) {
            margin: 21.5vw auto;
          }
          h2 {
            font-size: 42px;
            letter-spacing: 0.15em;
            line-height: 1.5;
            padding-bottom: 20px;
            @media only screen and (max-width: 767px) {
              font-size: 5.5rem;
              padding-bottom: 10px;
            }
            sup {
              font-size: 15px;
              vertical-align: text-top;
              @media only screen and (max-width: 767px) {
                font-size: 2.5rem;
              }
            }
          }
          p {
            font-size: 20px;
            line-height: 2;
            @media only screen and (max-width: 767px) {
              font-size: 2.6rem;
            }
          }
          .size {
            width: 256px;
            margin: 40px 0;
            @media only screen and (max-width: 767px) {
              width: vw-sp(366);
              margin: 23px auto;
            }
          }
          .note {
            font-size: 16px;
            font-weight: 100;
            @media only screen and (max-width: 767px) {
              font-size: 2rem;
            }
          }
        }
      }
      .heading-introduce-image-sp {
        display: none;
        @media only screen and (max-width: 767px) {
          display: block;
          margin-top: -47vw;
          background-color: #d7ecf3;
          position: relative;
          z-index: -1;
          padding-bottom: 20px;
        }
      }
    }
  }


  .info-block {
    @media only screen and (max-width: 767px) {
      background-color: #d7ecf3;
    }
    .inner {
      max-width: 1340px;
      .info-head {
        position: relative;
        font-feature-settings: "palt";
        .image {}
        .container {
          position: absolute;
          left: 0;
          top: 10%;
          text-align: center;
          width: 100%;
          color: #FFF;
          @media only screen and (max-width: 767px) {
            top: 3.7%;
          }
          h2 {
            font-size: 42px;
            letter-spacing: 0.15em;
            @media only screen and (max-width: 1340px) {
              font-size: 3.13433vw;
            }
            @media only screen and (max-width: 767px) {
              font-size: vw-sp(55);
              line-height: 1.3130909091;
              letter-spacing: 0.03em;
            }
          }
          p {
            font-size: 20px;
            letter-spacing: 0.09em;
            margin-top: 2.5%;
            @media only screen and (max-width: 1340px) {
              font-size: 1.5vw;
              margin-top: 2.3%;
            }
            @media only screen and (max-width: 767px) {
              font-size: vw-sp(26);
              letter-spacing: 0.05em;
              margin-top: 6.5%;
            }
          }
          .info-icon {
            width: 820px;
            margin: 38px auto;
            @media only screen and (max-width: 1340px) {
              width: 61.2vw;
              margin-top: 3%;
            }
            @media only screen and (max-width: 767px) {
              width: vw-sp(350);
              margin: 3% auto;
            }
          }
        }
        .note {
          font-size: 16px;
          text-align: right;
          margin: 15px 0;
          @media only screen and (max-width: 767px) {
            font-size: 2rem;
            margin: 20px 0;
          }
        }
      }
    }
    .info-image {
      margin: 75px 0 20px;
    }
  }

  .heading-introduce-block {
    padding-top: 38px;
    .inner {
      .heading-introduce {
        .features-movie {
          @media only screen and (max-width: 767px) {
            margin-top: 55px;
          }
          .title-box {
            .title {
              font-size: 30px;
              letter-spacing: 0.1em;
              @media only screen and (max-width: 767px) {
                font-size: 4rem;
              }
            }
            .lead {
              margin-top: 10px;
              @media only screen and (max-width: 767px) {
                font-size: 2.6rem;
                margin-top: 14px;
                margin-bottom: 14px;
              }
            }
          }
          .movie {
            padding: initial;
            video {
              width: 100%;
            }
          }
          .note {
            font-size: 18px;
            margin-top: 17px;
            @media only screen and (max-width: 767px) {
              font-size: 2rem;
            }
          }
        }
      }
    }
  }

  .features-introduce-block {
    padding-top: 77px;
    @media only screen and (max-width: 767px) {
      padding-bottom: 75px;
    }
    .full-width-image-block {
      .features-image-block {
        .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: 60%;
                  vertical-align: top;
                  position: relative;
                  top: 0.4em;
                  display: inline;
                  @media only screen and (max-width: 767px) {
                    top: 0.1em;
                  }
                }

              }
            }
          }
        }
      }
    }
  }

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

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

  .features-image-block03 {
    background-image: url("/assets/images/wing-standard/selling01-bg03.jpg");
    @media only screen and (max-width: 767px) {
      background-image: url("/assets/images/wing-standard/selling01-bg03-sp.jpg");
    }
    .functions {
      margin-top: 25px;
      @media only screen and (max-width: 767px) {
        margin-top: 15px;
      }
      .box {
        margin-top: 18px;
        @media only screen and (max-width: 767px) {
          margin-top: 12px;
        }
        .title {
          font-size: 26px;
          letter-spacing: 0.05em;
          @media only screen and (max-width: 767px) {
            font-size: 3.59rem;
          }
        }
        .image {
          margin-top: 5px;
        }
      }
    }
  }

  .features-image-block04 {
    background-image: url("/assets/images/wing-standard/selling01-bg04.jpg");
    @media only screen and (max-width: 767px) {
      background-image: url("/assets/images/wing-standard/selling01-bg04-sp.jpg");
    }
    .image-socket-title {
      font-size: 18px;
      text-align: center;
      padding: 10px;
      background-color: #9296a0;
      color: #FFF;
      margin-top: 20px;
      @media only screen and (max-width: 767px) {
        font-size: 2.48rem;
        padding: 5px 0;
      }
    }
    .image-socket {
      margin-top: 10px;
      @media only screen and (max-width: 767px) {
        margin-top: 6px;
      }
    }
  }

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

  .how-to-setup-block {
    padding-top: 148px;
    padding-bottom: 20px;
    @media only screen and (max-width: 767px) {
      padding-top: 58px;
    }
  }

  .product-lineup-block {
    @media only screen and (max-width: 767px) {
      padding-top: 73px;
    }
    .inner {
      .product-lineup {
        padding-bottom: 100px;
        @media only screen and (max-width: 767px) {
          padding-bottom: 49px;
        }
        ul {
          //justify-content: center;
          &:after {
            display: none;
            @media only screen and (max-width: 767px) {
            }
          }
        }
      }
    }
  }


  .comparison {
    //width: calc(100vw - 80px);
    //width: 1418px;
    //margin: 0 auto;
    @media only screen and (max-width: 767px) {
      width: auto;
    }
    table {
      //width: 100%;
      width: 1418px;
      //width: 1934px;
      @media only screen and (max-width: 767px) {
        width: 959px;
      }
      th,
      td {
      }
      th {
        width: 170px;
        @media only screen and (max-width: 767px) {
          width: 75px;
        }
      }
      td {
        width: 208px;
        @media only screen and (max-width: 767px) {
          width: 137px;
        }
      }

      thead {
        tr {
          th {
          }

          td {
            .product-image {
              width: 145px;
              margin: 0 auto;
              padding-bottom: 9px;
              @media only screen and (max-width: 767px) {
                width: 95px;
              }
            }
          }
        }
      }

      tbody {
        tr {
          th {
          }

          td {
            .color-list {
              display: flex;
              justify-content: center;
              li {
                margin: 0 4px;
                font-size: 10px;
                text-align: center;

                span {
                  &.colorball {
                    width: 18px;
                    height: 18px;
                    border-radius: 50%;
                    display: block;
                    box-sizing: border-box;
                    margin: 0 auto 5px;
                  }
                  &.white {
                    border: 1px solid #000000;
                  }
                  &.light-wood {
                    background-color: #D9CB99;
                  }
                  &.dark-wood {
                    background-color: #654236;
                  }
                }
              }
            }
            .icon {
              width: 80%;
              margin: 0 auto 13px;
            }
            .buy-link {
              a {
              }
            }
          }
        }
      }
    }
  }

}
