@charset "UTF-8";
/* =====================================================================
   リフォーム（/reform・T427）
   最初の画面と動きは guide-pages.css の .gd-hero / .gd-rv（/after・/schedule と同じ）。
   色は T406 の茶の役割: 字 --gd-deep・強調 --gd-brown（#8f6a4c）・押したとき --gd-brown-deep・飾り --gd-gold。
   地は白のまま。灰色の囲みは使わない（かたまりは細い線 --gd-line で区切る）
   ===================================================================== */
#rf-worry, #rf-price, #rf-plan, #rf-feature, #rf-menu, #rf-case, #rf-cta { color: var(--gd-ink); }
.rf-inner { max-width: 1000px; margin: 0 auto; }
.rf-ttl { margin: 0; padding: 0; background: none; border: 0; font-family: var(--gd-mincho); font-weight: 500; color: var(--gd-ink); text-align: center; letter-spacing: .1em; }
.rf-ttl::after { content: ""; display: block; width: 40px; height: 1px; margin: 14px auto 0; background: var(--gd-brown); }
.rf-tax { font-size: .6em; letter-spacing: .04em; color: var(--gd-sub); }
.rf-note, .rf-lead { color: var(--gd-sub); }
.rf-lead { text-align: center; }

/* 目次（T429）: /faq の目次（page-faq.css の .fq-toc）と同じ丸い枠のボタン。別のページへの項目は強調色の枠と右向きの矢印 */
.rf-toc ul { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 auto; padding: 0; list-style: none; }
.rf-toc li { margin: 0; padding: 0; }
.rf-toc a { display: inline-block; border: 1px solid var(--gd-line); border-radius: 999px; background: #fff; color: var(--gd-deep); line-height: 1.4; letter-spacing: .04em; text-decoration: none; transition: background .3s var(--gd-ease), border-color .3s var(--gd-ease); }
.rf-toc a:hover { border-color: var(--gd-brown); background: var(--gd-cream); color: var(--gd-deep); text-decoration: none; }
.rf-toc .rf-toc-page a { border-color: var(--gd-brown); color: var(--gd-brown); font-weight: 700; }
.rf-toc .rf-toc-page a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .6em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); vertical-align: .12em; }
.rf-toc .rf-toc-page a:hover { color: var(--gd-brown-deep); border-color: var(--gd-brown-deep); }
/* 目次から飛んだとき、上の固定の帯に見出しが隠れない（/faq の .fq-group と同じ値） */
#rf-price, #rf-plan, #rf-feature, #rf-menu, #rf-case { scroll-margin-top: 100px; }

/* 暮らしの悩み: 3 つ並び・間に細い縦線 */
.rf-worry-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.rf-worry-list li { text-align: center; }
.rf-worry-list li + li { border-left: 1px solid var(--gd-line); }
.rf-worry-name { font-family: var(--gd-mincho); font-weight: 600; color: var(--gd-brown); letter-spacing: .12em; }
.rf-worry-txt { color: var(--gd-sub); }

/* 参考価格（税別）: /after の T382 の表と同じ見た目 */
#rf-price .rf-inner { max-width: 760px; }
#rf-price .price-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--gd-line); }
#rf-price .price-table th, #rf-price .price-table td { border-bottom: 1px solid var(--gd-line); color: var(--gd-ink); text-align: left; }
#rf-price .price-table thead th { background: var(--gd-cream); color: var(--gd-sub); font-weight: 400; }
#rf-price .price-table td { text-align: right; font-weight: 700; color: var(--gd-brown); white-space: nowrap; }
#rf-price .price-table thead th:last-child { text-align: right; }

/* リフォームの例（税込）: 4 枚。囲みは細い線だけ */
.rf-plan-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.rf-plan-list li { border: 1px solid var(--gd-line); border-radius: 6px; background: #fff; }
.rf-plan-name { font-weight: 700; color: var(--gd-deep); letter-spacing: .04em; line-height: 1.5; }
.rf-plan-name span { margin-left: .5em; font-weight: 400; color: var(--gd-sub); }
.rf-plan-price { color: var(--gd-brown); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.rf-plan-price b { font-family: "Barlow", sans-serif; font-weight: 500; letter-spacing: .02em; }
.rf-plan-price small { margin-left: .2em; font-weight: 400; color: var(--gd-sub); }
.rf-plan-spec { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--gd-line); color: var(--gd-sub); }
.rf-plan-spec dt { font-weight: 400; white-space: nowrap; }
.rf-plan-spec dd { margin: 0; color: var(--gd-ink); }

/* オリジナル漆喰の特徴: 写真と一覧を横並び */
.rf-feature-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; }
.rf-feature-pic { border-radius: 6px; overflow: hidden; }
.rf-feature-pic img { display: block; width: 100%; height: auto; }
.rf-feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gd-line); }
.rf-feature-list li { display: grid; grid-template-columns: 12.5em 1fr; border-bottom: 1px solid var(--gd-line); }
.rf-feature-list b { color: var(--gd-brown); font-weight: 700; letter-spacing: .06em; }
.rf-feature-list sup { margin-left: .2em; font-size: .7em; color: var(--gd-sub); }
.rf-source { margin: 0; padding: 0; list-style: none; color: var(--gd-sub); }
.rf-source a { color: var(--gd-brown); text-decoration: underline; }

/* そのほかのリフォーム: 文字だけの一覧（写真は付けない・ページを長くしない） */
.rf-menu-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--gd-line); }
.rf-menu-list li { border-bottom: 1px solid var(--gd-line); color: var(--gd-deep); font-weight: 600; letter-spacing: .04em; }
.rf-menu-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .7em; border-radius: 50%; background: var(--gd-gold); vertical-align: middle; }

/* 施工事例: カードは page-case-newly.css の .cn-grid。「すべて見る」 */
.rf-more { text-align: center; }
.rf-more a, .rf-showroom a { color: var(--gd-brown); text-decoration: underline; }
.rf-more a:hover, .rf-showroom a:hover { color: var(--gd-brown-deep); }

/* 相談会の案内: 細い線の枠＋ごく薄い生成り（情報のかたまりだけ囲む） */
.rf-consult { max-width: 720px; margin: 0 auto; border: 1px solid #e3d6bd; border-radius: 6px; background: #fcfaf6; text-align: center; }
.rf-consult-label { color: var(--gd-brown); font-weight: 700; letter-spacing: .1em; }
.rf-consult-ttl { font-family: var(--gd-mincho); font-weight: 600; color: var(--gd-deep); letter-spacing: .1em; }
.rf-consult-txt { color: var(--gd-sub); }
.rf-consult-btns { display: flex; justify-content: center; }
.rf-btn { display: block; flex: 1 1 0; max-width: 300px; border: 1px solid var(--gd-brown); border-radius: 2px; background: var(--gd-brown); color: #fff; font-weight: 700; text-align: center; text-decoration: none; box-sizing: border-box; }
.rf-btn:hover { border-color: var(--gd-brown-deep); background: var(--gd-brown-deep); color: #fff; }
.rf-btn--sub { background: #fff; color: var(--gd-brown); }
.rf-btn--sub:hover { background: #fff; color: var(--gd-brown-deep); }
.rf-showroom { text-align: center; color: var(--gd-sub); }

/* ---------- PC ---------- */
@media screen and (min-width: 768px), print {
  #rf-worry, #rf-price, #rf-plan, #rf-feature, #rf-menu, #rf-case { margin-bottom: 96px; }
  #rf-cta { margin-bottom: 90px; }
  .rf-toc { margin: -24px 0 72px; }
  .rf-toc ul { max-width: 1000px; gap: 10px 12px; }
  .rf-toc a { padding: 10px 20px; font-size: 14px; }
  .rf-ttl { font-size: 26px; margin-bottom: 36px; }
  .rf-note { margin-top: 14px; font-size: 13px; line-height: 1.8; }
  .rf-lead { margin: -8px 0 28px; font-size: 15px; line-height: 2; }
  .rf-worry-list li { padding: 6px 28px; }
  .rf-worry-name { font-size: 20px; margin-bottom: 10px; }
  .rf-worry-txt { font-size: 14px; line-height: 1.9; }
  #rf-price .price-table th, #rf-price .price-table td { padding: 14px 20px; font-size: 16px; line-height: 1.6; }
  #rf-price .price-table td { font-size: 20px; }
  .rf-plan-list { gap: 16px; }
  .rf-plan-list li { padding: 22px 20px 20px; }
  .rf-plan-name { font-size: 15px; min-height: 3em; }
  .rf-plan-price { margin: 10px 0 16px; font-size: 16px; }
  .rf-plan-price b { font-size: 40px; }
  .rf-plan-spec { padding-top: 12px; column-gap: 12px; row-gap: 4px; font-size: 13px; line-height: 1.6; }
  .rf-feature-wrap { column-gap: 44px; }
  .rf-feature-list li { padding: 12px 4px; font-size: 14px; line-height: 1.7; }
  .rf-feature-list b { font-size: 15px; }
  .rf-source { margin-top: 24px; font-size: 12px; line-height: 1.8; }
  .rf-menu-list li { padding: 14px 8px; font-size: 15px; }
  .rf-more { margin-top: 28px; font-size: 15px; }
  .rf-consult { padding: 32px 32px 34px; }
  .rf-consult-label { font-size: 12px; margin-bottom: 8px; }
  .rf-consult-ttl { font-size: 22px; margin-bottom: 12px; }
  .rf-consult-txt { font-size: 14px; line-height: 1.9; margin-bottom: 22px; }
  .rf-consult-btns { gap: 12px; }
  .rf-btn { padding: 14px 10px; font-size: 14px; }
  .rf-showroom { margin-top: 28px; font-size: 14px; line-height: 1.9; }
}

/* タブレット幅（768〜1179px）: 文字が画面の端に接しないよう左右の余白（T346）。PC の 4 列は 2 列に */
@media screen and (min-width: 768px) and (max-width: 1179px) {
  .rf-inner { padding: 0 20px; }
  .rf-toc { padding: 0 20px; }
  .rf-plan-list, .rf-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-menu-list { column-gap: 24px; }
  .rf-worry-list li { padding: 6px 16px; }
  .rf-feature-wrap { column-gap: 28px; }
  /* 一覧の幅が狭いので、項目名を説明の上に置く（12.5em の列だと項目名が折り返す） */
  .rf-feature-list li { grid-template-columns: 1fr; row-gap: 2px; }
}

/* ---------- SP ---------- */
@media screen and (max-width: 767px) {
  #rf-worry, #rf-price, #rf-plan, #rf-feature, #rf-menu, #rf-case { margin-bottom: 14vw; }
  #rf-cta { margin-bottom: 12vw; }
  .rf-toc { margin: -4vw 4vw 12vw; }
  .rf-toc ul { gap: 2vw; }
  .rf-toc a { padding: 2.2vw 3.6vw; font-size: 3.4vw; }
  #rf-price, #rf-plan, #rf-feature, #rf-menu, #rf-case { scroll-margin-top: 90px; }
  .rf-inner { padding: 0 4vw; }
  .rf-ttl { font-size: 5.2vw; margin-bottom: 6vw; }
  .rf-note { margin-top: 3vw; font-size: 3.2vw; line-height: 1.8; }
  .rf-lead { margin: -2vw 0 5vw; font-size: 3.6vw; line-height: 1.9; text-align: left; }
  .rf-worry-list { grid-template-columns: 1fr; }
  .rf-worry-list li { padding: 4vw 2vw; }
  .rf-worry-list li + li { border-left: 0; border-top: 1px solid var(--gd-line); }
  .rf-worry-name { font-size: 4.6vw; margin-bottom: 1.5vw; }
  .rf-worry-txt { font-size: 3.6vw; line-height: 1.8; text-align: left; }
  #rf-price .price-table th, #rf-price .price-table td { padding: 3vw 2vw; font-size: 3.8vw; line-height: 1.6; }
  #rf-price .price-table td { font-size: 4.6vw; }
  .rf-plan-list { grid-template-columns: 1fr; gap: 3vw; }
  .rf-plan-list li { padding: 4vw 4vw 4vw; }
  .rf-plan-name { font-size: 3.9vw; }
  .rf-plan-price { margin-top: 1vw; font-size: 3.6vw; }
  .rf-plan-price b { font-size: 8vw; }
  .rf-plan-spec { margin-top: 3vw; padding-top: 3vw; column-gap: 3vw; row-gap: 1vw; font-size: 3.3vw; line-height: 1.6; }
  .rf-feature-wrap { grid-template-columns: 1fr; row-gap: 5vw; }
  .rf-feature-list li { grid-template-columns: 1fr; row-gap: .5vw; padding: 3vw 1vw; font-size: 3.6vw; line-height: 1.7; }
  .rf-feature-list b { font-size: 3.9vw; }
  .rf-source { margin-top: 5vw; font-size: 3vw; line-height: 1.8; }
  .rf-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3vw; }
  .rf-menu-list li { padding: 3vw 1vw; font-size: 3.5vw; letter-spacing: 0; }
  .rf-menu-list li::before { margin-right: .5em; }
  .rf-more { margin-top: 5vw; font-size: 3.8vw; }
  .rf-consult { padding: 6vw 4vw 6vw; }
  .rf-consult-label { font-size: 3vw; margin-bottom: 1.5vw; }
  .rf-consult-ttl { font-size: 4.8vw; margin-bottom: 2.5vw; }
  .rf-consult-txt { font-size: 3.4vw; line-height: 1.8; margin-bottom: 4vw; text-align: left; }
  .rf-consult-btns { flex-direction: column; align-items: stretch; gap: 2.5vw; }
  .rf-btn { max-width: none; padding: 3.6vw 2vw; font-size: 3.8vw; }
  .rf-showroom { margin-top: 6vw; font-size: 3.5vw; line-height: 1.8; text-align: left; }
}

@media (prefers-reduced-motion: no-preference) {
  .gd-js .rf-worry-list li.gd-rv:nth-child(2), .gd-js .rf-plan-list li.gd-rv:nth-child(2) { --gd-d: .1s; }
  .gd-js .rf-worry-list li.gd-rv:nth-child(3), .gd-js .rf-plan-list li.gd-rv:nth-child(3) { --gd-d: .2s; }
  .gd-js .rf-plan-list li.gd-rv:nth-child(4) { --gd-d: .3s; }
  .gd-js .rf-feature-list.gd-rv { --gd-d: .15s; }
}

/* =====================================================================
   リフォームの流れ・よくある質問（/reform/flow・T428）
   見出しの帯と質問は page-faq.css の .fq-head / .fq-item（/faq と同じ部品）。ここは流れと幅だけ
   ===================================================================== */
#rf-flow, #rf-qa { color: var(--gd-ink); }
.rf-qa-inner { max-width: 860px; }

/* 流れ: 番号・段階の名前・説明の 1 行ずつ。間は細い線（灰色の囲みは使わない） */
.rf-flow-list { counter-reset: rf-flow; max-width: 860px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--gd-line); }
.rf-flow-list li { counter-increment: rf-flow; display: grid; grid-template-columns: 3.4em 12em minmax(0, 1fr); align-items: baseline; border-bottom: 1px solid var(--gd-line); }
.rf-flow-list li::before { content: counter(rf-flow, decimal-leading-zero); font-family: "Barlow", sans-serif; font-weight: 500; letter-spacing: .06em; color: var(--gd-brown); }
.rf-flow-name { margin: 0; font-family: var(--gd-mincho); font-weight: 600; letter-spacing: .08em; color: var(--gd-deep); }
.rf-flow-txt { margin: 0; color: var(--gd-sub); }
/* 「無料」の札: 塗らずに 1px の枠線（coding-standards.md の強調色の決まり） */
.rf-free { display: inline-block; margin-left: .7em; padding: 0 .6em; border: 1px solid var(--gd-brown); border-radius: 2px; font-family: sans-serif; font-size: .68em; font-weight: 700; line-height: 1.7; letter-spacing: .08em; color: var(--gd-brown); vertical-align: .15em; }

/* ---------- PC ---------- */
@media screen and (min-width: 768px), print {
  #rf-flow, #rf-qa { margin-bottom: 96px; }
  .rf-flow-list li { padding: 20px 8px; }
  .rf-flow-list li::before { font-size: 22px; }
  .rf-flow-name { font-size: 18px; }
  .rf-flow-txt { font-size: 14px; line-height: 1.9; }
}

/* タブレット幅（768〜1179px）: 左右の余白は .rf-inner（T346）。名前の列を少し細く */
@media screen and (min-width: 768px) and (max-width: 1179px) {
  .rf-flow-list li { grid-template-columns: 3em 10.5em minmax(0, 1fr); }
}

/* ---------- SP ---------- */
@media screen and (max-width: 767px) {
  #rf-flow, #rf-qa { margin-bottom: 14vw; }
  /* 番号と名前を 1 行目、説明を 2 行目に */
  .rf-flow-list li { grid-template-columns: 2.8em minmax(0, 1fr); row-gap: 1vw; padding: 4vw 1vw; }
  .rf-flow-list li::before { font-size: 5vw; }
  .rf-flow-name { font-size: 4.4vw; }
  .rf-flow-txt { grid-column: 2; font-size: 3.6vw; line-height: 1.8; }
}

@media (prefers-reduced-motion: no-preference) {
  .gd-js .rf-flow-list li.gd-rv:nth-child(2) { --gd-d: .06s; }
  .gd-js .rf-flow-list li.gd-rv:nth-child(3) { --gd-d: .12s; }
  .gd-js .rf-flow-list li.gd-rv:nth-child(4) { --gd-d: .18s; }
  .gd-js .rf-flow-list li.gd-rv:nth-child(5) { --gd-d: .24s; }
  .gd-js .rf-flow-list li.gd-rv:nth-child(6) { --gd-d: .3s; }
}

/* =====================================================================
   漆喰の塗り替え（/reform/shikkui・T432）
   手順は .rf-flow-list・質問は .fq-item・価格と特徴への案内は .rf-toc の丸い枠（どれも /reform・/reform/flow と同じ部品）
   ===================================================================== */
#rf-step, #rf-links { color: var(--gd-ink); }
#rf-links .rf-toc { margin: 0; padding: 0; }

@media screen and (min-width: 768px), print {
  #rf-step, #rf-links { margin-bottom: 96px; }
}

@media screen and (max-width: 767px) {
  #rf-step, #rf-links { margin-bottom: 14vw; }
}

/* =====================================================================
   水まわり・内装・床（/reform/mizumawari）・断熱・耐震（/reform/dannetsu-taishin）・T436
   「できること」は /reform の「オリジナル漆喰の特徴」と同じ .rf-feature-list。1 列で全幅だと PC で行が長いので 860px に
   ===================================================================== */
#rf-what { color: var(--gd-ink); }
#rf-what .rf-feature-list { max-width: 860px; margin: 0 auto; }
#rf-what .rf-note { max-width: 860px; margin-left: auto; margin-right: auto; }
#rf-what .rf-note a { color: var(--gd-brown); text-decoration: underline; }
#rf-what .rf-note a:hover { color: var(--gd-brown-deep); }

@media screen and (min-width: 768px), print {
  #rf-what { margin-bottom: 96px; }
  #rf-what .rf-note { margin-top: 20px; }
}

@media screen and (max-width: 767px) {
  #rf-what { margin-bottom: 14vw; }
  #rf-what .rf-note { margin-top: 4vw; }
}
