@charset "UTF-8";
/* 歳末リフォームキャンペーン2026 LP - 統合・可読性改善版
   既存のキャンペーン用CSSと差し替えて使用してください。
   原稿・価格画像の内容は変更せず、見た目の表示寸法を調整しています。 */

#reform_cp {
  --cp-red: #ce361a;
  --cp-deep-red: #a50000;
  --cp-turquoise: #22b7c3;
  --cp-price-wide: 370px;
  --cp-price-stack: 205px;
  --cp-price-stack-long: 245px;
  background: var(--cp-red);
  padding: 0 0 50px;
  color: #111;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}
#reform_cp *, #reform_cp *::before, #reform_cp *::after { box-sizing: border-box; }
#reform_cp img { display: block; max-width: 100%; height: auto; }
#reform_cp figure { margin: 0; }
#reform_cp p { overflow-wrap: anywhere; }
#reform_cp .pcOnly { display: block; }
#reform_cp .spOnly { display: none; }
#reform_cp .font-wh { color: #fff; }

/* メインビジュアル */
#reform_cp_top {
  padding-top: 50px;
  background: linear-gradient(to bottom, #530a13 0%, #98231d 25%, #ce361a 45%, #ce361a 100%);
}
#reform_cp_top figure img { width: 100%; }
#reform_cp_top .text-bb {
  margin: 30px 0 0;
  padding: 4px 12px;
  border-radius: 30px;
  background: #fff100;
  color: #9b0000;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

/* 特典 */
#reform_cp .tokuten {
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  margin: 0 auto;
  padding: 8px 15px;
}
#reform_cp .reform_cp_box_tokuten1,
#reform_cp .reform_cp_box_tokuten2 {
  min-width: 0;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
}
#reform_cp .reform_cp_box_tokuten1 { display: flex; align-items: center; }
#reform_cp .reform_cp_box_tokuten1 img { width: 100%; }
#reform_cp .reform_cp_box_tokuten2 { padding: 22px 28px 16px; }
#reform_cp .tokuten2_title { width: min(48%, 320px); margin-bottom: 8px; }
#reform_cp .tokuten2_title img { width: 100%; }
#reform_cp .tokuten2_lead { margin: 0; font-size: 16px; line-height: 1.5; }
#reform_cp .tokuten2_main {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  align-items: center;
  margin-top: 4px;
}
#reform_cp .tokuten2_main h3 {
  margin: 0;
  color: var(--cp-deep-red);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.3;
}
#reform_cp .tokuten2_main h3 span{
  color: rgba(255,0,4,1.00);
}
#reform_cp .tokuten2_img { min-width: 0; }
#reform_cp .tokuten2_img img { width: 100%; }
#reform_cp .tokuten2_text { margin: 10px 0 14px; font-size: 15px; line-height: 1.55; }
#reform_cp .tokuten2_btn { width: min(80%, 370px); margin: 0 auto; }
#reform_cp .tokuten2_btn a {
  display: block;
  padding: 8px 14px;
  background: #3479bc;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
#reform_cp .tokuten2_btn a:hover { opacity: .85; }
#reform_cp .tokuten2_note { margin: 10px 0 0; font-size: 13px; text-align: center; }

/* 共通セクション・リボン */
#reform_cp .reform_cp_section { margin-top: 40px; margin-bottom: 40px; }
#reform_cp .reform_cp_section > h2 {
  position: relative;
  z-index: 1;
  width: 92%;
  margin: 0 auto -22px;
  padding: 10px 45px;
  border: 3px solid #ffe000;
  background: #c90000;
  color: #fff;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 97.5% 50%, 100% 100%, 0 100%, 2.5% 50%);
}
#reform_cp .reform_cp_box1,
#reform_cp .reform_cp_box2,
#reform_cp .reform_cp_box3,
#reform_cp .reform_cp_box4,
#reform_cp .reform_cp_box5,
#reform_cp .reform_cp_box6 { background: #fff; }

/* 価格画像共通：同じ数字の見た目の高さを優先する。
   横長の価格画像(01,02)と2段組の価格画像(03-11)は
   元データの比率が違うため、別幅で統一する。 */
#reform_cp .box1_price,
#reform_cp .box2_price,
#reform_cp .box3_price,
#reform_cp .box4_price { margin: 10px 0 0; }
#reform_cp .box1_price img {
  width: min(100%, var(--cp-price-wide));
}
#reform_cp .box2_price img,
#reform_cp .box4_price img {
  width: min(100%, var(--cp-price-stack));
}
#reform_cp .box3_price img {
  width: min(100%, var(--cp-price-stack-long));
}
/* 注釈は全セクション14px以上に統一 */
#reform_cp .box1_note,
#reform_cp .box2_note,
#reform_cp .box3_note,
#reform_cp .box4_note {
  margin: 8px 0 0;
  color: #222;
  font-size: 13px;
  line-height: 1.5;
}

/* box1 浴室 */
#reform_cp .reform_cp_box1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 48px 14px 20px;
}
#reform_cp .reform_cp_box1_item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 14px;
}
#reform_cp .reform_cp_box1_item:first-child { border-right: 1px solid #555; }
#reform_cp .box1_lead { margin: 0 0 14px; font-size: 18px; line-height: 1.45; }
#reform_cp .box1_bath {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
#reform_cp .box1_floor { grid-column: 1; grid-row: 1; min-width: 0; }
#reform_cp .box1_bath_img { grid-column: 2; grid-row: 1; min-width: 0; }
#reform_cp .box1_floor_img img,
#reform_cp .box1_bath_img img,
#reform_cp .box1_dryer_img img { width: 100%; }
#reform_cp .box1_warranty { position: absolute; z-index: 2; top: -25px; right: 0; width: 65px; }
#reform_cp .box1_floor h3 {
  margin: 0 0 8px;
  padding: 4px;
  background: var(--cp-turquoise);
  color: #fff;
  font-size: 16px;
  text-align: center;
}
#reform_cp .box1_floor p { margin: 0 0 8px; font-size: 13px; line-height: 1.45; }
#reform_cp .box1_dryer_text p { margin: 8px 0 0; font-size: 17px; line-height: 1.5; }
#reform_cp .box1_product { margin-top: auto; padding-top: 18px; }
#reform_cp .box1_product > p:first-child { margin: 0; font-size: 15px; line-height: 1.5; }
#reform_cp .box1_product strong { font-size: 17px; }

/* box2 給湯器 */
#reform_cp .reform_cp_box2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 48px 14px 20px;
}
#reform_cp .reform_cp_box2_group { display: flex; flex-direction: column; min-width: 0; padding: 0 14px; }
#reform_cp .reform_cp_box2_group:first-child { border-right: 1px solid #555; }
#reform_cp .box2_intro { position: relative; min-height: 75px; padding-right: 66px; }
#reform_cp .box2_intro p { margin: 0; font-size: 16px; line-height: 1.45; }
#reform_cp .box2_warranty { position: absolute; top: 0; right: 0; width: 62px; }
#reform_cp .box2_products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
}
#reform_cp .box2_product { display: flex; flex-direction: column; min-width: 0; }
#reform_cp .box2_product_img { margin-bottom: 12px; }
#reform_cp .box2_product_img img { width: 100%; }
#reform_cp .box2_product_info { margin-top: auto; min-width: 0; }
#reform_cp .box2_maker { margin: 0 0 4px; font-size: 13px; line-height: 1.4; }
#reform_cp .box2_model { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
#reform_cp .box2_panasonic_img { margin: 5px 0 12px; }
#reform_cp .box2_panasonic_img img { width: 100%; }
#reform_cp .box2_panasonic_products { flex: 0 0 auto; }

/* box3 蓄電池 */
#reform_cp .reform_cp_box3 {
  display: grid;
  grid-template-columns: 19% minmax(0, 1fr) 28%;
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  padding: 48px 30px 24px;
}
#reform_cp .box3_img { grid-column: 1; grid-row: 1 / 3; align-self: center; }
#reform_cp .box3_img img { width: 100%; }
#reform_cp .box3_description { grid-column: 2; grid-row: 1; }
#reform_cp .box3_description p { margin: 0; font-size: 17px; line-height: 1.55; }
#reform_cp .box3_spec { grid-column: 2; grid-row: 2; align-self: end; margin-top: 12px; }
#reform_cp .box3_spec_title { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
#reform_cp .box3_spec p:not(.box3_spec_title) { margin: 0; font-size: 13px; line-height: 1.55; }
#reform_cp .box3_product { grid-column: 3; grid-row: 1 / 3; align-self: center; min-width: 0; }
#reform_cp .box3_maker { margin: 0 0 3px; font-size: 13px; }
#reform_cp .box3_model { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }

/* box4 防犯ラインナップ */
#reform_cp .reform_cp_box4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 48px 15px 20px;
}
#reform_cp .box4_item { min-width: 0; padding: 18px 15px; }
#reform_cp .box4_item:nth-child(odd) { border-right: 1px solid #555; }
#reform_cp .box4_item:nth-child(-n+2) { border-bottom: 1px solid #555; }
#reform_cp .box4_lead { margin: 0 0 14px; font-size: 17px; line-height: 1.45; }
#reform_cp .box4_maker { margin: 0 0 3px; font-size: 13px; line-height: 1.4; }
#reform_cp .box4_model { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
#reform_cp .box4_detail { margin: 0 0 6px; font-size: 13px; line-height: 1.4; }
#reform_cp .box4_door_layout { display: grid; grid-template-columns: 26% minmax(0, 1fr); gap: 14px; height: 100%; }
#reform_cp .box4_door_img img { width: 100%; }
#reform_cp .box4_door_content { display: flex; flex-direction: column; min-width: 0; }
#reform_cp .box4_door_info { margin-top: auto; padding-top: 12px; }
#reform_cp .box4_shutter_layout { display: grid; grid-template-columns: 56% minmax(0, 1fr); gap: 12px; align-items: end; }
#reform_cp .box4_shutter_img img { width: 100%; }
#reform_cp .box4_shutter_info { min-width: 0; }
#reform_cp .box4_security_logo { width: min(78%, 450px); margin-bottom: 16px; }
#reform_cp .box4_security_logo img { width: 100%; }
#reform_cp .box4_security_layout { display: grid; grid-template-columns: 55% minmax(0, 1fr); gap: 12px; }
#reform_cp .box4_security_content { min-width: 0; }
#reform_cp .box4_security_plan { margin: 0 0 9px; font-size: 17px; }
#reform_cp .box4_security_price { margin: 8px 0; }
#reform_cp .box4_security_price img { width: min(100%, 290px); }
#reform_cp .box4_security_text { margin: 0; font-size: 16px; line-height: 1.5; }
#reform_cp .box4_security_img img { width: 100%; }
#reform_cp .box4_delivery_top { display: grid; grid-template-columns: minmax(0, 1fr) 32%; gap: 12px; align-items: start; }
#reform_cp .box4_delivery_img img { width: 100%; }
#reform_cp .box4_delivery_products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
#reform_cp .box4_delivery_product { min-width: 0; }
#reform_cp .box4_delivery_product .box4_model { font-size: 16px; }
#reform_cp .box4_maker_empty { visibility: hidden; }

/* box5 防災グッズ */
#reform_cp .reform_cp_box5 {
  display: grid;
  grid-template-columns: 29% 27% minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 48px 38px 24px;
}
#reform_cp .reform_cp_box5_img img,
#reform_cp .reform_cp_box5_btn img { width: 100%; }
#reform_cp .reform_cp_box5 > p { margin: 0; font-size: 17px; line-height: 1.55; }
#reform_cp .reform_cp_box5_btn { min-width: 0; text-align: center; }
#reform_cp .reform_cp_box5_btn a:hover { opacity: .8; }
#reform_cp .reform_cp_box5_btn figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; }

/* box6 住宅設備 */
#reform_cp .reform_cp_box6 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 48px 12px 16px;
}
#reform_cp .reform_cp_box6 figure { min-width: 0; padding: 0 10px; border-right: 1px solid #555; }
#reform_cp .reform_cp_box6 figure:last-child { border-right: 0; }
#reform_cp .reform_cp_box6 figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; }
#reform_cp .reform_cp_box6 figcaption {
  margin-top: 6px;
  padding: 7px 3px;
  background: var(--cp-turquoise);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
#reform_cp .reform_cp_section > p.font-wh { margin: 12px 10px 0; font-size: 15px; line-height: 1.6; }

/* お問い合わせ */
#reform_cp .reform_btn { width: min(400px, calc(100% - 32px)); margin: 45px auto; }
#reform_cp .reform_btn a {
  display: block;
  padding: 16px 12px;
  background: #fff;
  color: #9b0000;
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
#reform_cp .reform_btn a:hover { background: #fff9ec; }

/* 中間画面：文字を潰さないため、主要な2列を一段に切り替え */
@media screen and (min-width: 768px) and (max-width: 1080px) {
  #reform_cp .reform_cp_box1,
  #reform_cp .reform_cp_box2,
  #reform_cp .reform_cp_box4 { padding-left: 8px; padding-right: 8px; }
  #reform_cp .reform_cp_box1_item,
  #reform_cp .reform_cp_box2_group,
  #reform_cp .box4_item { padding-left: 9px; padding-right: 9px; }
  #reform_cp .box1_lead, #reform_cp .box4_lead { font-size: 16px; }
  #reform_cp .box2_intro p { font-size: 15px; }
  #reform_cp .box2_intro { padding-right: 53px; }
  #reform_cp .box2_warranty { width: 50px; }
  #reform_cp .reform_cp_box3 { column-gap: 12px; padding-left: 15px; padding-right: 15px; }
  #reform_cp .box3_description p { font-size: 16px; }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  #reform_cp { font-size: 16px; }
  #reform_cp .pcOnly { display: none; }
  #reform_cp .spOnly { display: block; }
  #reform_cp_top { padding-top: 28px; }
  #reform_cp_top .text-bb { margin-top: 16px; font-size: 19px; }
  #reform_cp .tokuten { grid-template-columns: 1fr; gap: 10px; padding: 8px 12px; }
  #reform_cp .reform_cp_box_tokuten1,
  #reform_cp .reform_cp_box_tokuten2 { padding: 20px 16px; border-radius: 20px; }
  #reform_cp .tokuten2_title { width: min(75%, 300px); }
  #reform_cp .tokuten2_lead { font-size: 16px; }
  /* SP用tokuten2-1_sp.pngは文字とギフト写真を含む完成画像 */
  #reform_cp .tokuten2_main { display: block; margin-top: 10px; }
  #reform_cp .tokuten2_main h3 { display: none; }
  #reform_cp .tokuten2_img img { width: 100%; }
  #reform_cp .tokuten2_text { font-size: 15px; }
  #reform_cp .tokuten2_btn { width: 100%; max-width: 370px; }
  #reform_cp .tokuten2_btn a { font-size: 20px; }
  #reform_cp .tokuten2_note { font-size: 13px; }

  #reform_cp .reform_cp_section { margin-top: 32px; margin-bottom: 32px; }
  #reform_cp .reform_cp_section > h2 {
    width: 96%;
    margin-bottom: -25px;
    padding: 10px 23px;
    font-size: 16px;
    line-height: 1.45;
  }
  #reform_cp .reform_cp_box1,
  #reform_cp .reform_cp_box2,
  #reform_cp .reform_cp_box4 { grid-template-columns: 1fr; padding: 45px 12px 20px; }
  #reform_cp .reform_cp_box1_item,
  #reform_cp .reform_cp_box2_group { padding: 0; }
  #reform_cp .reform_cp_box1_item:first-child,
  #reform_cp .reform_cp_box2_group:first-child {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid #555;
  }
  #reform_cp .box1_lead { font-size: 16px; margin-bottom: 12px; }
  #reform_cp .box1_bath { display: flex; flex-direction: column; gap: 14px; }
  #reform_cp .box1_bath_img { order: 1; width: 100%; }
  #reform_cp .box1_floor { order: 2; width: 100%; }
  #reform_cp .box1_warranty { top: -26px; right: 0; width: 52px; }
  #reform_cp .box1_floor h3 { font-size: 16px; }
  #reform_cp .box1_floor p { font-size: 15px; line-height: 1.5; }
  #reform_cp .box1_dryer_text p { font-size: 16px; }
  #reform_cp .box1_product { margin-top: 0; padding-top: 14px; }
  #reform_cp .box1_product > p:first-child { font-size: 15px; }
  #reform_cp .box1_product strong { font-size: 16px; }
  #reform_cp .box1_price img { width: min(100%, 345px); }

  #reform_cp .box2_intro { min-height: 0; margin-bottom: 12px; padding-right: 55px; }
  #reform_cp .box2_intro p { font-size: 16px; }
  #reform_cp .box2_warranty { width: 50px; }
  #reform_cp .box2_products { gap: 12px; flex: initial; }
  #reform_cp .box2_maker { font-size: 13px; }
  #reform_cp .box2_model { font-size: 15px; }
  #reform_cp .box2_price img { width: min(100%, 195px); }
  #reform_cp .box2_panasonic_img { margin: 0 0 12px; }

  #reform_cp .reform_cp_box3 {
    grid-template-columns: 38% minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 14px;
    padding: 45px 15px 20px;
  }
  #reform_cp .box3_img { grid-column: 1; grid-row: 1; align-self: start; }
  #reform_cp .box3_description { grid-column: 2; grid-row: 1; }
  #reform_cp .box3_description p { font-size: 15px; line-height: 1.45; }
  #reform_cp .box3_spec { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  #reform_cp .box3_spec_title { font-size: 15px; }
  #reform_cp .box3_spec p:not(.box3_spec_title) { font-size: 13px; }
  #reform_cp .box3_product { grid-column: 1 / -1; grid-row: 3; }
  #reform_cp .box3_maker { font-size: 13px; }
  #reform_cp .box3_model { font-size: 17px; }
  #reform_cp .box3_price img { width: min(100%, 245px); }

  #reform_cp .reform_cp_box4 .box4_item { padding: 18px 0; border-right: 0; border-bottom: 1px solid #555; }
  #reform_cp .reform_cp_box4 .box4_item:nth-child(odd) { border-right: 0; }
  #reform_cp .reform_cp_box4 .box4_item:last-child { border-bottom: 0; }
  #reform_cp .box4_lead { font-size: 16px; }
  #reform_cp .box4_maker, #reform_cp .box4_detail { font-size: 13px; }
  #reform_cp .box4_model { font-size: 16px; }
  #reform_cp .box4_door_layout { grid-template-columns: 24% minmax(0, 1fr); gap: 12px; }
  #reform_cp .box4_door_info { padding-top: 10px; }
  #reform_cp .box4_shutter_layout { grid-template-columns: 50% minmax(0, 1fr); gap: 12px; align-items: center; }
  #reform_cp .box4_security_logo { width: min(85%, 400px); }
  #reform_cp .box4_security_layout { grid-template-columns: 55% minmax(0, 1fr); gap: 12px; }
  #reform_cp .box4_security_plan, #reform_cp .box4_security_text { font-size: 15px; }
  #reform_cp .box4_delivery_top { grid-template-columns: minmax(0, 1fr) 34%; }
  #reform_cp .box4_delivery_products { gap: 12px; margin-top: 12px; padding-right: 0; }
  #reform_cp .box4_delivery_product .box4_model { font-size: 15px; }
  #reform_cp .box4_price img { width: min(100%, 195px); }
  #reform_cp .box4_security_price img { width: min(100%, 260px); }

  #reform_cp .reform_cp_box5 { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 45px 17px 22px; }
  #reform_cp .reform_cp_box5_img { width: 100%; max-width: 340px; }
  #reform_cp .reform_cp_box5 > p { font-size: 16px; text-align: center; }
  #reform_cp .reform_cp_box5_btn { width: 100%; max-width: 360px; }
  #reform_cp .reform_cp_box5_btn figcaption { font-size: 13px; }

  #reform_cp .reform_cp_box6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 45px 12px 16px; }
  #reform_cp .reform_cp_box6 figure { padding: 0; border: 0; }
  #reform_cp .reform_cp_box6 figcaption { font-size: 13px; }
  #reform_cp .reform_cp_section > p.font-wh { font-size: 15px; }
  #reform_cp .reform_btn { margin: 30px auto; }
}

/* 320pxクラスの細い画面では商品名と価格の可読性を優先し、
   必要な場所だけ一列表示にする。 */
@media screen and (max-width: 359px) {
  #reform_cp .box2_products { grid-template-columns: 1fr; gap: 22px; }
  #reform_cp .box2_product_img { max-width: 260px; }
  #reform_cp .box2_price img { width: min(100%, 220px); }
  #reform_cp .box4_delivery_products { grid-template-columns: 1fr; }
  #reform_cp .box4_price img { width: min(100%, 220px); }
  #reform_cp .box4_shutter_layout { grid-template-columns: 1fr; }
  #reform_cp .box4_shutter_img { max-width: 300px; }
}
