.wood-stove-option-hero {
  background: url(../img/wood-stove_option.png);
  background-repeat: no-repeat; /* ← リピートを止める */
  background-size: cover; /* ← 領域いっぱいに拡大(object-fit: cover の背景版) */
  background-position: center; /* ← 中央基準で表示 */
}

.sp-none {
  display: block;
}

@media (max-width: 980px) {
  .sp-none {
    display: none;
  }
}

@media (max-width: 485px) {
  .hero__deco {
    top: 189px;
  }
}
/* ============================================================
  薪ストーブとは？
  =========================================================== */

.what-wood-stove {
  background: url(../img/wood_stove-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__en-title {
  margin: 0 0 10px;
  font-family: var(--font-en, cursive);
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.what-wood-stove-hero__sub {
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.what-wood-stove-hero__sub::before {
  content: "";
  width: 40px; /* 線の長さ（横） */
  height: 1px; /* 線の太さ（縦） */
  background: currentColor;
  flex-shrink: 0;
}
.what-wood-stove-hero__sub::after {
  content: "";
  width: 40px; /* 線の長さ（横） */
  height: 1px; /* 線の太さ（縦） */
  background: currentColor;
  flex-shrink: 0;
}
.what-wood-stove__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 150px 20px;
}

.what-wood-stove__lead {
  margin-top: 60px;
  line-height: 2.4;
}

/* ---------- 3カラム ---------- */

.what-wood-stove__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← 半端な段が中央に寄る */
  margin-top: 100px;
  text-align: left;
  gap: 30px;
}

.what-wood-stove__item {
  flex: 0 1 360px; /* 基本幅340px、縮小はOK・拡大しない */
  max-width: 360px; /* 広い画面で伸びすぎ防止(任意) */
  padding-left: 30px;
  border-left: 1px solid var(--color-text);
  display: flex;
  flex-direction: column;
}

/* ---------- 番号+見出し ---------- */
.section__head {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 30px;
  justify-content: center;
}

.section__catch {
  font-weight: 400;
  margin: 0;
}

/* ---------- 帯ラベル ---------- */
.what-wood-stove__label {
  display: inline-block;

  padding: 10px 20px;
  background: var(--color-accent);
  color: var(--color-text-light);
  width: 100%;
  text-align: center;
  font-size: clamp(1.6rem, 1.5vw, 2rem);
  line-height: 1;
}

/* ---------- 本文 ---------- */
.what-wood-stove__text {
  margin-top: 30px;
}

/* ---------- 背景の英字 ---------- */
.what-wood-stove__bg-en {
  color: rgba(25, 6, 6, 0.1);
  text-align: right;
  width: 100%;

  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 40px */

  font-family: var(--font-en);
  color: rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- 締めの一文 ---------- */
.what-wood-stove__closing {
  margin-top: 100px;
  font-size: 24px;
  letter-spacing: 0.08em;
}
.what-wood-stove__bg-en-inner {
  width: 100%;
  text-align: right;
  padding-top: 18px;
  margin-top: auto;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .what-wood-stove {
    background-size: 200%;
  }
  .what-wood-stove__inner {
    padding: 80px 20px;
  }
  .section__head {
    justify-content: center;
  }
  .what-wood-stove__lead {
    margin-top: 20px;
  }
  .what-wood-stove__list {
    grid-template-columns: 1fr;
    margin-top: 60px;
    gap: 20px;
  }
  .what-wood-stove__bg-en-inner {
    padding-top: 0;
  }

  .what-wood-stove__item {
    flex: 0 1 100%;
    padding: 0;
    border-left: none;
    max-width: 100%;
  }

  .section__catch {
    font-size: 19px;
  }
  .what-wood-stove__closing {
    margin-top: 40px;
    font-size: 1.8rem;
  }
}

/* ============================================================
  導入からその先まで
  =========================================================== */

/* ---------- 上部ヒーロー(暗い写真背景) ---------- */
.installation-hero {
  padding: 130px 20px 150px;
  text-align: center;
  background: url(../img/installation-hero.png) center / cover no-repeat;
  /* 画像パスは実際のファイル名に合わせて変更 */
}

.installation-hero__lead {
  margin-top: 80px;
  color: var(--color-text-light);
  line-height: 2.4;
}

/* ---------- 本体 ---------- */
.installation__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 150px 20px;
}

/* ---------- 3カラム(what-wood-stoveと同じ構成) ---------- */
.installation__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
  gap: 30px;
}

.installation__item {
  flex: 0 1 360px; /* 基本幅340px、縮小はOK・拡大しない */
  max-width: 360px; /* 広い画面で伸びすぎ防止(任意) */
  padding-left: 30px;
  border-left: 1px solid var(--color-text);
  display: flex;
  flex-direction: column;
}

/* ---------- 帯ラベル ---------- */
.installation__label {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-accent);
  color: var(--color-text-light);
  width: 100%;
  text-align: center;
  font-weight: 400;
  font-size: clamp(1.6rem, 1.5vw, 2rem);
  line-height: 1;
  margin: 0;
}

/* ---------- 本文 ---------- */
.installation__text {
  margin-top: 30px;
}

/* ---------- 背景の英字 ---------- */
.installation__bg-en-inner {
  width: 100%;
  text-align: right;
  padding-top: 18px;
  margin-top: auto;
}

.installation__bg-en {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 400;
  line-height: 100%;
  color: rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- 締めの一文+装飾線 ---------- */
.installation__closing-wrap {
  position: relative;
  margin-top: 100px;
}

.installation__closing {
  font-size: 24px;
  letter-spacing: 0.08em;
}

/* ============================================================
  装飾線の「描かれる」動き(fill版)
  ------------------------------------------------------------
  このSVGは塗り(fill)なので stroke-dasharray が使えない。
  代わりにマスクで左→右に拭き取るように出現させる。
   ============================================================ */
.installation__deco {
  width: min(510px, 60%);
  height: auto;
  margin: 0px 0 0 auto; /* 右寄せ */
  display: block;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, #000 50%, transparent 50%);
  mask-image: linear-gradient(to right, #000 50%, transparent 50%);
  -webkit-mask-size: 200% 100%;
  mask-size: 200% 100%;
  -webkit-mask-position: 100% 0; /* 最初は全部隠れている */
  mask-position: 100% 0;
}

.installation__deco.is-drawn {
  animation: installDraw 1.5s ease forwards;
}

@keyframes installDraw {
  to {
    -webkit-mask-position: 0 0; /* 左から右へ現れる */
    mask-position: 0 0;
  }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .installation-hero {
    padding: 90px 20px 100px;
  }
  .installation-hero__lead {
    margin-top: 50px;
  }
  .installation__inner {
    padding: 80px 20px;
  }
  .installation__list {
    gap: 20px;
  }
  .installation__item {
    flex: 0 1 100%;
    padding: 0;
    border-left: none;
    max-width: 100%;
  }
  .installation__bg-en-inner {
    padding-top: 0;
  }
  .installation__closing-wrap {
    margin-top: 40px;
  }
  .installation__closing {
    font-size: 1.8rem;
  }
}

/* ============================================================
  焚き付けのしかた
  =========================================================== */

/* ---------- ヒーロー(暗い写真背景) ---------- */
.how-to-hero {
  padding: 130px 20px 150px;
  text-align: center;
  background: url(../img/how-to-hero.png) center / cover no-repeat;
  /* 画像パスは実際のファイル名に合わせて変更 */
}
.how-to__head {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  color: var(--color-accent);
}

.how-to-hero__lead {
  margin-top: 80px;
  color: var(--color-text-light);
  line-height: 2.4;
}

/* ---------- ステップリスト ---------- */
.how-to__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.how-to__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-to__step {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding: 60px 0 15px;
  position: relative;

  /* 区切り線 */
  border-bottom: 1px solid var(--color-text);
}

.how-to__step::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 36px solid transparent;
  border-right: 37px solid transparent;
  border-top: 24px solid var(--color-accent);
}
/* 最後のステップは▼なし(線は残す) */
.how-to__step:last-child::after {
  content: none;
}

/* ---------- テキスト側 ---------- */
.how-to__text-area {
  flex: 1;
}

.how-to__text {
  margin-top: 40px;
}

/* ---------- 画像側 ---------- */
.how-to__img {
  flex: 0 0 40%;
  max-width: 430px;
}

.how-to__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.how-tow__mov {
  text-align: center;
  font-size: 1.8rem;
  padding-top: 60px;
  font-weight: bold;
  padding-bottom: 110px;
}

/* ============================================================
  フロー表示アニメ(TOPと同じ:ステップが順番にふわっと)
   ============================================================ */
.how-to__step {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.how-to__step.is-shown {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .how-to-hero {
    padding: 90px 20px 100px;
  }
  .how-to-hero__lead {
    margin-top: 50px;
  }
  .how-to__inner {
    padding: 20px 20px 80px;
  }
  .how-to__step {
    flex-direction: column;
    gap: 30px;
    padding: 50px 0;
  }
  .how-tow__mov {
    padding-bottom: 0px;
  }
  .how-to__text {
    margin-top: 20px;
    padding-left: 0;
  }
  .how-to__img {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .how-to__step::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 14px solid var(--color-accent);
  }
}

/* ============================================================
  薪ストーブを安心して使うために
  =========================================================== */

/* ---------- ヒーロー(暗い写真背景) ---------- */
.safety-hero {
  padding: 130px 20px 150px;
  text-align: center;
  background: url(../img/safety-hero.png) center / cover no-repeat;
  /* 画像パスは実際のファイル名に合わせて変更 */
}

/* ---------- 本体 ---------- */
.safety__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 150px 20px;
}

/* ---------- 火災原因 2カラム ---------- */
.safety__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

.safety__item {
  flex: 0 1 45%;
  max-width: 540px;
}

/* オレンジの帯見出し */

/* ---- 低温炭化 / 煙道火災 の中央線付き小見出し ----
   hero__sub を流用するが、このセクションは背景が明るいので色だけ上書き */
.safety__sub {
  margin-top: 25px;
  color: var(--color-text);
}

.safety__text {
  margin-top: 25px;
}
.safety__label-num {
  padding-right: 20px;
}
/* ---------- 中間メッセージ ---------- */
.safety__message {
  margin-top: 80px;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  line-height: 2;
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Eight Knot では ---------- */
.safety__brand {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.safety__brand-logo {
  width: min(280px, 50%);
  height: auto;
}

.safety__brand-text {
  font-size: 1.8rem;
}

/* ロゴ下の縦線 */
.safety__brand-line {
  display: block;
  width: 1px;
  height: 80px;
  margin: 30px auto 0;
  background: var(--color-text);
}

/* ---------- 3つの採用技術 ---------- */
.safety__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}

.safety__feature {
  flex: 0 1 340px;
  max-width: 380px;
  margin: 0;
}

.safety__feature-title {
  font-weight: bold;
  margin-bottom: 20px;
}

.safety__feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ---------- 締め ---------- */
.safety__closing {
  margin-top: 80px;
  line-height: 2.4;
}

/* ============================================================
  3画像の時間差フェードイン
   ============================================================ */
.safety__feature {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 2枚目・3枚目は少しずつ遅れて出る */
.safety__feature:nth-child(2) {
  transition-delay: 0.2s;
}
.safety__feature:nth-child(3) {
  transition-delay: 0.4s;
}

.safety__features.is-shown .safety__feature {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .safety-hero {
    padding: 90px 20px 100px;
  }
  .safety__inner {
    padding: 80px 20px;
  }
  .safety__list {
    gap: 40px;
  }
  .safety__item {
    flex: 0 1 100%;
    max-width: 100%;
  }
  .safety__message {
    margin-top: 60px;
  }
  .safety__brand {
    margin-top: 50px;
  }
  .safety__brand-line {
    height: 50px;
  }
  .safety__features {
    gap: 60px;
  }
  .safety__feature {
    flex: 0 1 100%;
    max-width: 100%;
  }
  .safety__closing {
    margin-top: 50px;
    text-align: left;
  }
}
