:root {
  --red: #e60012;
  --ink: #151515;
  --muted: #666;
  --line: #ececec;
  --soft: #f7f7f7;
  --paper: #fff;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.logo img {
  width: 118px;
  height: auto;
}

.product-button,
.product-detail__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.product-button--primary,
.product-detail__button--primary {
  background: var(--red);
  color: #fff;
}

.product-button--dark,
.product-detail__button--dark {
  background: #171717;
  color: #fff;
}

.product-button--line,
.product-detail__button--line {
  border-color: #ddd;
  background: #fff;
  color: #111;
}

.product-hero,
.product-detail__hero {
  background: linear-gradient(135deg, #fff 0%, #fff 46%, #f6f6f6 46%, #f6f6f6 100%);
  border-bottom: 1px solid var(--line);
}

.product-hero--potting,
.product-detail__hero--potting {
  background: linear-gradient(135deg, #fff 0%, #f7fbff 40%, #eef6ff 100%);
}

.product-hero__inner,
.product-detail__hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  margin: auto;
  padding: 56px 20px 52px;
}

.product-hero__copy .product-section__eyebrow,
.product-detail__hero-copy .product-detail__section-eyebrow,
.product-detail__hero-copy .product-section__eyebrow {
  display: block;
  margin-bottom: 10px;
}

.product-hero__eyebrow,
.product-detail__hero-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.3vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

.product-hero__lead,
.product-detail__hero-lead {
  margin: 0 0 22px;
  color: #333;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
}

.product-hero__points,
.product-detail__hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.product-hero__points span,
.product-detail__hero-points span {
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.product-actions,
.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.product-note,
.product-detail__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.product-hero__card,
.product-detail__hero-card,
.product-hero__main-card,
.product-detail__hero-main-card,
.product-hero__sub-card,
.product-detail__hero-sub-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-hero__card,
.product-detail__hero-card {
  padding: 14px;
}

.product-hero__image,
.product-detail__hero-image {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4/3;
  background: #eee;
}

.product-hero__image img,
.product-detail__hero-image img,
.product-hero__main-card img,
.product-detail__hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.product-hero__visual,
.product-detail__hero-visual {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: stretch;
}

.product-hero__sub-stack,
.product-detail__hero-sub-stack {
  display: grid;
  gap: 16px;
}

.product-hero__sub-card img,
.product-detail__hero-sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.product-hero__caption,
.product-detail__hero-caption {
  padding: 10px 14px 14px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

main,
.product-detail__main {
  max-width: 1180px;
  margin: auto;
  padding: 44px 20px 90px;
}

.product-section,
.product-detail__section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.product-section:last-child,
.product-detail__section:last-child {
  border-bottom: 0;
}

.product-section__head,
.product-detail__section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.product-section__eyebrow,
.product-detail__section-eyebrow {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.product-section__head p,
.product-detail__section-head p,
.product-section__head > div p,
.product-detail__section-head > div p {
  max-width: 720px;
  margin: 0;
  color: #555;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.product-grid,
.product-grid--three,
.product-detail__grid,
.product-detail__grid--three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card,
.product-detail__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.product-card p,
.product-detail__card p {
  margin: 0;
  color: #555;
}

.product-card--image,
.product-detail__card--image,
.product-card--photo,
.product-detail__card--photo {
  overflow: hidden;
  padding: 0;
}

.product-card--image img,
.product-detail__card--image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.product-card--photo img,
.product-detail__card--photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-card__body,
.product-detail__card-body,
.product-card--image .product-card__body,
.product-detail__card--image .product-detail__card-body,
.product-card--photo .product-card__body,
.product-detail__card--photo .product-detail__card-body {
  padding: 18px 18px 20px;
}

.product-use-grid,
.product-detail__use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-use-card,
.product-detail__use-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 24px;
}

.product-use-card p,
.product-detail__use-card p {
  margin: 0;
  color: #555;
}

.product-spec,
.product-detail__spec {
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.product-spec dt,
.product-spec dd,
.product-detail__spec dt,
.product-detail__spec dd {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.product-spec dt,
.product-detail__spec dt {
  background: #f8f8f8;
  font-weight: 900;
}

.product-spec dd,
.product-detail__spec dd {
  color: #444;
}

.product-spec dt:last-of-type,
.product-spec dd:last-of-type,
.product-detail__spec dt:last-of-type,
.product-detail__spec dd:last-of-type {
  border-bottom: 0;
}

.product-spec-layout,
.product-detail__spec-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.product-spec-list,
.product-detail__spec-list {
  margin: 0;
  padding-left: 20px;
}

.product-spec-list li,
.product-detail__spec-list li {
  margin-bottom: 10px;
}

.product-gallery,
.product-detail__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-gallery__item,
.product-detail__gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.product-gallery__item img,
.product-detail__gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-gallery__caption,
.product-detail__gallery-caption {
  padding: 12px 14px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.price-highlight,
.product-detail__price-highlight {
  color: var(--red);
  font-weight: 900;
}

.price-table-wrap,
.product-detail__price-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .04);
}

.price-table,
.product-detail__price-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.price-table th,
.price-table td,
.product-detail__price-table th,
.product-detail__price-table td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: right;
  white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child,
.product-detail__price-table th:first-child,
.product-detail__price-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  text-align: left;
  font-weight: 900;
}

.price-table th,
.price-table th:first-child,
.product-detail__price-table th,
.product-detail__price-table th:first-child {
  background: #111;
  color: #fff;
  font-weight: 900;
}

.price-table tr:last-child td,
.product-detail__price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td,
.product-detail__price-table td {
  color: #222;
}

.price-notes,
.product-detail__price-notes,
.product-note-grid,
.product-detail__note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.price-note,
.product-detail__price-note {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
}

.price-note h3,
.product-detail__price-note h3 {
  margin: 0 0 8px;
}

.price-note p,
.product-detail__price-note p {
  margin: 0;
  color: #555;
}

.estimate-box,
.product-cta,
.product-cta-band,
.product-detail__estimate-box,
.product-detail__cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  border-radius: 24px;
  background: #111;
  color: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.product-cta,
.product-detail__cta {
  border-radius: 30px;
  padding: 34px;
}

.product-cta-band,
.product-detail__cta--band {
  flex-wrap: wrap;
  border-radius: 26px;
  padding: 26px;
}

.estimate-box p,
.product-cta p,
.product-cta-band p,
.product-detail__estimate-box p,
.product-detail__cta p {
  margin: 6px 0 0;
  color: #ddd;
}

.estimate-box .product-button,
.product-cta .product-button,
.product-cta-band .product-button,
.product-detail__estimate-box .product-detail__button,
.product-detail__cta .product-detail__button {
  box-shadow: none;
}

.estimate-box .product-button--line,
.product-cta .product-button--line,
.product-cta-band .product-button--line,
.product-detail__estimate-box .product-detail__button--line,
.product-detail__cta .product-detail__button--line {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.order-flow,
.product-detail__order-flow {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.order-flow .product-card,
.product-detail__order-flow .product-detail__card {
  position: relative;
  padding-top: 48px;
}

.order-flow .product-card::before,
.product-detail__order-flow .product-detail__card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.product-faq details,
.product-detail__faq details {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px 18px;
}

.product-faq summary,
.product-detail__faq summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.product-faq summary::-webkit-details-marker,
.product-detail__faq summary::-webkit-details-marker {
  display: none;
}

.product-faq p,
.product-detail__faq p {
  margin: 12px 0 0;
  color: #555;
}

.related-links,
.product-detail__related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-links a,
.product-detail__related-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.product-footer-space,
.product-detail__footer-space {
  height: 24px;
}

.product-mobile-cta,
.product-detail__mobile-cta {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  gap: 8px;
  border-top: 1px solid #ddd;
  background: #fff;
  padding: 10px;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, .08);
}

.product-mobile-cta a,
.product-detail__mobile-cta a {
  flex: 1;
  padding: 12px 8px;
  font-size: 13px;
}

#matrix .product-section__head p,
#matrix .product-detail__section-head p {
  max-width: 640px;
}

@media (max-width: 980px) {
  .product-hero__inner,
  .product-detail__hero-inner,
  .product-hero__visual,
  .product-detail__hero-visual,
  .product-spec-layout,
  .product-detail__spec-layout,
  .product-section__head,
  .product-detail__section-head {
    grid-template-columns: 1fr;
  }

  .product-section__head,
  .product-detail__section-head {
    display: block;
  }

  .product-grid,
  .product-grid--three,
  .product-detail__grid,
  .product-detail__grid--three,
  .product-use-grid,
  .product-detail__use-grid,
  .order-flow,
  .product-detail__order-flow,
  .related-links,
  .product-detail__related-links,
  .price-notes,
  .product-detail__price-notes,
  .product-note-grid,
  .product-detail__note-grid {
    grid-template-columns: 1fr;
  }

  .product-spec,
  .product-detail__spec {
    grid-template-columns: 1fr;
  }

  .product-spec dt,
  .product-detail__spec dt {
    border-bottom: 0;
  }

  .product-gallery,
  .product-detail__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .product-cta,
  .product-cta-band,
  .estimate-box,
  .product-detail__cta,
  .product-detail__estimate-box {
    display: block;
  }

  .product-cta .product-actions,
  .product-cta-band .product-actions,
  .estimate-box .product-actions,
  .product-detail__cta .product-detail__actions,
  .product-detail__estimate-box .product-detail__actions {
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .product-hero__inner,
  .product-detail__hero-inner {
    padding: 38px 16px 36px;
  }

  main,
  .product-detail__main {
    padding: 0 16px 120px;
  }

  .product-actions .product-button,
  .product-detail__actions .product-detail__button {
    width: 100%;
  }

  .product-gallery,
  .product-detail__gallery {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-detail__card,
  .product-use-card,
  .product-detail__use-card {
    padding: 20px;
  }

  .product-card--image,
  .product-detail__card--image,
  .product-card--photo,
  .product-detail__card--photo {
    padding: 0;
  }

  .product-card--photo img,
  .product-detail__card--photo img {
    height: 220px;
  }

  .product-mobile-cta,
  .product-detail__mobile-cta {
    display: flex;
  }

  .product-footer-space,
  .product-detail__footer-space {
    height: 84px;
  }
}
