@import url(/common/product/product.css);
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400:700&display=swap");

/*------------------
SIDE MIRROR PLUS
------------------*/
main {
  color: #fff;
  background-color: #2f4459;
  position: relative;

  &::after {
    content: "";
    width: 100%;
    height: 5.7vw;
    background-color: #fff;
    position: absolute;
    bottom: 0;

    @media (width < 768px) {
      height: 60px;
    }
  }
}

/*------------------
トップ
------------------*/
main div.top {
  aspect-ratio: 1920 / 1374;
  padding-top: 10%;
  text-align: center;
  background-image: url(images/top_back.jpg);
  background-size: cover;
  background-position: center;

  @media (width < 768px) {
    height: 650px;
    padding-top: 60px;
    aspect-ratio: unset;
  }

  & h1 img {
    @media (width < 1600px) {
      width: 28%;
    }

    @media (width < 768px) {
      width: 300px;
    }
  }
}

/*------------------
雨の日、そのミラー本当に見えていますか？
------------------*/
main section.check {
  max-width: 1028px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 100px;

  @media (width < 768px) {
    padding-bottom: 50px;
  }

  & h2 {
    padding-top: 10%;
    padding-bottom: 55px;
    font-size: 50px;
    text-align: center;

    @media (width < 1069px) {
      font-size: 36px;
    }

    @media (width < 768px) {
      padding-bottom: 30px;
      font-size: 28px;
    }
  }

  & div {
    padding: 40px 40px 30px;
    background-image: url(images/check_back.jpg);
    background-size: cover;
    background-position: center;

    @media (width < 768px) {
      margin-left: -15px;
      margin-right: -15px;
      padding: unset;
      background-image: unset;
    }

    & p:first-child {
      padding-bottom: 30px;
      font-size: 40px;
      font-weight: bold;

      @media (width < 991px) {
        font-size: 30px;
      }

      @media (width < 768px) {
        padding: 15px 15px 190px;
        background-size: 660px;
        background-image: url(images/check_back.jpg);
        background-position: right top;
        background-repeat: no-repeat;
      }
    }

    & p:nth-child(2) {
      padding-left: 22px;
      padding-bottom: 30px;
      font-size: 30px;

      @media (width < 991px) {
        font-size: 23px;
      }

      @media (width < 768px) {
        padding: 15px;
      }
    }

    & li {
      margin-left: 22px;
      padding-left: 50px;
      font-size: 30px;
      line-height: 2;
      background-image: url(images/check_icon.svg);
      background-repeat: no-repeat;
      background-position: left 9px;
      background-size: 37px;

      @media (width < 991px) {
        padding-left: 40px;
        font-size: 24px;
        background-size: 30px;
      }

      @media (width < 768px) {
        margin-left: 15px;
        padding-left: 30px;
        font-size: 22px;
        background-size: 27px;
      }
    }
  }
}

/*------------------
なぜ、ミラーは汚くなるのか
------------------*/
main section.why {
  background-color: #132533;
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 5.7vw), 50% 100%, 0% calc(100% - 5.7vw));

  @media (width < 768px) {
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 60px), 50% 100%, 0% calc(100% - 60px));
  }

  & div.inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 100px 15px 170px;

    @media (width < 768px) {
      padding-top: 50px;
      padding-bottom: unset;
    }

    /* 見出し */
    & h2 {
      padding-bottom: 25px;
      font-size: 50px;
      text-align: center;

      @media (width < 768px) {
        font-size: 26px;
      }
    }

    & > p {
      padding-bottom: 40px;
      font-size: 28px;
      text-align: center;

      @media (width < 992px) {
        font-size: 24px;
      }

      @media (width < 768px) {
        text-align: left;
        font-size: 22px;
      }
    }

    /* 従来vsミラープラス */
    & div.fig {
      display: flex;
      gap: 25px;
      position: relative;

      @media (width < 1069px) {
        gap: 70px;
      }

      @media (width < 768px) {
        display: block;
      }

      /* セクション共通 */
      & section {
        flex: 1;

        @media (width < 768px) {
          padding-bottom: 145px;
        }

        /* 枠 */
        & div {
          border-radius: 10px;
          padding-bottom: 22px;
          text-align: center;

          @media (width < 768px) {
            padding-bottom: 10px;
          }

          /* 見出し */
          & h3 {
            padding-top: 11px;
            padding-bottom: 11px;
            font-size: 25px;
            line-height: 1.2;
            border: 1px solid #000;
            border-radius: 10px;

            @media (width < 1069px) {
              font-size: 18px;
            }

            /* 画像 */
            & + p {
              height: 300px;
              display: flex;
              align-items: center;

              @media (width < 1069px) {
                height: 200px;
                padding-top: 15px;
                padding-bottom: 15px;

                & img {
                  width: auto;
                  height: 100%;
                }
              }

              @media (width < 768px) {
                height: unset;
                padding-left: 15px;
                padding-right: 15px;

                & img {
                  width: 100%;
                  height: auto;
                }
              }
            }
          }

          /* 3つの特徴 */
          & ul {
            margin-left: 20px;
            margin-right: 20px;
            padding-top: 13px;
            padding-bottom: 13px;
            color: #000;
            font-size: 19px;
            font-feature-settings: "palt";
            text-align: center;
            line-height: 1.1;
            display: flex;
            justify-content: space-evenly;

            @media (width < 992px) {
              margin-left: 5px;
              margin-right: 5px;
              padding-top: 5px;
              padding-bottom: 5px;
              font-size: 14px;
            }

            & li {
              height: 42px;
              padding-left: 46px;
              background-repeat: no-repeat;
              background-position: left;
              background-size: contain;
              display: flex;
              flex-direction: column;
              justify-content: center;

              @media (width < 992px) {
                height: 30px;
                padding-left: 32px;
              }
            }
          }
        }

        /* 各説明 */
        & > p {
          width: fit-content;
          margin-left: auto;
          margin-right: auto;
          padding-top: 25px;
          font-size: 19px;
          font-feature-settings: "palt";

          @media (width < 1069px) {
            padding-top: 10px;
            font-size: 16px;
            & br {
              display: none;
            }
          }
        }

        /* 従来の超撥水商品< */
        &:first-of-type div {
          background-color: #e0e0e0;

          & h3 {
            background-color: #808080;

            & + p {
              padding-left: 39px;

              @media (width < 768px) {
                padding-left: unset;
              }
            }
          }

          & ul {
            background-color: #c6c6c6;

            & li {
              &:nth-child(1) {
                background-image: url(images/why_before1.svg);
              }
              &:nth-child(2) {
                background-image: url(images/why_before2.svg);
              }
              &:nth-child(3) {
                background-image: url(images/why_before3.svg);
              }

              & span {
                font-size: 17px;
                display: block;

                @media (width < 992px) {
                  font-size: 13px;
                }
              }
            }
          }
        }

        /* ベルトップコート サイドミラープラス */
        &:last-of-type div {
          background-color: #eff6f9;

          & h3 {
            background-color: #0071b6;

            & + p {
              padding-right: 20px;
              justify-content: flex-end;
            }
          }

          & ul {
            background-color: #c7e8fa;

            & li {
              &:nth-child(1) {
                background-image: url(images/why_after1.svg);
              }
              &:nth-child(2) {
                background-image: url(images/why_after2.svg);
              }
              &:nth-child(3) {
                background-image: url(images/why_after3.svg);
              }
            }
          }
        }
      }

      /* 矢印内のテキスト */
      & > p {
        width: 287px;
        height: 200px;
        padding-left: 70px;
        font-size: 23px;
        font-weight: bold;
        line-height: 1.25;
        background-image: url(images/why_arrow.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        display: flex;
        align-items: center;
        position: absolute;
        top: 110px;
        left: 50%;
        transform: translateX(-50%);

        @media (width < 1069px) {
          height: 140px;
          padding-left: 80px;
          font-size: 16px;
          top: 76px;
        }

        @media (width < 768px) {
          width: 270px;
          height: 150px;
          background-image: url(images/why_arrow_sp.svg);
          background-size: 100% 100%;
          top: 35%;
          text-align: center;
        }
      }
    }
  }
}

/*------------------
雨の日の運転を、もっと安全・クリアに
------------------*/
main section.feature {
  max-width: 1046px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 100px;
  text-align: center;

  @media (width < 768px) {
    padding-bottom: 50px;
  }

  /* 商品名 */
  & > p:first-child {
    padding-top: 6.4%;
  }

  /* 見出し */
  & h2 {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    padding: 18px 50px;
    color: #000;
    font-size: 44px;
    line-height: 1.2;
    background-color: #e0f2fc;
    border-radius: 50px;

    @media (width < 992px) {
      padding-left: 30px;
      padding-right: 30px;
      font-size: 34px;
    }

    @media (width < 768px) {
      margin-bottom: 30px;
      padding-left: 20px;
      padding-right: 20px;
      font-size: 28px;
    }
  }

  /* 3つの要素を同時に叶えます */
  & p.copy {
    padding-bottom: 30px;
    font-size: 40px;

    @media (width < 992px) {
      font-size: 30px;
    }

    @media (width < 768px) {
      font-size: 26px;
      text-align: left;
    }
  }

  /* 3つの要素 */
  & dl {
    padding-bottom: 50px;
    display: flex;
    justify-content: space-between;

    @media (width < 768px) {
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
      padding-bottom: 30px;
      text-align: left;
      display: block;
    }

    & div {
      padding-left: 120px;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: left;

      @media (width < 992px) {
        padding-left: 87px;
      }

      @media (width < 768px) {
        height: 80px;
        margin-bottom: 20px;
        padding-left: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      &:nth-child(1) {
        background-image: url(images/feature_icon1.png);
      }
      &:nth-child(2) {
        background-image: url(images/feature_icon2.png);
      }
      &:nth-child(3) {
        background-image: url(images/feature_icon3.png);
      }

      & dt {
        font-size: 29px;

        @media (width < 992px) {
          font-size: 22px;
        }
      }

      & dd {
        font-size: 23px;
        line-height: 1.2;

        @media (width < 992px) {
          font-size: 19px;
        }
      }
    }
  }

  /* 施工後イメージ共通 */
  & figcaption {
    padding-bottom: 15px;
    font-size: 23px;
  }

  /* サイドミラー施工後イメージ */
  & > figure {
    padding-bottom: 80px;
  }

  /* セクション共通 */
  & section {
    padding-bottom: 70px;

    @media (width < 768px) {
      padding-bottom: 40px;
    }
  }

  /* 長時間、快適な時間をサポート */
  & section:first-of-type {
    /* 見出し */
    & h3 {
      padding-bottom: 20px;
      font-size: 28px;

      @media (width < 768px) {
        font-size: 24px;
      }
    }

    & p:first-of-type {
      width: 300px;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 20px;
      padding-top: 14px;
      padding-bottom: 14px;
      color: #000;
      font-size: 27px;
      background-color: #82c5e7;
      border-radius: 30px;

      @media (width < 768px) {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 22px;
      }

      & strong {
        font-size: 1.3em;
      }
    }

    & p:last-of-type {
      font-size: 21px;

      @media (width < 768px) {
        text-align: left;
      }
    }
  }

  /* バックカメラの視界も改善 */
  & section:last-of-type {
    & h3 {
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 50px;
      padding-left: 25px;
      padding-right: 25px;
      font-size: 30px;
      border-bottom: 4px solid #e0f2fc;

      @media (width < 768px) {
        width: unset;
        margin-bottom: 30px;
        padding: unset;
        font-size: 26px;
      }
    }

    /* 施工後イメージ */
    & figure {
      padding-bottom: 25px;
    }

    & p:first-of-type {
      padding-bottom: 25px;
      font-size: 21px;

      @media (width < 992px) {
        text-align: left;
      }
    }

    & p:last-of-type {
      font-size: 19px;
      line-height: 1.3;

      @media (width < 992px) {
        padding-left: 1em;
        text-align: left;
        text-indent: -1em;

        & br {
          display: none;
        }
      }
    }
  }

  /* 雨の日の視界に、不安を感じたら */
  & > p:last-child {
    max-width: 763px;
    height: 332px;
    margin-left: auto;
    margin-right: auto;
    font-size: 42px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(images/feature_copy_back.jpg);
    background-size: cover;
    background-position: center;

    @media (width < 768px) {
      height: 200px;
      font-size: 20px;
    }
  }
}

/*------------------
使用方法
------------------*/
main section.usage {
  background-color: #132533;
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 5.7vw), 50% 100%, 0% calc(100% - 5.7vw));

  @media (width < 768px) {
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 60px), 50% 100%, 0% calc(100% - 60px));
  }

  & div.inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 100px 15px 170px;

    @media (width < 768px) {
      padding-top: 50px;
      padding-bottom: 100px;
    }

    /* 見出し */
    & hgroup {
      text-align: center;

      & h2 {
        font-size: 44px;

        @media (width < 768px) {
          padding-bottom: 10px;
          font-size: 34px;
        }
      }

      & p {
        padding-bottom: 25px;
        font-size: 28px;

        @media (width < 768px) {
          font-size: 24px;
          text-align: left;
        }
      }
    }

    /* ①～③ */
    & dl div {
      padding-bottom: 30px;
      background-image: url(images/usage_arrow.svg);
      background-size: 44px;
      background-repeat: no-repeat;
      background-position: center bottom 5px;
      display: grid;
      grid-template-rows: 50px auto;
      grid-template-columns: 323px 1fr;

      @media (width < 768px) {
        display: block;
      }

      &:last-child {
        padding-bottom: 50px;
        background-position: center bottom 10px;
      }

      /* 見出し */
      & dt {
        padding-left: 15px;
        color: #231815;
        font-size: 23px;
        line-height: 50px;
        background-color: #82c5e7;
        grid-row: 1;
        grid-column: 1;

        @media (width < 768px) {
          text-align: center;
        }
      }

      /* 画像 */
      dd:first-of-type {
        padding: 5px 0 5px 5px;
        grid-row: 2;
        background-color: #fff;
        grid-column: 1;

        @media (width < 768px) {
          padding-right: 5px;
        }
      }

      /* テキスト */
      dd:last-child {
        padding: 20px 20px 5px 26px;
        color: #000;
        font-size: 19px;
        line-height: 1.5;
        background-color: #fff;
        grid-row: 1 / 3;
        grid-column: 2;

        @media (width < 768px) {
          padding: 5px;
        }

        & strong {
          color: #e71c24;
          font-weight: bold;
        }

        & ul {
          padding-top: 13px;
          font-size: 17px;
          font-feature-settings: "palt";

          & li {
            padding-left: 30px;
            background-image: url(images/usage_icon.svg);
            background-size: 25px;
            background-repeat: no-repeat;
            background-position: 0px 0px;
          }
        }
      }
    }

    /* 乾燥後 */
    & > p {
      font-size: 23px;
      text-align: center;

      @media (width < 768px) {
        text-align: unset;
      }
    }
  }
}

/*------------------
注意事項
------------------*/
main section.cation {
  padding-top: 100px;
  padding-bottom: 100px;

  @media (width < 768px) {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* 見出し */
  & h2 {
    padding-bottom: 15px;
    font-size: 34px;
    text-align: center;
  }

  /* リスト */
  & ul {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 70px 27px;
    font-size: 24px;
    font-feature-settings: "palt";
    list-style-type: "・";

    @media (width < 768px) {
      font-size: 20px;
    }
  }

  /* 免責 */
  & dl {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;

    & dt {
      padding-bottom: 10px;
      color: red;
      font-size: 28px;
      text-decoration: underline;

      & br {
        display: none;

        @media (width < 768px) {
          display: inline;
        }
      }
    }

    & dd {
      font-size: 24px;

      @media (width < 992px) {
        text-align: left;
      }

      @media (width < 768px) {
        font-size: 20px;
      }
    }
  }
}

/*------------------
ショップ
------------------*/
main div.back {
  padding: 100px 15px 200px;
  background-color: #132533;
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 5.7vw), 50% 100%, 0% calc(100% - 5.7vw));
  position: relative;
  z-index: 1;

  @media (width < 768px) {
    padding-top: 50px;
    padding-bottom: 100px;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 60px), 50% 100%, 0% calc(100% - 60px));
  }
}

main div.goshop {
  max-width: 950px;
  margin: 0 auto 150px;
  padding: 30px;
  background-color: #fff;

  @media (width < 992px) {
    display: block;
    background-color: unset;

    &.photo p.photo {
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      padding: 0px 70px 50px;
      display: block;
    }
  }

  @media (width < 768px) {
    margin-bottom: 80px;
    padding: unset;

    &.photo p.photo {
      padding: 0 40px 30px;
    }
  }

  & div.text {
    flex-basis: 500px;

    & section.normal {
      padding: unset;

      @media (width < 992px) {
        padding: 15px;
      }

      /* 商品名 */
      & h2 {
        margin-bottom: 36px;

        @media (width < 992px) {
          margin-bottom: unset;
        }
      }

      /* 価格 */
      & p.kakaku {
        font-size: 19px;
      }

      & p.yen {
        font-size: 60px;
      }
    }
  }
}

/*------------------
ダウンロード
------------------*/
main div.list {
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;

  & ul {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    @media (width < 768px) {
      display: block;
    }

    & li {
      flex: 1;

      @media (width < 768px) {
        padding-bottom: 40px;
      }

      & > img {
        margin-bottom: 33px;
      }

      & a {
        width: fit-content;
        margin: 0 auto;
        display: block;

        &:hover {
          opacity: 0.8;
        }

        @media (width < 768px) {
          & img {
            width: auto;
            height: 50px;
          }
        }
      }
    }
  }
}
