/* ==================================================
   REPICKWOOD / 本文
   共通見出し → 各セクション → SP の順に定義
   ================================================== */

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 24px;
}

figure {
  margin: 0;
}

.section-space {
  margin-top: 160px;
}

.page-inset {
  margin-inline: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading__eyebrow {
  color: #939393;
  font: 400 14px/1.5 Inter, "Gen Interface JP", sans-serif;
  margin: 0 0 32px;
}

.section-heading h2,
.about h2,
.download-banner h2 {
  font: 400 40px/1.6 "Noto Serif JP", serif;
  margin: 0;
}

.section-heading__description {
  font-size: 16px;
  margin: 32px 24px 0;
}

/* コンセプト */

.about {
  position: relative;
  min-height: 1290px;
  overflow: hidden;
  text-align: center;
}

.about__content {
  position: relative;
  z-index: 2;
}

.about__content > .section-heading__eyebrow {
  margin-bottom: 80px;
}

.about__copy {
  font-size: 18px;
  line-height: 2;
  margin-top: 48px;
}

.about__copy p {
  margin: 0 0 32px;
}

.about__sp-break {
  display: none;
}

.about__wordmark {
  position: absolute;
  top: 323px;
  left: 0;
  font: 500 16vw/1 "Bodoni Moda", serif;
  white-space: nowrap;
  opacity: .025;
  pointer-events: none;
}

.about__photos img {
  position: absolute;
  object-fit: cover;
  z-index: 1;
  border-radius: 4px;
}

.about__logs {
  top: 114px;
  left: 8.4%;
  width: 14%;
  aspect-ratio: 201/150;
}

.about__edge {
  top: 250px;
  left: 75%;
  width: 19.5%;
  aspect-ratio: 281/358;
}

.about__leather {
  top: 558px;
  left: 5.6%;
  width: 19.5%;
  aspect-ratio: 280/210;
}

.about__landscape {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 631px;
  overflow: hidden;
}

.about__landscape::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  background: linear-gradient(var(--color-paper), transparent);
}

.about__landscape img {
  width: 100%;
  height: 152%;
  object-fit: cover;
  margin-top: -3%;
}

/* 特徴 */

.feature {
  background: #fff;
  padding: 72px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.feature__eyebrow {
  color: #939393;
  display: flex;
  justify-content: space-between;
  font: 14px/1.5 Inter, "Gen Interface JP", sans-serif;
  margin-bottom: 64px;
}

.feature__main {
  display: grid;
  grid-template-columns: minmax(230px, 297fr) minmax(0, 880fr);
  gap: clamp(36px, 7.15vw, 103px);
}

.feature__copy h3 {
  font: 500 clamp(22px, 2vw, 32px)/1.6 "Noto Serif JP", serif;
  margin: 0 0 32px;
}

.feature__copy p,
.feature__detail p {
  font-size: 14px;
  margin: 0;
}

.feature__copy .note {
  color: #a4a4a4;
  font-size: 12px;
  margin-top: 24px;
}

.feature__visual {
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 880/560;
  overflow: hidden;
}

.feature__forest-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature__forest-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__detail {
  border-top: 1px solid #ddd;
  margin-top: 64px;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.feature__detail h4 {
  margin: 0 0 24px;
  font: 500 20px/1.6 "Noto Serif JP", serif;
}

.feature__detail-pair,
.feature__wood-details {
  display: flex;
  gap: 0;
  height: 225px;
  overflow: hidden;
  border-radius: 6px;
}

.feature__detail-pair img {
  width: 50%;
  min-width: 0;
  object-fit: cover;
}

.feature__wood-details img {
  width: 25%;
  min-width: 0;
  object-fit: cover;
}

/* Figma基準880×560。各写真の切り抜きを同じ比率で保持する。 */

.edge-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border-radius: 6px;
}

.edge-comparison figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.edge-comparison__grain {
  background: #fff;
}

.edge-comparison__grain > div {
  position: absolute;
  width: 100%;
  height: 122.142857%;
  top: -22.142857%;
  overflow: hidden;
}

.edge-comparison__grain img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 22.51959163%;
  top: -15.56275788%;
  max-width: none;
  transform-origin: top left;
  transform: matrix(1.35531541, 0.69931626, -0.59985777, 1.16255915, 0, 0);
}

.edge-comparison__types {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  min-height: 0;
}

.edge-comparison__types figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #abac9f;
  z-index: 1;
}

.edge-comparison__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edge-comparison__product {
  position: absolute;
  top: -98.214286%;
  max-width: none;
  object-fit: cover;
  z-index: 2;
}

.edge-comparison__live .edge-comparison__product {
  left: -52.727273%;
  width: 216.363636%;
  height: 226.785714%;
}

.edge-comparison__straight .edge-comparison__product {
  left: -55.681818%;
  width: 219.318182%;
  height: 230.357143%;
}

.edge-comparison figcaption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.edge-comparison__grain figcaption {
  left: 12px;
  right: auto;
}

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

.color-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 64px 0 0;
  padding: 64px 0 0;
  border-top: 1px solid #d4d4d4;
}

.color-list li {
  display: flex;
  align-items: center;
  gap: 24px;
}

.color-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.color-list h4 {
  font: 500 20px/1.6 "Gen Interface JP", sans-serif;
  margin: 0 0 16px;
}

.color-list p {
  font-size: 14px;
  margin: 0;
}

/* ギャラリー */

.gallery {
  position: relative;
  padding-bottom: 80px;
}

.gallery__slides {
  display: grid;
  overflow: hidden;
  isolation: isolate;
  border-radius: 4px;
}

.gallery__slide {
  grid-area: 1 / 1;
  min-width: 0;
  overflow: hidden;
}

.gallery__slide.is-entering {
  z-index: 1;
  will-change: opacity, filter;
}

.gallery__slide img {
  will-change: transform;
  backface-visibility: hidden;
  width: 100%;
  aspect-ratio: 1424/800;
  object-fit: cover;
  border-radius: 4px;
}

.gallery__controls {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  width: min(100%, 904px);
  margin: -80px auto 0;
  position: relative;
}

.gallery__caption {
  width: 720px;
  max-width: calc(100% - 184px);
  min-height: 159px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 8px 32px 8px 8px;
  border-radius: 6px;
}

.gallery__product {
  width: 212px;
  max-width: 35%;
  height: 143px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #f0ede9;
  border-radius: 4px;
}

.gallery__product > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__product--cropped > img {
  position: absolute;
  width: 227.89%;
  height: 225.58%;
  max-width: none;
  left: -40.09%;
  top: -89.51%;
}

.gallery__slide--2 img {
  object-position: center 77.22%;
}

.gallery__slide--3 img {
  object-position: center 58.88%;
}

.gallery__slide--5 img {
  object-position: center 77.88%;
}

.gallery__caption p {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .02em;
}

.gallery__arrow {
  padding: 12px 12px 0;
  background: none;
  border: 0;
}

.gallery__arrow img {
  width: 52px;
  height: 35px;
}

/* 上下の余白を反転させず、矢印だけを右向きにする。 */

.gallery__arrow--next {
  transform: scaleX(-1);
}

/* 商品一覧 */

.product-group {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
}

.product-group summary {
  position: relative;
  padding: 72px;
  list-style: none;
  cursor: pointer;
  font: 500 32px/1 Inter, "Gen Interface JP", sans-serif;
  display: flex;
  align-items: center;
  gap: 0;
}

.product-group[open] summary {
  padding-bottom: 32px;
}

.product-group summary::-webkit-details-marker {
  display: none;
}

.product-group summary > span:not(.product-group__toggle):not(.button-roll) {
  font-size: inherit;
}

.product-group__toggle {
  margin-left: auto;
  width: 24px;
  height: 24px;
  position: relative;
}

.product-group__toggle::before,
.product-group__toggle::after {
  content: "";
  position: absolute;
  background: #333;
  top: 11px;
  left: 0;
  width: 24px;
  height: 1px;
}

.product-group__toggle::after {
  transform: rotate(90deg);
}

.product-group[open] .product-group__toggle::after {
  display: none;
}

.product-group__body {
  padding: 0 72px 72px;
}

.product-group__key {
  display: grid;
  grid-template-columns: 283px minmax(0, 1fr) 354px 379px;
  gap: 32px;
  padding: 32px;
  background: #f4f4f4;
  border-radius: 4px;
  margin-bottom: 32px;
  color: #212121;
}

.product-key__edge {
  grid-column: 3;
}

.product-key__edge:last-child {
  grid-column: 4;
}

.product-key__intro h3,
.product-key__heading h4 {
  font: 500 20px/1.4 Inter, "Gen Interface JP", sans-serif;
  margin: 0;
}

.product-key__intro p {
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 0;
}

.product-key__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.product-key__heading p {
  font-size: 13px;
  line-height: 1.4;
  color: #7b7b7b;
  margin: 0 0 6px;
}

.product-key__heading > img {
  width: 162px;
  height: auto;
  flex-shrink: 0;
}

.product-key__number {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.product-key__number p {
  font: 500 18px/1.5 Inter, "Gen Interface JP", sans-serif;
  margin: 0;
}

.product-key__number b {
  color: #d54032;
  font-weight: inherit;
}

.product-key__edge:last-child b {
  color: #009ab9;
}

.product-key__icon {
  flex: 0 0 54px;
  height: 54px;
  background: url('../img/product-key-icon-live.svg') center / contain no-repeat;
}

.product-key__icon--straight {
  background-image: url('../img/product-key-icon-straight.svg');
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 20px;
}

.product-card__image {
  position: relative;
  aspect-ratio: 305/176;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.product-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.125px solid #d4d4d4;
  border-radius: inherit;
  pointer-events: none;
}

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

.product-card__surface {
  position: absolute;
  width: 211.09%;
  max-width: none;
  height: 244.25%;
  top: -115.34%;
  left: -46.86%;
}

.product-card__icons {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 71px;
}

.product-card h3 {
  font: 500 16px/1.4 Inter, "Gen Interface JP", sans-serif;
  margin: 12px 0;
  color: #212121;
}

.product-card__downloads {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__download {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #212121;
  font: 500 13px/1.25 "Gen Interface JP", sans-serif;
  text-align: left;
}

.product-card__download-label {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-card__download-size {
  font: 400 11px/1 Inter, "Gen Interface JP", sans-serif;
  color: #585858;
}

.product-card__download-arrow {
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
}

.product-card__file {
  width: 9px;
  height: 11px;
  flex: 0 0 auto;
  margin-left: -4px;
}

.outline-button {
  flex: 1;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  background: transparent;
  font: 500 14px/1.5 Inter, "Gen Interface JP", sans-serif;
  padding: 10px;
}

.outline-button:hover {
  background: transparent;
}

.product-guide {
  margin-top: 32px;
  padding-top: 0;
}

.product-guide h4 {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 4px;
}

.product-guide p {
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
  color: #6b6b6b;
}

.product-guide__note {
  color: #a0a0a0;
}

.product-group__pending {
  font-size: 14px;
}

/* 資料請求・製品指定 */

.download-banner {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.download-banner__pages {
  position: absolute;
  inset: -50px -10%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5.55vw;
  background: #eee;
}

.download-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(51 51 51 / 88%);
  pointer-events: none;
}

.download-banner__column {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.download-banner__column:nth-child(even) {
  margin-top: -140px;
}

.download-banner__column img {
  width: 100%;
}

.download-banner__card {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 64px 40px;
  width: min(522px, 90%);
  text-align: center;
  border-radius: 4px;
}

.download-banner h2 {
  font-size: 32px;
}

.download-banner__card > p:not(.section-heading__eyebrow) {
  font-size: 16px;
  margin: 32px 0;
}

.download-button {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  background: #333;
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 14px 14px 14px 24px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}

.download-button img {
  width: 52px;
  height: 35px;
  flex-shrink: 0;
  transform: scaleX(-1);
}

.download-button:hover {
  background: #333;
}

.specification {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 72px;
  background: white;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.specification__eyebrow {
  font-size: 14px;
  margin: 0 0 24px;
}

.specification h3 {
  font: 500 28px/1.6 "Noto Serif JP", serif;
  margin: 0 0 24px;
}

.specification__copy > p:last-child {
  font-size: 14px;
  margin: 0;
}

.specification__diagram {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ccc;
  padding: 24px;
  align-self: center;
}

.specification__diagram img {
  width: 100%;
}

/* 背景・課題解決 */

.story-heading__sp,
.story-heading__break {
  display: none;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.story-card {
  position: relative;
  min-height: 352px;
  background: white;
  padding: 48px;
  border-radius: 6px;
}

.story-card__number {
  color: #939393;
  font: 14px/1 Inter, "Gen Interface JP", sans-serif;
  margin: 0 0 24px;
}

.story-card h3 {
  font: 400 28px/1.6 "Noto Serif JP", serif;
  margin: 0 0 24px;
}

.story-card__copy {
  font-size: 14px;
  max-width: calc(100% - 222px);
  margin: 0;
}

.story-card__source {
  color: #a0a0a0;
  font-size: 10px;
  line-height: 1.6;
  max-width: calc(100% - 222px);
  margin: 16px 0 0;
}

.story-card__image,
.forest-stat {
  position: absolute;
  bottom: 48px;
  right: 48px;
  width: 142px;
  height: 142px;
  object-fit: cover;
  border-radius: 6px;
  overflow: hidden;
}

.forest-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f0ede9;
  color: #666059;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

.forest-stat p {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .04em;
  margin: 0;
}

.forest-stat .forest-stat__number {
  font: 400 48px/1 "Noto Serif JP", serif;
  color: #6b3a2e;
  letter-spacing: 0;
}

.forest-stat__number span {
  font-size: 28px;
  margin-left: 4px;
}

.forest-stat small {
  color: #a0a0a0;
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: .02em;
}

.solution {
  margin-top: 80px;
}

/* フッター */

.footer {
  padding: 56px;
  background: #333;
  color: white;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer__main img {
  width: 340px;
  max-width: 100%;
  height: auto;
}

.footer address {
  font-size: 16px;
  font-style: normal;
  margin-top: 32px;
}

.footer address a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__top {
  font: 400 16px "Gen Interface JP", sans-serif;
}

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 64px;
}

.footer__bottom small {
  font: 400 11px "Gen Interface JP", sans-serif;
}

/* PCで整えた改行は、狭い画面では解除して文章を自然に折り返す。
   品番・表面/エッジ・住所など、情報を区切る改行は保持する。 */

@media (max-width: 1100px) {
  .story-card h3 br,
  .feature__copy h3 br,
  .specification__copy h3 br,
  .specification__copy > p:last-child br,
  .section-heading__description br,
  .about__copy br {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .feature,
  .specification {
    padding: 40px;
  }

  .feature__main,
  .feature__detail,
  .specification {
    gap: 32px;
  }

  .feature__copy h3 {
    font-size: 26px;
  }

  .about__copy {
    width: calc(100% - 96px);
    max-width: 560px;
    margin-inline: auto;
  }

  .about__photos {
    opacity: .5;
  }

  .story-card {
    padding: 32px;
    padding-bottom: 200px;
  }

  .story-card__copy,
  .story-card__source {
    max-width: none;
  }

  .color-list {
    gap: 16px;
  }

  .color-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* SP：テキストを自然な高さで流し、写真と商品を再配置 */

@media (max-width: 767px) {
  .section-space {
    margin-top: 120px;
  }

  .page-inset {
    margin-inline: 8px;
  }

  .desktop-break {
    display: none;
  }

  .mobile-break {
    display: block;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading__description {
    font-size: 14px;
    margin-inline: 16px;
  }

  .section-heading__eyebrow {
    margin-bottom: 24px;
  }

  .about {
    min-height: 0;
  }

  .about__content {
    padding-inline: 12px;
  }

  .about__content > .section-heading__eyebrow {
    margin-bottom: 80px;
    line-height: 1;
  }

  .about h2 {
    font-size: 36px;
  }

  .about__copy {
    max-width: 348px;
    margin: 48px auto 0;
    font-size: 16px;
    text-align: center;
    line-height: 2;
    letter-spacing: .02em;
    font-feature-settings: "halt" 1, "pwid" 1;
  }

  .about__copy br {
    display: initial;
  }

  .about__copy br.desktop-break {
    display: none;
  }

  .about__copy p {
    margin-bottom: 32px;
  }

  .about__copy p:last-child {
    margin-bottom: 0;
  }

  .about__wordmark {
    top: 350px;
    font-size: 96px;
  }

  .about__photos {
    position: relative;
    height: auto;
    aspect-ratio: 374 / 689;
    margin: 80px 8px 0;
  }

  .about__logs {
    top: 0;
    left: 3.2%;
    width: 57.5%;
  }

  .about__edge {
    top: 30.33%;
    left: 53.5%;
    width: 43.3%;
  }

  .about__leather {
    top: 67.20%;
    left: 10.4%;
    width: 76.5%;
  }

  .about__landscape {
    position: relative;
    height: 489px;
    overflow: visible;
  }

  .about__landscape::after {
    top: -83px;
    height: 83px;
    background: linear-gradient(var(--color-paper), #ebe6df);
  }

  .about__landscape img {
    height: 100%;
    margin-top: 0;
  }

  .feature {
    padding: 32px 24px;
  }

  .feature__main {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .feature__copy h3 {
    font-size: 32px;
  }

  .feature__detail {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
  }

  .feature__detail-pair {
    height: auto;
    aspect-ratio: 603/225;
  }

  .feature__wood-details {
    height: 170px;
  }

  .feature__forest-pair,
  .feature__detail-pair,
  .feature__wood-details,
  .edge-comparison {
    border-radius: 4px;
  }

  .edge-comparison figcaption {
    font-size: 10px;
    bottom: 4.5px;
    right: 4.5px;
  }

  .edge-comparison__grain figcaption {
    left: 4.5px;
    right: auto;
  }

  .color-list {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
  }

  .color-list img {
    width: 72px;
    height: 72px;
  }

  .color-list h4 {
    margin-bottom: 8px;
  }

  .gallery {
    padding-bottom: 0;
  }

  .gallery__slide img {
    aspect-ratio: 374/480;
  }

  .gallery__controls {
    width: 100%;
    margin-top: -32px;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: end;
    column-gap: 16px;
    row-gap: 8px;
  }

  .gallery__caption {
    grid-row: 1;
    grid-column: 1/-1;
    width: calc(100vw - 40px);
    max-width: none;
    margin-inline: auto;
  }

  .gallery__product {
    height: auto;
    aspect-ratio: 291/195;
  }

  .gallery__product > img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 291/195;
    object-fit: contain;
  }

  .gallery__arrow {
    grid-row: 2;
  }

  .gallery__arrow:not(.gallery__arrow--next) {
    justify-self: end;
  }

  .gallery__arrow--next {
    justify-self: start;
  }

  .product-group summary {
    padding: 32px 24px;
    font-size: 20px;
    font-weight: 400;
    gap: 0;
  }

  .product-group summary > span:not(.product-group__toggle):not(.button-roll) {
    font-size: inherit;
  }

  .product-group__body {
    padding: 0 24px 32px;
  }

  .product-grid {
    gap: 20px 11px;
  }

  .product-card h3 {
    font-size: 13px;
    margin-block: 11px;
  }

  .product-card__icons {
    width: 23.293%;
    right: 2.952%;
    bottom: 5.116%;
  }

  .outline-button {
    font-size: 12px;
  }

  .download-banner__pages {
    inset: -30px -80%;
    gap: 40px;
  }

  .download-banner__column {
    gap: 40px;
  }

  .download-banner__card {
    padding: 48px 20px;
    width: calc(100% - 32px);
  }

  .download-banner h2 {
    font-size: 26px;
  }

  .download-banner__card > p:not(.section-heading__eyebrow) {
    font-size: 13px;
  }

  .specification {
    padding: 48px 24px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .specification h3 {
    font-size: 24px;
  }

  .specification__diagram {
    padding: 12px;
  }

  .story-heading__pc {
    display: none;
  }

  .story-heading__sp {
    display: inline;
  }

  .story-heading__break {
    display: block;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    min-height: 0;
  }

  .story-card h3 {
    font-size: 26px;
  }

  .story-card__copy,
  .story-card__source {
    max-width: none;
  }

  .story-card__image,
  .forest-stat {
    position: static;
    order: -1;
    align-self: flex-end;
    flex-shrink: 0;
    margin-bottom: 32px;
  }

  .solution {
    margin-top: 64px;
  }

  .footer {
    padding: 48px 24px;
  }

  .footer__main {
    flex-direction: column;
    gap: 40px;
  }

  .footer__main img {
    width: 280px;
  }

  .footer address {
    font-size: 14px;
  }

  .footer__bottom {
    gap: 24px;
  }

  .footer__bottom small {
    font-size: 9px;
  }
}

/* 本文を要素単位で表示。同時に入る要素にはごく短い時間差を付ける。 */

.section-reveal {
  transition: opacity 1.2s ease-out, translate 1.2s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.section-reveal.is-reveal-pending {
  opacity: 0;
  translate: 0 18px;
}

@media (prefers-reduced-motion: reduce) {
  .section-reveal,
  .section-reveal.is-reveal-pending {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

@media print {
  .section-reveal.is-reveal-pending {
    opacity: 1;
    translate: none;
  }
}

/* 背景文字は同じ幅の2組をつなぎ、右から左へゆっくり流す。 */

.about__wordmark-track {
  display: flex;
  width: max-content;
  animation: about-wordmark-flow 50s linear infinite;
}

.about__wordmark-track > span {
  flex-shrink: 0;
  min-width: 100vw;
  padding-right: 8vw;
}

@keyframes about-wordmark-flow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .about__wordmark-track {
    animation: none;
  }
}

/* 資料背景：Figma 4384:69。SPの幕色は4384:110と共通。 */

.download-banner {
  border-radius: 6px;
  background: white;
}

.download-banner__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.download-banner__sheet {
  position: absolute;
  width: 19.662922%;
  height: 27.638889%;
  object-fit: cover;
  transform: rotate(-11.97deg);
}

.download-banner__sheet--1 {
  left: 17.469452%;
  top: 65.506528%;
}

.download-banner__sheet--2 {
  left: 40.140098%;
  top: 37.066250%;
}

.download-banner__sheet--3 {
  left: 13.405548%;
  top: 27.598194%;
}

.download-banner__sheet--4 {
  left: 9.340941%;
  top: -10.308750%;
}

.download-banner__sheet--5 {
  left: 21.534059%;
  top: 103.413472%;
}

.download-banner__sheet--6 {
  left: 44.239817%;
  top: 74.155139%;
}

.download-banner__sheet--7 {
  left: 36.111306%;
  top: -1.658750%;
}

.download-banner__sheet--8 {
  left: 93.701896%;
  top: 53.412083%;
}

.download-banner__sheet--9 {
  left: 85.573385%;
  top: -22.401806%;
}

.download-banner__sheet--10 {
  left: 89.637992%;
  top: 15.505139%;
}

.download-banner__sheet--11 {
  left: 66.931531%;
  top: 44.762083%;
}

.download-banner__sheet--12 {
  left: 62.867626%;
  top: 6.855139%;
}

.download-banner__sheet--13 {
  left: 58.803020%;
  top: -31.051806%;
}

.download-banner__sheet--14 {
  left: 70.996138%;
  top: 82.669028%;
}

.download-banner__sheet--15 {
  left: -5.221559%;
  top: 94.899583%;
}

.download-banner__sheet--16 {
  left: -13.350070%;
  top: 19.085694%;
}

.download-banner__sheet--17 {
  left: -9.286166%;
  top: 56.992639%;
}

@media (min-width: 768px) {
  .download-banner__pages {
    display: none;
  }
}

@media (max-width: 767px) {
  .download-banner__art {
    display: none;
  }
}

/* SP資料背景：Figmaの374 × 600の配置を基準にする。 */

.download-banner__art-sp {
  display: none;
}

@media (max-width: 767px) {
  .download-banner {
    min-height: 600px;
  }

  .download-banner__pages {
    display: none;
  }

  .download-banner__art-sp {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .download-banner__sheet-sp {
    position: absolute;
    width: 43.850267%;
    max-width: none;
    object-fit: cover;
    transform: rotate(-11deg);
  }

  .download-banner__sheet-sp--1 {
    left: -22.860963%;
    top: 60.426667%;
    aspect-ratio: 164 / 116;
  }

  .download-banner__sheet-sp--2 {
    left: 27.957219%;
    top: 40.278333%;
    aspect-ratio: 164 / 116;
  }

  .download-banner__sheet-sp--3 {
    left: -31.227273%;
    top: 33.595000%;
    aspect-ratio: 164 / 116;
  }

  .download-banner__sheet-sp--4 {
    left: -39.517380%;
    top: 6.926750%;
    aspect-ratio: 164 / 117;
  }

  .download-banner__sheet-sp--5 {
    left: -14.570856%;
    top: 86.930083%;
    aspect-ratio: 164 / 117;
  }

  .download-banner__sheet-sp--6 {
    left: 37.851604%;
    top: 70.730083%;
    aspect-ratio: 164 / 117;
  }

  .download-banner__sheet-sp--7 {
    left: 18.872995%;
    top: 9.870083%;
    aspect-ratio: 164 / 117;
  }

  .download-banner__sheet-sp--8 {
    left: 87.377005%;
    top: 47.071667%;
    aspect-ratio: 164 / 116;
  }

  .download-banner__sheet-sp--9 {
    left: 79.010695%;
    top: 20.240000%;
    aspect-ratio: 164 / 116;
  }

  .download-banner__sheet-sp--10 {
    left: 70.720588%;
    top: -6.429917%;
    aspect-ratio: 164 / 117;
  }

  .download-banner__sheet-sp--11 {
    left: 95.667112%;
    top: 73.573417%;
    aspect-ratio: 164 / 117;
  }
}

/* 商品一覧は中間幅で説明欄を折り返し、画像と品番を読みやすく保つ。 */

@media (min-width: 768px) and (max-width: 1350px) {
  .product-group summary {
    padding: 48px;
  }

  .product-group__body {
    padding: 0 48px 48px;
  }

  .product-group__key {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-key__intro {
    grid-column: 1 / -1;
  }

  .product-key__edge,
  .product-key__edge:last-child {
    grid-column: auto;
  }

  .product-key__number p {
    font-size: clamp(13px, 1.25vw, 18px);
  }

  .product-key__heading {
    gap: 16px;
  }

  .product-key__heading > img {
    width: 40%;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* SPは同じ商品情報を、Figmaの2列カードと縦積み説明欄で表示する。 */

@media (max-width: 767px) {
  .product-group[open] summary {
    padding-bottom: 32px;
  }

  .product-group__toggle {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .product-group__toggle::before,
  .product-group__toggle::after {
    width: 16px;
    top: 7.5px;
  }

  .product-group__key {
    grid-template-columns: minmax(0, 1fr);
    width: min(326px, 100%);
    padding: 24px 20px;
    gap: 24px;
  }

  .product-key__edge,
  .product-key__edge:last-child {
    grid-column: auto;
  }

  .product-key__intro h3 {
    font-size: 16px;
    line-height: 1.5;
  }

  .product-key__heading {
    gap: 12px;
  }

  .product-key__heading h4 {
    font-size: 16px;
  }

  .product-key__heading p {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .product-key__heading > img {
    width: 93px;
    flex-shrink: 0;
  }

  .product-key__edge:last-child .product-key__heading > img {
    width: 90px;
  }

  .product-key__number {
    gap: 16px;
    margin-top: 8px;
    align-items: start;
  }

  .product-key__number p {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: -.04em;
    min-width: 0;
  }

  .product-key__icon {
    flex-basis: 40px;
    height: 40px;
    background-size: contain;
  }

  .product-card {
    display: flex;
    flex-direction: column;
  }

  .product-card__image {
    flex-shrink: 0;
    border-radius: 4px;
    isolation: isolate;
  }

  .product-card__image::after {
    border-width: .609px;
  }

  .product-card__downloads {
    margin-top: auto;
    gap: 11px;
  }

  .product-card__download {
    gap: 8px;
    flex-wrap: nowrap;
    font-size: 13px;
  }

  .product-card__download-suffix {
    display: none;
  }

  .product-card__download-arrow {
    width: 24px;
    height: 16px;
  }

  .product-card__download-size {
    font-size: 11px;
  }

  .product-card__file {
    display: block;
  }

  .product-guide {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  .product-key__number {
    gap: 10px;
  }

  .product-key__number p {
    font-size: 11px;
  }

  .product-key__heading {
    gap: 8px;
  }

  .product-key__heading > img {
    max-width: 32%;
  }
}

/* 商品共通の図面選択 */

/* 図面選択：形状を図で選び、選択中のカードを強調する。 */

.drawing-dialog {
  width: min(452px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  color: #333;
  background: #fff;
  overflow-y: auto;
  box-shadow: 0 8px 24px #00000014;
}

.drawing-dialog__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.drawing-dialog h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .01em;
}

.drawing-dialog__close {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.drawing-dialog__fields {
  display: grid;
  gap: 16px;
  margin: 0 0 16px;
}

.drawing-dialog label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  line-height: 1.4;
}

.drawing-dialog select {
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 36px 0 14px;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  background: #fff url('../img/drawing-chevron.svg') no-repeat right 14px center;
  color: #333;
  font: inherit;
  font-size: 13px;
}

.drawing-shapes {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.drawing-shapes legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.4;
}

.drawing-shapes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 4px;
}

.drawing-dialog .drawing-shape {
  position: relative;
  display: block;
  cursor: pointer;
}

.drawing-shape input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drawing-shape__card {
  display: block;
  position: relative;
  height: 73px;
  border: 1px solid #ccc;
  border-radius: 4px;
  opacity: .3;
  transition: opacity .15s, border-color .15s;
}

.drawing-shape input:checked + .drawing-shape__card {
  opacity: 1;
  border-color: #333;
}

.drawing-shape:hover .drawing-shape__card {
  opacity: 1;
}

.drawing-shape input:focus-visible + .drawing-shape__card {
  outline: 2px solid #333;
  outline-offset: 2px;
}

.drawing-shape__code {
  position: absolute;
  top: 54px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1;
}

.drawing-shape__diagram {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 36px;
  border: 1px solid #000;
  background: #d9d9d9;
  padding: 5px;
}

.drawing-shape__diagram > span {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #000;
  background: #fff;
}

.drawing-shape__diagram--wdl {
  top: 12px;
  width: 64px;
  height: 30px;
  padding: 0 0 5px 5px;
}

.drawing-shape__diagram--wdr {
  top: 12px;
  width: 64px;
  height: 30px;
  padding: 0 5px 5px 0;
}

.drawing-shape__diagram--wwd {
  width: 64px;
  padding: 5px 0 5px 5px;
}

.drawing-shape__diagram--w {
  width: 58px;
  height: 30px;
  padding: 0 0 5px;
}

.drawing-shape__diagram--wdd {
  height: 30px;
  padding: 0 5px 5px;
}

.drawing-shape__diagram--ww {
  width: 58px;
  padding: 5px 0;
}

.drawing-dialog__selection {
  margin: 0 0 16px;
  padding: 9px 12px;
  border-radius: 2px;
  background: #efeee9;
  font-size: 11.5px;
  line-height: 16px;
  overflow-wrap: anywhere;
}

.drawing-dialog__preview {
  display: block;
  text-align: center;
  text-decoration: underline;
  font-size: 13px;
  margin: 16px 0;
}

.drawing-dialog__preview[hidden] {
  display: none;
}

.drawing-dialog__action {
  display: block;
  padding: 15px 12px;
  background: #2b2b2b;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
}

.drawing-dialog__action:hover {
  background: #2b2b2b;
}

@media (max-width: 430px) {
  .drawing-shapes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drawing-dialog select {
    font-size: 16px;
  }
}

/* 商品共通の品番案内・図面ダウンロード（Figma 4479:261） */

.product-downloads {
  display: grid;
  grid-template-columns: minmax(333px, 1fr) 322px 347px;
  gap: 12px 32px;
  width: calc(100% - 144px);
  max-width: none;
  margin: 0 auto 48px;
  padding: 40px;
  border-radius: 8px;
  background: #fff;
  color: #212121;
}

.product-downloads__title {
  grid-column: 1 / -1;
  margin: 0;
  font: 500 20px/1.5 Inter, "Gen Interface JP", sans-serif;
}

.product-downloads .product-key__edge,
.product-downloads .product-key__edge:last-child {
  grid-column: auto;
  align-self: center;
  width: 100%;
  max-width: 347px;
  min-width: 0;
}

.product-downloads .product-key__intro p {
  max-width: 333px;
  margin: 0;
}

.product-downloads .product-key__heading h4 {
  font-size: 16px;
}

.product-downloads .product-key__heading p {
  font-size: 11px;
}

.product-downloads .product-key__heading {
  justify-content: flex-start;
  gap: 32px;
}

.product-downloads .product-key__number p {
  font-size: 16px;
  white-space: nowrap;
}

.product-downloads__links {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.product-downloads__button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #212121;
  text-align: left;
  font: 500 16px/1.4 "Gen Interface JP", sans-serif;
}

.product-downloads__button > img {
  flex: 0 0 auto;
}

.product-downloads__button > span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-card h3 {
  min-height: 0;
  margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1350px) {
  .product-downloads {
    width: calc(100% - 96px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-downloads .product-key__intro {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) and (max-width: 1350px) {
  .product-downloads {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 24px 32px;
    padding: 32px;
  }

  .product-downloads .product-key__intro {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .product-downloads .product-key__edge,
  .product-downloads .product-key__edge:last-child {
    grid-column: 2;
    justify-self: end;
    width: 100%;
    max-width: 347px;
  }

  .product-downloads .product-key__heading {
    gap: 16px;
  }

  .product-downloads .product-key__heading > img {
    width: 130px;
  }

  .product-downloads .product-key__number {
    gap: 12px;
  }

  .product-downloads .product-key__number p {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .product-downloads {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .product-downloads .product-key__intro {
    width: 100%;
    max-width: 333px;
  }
}

@media (max-width: 767px) {
  .product-downloads {
    margin-bottom: 32px;
  }
}

/* 中間幅では説明を全幅にし、エッジ情報を横方向にまとめる。 */

@media (max-width: 1350px) {
  .product-downloads .product-key__intro p {
    max-width: none;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  .product-downloads {
    width: calc(100% - 32px);
    padding: 24px;
    gap: 24px;
  }

  .product-downloads .product-key__intro {
    width: 100%;
    max-width: none;
  }

  .product-downloads__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .product-downloads .product-key__edge,
  .product-downloads .product-key__edge:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 24px;
    max-width: none;
  }

  .product-downloads .product-key__heading {
    display: contents;
  }

  .product-downloads .product-key__heading > div {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }

  .product-downloads .product-key__heading > img {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 100px;
  }

  .product-downloads .product-key__number {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    gap: 12px;
  }

  .product-downloads .product-key__number p {
    font-size: 13px;
  }

  .product-downloads .product-key__icon {
    flex-basis: 40px;
    height: 40px;
  }
}

/* 表面ラベルと商品名の開始位置を揃える（Figma 4435:770）。 */

.product-card__title {
  display: flex;
  align-items: flex-start;
}

.product-card__label {
  flex: 0 0 auto;
  white-space: nowrap;
}

.product-card__name {
  display: block;
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}

/* 見出し直下の紹介文：SPでは句点（。）で行を区切る。 */

.section-description__sp-break {
  display: none;
}

@media (max-width: 767px) {
  .section-heading__description br.section-description__sp-break,
  .download-banner__card > p br.section-description__sp-break {
    display: initial;
  }

  /* 狭いSPでは固定改行を解除し、段落ごとに自然に折り返す。 */

  .about__phrase {
    white-space: nowrap;
  }
}

@media (max-width: 389px) {
  .about__copy br,
  .section-heading__description br.section-description__sp-break,
  .download-banner__card > p br.section-description__sp-break {
    display: none;
  }

  .about__copy p,
  .section-heading__description,
  .download-banner__card > p:not(.section-heading__eyebrow) {
    text-wrap: pretty;
  }
}

/* SPの商品名はカード全幅を使い、品番の途中では改行しない。 */

@media (max-width: 767px) {
  .product-card__title {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .product-card__code {
    overflow-wrap: normal;
  }
}

.product-card__label {
  margin-right: .3em;
}

@media (max-width: 767px) {
  .product-card__label {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }

  /* SPの商品一覧導入（Figma 4480:1109）。 */

  #products > .section-heading {
    margin-bottom: 32px;
  }

  #products > .section-heading h2 {
    font-size: 32px;
    letter-spacing: .08em;
  }

  #products > .section-heading .section-heading__description {
    margin: 32px auto 0;
    padding-inline: 8px;
    max-width: 374px;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: .02em;
    font-feature-settings: "halt" 1, "pwid" 1;
  }

  .product-downloads {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 48px);
    padding: 24px 20px;
    gap: 24px;
    margin-inline: auto;
  }

  .product-downloads__title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: -8px;
  }

  .product-downloads .product-key__intro {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
  }

  .product-downloads .product-key__intro p {
    font-size: 13px;
    line-height: 1.5;
  }

  .product-downloads__links {
    display: grid;
    gap: 16px;
    margin-top: 16px;
  }

  .product-downloads__button {
    font-size: 16px;
    line-height: 1;
    gap: 8px;
  }

  .product-downloads__button > img {
    width: 28px;
    height: 18px;
  }

  .product-downloads .product-key__edge,
  .product-downloads .product-key__edge:last-child {
    display: block;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
  }

  .product-downloads .product-key__heading {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .product-downloads .product-key__heading p {
    margin-bottom: 3px;
  }

  .product-downloads .product-key__heading > img {
    width: 93px;
    max-width: 33%;
  }

  .product-downloads .product-key__edge:last-child .product-key__heading > img {
    width: 90px;
  }

  .product-downloads .product-key__number {
    margin-top: 8px;
    gap: 16px;
    align-items: center;
  }

  .product-downloads .product-key__number p {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -.04em;
  }

  .product-downloads .product-key__icon {
    flex-basis: 40px;
    height: 40px;
  }
}

@media (max-width: 359px) {
  .product-downloads {
    width: calc(100% - 16px);
    padding-inline: 16px;
  }

  .product-downloads__button {
    font-size: 14px;
  }

  .product-downloads .product-key__number {
    gap: 10px;
  }

  .product-downloads .product-key__number p {
    font-size: 12px;
  }
}

.product-intro__sp-break {
  display: none;
}

@media (min-width: 390px) and (max-width: 767px) {
  #products .section-heading__description br.product-intro__sp-break {
    display: initial;
  }
}

@media (max-width: 767px) {
  .product-downloads__button .button-roll > span {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Featuresの紹介文はSPでも指定の3行で区切る。 */

  .section-heading__description--features br {
    display: initial;
  }

  .gallery__edge-description {
    white-space: normal;
  }

  /* 素材名・色名・品番はまとまりの間でのみ折り返す。 */

  .product-card__name {
    overflow-wrap: normal;
  }

  /* SPの商品は2列のまま、商品名と品番を続けて表示し、文字サイズを統一する。 */

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card__name {
    white-space: normal;
  }

  .product-card {
    container-type: inline-size;
  }

  .product-card__phrase--long,
  .product-card__phrase--material {
    font-size: inherit;
  }

  .gallery__caption {
    flex-direction: row;
    padding: 8px;
    min-height: 81px;
  }

  .gallery__product {
    flex-shrink: 0;
  }

  .gallery__caption p {
    flex: 1;
    width: auto;
    min-width: 0;
    margin: 0;
    text-align: left;
    white-space: normal;
    font-size: 13px;
  }

  /* SPの英字ラベルと見出しの余白は各Figmaセクションに合わせる。 */

  .section-heading__eyebrow {
    line-height: 1;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }

  #features > .section-heading > .section-heading__eyebrow,
  #products > .section-heading > .section-heading__eyebrow {
    margin-bottom: 80px;
  }

  #story > .section-heading > .section-heading__eyebrow,
  .solution > .section-heading > .section-heading__eyebrow {
    margin-bottom: 32px;
  }

  .download-banner__card > .section-heading__eyebrow {
    margin-bottom: 24px;
  }

  .feature__eyebrow {
    line-height: 1;
    height: 10px;
    margin-bottom: 48px;
  }

  .specification__eyebrow {
    margin-bottom: 20px;
  }

  /* SPの図面選択：形状コードの読みやすさを調整。 */

  .drawing-shape__code {
    font-size: 11px;
  }
}

/* Figma照合：文字サイズ・改行指定を維持し、行間のみ調整する。 */

.section-heading__description,
.feature__copy p,
.feature__detail p,
.story-card__copy,
.download-banner__card > p:not(.section-heading__eyebrow),
.specification__eyebrow,
.specification__copy > p:last-child,
.footer address {
  line-height: 1.6;
}

.feature__copy h3,
.specification h3 {
  line-height: 1.5;
}

.color-list h4 {
  line-height: 1;
}

.color-list p {
  line-height: 1.5;
}

.footer__bottom small {
  line-height: 1;
}

@media (min-width: 768px) {
  .section-heading__eyebrow,
  .feature__eyebrow {
    line-height: 1;
  }
}

@media (max-width: 767px) {
  .download-banner h2 {
    line-height: 1.3;
  }

  .download-banner__card > p:not(.section-heading__eyebrow),
  .specification__copy > p:last-child {
    line-height: 1.5;
  }

  .color-list p {
    line-height: 1.4;
  }

  /* SPの商品説明はFigmaに合わせ、表面・商品名・品番をひと続きに左揃えで表示。 */

  .product-card__title {
    display: block;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
  }

  .product-card__label {
    display: inline;
    margin-right: 0;
    text-decoration: none;
  }

  .product-card__label::after {
    content: "：";
  }

  .product-card__name {
    display: inline;
    font-size: inherit;
    line-height: inherit;
    container-type: normal;
  }

  .product-card__phrase {
    display: inline;
    font-size: inherit;
    white-space: normal;
  }

  .product-card__code {
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
  }

  /* スマホのギャラリー説明は品番・商品名・エッジ説明の3段構成。 */

  .gallery__product {
    width: 104px;
    max-width: 33%;
  }

  .gallery__caption {
    gap: 10px;
  }

  .gallery__item-code,
  .gallery__item-name,
  .gallery__edge-description {
    display: block;
  }

  .gallery__quote,
  #gallery-caption > br {
    display: none;
  }
}

/* 支給IBIKENロゴ：背景に合わせた白黒と画像本来の縦横比。 */

.brand__ibiken {
  width: auto;
  height: 24.0124px;
  flex-shrink: 0;
}

.mobile-menu__ibiken {
  width: auto;
  height: 14.1268px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .brand__ibiken {
    height: 14.1267px;
  }
}

/* フッターのロゴを読みやすくし、追従ボタンとの重なりを防ぐ。 */

.footer__bottom img {
  width: 140px;
  height: auto;
}

.catalog.is-footer-visible {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 767px) {
  .footer__bottom {
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .footer__bottom > a {
    margin-left: auto;
  }

  .footer__bottom img {
    width: 120px;
  }
}

/* ヘッダーロゴの選択表示は囲み線ではなく背景で示す。 */

.brand:focus,
.mobile-menu__brand:focus {
  outline: none;
}

.brand:focus-visible {
  background-color: rgb(255 255 255 / 16%);
  border-radius: 2px;
}

.mobile-menu__brand:focus-visible {
  background-color: transparent;
  opacity: .7;
}

/* スマホのメニュー開閉ボタンにブラウザ標準の背景を付けない。 */

.menu-toggle,
.mobile-menu__close {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
