/* reset ========= */
* {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

ul {
  padding: 0;
  list-style: none;
}

/* base ========= */
html {
  scroll-behavior: smooth;
  scroll-padding: 50px;
}

body {
  line-height: 1.7;
  font-feature-settings: "palt";

  &:has(.lp-type-a) {
    font-family: neue-haas-grotesk-display, iroha-26tubaki-stdn, sans-serif;
  }

  &:has(.lp-type-b) {
    font-family: neue-haas-grotesk-display, "Zen Kaku Gothic New", sans-serif;
  }
}

img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

a {
  color: currentColor;
  text-decoration: none;
}

/* utilities ========= */
.mobile-only {
  display: none;

  @media screen and (max-width: 767px) {
    display: block;
  }
}

.desktop-only {
  @media screen and (max-width: 767px) {
    display: none;
  }
}

.link-arrow {
  display: block;
  position: relative;
  width: 15px;
  height: 15px;

  &::before {
    position: absolute;
    bottom: -1px;
    left: 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
    background: currentColor;
    width: calc(100% * 1.414);
    height: 1px;
    content: "";
  }

  &::after {
    position: absolute;
    inset: 0;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    width: 100%;
    height: 100%;
    content: "";
  }
}

/* page styles ========= */
.lp-header {
  display: grid;
  align-content: center;
  justify-content: center;
  height: 100px;

  @media screen and (max-width: 767px) {
    height: 60px;
  }

  img {
    height: 40px;

    @media screen and (max-width: 767px) {
      height: 30px;
    }
  }

  a {
    transition: all 0.3s;

    &:hover {
      opacity: 0.7;
    }
  }
}

.lp-kv {
  position: relative;

  img {
    width: 100%;
  }

  .i-athlete {
    position: absolute;
    right: 3.4%;
    bottom: 6.2%;
    width: 13.2%;

    @media screen and (max-width: 767px) {
      bottom: 6%;
      left: 50%;
      transform: translateX(-50%);
      width: 26%;
    }
  }
}

.lp-statement {
  display: grid;
  grid-template-columns: max-content 500px;
  justify-content: space-between;
  margin-inline: auto;
  padding: 200px 0 185px;
  max-width: 1000px;

  @media screen and (max-width: 1200px) {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  @media screen and (max-width: 767px) {
    padding: 70px 0 60px;
    max-width: none;
  }

  .lp-type-b & {
    padding: 200px 0 230px;

    @media screen and (max-width: 767px) {
      padding: 70px 0 60px;
    }
  }

  .copy {
    display: grid;
    align-content: start;
    justify-items: start;
    font-size: 28px;
    line-height: 1.6;

    @media screen and (max-width: 767px) {
      font-size: calc(18 * 100vw / 375);
    }

    span {
      white-space: nowrap;

      &:first-child {
        border: 1px solid #000;
        padding: 0 4px 0 10px;
        letter-spacing: 0.12em;
      }

      &:last-child {
        margin: -1px 0 0 58px;
        border: 1px solid #000;
        background: #000;
        padding-left: 10px;
        color: #fff;
        letter-spacing: 0.18em;

        @media screen and (max-width: 767px) {
          margin: -1px 0 0 10%;
          padding-left: 8px;
          letter-spacing: 0.17em;
        }
      }
    }

    .lp-type-b & span {
      line-height: 1.5;

      &:first-child {
        padding: 2px 0 0 7px;

        &::after {
          margin-right: -7px;
          content: "";
        }
      }

      &:last-child {
        padding: 2px 0 0 10px;
        letter-spacing: 0.15em;

        &::after {
          margin-right: -7px;
          content: "";
        }
      }
    }
  }

  p {
    padding-top: 40px;
    font-size: 18px;
    line-height: calc(45.5 / 18);
    font-family: kinuta-shin-stdn, sans-serif;
    letter-spacing: 0.23em;
    white-space: nowrap;

    @media screen and (max-width: 1200px) {
      padding-left: 10%;
    }

    @media screen and (max-width: 767px) {
      padding: 10.7% 0 0 12%;
      font-size: calc(13 * 100vw / 375);
      line-height: 2.5;
    }
  }
}

.lp-lineup {
  background: #000;
  padding: 120px 20px 170px;
  color: #fff;

  @media screen and (max-width: 767px) {
    padding: 40px 15px 100px;
  }

  h2 {
    font-size: 18px;
    letter-spacing: 0.3em;
    text-align: center;

    @media screen and (max-width: 767px) {
      font-size: 14px;
      letter-spacing: 0.2em;
    }

    .lp-type-b & {
      font-size: 24px;
      letter-spacing: normal;

      @media screen and (max-width: 767px) {
        font-size: 15px;
      }
    }
  }
}

.lp-anchor-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 10px;
  margin-top: 44px;
  margin-inline: auto;
  padding: 0 35px;
  max-width: 1200px;

  @media screen and (max-width: 767px) {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
    margin-top: 25px;
    padding: 0 20px;
  }

  .lp-type-b & {
    @media screen and (max-width: 767px) {
      row-gap: 20px;
    }
  }

  a {
    display: grid;
    position: relative;
    row-gap: 5px;
    align-content: center;
    height: 100px;
    text-align: center;

    @media screen and (max-width: 767px) {
      row-gap: 0;
      height: 69px;
    }

    .lp-type-b & {
      row-gap: 0;
      height: 115px;

      @media screen and (max-width: 767px) {
        height: 60px;
      }
    }

    &::before {
      position: absolute;
      top: 0;
      left: 0;
      transition: height 0.2s;
      background: #fff;
      width: 100%;
      height: 1px;
      content: "";
    }

    &:hover {
      color: #000;

      &::before {
        height: 100%;
      }
    }
  }

  span {
    /* a::beforeより前面に表示するために */
    position: relative;
    font-size: 18px;

    @media screen and (max-width: 767px) {
      font-size: 15px;
    }

    .lp-type-b &:last-child {
      font-weight: bold;
      font-size: 28px;

      @media screen and (max-width: 767px) {
        font-size: 17px;
        line-height: 1;
      }
    }
  }

  .num {
    font-size: 16px;

    @media screen and (max-width: 767px) {
      font-size: 12px;
    }
  }
}

.lp-model-items {
  display: grid;
  row-gap: 126px;
  margin-top: 100px;

  @media screen and (max-width: 767px) {
    row-gap: 100px;
    margin-top: 26px;
  }

  .lp-type-b & {
    margin-top: 95px;

    @media screen and (max-width: 767px) {
      margin-top: 35px;
    }
  }

  .item {
    display: grid;
    grid-template-columns: 724fr 345fr;
    column-gap: 50px;
    margin-inline: auto;
    max-width: 1120px;

    @media screen and (max-width: 1160px) {
      grid-template-columns: 1fr;
    }

    .image {
      position: relative;

      .copy {
        display: grid;
        position: absolute;
        row-gap: 34px;
        align-content: start;
        justify-items: center;
        inset: 0;
        padding-top: 10.5%;
        color: #000;
        font-size: 28px;
        line-height: 1;
        font-family: kinuta-shin-stdn, sans-serif;
        letter-spacing: 0.5em;

        @media screen and (max-width: 767px) {
          row-gap: 5%;
          padding-top: 9.5%;
          padding-left: 3.1%;
          color: #000;
          font-size: calc(18 * 100vw / 375);
          letter-spacing: 0.36em;
        }

        span {
          margin-left: 2%;
        }
      }
    }

    .details {
      display: flex;
      flex-direction: column;

      @media screen and (max-width: 1160px) {
        padding: 0 20px;
      }
    }

    h3 {
      display: flex;
      position: relative;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #404040;
      height: 50px;
      font-size: 18px;

      @media screen and (max-width: 1160px) {
        margin-top: -46px;
        border-color: #c0c0c0;
        height: 46px;
        color: #000;
        font-size: 15px;
      }

      &::before {
        position: absolute;
        top: -1px;
        left: 0;
        background: #fff;
        width: 40px;
        height: 1px;
        content: "";

        @media screen and (max-width: 1160px) {
          background: #000;
          width: 35px;
        }
      }

      span:first-child {
        @media screen and (max-width: 1160px) {
          font-size: 14px;
        }
      }

      span:last-child {
        letter-spacing: 0.06em;

        .lp-type-b & {
          font-weight: bold;
          font-size: 20px;
          letter-spacing: 0;

          @media screen and (max-width: 767px) {
            font-size: 17px;
          }
        }
      }
    }

    .code {
      align-content: center;
      border-top: 1px solid #3f3f3f;
      border-bottom: 1px solid #3f3f3f;
      height: 50px;
      font-size: 18px;
      text-align: right;

      @media screen and (max-width: 1160px) {
        height: 42px;
        font-size: 14px;
      }

      @media screen and (max-width: 767px) {
        border-top: 0;
      }

      .lp-type-b & {
        font-size: 20px;

        @media screen and (max-width: 1160px) {
          font-size: 14px;
        }
      }
    }

    /* lp-type-a */
    .heading {
      margin-top: 63px;
      font-size: 20px;
      line-height: 2;
      letter-spacing: 0.3em;

      @media screen and (max-width: 1160px) {
        margin-top: 52px;
        font-size: 18px;
        line-height: 2;
        letter-spacing: 0.3em;
      }
    }

    /* lp-type-a */
    .function {
      margin-top: 33px;
      font-weight: 500;
      font-size: 18px;
      line-height: 1.76;
      font-family: "Zen Kaku Gothic New", sans-serif;
      letter-spacing: 0.1em;

      @media screen and (max-width: 1160px) {
        margin-top: 44px;
        font-size: 16px;
      }
    }

    .desc {
      position: relative;
      margin-top: 40px;
      font-size: 16px;
      font-family: "Zen Kaku Gothic New", sans-serif;
      letter-spacing: 0.12em;

      @media screen and (max-width: 1160px) {
        margin-top: 19px;
        font-size: 13px;
        line-height: 1.9;
        letter-spacing: 0.17em;
      }

      img {
        position: absolute;
        right: 0;
        bottom: 0;
        border-radius: 50%;
        width: 100px;

        @media screen and (max-width: 1160px) {
          width: 88px;
        }
      }

      .lp-type-b & {
        margin-top: 11px;
        line-height: calc(28 / 16);
        letter-spacing: 0.06em;

        @media screen and (max-width: 1160px) {
          margin-top: 18px;
        }
      }
    }

    /* lp-type-b */
    .spec {
      display: grid;
      grid-template-columns: max-content 1fr;
      column-gap: 36px;
      row-gap: 15px;
      margin-top: 23px;
      line-height: 1.65;

      @media screen and (max-width: 1160px) {
        column-gap: 22px;
        row-gap: 19px;
        margin-top: 26px;
      }

      dt {
        letter-spacing: -0.025em;

        @media screen and (max-width: 1160px) {
          font-size: 14px;
        }
      }

      dd {
        font-weight: 500;
        font-size: 16px;
        line-height: calc(28 / 16);
        font-family: "Zen Kaku Gothic New", sans-serif;
        letter-spacing: 0.06em;

        span {
          display: inline-block;

          &::after {
            /* margin-left: -1px;
            content: ""; */
          }
        }

        @media screen and (max-width: 1160px) {
          font-size: 15px;
        }
      }
    }

    /* lp-type-b */
    .key-technology {
      margin-top: 22px;
      border-top: 1px solid #3f3f3f;
      padding-top: 25px;

      @media screen and (max-width: 1160px) {
        padding-top: 27px;
      }

      h4 {
        margin-top: 15px;
        font-weight: 500;
        font-size: 18px;
        line-height: calc(32 / 18);
        letter-spacing: 0.1em;

        @media screen and (max-width: 1160px) {
          margin-top: 20px;
          font-size: 17px;
          letter-spacing: 0.03em;
        }
      }

      p {
        letter-spacing: -0.025em;

        @media screen and (max-width: 1160px) {
          font-size: 13px;
        }
      }
    }

    a {
      display: flex;
      position: relative;
      justify-content: space-between;
      margin-top: auto;
      border-bottom: 1px solid #3f3f3f;
      padding: 0 10px 33px 0;
      font-size: 18px;
      letter-spacing: 0.1em;

      @media screen and (max-width: 1160px) {
        margin-top: 60px;
        padding: 0 9px 29px 0;
        font-size: 16px;
      }

      .lp-type-b & {
        @media screen and (max-width: 1160px) {
          margin-top: 62px;
          letter-spacing: 0.07em;
        }
      }

      &::before {
        position: absolute;
        right: 0;
        bottom: -1px;
        transition: width 0.3s;
        background: #fff;
        width: 40px;
        height: 1px;
        content: "";

        @media screen and (max-width: 1160px) {
          width: 35px;
        }
      }

      &:hover {
        &::before {
          width: 100%;
        }

        .link-arrow:after {
          transform: translate(50%, -50%);
        }

        .link-arrow::before {
          width: calc(100% * 1.414 * 1.5);
          trasnform-origin: 0 100%;
        }
      }

      .link-arrow {
        top: 6px;
        left: -3px;

        &:before,
        &:after {
          transition: all 0.3s;
        }

        @media screen and (max-width: 1160px) {
          width: 13px;
          height: 13px;
        }
      }
    }
  }
}

.lp-price {
  display: grid;
  position: relative;
  align-content: start;
  justify-items: center;
  aspect-ratio: 1460 / 600;

  @media screen and (max-width: 767px) {
    aspect-ratio: 1/1;
  }

  /* lp-type-a */
  .copy {
    padding: 10% 0 0 2.7%;
    font-size: calc(32 * 100vw / 1460);
    line-height: 2.2;
    font-family: kinuta-shin-stdn, sans-serif;
    letter-spacing: 1.33em;

    @media screen and (max-width: 767px) {
      padding: 26% 0 0 6%;
      font-size: calc(16 * 100vw / 375);
      line-height: 2.5;
      letter-spacing: 1.4em;
    }

    span {
      &:first-child {
        border: 1px solid #000;
      }

      &:last-child {
        margin: -1px 0 0 58px;
        border: 1px solid #000;
        background: #000;
        color: #fff;
      }
    }
  }

  /* lp-type-b */
  .slogan {
    padding: 11% 0 0 0;
    font-weight: bold;
    font-size: calc(77 * 100vw / 1460);
    letter-spacing: -0.04em;

    @media screen and (max-width: 767px) {
      padding: 28% 0 0 0;
      font-size: calc(39 * 100vw / 375);
    }
  }

  .sub-copy {
    margin-top: 50px;
    font-size: calc(24 * 100vw / 1460);
    letter-spacing: 0.25em;

    @media screen and (max-width: 767px) {
      margin-top: 5.2%;
      font-size: calc(14 * 100vw / 375);
      letter-spacing: 0.2em;
    }

    .lp-type-b & {
      margin-top: 24px;

      @media screen and (max-width: 767px) {
        margin-top: 3.7%;
      }
    }
  }

  .price {
    position: relative;
    margin-top: 15px;
    padding-top: 20px;
    font-size: calc(20 * 100vw / 1460);

    @media screen and (max-width: 767px) {
      margin-top: 3.2%;
      padding-top: 3.8%;
      font-size: calc(13 * 100vw / 375);
    }

    &::before {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      background: #000;
      width: 40px;
      height: 1px;
      content: "";

      @media screen and (max-width: 767px) {
        width: 20px;
      }
    }
  }

  img {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.lp-banners {
  display: flex;
  column-gap: 24px;
  row-gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-inline: auto;
  margin-top: 130px;
  padding: 0 35px;
  max-width: 1120px;

  @media screen and (max-width: 767px) {
    margin-top: 82px;
  }

  a {
    display: grid;
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    border: 1px solid #000;
    aspect-ratio: 548 / 174;
    width: 548px;
    font-size: 20px;

    @media screen and (max-width: 767px) {
      aspect-ratio: 608/200;
      width: 100%;
      font-size: calc(20 * 100vw / 767);
    }

    &.lineup {
      row-gap: 20px;
      align-content: center;
      justify-items: center;
      background: #000;
      color: #fff;
      text-align: center;

      @media screen and (max-width: 767px) {
        row-gap: 10px;
      }

      .text {
        letter-spacing: 0.14em;

        @media screen and (max-width: 767px) {
          font-size: calc(13 * 100vw / 375);
        }
      }

      svg {
        width: 130px;

        @media screen and (max-width: 767px) {
          width: 23%;
        }
      }
    }

    &.find-shops {
      align-content: center;
      background: linear-gradient(to right, #fff, #eff3f7);

      img {
        position: absolute;
        right: 10%;
        bottom: 0;
        width: 52%;
      }

      .text {
        padding-left: 10.8%;
        letter-spacing: 0.2em;

        @media screen and (max-width: 767px) {
          font-size: calc(13 * 100vw / 375);
        }
      }
    }

    &:hover {
      &.lineup {
        background: #fff;
        color: #000;
      }

      &.find-shops {
        background: #095540;
        color: #fff;
      }
    }
  }

  .bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .link-arrow {
    position: absolute;
    top: 24px;
    right: 24px;

    @media screen and (max-width: 767px) {
      top: 14px;
      right: 14px;
      width: 13px;
      height: 13px;
    }
  }
}

.lp-footer {
  display: grid;
  row-gap: 95px;
  justify-items: center;
  margin-top: 130px;
  background: #095540;
  padding: 48px 0;
  color: #fff;

  @media screen and (max-width: 767px) {
    row-gap: 36px;
    margin-top: 83px;
    padding: 40px 0;
    font-size: 12px;
  }

  img {
    width: 100px;

    @media screen and (max-width: 767px) {
      width: 75px;
    }
  }

  a {
    transition: all 0.3s;

    &:hover {
      opacity: 0.7;
    }
  }
}
