.promotion-wrap {
  display: flex;
  flex-direction: column;
  background-color: #e0eeff;

  & .promotion-section1 {
    height: 1033px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    isolation: isolate;

    @media (max-width: 767px) {
      height: 703px;
      padding-top: 84px;
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      height: 822px;
    }

    @media (min-width: 1024px) and (max-width: 1279px) {
      height: 909px;
    }

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("../image/promotion/main_section_bg_pc.png");
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      clip-path: polygon(0 0, 100% 0, 100% 76%, 0 100%);
      z-index: -1;

      @media (max-width: 767px) {
        background-image: url("../image/promotion/main_section_bg_mobile.png");
        clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
        background-position: bottom;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        background-image: url("../image/promotion/main_section_bg_tablet.png");
        clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
      }

      @media (min-width: 1024px) and (max-width: 1279px) {
        background-image: url("../image/promotion/main_section_bg_labtop.png");
        clip-path: polygon(0 0, 100% 0, 100% 83%, 0 100%);
      }
    }

    & .promotion-coin {
      position: absolute;
      right: 15.36%;
      bottom: -10px;
      z-index: 1;

      @media (max-width: 767px) {
        right: 0;
        bottom: -70px;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        right: 0;
        bottom: -150px;
      }

      @media (min-width: 1024px) and (max-width: 1279px) {
        right: 0;
        bottom: -91px;
      }

      & img {
        display: block;
      }
    }

    & .promotion-main-title.promotion-main-title-desktop {
      @media (max-width: 767px) {
        display: none;
      }
    }

    & .promotion-main-title.promotion-main-title-mobile {
      display: none;

      @media (max-width: 767px) {
        display: flex;
      }

      & .mobile-bubble-row {
        align-items: center;

        & .speech_bubble {
          margin-left: 0;
          top: 5px;
        }
      }

      & .mobile-ojik {
        font-weight: 900;
        color: #ffe139;
        margin-left: 0.8rem;
      }

      & .mobile-usign-row {
        top: 0;

        & span:first-child {
          font-weight: 900;
          color: #ffe139;
        }
      }
    }

    & .promotion-main-title {
      color: #fff;
      font-size: 7.2rem;
      font-weight: 700;
      display: flex;
      flex-direction: column;
      margin-top: 22.5rem;
      line-height: normal;

      @media (max-width: 767px) {
        margin-top: 4.6rem;
        font-size: 5.4rem;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        margin-top: 16.7rem;
        font-size: 6.8rem;
      }

      @media (min-width: 1024px) and (max-width: 1279px) {
        margin-top: 17.5rem;
      }

      & div {
        display: flex;
        justify-content: center;
        align-items: center;
      }

      & > div:last-child {
        position: relative;

        & > span:first-child {
          font-weight: 900;
          color: #ffe139;
        }
      }

      &:first-child {
        font-size: 6.8rem;

        @media (max-width: 767px) {
          font-size: 5.4rem;
        }

        @media (min-width: 768px) and (max-width: 1023px) {
          font-size: 6.4rem;
        }
      }

      & .speech_bubble {
        width: 293px;
        height: 107px;
        position: relative;
        color: #0040c9;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 1.9rem;
        top: 9px;

        @media (max-width: 767px) {
          width: 191px;
          height: 69px;
          font-size: 5.4rem;
          top: 9px;
        }

        @media (min-width: 768px) and (max-width: 1023px) {
          margin-left: 0.883rem;
          width: 271px;
          height: 96.6px;
          top: 9px;
        }

        & span {
          position: relative;
          z-index: 1;
          margin-bottom: 2rem;

          @media (max-width: 767px) {
            margin-bottom: 0.9rem;
          }

          @media (min-width: 768px) and (max-width: 1023px) {
            margin-bottom: 1.9rem;
          }
        }

        & span:first-child {
          font-size: 4.1rem;
          font-weight: 400;

          @media (max-width: 767px) {
            font-size: 2.8rem;
          }

          @media (min-width: 768px) and (max-width: 1023px) {
            font-size: 3.7rem;
          }
        }
        & span:last-child {
          font-size: 5.8rem;
          font-weight: 900;
          margin-left: 0.6rem;

          @media (max-width: 767px) {
            font-size: 3.6rem;
          }

          @media (min-width: 768px) and (max-width: 1023px) {
            font-size: 5.4rem;
            margin-right: 0.4rem;
          }
        }

        &::before {
          content: "";
          background-image: url("../image/promotion/speech_bubble_pc.png");
          background-size: contain;
          background-repeat: no-repeat;
          filter: drop-shadow(4px 4px 20px rgba(0, 0, 0, 0.25));
          z-index: 0;
          position: absolute;
          inset: 0;

          @media (max-width: 767px) {
            background-image: url("../image/promotion/speech_bubble_mobile.png");
          }

          @media (min-width: 768px) and (max-width: 1023px) {
            background-image: url("../image/promotion/speech_bubble_tablet.png");
          }

          @media (min-width: 1024px) and (max-width: 1279px) {
            background-image: url("../image/promotion/speech_bubble_labtop.png");
          }
        }
      }
    }

    & .promotion-main-description {
      margin-top: 1.8rem;
      color: #fff;
      font-size: 3.2rem;
      font-weight: 500;
      line-height: normal;

      @media (max-width: 767px) {
        margin-top: 2.3rem;
        font-size: 2.2rem;
        line-height: 150%;
        text-align: center;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        margin-top: 1rem;
        font-size: 2.7rem;
      }
    }

    & .promotion-main-period {
      margin-top: 5.8rem;
      display: flex;
      align-items: center;
      column-gap: 1.6rem;
      color: rgba(255, 255, 255, 0.8);
      font-size: 2.8rem;
      font-weight: 500;

      @media (max-width: 767px) {
        margin-top: 2.4rem;
        font-size: 1.8rem;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        margin-top: 4.8rem;
        font-size: 2.4rem;
      }

      & > span:first-child {
        font-weight: 700;
      }

      & div {
        width: 4px;
        height: 26px;
        background-color: rgba(204, 204, 204, 0.7);

        @media (max-width: 767px) {
          width: 3px;
          height: 16px;
        }
      }
    }

    & .promotion-main-btn {
      display: flex;
      justify-content: center;
      align-items: center;
      column-gap: 0.4rem;
      height: 80px;
      width: 617px;
      background-color: #111;
      border-radius: 1.2rem;
      box-shadow: 8px 8px 22.2px 0 rgba(22, 39, 76, 0.4);
      color: #fff;
      font-size: 2.4rem;
      font-weight: 500;
      margin-top: 5.8rem;
      cursor: pointer;

      @media (max-width: 767px) {
        width: 304px;
        height: 60px;
        margin-top: 4.2rem;
        font-size: 1.8rem;
        border-radius: 1.2rem;

        & img {
          margin-top: 4px;
          width: 24px;
          height: 24px;
        }
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        width: 585px;
        margin-top: 4.8rem;
      }
    }
  }

  & .promotion-sec-default {
    padding-top: 16rem;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (max-width: 1023px) {
      padding-top: 11.2rem;
    }

    & .promotion-sec-title {
      font-weight: bold;
      font-size: 3.4rem;
      line-height: 140%;
      color: #111;
      letter-spacing: -0.68px;
      text-align: center;

      @media (max-width: 767px) {
        font-size: 2.6rem;
        letter-spacing: -0.52px;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        font-size: 3rem;
        letter-spacing: -0.6px;
      }

      & .primary {
        color: #1761fe;
      }
    }

    & .promotion-sec-sub-title {
      margin-top: 2rem;
      color: #536181;
      font-size: 2.4rem;
      line-height: 125%;
      letter-spacing: -0.48px;

      @media (max-width: 767px) {
        margin-top: 1.6rem;
        font-size: 2rem;
        letter-spacing: -0.4px;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        font-size: 2.2rem;
        letter-spacing: -0.44px;
      }
    }

    & .promotion-sec-content {
      margin-top: 4.8rem;
      display: flex;
      width: 100%;
      justify-content: center;

      @media (max-width: 767px) {
        margin-top: 3.6rem;
      }
    }
  }

  & .promotion-banner {
    background-image: url("../image/promotion/banner_bg_pc.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 12.8rem 0;
    margin-top: 32.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    @media (max-width: 767px) {
      background-image: url("../image/promotion/banner_bg_mobile.png");
      max-height: 400px;
      padding: 7.7rem 0;
      margin-top: 11.2rem;
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      background-image: url("../image/promotion/banner_bg_tablet.png");
      max-height: 542px;
      padding: 13.25rem 0;
      margin-top: 16.8rem;
    }

    @media (min-width: 1024px) and (max-width: 1279px) {
      background-image: url("../image/promotion/banner_bg_labtop.png");
      max-height: 542px;
      margin-top: 21.8rem;
    }

    & .promotion-banner-title {
      display: flex;
      flex-direction: column;
      font-weight: 700;
      font-size: 4rem;
      letter-spacing: -0.8px;
      line-height: 140%;
      color: #fff;
      text-align: center;

      @media (max-width: 767px) {
        font-size: 3.2rem;
        letter-spacing: -0.64px;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        font-size: 3.8rem;
        letter-spacing: -0.76px;
      }

      & .highlight {
        color: #ffe139;
      }
    }

    & .promotion-banner-sub-title {
      margin-top: 2rem;
      font-size: 2.8rem;
      font-weight: 400;
      color: #fff;

      @media (max-width: 767px) {
        font-size: 2rem;
        line-height: 2.8rem;
        margin-top: 0.8rem;
        text-align: center;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        font-size: 2.6rem;
      }
    }

    & .promotion-banner-btn {
      background-color: #111;
      border-radius: 1.2rem;
      box-shadow: 8px 8px 22.2px 0 rgba(22, 39, 76, 0.4);
      margin-top: 4rem;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 80px;
      column-gap: 0.4rem;
      width: 484px;
      color: #fff;
      font-size: 2.4rem;
      font-weight: 500;
      cursor: pointer;

      @media (max-width: 767px) {
        width: 304px;
        height: 60px;
        margin-top: 3.2rem;
        font-size: 1.8rem;

        & img {
          margin-top: 4px;
          width: 24px;
          height: 24px;
        }
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        width: 450px;
      }
    }
  }
}

.partner-card-container {
  max-width: 1132px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  background-color: #e0eeff;

  @media (max-width: 767px) {
    max-width: 100%;
    padding: 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    max-width: 688px;
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) and (max-width: 1279px) {
    max-width: 896px;
    grid-template-columns: repeat(3, 1fr);
  }

  & .partner-card {
    background-color: #fff;
    border-radius: 1.6rem;
    height: 112px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 20px 20px 50px 0 rgba(139, 164, 195, 0.4);
  }
}

.diff-table {
  max-width: 1132px;
  width: 100%;
  border-radius: 1.6rem;
  background-color: #e0eeff;
  box-shadow: 20px 20px 50px 0 rgba(139, 164, 195, 0.4);

  @media (max-width: 767px) {
    max-width: 100%;
    margin: 0 2rem;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    max-width: 688px;
  }

  @media (min-width: 1024px) and (max-width: 1279px) {
    max-width: 896px;
  }

  & .diff-table-header {
    display: grid;
    grid-template-columns: 326fr 403fr 403fr;
    height: 68px;
    background-color: #f4f7f9;
    border-top-left-radius: 1.6rem;
    border-top-right-radius: 1.6rem;
    border-bottom: 1px solid #e5e7eb;

    @media (max-width: 767px) {
      grid-template-columns: 68fr 126fr 126fr;
      border-top-left-radius: 1.2rem;
      border-top-right-radius: 1.2rem;
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      grid-template-columns: 134fr 277fr 277fr;
    }

    @media (min-width: 1024px) and (max-width: 1279px) {
      grid-template-columns: 200fr 348fr 348fr;
    }

    & .diff-table-col {
      font-size: 2rem;
      font-weight: 500;

      @media (max-width: 767px) {
        font-size: 1.4rem;
        padding: 0 1.2rem;
        letter-spacing: -0.28px;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        font-size: 1.8rem;
      }

      &:nth-child(2) {
        color: #111;
        border-left: 1px solid #e5e7eb;
      }

      &:nth-child(3) {
        color: #fff;
        background-color: #1761fe;
        font-weight: 700;
        border-top-right-radius: 1.6rem;
        border-left: 1px solid #e5e7eb;
      }
    }
  }

  & .diff-table-row {
    display: grid;
    height: 72px;
    grid-template-columns: 326fr 403fr 403fr;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;

    @media (max-width: 767px) {
      grid-template-columns: 68fr 126fr 126fr;
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      grid-template-columns: 134fr 277fr 277fr;
    }

    @media (min-width: 1024px) and (max-width: 1279px) {
      grid-template-columns: 200fr 348fr 348fr;
    }

    &:nth-child(2),
    &:nth-child(3) {
      background-color: #fefce8;
      & .diff-table-col:nth-child(3) {
        font-size: 1.8rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 0.4rem;

        @media (max-width: 767px) {
          font-size: 1.4rem;
          flex-direction: column;
          row-gap: 0.4rem;
        }
      }
    }

    &:nth-child(4),
    &:nth-child(5) {
      & .diff-table-col:nth-child(2) {
        background-color: #f9fafb;
      }

      & .diff-table-col:nth-child(3) {
        font-size: 1.8rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 0.4rem;

        @media (max-width: 767px) {
          font-size: 1.4rem;
          flex-direction: column;
          row-gap: 0.4rem;
        }
      }
    }

    &:last-child {
      border-bottom-left-radius: 1.6rem;
      border-bottom-right-radius: 1.6rem;
    }
  }
}

.diff-table-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
  font-size: 1.6rem;
  border-left: 1px solid #e5e7eb;

  @media (max-width: 767px) {
    padding: 0 1.4rem;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: -0.28px;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    padding: 0 2rem;
  }

  &:nth-child(1) {
    justify-content: flex-start;
    color: #111;
    font-weight: 600;

    @media (max-width: 767px) {
      justify-content: center;
    }
  }

  &:nth-child(2) {
    color: #555;
  }

  &:nth-child(3) {
    color: #1761fe;
    font-weight: 600;
  }
}

.price-card-wrap {
  display: grid;
  column-gap: 2.8rem;
  grid-template-columns: 400px 400px;
  background-color: #e0eeff;

  @media (max-width: 767px) {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column-reverse;
    padding: 0 2rem;
    row-gap: 2rem;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    grid-template-columns: 334px 334px;
    column-gap: 2rem;
  }

  & .price-card {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 1.6rem;
    box-shadow: 20px 20px 50px 0 rgba(139, 164, 195, 0.4);

    @media (max-width: 767px) {
      height: 100%;
      box-shadow: 10px 10px 30px 0 rgba(139, 164, 195, 0.4);
    }

    & .price-card-header {
      padding: 3.2rem 2.4rem 2.4rem;
      display: flex;
      flex-direction: column;
      background-color: #677996;
      border-top-left-radius: 1.6rem;
      border-top-right-radius: 1.6rem;

      &.primary {
        background-color: #1761fe;
        position: relative;
        & .price-card-top-badge {
          background-color: #ffe139;
          border-top-right-radius: 1.2rem;
          border-bottom-left-radius: 1.6rem;
          padding: 0.75rem 1.2rem;
          font-size: 1.6rem;
          color: #47423f;
          font-weight: 600;
          position: absolute;
          top: 4px;
          right: 4px;
        }
      }

      & .price-card-title {
        font-weight: 700;
        font-size: 2.4rem;
        color: #fff;
      }

      & .price-card-label-wrap {
        display: flex;
        align-items: center;
        margin-top: 3.2rem;
        column-gap: 0.5rem;
      }

      & .price-card-price-wrap {
        display: flex;
        align-items: baseline;
        margin-top: 0.8rem;
        color: #e8edf3;
        line-height: normal;

        @media (max-width: 1023px) {
          flex-direction: column;
          align-items: flex-start;
          margin-top: 1.2rem;
        }

        & .arrow-wrap {
          font-size: 1.8rem;
          padding-right: 1.4rem;
          position: relative;

          & div {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0;

            @media (max-width: 1023px) {
              top: 75%;
            }
          }
        }

        & .price-after-wrap {
          display: flex;
          align-items: baseline;
        }

        & .after-price {
          font-size: 3.4rem;
          color: #fff;
          font-weight: 900;
          margin-left: 0;
        }

        & .case-price {
          font-size: 1.4rem;
        }
      }

      & .price-card-guide {
        line-height: 214.286%;
        margin-top: 0.4rem;
        color: #e8edf3;
        font-weight: 400;
        letter-spacing: -0.28px;
        font-size: 1.4rem;
      }
    }

    & .price-card-content {
      padding: 3.2rem 2.8rem;
      display: flex;
      flex-direction: column;
      background-color: #fff;
      border: 4px solid transparent;
      box-sizing: border-box;
      border-bottom-left-radius: 1.6rem;
      border-bottom-right-radius: 1.2rem;

      @media (max-width: 767px) {
        padding: 2.4rem 2rem;
      }

      @media (min-width: 768px) and (max-width: 1023px) {
        padding: 3.2rem 2rem;
      }

      &.primary {
        border-color: #1761fe;
      }

      & .price-card-content-list {
        display: flex;
        flex-direction: column;
        row-gap: 1.8rem;

        @media (max-width: 767px) {
          row-gap: 1.2rem;
        }

        @media (min-width: 768px) and (max-width: 1023px) {
          row-gap: 1.2rem;
        }

        & div {
          display: grid;
          grid-template-columns: 26px 1fr;
          font-size: 1.8rem;
          color: #111;
          font-weight: 500;
          align-items: center;
          white-space: nowrap;
          letter-spacing: 0;
          line-height: normal;

          @media (max-width: 767px) {
            font-size: 1.5rem;
            align-items: start;
          }

          @media (min-width: 768px) and (max-width: 1023px) {
            font-size: 1.5rem;
          }

          & div:first-child {
            display: flex;
            justify-self: center;
            align-self: center;
          }

          & .dot {
            width: 4px;
            height: 4px;
            background-color: #4e5c73;
            border-radius: 100%;
          }
        }
      }

      & .price-card-btn {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0.8rem;
        font-weight: 700;
        font-size: 1.6rem;
        color: #fff;
        background-color: #4a5565;
        margin-top: 2.8rem;
        cursor: pointer;

        &.primary {
          background-color: #1761fe;
        }
      }
    }
  }
}

.promotion-label {
  padding: 0 1rem;
  color: #e04f00;
  font-size: 1.4rem;
  font-weight: 600;
  background-color: #ffe139;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 767px) {
    font-size: 1.4rem;
  }
}

.promotion-notice {
  background-color: #1e1e24;
  display: flex;
  justify-content: center;
  padding: 6rem 0rem;

  @media (max-width: 767px) {
    padding: 4rem 2rem;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    padding: 6rem 4.8rem;
  }

  @media (min-width: 1024px) and (max-width: 1339px) {
    padding: 6rem 4rem;
  }
}

.promotion-notice-inner {
  width: 1280px;
  max-width: 100%;
  color: #acacac;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.promotion-notice-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.promotion-notice-label {
  display: inline-flex;
  border: 1px solid #acacac;
  border-radius: 300px;
  padding: 0.8rem 1.6rem;
  color: #cecece;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: normal;
  width: fit-content;
}

.promotion-notice-list {
  display: flex;
  flex-direction: column;
  row-gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.48px;

  @media (max-width: 767px) {
    line-height: 1.9rem;
    letter-spacing: -0.42px;
    font-size: 1.4rem;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    line-height: 2.1rem;
  }

  & li {
    display: flex;
    gap: 0.8rem;
    line-height: 150%;
    white-space: nowrap;

    &::before {
      content: "※";
      flex-shrink: 0;
    }
  }
}

.mobile-br {
  display: block;

  @media (min-width: 768px) {
    display: none;
  }
}

.tablet-br {
  display: none;

  @media (min-width: 768px) and (max-width: 1023px) {
    display: block;
  }
}

.tablet-mobile-br {
  display: block;

  @media (min-width: 1024px) {
    display: none;
  }
}

.labtop-br {
  display: none;

  @media (min-width: 1024px) and (max-width: 1279px) {
    display: block;
  }
}

#sub.sub.promotion_page.discount {
  display: block;

  @media (max-width: 768px) {
    padding-top: 0;
  }
}
