/* ============================================
   Product Development Page
============================================ */
.product-page {
  background: #fff;
  color: #111;
  font-family: inherit;
}

.product-inner {
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
}

.product-container {
  width: min(1180px, 90%);
  margin: auto;
}

.product-hero {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 26%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.75) 100%),
    url("../images/product/mv.jpg") center / cover no-repeat;
  filter: saturate(0.9);
}

.product-hero:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(transparent, #050505);
}

.product-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 90%);
  margin: auto;
  padding-top: 170px;
}

.product-label {
  color: #b68a32;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.product-hero h1 {
  color: #fff;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  letter-spacing: 0.08em;
  margin: 20px 0;
  font-weight: 900;
}

.product-hero h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 28px;
}

.product-hero p {
  font-size: 15px;
  color: #ddd;
}

.product-breadcrumb {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 20px 0 55px;
  font-size: 12px;
  color: #777;
  letter-spacing: 0.08em;
}

.product-breadcrumb a {
  color: #333;
  text-decoration: none;
}

.product-breadcrumb span::before {
  content: ">";
  margin: 0 10px;
  color: #aaa;
}

.product-main-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 34px;
}

.product-copy {
  position: relative;
  padding-left: 72px;
}

.product-num {
  font-size: 10vw;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
}

.product-copy .product-num {
  font-size: 40px !important;
  position: absolute;
  left: 0;
  top: 0;
}

.product-copy h2,
.product-black h2,
.product-machine h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* ============================================
   Product Title Layout
============================================ */

.product-title-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.product-title-row .product-num {
  margin: 0;
  flex-shrink: 0;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111;
}

.product-title-body {
  flex: 1;
  color: #111;
}

.product-title-body h2 {
  margin: 0 0 10px;
  line-height: 1.4;
}

.product-title-body h3 {
  margin: 0;
}

.product-title-body h2 span {
  font-size: 0.8em;
}

.product-title-row--black {
  color: #fff;
}

/* ----------------------------------
   01
---------------------------------- */

.product-copy .product-title-row {
  margin-bottom: 28px;
}

/* ----------------------------------
   02
---------------------------------- */

.product-black__text .product-title-row {
  margin-bottom: 24px;
}

.product-black__text .product-num {
  color: #fff;
}

.product-black__text h2,
.product-black__text h3 {
  color: #fff;
}

.product-black__detail,
.product-machine__detail {
  padding-left: 85px;
}

.product-black__detail p,
.product-machine__detail p {
  margin-bottom: 25px;
}

/* ----------------------------------
   03
---------------------------------- */

.product-machine__text .product-title-row {
  margin-bottom: 24px;
}

/* ============================================
   SP
============================================ */

@media (max-width: 767px) {
  .product-title-row {
    gap: 14px;
    margin-bottom: 18px;
  }

  .product-title-row .product-num {
    font-size: 28px;
  }

  .product-title-body h2 {
    font-size: 20px;
    line-height: 1.5;
  }

  .product-title-body h3 {
    font-size: 14px;
    line-height: 1.6;
  }

  .product-black__detail,
  .product-machine__detail {
    padding-left: 49px;
  }
}

.product-copy h2 span,
.product-machine h2 span {
  font-size: 20px;
}

.product-copy h3,
.product-black h3,
.product-machine h3 {
  margin: 0 0 28px;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.product-copy p,
.product-black p,
.product-machine p,
.product-order p,
.product-contact p {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.product-badge-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 34px 0 34px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #999;
  padding: 10px 20px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-code {
  font-size: 13px;
  font-weight: 700;
}

.product-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-icons li {
  min-height: 92px;
  border-left: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding-bottom: 10px;
  text-align: center;
  position: relative;
  padding-inline: 5px;
}

.product-icons li::before {
  content: "";
  width: 36px;
  height: 36px;
  border: 2px solid #222;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* 工期短縮 — 円の位置にアイコンを表示 */
.product-icons li:first-child::before {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%23c9922d'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M34%208l-14%2024h11l-3%2024%2018-30H35z'/%3E%3Cpath%20d='M10%2022h8M8%2032h8M10%2042h8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 施工性向上 — 円の位置にアイコンを表示 */
.product-icons li:nth-child(2)::before {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%23c9922d'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2044l12-12%208%208%2016-18'/%3E%3Cpath%20d='M48%2022h-8M48%2022v8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 安全性向上 — 円の位置にアイコンを表示（ヘルメット） */
.product-icons li:nth-child(3)::before {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%23c9922d'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%2044h48'/%3E%3Cpath%20d='M14%2044c0-11%208-19%2018-19s18%208%2018%2019'/%3E%3Cpath%20d='M32%2025v13'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 耐久性 — 円の位置にアイコンを表示（盾） */
.product-icons li:nth-child(4)::before {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%23c9922d'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M32%208l18%206v14c0%2012-8%2020-18%2024-10-4-18-12-18-24V14z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.product-icons li:last-child {
  border-right: 1px solid #ddd;
}

.product-icons span {
  font-size: 13px;
  font-weight: 700;
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 45px;
}

.product-icons small {
  font-size: 10px;
  color: #555;
  display: block;
  text-align: center;
  width: 100%;
}

.product-visual {
  position: relative;
  min-height: 520px;
}

.product-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.product-points {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.product-points__item {
  position: absolute;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
}

.product-points__item::before {
  content: "";
  position: absolute;
  top: 14px;
  right: calc(100% + 10px);
  width: 110px;
  height: 1px;
  background: #b99043;
  transform: rotate(-14deg);
  transform-origin: right center;
}

.product-points__item--01 {
  right: 10px;
  top: 30px;
}
.product-points__item--02 {
  right: 0;
  top: 150px;
}
.product-points__item--03 {
  right: 28px;
  top: 290px;
}

.product-info,
.product-sub,
.product-order {
  border: 1px solid #ddd;
  background: #fff;
}

.product-info {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 45% 28% 27%;
}

.product-info__box {
  padding: 32px 36px;
  border-right: 1px solid #ddd;
}

.product-info__box:last-child {
  border-right: 0;
}

.product-info h2,
.product-sub h2,
.product-order h2,
.product-contact h2 {
  margin: 0 0 24px;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.product-info ul {
  margin: 0;
  padding-left: 0;
}

.product-info li {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 2;
}

.product-info li::marker {
  color: #b99043;
}

.product-info__box--price strong {
  display: block;
  margin: 8px 0 16px;
  color: #c9922d;
  font-size: 42px;
  line-height: 1;
}

.product-info__box--price strong span {
  font-size: 16px;
  color: #111;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 190px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid #aaa;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-btn::after {
  content: "→";
  margin-left: 14px;
}

.product-btn--gold {
  background: #b88932;
  border-color: #b88932;
  color: #fff;
}

.product-movie {
  position: relative;
  display: block;
  overflow: hidden;
}

.product-movie img {
  width: 100%;
  display: block;
}

.product-movie span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
}

.product-movie span::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 19px;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* 動画 単体埋め込み（16:9） */
.product-embed {
  position: relative;
  aspect-ratio: 16 / 9;
}

.product-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 動画 2カラム埋め込み */
.product-movie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-movie-grid__item {
  position: relative;
  aspect-ratio: 16 / 9;
}

.product-movie-grid__item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .product-movie-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-info__box--price p:last-of-type {
    margin-bottom: 22px;
  }
}

.product-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}

.product-photos,
.product-download {
  padding: 32px;
}

.product-photos {
  border-right: 1px solid #ddd;
}

.product-photo-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.product-photo-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-download ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-download li {
  border-bottom: 1px solid #ddd;
}

.product-download li:last-child {
  border-bottom: none;
}

.product-download a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.product-download a::after {
  content: "↓";
  color: #777;
}

.product-download span {
  margin-left: auto;
  color: #777;
  font-size: 12px;
  font-weight: 400;
}

.product-black {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  background: #070707;
  color: #fff;
  border: 0;
}

.product-black img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-black__image {
  position: relative;
}

.product-black__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #070707 90%);
}

.product-black__text {
  padding: 36px;
}

.product-badge--dark {
  border-color: #777;
  color: #111;
}

.product-black__movie {
  padding: 30px;
}

.product-black__movie h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.product-machine {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
}

.product-machine__text {
  padding: 36px;
}

.product-machine__movie {
  padding: 30px;
}

.product-order {
  margin-top: 34px;
  padding: 32px 120px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
}

.product-order h2 {
  margin-bottom: 12px;
}

.product-order p {
  margin: 0;
}

.product-order__tel p {
  font-size: 13px;
  font-weight: 700;
}

.product-order__tel strong {
  font-size: 26px;
  letter-spacing: 0.06em;
}

.product-contact {
  margin-top: 56px;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.78)), url("../images/product/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.product-contact__inner {
  width: min(1180px, calc(100% - 80px));
  min-height: 150px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.product-contact h2 {
  margin-bottom: 10px;
}

.product-contact p {
  margin: 0;
}

.product-contact a {
  min-width: 240px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.product-contact a::after {
  content: "→";
  margin-left: 14px;
}

/* product-order: 1000px以下で縦並び */
@media (max-width: 1000px) {
  .product-order {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 42px;
  }
}

@media (max-width: 900px) {
  .product-inner,
  .product-mv__content,
  .product-breadcrumb,
  .product-contact__inner {
    width: calc(100% - 32px);
  }

  .product-mv {
    height: 280px;
    background-position: center;
  }

  .product-mv__content {
    padding-top: 110px;
  }

  .product-mv h1 {
    font-size: 30px;
  }

  .product-mv__ja {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .product-mv__lead {
    font-size: 11px;
    line-height: 1.8;
  }

  .product-breadcrumb {
    padding: 14px 0 36px;
    font-size: 10px;
  }

  .product-main-grid,
  .product-info,
  .product-sub,
  .product-black,
  .product-machine,
  .product-order {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-order {
    padding: 32px 42px;
  }

  .product-copy {
    padding-left: 0;
  }

  .product-copy .product-num {
    position: static;
    margin-bottom: 14px;
    font-size: 22px;
  }

  .product-copy h2,
  .product-black h2,
  .product-machine h2 {
    font-size: 20px;
    line-height: 1.6;
  }

  .product-copy h2 span,
  .product-machine h2 span {
    font-size: 15px;
  }

  .product-copy h3,
  .product-black h3,
  .product-machine h3 {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .product-copy p,
  .product-black p,
  .product-machine p,
  .product-order p,
  .product-contact p {
    font-size: 12px;
    line-height: 1.9;
  }

  .product-badge-wrap {
    display: block;
    margin: 24px 0;
  }

  .product-badge,
  .product-code {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
  }

  .product-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .product-icons li {
    min-height: 86px;
  }

  .product-visual {
    min-height: auto;
    margin-top: 28px;
  }

  .product-visual img {
    width: 100%;
    height: auto;
  }

  .product-points {
    display: none;
  }

  .product-info {
    margin-top: 28px;
  }

  .product-info__box,
  .product-photos,
  .product-download,
  .product-black__text,
  .product-black__movie,
  .product-machine__text,
  .product-machine__movie {
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }

  .product-info__box:last-child,
  .product-machine__movie {
    border-bottom: 0;
  }

  .product-info h2,
  .product-sub h2,
  .product-order h2,
  .product-contact h2 {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .product-info li {
    font-size: 12px;
    line-height: 1.8;
  }

  .product-info__box--price strong {
    font-size: 34px;
  }

  .product-photo-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-black {
    margin-top: 28px;
  }

  .product-black__image,
  .product-black__movie {
    height: auto;
  }

  .product-black__image img,
  .product-machine__image img,
  .product-movie img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .product-black__image::after {
    display: none;
  }

  .product-machine__image {
    order: 2;
  }

  .product-machine__movie {
    order: 3;
  }

  .product-order {
    margin-top: 28px;
    padding: 24px 24px;
    gap: 22px;
  }

  .product-order__tel strong {
    font-size: 22px;
  }

  .product-btn {
    width: 100%;
    min-width: 0;
  }

  .product-contact {
    margin-top: 40px;
  }

  .product-contact__inner {
    min-height: auto;
    padding: 36px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-contact a {
    width: 100%;
    min-width: 0;
  }
}
