@charset "utf-8";
/* =============================================================================
 * 水栓・蛇口 メーカーTOP（TOTO・LIXIL・KVK・タカギ）の固有CSS
 * /faucet/css/fmt.css
 *  読み込み順： /faucet/css/series.css（.dw2-*）→ /faucet/css/maker.css（.mk-*）→ このファイル
 *  色・写真の縦横比・水栓固有の並び（場所のカード・シリーズ一覧）だけを置く。
 *  シリーズ一覧の .nrt-sr はトイレのネオレストTOP（neorest_top.css）の写し。ランキング・機能は toto_top.css の写し。
 * ========================================================================== */
.dw2.fmt {
	/* 水栓のアクセントは全ページ共通の青緑（series.css の --dw2-accent と同じ） */
	--mk-navy:   #1f6e8c;
	--mk-navy-d: #155268;
	--mk-red:    #d7000f;
	--mk-tint:   #f1f7f9;
	--mk-line:   #d6e5eb;
	/* ファーストビューのバナー実寸 PC 850×295 ／ SP 520×400 */
	--mk-hero:    850 / 295;
	--mk-hero-sp: 520 / 400;
}
/* 場所ごとの色（施工実績の積み上げ帯・凡例・価格帯グラフ・カードの縁）。優劣ではなく区別のための色 */
.dw2 .is-kitchen   { --mk-tone: #1f6e8c; }
.dw2 .is-washbasin { --mk-tone: #2e7d5b; }
.dw2 .is-bathroom  { --mk-tone: #b07d12; }

/* 金額は数字と円を改行で割らない */
.dw2.fmt .mk-fv__stat .is-price dd { white-space: nowrap; }
.dw2.fmt .mk-fv__stat .is-price dd span { white-space: normal; }
.dw2.fmt .mk-card__p b { white-space: nowrap; }

/* 場所のカード：3か所なら3列、2か所（タカギ）なら2列。写真は正方形の商品写真 */
.dw2.fmt .fmt-place--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dw2.fmt .fmt-place--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dw2.fmt .mk-card__fig { padding: 14px; background: #fff; }
.dw2.fmt .mk-card__fig img,
.dw2.fmt .mk-rank__fig img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.dw2.fmt .mk-rank__fig { padding: 8px; background: #fff; }
.dw2.fmt .mk-stat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* シリーズ一覧の見出し：右に「〇〇水栓のページへ」 */
.dw2.fmt #series .dw2-h4 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-top: 22px; }
.dw2.fmt #series .dw2-h4:first-of-type { margin-top: 6px; }
.dw2.fmt .fmt-h4link { font-size: 13px; font-weight: bold; color: var(--mk-navy); white-space: nowrap; }

/* -----------------------------------------------------------------------------
 * 全シリーズ一覧（.nrt-sr。トイレのネオレストTOPの写し）
 * -------------------------------------------------------------------------- */
.dw2.fmt .nrt-sr { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 14px; }
.dw2.fmt .nrt-sr > li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 200px; gap: 16px; align-items: center;
	padding: 14px 16px; background: #fff; border: 1px solid var(--dw2-line); border-left: 4px solid var(--mk-tone, var(--mk-navy)); border-radius: var(--dw2-radius); }
.dw2.fmt .nrt-sr__fig { margin: 0; text-align: center; }
.dw2.fmt .nrt-sr__fig img { width: 150px; height: 150px; object-fit: contain; display: block; margin: 0 auto; }
.dw2.fmt .nrt-sr__name { margin: 0 0 4px; font-size: 18px; font-weight: bold; line-height: 1.4; }
.dw2.fmt .nrt-sr__name a { color: var(--mk-navy); text-decoration: none; }
.dw2.fmt .nrt-sr__name a:hover { text-decoration: underline; }
.dw2.fmt .nrt-sr__catch { margin: 0 0 6px; font-size: 13.5px; font-weight: bold; color: #33414d; }
.dw2.fmt .nrt-sr__d { margin: 0; font-size: 13px; line-height: 1.7; color: #33414d; }
.dw2.fmt .nrt-sr__r { text-align: right; }
.dw2.fmt .nrt-sr__cnt { margin: 0 0 2px; font-size: 12.5px; color: #5a6b78; white-space: nowrap; }
.dw2.fmt .nrt-sr__lb { margin: 0; font-size: 12px; font-weight: bold; color: #33414d; white-space: nowrap; }
.dw2.fmt .nrt-sr__p { margin: 0 0 8px; white-space: nowrap; color: #e00; font-weight: bold; line-height: 1.3; }
.dw2.fmt .nrt-sr__p strong { font-size: 24px; }
.dw2.fmt .nrt-sr__p .u { font-size: 13px; }
.dw2.fmt .nrt-sr__p .to { display: block; font-size: 12.5px; color: #5a6b78; font-weight: normal; }
.dw2.fmt .nrt-sr__p.is-ask strong { font-size: 18px; }
.dw2.fmt .nrt-sr__r .dw2-btn { white-space: nowrap; }

/* -----------------------------------------------------------------------------
 * ランキング（toto_top.css の写し）
 * -------------------------------------------------------------------------- */
.dw2.fmt .mk-rank > li { --rk: #5d6f80; --rk-bg: #f3f6f8; }
.dw2.fmt .mk-rank > li.is-1 { --rk: #b8901a; --rk-bg: #fbf5e3; }
.dw2.fmt .mk-rank > li.is-2 { --rk: #78828a; --rk-bg: #f1f3f5; }
.dw2.fmt .mk-rank > li.is-3 { --rk: #8c5a2c; --rk-bg: #f8efe6; }
.dw2.fmt .mk-rank__pl { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 11px; font-weight: bold; line-height: 1.6; color: #fff; background: var(--rk); }
.dw2.fmt .mk-rank__p b { margin-top: 3px; line-height: 1.2; letter-spacing: .01em; }
.dw2.fmt .mk-rank__go { display: none; }
.dw2.fmt .mk-rank > li.is-top .mk-rank__p { padding: 10px 14px 12px; background: var(--rk-bg); border-radius: 8px; text-align: center; }
.dw2.fmt .mk-rank > li.is-top .mk-rank__p b { font-size: 26px; }
.dw2.fmt .mk-rank > li.is-top .mk-rank__go {
	display: block; margin-top: 9px; padding: 8px 10px; border-radius: 6px;
	font-size: 13px; font-weight: bold; color: #fff; text-align: center; text-decoration: none; background: var(--rk); position: relative;
}
.dw2.fmt .mk-rank > li.is-top .mk-rank__go::after {
	content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -4px;
	border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg);
}
.dw2.fmt .mk-rank > li.is-top .mk-rank__go:hover { opacity: .88; }

/* -----------------------------------------------------------------------------
 * 主な機能（各ページの機能写真を集めたカード。toto_top.css の写し）
 *   写真は各ページの images/fit/500x320/（切らずに白で余白をとった画像）。縦横比 500:320 のまま出す
 * -------------------------------------------------------------------------- */
.dw2.fmt .mk-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dw2.fmt .mk-feat > li { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--dw2-line); border-radius: var(--dw2-radius); }
.dw2.fmt .mk-feat__fig { margin: 0; background: #fff; border-bottom: 1px solid var(--dw2-line); }
.dw2.fmt .mk-feat__fig img { display: block; width: 100%; height: auto; }
.dw2.fmt .mk-feat__b { display: flex; flex-direction: column; flex: 1; padding: 11px 13px 13px; }
.dw2.fmt .mk-feat__t { margin: 0 0 6px; padding-left: 9px; border-left: 4px solid var(--mk-navy); font-size: 15px; font-weight: bold; line-height: 1.4; color: var(--mk-navy-d); }
.dw2.fmt .mk-feat__d { margin: 0 0 9px; font-size: 12.5px; line-height: 1.7; color: var(--dw2-ink-sub); }
.dw2.fmt .mk-feat__sr { display: flex; flex-wrap: wrap; gap: 5px; margin: auto 0 0; }
.dw2.fmt .mk-feat__sr a {
	display: inline-flex; align-items: center; padding: 2px 9px; font-size: 11.5px; font-weight: bold; text-decoration: none; white-space: nowrap;
	color: var(--mk-navy-d); background: var(--dw2-accent-bg, #eef4f7); border: 1px solid #c6dde6; border-radius: 12px;
}
.dw2.fmt .mk-feat__sr a:hover { background: var(--mk-navy); color: #fff; }

/* 目的から選ぶ：2列。写真は正方形の商品写真を白地に収める */
.dw2.fmt .mk-fsel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dw2.fmt .fmt-fsel__fig { background: #fff; padding: 12px 0; }
.dw2.fmt .fmt-fsel__fig img { display: block; width: auto; max-width: 100%; height: 170px; margin: 0 auto; aspect-ratio: 1 / 1; object-fit: contain; }
.dw2.fmt .mk-fsel__l a small { margin-left: 4px; font-size: 10.5px; font-weight: normal; color: var(--dw2-ink-sub); }

/* メーカー比較表：このページのメーカーの列を薄く塗る（優劣ではなく「いまここ」の印） */
.dw2.fmt .mk-mk th.is-me, .dw2.fmt .mk-mk td.is-me { background: var(--mk-tint); }
.dw2.fmt .mk-mk th.is-me { color: var(--mk-navy-d); }

/* メーカー比較表の見出し：ロゴを上、社名を下に。ロゴ欄の高さをそろえて社名の行を横一列にする */
.dw2.fmt .mk-mk thead th { vertical-align: bottom; }
.dw2.fmt .mk-mk thead th a { text-decoration: none; }
.dw2.fmt .fmt-mklogo { display: flex; align-items: center; justify-content: center; height: 34px; margin-bottom: 4px; }
.dw2.fmt .fmt-mklogo img { display: block; max-width: 100%; height: auto; }
.dw2.fmt .fmt-mkname { display: block; font-size: 12px; line-height: 1.4; }
.dw2.fmt .mk-mk thead th a .fmt-mkname { text-decoration: underline; }

/* 〇〇の水栓とは：場所ごとの写真（シーン写真 600×400）＋説明 */
.dw2.fmt .fmt-about { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.dw2.fmt .fmt-about--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dw2.fmt .fmt-about--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dw2.fmt .fmt-about > li { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--dw2-line); border-top: 4px solid var(--mk-tone, var(--mk-navy)); border-radius: var(--dw2-radius); }
.dw2.fmt .fmt-about__fig { margin: 0; }
.dw2.fmt .fmt-about__fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.dw2.fmt .fmt-about__b { padding: 12px 14px 14px; }
.dw2.fmt .fmt-about__t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 16px; font-weight: bold; }
.dw2.fmt .fmt-about__t a { color: var(--mk-navy-d); }
.dw2.fmt .fmt-about__t span { font-size: 12px; font-weight: normal; color: var(--dw2-ink-sub); white-space: nowrap; }
.dw2.fmt .fmt-about__d { margin: 0; font-size: 13px; line-height: 1.75; color: #33414d; }

/* いまの水栓から交換できるか：番号＋線画アイコンの確認ポイント（3列×2段）と、見積りに使う写真4枚 */
.dw2.fmt .fmt-chk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.dw2.fmt .fmt-chk > li { position: relative; margin: 0; padding: 16px 14px 14px; list-style: none; background: #fff; border: 1px solid var(--mk-line); border-radius: var(--dw2-radius); box-shadow: 0 1px 2px rgba(20, 60, 80, .05); }
.dw2.fmt .fmt-chk__no { position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--mk-navy); color: #fff; font-size: 13px; font-weight: bold; line-height: 26px; text-align: center; }
.dw2.fmt .fmt-chk__i { display: block; width: 60px; height: 60px; margin: 0 auto 10px; padding: 12px; box-sizing: border-box; border-radius: 50%; background: var(--mk-tint); color: var(--mk-navy); }
.dw2.fmt .fmt-chk__i svg { display: block; width: 100%; height: 100%; }
.dw2.fmt .fmt-chk__t { margin: 0 0 8px; font-size: 15.5px; font-weight: bold; text-align: center; line-height: 1.45; color: var(--mk-navy-d); }
.dw2.fmt .fmt-chk__t span { display: table; margin: 5px auto 0; padding: 1px 10px; font-size: 11.5px; font-weight: bold; color: var(--mk-navy); background: var(--mk-tint); border-radius: 10px; }
.dw2.fmt .fmt-chk__d { margin: 0; font-size: 13px; line-height: 1.75; color: #33414d; }
.dw2.fmt .fmt-photo { padding: 16px 18px 18px; border-radius: var(--dw2-radius); border: 2px solid var(--mk-navy); background: #fff; }
.dw2.fmt .fmt-photo__h { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 16px; font-weight: bold; color: var(--mk-navy); text-align: center; }
.dw2.fmt .fmt-photo__i { flex: 0 0 26px; width: 26px; height: 26px; }
.dw2.fmt .fmt-photo__i svg, .dw2.fmt .fmt-photo__pic svg { display: block; width: 100%; height: 100%; }
.dw2.fmt .fmt-photo__l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.dw2.fmt .fmt-photo__l > li { margin: 0; padding: 0; list-style: none; text-align: center; }
.dw2.fmt .fmt-photo__pic { position: relative; display: block; width: 72px; height: 72px; margin: 0 auto 6px; padding: 16px; box-sizing: border-box; border-radius: var(--dw2-radius); background: var(--mk-tint); color: var(--mk-navy); }
.dw2.fmt .fmt-photo__pic em { position: absolute; left: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--mk-navy); color: #fff; font-style: normal; font-size: 12px; font-weight: bold; line-height: 22px; }
.dw2.fmt .fmt-photo__l b { display: block; font-size: 14px; line-height: 1.45; }
.dw2.fmt .fmt-photo__l span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.6; color: var(--dw2-ink-sub); }
.dw2.fmt .fmt-photo__f { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.dw2.fmt .fmt-photo__f .dw2-btn { flex: 0 1 300px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* サイト共通CSSの #voice（float:left・width指定）が効いてしまい、次の節の位置がずれていたので打ち消す */
.dw2.fmt #voice { float: none; width: auto; margin: 0; clear: both; }
.dw2.fmt #cost { clear: both; }

/* ===== 画面幅ごとの指定（部品の指定より後ろに置く） ===== */
@media only screen and (min-width: 901px) {
	.dw2.fmt .mk-rank > li.is-top .mk-rank__p { margin-top: 12px; border-top: 0; padding-top: 10px; text-align: center; }
	.dw2.fmt .mk-rank > li.is-top .mk-rank__b { flex: 1 1 auto; }
}
@media only screen and (max-width: 900px) {
	.dw2.fmt .fmt-chk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dw2.fmt .fmt-place--n3 { grid-template-columns: 1fr; }
	.dw2.fmt .mk-rank > li.is-top .mk-rank__p { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; text-align: left; }
	.dw2.fmt .mk-rank > li.is-top .mk-rank__p b { font-size: 22px; margin: 0; }
	.dw2.fmt .mk-rank > li.is-top .mk-rank__go { flex: 1 1 100%; margin-top: 2px; }
	.dw2.fmt .mk-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media only screen and (max-width: 640px) {
	.dw2.fmt .fmt-chk { gap: 8px; }
	.dw2.fmt .fmt-chk > li { padding: 12px 8px 10px; }
	.dw2.fmt .fmt-chk__t { font-size: 13.5px; }
	.dw2.fmt .fmt-chk__d { font-size: 12px; }
	.dw2.fmt .fmt-photo { padding: 12px 10px 14px; }
	.dw2.fmt .fmt-photo__h { font-size: 14px; text-align: left; justify-content: flex-start; }
	.dw2.fmt .fmt-photo__l { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
	.dw2.fmt .fmt-about--n3, .dw2.fmt .fmt-about--n2 { grid-template-columns: 1fr; }
	.dw2.fmt .fmt-place--n2 { grid-template-columns: 1fr; }
	.dw2.fmt .mk-stat__grid { grid-template-columns: 1fr; }
	.dw2.fmt .mk-fsel { grid-template-columns: 1fr; }
	.dw2.fmt .nrt-sr > li { grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 12px; }
	.dw2.fmt .nrt-sr__fig img { width: 100px; height: 100px; }
	.dw2.fmt .nrt-sr__name { font-size: 16px; }
	.dw2.fmt .nrt-sr__d { display: none; }
	.dw2.fmt .nrt-sr__r { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
	.dw2.fmt .nrt-sr__p { margin: 0; }
	.dw2.fmt .nrt-sr__p .to { display: inline; margin-left: 4px; }
	.dw2.fmt .nrt-sr__r .dw2-btn { width: 100%; }
}
@media only screen and (max-width: 520px) {
	.dw2.fmt .mk-feat { grid-template-columns: 1fr; }
}

/* ---- 2026-10-14 数値ストリップは件数ぶんで均等に割る（指摘「均等にしろよ右空けるなよ」）----
   共通の maker.css は4列固定。タカギは口コミの数字が無く3つしか出ないので右が1つ空いていた。 */
@media only screen and (min-width: 641px) {
	.dw2.fmt .mk-fv__stat { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
@media only screen and (max-width: 640px) {
	/* スマホは2列。3つのときは3つめを横いっぱいにする */
	.dw2.fmt .mk-fv__stat > div:nth-child(3):last-child { grid-column: 1 / -1; border-left: 0; }
}
