@charset "utf-8";
/* =============================================================================
 * ご利用ガイド（.ug-*）
 *   /new_guest/css/guide2.css
 *   サイトの緑（#209512）を基調に。影は使わない。左に太い線を引かない。1つだけ塗る札を作らない。
 *   横に並ぶ2つの枠は subgrid で中の行までそろえる。
 *   2026-10-14 新設。
 * ========================================================================== */

.ug { --ug-ink: #22303a; --ug-sub: #5a6b78; --ug-acc: #209512; --ug-acc2: #17790c; --ug-soft: #f3f9f1; --ug-line: #dfe7dc;
	--ug-blue: #1a6fc4; --ug-red: #d7000f; color: var(--ug-ink); font-size: 14.5px; line-height: 1.85; }
.ug p { margin: 0; }
.ug ul, .ug ol { margin: 0; padding: 0; list-style: none; }
.ug li { margin: 0; padding: 0; }
.ug li::before { content: none; }
.ug [id] { scroll-margin-top: 150px; }
.ug .ug-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #e3f2df; color: var(--ug-acc); }
.ug .ug-ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- メイン（横長のイラストを敷き、左の空きに見出しと説明。イラストに文字は入れない） ---- */
.ug .ug-hero { position: relative; margin: 6px 0 12px; border-radius: 20px; overflow: hidden; background: #f0f8ed; }
.ug .ug-hero__bg img { display: block; width: 100%; height: auto !important; aspect-ratio: 1440 / 560; }
.ug .ug-hero__t { position: absolute; left: 0; top: 0; bottom: 0; width: 41%; box-sizing: border-box; padding: 20px 0 20px 26px; display: flex; flex-direction: column; justify-content: center; }
.ug h2.ug-hero__h {
	margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: 30px !important; line-height: 1.32 !important; font-weight: bold; color: var(--ug-ink) !important;
}
.ug h2.ug-hero__h::before, .ug h2.ug-hero__h::after { content: none !important; }
.ug .ug-hero__lead { margin: 0; font-size: 13px; line-height: 1.8; color: #3c4a55; }
/* 3つの特長（メインの下に横3列） */
.ug .ug-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.ug .ug-points li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--ug-line); border-radius: 14px; background: #fff; }
.ug .ug-points b { font-size: 14px; line-height: 1.5; }

/* ---- 流れ（目次） ---- */
.ug .ug-flow { margin: 0 0 30px; }
.ug .ug-flow ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.ug .ug-flow li { position: relative; }
.ug .ug-flow li + li::after { content: ""; position: absolute; left: -8px; top: 50%; width: 8px; height: 2px; background: #b9d8b2; }
.ug .ug-flow a {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 100%; box-sizing: border-box; min-height: 86px;
	padding: 10px 6px; border: 1px solid var(--ug-line); border-radius: 14px; background: #fff; color: var(--ug-ink); text-decoration: none; text-align: center;
}
.ug .ug-flow a:hover { border-color: var(--ug-acc); }
.ug .ug-flow i { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ug-acc); color: #fff; font-style: normal; font-weight: bold; font-size: 14px; }
.ug .ug-flow span { font-size: 13px; font-weight: bold; line-height: 1.4; }
.ug .ug-flow .ug-s { display: none; }

/* ---- 各ステップ ---- */
.ug .ug-step { margin: 0 0 38px; }
.ug h2.ug-step__h {
	display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; padding: 12px 16px !important; border: 0 !important;
	border-radius: 12px; background: var(--ug-soft) !important; font-size: 20px !important; line-height: 1.4 !important; color: var(--ug-ink) !important;
}
.ug h2.ug-step__h::before, .ug h2.ug-step__h::after { content: none !important; }
.ug .ug-step__h i { flex-shrink: 0; padding: 3px 12px; border-radius: 999px; background: var(--ug-acc); color: #fff; font-style: normal; font-size: 12.5px; letter-spacing: .04em; }
.ug .ug-step__lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; }

/* 2つの選択肢（見出し・本文・ボタンの行を左右でそろえる） */
.ug .ug-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; gap: 0 14px; }
.ug .ug-opt { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 10px; padding: 12px 12px 16px; border: 1px solid var(--ug-line); border-radius: 14px; background: #fff; }
.ug .ug-opt__p { margin: 0; }
.ug .ug-opt__p img { display: block; width: 100%; height: auto !important; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; background: #fff; }
.ug .ug-opt__p.is-c img { object-fit: contain; padding: 10px 0; box-sizing: border-box; }
.ug .ug-opt__h, .ug .ug-opt__b, .ug .ug-opt__a { padding: 0 6px; }
.ug .ug-opt__h { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: bold; line-height: 1.4; }
.ug .ug-opt__b { font-size: 14px; line-height: 1.85; color: #34424d; }
.ug .ug-opt__a { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; align-self: end; }
.ug .ug-em { color: var(--ug-red); }
.ug .ug-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 6px 22px;
	border: 2px solid #208d14; border-radius: 999px; background: #34aa34; color: #fff; font-size: 14.5px; font-weight: bold; text-decoration: none; transition: background .15s;
}
.ug .ug-btn:hover, .ug .ug-btn:focus-visible { background: #207720; color: #fff; text-decoration: none; }
.ug .ug-btn--line { background: #fff; color: #208d14; font-size: 17px; letter-spacing: .02em; }
.ug .ug-btn--line:hover, .ug .ug-btn--line:focus-visible { background: #f2fbf2; color: #208d14; }
.ug .ug-link { font-size: 13.5px; font-weight: bold; color: var(--ug-blue); }

/* 選択肢が1つのとき（写真を左・文を右） */
.ug .ug-one { margin: 0; }
.ug .ug-opt--one { grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-row: auto; column-gap: 16px; align-items: start; }
.ug .ug-opt--one .ug-opt__p { grid-row: 1 / 3; }
.ug .ug-opt--one .ug-opt__h { padding-top: 6px; }
.ug .ug-opt--one { grid-template-columns: 300px minmax(0, 1fr); }
/* 旧システムの画面が写っている左半分は見せず、右のイラストだけ */
.ug .ug-opt__p.is-rh img { aspect-ratio: 1 / 1; object-position: 100% 50%; }

/* お支払い方法 */
.ug h3.ug-h3 { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px !important; padding: 0 0 8px !important; border: 0 !important; border-bottom: 2px solid var(--ug-line) !important; background: none !important; position: relative; font-size: 18px !important; line-height: 1.4 !important; font-weight: bold; color: var(--ug-ink) !important; }
.ug h3.ug-h3::before { content: none !important; }
.ug h3.ug-h3::after { content: "" !important; position: absolute; left: 0; bottom: -2px; width: 120px; height: 2px; background: var(--ug-acc); }
.ug .ug-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; gap: 0 12px; }
.ug .ug-pay > li { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 8px; padding: 14px 16px; border: 1px solid var(--ug-line); border-radius: 14px; background: #fff; }
.ug .ug-pay__p { margin: 0 0 2px; padding: 6px 8px; border-radius: 10px; background: #fff; border: 1px solid #edf1ea; }
.ug .ug-pay__p img { display: block; width: 100%; height: auto !important; aspect-ratio: 500 / 150; object-fit: contain; }
.ug .ug-pay__h { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: bold; line-height: 1.4; }
.ug .ug-pay__tag { justify-self: start; align-self: start; padding: 3px 10px; border-radius: 6px; line-height: 1.5; background: var(--ug-soft); font-size: 12.5px; font-weight: bold; color: var(--ug-acc2); }
.ug .ug-pay__tag b { font-size: 14px; }
.ug .ug-pay__b { font-size: 13px; line-height: 1.8; color: #44525d; }
.ug .ug-sub { margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: #f6f8f9; font-size: 12.5px; line-height: 1.85; color: var(--ug-sub); }
.ug .ug-sub b { color: var(--ug-ink); }
.ug .ug-cod { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: center; margin: 12px 0 0; padding: 14px 16px; border: 1px solid var(--ug-line); border-radius: 14px; background: #fff; }
.ug .ug-cod__p { margin: 0; padding: 6px 8px; border-radius: 10px; border: 1px solid #edf1ea; }
.ug .ug-cod__p img { display: block; width: 100%; height: auto !important; aspect-ratio: 500 / 150; object-fit: contain; }
.ug .ug-cod__h { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 15px; font-weight: bold; line-height: 1.4; }
.ug .ug-cod__h .ug-pay__tag { margin-left: 4px; }
.ug .ug-cod__b { font-size: 13px; line-height: 1.8; color: #44525d; }
.ug .ug-cod__b a { margin-left: 6px; font-weight: bold; color: var(--ug-blue); }
.ug .ug-sub a { margin-left: 6px; font-weight: bold; color: var(--ug-blue); }
.ug .ug-more { margin: 10px 0 0; text-align: right; font-size: 13.5px; }
.ug .ug-more a { font-weight: bold; color: var(--ug-blue); }

/* 工事：商品は施工スタッフがお持ちする（このページでいちばん伝えたいこと） */
.ug .ug-key { display: grid; grid-template-columns: minmax(0, 1fr) 38%; column-gap: 20px; align-items: center; margin: 0 0 14px; padding: 16px 18px; border: 2px solid var(--ug-acc); border-radius: 14px; background: #fff; }
.ug .ug-key__fig { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 10px 8px 8px; border-radius: 12px; background: #f4faf2; }
.ug .ug-key__fig img { display: block; width: 100%; max-width: 620px; height: auto !important; aspect-ratio: 1400 / 500; margin: 0 auto; }
.ug .ug-key__fig figcaption { display: grid; grid-template-columns: 34% 32% 34%; max-width: 620px; margin: 6px auto 0; text-align: center; font-size: 15px; font-weight: bold; color: var(--ug-ink); }
.ug .ug-key__i { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ug-acc); color: #fff; }
.ug .ug-key__i svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ug .ug-key__h { grid-column: 1; align-self: end; margin: 0 0 4px; font-size: 17px; font-weight: bold; line-height: 1.45; color: var(--ug-acc2); }
.ug .ug-key__b { grid-column: 1; align-self: start; font-size: 14px; line-height: 1.85; color: #34424d; }

/* 施工スタッフ */
.ug .ug-staff { margin: 18px 0 0; padding: 16px 18px 14px; border-radius: 14px; background: var(--ug-soft); }
.ug .ug-staff__h { margin: 0 0 10px; font-size: 15.5px; font-weight: bold; }
.ug .ug-staff__h span { font-size: 12px; font-weight: normal; color: var(--ug-sub); }
.ug .ug-staff__l { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.ug .ug-staff__l li { text-align: center; }
.ug .ug-staff__l img { display: block; width: 100%; height: auto !important; aspect-ratio: 200 / 230; object-fit: cover; border-radius: 10px; background: #fff; }
.ug .ug-staff__l span { display: block; margin-top: 3px; font-size: 11.5px; font-weight: bold; }
.ug .ug-staff .ug-more { margin-top: 8px; }
.ug .ug-staff__msg { position: relative; margin: 22px 0 0; padding: 22px 22px 16px; border: 1px solid var(--ug-line); border-radius: 16px; background: #fff; }
.ug .ug-staff__msg-h { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 1; margin: 0; padding: 2px 16px; border-radius: 999px; background: var(--ug-acc); white-space: nowrap; font-size: 13px; font-weight: bold; line-height: 1.7; color: #fff; }
.ug .ug-staff__msg-b { font-size: 14px; line-height: 1.9; text-align: center; color: #34424d; }

/* アフターサービス */
.ug .ug-care { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 0 14px; padding: 12px; border: 1px solid var(--ug-line); border-radius: 14px; background: #fff; }
.ug .ug-care img { display: block; width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; }
.ug .ug-care p { font-size: 15px; font-weight: bold; line-height: 1.7; }
.ug .ug-tel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; align-items: stretch; }
.ug .ug-tel__main {
	display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 16px; border: 2px solid #208d14; border-radius: 14px;
	background: #fff; color: #208d14; text-decoration: none; text-align: center;
}
.ug .ug-tel__main small { font-size: 12px; color: var(--ug-sub); }
.ug .ug-tel__main b { font-size: 26px; letter-spacing: .02em; }
.ug .ug-tel__main:hover { background: #f2fbf2; }
.ug .ug-tel__mk { width: 100%; border-collapse: collapse; font-size: 13px; }
.ug .ug-tel__mk caption { padding: 0 0 6px; text-align: left; font-size: 12.5px; font-weight: bold; color: var(--ug-sub); }
.ug .ug-tel__mk th, .ug .ug-tel__mk td { padding: 8px 10px; border-bottom: 1px solid var(--ug-line); text-align: left; vertical-align: middle; }
.ug .ug-tel__mk th { font-weight: normal; color: #34424d; }
.ug .ug-tel__mk td { white-space: nowrap; font-weight: bold; }
.ug .ug-tel__mk td a { color: var(--ug-ink); text-decoration: none; }
.ug .ug-tel__mk td small { display: block; font-size: 11px; font-weight: normal; color: var(--ug-sub); }

/* お見積り（サイト共通 .pd-cta2 と同じ色・ホバー） */
.ug .ug-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 20px; }
.ug .ug-cta a { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 64px; box-sizing: border-box; padding: 8px 12px; border-radius: 6px; font-size: 18px; font-weight: bold; text-decoration: none; line-height: 1.35; text-align: center; }
.ug .ug-cta a small { font-size: 12px; font-weight: normal; }
.ug .ug-cta__p { background: #34aa34; border: 2px solid #208d14; color: #fff; transition: background .15s; }
.ug .ug-cta__p:hover, .ug .ug-cta__p:focus-visible { background: #207720; color: #fff; }
.ug .ug-cta__t { background: #fff; border: 2px solid #208d14; color: #208d14; transition: background .15s; }
.ug .ug-cta__t:hover, .ug .ug-cta__t:focus-visible { background: #f2fbf2; color: #208d14; }

/* ガスペックについて（2026-10-15）。2列×2段の横長カード：左にアイコン、右に見出しと説明。余白を広めに */
.ug .ug-about { margin: 0 0 32px; }
.ug .ug-about .ug-step__lead { margin: 0 0 18px; }
.ug .ug-about__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ug .ug-about__l li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0; padding: 14px 16px; border: 1px solid var(--ug-line); border-radius: 14px; background: #fff; }
.ug .ug-about__l li::before { content: none; }
.ug .ug-about__l .about-t { display: grid; gap: 4px; align-content: center; }
.ug .ug-about__l .about-p { display: block; width: 120px; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--ug-line); background: #fff; }
.ug .ug-about__l b { font-size: 16px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }

.ug .ug-about__l b em { margin: 0 2px; font-style: normal; font-size: 28px; line-height: 1; color: var(--ug-acc2); }
.ug .ug-about__l small { font-size: 13px; line-height: 1.7; color: var(--ug-sub); }
.ug .ug-about .ug-more { margin-top: 14px; }

/* ---- スマホ（@media はCSSの最後） ---- */
@media screen and (max-width: 767px) {
	.ug [id] { scroll-margin-top: 76px; }
	.ug .ug-hero { border-radius: 16px; }
	.ug .ug-hero__bg img { aspect-ratio: 840 / 560; }
	.ug .ug-hero__t { position: static; width: auto; padding: 16px 16px 18px; }
	.ug h2.ug-hero__h { font-size: 24px !important; }
	.ug .ug-points { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ug .ug-key__fig figcaption { font-size: 12px; }
	.ug .ug-flow ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
	.ug .ug-flow li + li::after { left: -4px; width: 4px; }
	.ug .ug-flow a { min-height: 76px; padding: 8px 2px; border-radius: 10px; }
	.ug .ug-flow span { font-size: 11px; }
	.ug .ug-flow .ug-l { display: none; }
	.ug .ug-flow .ug-s { display: inline; }
	.ug .ug-flow i { width: 24px; height: 24px; font-size: 12px; }
	.ug h2.ug-step__h { font-size: 17px !important; padding: 10px 12px !important; }
	.ug .ug-two { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 10px; }
	.ug .ug-opt { grid-template-rows: none; grid-row: auto; }
	.ug .ug-opt--one { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.ug .ug-opt--one .ug-opt__p { grid-row: auto; }
	.ug .ug-pay { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 10px; }
	.ug .ug-pay > li { grid-template-rows: none; grid-row: auto; }
	.ug .ug-key { grid-template-columns: minmax(0, 1fr); padding: 12px; }
	.ug .ug-key__fig { grid-column: auto; grid-row: auto; margin: 12px 0 0; padding: 10px 8px 8px; }
	.ug .ug-key__h, .ug .ug-key__b { grid-column: auto; }
	.ug .ug-key__i { width: 44px; height: 44px; }
	.ug h3.ug-h3 { font-size: 16.5px !important; }
	.ug .ug-cod { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
	.ug .ug-staff__msg { padding: 20px 14px 12px; }
	.ug .ug-staff__msg-b { font-size: 13.5px; text-align: left; }
	.ug .ug-key__h { font-size: 15.5px; }
	.ug .ug-tel { grid-template-columns: minmax(0, 1fr); }
	.ug .ug-staff { padding: 12px; }
	.ug .ug-staff__l { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
	.ug .ug-staff__l span { font-size: 11px; }
	.ug .ug-care { grid-template-columns: 90px minmax(0, 1fr); gap: 10px; }
	.ug .ug-care p { font-size: 14px; }
	.ug .ug-tel__mk td { white-space: normal; }
	.ug .ug-cta { grid-template-columns: minmax(0, 1fr); }
	.ug .ug-about__l { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ug .ug-about__l li { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px 14px; }
	.ug .ug-about__l .about-p { width: 96px; }
}
