@charset "UTF-8";
/* =========================================================
   Smart Floor 4.0 LP
   命名規則：BEM（Block__Element--Modifier）
   JSから参照するフックは js- 接頭辞（スタイルは当てない）
   ---------------------------------------------------------
   目次
   01. 変数
   02. ベース
   03. 共通パーツ（container / section-title / section-head / button / text-link / form-control / range / select-box）
   04. header
   05. hero / value-strip
   06. concept
   07. features / feature-card
   08. structure / layer
   09. texture
   10. estimate / calculator / field / parts / calc-result
   11. specs / spec-table / accordion / install
   12. contact
   13. footer / mobile-cta
   14. レスポンシブ
   15. 印刷
   ========================================================= */


/* =========================================================
   01. 変数
   ========================================================= */
:root {
  /* カラー */
  --paper: #f7f5ee;
  --paper-2: #faf9f4;
  --ink: #2c3029;
  --text: #4d5146;
  --muted: #73766a;
  --line: #d8d9ce;
  --line-2: #cdd1c3;
  --wood: #a57c4e;
  --wood-dark: #8a6640;
  --soft: #ecebe3;
  --sage: #d9dcca;
  --forest: #2b322a;
  --forest-2: #343d32;
  --accent-bar: #1f4a2b;

  /* フォント */
  --serif: 'Noto Serif JP', 'Noto Serif CJK JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --num: Georgia, 'Times New Roman', serif;

  /* サイズ */
  --header-h: 80px;
  --fs-body: 16px;   /* 本文 */
  --fs-note: 13px;   /* 注記・キャプション */
}


/* =========================================================
   02. ベース
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.9 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

p,
h2,
h3 {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-weight: 500;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
}

/* 読み上げ専用テキスト */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 本文へ移動リンク */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  z-index: 100;
  padding: 12px;
  background: var(--paper);
}

.skip-link:focus {
  top: 0;
}


/* =========================================================
   03. 共通パーツ
   ========================================================= */

/* ---------- container：コンテンツ幅 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

/* ---------- section-title：セクション見出し（h2） ---------- */
.section-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
}

.section-title--center {
  text-align: center;
}

.section-title--small {
  font-size: 36px;
}

/* ---------- section-head：見出し＋右側リード文 ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-head__lead {
  flex-shrink: 0;
  font-size: var(--fs-body);
  line-height: 2;
  color: var(--muted);
}

.section-head--dark .section-head__lead {
  color: #c6ccbd;
}

.section-head--center {
  align-items: center;
}

/* ---------- button ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 28px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .2s, transform .2s, color .2s;
}

.button:hover {
  background: #e7e4d7;
  transform: translateY(-2px);
}

.button__icon {
  font-size: 16px;
}

/* 黒ボタン */
.button--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button--dark:hover {
  background: #454b3e;
}

/* PDFカタログ（グレー） */
.button--catalog {
  border-color: #c9cbbf;
  background: #eeede6;
  color: #6a6d62;
  font-weight: 400;
}

/* 印刷ボタン */
.button--print {
  gap: 40px;
  padding: 17px 28px;
  font-size: 15px;
}

/* ---------- text-link：下線付きリンク ---------- */
.text-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 500;
  transition: opacity .2s;
}

.text-link:hover {
  opacity: .7;
}

/* ---------- form-control：入力欄の共通枠 ---------- */
.form-control {
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid #cfd1c4;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.form-control::placeholder {
  color: #a9ab9f;
}

.form-control[aria-invalid="true"] {
  border-color: #b45a43;
  background: #fff8f5;
}

/* 施工面積の大きい入力欄 */
.form-control--large {
  height: 56px;
  padding: 7px 16px;
  font-size: 24px;
}

/* ---------- range：スライダー ---------- */
.range {
  --p: 20%;  /* 塗りの割合（JSで更新） */
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 18px 0 2px;
  background: transparent;
}

.range::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 7px;
  background: linear-gradient(to right, #b38a5a var(--p), #e3e1d7 var(--p));
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .08);
}

.range::-moz-range-track {
  height: 7px;
  border-radius: 7px;
  background: #e3e1d7;
}

.range::-moz-range-progress {
  height: 7px;
  border-radius: 7px;
  background: #b38a5a;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin-top: -5px;
  border: 2px solid #c9a274;
  border-radius: 50%;
  background: #a57c4e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  cursor: pointer;
}

.range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid #c9a274;
  border-radius: 50%;
  background: #a57c4e;
  cursor: pointer;
}

/* ---------- select-box：カスタムプルダウン（JSで生成） ---------- */
.select-box {
  position: relative;
}

/* 元の select（値の保持用・非表示） */
.select-box__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.select-box__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 11px 14px;
  border: 1px solid #cfd1c4;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s;
}

.select-box__button:hover {
  border-color: #a8ab9c;
}

/* 未選択（「選択してください」）の表示 */
.select-box__value--placeholder {
  color: #8d9083;
}

.select-box__icon {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  transition: transform .2s;
}

.select-box__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 260px;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #d4d5ca;
  background: #fff;
  box-shadow: 0 10px 24px rgba(40, 42, 35, .14);
  list-style: none;
  outline: none;
}

.select-box__list[hidden] {
  display: none;
}

.select-box__option {
  padding: 12px 16px;
  border-left: 4px solid transparent;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.select-box__option + .select-box__option {
  border-top: 1px solid #efeee8;
}

/* キーボード・マウスで選択中 */
.select-box__option--active {
  background: #f6f3ec;
}

/* 現在の値 */
.select-box__option--selected {
  border-left-color: var(--wood);
  background: #efe9dd;
}

/* 開いている状態 */
.select-box--open .select-box__button {
  border-color: #a8ab9c;
}

.select-box--open .select-box__icon {
  transform: rotate(180deg);
}

/* 施工面積の単位（高さを入力欄に合わせる） */
.select-box--large .select-box__button {
  height: 56px;
}

/* 専用部材の仕上げ（小さめ） */
.select-box--compact .select-box__button {
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
}


/* =========================================================
   04. header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  padding: 0 4%;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 238, .96);
  backdrop-filter: blur(6px);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__logo {
  width: 118px;
}

.header__product {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: .03em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 16px;
  font-weight: 500;
}

.header__nav-link {
  position: relative;
  padding: 6px 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.header__nav-link:hover::after {
  transform: scaleX(1);
}

.header__nav-button {
  gap: 36px;
  padding: 13px 22px;
  font-size: 14px;
}

/* ハンバーガーボタン（SPのみ表示） */
.header__menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border: 0;
  background: none;
}

.header__menu-line {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

.header__menu-button--open .header__menu-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.header__menu-button--open .header__menu-line:nth-child(2) {
  opacity: 0;
}

.header__menu-button--open .header__menu-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}


/* =========================================================
   05. hero / value-strip
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 640px;
}

.hero__copy {
  align-self: center;
  padding: 60px 3vw 60px 10.3vw;
}

.hero__product-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #3a3d36;
}

.hero__title {
  margin: 22px 0 26px;
  font-family: var(--serif);
  font-size: clamp(38px, 3.7vw, 54px);
  line-height: 1.6;
  letter-spacing: .06em;
  white-space: nowrap;
}

.hero__lead {
  font-size: var(--fs-body);
  line-height: 2.1;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
}

.hero__button {
  width: 320px;
  min-height: 56px;
  white-space: nowrap;
}

.hero__photo {
  position: relative;
  overflow: hidden;
  background: #cfcfc6;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* 左下の「4mm」 */
.hero__thickness {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 34px 18px 36px;
  background: var(--paper);
}

.hero__thickness-text {
  writing-mode: vertical-rl;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .12em;
}

.hero__thickness-value {
  font: 400 104px/.82 var(--num);
  letter-spacing: -.04em;
}

.hero__thickness-unit {
  margin-left: 6px;
  font-size: 24px;
  letter-spacing: 0;
}

/* ---------- value-strip：3つの価値 ---------- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 6%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #efeee6;
}

.value-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-right: 1px solid #c9cdbf;
}

.value-strip__item:last-child {
  border-right: 0;
}

.value-strip__number {
  font: italic 30px var(--num);
  color: #9a9c85;
}

.value-strip__text {
  font-size: 15px;
  line-height: 1.75;
}

.value-strip__strong {
  font-weight: 700;
}


/* =========================================================
   06. concept
   ========================================================= */
.concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 96px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.concept__title {
  margin-bottom: 30px;
}

.concept__text {
  font-size: var(--fs-body);
  line-height: 2.2;
  color: var(--text);
}

.concept__text + .concept__text {
  margin-top: 28px;
}

.concept__note {
  margin-top: 30px;
  font-size: var(--fs-note);
  line-height: 2.2;
  color: var(--muted);
}

.concept__image {
  width: 100%;
  aspect-ratio: 1.47;
  object-fit: cover;
}

.concept__caption {
  margin-top: 12px;
  font-size: var(--fs-note);
  color: var(--muted);
}


/* =========================================================
   07. features / feature-card
   ========================================================= */
.features {
  padding: 90px 0 100px;
  background: var(--soft);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 56px;
}

/* ---------- feature-card：特長カード ---------- */
.feature-card {
  padding-top: 24px;
  border-top: 1px solid #c4c8b9;
}

.feature-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #55604c;
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.feature-card__number {
  font: italic 20px var(--num);
  color: #8a8e78;
}

.feature-card__title {
  margin-bottom: 14px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .03em;
}

.feature-card__text {
  font-size: var(--fs-body);
  line-height: 1.95;
  color: #666b5e;
}


/* =========================================================
   08. structure / layer
   ========================================================= */
.structure {
  padding: 88px 0 96px;
  background: var(--forest);
  color: #f3f1e8;
}

.structure__body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 62px;
}

.structure__diagram {
  padding: 40px 40px 30px;
  background: var(--forest-2);
}

.structure__diagram-image {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.structure__diagram-caption {
  margin-top: 18px;
  text-align: center;
}

.structure__diagram-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #e6e8de;
}

.structure__diagram-note {
  display: block;
  margin-top: 14px;
  font-size: var(--fs-note);
  color: #c3c9b9;
}

.structure__note {
  margin-top: 40px;
  font-size: 18px;
  letter-spacing: .02em;
  color: #d8dccf;
}

/* ---------- layer：構造の各層 ---------- */
.layer {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0;
  padding: 22px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.layer__size {
  font: 26px/1.2 var(--num);
  color: #d9be91;
}

.layer__unit {
  margin-left: 4px;
  font: 14px var(--sans);
}

.layer__title {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
}

.layer__text {
  font-size: var(--fs-body);
  line-height: 1.9;
  color: #c3cabb;
}


/* =========================================================
   09. texture
   ========================================================= */
.texture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.texture__image {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
}

.texture__title {
  margin-bottom: 30px;
}

.texture__text {
  font-size: var(--fs-body);
  line-height: 1.95;
  color: var(--text);
}

.texture__text + .texture__text {
  margin-top: 24px;
}

.texture__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.texture__chip {
  padding: 7px 16px;
  border: 1px solid #c6c9ba;
  background: #fff;
  font-size: 14px;
}


/* =========================================================
   10. estimate / calculator / field / parts / calc-result
   ========================================================= */
.estimate {
  padding: 90px 0 100px;
  background: #eeede4;
}

.estimate__title {
  margin-bottom: 22px;
}

.estimate__lead {
  font-size: var(--fs-body);
  text-align: center;
  color: var(--muted);
}

/* ---------- calculator：入力と結果の2カラム ---------- */
.calculator {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  margin-top: 44px;
  padding: 40px 38px;
  background: var(--paper-2);
  box-shadow: 6px 6px 0 #f6f5ef, 0 1px 2px rgba(0, 0, 0, .04);
}

/* ---------- field：入力項目（01〜03） ---------- */
.field {
  margin-bottom: 26px;
}

.field__title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.field__step {
  font: italic 27px/1 var(--num);
  color: var(--wood);
}

.field__row {
  display: flex;
  gap: 12px;
}

/* 施工面積の単位プルダウン */
.field__unit {
  flex-shrink: 0;
  width: 100px;
}

.field__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-note);
  color: var(--muted);
}

.field__error {
  min-height: 0;
  font-size: 14px;
  color: #a6402b;
}

.field__error:not(:empty) {
  margin-top: 8px;
}

.field--parts .field__title {
  margin-bottom: 6px;
}

/* ---------- parts：専用部材の選択 ---------- */
.parts__group {
  padding-top: 14px;
}

.parts__group + .parts__group {
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

.parts__title {
  position: relative;
  margin-bottom: 6px;
  padding-left: 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.parts__title::before {
  content: '';
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 6px;
  background: var(--accent-bar);
}

.parts__head,
.parts__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 78px;
  align-items: center;
  gap: 12px;
}

.parts__head {
  margin-bottom: 4px;
  font-size: var(--fs-note);
  color: var(--muted);
}

.parts__row {
  padding: 6px 0 8px;
}

.parts__row + .parts__row {
  border-top: 1px solid #eceae2;
}

/* 種類・サイズ（表示のみ） */
.parts__name {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  overflow: hidden;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.parts__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.parts__qty-input {
  width: 52px;
  height: 44px;
  padding: 0 4px;
  font-size: 16px;
  text-align: center;
}

.parts__note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-note);
  color: var(--muted);
}

/* ---------- calc-result：試算結果 ---------- */
.calc-result {
  align-self: start;
  padding: 24px 30px 26px;
  background: #eaebe0;
}

.calc-result__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #cdd2c0;
  font-size: 15px;
}

.calc-result__value {
  font-weight: 400;
  text-align: right;
}

.calc-result__price-title {
  margin-top: 30px;
  font-size: 16px;
  font-weight: 500;
}

.calc-result__price {
  margin: 4px 0 6px;
  font: 400 64px/1.3 var(--sans);
  letter-spacing: -.02em;
  font-feature-settings: "tnum";
}

.calc-result__price-unit {
  margin-left: 8px;
  font-size: 18px;
  letter-spacing: 0;
}

.calc-result__caption {
  font-size: var(--fs-note);
  line-height: 1.8;
  color: #68705d;
}

/* コピー用の試算内容（高さはJSで内容に合わせる） */
.calc-result__summary {
  display: block;
  min-height: 150px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .85);
  font-size: 13.5px;
  line-height: 1.75;
  resize: vertical;
}

.calc-result__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  font-size: 15px;
  font-weight: 700;
}

.calc-result__copy:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.calc-result__copy-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.calc-result__status {
  min-height: 20px;
  margin-top: 4px;
  font-size: var(--fs-note);
  color: #4f6243;
}

.calc-result__button {
  width: 100%;
  margin-top: 4px;
  padding: 20px 28px;
  font-size: 16px;
}

.calc-result__foot {
  margin-top: 14px;
  font-size: var(--fs-note);
  color: #68705d;
}


/* =========================================================
   11. specs / spec-table / accordion / install
   ========================================================= */
.specs {
  padding-top: 96px;
  padding-bottom: 90px;
}

.specs__head {
  margin-bottom: 36px;
}

.specs__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
  font-size: 15px;
}

.specs__summary-item {
  padding: 0 20px;
  border-right: 1px solid var(--line-2);
}

.specs__summary-item:first-child {
  padding-left: 0;
}

.specs__note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

/* 見切り材・框の2カラム */
.specs__subtables {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 38px;
  margin-top: 40px;
}

.specs__subtables::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}

.specs__species {
  margin: 6px 0 12px;
  font-size: 14px;
}

.specs__species-value {
  margin-left: 14px;
}

/* ---------- table-scroll：表の横スクロール ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- spec-table：仕様・価格表 ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
  white-space: nowrap;
}

.spec-table__th {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: #e6e8de;
  font-size: 14px;
  font-weight: 400;
  color: #55594d;
}

.spec-table__td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.spec-table__td--strong {
  font-weight: 500;
}

.spec-table__th--right,
.spec-table__td--right {
  text-align: right;
}

.spec-table__row:hover {
  background: #f0eee5;
}

/* 本体の表 */
.spec-table--main .spec-table__th {
  padding: 18px;
  border-bottom: 2px solid #f7f5ee;
  box-shadow: inset 0 -1px 0 var(--line);
}

/* 見切り材・框の表（縦罫線あり） */
.spec-table--grid {
  font-size: 14px;
}

.spec-table--grid .spec-table__th,
.spec-table--grid .spec-table__td {
  padding: 10px 12px;
  border-right: 1px solid #e3e3da;
}

.spec-table--grid .spec-table__th:last-child,
.spec-table--grid .spec-table__td:last-child {
  border-right: 0;
}

.spec-table--grid .spec-table__th {
  padding: 14px 12px;
  text-align: center;
}

.spec-table--grid .spec-table__th--left {
  text-align: left;
}

/* 行の高さを広げる（框の表） */
.spec-table--tall .spec-table__td {
  padding: 18px 14px;
}

/* ---------- accordion：開閉（details） ---------- */
.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

/* ＋／− アイコン */
.accordion__summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: background-size .25s;
}

.accordion[open] > .accordion__summary::after {
  background-size: 14px 1.5px, 1.5px 0;
}

.accordion__summary:hover {
  color: #55594d;
}

.accordion__body {
  overflow: hidden;
}

/* 枠付き（施工前の確認） */
.accordion--boxed .accordion__summary {
  padding: 0 0 22px;
  font-size: 18px;
}

/* ---------- install：施工前の確認 ---------- */
.install {
  margin-top: 44px;
  padding: 28px 36px 32px;
  border: 1px solid var(--line-2);
  background: #f9f8f3;
}

.install__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.install__title {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.install__text {
  font-size: var(--fs-body);
  line-height: 2;
  color: var(--text);
}


/* =========================================================
   12. contact
   ========================================================= */
.contact {
  padding: 80px 0 84px;
  background: var(--sage);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: start;
  gap: 70px;
}

.contact__title {
  margin-bottom: 30px;
}

.contact__text {
  font-size: var(--fs-body);
  line-height: 2.1;
  color: #5f6655;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.contact__button {
  width: 100%;
  padding: 20px 28px;
  font-size: 16px;
}

.contact__note {
  margin-top: 6px;
  font-size: var(--fs-note);
  line-height: 1.9;
  color: #5f6655;
}


/* =========================================================
   13. footer / mobile-cta
   ========================================================= */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px 4%;
  border-top: 1px solid var(--line);
}

.footer__logo {
  width: 112px;
}

.footer__links {
  display: flex;
  gap: 38px;
  font-size: 15px;
  font-weight: 500;
}

.footer__link:hover {
  opacity: .65;
}

.footer__copyright {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- mobile-cta：SP下部の固定ボタン ---------- */
.mobile-cta {
  display: none;
}


/* =========================================================
   14. レスポンシブ
   ========================================================= */

/* ---------- 1500px〜：ヒーロー左余白をコンテンツ幅に揃える ---------- */
@media (min-width: 1500px) {
  .hero__copy {
    padding-left: calc((100vw - 1200px) / 2 + 20px);
  }
}

/* ---------- 1181px〜：表と施工前の確認を少し広げる ---------- */
@media (min-width: 1181px) {
  .install,
  .specs__subtables {
    margin-left: -58px;
    margin-right: -58px;
  }
}

/* ---------- 〜1180px ---------- */
@media (max-width: 1180px) {
  .header__nav {
    gap: 20px;
    font-size: 14px;
  }

  .header__product {
    font-size: 15px;
  }

  .calculator {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- 〜1050px ---------- */
@media (max-width: 1050px) {
  .container {
    padding-left: 36px;
    padding-right: 36px;
  }

  .header__product {
    display: none;
  }

  .hero__copy {
    padding-left: 6vw;
    padding-right: 3vw;
  }

  .hero__title {
    font-size: 36px;
  }

  .concept,
  .texture {
    gap: 44px;
  }

  .structure__body {
    gap: 34px;
  }

  .specs__subtables {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .specs__subtables::before {
    display: none;
  }
}

/* ---------- 〜860px：スマホ ---------- */
@media (max-width: 860px) {
  :root {
    --header-h: 66px;
    --fs-body: 14px;
    --fs-note: 12px;
  }

  body {
    font-size: 14px;
  }

  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* 共通パーツ */
  .section-title {
    font-size: 26px;
  }

  .section-title--small {
    font-size: 24px;
    letter-spacing: .04em;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
  }

  .button {
    font-size: 14px;
  }

  .button--print {
    font-size: 14px;
  }

  .text-link {
    font-size: 14px;
  }

  .select-box__button,
  .select-box__option {
    font-size: 15px;
  }

  .select-box--compact .select-box__button {
    font-size: 14px;
  }

  /* header */
  .header {
    padding: 0 18px;
  }

  .header__logo {
    width: 104px;
  }

  .header__menu-button {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 14px 20px rgba(0, 0, 0, .06);
    font-size: 15px;
  }

  .header__nav--open {
    display: flex;
  }

  .header__nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-button {
    margin-top: 18px;
    padding: 16px 20px;
  }

  /* hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    order: 1;
    padding: 44px 24px 36px;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__button {
    width: 100%;
  }

  .hero__link {
    align-self: flex-start;
  }

  .hero__photo {
    order: 2;
    min-height: 380px;
  }

  .hero__thickness-text {
    font-size: 11px;
  }

  .value-strip {
    padding: 18px 10px;
  }

  .value-strip__item {
    flex-direction: column;
    gap: 4px;
    padding: 0 6px;
    text-align: center;
  }

  .value-strip__number {
    font-size: 20px;
  }

  .value-strip__text {
    font-size: 12px;
    letter-spacing: 0;
  }

  /* concept / texture */
  .concept,
  .texture {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .texture__figure {
    order: 2;
  }

  /* features */
  .features {
    padding: 60px 0;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    row-gap: 34px;
  }

  .feature-card__title {
    font-size: 18px;
  }

  /* structure */
  .structure {
    padding: 60px 0;
  }

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

  .structure__diagram {
    padding: 24px 16px 20px;
  }

  .structure__diagram-label {
    font-size: 14px;
  }

  .structure__note {
    margin-top: 24px;
    font-size: 15px;
  }

  .layer {
    grid-template-columns: 70px 1fr;
  }

  .layer__size {
    font-size: 22px;
  }

  .layer__title {
    font-size: 16px;
  }

  /* estimate */
  .estimate {
    padding: 60px 0;
  }

  .calculator {
    margin-top: 30px;
    padding: 24px 18px;
    box-shadow: none;
  }

  .field__title {
    font-size: 16px;
  }

  .parts__title {
    font-size: 15px;
  }

  .parts__name,
  .parts__qty {
    font-size: 14px;
  }

  .calc-result {
    padding: 22px 18px;
  }

  .calc-result__row {
    font-size: 14px;
  }

  .calc-result__price-title,
  .calc-result__copy {
    font-size: 14px;
  }

  .calc-result__price {
    font-size: 48px;
  }

  .calc-result__summary {
    font-size: 12.5px;
  }

  .calc-result__button {
    font-size: 15px;
  }

  /* specs */
  .specs {
    padding-top: 60px;
    padding-bottom: 56px;
  }

  .section-head--center {
    align-items: flex-start;
  }

  .specs__summary,
  .specs__note {
    font-size: 13px;
  }

  .spec-table--main {
    font-size: 13px;
  }

  .spec-table__th {
    font-size: 12px;
  }

  .accordion__summary,
  .accordion--boxed .accordion__summary,
  .install__title {
    font-size: 16px;
  }

  .install {
    padding: 22px 18px 24px;
  }

  .install__body {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* contact */
  .contact {
    padding: 56px 0;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact__button {
    gap: 12px;
    padding: 18px 20px;
    font-size: 14px;
  }

  /* footer */
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 24px 96px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 14px 26px;
    font-size: 14px;
  }

  .footer__copyright {
    font-size: 11px;
  }

  /* mobile-cta */
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .mobile-cta__link {
    padding: 16px 8px;
    font-size: 13.5px;
    font-weight: 500;
    text-align: center;
  }

  .mobile-cta__link--primary {
    background: var(--ink);
    color: #fff;
  }
}

/* ---------- 〜560px：小さいスマホ ---------- */
@media (max-width: 560px) {
  .hero__title {
    font-size: 35px;
    white-space: normal;
  }

  .hero__photo {
    min-height: 320px;
  }

  .hero__thickness {
    padding: 18px 22px 14px;
  }

  .hero__thickness-text {
    font-size: 10px;
  }

  .hero__thickness-value {
    font-size: 76px;
  }

  .hero__thickness-unit {
    font-size: 19px;
  }

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

  .feature-card__break {
    display: none;
  }

  .parts__head {
    display: none;
  }

  .parts__row {
    grid-template-columns: minmax(0, 1fr) 74px;
    row-gap: 8px;
    padding: 10px 0;
  }

  .parts__name {
    grid-column: 1 / -1;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 500;
  }

  .specs__summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .specs__summary-item {
    padding: 0;
    border: 0;
  }

  .calc-result__price {
    font-size: 42px;
  }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================================================
   15. 印刷（仕様・価格のみ）
   ========================================================= */
@media print {
  .skip-link,
  .header,
  .hero,
  .value-strip,
  .concept,
  .features,
  .structure,
  .texture,
  .estimate,
  .contact,
  .footer,
  .mobile-cta,
  .specs__print {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 11px;
  }

  .container,
  .specs {
    max-width: none;
    padding: 0;
  }

  .specs__subtables {
    display: block;
  }

  .specs__subtables::before {
    display: none;
  }

  .accordion {
    margin-top: 18px;
  }

  .accordion__summary::after {
    display: none;
  }

  .accordion__body {
    height: auto !important;
  }

  .table-scroll {
    overflow: visible;
  }

  .spec-table {
    white-space: normal;
  }

  .spec-table__th {
    background: #eee !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
