@charset "Shift_JIS";

/* =========================
   LP base
========================= */
#lp-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: clamp(12px, 4vw, 24px);
  padding-bottom: 40px;
  box-sizing: border-box;
  text-align: center;
}

#lp-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

/* =========================
   Hero / Banner
========================= */
#lp-wrap .lp-hero {
  margin: 24px auto 32px;
}

#lp-wrap .lp-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Heading & Lead
========================= */
#lp-wrap .lp-heading {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 1.6rem;
}

#lp-wrap .lp-lead {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 auto 2rem;
  max-width: 640px;
}

/* =========================
   Product area
========================= */
#lp-wrap .lp-product-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
  margin-top: 4rem;
}

#lp-wrap .c-panel {
  width: 100%;
  box-sizing: border-box;
  height: 100%;
}

/* 商品カードの中身を画像幅に合わせる */
#lp-wrap .c-panel__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: clamp(160px, 40vw, 240px);
  margin: 0 auto;
}

/* 商品説明は非表示 */
#lp-wrap .c-panel__desc {
  display: none;
}

/* 商品画像 */
#lp-wrap .lp-product-area .c-panel__header {
  width: 100%;
  max-width: none; /* ← ここ重要 */
  margin: 0;
}

/* 商品説明は非表示 */
#lp-wrap .c-panel__desc {
  display: none;
}

#lp-wrap .c-panel__header__image {
  width: 100%;
  background-color: #fff;
}

/* 商品名 */
#lp-wrap .c-panel__name {
  font-size: 1.3rem;
}

/* 価格エリア */
#lp-wrap .c-panel__price-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1rem;
}

#lp-wrap .c-panel__discount {
  flex-basis: 100%;
}

#lp-wrap .c-label-discount {
  font-size: 1.4rem;
  padding: 3px 5px;
}

/* ボタン */
#lp-wrap .c-panel__action {
  display: flex;
  justify-content: center;
  font-size: 1.4rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

#lp-wrap .btn-primary {
  width: 85%;
}
/* =========================
   PC view
========================= */
@media screen and (min-width: 768px) {
  #lp-wrap .lp-product-area {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 24px;
  }

  #lp-wrap .lp-hero {
    margin: 40px auto 48px;
  }

  #lp-wrap .lp-heading {
    font-size: 2.6rem;
  }

  #lp-wrap .lp-lead {
    font-size: 1.7rem;
    margin-bottom: 5.6rem;
  }

  #lp-wrap .c-panel__name {
    font-size: 1.9rem;
  }

  #lp-wrap .c-panel__header {
    max-width: clamp(200px, 22vw, 260px);
  }
}
/* 商品2点用 */
#lp-wrap .lp-product-area.is-col-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 768px) {
  #lp-wrap .lp-product-area.is-col-2 {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center; /* 横の余白をきれいに */
  }
}
/* 商品1点用 */
#lp-wrap .lp-product-area.is-col-1 {
  grid-template-columns: 1fr;
  justify-items: center;
}

@media screen and (min-width: 768px) {
  #lp-wrap .lp-product-area.is-col-1 {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Back to TOP button
========================= */
#lp-wrap .lp-back-to-top {
  margin-top: 6rem;
  display: flex;
  justify-content: center;
}

#lp-wrap .lp-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 90%);
  padding: 14px 20px;
  border-radius: 9999px; /* 角丸 */
  background-color: #f3f3f3;
  color: #333;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  gap: 8px;
}

#lp-wrap .lp-back-btn:hover {
  background-color: #e6e6e6;
  transform: translateY(-1px);
}

/* ===== 矢印本体 ===== */
#lp-wrap .lp-back-btn__arrow {
  position: relative;
  width: 8px;
  height: 8px;
  display: inline-block;
}

/* ▶ */
#lp-wrap .lp-back-btn__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
}