@charset "utf-8";

/* -----------------------------------------------------------
    断熱リフォーム費用相場
    ※デザインの土台は補助金ページ（subsidy.css）。このページで使う指定だけを
      ここに取り込み、各リフォームページのテイスト（プランカラー・角丸カード・
      丸い番号バッジ）を足している。subsidy.css は読み込まない
-------------------------------------------------------------- */
#cost-price {
  --sub-orange: #e97629;
  --sub-orange-dark: #d4581a;
  --sub-orange-pale: #fff7ef;
  --sub-dark: #3d3432;
  --sub-line: #e6ddd3;
  --accent: var(--sub-orange);
  --accent-dark: var(--sub-orange-dark);
  --accent-pale: #fbdcc3;
  --accent-bg: var(--sub-orange-pale);
  --sub-shadow: 0 10px 30px rgba(61, 52, 50, 0.08);
  --sub-ease: cubic-bezier(0.165, 0.84, 0.44, 1);
  --cp-radius: 16px;
  color: var(--sub-dark);
}
/* プランごとの色（common.css の --c-*）を --accent に流し込む */
#cost-price :is(.c-full, .c-floor, .c-window, .c-door, .c-roof) {
  --accent: var(--plan);
  --accent-dark: color-mix(in srgb, var(--plan) 78%, #000);
  --accent-pale: color-mix(in srgb, var(--plan) 24%, #fff);
  --accent-bg: color-mix(in srgb, var(--plan) 9%, #fff);
}
#cost-price img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.sub-inner {
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 20px;
  width: 100%;
}

/* 共通見出し（サイト共通の .ttl-l を使用。このページ用の調整のみ） */
#cost-price .ttl-l {
  text-align: center;
}
#cost-price .ttl-l .en {
  color: var(--accent);
}
/* 色付きの帯の中にある見出しは左揃え・白文字 */
#cost-price .sub-subsidy__head .ttl-l {
  text-align: left;
}
#cost-price .sub-subsidy__head .ttl-l .en,
#cost-price .sub-subsidy__head .ttl-l .jp {
  color: #fff;
}

/* 見出し（四角アイコン） */
.sub-ttl-s {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.5;
  padding: 0 0 0 25px;
  position: relative;
  white-space: nowrap;
}
.sub-ttl-s::before {
  background: var(--accent);
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.sub-table-scroll {
  width: 100%;
}

/* 金額 */
#cost-price .num {
  font-family: var(--en);
  font-weight: 600;
  letter-spacing: 0;
}

@media screen and (max-width: 768px) {
  .sub-ttl-s {
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    padding: 0 0 0 20px;
  }
  .sub-table-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
}

/* ---------- 改行位置の調整 ---------- */
/* 見出し・短い文は文節で改行し、単語の途中で折り返さないようにする */
#cost-price
  :is(
    .ttl-l .jp,
    .catch-l,
    .sub-ttl-s,
    .cp-method__list .ttl,
    .cp-recommend li,
    .cp-price__ttl,
    .cp-plan__main .ttl,
    .cp-plan__points .txt,
    .cp-budget__list .catch,
    .cp-budget__reco dt,
    .sub-support__list .ttl,
    .sub-support__list .catch,
    .cp-column__ttl
  ) {
  word-break: auto-phrase;
}

.cp-note {
  color: var(--gray);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 24px 0 0;
}

/* ボタン（各プランページへの導線） */
.cp-btn {
  margin: 36px auto 0;
  max-width: 420px;
}
.cp-btn a {
  align-items: center;
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #fff;
  display: flex;
  font-size: 1.6rem;
  font-weight: bold;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1.5;
  min-height: 64px;
  padding: 10px 50px;
  position: relative;
  text-align: center;
  transition:
    background 0.3s,
    color 0.3s;
}
.cp-btn a::after {
  content: "\f105";
  font: 900 1.4rem / 1 var(--webicon);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}
@media (hover: hover) {
  .cp-btn a:hover {
    background: #fff;
    color: var(--accent-dark);
  }
  .cp-btn a:hover::after {
    transform: translate(4px, -50%);
  }
}

/* -----------------------------------------------------------
    ページタイトル（リフォームページと同じデザイン）
    ※reform.css はこのページでは読み込んでいないため、必要な指定をここに持つ
-------------------------------------------------------------- */
#cost-price .bread-h1-wrap {
  top: 40px;
}
/* h1だけ下げて写真(上端50px)の内側に載せる。パンくずは元の位置のまま */
#cost-price .under-h1 {
  position: relative;
  top: 24px;
}
/* h1が写真に重なるため白抜きにする */
#cost-price .under-h1 h1 {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}
#cost-price .subpage-header {
  height: auto;
  min-height: 700px;
  margin: 50px 0 0;
  padding: 110px 0 70px;
}
/* 文章が写真(幅50vw)の下に潜らないよう、左半分に収める */
#cost-price .subpage-header__inner {
  max-width: calc(50vw - 30px);
}
/* 上の「#cost-price img」の100%指定を打ち消し、共通の写真サイズに戻す */
#cost-price .subpage-header-image {
  overflow: hidden;
  border-radius: 0 0 0 50px;
}
#cost-price .subpage-header-image img {
  width: 50vw;
  height: 570px;
}
#cost-price .subpage-header__inner .catch-l .s {
  color: var(--sub-orange-dark);
}

/* 画面幅が狭いPCで見出しが写真に被らないよう調整 */
@media screen and (min-width: 769px) and (max-width: 1500px) {
  #cost-price .subpage-header__inner {
    padding: 0 0 0 80px;
  }
  #cost-price .subpage-header__inner .jp {
    font-size: 3.4rem;
  }
  #cost-price .subpage-header__inner .catch-l {
    font-size: 3rem;
  }
}

@media screen and (max-width: 768px) {
  /* SPでもh1を写真(上端30px)の右上に重ねる */
  #cost-price .bread-h1-wrap {
    top: 12px;
  }
  #cost-price .under-h1 {
    top: 0;
  }
  /* 文字が小さいので、明るい写真でも読めるよう影を強める */
  #cost-price .under-h1 h1 {
    text-shadow:
      0 0 3px rgba(0, 0, 0, 0.9),
      0 0 6px rgba(0, 0, 0, 0.6);
  }
  /* 写真(高さ250px)の下から文字を始める */
  #cost-price .subpage-header {
    display: block;
    min-width: 100%;
    min-height: 0;
    margin: 0 0 0;
    padding: 270px 0 40px;
  }
  #cost-price .subpage-header__inner {
    max-width: none;
    padding: 0 20px;
  }
  #cost-price .subpage-header-image {
    left: 0;
  }
  #cost-price .subpage-header-image img {
    width: 100%;
    height: 250px;
  }
  #cost-price .subpage-header__inner .catch-l {
    font-size: min(2rem, 5.2vw);
    padding: 15px 0 0;
  }
  #cost-price .subpage-header__inner .basic-txt {
    padding: 15px 0 0;
  }
}

/* ページタイトルのアニメーション（リフォームページと同じ動き）
   読み込み時に文字を下から順番に、写真を右からワイプ */
#cost-price .subpage-header__inner > .section-ttl,
#cost-price .subpage-header__inner > .catch-l,
#cost-price .subpage-header__inner > .basic-txt {
  animation: sub-mv-fadeup 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}
#cost-price .subpage-header__inner > .catch-l {
  animation-delay: 0.15s;
}
#cost-price .subpage-header__inner > .basic-txt {
  animation-delay: 0.3s;
}
#cost-price .subpage-header-image {
  animation: sub-mv-wipe 1.2s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}
#cost-price .subpage-header-image img {
  animation: sub-mv-zoom 2.4s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}
@keyframes sub-mv-fadeup {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sub-mv-wipe {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes sub-mv-zoom {
  from {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
}

/* ---------- ページ内メニュー（9項目） ---------- */
@media screen and (min-width: 769px) {
  #header-service01 .service-nav.column9 .nav-list li {
    min-width: 0;
    padding: 0 2px;
    width: calc((100% / 9) - 5px);
  }
  #header-service01 .service-nav.column9 .nav-list li p {
    font-size: 1.2rem;
  }
}

/* -----------------------------------------------------------
    cp-about 断熱リフォームとは？
-------------------------------------------------------------- */
.cp-about {
  padding: 120px 0;
}
/* リフォームページの「〇〇断熱とは？」と同じ左右2カラム */
.cp-about__head {
  display: flex;
  gap: 60px;
  justify-content: space-between;
}
.cp-about__head > div:first-child {
  flex: 1;
  min-width: 0;
}
#cost-price .cp-about__head .ttl-l {
  text-align: left;
}
.cp-about__head .catch-l {
  font-size: 2.8rem;
  padding: 30px 0 0;
  text-wrap: balance;
  word-break: auto-phrase;
}
.cp-about__head .txt {
  flex-shrink: 0;
  padding: 80px 0 0;
  width: 560px;
}
.cp-about__head .txt .basic-txt + .basic-txt {
  margin: 15px 0 0;
}
.cp-about__block {
  margin: 90px 0 0;
}

/* 施工箇所 */
.cp-place__list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, 1fr);
  margin: 70px 0 0;
}
.cp-place__list > li {
  background: var(--accent-bg);
  border-radius: var(--cp-radius);
  padding: 52px 20px 26px;
  position: relative;
}
.cp-place__list .icon {
  align-items: center;
  background: #fff;
  border: 2px solid var(--accent-pale);
  border-radius: 50%;
  color: var(--accent);
  display: flex;
  font-size: 2.8rem;
  height: 72px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: -32px;
  transform: translateX(-50%);
  width: 72px;
}
.cp-place__list .plan-icon {
  height: 32px;
  width: 38px;
}
.cp-place__list .ttl {
  color: var(--accent-dark);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}
.cp-place__list .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 1.85;
  margin: 12px 0 0;
}

/* 工法 */
.cp-method__list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  margin: 40px 0 0;
}
.cp-method__list > li {
  align-items: flex-start;
  background: var(--beige);
  border-radius: var(--cp-radius);
  display: flex;
  gap: 24px;
  padding: 32px 36px;
}
/* リフォームページの CHARM と同じ丸い番号バッジ */
.cp-badge {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font: 600 1.1rem / 1 var(--en);
  height: 68px;
  justify-content: center;
  letter-spacing: 0.05em;
  position: relative;
  width: 68px;
}
.cp-badge span {
  font-size: 2.4rem;
  margin: 3px 0 0;
}
.cp-badge::before {
  border-bottom: 8px solid transparent;
  border-left: 16px solid var(--accent);
  border-top: 8px solid transparent;
  bottom: 2px;
  content: "";
  position: absolute;
  right: 0;
  transform: rotate(45deg);
}
.cp-method__list .body {
  flex: 1;
}
.cp-method__list .ttl {
  border-bottom: 2px dotted #d8cfc4;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.6;
  padding: 0 0 10px;
}
.cp-method__list .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin: 12px 0 0;
}

@media screen and (max-width: 1024px) {
  .cp-place__list {
    gap: 50px 16px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .cp-about {
    padding: 60px 0;
  }
  .cp-about__head {
    display: block;
  }
  .cp-about__head .catch-l {
    font-size: 2rem;
    padding: 20px 0 0;
  }
  .cp-about__head .txt {
    padding: 20px 0 0;
    width: 100%;
  }
  .cp-about__block {
    margin: 50px 0 0;
  }
  .cp-place__list {
    gap: 44px 12px;
    grid-template-columns: repeat(2, 1fr);
    margin: 55px 0 0;
  }
  .cp-place__list > li {
    padding: 42px 15px 20px;
  }
  .cp-place__list > li:last-child {
    grid-column: 1 / -1;
  }
  .cp-place__list .icon {
    height: 60px;
    top: -28px;
    width: 60px;
  }
  .cp-place__list .ttl {
    font-size: 1.7rem;
  }
  .cp-method__list {
    gap: 16px;
    grid-template-columns: 1fr;
    margin: 30px 0 0;
  }
  .cp-method__list > li {
    gap: 15px;
    padding: 20px;
  }
  .cp-badge {
    font-size: 1rem;
    height: 56px;
    width: 56px;
  }
  .cp-badge span {
    font-size: 2rem;
  }
  .cp-method__list .ttl {
    font-size: 1.7rem;
    letter-spacing: 0.05em;
  }
}

/* -----------------------------------------------------------
    sub-quick 費用相場表
-------------------------------------------------------------- */
.sub-quick {
  background: var(--beige);
  padding: 120px 0 120px;
}
.sub-lead {
  color: #555;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin: 30px auto 0;
  max-width: 800px;
  text-align: center;
}
.cp-quick-table {
  background: #fff;
  border-collapse: collapse;
  margin: 50px 0 0;
  width: 100%;
}
.cp-quick-table th,
.cp-quick-table td {
  border: 1px solid var(--sub-line);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
  padding: 16px;
  text-align: center;
  vertical-align: middle;
}
.cp-quick-table thead th {
  background: var(--sub-dark);
  border-color: var(--sub-dark);
  color: #fff;
  font-weight: bold;
  padding: 20px 10px;
}
.cp-quick-table thead th + th {
  border-left-color: rgba(255, 255, 255, 0.25);
}
.cp-quick-table thead th:nth-child(1) {
  width: 15%;
}
.cp-quick-table thead th:nth-child(2) {
  width: 22%;
}
.cp-quick-table thead th:nth-child(4) {
  width: 16%;
}
.cp-quick-table thead th.plan {
  background: var(--sub-orange-dark);
  border-color: var(--sub-orange-dark);
  position: relative;
  width: 22%;
}
.cp-quick-table thead th.plan::after {
  border: 8px solid transparent;
  border-top-color: var(--sub-orange-dark);
  bottom: -16px;
  content: "";
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
.cp-quick-table tbody .place {
  background: var(--accent-bg);
  border-left: 6px solid var(--accent);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.cp-quick-table .place .plan-icon {
  display: block;
  height: 30px;
  margin: 0 auto 6px;
  width: 36px;
}
.cp-quick-table .method {
  font-weight: bold;
  text-align: left;
}
.cp-quick-table .price {
  font-weight: bold;
  white-space: nowrap;
}
.cp-quick-table .price .num {
  background: linear-gradient(transparent 72%, var(--accent-pale) 72%);
  color: var(--accent-dark);
  font-size: 2.8rem;
  line-height: 1;
  margin: 0 2px;
  padding: 0 2px;
}
.cp-quick-table .price .note {
  color: var(--gray);
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
}
.cp-quick-table td.plan {
  background: var(--sub-orange-pale);
  font-weight: bold;
}
.cp-quick-table td.plan a {
  color: var(--sub-dark);
  display: inline-block;
  padding: 0 22px 0 0;
  position: relative;
  transition: color 0.3s;
}
.cp-quick-table td.plan a::after {
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  content: "\f105";
  font: 900 1rem / 18px var(--webicon);
  height: 18px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0.35em;
  width: 18px;
}
.cp-quick-table td.plan a:hover {
  color: var(--accent-dark);
}
.cp-quick-table td.none {
  color: #bbb;
}

@media screen and (max-width: 768px) {
  .sub-quick {
    padding: 60px 0;
  }
  .sub-lead {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin: 20px 0 0;
    text-align: left;
  }
  .cp-quick-table {
    margin: 30px 0 0;
    min-width: 820px;
  }
  .cp-quick-table th,
  .cp-quick-table td {
    font-size: 1.3rem;
    padding: 12px 10px;
  }
  .cp-quick-table tbody .place {
    font-size: 1.5rem;
  }
  .cp-quick-table .price .num {
    font-size: 2.2rem;
  }
}

/* -----------------------------------------------------------
    cp-cost 施工箇所ごとの費用（帯の見出しは補助金ページと同じつくり）
-------------------------------------------------------------- */
.sub-subsidy__head {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08) 0 50px,
      transparent 50px 100px
    ),
    var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 210px;
  position: relative;
}
.sub-subsidy__head::before {
  background: radial-gradient(
    circle at 85% 0%,
    rgba(255, 255, 255, 0.22),
    transparent 55%
  );
  content: "";
  inset: 0;
  position: absolute;
}
/* 帯の右上の飾り文字（プラン名）は HTML の data-label から出す */
.sub-subsidy__head::after {
  color: transparent;
  content: attr(data-label);
  font:
    700 18rem / 1 "Lato",
    sans-serif;
  pointer-events: none;
  position: absolute;
  right: 3%;
  top: 0;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.16);
}
.sub-subsidy__head .sub-inner {
  position: relative;
  z-index: 1;
}
.sub-subsidy__head-inner {
  align-items: center;
  display: flex;
  gap: 80px;
  justify-content: space-between;
}
.sub-subsidy__head .jp {
  max-width: 600px;
}
.sub-subsidy__head .txt {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 2.1;
  padding: 0 0 0 32px;
  width: 436px;
}
/* 共通CSSの「.ttl-l .jp span」(改行・小さい文字)がアイコンに効かないよう戻す */
.cp-cost .sub-subsidy__head .ttl-l .plan-icon {
  background: #fff;
  display: inline-block;
  height: 30px;
  margin: 0 10px 0 0;
  vertical-align: middle;
  width: 36px;
}
.sub-subsidy__body {
  padding: 100px 0 120px;
}
.cp-cost.is-beige {
  background: var(--beige);
}

@media screen and (max-width: 768px) {
  .sub-subsidy__head {
    padding: 50px 0 110px;
  }
  .sub-subsidy__head::after {
    font-size: 7rem;
    right: 0;
  }
  .sub-subsidy__head-inner {
    display: block;
  }
  .sub-subsidy__head .txt {
    border-left: none;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    line-height: 1.9;
    margin: 20px 0 0;
    padding: 0;
    width: 100%;
  }
  .sub-subsidy__body {
    padding: 60px 0 70px;
  }
}

/* こんな方におすすめ（帯に重ねる白い箱） */
.cp-recommend {
  align-items: center;
  background: #fff;
  border-radius: var(--cp-radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--sub-shadow);
  display: flex;
  gap: 40px;
  margin: -130px 0 0;
  padding: 36px 44px;
  position: relative;
}
.cp-recommend__ttl {
  color: var(--accent-dark);
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding: 0 40px 0 0;
  position: relative;
}
/* 右向きの三角で「この方へ」とリストにつなぐ */
.cp-recommend__ttl::after {
  border-bottom: 9px solid transparent;
  border-left: 12px solid var(--accent);
  border-top: 9px solid transparent;
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.cp-recommend ul {
  display: grid;
  flex: 1;
  gap: 10px 16px;
  grid-template-columns: repeat(2, 1fr);
}
.cp-recommend li {
  background: var(--accent-bg);
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.6;
  padding: 12px 16px 12px 46px;
  position: relative;
}
.cp-recommend li::before {
  color: var(--accent);
  content: "\f058";
  font: 900 1.8rem / 1 var(--webicon);
  left: 16px;
  position: absolute;
  top: 0.9em;
}

/* 費用の表 */
.cp-price__block {
  background: #fff;
  border-radius: 0 0 var(--cp-radius) var(--cp-radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--sub-shadow);
  padding: 36px 44px 40px;
}
.cp-price__block + .cp-price__block {
  margin: 28px 0 0;
}
.cp-price__ttl {
  align-items: center;
  display: flex;
  font-size: 2.1rem;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.cp-price__ttl::before {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-pale);
  content: "";
  flex-shrink: 0;
  height: 10px;
  width: 10px;
}
.cp-price-table {
  border-collapse: collapse;
  margin: 22px 0 0;
  table-layout: fixed;
  width: 100%;
}
.cp-price-table th,
.cp-price-table td {
  border: 1px solid var(--sub-line);
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.6;
  padding: 15px 10px;
  text-align: center;
  vertical-align: middle;
}
.cp-price-table thead th {
  background: var(--sub-dark);
  border-color: var(--sub-dark);
  color: #fff;
  font-size: 1.4rem;
}
.cp-price-table thead th + th {
  border-left-color: rgba(255, 255, 255, 0.25);
}
.cp-price-table thead th:first-child {
  width: 22%;
}
.cp-price-table thead th:last-child {
  width: 18%;
}
/* 「補助金を活用した場合」の列を目立たせる */
.cp-price-table thead th.sub {
  background: var(--sub-orange-dark);
  border-color: var(--sub-orange-dark);
}
.cp-price-table td.sub {
  background: var(--sub-orange-pale);
}
.cp-price-table td.sub .num {
  color: var(--sub-orange-dark);
}
.cp-price-table tbody th {
  background: var(--accent-bg);
}
.cp-price-table .num {
  font-size: 2.2rem;
  line-height: 1;
  margin: 0 2px;
}

/* ひまわり断熱のプラン */
.cp-plan {
  background: #fff;
  border: 2px solid var(--accent-pale);
  border-radius: var(--cp-radius);
  margin: 70px 0 0;
  overflow: hidden;
  padding: 0 0 44px;
}
.is-beige .cp-plan {
  border-color: transparent;
}
.cp-plan__main {
  display: flex;
}
.cp-plan__main .image {
  flex-shrink: 0;
  min-height: 260px;
  position: relative;
  width: 38%;
}
/* 縦長の写真でもカードの高さが伸びないよう、枠に合わせて切り抜く */
#cost-price .cp-plan__main .image img {
  inset: 0;
  position: absolute;
}
.cp-plan__main .body {
  align-self: center;
  flex: 1;
  padding: 40px 48px;
}
.cp-plan__main .ttl {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.cp-plan__main .ttl .s {
  align-items: center;
  color: var(--accent-dark);
  display: flex;
  font-size: 1.5rem;
  gap: 8px;
  letter-spacing: 0.1em;
  margin: 0 0 4px;
}
.cp-plan__main .ttl .plan-icon {
  height: 24px;
  width: 28px;
}
.cp-plan__main .basic-txt {
  color: #555;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin: 16px 0 0;
}
.cp-plan__points {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 44px 0;
}
.cp-plan__points li {
  align-items: center;
  background: var(--accent-bg);
  border-radius: 40px 12px 12px 40px;
  display: flex;
  gap: 14px;
  padding: 10px 18px 10px 10px;
}
.cp-plan__points .cp-badge {
  font-size: 1rem;
  height: 60px;
  width: 60px;
}
.cp-plan__points .cp-badge span {
  font-size: 2.1rem;
}
.cp-plan__points .txt {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

@media screen and (max-width: 1024px) {
  .cp-plan__points {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .cp-recommend {
    display: block;
    margin: -80px 0 0;
    padding: 24px 20px;
  }
  .cp-recommend__ttl {
    font-size: 1.8rem;
    padding: 0 0 22px;
    text-align: center;
  }
  .cp-recommend__ttl::after {
    border-bottom: none;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 11px solid var(--accent);
    bottom: 4px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }
  .cp-recommend ul {
    gap: 8px;
    grid-template-columns: 1fr;
  }
  .cp-recommend li {
    font-size: 1.4rem;
    padding: 10px 12px 10px 40px;
  }
  .cp-recommend li::before {
    left: 12px;
  }
  .cp-price__block {
    padding: 24px 20px;
  }
  .cp-price__block + .cp-price__block {
    margin: 20px 0 0;
  }
  .cp-price__ttl {
    font-size: 1.7rem;
    letter-spacing: 0.05em;
  }
  .cp-price-table {
    margin: 18px 0 0;
    min-width: 600px;
  }
  .cp-price-table th,
  .cp-price-table td {
    font-size: 1.3rem;
    padding: 12px 8px;
  }
  .cp-price-table .num {
    font-size: 1.8rem;
  }
  .cp-note {
    margin: 16px 0 0;
  }
  .cp-plan {
    margin: 45px 0 0;
    padding: 0 0 28px;
  }
  .cp-plan__main {
    display: block;
  }
  .cp-plan__main .image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    width: 100%;
  }
  .cp-plan__main .body {
    padding: 22px 20px 0;
  }
  .cp-plan__main .ttl {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
  .cp-plan__main .basic-txt {
    font-size: 1.4rem;
  }
  .cp-plan__points {
    gap: 10px;
    margin: 22px 20px 0;
  }
  .cp-plan__points .cp-badge {
    height: 52px;
    width: 52px;
  }
  .cp-plan__points .txt {
    font-size: 1.4rem;
  }
  .cp-btn {
    margin: 24px 20px 0;
  }
  .cp-btn a {
    font-size: 1.5rem;
    min-height: 56px;
  }
}

/* -----------------------------------------------------------
    cp-budget 予算別おすすめの断熱リフォーム
-------------------------------------------------------------- */
/* 上端はクリーム色の円が上に膨らむ形（円の上半分＋その下を同じ色で塗る） */
.sub-support {
  background: linear-gradient(transparent 180px, var(--top-cream) 180px);
  overflow: hidden;
  padding: 150px 0 100px;
  position: relative;
}
.sub-support::before {
  background: var(--top-cream);
  border-radius: 50%;
  content: "";
  height: 360px;
  left: -5%;
  position: absolute;
  top: 0;
  width: 110%;
}
.sub-support .sub-inner {
  position: relative;
  z-index: 1;
}
.cp-budget__list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin: 80px 0 0;
}
.cp-budget__list > li {
  background: #fff;
  border-radius: var(--cp-radius);
  display: flex;
  flex-direction: column;
  padding: 56px 32px 32px;
  position: relative;
}
.cp-budget__list .cp-badge {
  height: 76px;
  left: 50%;
  position: absolute;
  top: -38px;
  transform: translateX(-50%);
  width: 76px;
}
.cp-budget__list .catch {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
}
.cp-budget__list .price {
  border-bottom: 2px dotted #d8cfc4;
  font-size: 2rem;
  font-weight: bold;
  margin: 6px 0 0;
  padding: 0 0 18px;
  text-align: center;
}
.cp-budget__list .price .num {
  -webkit-background-clip: text;
  background-clip: text;
  background-image: var(--top-grade);
  color: transparent;
  font-size: 5rem;
  line-height: 1.2;
  margin: 0 4px 0 0;
}
.cp-budget__list > li > .basic-txt {
  color: #555;
  flex: 1;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin: 20px 0 0;
}
.cp-budget__reco {
  background: var(--sub-orange-pale);
  border-radius: 12px;
  margin: 24px 0 0;
  padding: 0 22px 22px;
}
.cp-budget__reco .head {
  background: var(--sub-orange);
  border-radius: 20px;
  color: #fff;
  display: table;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0 auto;
  padding: 5px 20px;
  position: relative;
  top: -14px;
}
.cp-budget__reco dt {
  align-items: center;
  display: flex;
  font-size: 1.7rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.cp-budget__reco dt .n {
  align-items: center;
  background: var(--sub-orange);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font: 600 1.4rem / 1 var(--en);
  height: 26px;
  justify-content: center;
  width: 26px;
}
.cp-budget__reco dd {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 1.85;
  margin: 6px 0 0;
}
.cp-budget__reco dd + dt {
  border-top: 1px dashed #e3cdb8;
  margin: 14px 0 0;
  padding: 14px 0 0;
}

@media screen and (max-width: 1024px) {
  .cp-budget__list {
    gap: 60px;
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .sub-support {
    background: linear-gradient(transparent 50px, var(--top-cream) 50px);
    padding: 60px 0 60px;
  }
  .sub-support::before {
    height: 100px;
  }
  .cp-budget__list {
    gap: 50px;
    margin: 60px 0 0;
  }
  .cp-budget__list > li {
    padding: 46px 20px 22px;
  }
  .cp-budget__list .cp-badge {
    height: 64px;
    top: -32px;
    width: 64px;
  }
  .cp-budget__list .catch {
    font-size: 1.7rem;
  }
  .cp-budget__list .price .num {
    font-size: 4rem;
  }
  .cp-budget__reco {
    padding: 0 16px 18px;
  }
}

/* -----------------------------------------------------------
    cp-save 断熱リフォーム費用を抑える方法
-------------------------------------------------------------- */
.cp-save {
  padding: 120px 0 140px;
}
.sub-support__list {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  margin: 60px 0 0;
}
.sub-support__list > li {
  background: var(--beige);
  border-radius: 16px;
  display: flex;
  gap: 24px;
  padding: 36px 36px 40px;
}
.sub-support__list .side {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
  width: 88px;
}
.sub-support__list .illust {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--sub-orange);
  display: flex;
  flex-direction: column;
  font: 600 1.1rem / 1 var(--en);
  height: 88px;
  justify-content: center;
  letter-spacing: 0.08em;
  overflow: hidden;
  width: 88px;
}
.sub-support__list .illust .num {
  font-size: 3.2rem;
  margin: 3px 0 0;
}
.sub-support__list .body {
  flex: 1;
  padding: 0 0 0 10px;
}
.sub-support__list .ttl {
  border-bottom: 2px dotted var(--sub-line);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.6;
  padding: 0 0 12px;
}
.sub-support__list .catch {
  color: var(--sub-orange-dark);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin: 14px 0 0;
}
.sub-support__list .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin: 8px 0 0;
}

/* コラム：実は5年で元が取れる？ */
.cp-column {
  background: var(--sub-orange-pale);
  border: 2px solid var(--sub-orange);
  border-radius: var(--cp-radius);
  margin: 90px 0 0;
  padding: 60px 64px 56px;
  position: relative;
}
.cp-column__label {
  background: var(--sub-orange);
  border-radius: 20px;
  color: #fff;
  font: 600 1.4rem / 1 var(--en);
  left: 50%;
  letter-spacing: 0.15em;
  padding: 9px 26px;
  position: absolute;
  top: -17px;
  transform: translateX(-50%);
}
.cp-column__ttl {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
}
.cp-column__ttl .s {
  color: var(--sub-orange-dark);
  display: block;
  font-size: 2rem;
}
.cp-column__ttl .s .num {
  font-size: 3.6rem;
  line-height: 1;
  margin: 0 3px;
}
.cp-column__body {
  margin: 30px auto 0;
  max-width: 860px;
}
.cp-column__body .basic-txt {
  color: #555;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.cp-column__body .basic-txt + .basic-txt {
  margin: 18px 0 0;
}
.cp-column__body .yellow-line {
  color: var(--sub-dark);
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .cp-save {
    padding: 60px 0 70px;
  }
  .sub-support__list {
    gap: 20px;
    grid-template-columns: 1fr;
    margin: 30px 0 0;
  }
  .sub-support__list > li {
    border-radius: 12px;
    gap: 15px;
    padding: 20px;
  }
  .sub-support__list .side {
    gap: 8px;
    width: 64px;
  }
  .sub-support__list .illust {
    font-size: 0.9rem;
    height: 64px;
    width: 64px;
  }
  .sub-support__list .illust .num {
    font-size: 2.4rem;
  }
  .sub-support__list .body {
    padding: 0;
  }
  .sub-support__list .ttl {
    font-size: 1.7rem;
    letter-spacing: 0.05em;
  }
  .sub-support__list .catch {
    font-size: 1.4rem;
    margin: 10px 0 0;
  }
  .cp-column {
    margin: 60px 0 0;
    padding: 40px 20px 28px;
  }
  .cp-column__ttl {
    font-size: 1.9rem;
    letter-spacing: 0.05em;
  }
  .cp-column__ttl .s {
    font-size: 1.6rem;
  }
  .cp-column__ttl .s .num {
    font-size: 2.8rem;
  }
  .cp-column__body {
    margin: 20px 0 0;
  }
  .cp-column__body .basic-txt {
    font-size: 1.4rem;
  }
}

/* -----------------------------------------------------------
    スクロールアニメーション
-------------------------------------------------------------- */
/* スクロールで下からスッと出てそのまま止まる（トップ・各リフォームページと同じ動き） */
#cost-price .cmn-fadeup {
  transform: translateY(24px);
  transition:
    opacity 0.6s ease var(--sub-delay, 0s),
    transform 0.6s var(--sub-ease) var(--sub-delay, 0s);
}
#cost-price .cmn-fadeup.cmn-effect-fadeup {
  transform: translateY(0);
}
/* 横に並ぶカードは左から順番に */
#cost-price
  :is(.cp-place__list, .cp-method__list, .cp-budget__list, .sub-support__list)
  > li:nth-child(2) {
  --sub-delay: 0.1s;
}
#cost-price
  :is(.cp-place__list, .cp-method__list, .cp-budget__list, .sub-support__list)
  > li:nth-child(3) {
  --sub-delay: 0.2s;
}
#cost-price
  :is(.cp-place__list, .cp-method__list, .sub-support__list)
  > li:nth-child(4) {
  --sub-delay: 0.3s;
}
#cost-price .cp-place__list > li:nth-child(5) {
  --sub-delay: 0.4s;
}
/* カードが出たあとに、中のアイコンを少し拡大しながら遅れて出す */
#cost-price li.cmn-fadeup .icon {
  opacity: 0;
  scale: 0.85;
  transition:
    opacity 0.5s ease calc(var(--sub-delay, 0s) + 0.3s),
    scale 0.5s var(--sub-ease) calc(var(--sub-delay, 0s) + 0.3s);
}
#cost-price li.cmn-effect-fadeup .icon {
  opacity: 1;
  scale: 1;
}

@media screen and (max-width: 768px) {
  #cost-price
    :is(.cp-place__list, .cp-method__list, .cp-budget__list, .sub-support__list)
    > li:nth-child(n) {
    --sub-delay: 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cost-price .subpage-header__inner > *,
  #cost-price .subpage-header-image,
  #cost-price .subpage-header-image img {
    animation: none;
  }
  #cost-price .cmn-fadeup,
  #cost-price li.cmn-fadeup .icon {
    opacity: 1;
    scale: none;
    transform: none;
    transition: none;
  }
}
