@charset "UTF-8";



/* ============================================================
   01. 設計トークン・ベース
============================================================ */
.rf-special {
  /* 色は4系統に絞っています。--rf-accent はサイトのブランドカラーに合わせて変更してください */
  --rf-ink:    #333333;   /* 基本テキスト */
  --rf-sub:    #666666;   /* 補足テキスト */
  --rf-line:   #dddddd;   /* 罫線 */
  --rf-bg:     #f5f5f5;   /* 薄い背景 */
  --rf-accent: #25665c;   /* 見出し・リンク・図解（トップバナーの緑） */
  --rf-accent-lt: #eaf2f0; /* アクセントの淡色（アイコン背景など） */
  --rf-red:    #c8161d;   /* 価格・購入ボタン */
  --rf-red-dk: #a51016;   /* 購入ボタン hover */

  /* フォントはサイト本体を継承（周囲のページと揃えるのが最も自然に見えます） */
  font-family: inherit;
  color: var(--rf-ink);
  font-size: 14px;
  line-height: 1.7;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;   /* スマホで画面端に余白を作る */
}

.rf-special *,
.rf-special *::before,
.rf-special *::after {
  box-sizing: border-box;
}

/* リセットは :where() で詳細度0にし、各パーツの margin 指定が必ず勝つようにする */
.rf-special :where(img) {
  max-width: 100%;
  height: auto;
  display: block;
}

.rf-special :where(h2, h3, h4) {
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
}

.rf-special :where(p, table, ul, ol) {
  margin: 0;
}

.rf-special :where(ul, ol) {
  padding: 0;
  list-style: none;
}


/* ============================================================
   02. メインバナー
============================================================ */
.rf-banner img {
  width: 100%;
  height: auto;
}


/* --- 挨拶文（リード） --- */
.rf-intro {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}

.rf-intro .rf-intro-ttl {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--rf-ink);
}

.rf-intro p {
  font-size: 14px;
  line-height: 1.9;
}

.rf-intro p + p {
  margin-top: 10px;
}


/* ============================================================
   03. セクション共通（見出し）
============================================================ */
.rf-sec {
  padding-top: 48px;
}

.rf-sec-head {
  margin-bottom: 18px;
}

/* 英字ラベルは廃止（HTMLに残っていても表示しない） */
.rf-sec-eyebrow {
  display: none;
}

/* 見出し：左の縦線で区切る、国内ECで定番の形 */
.rf-sec-head h2 {
  font-size: 20px;
  color: var(--rf-ink);
  padding: 2px 0 2px 12px;
  border-left: 4px solid var(--rf-accent);
}

.rf-sec-head p {
  font-size: 13px;
  color: var(--rf-sub);
  margin-top: 10px;
}


/* ============================================================
   04. カテゴリー目次（写真付き）
============================================================ */
.rf-ctg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rf-ctg-card {
  display: block;
  background: #fff;
  border: 1px solid var(--rf-line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--rf-ink);
}

.rf-ctg-card:hover {
  border-color: var(--rf-accent);
}

/* アイコン枠（商品画像を使わないため、商品入れ替えの影響を受けない） */
.rf-ctg-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: var(--rf-accent-lt);
}

.rf-ctg-ic svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--rf-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rf-ctg-card:hover .rf-ctg-ic {
  background: #dde9e6;
}

/* カテゴリー名＋右端の小さな矢印（CSSの線で描画） */
.rf-ctg-name {
  display: block;
  position: relative;
  padding: 10px 28px 10px 12px;
  border-top: 1px solid var(--rf-line);
  font-size: 14px;
  font-weight: 700;
}

.rf-ctg-name::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--rf-accent);
  border-bottom: 2px solid var(--rf-accent);
  transform: translateY(-70%) rotate(45deg);   /* 下向き＝ページ内移動 */
}


/* ============================================================
   05. 商品カード
============================================================ */
.rf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rf-card {
  background: #fff;
  border: 1px solid var(--rf-line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 商品画像：700px正方形の画像を歪ませず全体表示 */
.rf-visual {
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.rf-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rf-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  border-top: 1px solid var(--rf-line);
}

.rf-maker {
  font-size: 12px;
  color: var(--rf-sub);
}

/* 商品名：3行で固定 → 名前の長短に関わらず価格・ボタンの位置が揃う */
.rf-name {
  font-size: 14px;
  line-height: 1.5;
  min-height: calc(1.5em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.rf-price {
  line-height: 1.3;
  color: var(--rf-red);
  font-weight: 700;
}

.rf-price br {
  display: none;   /* 旧HTMLの<br>対策 */
}

.rf-price .rf-val {
  font-size: 24px;
}

.rf-price .rf-yen {
  font-size: 14px;
  margin-left: 1px;
}

.rf-price .rf-taxin {
  font-size: 12px;
  font-weight: 400;
  color: var(--rf-sub);
  margin-left: 4px;
}

/* 購入導線（本特集の唯一のCV）：カード下端に揃える */
.rf-buy {
  margin-top: auto;
  display: block;
  text-align: center;
  background: var(--rf-red);
  color: #fff !important;   /* サイト側のaタグ色に負けないため */
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  padding: 11px 10px;
}

.rf-buy:hover {
  background: var(--rf-red-dk);
}

/* 「すべて見る」：点線カードをやめ、グレー地のリンク枠に */
.rf-more {
  background: var(--rf-bg);
  justify-content: center;
}

.rf-more a {
  display: block;
  position: relative;
  padding: 32px 36px 32px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--rf-accent);
  text-decoration: none;
}

.rf-more a::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--rf-accent);
  border-top: 2px solid var(--rf-accent);
  transform: translateY(-50%) rotate(45deg);   /* 右向き＝別ページへ */
}

.rf-more a:hover {
  text-decoration: underline;
}


/* ============================================================
   06. 「標準工事費込み」とは？
============================================================ */
.rf-std {
  border: 1px solid var(--rf-line);
  border-radius: 4px;
  padding: 24px;
}

/* 内訳の式：商品代金 ＋ 標準工事費 ＋ 引取・処分費 ＝ 表示の総額 */
.rf-breakdown {
  display: flex;
  align-items: stretch;
}

.rf-bd-item,
.rf-bd-total {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 4px;
}

.rf-bd-item {
  background: var(--rf-bg);
}

.rf-bd-total {
  flex: 1.2;
  background: #fff;
  border: 2px solid var(--rf-red);
  color: var(--rf-red);
}

.rf-bd-item small,
.rf-bd-total small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--rf-sub);
}

.rf-bd-plus,
.rf-bd-eq {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  flex: none;
  font-size: 18px;
  color: var(--rf-sub);
}

.rf-std-caption {
  font-size: 12px;
  color: var(--rf-sub);
  margin: 10px 0 24px;
}

/* カテゴリー別の標準工事内容（2列→スマホ1列） */
.rf-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rf-spec {
  border: 1px solid var(--rf-line);
  border-radius: 4px;
  overflow: hidden;
}

.rf-spec h4 {
  font-size: 15px;
  padding: 10px 14px;
  background: var(--rf-bg);
  border-bottom: 2px solid var(--rf-accent);
}

.rf-spec dl {
  margin: 0;
  padding: 4px 14px 10px;
}

.rf-spec dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--rf-accent);
  margin-top: 10px;
}

.rf-spec dd {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

/* 約束文：アイコンをやめ、左線のみ */
.rf-std-promise {
  margin-top: 24px;
  background: var(--rf-bg);
  border-left: 4px solid var(--rf-accent);
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
}


/* ============================================================
   07. ご購入から施工完了までの流れ
============================================================ */
.rf-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;              /* 矢印を置く隙間 */
  counter-reset: rfstep;
}

.rf-step {
  position: relative;
  border: 1px solid var(--rf-line);
  border-radius: 4px;
  padding: 18px 16px;
  counter-increment: rfstep;
}

/* ステップ間の矢印（三角形を線で描画） */
.rf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -19px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 9px solid #bbbbbb;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.rf-step-ic {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  color: var(--rf-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 番号＋タイトル */
.rf-step-ttl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rf-step-ttl::before {
  content: counter(rfstep);
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rf-accent);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

.rf-step p {
  font-size: 13px;
  color: var(--rf-sub);
  line-height: 1.65;
}


/* ============================================================
   08. 取付可能エリア（確認方法の案内）
============================================================ */
.rf-area-guide {
  border: 1px solid var(--rf-line);
  border-radius: 4px;
  padding: 20px;
}

/* 確認手順：PCは横3列、スマホは縦積み */
.rf-area-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  counter-reset: rfarea;
  margin-bottom: 18px;
}

.rf-area-steps li {
  counter-increment: rfarea;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--rf-bg);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}

.rf-area-steps li::before {
  content: counter(rfarea);
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rf-accent);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

/* 表示例の画像 */
.rf-area-fig {
  margin: 0;
}

.rf-area-fig img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rf-line);
}

.rf-area-fig figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--rf-sub);
}

.rf-area-notes {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--rf-sub);
  line-height: 1.8;
}


/* ============================================================
   09. Q&A
============================================================ */
.rf-faq details {
  border-bottom: 1px solid var(--rf-line);
}

.rf-faq details:first-of-type {
  border-top: 1px solid var(--rf-line);
}

.rf-faq summary {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 16px 40px 16px 4px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.rf-faq summary::-webkit-details-marker {
  display: none;
}

.rf-faq summary::before {
  content: "Q";
  flex: none;
  color: var(--rf-accent);
  font-size: 17px;
}

/* 開閉の矢印（線で描画） */
.rf-faq summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #888888;
  border-bottom: 2px solid #888888;
  transform: translateY(-75%) rotate(45deg);
}

.rf-faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.rf-faq .rf-ans {
  display: flex;
  gap: 12px;
  padding: 0 4px 18px;
  font-size: 13.5px;
  color: var(--rf-sub);
}

.rf-faq .rf-ans::before {
  content: "A";
  flex: none;
  color: var(--rf-red);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.rf-faq .rf-ans a {
  color: var(--rf-accent);
}


/* ============================================================
   10. 末尾カテゴリー再掲
============================================================ */
.rf-bottom {
  background: var(--rf-accent);
  border-radius: 4px;
  padding: 24px;
  margin-top: 48px;
}

.rf-bottom h2 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.rf-bottom-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.rf-bottom-links a {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--rf-line);
  border-radius: 4px;
  padding: 12px 28px 12px 14px;
  font-weight: 700;
  color: var(--rf-ink);
  text-decoration: none;
}

.rf-bottom-links a::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--rf-accent);
  border-top: 2px solid var(--rf-accent);
  transform: translateY(-50%) rotate(45deg);
}

.rf-bottom-links a:hover {
  background: var(--rf-accent-lt);
}


/* ============================================================
   11. レスポンシブ
============================================================ */
@media (max-width: 860px) {
  .rf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  /* 挨拶文：スマホは左揃えで読みやすく */
  .rf-intro {
    margin-top: 24px;
    text-align: left;
  }

  .rf-intro .rf-intro-ttl {
    font-size: 18px;
  }

  .rf-sec {
    padding-top: 40px;
  }

  .rf-sec-head h2 {
    font-size: 18px;
  }

  /* カテゴリー・末尾リンク：2列 */
  .rf-ctg-grid,
  .rf-bottom-links {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 内訳の式：縦積み */
  .rf-breakdown {
    flex-direction: column;
  }

  .rf-bd-plus,
  .rf-bd-eq {
    width: auto;
    height: 26px;
  }

  .rf-std {
    padding: 16px;
  }

  .rf-spec-grid {
    grid-template-columns: 1fr;
  }

  /* 流れ：縦積み、矢印を下向きに */
  .rf-flow {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rf-step:not(:last-child)::after {
    right: auto;
    top: auto;
    left: 50%;
    bottom: -17px;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid #bbbbbb;
    border-bottom: 0;
  }

  .rf-area-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rf-area-guide {
    padding: 14px;
  }

  /* スマホ用の縦長画像は大きくなりすぎないよう幅を抑える */
  .rf-area-fig img {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  /* 商品：狭い画面では1列 */
  .rf-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   12. アクセシビリティ
============================================================ */
.rf-special :focus-visible {
  outline: 2px solid var(--rf-accent);
  outline-offset: 2px;
}