html {
  font-size: 62.5%;
  @media screen and (max-width: 1200px) {
    font-size: 58%;
  }
  @media screen and (max-width: 1100px) {
    font-size: 52%;
  }
  @media screen and (max-width: 920px) {
    font-size: 80%;
  }
  @media screen and (max-width: 666px) {
    font-size: 62.5%;
  }
  figure {
    margin: 0;
  }
}
.price-page {
  font-family: 'Noto Sans JP', sans-serif;
  color: #161616;
  line-height: 1.45;
  margin-top: 75px;
  overflow-x: clip;
}

.price-wrap {
  width: min(116.5rem, calc(100% - 4rem));
  margin: 0 auto;
}

.price-hero {
  background: #f7f1e8 url(../img/partners/hero-bg.webp) no-repeat top center / contain;
  padding: 11.3rem 0 7.3rem;
  position: relative;
  overflow: hidden;
}

.price-hero h1 {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
}

.price-hero-cta {
  margin-top: 3.6rem;
  display: flex;
  justify-content: center;
  gap: 5.8rem;
}

.price-btn {
  --btn-bg: linear-gradient(107deg, #f76c37 25.531%, #fc8332 83.18%);
  --btn-color: #fff;
  --btn-border-color: #f2632d;
  min-width: 37.12rem;
  padding: 1rem 2rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 1.6rem;
  text-decoration: none;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--btn-color);
  z-index: 1;
  transition: transform 0.3s ease-out;
}

.price-btn::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 16rem;
  background: var(--btn-bg);
  z-index: -1;
}

.price-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 100%;
  height: 100%;
  border-radius: 16rem;
  background: var(--btn-border-color);
  z-index: -2;
  transition: transform 0.3s ease-out;
}

.price-btn:hover {
  transform: translateY(0.64rem);
}

.price-btn:hover::after {
  transform: translateY(-0.64rem);
}

.price-bottom-cta {
  .price-btn {
    min-width: 35rem;
    padding: 1.8rem 1rem;
    font-size: 1.8rem;
  }
}

.price-structure {
  margin-top: 8.9rem;
}

.price-title {
  padding-left: 2.88rem;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}

.price-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 100%;
  border-radius: 0 0.4rem 0.4rem 0;
  background: #fc8332;
}

.price-structure-grid {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12rem;
  align-items: center;
}

.price-card {
  border: 0.6rem solid rgba(252, 131, 50, 0.12);
  border-radius: 1.8rem;
  padding: 4.6rem 1rem 4.1rem;
  text-align: center;
  &:not(:first-child) {
    position: relative;
    &::before {
      content: '';
      position: absolute;
      top: 50%;
      left: -9.5rem;
      transform: translateY(-50%);
      width: 6.4rem;
      aspect-ratio: 1/1;
      background: url(../img/price/icon_plus.svg) no-repeat top center/contain;
    }
  }
}

.price-card img {
  width: 15rem;
  height: auto;
}

.price-card h3 {
  min-height: calc(2 * 1.3 * 3rem);
  margin-top: 2.5rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
}

.price-card p {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.price-plus {
  width: 6.4rem;
  aspect-ratio: 1/1;
}

.price-plus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.price-combo {
  margin-top: 7.4rem;
  .price-title {
    font-size: 3rem;
  }
}

.price-inner {
  margin-top: 3.6rem;
}

.price-combo-box {
  height: 20.8rem;
  border: 0.2rem dashed #fc8332;
  border-radius: 1rem;
  padding: 0 1.6rem;
  display: grid;
  grid-template-columns: 20.5rem 1fr;
  gap: 7.8rem;
  align-items: center;
  &:not(:first-child) {
    margin-top: 2.7rem;
  }
}

.price-combo-no {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;

  span {
    display: block;
    color: #fc8332;
    font-size: 2.5rem;
  }
}

.price-combo-flow {
  display: flex;
  align-items: center;
  gap: 8rem;
}

.price-combo-option {
  position: relative;
  border-radius: 1rem;
  background: #faf4ea;
  padding: 2.6rem 11rem 2.6rem 4.2rem;
  text-align: center;
}

.price-combo-note {
  font-size: 1.6rem;
  font-weight: 700;
}

.price-combo-line {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.price-combo-line .price-combo-item + .price-combo-item {
  position: relative;
  padding-left: 6.4rem;
}
.price-combo-line .price-combo-item + .price-combo-item::before {
  content: '';
  position: absolute;
  top: 5.4rem;
  left: 0;
  transform: translateY(-50%);
  width: 3.2rem;
  aspect-ratio: 1/1;
  background: url('../img/price/icon_plus.svg') no-repeat center/contain;
}

.price-combo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.price-combo-item img {
  width: 7.7rem;
  aspect-ratio: 1/1;
}

.price-combo-item span {
  font-size: 1.6rem;
  font-weight: 700;
}

.price-combo-etc {
  position: absolute;
  bottom: 2.9rem;
  right: 4.3rem;
  font-size: 1.2rem;
}
.price-combo-option-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
  margin-top: 2rem;
  img {
    width: 5.5rem;
  }
}
.price-combo-option-line .price-combo-item {
  position: relative;
  gap: 0.5rem;
  padding-left: 5.5rem;
  span {
    font-size: 1.3rem;
  }
}

.price-combo-option-line .price-combo-item::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 0;
  transform: translateY(-50%);
  width: 2.24rem;
  aspect-ratio: 1/1;
  margin-right: 2.24rem;
  display: inline-block;
  background: url('../img/price/icon_plus.svg') no-repeat center/contain;
}

.price-bottom-cta {
  padding: 4.4rem 0 11.8rem;
  display: flex;
  justify-content: center;
  gap: 4.8rem;
}

@media screen and (max-width: 920px) {
  .price-wrap {
    width: min(54rem, calc(100% - 4rem));
  }
  .price-hero {
    padding: 4rem 0 4.8rem;
  }

  .price-hero h1 {
    font-size: 2.5rem;
  }

  .price-hero-cta {
    margin-top: 2.3rem;
    flex-direction: column;
    gap: 2.6rem;
  }

  .price-btn {
    width: 100%;
    min-width: 0;
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
  }

  .price-btn::before,
  .price-btn::after {
    border-radius: 8rem;
  }

  .price-bottom-cta {
    padding: 4rem 0 5rem;
    flex-direction: column;
    gap: 3rem;
  }

  .price-bottom-cta .price-btn {
    width: 100%;
    min-width: 0;
    padding: 1.4rem 2rem;
    font-size: 1.8rem;
  }

  .price-structure {
    margin-top: 4rem;
  }

  .price-title {
    padding-left: 1.6rem;
    font-size: 2.8rem;
    line-height: 1.4;
  }

  .price-title::before {
    width: 0.8rem;
  }

  .price-structure-grid {
    margin-top: 3.2rem;
    grid-template-columns: 1fr;
    gap: 9.6rem;
    align-items: center;
    padding: 0 1.2rem;
  }

  .price-card {
    min-height: 32rem;
    border: 0.6rem solid rgba(252, 131, 50, 0.12);
    border-radius: 1.8rem;
    padding: 4.8rem 1rem 1.8rem;
    &:not(:first-child) {
      &::before {
        top: -8.5rem;
        left: 50%;
        transform: translate(-50%, 0);
        width: 6.4rem;
      }
    }
  }

  .price-card img {
    width: 11rem;
  }

  .price-card h3 {
    min-height: auto;
    margin-top: 2.2rem;
    font-size: 2rem;
    line-height: 1.5;
  }

  .price-card p {
    margin-top: 1.2rem;
    font-size: 1.4rem;
  }

  .price-plus {
    width: 3.2rem;
    height: 3.2rem;
    margin: 1.5rem 0;
  }

  .price-combo {
    margin-top: 7.6rem;
    .price-title {
      font-size: 2.6rem;
    }
  }

  .price-inner {
    margin-top: 3.6rem;
  }

  .price-combo-box {
    height: auto;
    border: 0.2rem dashed #fc8332;
    border-radius: 0.8rem;
    padding: 3.6rem 1.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 4rem;
    align-items: stretch;
    &:not(:first-child) {
      margin-top: 2.8rem;
    }
    &:nth-child(2) {
      .price-combo-line {
        padding: 0 4rem;
      }
      .price-combo-item {
        width: 50%;
      }
    }
    &:nth-child(3) {
      .price-combo-item {
        width: 33%;
      }
    }
  }

  .price-combo-no {
    font-size: 1.6rem;

    span {
      font-size: 2.5rem;
    }
  }

  .price-combo-flow {
    flex-direction: column;
    gap: 1.2rem;
  }

  .price-combo-option {
    width: 100%;
    border-radius: 1rem;
    margin-top: 3.6rem;
    padding: 2.6rem 1.2rem 6.5rem;
  }

  .price-combo-note {
    font-size: 1.6rem;
  }

  .price-combo-line {
    display: flex;
    align-items: center;
    gap: 2.4rem 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  .price-combo-line .price-combo-item + .price-combo-item {
    position: relative;
    padding-left: 0;
  }

  .price-combo-line .price-combo-item + .price-combo-item::before {
    display: none;
  }

  .price-combo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }

  .price-combo-item img {
    width: 7.7rem;
  }

  .price-combo-item span {
    font-size: 1.6rem;
  }

  .price-combo-etc {
    bottom: 2.9rem;
    right: 2.5rem;
    font-size: 1.2rem;
  }

  .price-combo-option-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4.3rem;
    margin-top: 3rem;
    img {
      width: 5.5rem;
    }
  }

  .price-combo-option-line .price-combo-item {
    position: relative;
    gap: 0.3rem;
    padding-left: 0;
    span {
      font-size: 1.3rem;
    }
  }

  .price-combo-option-line .price-combo-item::before {
    display: none;
  }
}
