@charset "utf-8";

/* =========================================================================
   kashiwanoha_grandopen styles
========================================================================= */

#kashiwanohaWrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  /*padding-bottom: 100px; /* 追従CTA用の余白 */
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  color: #333;
}

#kashiwanohaWrap img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

#kashiwanohaWrap .inner {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

/* 表示切り替え */
#kashiwanohaWrap .pc { display: block; }
#kashiwanohaWrap .sp { display: none; }
@media screen and (max-width: 768px) {
  #kashiwanohaWrap .pc { display: none !important; }
  #kashiwanohaWrap .sp { display: block !important; }
}

/* 共通パーツ */
#kashiwanohaWrap .red { color: #d2003b; }

/* 黄色い破線のアンダーライン */
.uline_yellow_dashed {
  border-bottom: 2px dashed #ffcc00;
  padding-bottom: 2px;
}

/* ページトップボタン非表示 */
#topcontrol {
  display: none !important;
}

/* -------------------------------------------
   メインビジュアル
------------------------------------------- */
#mainVisual {
  width: 100%;
  position: relative;
  overflow: hidden;
  /*margin-top: 130px; /* ヘッダーの高さ分の余白を追加 */
}
#mainVisual .fv_container {
  position: relative;
  width: 100%;
}
#mainVisual .fv_bg {
  width: 100%;
  display: block;
}
#mainVisual .fv_logo {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 700px;
}

/* -------------------------------------------
   リード文
------------------------------------------- */
#leadSection {
  padding: 60px 0;
  text-align: center;
}
#leadSection .lead_text {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 40px;
}
#leadSection .blue_outer {
  border: 1px solid #bed9e4;
  padding: 30px;
  font-size: 16px;
  line-height: 1.6;
}

/* -------------------------------------------
   特典セクション共通
------------------------------------------- */
.privilege_section {
  margin-bottom: 60px;
}
.heading_block {
  text-align: center;
  padding: 20px 10px;
  margin-bottom: 40px;
}
.bg_lightblue {
  background-color: #bed9e4; /* PDFの薄い青に近い色 */
}
.heading_block h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
    line-height: 1.4;
}
.heading_block .deadline {
  font-size: 15px;
    line-height: 1.3;
}

/* -------------------------------------------
   1つめのご優待（TOTO）
------------------------------------------- */
.privilege_content {
  position: relative;
}
.badge_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  /* バッジを絶対配置にするため、ここでは特に不要ですがテキストの中央揃えを維持します */
}
.badge_wrap.center_badge {
  flex-direction: column;
}
.badge_img {
  position: absolute;
  top: -80px; /* 見出しブロックに重なるように上へ移動 */
  left: -40px; /* 左側へ少しはみ出させる */
  width: 143px;
  z-index: 10;
}
.privilege_desc {
  font-size: 20px;
  font-weight: bold;
}
.privilege_desc.center {
  text-align: center;
  line-height: 1.6;
}

/* 商品リスト */
.product_list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 40px;
}
.product_item {
  text-align: center;
}
.product_title {
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.product_title .label {
  color: #fff;
  padding: 6px 20px;
  font-size: 15px;
  border-radius: 3px;
  font-weight: bold;
}
.bg_green { background-color: #b2c78e; }
.bg_lightgreen { background-color: #c3d79b; }

.product_title strong {
  font-size: 24px;
}
.product_title .size {
  font-size: 18px;
  font-weight: normal;
}
.product_img img {
  max-width: 620px !important;
  width: 100%;
}

.cyuki_text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* -------------------------------------------
   2つめのご優待（Panasonic）
------------------------------------------- */
.gradeup_block {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}
.gradeup_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
    line-height: 1.8;
}
.gradeup_target {
  font-size: 15px;
  margin-bottom: 25px;
}
.gradeup_img img {
  max-width: 620px !important;
  width: 100%;
}

/* -------------------------------------------
   先行お見積り特典
------------------------------------------- */
#estimateSection {
  margin-bottom: 60px;
}
.estimate_box {
  display: flex;
  align-items: center;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  padding: 40px 30px;
  gap: 40px;
}
.estimate_left {
  flex: 0 0 45%;
}
.estimate_right {
  flex: 1;
}
.est_top {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}
.est_main {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}
.est_sub {
  font-size: 18px;
  margin-bottom: 20px;
}
.est_note {
  font-size: 13px;
  color: #666;
}

/* -------------------------------------------
   追従CTA
------------------------------------------- */
.floating_cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 15px 0; /* 左右のpaddingを消して幅100%を維持 */
  text-align: center;
  z-index: 1000;
  pointer-events: none; /* 背景がないためクリック判定を無効化 */
}
.floating_dual_wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 90%;
  max-width: 760px;
  margin: 0 auto;
  pointer-events: auto; /* ボタン領域はクリック可能に */
}
.floating_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 10px;
  border-radius: 40px;
  flex: 1;
  box-sizing: border-box;
  transition: transform 0.3s;
}
.float_consult {
  background-color: #6c8ea4; /* くすみブルー */
  box-shadow: 0 4px 10px rgba(108,142,164,0.3);
}
.float_estimate {
  background-color: #d2003b;
  box-shadow: 0 4px 10px rgba(210,0,59,0.3);
}
.floating_btn:hover {
  transform: scale(1.05);
}

/* -------------------------------------------
   レスポンシブ (スマホ)
------------------------------------------- */
@media screen and (max-width: 768px) {
  #mainVisual {
    margin-top: 20px; /* スマホ用ヘッダー余白 */
  }
  
  #leadSection {
    padding: 40px 0;
  }
  #leadSection .lead_text {
    font-size: 15px;
    margin-bottom: 30px;
  }
  #leadSection .blue_outer {
    padding: 20px 15px;
    font-size: 14px;
  }
  
  .heading_block {
    padding: 15px;
  }
  .heading_block h2 {
    font-size: 18px;
  }
  
  .badge_wrap {
    display: block;
    text-align: right;
  }
  .badge_img {
    top: -30px;
    left: -10px;
    width: 80px;
  }
 .privilege_desc {
    font-size: 16px;
    text-align: center;
    line-height: 1.8;
    margin-left: 70px;
}
  
  .product_title {
    font-size: 15px;
  }
  .product_title strong {
    font-size: 20px;
  }
  .product_title .size {
    font-size: 15px;
  }
  
  .gradeup_title {
    font-size: 18px;
  }
  .gradeup_target {
    font-size: 13px;
  }
  
  .estimate_box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }
  .estimate_left {
    width: 100%;
  }
  .est_top {
    font-size: 15px;
  }
  .est_main {
    font-size: 22px;
  }
  .est_sub {
    font-size: 15px;
  }
  
  .floating_cta {
    bottom: 70px; /* お客様指定の下マージン */
  }
  .floating_dual_wrap {
    gap: 8px;
    width: 95%;
  }
  .floating_btn {
    font-size: 14px;
    padding: 12px 0;
  }
    .heading_block {
        margin-bottom: 20px;
    }
}
