@charset "utf-8";

/* ============================================================
   製品紹介ページ（ENERGY POINT）専用スタイル
   ============================================================ */

.product {
  width: 1000px;
  max-width: calc(100% - 60px);
  margin-inline: auto;
}

.product .page-head { padding-top: 180px; }

.product__hero {
  width: 632px;
  max-width: calc(100% - 60px);
  margin: 102px auto 0;
}
.product__hero img { width: 100%; }

.product__lead {
  margin-top: 70px;
  font-size: 18px;
  line-height: 1.8;
}

.product__spec-title {
  margin-top: 50px;
  font-family: var(--f-heading);
  font-size: 22px;
  line-height: 1.8;
}

/* ---------- 仕様表 ---------- */
.spec { margin-top: 50px; }
.spec:first-of-type { margin-top: 19px; }

.spec__title {
  padding-left: 15px;
  border-left: 1px solid var(--c-black);
  font-family: var(--f-heading);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
}

.spec__list { margin-top: 16px; }

.spec__row {
  display: grid;
  grid-template-columns: 500px 1fr;
  align-items: center;
  min-height: 56px;
}

.spec__row dt,
.spec__row dd {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--c-ink);
}

.spec__title + .spec__list .spec__row:first-child { margin-top: 0; }

@media (max-width: 840px) {
  .product { width: 100%; max-width: calc(100% - 60px); }
  .product .page-head { padding-top: 140px; }

  .product__hero { width: calc(100% - 60px); margin-top: 52px; }
  .product__lead { margin-top: 50px; font-size: 14px; }
  .product__spec-title { margin-top: 48px; font-size: 14px; }

  .spec { margin-top: 20px; }
  .spec__title { font-size: 18px; }
  .spec__list { margin-top: 17px; }

  .spec__row {
    grid-template-columns: 198px 1fr;
    min-height: 0;
    padding-block: 4px;
  }
  .spec__row dt,
  .spec__row dd { font-size: 14px; line-height: 1.4; }
}

/* ---------- 「トップに戻る」ボタン ---------- */
.product__back {
  margin: 68px auto 107px;
  text-align: center;
}
.product__back a {
  display: inline-grid;
  place-items: center;
  width: 280px;
  max-width: 100%;
  height: 60px;
  background: var(--c-gray);
  border-radius: 32px;
  font-family: var(--f-heading);
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-white);
  transition: opacity .2s;
}
.product__back a:hover { opacity: .8; }

@media (max-width: 840px) {
  .product__back { margin: 70px auto 100px; }
  .product__back a { width: 240px; height: 54px; font-size: 16px; }
}

/* ============================================================
   会員専用ページ
   ============================================================ */
.membership { padding-top: 133px; }

.membership__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
}
.membership__title::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--c-black);
}

.membership__lead {
  margin-top: 83px;
  font-size: 16px;
  line-height: 1.8;
}

.membership__button { margin-top: 50px; text-align: center; }
.membership__button a {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  background: var(--c-bg);
  transition: opacity .2s;
}
.membership__button a:hover { opacity: .8; }
.membership__button img { width: 100%; }

.p-membership .product__back { margin: 249px auto 90px; }

@media (max-width: 840px) {
  .membership { padding-top: 97px; }
  .membership__title { font-size: 18px; }
  .membership__lead { margin-top: 68px; font-size: 14px; }
  .membership__button { margin-top: 80px; }
  .membership__button a { width: 165px; }
  .p-membership .product__back { margin: 250px auto 129px; }
  .p-membership .product__back a { width: 190px; height: 50px; font-size: 16px; }
}
