@charset "UTF-8";

/* ============================================================
  商品ヒーロー(黒背景+二重枠カード)
  =========================================================== */

.product-hero {
  background:
    linear-gradient(rgba(20, 20, 20, 0.18), rgba(20, 20, 20, 0.18)) 0% 0% /
      cover no-repeat,
    url(../img/wh-bg.png) 0% 0% / 200px 200px repeat rgb(20, 20, 20);
  padding: 80px 20px;
  margin-top: 88px;
}

.product-hero__card {
  max-width: 1180px;
  margin: 0 auto;
  max-height: 586.41px;
  position: relative;
  background: url(../img/bq-frame-pc.png);
  object-fit: cover;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 60px 50px;
  color: var(--color-text-light);
}
.product-hero__card::before {
  content: ""; /* ★必須 */
  position: absolute; /* ★必須 */
  left: 40px; /* 位置はデザインに合わせて調整 */
  bottom: 40px;
  width: min(509px, 60%);
  aspect-ratio: 3 / 2; /* maki.png の縦横比に合わせて */
  background: url(../img/maki-bg.png) center / contain no-repeat;
  pointer-events: none;
  z-index: 0; /* テキストの背面に */
}

/* テキストを薪より前面に */
.product-hero__text,
.product-hero__img {
  position: relative;
  z-index: 1;
}
.product-hero__text {
  text-align: center;
  position: relative;
}

.product-hero__model {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 1;
}

.product-hero__name {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(5rem, 6vw, 9rem);
  line-height: 1;
  margin: 15px 0;
}

.product-hero__name-ja {
  margin: 0;
  font-family: var(--font-ja);
  letter-spacing: 0.3em;
  line-height: 1;
}

.product-hero__catch {
  margin: 40px 0 0;
  font-family: var(--font-ja);
  font-size: clamp(1.8rem, 1.8vw, 2.2rem);
  color: var(--color-accent);
  letter-spacing: 0.1em;
  line-height: 1;
}

.product-hero__lead {
  margin: 30px 0 0;
}

/* ---------- 右画像 ---------- */
.granma__img,
.mamas__img,
.daughter__img,
.bq-mamas__img,
.bq-daughter__img {
  margin: 0 auto;
  z-index: 1;
}
.granma__img img {
  width: 100%;
  height: auto;
  max-width: 403px;
}
.mamas__img img {
  width: 100%;
  height: auto;
  max-width: 362.61px;
  max-height: 419.92px;
}
.daughter__img img {
  width: 100%;
  max-width: 321px;
  max-height: 372px;
}
.bq-mamas__img img {
  width: 100%;
  max-width: 368px;
  max-height: 470px;
}
.bq-daughter__img img {
  width: 100%;
  max-width: 329.75px;
  max-height: 407.19px;
}
/* ============================================================
  スペック+説明
  =========================================================== */

.product-spec__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px 20px 100px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(40px, 5vw, 100px);
  align-items: start;
}

.product-spec__img img {
  width: 100%;
  height: auto;
}

/* ---------- スペック表 ---------- */
.spec-table {
  margin: 0;
}

.spec-table__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--color-text);
}

/* 黒帯(奇数行のdt)…デザインでは1行おきに黒帯 */
.spec-table__row:nth-child(odd) dt {
  background: var(--color-bk, #141414);
  color: var(--color-text-light);
}

.spec-table__row dt {
  padding: 14px 20px;
  text-align: center;
  font-size: 1.5rem;
  align-self: stretch; /* 行の高さいっぱいに黒帯を伸ばす */
  display: flex;
  align-items: center; /* 中の文字を縦中央に */
  justify-content: center; /* 横も中央に */
  /* 既存の padding などはそのまま残す */
}

.spec-table__row dd {
  margin: 0;
  padding: 14px 20px;
  font-size: 1.5rem;
}

/* ---------- 説明文 ---------- */
.product-spec__text {
  margin-top: 50px;
  line-height: 2.4;
}

/* ============================================================
  納期案内
  =========================================================== */

.delivery-note {
  width: min(1140px, 100% - 40px);
  margin: 0 auto;
  padding: 60px 50px 70px;
  border: 1px solid var(--color-text);
  margin-bottom: 150px;
}

.delivery-note__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: clamp(2rem, 2vw, 2.4rem);
  letter-spacing: 0.08em;
}

.delivery-note__text {
  margin-top: 40px;
}

/* ============================================================
  レスポンシブ
  =========================================================== */
@media (max-width: 980px) {
  .product-spec__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 20px 60px;
  }
  .product-spec__img {
    /* 下に回したい方 */
    order: 2;
  }
  .product-spec__detail {
    /* 上に持ってきたい方 */
    order: 1;
  }
}
@media (max-width: 786px) {
  .product-hero {
    margin-top: 64px;
  }
}

@media (max-width: 680px) {
  .product-hero__card {
    grid-template-columns: 1fr;
    gap: 30px;
    background: url(../img/bq-frame-sp.png);
    object-fit: cover;
    background-size: 100% 100%;
    height: 100%;
    max-height: 100%;
  }
  .product-hero {
    padding: 20px 0px;
  }

  .product-hero__card::before {
    width: 70%;

    left: 0px;
  }
  .product-hero__model,
  .product-hero__name,
  .product-hero__name-ja,
  .product-hero__lead {
    color: var(--color-text-light);
  }
  .product-hero__name {
    margin: 5px 0;
  }
  .product-hero__catch {
    margin-top: 15px;
  }
  .product-hero__img img {
    margin: 0 auto;
  }

  .spec-table__row {
    grid-template-columns: 1fr; /* 縦積み */
    border-bottom: 1px solid rgba(25, 6, 6, 0.25); /* 罫線を細く軽く */
    padding: 16px 4px;
  }

  .spec-table__row:nth-child(odd) dt {
    background: none; /* 黒帯を解除 */
    color: inherit;
  }

  .spec-table__row dt {
    padding: 0;
    justify-content: flex-start; /* 中央寄せ→左寄せ */
    font-size: 1.4rem;
    color: var(--color-accent); /* ラベルはアクセント色で小さく */
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  .spec-table__row dd {
    padding: 0;
    font-size: 1.6rem; /* 値の方を主役に */
  }

  .delivery-note {
    margin: 0 20px 80px;
    padding: 40px 24px 50px;
  }

  .product-hero__card {
    padding: 60px 20px;
  }
  .granma__img img,
  .mamas__img img,
  .daughter__img img,
  .bq-mamas_img img,
  .bq-daughter__img img {
    padding: 0 15px;
  }
}
