@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap");

/*
 * 物件詳細ページ用カードCSS
 *
 * details_181.html では、以下のようにこのCSSを読み込んでください。
 * <link href="estate-cards.css" rel="stylesheet" />
 *
 * 本文中の <span style=""> など、文章単位の強調装飾はHTML側に残し、
 * カードの枠・余白・配色・レスポンシブ調整だけをここで管理します。
 */

/* SP時だけ改行させる共通クラス */
.brSp { display:none; }
.brPc { display:inline; }

/* ===== この物件の省エネ性能カード (spec) ===== */
.spec-banner{
  box-sizing:border-box;
  max-width:560px;
  margin:12px auto 20px;
  background:#fff;
  border:1px solid #a8d5b8;
  border-radius:14px;
  overflow:hidden;
}
.spec-banner-head{
  background:linear-gradient(135deg,#1e6b45,#2da05a);
  padding:9px 16px;
}
.spec-banner-head-title{
  font-size:13px;
  font-weight:700;
  color:#fff;
}
.spec-banner-zeh{
  background:#f0faf4;
  border-bottom:1px solid #a8d5b8;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:10px;
}
.spec-banner-zeh-badge{
  background:#1e6b45;
  color:#fff;
  font-size:11px;
  font-weight:700;
  padding:3px 10px;
  border-radius:999px;
  white-space:nowrap;
  flex-shrink:0;
}
.spec-banner-zeh-text{
  font-size:13px;
  color:#1e6b45;
  font-weight:700;
  line-height:1.65;
}
.spec-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
}
.spec-cell{
  padding:12px 14px;
  border-right:1px solid #e8f5ee;
  border-bottom:1px solid #e8f5ee;
  text-align:center;
}
.spec-cell:nth-child(2n){
  border-right:none;
}
.spec-cell:nth-last-child(-n+2){
  border-bottom:none;
}
.spec-cell-label{
  font-size:10px;
  color:#888;
  margin-bottom:3px;
}
.spec-cell-val{
  font-family:"Oswald",sans-serif;
  font-size:22px;
  font-weight:700;
  color:#1e6b45;
  line-height:1;
}
.spec-cell-val sub{
  font-size:11px;
  opacity:.7;
}
.spec-cell-note{
  font-size:10px;
  color:#666;
  margin-top:3px;
}

/* ===== 光熱費実績カード (kh2) ===== */
.kh2-wrap{
  box-sizing:border-box;
  width:100%;
  max-width:560px;
  margin:0 auto;
  font-size:16px;
}
.kh2-card{
  border:1px solid #a8d5b8;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.kh2-head{
  background:#1e6b45;
  color:#fff;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}
.kh2-head-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.kh2-name{
  font-size:18px;
  font-weight:700;
  margin:0;
}
.kh2-meta{
  font-size:13px;
  color:rgba(255,255,255,0.85);
}
.kh2-tag{
  font-size:12px;
  padding:3px 8px;
  border:1px solid rgba(255,255,255,0.35);
  border-radius:999px;
  background:rgba(255,255,255,0.12);
}
.kh2-body{
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.kh2-cost-label{
  font-size:13px;
  color:#666;
  margin-bottom:2px;
}
.kh2-cost-value{
  font-size:36px;
  font-weight:800;
  color:#1e6b45;
  letter-spacing:-0.03em;
  line-height:1;
}
.kh2-cost-unit{
  font-size:16px;
  font-weight:700;
  color:#1e6b45;
}
.kh2-cost-avg{
  font-size:14px;
  color:#555;
  margin-top:4px;
}
.kh2-saving{
  background:#e8f5ee;
  border:1px solid #a8d5b8;
  border-radius:8px;
  padding:8px 12px;
  text-align:center;
}
.kh2-saving-value{
  font-size:20px;
  font-weight:800;
  color:#b22222;
}
.kh2-saving-sub{
  font-size:12px;
  color:#777;
}
.kh2-detail{
  border-top:1px solid #d4ead9;
}
.kh2-detail-body{
  padding:10px 16px 14px;
}
.kh2-compare-row{
  display:grid;
  grid-template-columns:80px 1fr 70px;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.kh2-compare-label{
  font-size:13px;
  color:#333;
}
.kh2-compare-value{
  font-size:13px;
  font-weight:700;
  color:#1e6b45;
  text-align:right;
}
.kh2-bar-track{
  height:10px;
  border-radius:999px;
  background:rgba(30,107,69,0.12);
  overflow:hidden;
}
.kh2-bar-fill{
  height:100%;
  border-radius:999px;
}
.kh2-bar-general{
  background:linear-gradient(90deg, #888 0%, #555 100%);
}
.kh2-bar-says{
  background:linear-gradient(90deg, #5db886 0%, #1e6b45 100%);
}
.kh2-specs{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:8px;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #d4ead9;
}
.kh2-spec-label{
  font-size:11px;
  color:#888;
}
.kh2-spec-value{
  font-size:18px;
  font-weight:700;
  color:#1e6b45;
}
.kh2-footnote{
  font-size:12px;
  color:#999;
  margin-top:10px;
  line-height:1.5;
}

/* ===== 停電時カード (bsai) ===== */
.bsai-wrap{
  box-sizing:border-box;
  width:100%;
  max-width:560px;
  margin:0 auto;
  border:1px solid #a8d5b8;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  font-size:16px;
}
.bsai-wrap--mt10{
  margin-top:10px;
}
.bsai-head{
  background:#1e6b45;
  color:#fff;
  padding:12px 18px;
}
.bsai-title{
  font-size:16px;
  font-weight:700;
  margin:0 0 2px;
  line-height:1.5;
}
.bsai-sub{
  font-size:12px;
  color:rgba(255,255,255,0.85);
  margin:0;
  line-height:1.5;
}
.bsai-body{
  background:#fff;
  padding:16px 18px;
}
.bsai-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
.bsai-table tr{
  border-bottom:1px solid #ececec;
}
.bsai-table tr:last-child{
  border-bottom:none;
}
.bsai-table td{
  vertical-align:top;
  padding:10px 0;
}
.bsai-icon-cell{
  width:24px;
  padding-right:8px;
}
.bsai-check{
  display:inline-block;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#1e6b45;
  position:relative;
  top:2px;
}
.bsai-check:before{
  content:"";
  position:absolute;
  left:4px;
  top:2px;
  width:6px;
  height:9px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
}
.bsai-text-cell{
  font-size:13px;
  color:#333;
  line-height:1.8;
  text-align:left;
  word-break:normal;
  overflow-wrap:break-word;
}
.bsai-value-cell{
  width:96px;
  text-align:right;
  font-size:13px;
  font-weight:700;
  color:#b22222;
  line-height:1.6;
  white-space:nowrap;
  padding-left:8px;
}
.bsai-note{
  font-size:11px;
  color:#999;
  margin-top:10px;
  line-height:1.6;
}

/* ===== レジリエンス住宅カード (rs) ===== */
.rs-ribbon{
  max-width:560px;
  margin:36px auto 0;
}
.rs-ribbon-line{
  height:3px;
  background:linear-gradient(90deg,transparent,#f5a623 30%,#f5a623 70%,transparent);
  border-radius:999px;
}
.rs-ribbon-label{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5a623;
  color:#0a2e18;
  font-family:"Oswald",sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.2em;
  padding:6px 20px;
  border-radius:0 0 10px 10px;
  width:fit-content;
  margin:0 auto;
}
.rs-wrap{
  max-width:560px;
  margin:0 auto 32px;
  box-sizing:border-box;
  border:3px solid #f5a623;
  border-top:none;
  border-radius:0 0 20px 20px;
  background:linear-gradient(170deg,#0d2818,#122e1c 60%,#0d2010);
  padding:22px 14px 26px;
  position:relative;
  overflow:hidden;
}
.rs-lead{
  position:relative;
  z-index:1;
  text-align:center;
  padding:0 4px 20px;
  margin-bottom:16px;
  border-bottom:1px solid rgba(245,166,35,.25);
}
.rs-title{
  font-family:"Oswald",sans-serif;
  font-size:26px;
  font-weight:700;
  color:#fff;
  line-height:1.25;
  margin:0 0 8px;
}
.rs-copy{
  font-size:14px;
  color:rgba(255,255,255,.65);
  line-height:1.85;
  margin:0 0 16px;
}
.rs-spec-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
  margin-bottom:14px;
}
.rsi{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-top:2px solid #f5a623;
  border-radius:8px;
  padding:10px 12px;
  text-align:left;
}
.rsl{
  font-size:11px;
  color:rgba(255,255,255,.45);
  margin-bottom:3px;
}
.rsv{
  font-family:"Oswald",sans-serif;
  font-size:22px;
  font-weight:700;
  color:#fff;
}
.rsd{
  font-size:11px;
  color:rgba(255,255,255,.38);
}
.rs-point{
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(245,166,35,.12);
  border:1.5px solid rgba(245,166,35,.5);
  border-radius:8px;
  padding:10px 13px;
}
.rs-point-icon{
  font-size:24px;
  flex-shrink:0;
}
.rs-point-text{
  text-align:left;
}
.rc{
  background:#fff;
  border-radius:11px;
  overflow:hidden;
  margin-bottom:10px;
  position:relative;
  z-index:1;
}
.ch{
  background:#0a2e18;
  padding:9px 15px;
  border-bottom:2px solid #f5a623;
}
.cht{
  font-size:14px;
  font-weight:700;
  color:#f5a623;
}
.rs-compare-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.rs-compare-col{
  padding:13px 11px;
}
.rs-compare-col--general{
  background:#fdf5f5;
  border-right:1px solid #e8ded8;
}
.rs-compare-col--says{
  background:#f0faf4;
}
.rs-compare-title{
  font-size:15px;
  font-weight:900;
  margin-bottom:8px;
}
.rs-compare-title--general{
  color:#c0392b;
}
.rs-compare-title--says{
  color:#1e6b45;
}
.rs-list{
  list-style:disc;
  margin:0;
  padding:0 0 0 16px;
  text-align:left;
}
.rs-list li{
  font-size:13px;
  line-height:1.75;
  color:#333;
}
.rs-note{
  padding:10px 13px;
  border-top:1px solid #f0e8d0;
  background:#fffbf0;
}
.rs-note-title{
  font-size:11px;
  color:#b26a00;
  font-weight:700;
  margin-bottom:3px;
}
.rs-note-text{
  font-size:13px;
  color:#333;
  line-height:1.75;
}
.rs-story{
  padding:14px 13px;
  font-size:13px;
  color:#333;
  line-height:1.9;
}
.rs-story p{
  margin:0 0 8px;
}
.rs-story p:last-child{
  margin:0;
}

/* ===== セイズだからできる 2つの安心ポイント (pts) ===== */
.pts-wrap{
  text-align:center;
  margin:10px 0 4px;
}
.pts-box{
  display:inline-block;
  background:#fff;
  border:2px solid #1e6b45;
  border-radius:8px;
  padding:16px 26px 14px;
  text-align:left;
  position:relative;
  max-width:560px;
  width:92%;
  box-sizing:border-box;
}
.pts-title{
  display:inline-block;
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background:#1e6b45;
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:3px 16px;
  border-radius:999px;
  letter-spacing:0.06em;
  white-space:nowrap;
}
.pts-list{
  margin:0;
  padding:0;
}
.pts-item{
  font-size:14px;
  color:#222;
  font-weight:700;
  line-height:1.7;
  padding:3px 0 3px 25px;
  position:relative;
}
.pts-item:before{
  content:"✓";
  display:inline-block;
  color:#fff;
  background:#1e6b45;
  width:17px;
  height:17px;
  border-radius:50%;
  text-align:center;
  line-height:17px;
  font-size:10px;
  font-weight:700;
  position:absolute;
  left:0;
  top:7px;
}
.pts-list em{
  font-style:normal;
  color:#b22222;
  font-size:15px;
  margin:0 1px;
}
.pts-list .pts-sub{
  display:block;
  font-weight:400;
  color:#555;
  font-size:12px;
  margin-left:25px;
  margin-top:2px;
  line-height:1.5;
}

/* ===== ナフサショック影響ゼロカード (nfz) ===== */
.nfz-wrap{
  box-sizing:border-box;
  width:100%;
  max-width:560px;
  margin:24px auto 0;
  font-size:16px;
}
.nfz-card{
  border:1px solid #a8d5b8;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.nfz-head{
  background:#1e6b45;
  color:#fff;
  padding:14px 18px;
  text-align:center;
}
.nfz-badge{
  display:inline-block;
  font-size:11px;
  padding:3px 10px;
  border:1px solid rgba(255,255,255,0.45);
  border-radius:999px;
  background:rgba(255,255,255,0.12);
  margin-bottom:6px;
  letter-spacing:0.05em;
}
.nfz-title{
  font-size:18px;
  font-weight:800;
  margin:0;
  line-height:1.4;
}
.nfz-title em{
  font-style:normal;
  color:#ffe082;
  font-size:22px;
}
.nfz-body{
  padding:16px 18px;
}
.nfz-lead{
  font-size:14px;
  color:#333;
  line-height:1.8;
  margin:0;
  text-align:left;
}
.nfz-lead strong{
  color:#1e6b45;
}

/* スマホ表示時のカード内レイアウト調整 */
@media (max-width:480px){
  .brSp{ display:inline; }
  .brPc{ display:none; }
  .kh2-specs{ grid-template-columns:repeat(2, 1fr); }
  .kh2-compare-row{ grid-template-columns:1fr; gap:4px; }
  .kh2-compare-value{ text-align:left; }
  .kh2-name{ font-size:17px; }
  .kh2-cost-label{ font-size:12px; }
  .kh2-cost-value{ font-size:32px; }
  .kh2-cost-unit{ font-size:15px; }
  .kh2-cost-avg{ font-size:13px; }
  .kh2-saving-value{ font-size:18px; }
  .kh2-compare-label,.kh2-compare-value{ font-size:12px; }
  .kh2-spec-value{ font-size:17px; }
  .bsai-head{ padding:10px 14px; }
  .bsai-title{ font-size:15px; }
  .bsai-sub{ font-size:11px; }
  .bsai-body{ padding:14px; }
  .bsai-table td{ padding:9px 0; }
  .bsai-icon-cell{ width:22px; padding-right:6px; }
  .bsai-check{ width:15px; height:15px; }
  .bsai-check:before{ left:4px; top:2px; width:5px; height:8px; }
  .bsai-text-cell{ font-size:12px; line-height:1.75; }
  .bsai-value-cell{ width:84px; font-size:12px; line-height:1.5; }
  .rs-compare-grid{ grid-template-columns:1fr; }
  .rs-compare-col--general{
    border-right:none;
    border-bottom:1px solid #e8ded8;
  }
  .pts-box{ padding:14px 16px 12px; }
  .pts-title{ font-size:11px; padding:3px 12px; }
  .pts-item{ font-size:13px; }
  .pts-list em{ font-size:14px; }
  .pts-list .pts-sub{ font-size:11px; margin-left:25px; }
  .nfz-title{ font-size:16px; }
  .nfz-title em{ font-size:19px; }
  .nfz-lead{ font-size:13px; }
}
