@charset "utf-8";

/* -----------------------------------------------------------
    断熱リフォーム補助金ガイド
-------------------------------------------------------------- */
#header-service01 .service-nav .nav-list {
  width: 1120px;
}
#subsidy {
  --sub-orange: #e97629;
  --sub-orange-dark: #d4581a;
  --sub-orange-light: #f2a069;
  --sub-orange-pale: #fff7ef;
  --sub-navy: #3b6589;
  --sub-navy-pale: #f0f4f8;
  --sub-navy-pale2: #e8eef5;
  --sub-dark: #3d3432;
  --sub-line: #e6ddd3;
  --sub-stripe: repeating-linear-gradient(
    -45deg,
    #efe5dc 0 20px,
    #f6f0ea 20px 40px
  );
  --accent: var(--sub-orange);
  --accent-dark: var(--sub-orange-dark);
  color: var(--sub-dark);
}
#subsidy .is-mado,
#subsidy.is-mado {
  --accent: var(--sub-navy);
  --accent-dark: var(--sub-navy);
}
#subsidy img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
#subsidy .bold {
  font-weight: bold;
}

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

/* 共通見出し（サイト共通の .ttl-l を使用。このページ用の調整のみ） */
#subsidy .ttl-l {
  text-align: center;
}
/* 窓リノベのセクションでは英字もネイビーになるよう、制度ごとの色に合わせる */
#subsidy .ttl-l .en {
  color: var(--accent);
}
/* 共通CSSの「.ttl-l .jp span」(小さい文字・改行)が強調用の.markerに効かないよう戻す */
#subsidy .ttl-l .jp .marker {
  display: inline;
  font-size: inherit;
}
/* 色付きの帯・横並びの中にある見出しは左揃え */
#subsidy .sub-subsidy__head .ttl-l,
#subsidy .flow-area .ttl-l,
#subsidy .faq-area .ttl-l {
  text-align: left;
}
#subsidy .sub-subsidy__head .ttl-l .en,
#subsidy .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-dot-list li {
  line-height: 1.6;
  padding: 0 0 0 18px;
  position: relative;
}
.sub-dot-list li::before {
  background: var(--sub-orange);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.8em;
  transform: translateY(-50%);
  width: 6px;
}
.sub-dot-list li + li {
  margin: 8px 0 0;
}
.sub-dot-list a {
  color: inherit;
  transition: color 0.3s;
}
.sub-dot-list a:hover {
  color: var(--sub-orange);
}
.sub-dot-list.box {
  background: var(--beige);
  display: grid;
  gap: 8px 20px;
  grid-template-columns: repeat(2, 1fr);
  margin: 15px 0;
  padding: 15px 20px;
}
.sub-dot-list.box li {
  font-size: 1.4rem;
  margin: 0;
}

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

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

@media screen and (max-width: 768px) {
  #header-service01 .service-nav .nav-list {
    width: 100%;
  }
  .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;
  }
}

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

/* 補助額カード */
.sub-mv__amount {
  display: flex;
  gap: 16px;
  margin: 40px 0 0;
  max-width: 560px;
}
.sub-mv__amount li {
  background: #fff;
  border-top: 4px solid var(--accent);
  flex: 1;
  padding: 20px 10px 18px;
  text-align: center;
}
.sub-mv__amount li.is-mirai {
  --accent: var(--sub-orange);
}
.sub-mv__amount .name {
  font-size: 1.3rem;
  font-weight: bold;
}
.sub-mv__amount .price {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 8px 0 0;
}
.sub-mv__amount .num {
  color: var(--accent);
  font-size: 4rem;
  line-height: 1;
  margin: 0 3px;
}

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

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

/* ページタイトルのアニメーション（リフォームページと同じ動き）
   読み込み時に文字を下から順番に、写真を右からワイプ、補助額カードを1枚ずつ表示 */
#subsidy .subpage-header__inner > .section-ttl,
#subsidy .subpage-header__inner > .catch-l,
#subsidy .subpage-header__inner > .basic-txt {
  animation: sub-mv-fadeup 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}
#subsidy .subpage-header__inner > .catch-l {
  animation-delay: 0.15s;
}
#subsidy .subpage-header__inner > .basic-txt {
  animation-delay: 0.3s;
}
#subsidy .subpage-header-image {
  animation: sub-mv-wipe 1.2s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}
#subsidy .subpage-header-image img {
  animation: sub-mv-zoom 2.4s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}
.sub-mv__amount li {
  animation: sub-mv-pop 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.6s backwards;
}
.sub-mv__amount li:nth-child(2) {
  animation-delay: 0.72s;
}
@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);
  }
}
@keyframes sub-mv-pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* -----------------------------------------------------------
    sub-quick 補助金早見表
-------------------------------------------------------------- */
.sub-quick {
  padding: 120px 0 120px;
}
.sub-lead {
  color: #555;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin: 30px auto 0;
  max-width: 850px;
  text-align: center;
}
.sub-quick-table {
  border-collapse: collapse;
  margin: 50px 0 0;
  width: 100%;
}
.sub-quick-table th,
.sub-quick-table td {
  border: 1px solid var(--sub-line);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  padding: 20px 16px;
  text-align: left;
  vertical-align: middle;
}
.sub-quick-table thead th {
  background: var(--sub-dark);
  border-color: var(--sub-dark);
  color: #fff;
  font-weight: bold;
  padding: 20px 10px;
  text-align: center;
}
.sub-quick-table thead th.plan {
  background: var(--sub-orange-dark);
  border-color: var(--sub-orange-dark);
}
.sub-quick-table thead .blank {
  border: none;
  width: 16.5%;
}
.sub-quick-table thead th:nth-child(2) {
  width: 15.5%;
}
.sub-quick-table thead th:nth-child(3) {
  width: 17.5%;
}
.sub-quick-table thead th:nth-child(4),
.sub-quick-table thead th:nth-child(5) {
  width: 13.8%;
}
.sub-quick-table tbody .name {
  background: var(--beige);
  border-left: 6px solid var(--accent);
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.8;
  padding: 20px;
}
.sub-quick-table .price {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}
.sub-quick-table .price .num {
  color: var(--accent);
  font-size: 3.4rem;
  line-height: 1;
}
.sub-quick-table .note {
  color: var(--gray);
  display: block;
  font-size: 1.2rem;
}
.sub-quick-table td.plan {
  background: var(--sub-orange-pale);
}
.sub-quick-table td.plan .note {
  margin: 12px 0 0;
}

@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;
  }
  .sub-quick-table {
    margin: 30px 0 0;
    min-width: 900px;
  }
  .sub-quick-table tbody .name {
    font-size: 1.5rem;
    padding: 15px;
    white-space: nowrap;
  }
}

/* -----------------------------------------------------------
    sub-subsidy 各補助金セクション
-------------------------------------------------------------- */
.sub-subsidy__head {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08) 0 50px,
      transparent 50px 100px
    ),
    var(--accent);
  color: #fff;
  padding: 100px 0 210px;
}
.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 {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 2.1;
  width: 436px;
}

/* 概要ボックス */
.sub-summary {
  background: #fff;
  box-shadow: 0 10px 30px rgba(61, 52, 50, 0.08);
  display: flex;
  margin: -130px 0 0;
  padding: 40px 0;
  position: relative;
}
.sub-summary dl {
  padding: 0 56px;
}
.sub-summary dl:nth-child(1) {
  width: 34%;
}
.sub-summary dl:nth-child(2) {
  padding: 0 32px;
  width: 30%;
}
.sub-summary dl:nth-child(3) {
  flex: 1;
  padding: 0 40px 0 32px;
}
.sub-summary dl + dl {
  border-left: 1px solid var(--sub-line);
}
.sub-summary dt {
  color: var(--accent-dark);
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.sub-summary dd {
  margin: 15px 0 0;
}
.sub-summary .price {
  font-size: 1.6rem;
  font-weight: bold;
}
.sub-summary .price .num {
  color: var(--accent-dark);
  font-size: 4.6rem;
  line-height: 1;
}
.sub-summary .date {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.sub-summary .note {
  color: var(--gray);
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
  line-height: 1.6;
  margin: 12px 0 0;
}
.sub-summary .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.sub-subsidy__body {
  padding: 100px 0 120px;
}
.sub-subsidy.is-mirai {
  background: var(--beige);
}

@media screen and (max-width: 768px) {
  .sub-subsidy__head {
    padding: 50px 0 110px;
  }
  .sub-subsidy__head-inner {
    display: block;
  }
  .sub-subsidy__head .txt {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    line-height: 1.9;
    margin: 20px 0 0;
    width: 100%;
  }
  .sub-summary {
    display: block;
    margin: -80px 0 0;
    padding: 10px 20px;
  }
  .sub-summary dl,
  .sub-summary dl:nth-child(n) {
    padding: 20px 0;
    width: 100%;
  }
  .sub-summary dl + dl {
    border-left: none;
    border-top: 1px solid var(--sub-line);
  }
  .sub-summary dd {
    margin: 10px 0 0;
  }
  .sub-summary .price .num {
    font-size: 4rem;
  }
  .sub-summary .date {
    font-size: 1.6rem;
  }
  .sub-subsidy__body {
    padding: 60px 0 70px;
  }
}

/* -----------------------------------------------------------
    sub-target 対象となるリフォーム
-------------------------------------------------------------- */
.sub-target__head {
  align-items: flex-end;
  display: flex;
  gap: 60px;
  justify-content: space-between;
}
.sub-target__head .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}
.sub-target__head > .basic-txt,
.sub-target__head > div {
  width: 640px;
}
.sub-target__head .bold {
  color: var(--sub-dark);
  margin: 10px 0 0;
}
.sub-target__list {
  display: grid;
  gap: 24px;
  margin: 40px 0 0;
}
.sub-target__list.col3 {
  grid-template-columns: repeat(3, 1fr);
}
.sub-target__list.col4 {
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.sub-target__list > li {
  background: #fff;
}
.sub-target__list .image {
  aspect-ratio: 357 / 180;
  background: var(--sub-stripe);
}
.sub-target__list.col4 .image {
  aspect-ratio: 265 / 152;
}
.sub-target__list .body {
  padding: 28px 28px 30px;
}
.sub-target__list.col4 .body {
  padding: 24px 24px 24px;
}
.sub-target__list .ttl {
  align-items: center;
  display: flex;
  font-size: 1.9rem;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0.03em;
}
.sub-target__list .ttl .num {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 1.6rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.sub-target__list.col4 .ttl .num {
  font-size: 1.5rem;
  height: 36px;
  width: 36px;
}
.sub-target__list .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1.85;
  margin: 18px 0 0;
}
.sub-target__list .sub-dot-list.box + .basic-txt {
  font-size: 1.3rem;
  margin: 0;
}
.sub-target__list .caution {
  border: 1px solid var(--sub-orange-dark);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1.9;
  margin: 15px 0 0;
  padding: 10px 12px;
}
.sub-target__list .caution span {
  color: var(--sub-orange-dark);
  font-weight: bold;
  margin: 0 12px 0 0;
}
.is-mado .sub-target__list > li {
  background: var(--sub-navy-pale);
}

@media screen and (max-width: 768px) {
  .sub-target__head {
    display: block;
  }
  .sub-target__head > .basic-txt,
  .sub-target__head > div {
    margin: 15px 0 0;
    width: 100%;
  }
  .sub-target__list.col3,
  .sub-target__list.col4 {
    gap: 20px;
    grid-template-columns: 1fr;
    margin: 30px 0 0;
  }
  .sub-target__list .body,
  .sub-target__list.col4 .body {
    padding: 20px;
  }
  .sub-target__list .ttl {
    font-size: 1.7rem;
  }
}

/* -----------------------------------------------------------
    sub-condition 最大100万円になる条件とは？
-------------------------------------------------------------- */
.sub-condition {
  background: #fff;
  margin: 100px 0 0;
  padding: 60px 64px;
}
.is-mado .sub-condition {
  background: var(--beige);
}
.sub-condition__head {
  align-items: center;
  display: flex;
  gap: 60px;
  justify-content: space-between;
}
.sub-condition__head .ttl {
  flex-shrink: 0;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.75;
}
.sub-condition__head .ttl .num {
  color: var(--accent);
  font-size: 4rem;
  line-height: 1;
  margin: 0 4px;
}
.sub-condition__head > div {
  width: 616px;
}
.sub-condition__head .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}
.sub-condition__head .bold {
  color: var(--sub-dark);
  margin: 12px 0 0;
}
.sub-condition-table {
  border-collapse: collapse;
  margin: 40px 0 0;
  width: 100%;
}
.sub-condition-table th,
.sub-condition-table td {
  border: 1px solid var(--sub-line);
  font-size: 1.4rem;
  font-weight: bold;
  padding: 25px 10px;
  text-align: center;
  vertical-align: middle;
}
.sub-condition-table thead th {
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 22px 10px;
}
.sub-condition-table thead .head {
  background: var(--sub-dark);
  width: 36%;
}
.sub-condition-table thead .main {
  background: var(--sub-orange-dark);
}
.sub-condition-table thead .light {
  background: var(--sub-orange-light);
  color: var(--sub-dark);
  width: 25%;
}
.sub-condition-table tbody th {
  background: var(--beige);
}
.sub-condition-table .num {
  font-size: 3rem;
  line-height: 1;
  margin: 0 5px;
}
.sub-condition-table .num.is-accent {
  color: var(--sub-orange-dark);
}
.sub-condition .note {
  color: var(--gray);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin: 30px 0 0;
}

/* 補助額の決まり方 */
.sub-formula {
  background: #fff;
  margin: 35px 0 0;
  padding: 45px 48px 45px;
}
.sub-formula__ttl {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: center;
}
.sub-formula__lead {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 25px 0 0;
  text-align: center;
}
.sub-formula__calc {
  align-items: center;
  display: flex;
  gap: 20px;
  margin: 20px 0 30px;
}
.sub-formula__calc .item {
  align-items: center;
  background: var(--sub-navy-pale2);
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 1.5rem;
  font-weight: bold;
  justify-content: center;
  line-height: 1.6;
  min-height: 70px;
  padding: 10px;
  text-align: center;
}
.sub-formula__calc .item.is-total {
  background: var(--sub-navy);
  color: #fff;
  min-height: 76px;
}
.sub-formula__calc .item.is-total span {
  font-size: 1.3rem;
}
.sub-formula__calc .op {
  color: var(--sub-navy);
  flex-shrink: 0;
  font-size: 2.6rem;
  font-weight: 900;
}
.sub-formula .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}
.sub-formula .marker-line {
  background: linear-gradient(transparent 60%, #fbdcc3 60%);
  color: var(--sub-dark);
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .sub-condition {
    margin: 60px 0 0;
    padding: 30px 20px;
  }
  .sub-condition__head {
    display: block;
  }
  .sub-condition__head .ttl {
    font-size: 2.2rem;
    letter-spacing: 0.06em;
  }
  .sub-condition__head .ttl .num {
    font-size: 3.2rem;
  }
  .sub-condition__head > div {
    margin: 15px 0 0;
    width: 100%;
  }
  .sub-condition-table {
    margin: 25px 0 0;
    min-width: 600px;
  }
  .sub-condition-table th,
  .sub-condition-table td {
    font-size: 1.3rem;
    padding: 15px 8px;
  }
  .sub-condition-table thead th {
    font-size: 1.3rem;
  }
  .sub-condition-table .num {
    font-size: 2.4rem;
  }
  .sub-condition .note {
    margin: 15px 0 0;
  }
  .sub-formula {
    margin: 25px 0 0;
    padding: 25px 15px;
  }
  .sub-formula__ttl {
    font-size: 1.8rem;
  }
  .sub-formula__lead {
    margin: 15px 0 0;
    text-align: left;
  }
  .sub-formula__calc {
    flex-direction: column;
    gap: 8px;
  }
  .sub-formula__calc .item {
    min-height: 56px;
    width: 100%;
  }
  .sub-formula__calc .op {
    font-size: 2rem;
    line-height: 1;
  }
}

/* -----------------------------------------------------------
    sub-checker 内窓補助金チェッカー
-------------------------------------------------------------- */
.sub-checker {
  margin: 100px 0 0;
}
.sub-checker .ttl-l {
  text-align: left !important;
}
.sub-checker iframe {
  margin: 30px 0 0 !important;
}

@media screen and (max-width: 768px) {
  .sub-checker {
    margin: 50px 0 0;
  }
  .sub-checker iframe {
    margin: 10px 0 0 !important;
    height: 500px !important;
  }
}
/* -----------------------------------------------------------
    sub-case 利用事例
-------------------------------------------------------------- */
.sub-case {
  margin: 100px auto;
  max-width: 1400px;
  padding: 0 20px;
  width: 100%;
}
.sub-case__list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 0;
}
.sub-case__list > li {
  background: #fff;
}
.is-mado .sub-case__list > li {
  background: var(--beige);
}
.sub-case__list .image {
  aspect-ratio: 357 / 200;
  background: var(--sub-stripe);
  position: relative;
}
.sub-case__list .image .label {
  background: var(--accent);
  color: #fff;
  font: 600 1.5rem / 1 var(--en);
  left: 0;
  letter-spacing: 0.03em;
  padding: 10px 16px;
  position: absolute;
  top: 0;
  z-index: 1;
}
.sub-case__list .body {
  padding: 26px 26px 28px;
}
.sub-case__list .ttl {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.65;
}
.sub-case__list .work {
  border-bottom: 1px dashed #d8cfc4;
  color: #666;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 1.85;
  margin: 15px 0 0;
  padding: 0 0 15px;
}
.sub-case__list .work span {
  color: var(--sub-dark);
  font-weight: bold;
}
.sub-case__list .system {
  margin: 15px 0 0;
}
.sub-case__list .system__ttl {
  color: var(--sub-dark);
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.03em;
}
.sub-case__list .system__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}
.sub-case__list .system__list li {
  background: var(--accent-pale);
  border-radius: 2px;
  color: var(--accent-dark);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.5;
  padding: 4px 10px;
}
.is-mado .sub-case__list .system__list li {
  background: #fff;
}
.sub-case__list .cost {
  display: grid;
  font-size: 1.4rem;
  gap: 10px 0;
  grid-template-columns: 1fr auto;
  margin: 18px 0 0;
}
.sub-case__list .cost dd {
  font-weight: bold;
  text-align: right;
}
.sub-case__list .cost .minus {
  color: var(--accent-dark);
}
.sub-case__list .cost .breakdown {
  background: #f7f4f0;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.2rem;
  font-weight: normal;
  gap: 2px 14px;
  grid-column: 1 / -1;
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin: -2px 0 0;
  padding: 8px 12px;
  text-align: left;
}
.is-mado .sub-case__list .cost .breakdown {
  background: #fff;
}
.sub-case__list .cost .breakdown span::before {
  content: "・";
}
.sub-case__list .total {
  align-items: center;
  background: var(--sub-orange-pale);
  display: flex;
  justify-content: space-between;
  margin: 18px 0 0;
  padding: 12px 15px;
}
.is-mado .sub-case__list .total {
  background: #fff;
}
.sub-case__list .total .label {
  font-size: 1.4rem;
  font-weight: bold;
}
.sub-case__list .total .price {
  font-size: 1.4rem;
  font-weight: bold;
}
.sub-case__list .total .num {
  color: var(--accent-dark);
  font-size: 3.2rem;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .sub-case {
    margin: 60px auto;
  }
  .sub-case__list {
    gap: 20px;
    grid-template-columns: 1fr;
    margin: 30px 0 0;
  }
  .sub-case__list .body {
    padding: 20px;
  }
  .sub-case__list .ttl {
    font-size: 1.7rem;
    letter-spacing: 0.05em;
  }
}

/* -----------------------------------------------------------
    sub-plan 対象プラン
-------------------------------------------------------------- */
.sub-plan {
  margin: 100px 0 0;
}
.sub-plan__list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, 1fr);
  margin: 40px 0 0;
}
.sub-plan__list > li {
  background: #fff;
}
.sub-plan__list a {
  color: var(--sub-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sub-plan__list .image {
  aspect-ratio: 211 / 150;
  background: var(--sub-stripe);
  overflow: hidden;
}
.sub-plan__list .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 36px 16px 22px;
  position: relative;
  text-align: center;
}
.sub-plan__list .icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  display: flex;
  height: 56px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: -28px;
  transform: translateX(-50%);
  width: 56px;
}
.sub-plan__list .plan-icon {
  background: var(--sub-orange);
  height: 24px;
  width: 26px;
}
.sub-plan__list .catch {
  color: var(--sub-orange-dark);
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.sub-plan__list .ttl {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 10px 0 0;
}
.sub-plan__list .txt {
  color: #666;
  flex: 1;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  line-height: 1.75;
  margin: 8px 0 0;
}
.sub-plan__list .more {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin: 18px 0 0;
  transition: color 0.3s;
}
.sub-plan__list .more::after {
  background: var(--sub-orange);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 6px;
  margin: 0 0 0 10px;
  vertical-align: middle;
  width: 6px;
}
.sub-plan__list a:hover .more {
  color: var(--sub-orange);
}

@media screen and (max-width: 1024px) {
  .sub-plan__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .sub-plan {
    margin: 60px 0 0;
  }
  .sub-plan__list {
    gap: 15px 10px;
    grid-template-columns: repeat(2, 1fr);
    margin: 30px 0 0;
  }
  .sub-plan__list .body {
    padding: 32px 10px 18px;
  }
  .sub-plan__list .icon {
    height: 48px;
    top: -24px;
    width: 48px;
  }
  .sub-plan__list .ttl {
    font-size: 1.5rem;
  }
  .sub-plan__list .txt {
    font-size: 1.2rem;
  }
}

/* 対象プラン（横並びカード） */
.sub-plan__list.is-row {
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.sub-plan__list.is-row > li {
  box-shadow: 0 6px 20px rgba(61, 52, 50, 0.08);
}
.sub-plan__list.is-row a {
  flex-direction: row;
}
.sub-plan__list.is-row .image {
  aspect-ratio: auto;
  flex-shrink: 0;
  min-height: 150px;
  width: 38%;
}
.sub-plan__list.is-row .body {
  padding: 20px 18px 16px;
  text-align: left;
}
.sub-plan__list.is-row .ttl {
  margin: 6px 0 0;
}
.sub-plan__list.is-row .more {
  margin: 12px 0 0;
  text-align: right;
}

@media screen and (max-width: 1024px) {
  .sub-plan__list.is-row {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .sub-plan__list.is-row .image {
    min-height: 120px;
    width: 36%;
  }
  .sub-plan__list.is-row .body {
    padding: 15px;
  }
}

/* -----------------------------------------------------------
    sub-support 補助金申請サポート
-------------------------------------------------------------- */
/* 上端はクリーム色の円が上に膨らむ形（円の上半分＋その下を同じ色で塗る） */
.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;
}
/* 見出し・文章を左、写真を右に大きく置く */
.sub-support__head {
  align-items: center;
  display: flex;
  gap: 60px;
}
.sub-support__head .txt {
  flex: 1;
  min-width: 0;
}
#subsidy .sub-support__head .ttl-l {
  text-align: left;
}
.sub-support__head .image {
  aspect-ratio: 3 / 2;
  background: var(--sub-stripe);
  border-radius: 16px;
  flex-shrink: 0;
  overflow: hidden;
  width: 46%;
}
.sub-support__head .image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.sub-support__head .jp .marker {
  color: var(--sub-orange-dark);
}
.sub-support__head .basic-txt {
  color: #555;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin: 30px 0 0;
}
.sub-support__list {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  margin: 60px 0 0;
}
.sub-support__list > li {
  background: #fff;
  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: 120px;
}
.sub-support__list .illust {
  align-items: center;
  background: var(--sub-orange-pale);
  border-radius: 50%;
  color: var(--sub-orange);
  display: flex;
  font-size: 4.8rem;
  height: 120px;
  justify-content: center;
  overflow: hidden;
  width: 120px;
}
.sub-support__list .body {
  flex: 1;
  padding: 0 0 0 10px;
}
.sub-support__list .ttl {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.sub-support__list .basic-txt {
  color: #555;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin: 12px 0 0;
}

@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;
  }
  .sub-support__head {
    flex-direction: column;
    gap: 24px;
  }
  #subsidy .sub-support__head .ttl-l {
    text-align: center;
  }
  .sub-support__head .image {
    border-radius: 12px;
    width: 100%;
  }
  .sub-support__head .basic-txt {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin: 20px 0 0;
    text-align: left;
  }
  .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: 80px;
  }
  .sub-support__list .illust {
    font-size: 3.2rem;
    height: 80px;
    width: 80px;
  }
  .sub-support__list .body {
    padding: 0;
  }
  .sub-support__list .ttl {
    font-size: 1.7rem;
    letter-spacing: 0.05em;
  }
}

/* -----------------------------------------------------------
    flow-area 補助金申請サポートの流れ
    （リフォームページと同じデザイン。カードの見た目は後読み込みの flow.css）
-------------------------------------------------------------- */
#subsidy .flow-area {
  padding: 120px 0 140px;
}
#subsidy .flow-lead {
  color: #555;
  margin: 20px 0 0;
  max-width: 800px;
}
#subsidy .flow-list {
  margin: 50px 0 0;
}

@media screen and (max-width: 768px) {
  #subsidy .flow-area {
    padding: 60px 0 70px;
  }
  #subsidy .flow-list {
    margin: 30px 0 0;
  }
}

/* ---------- ページ内メニュー（6項目） ---------- */
@media screen and (min-width: 769px) {
  #header-service01 .service-nav.column6 .nav-list li {
    min-width: 0;
    width: calc((100% / 6) - 5px);
  }
}

/* -----------------------------------------------------------
    faq-area よくあるご質問
    （リフォームページと同じデザイン。cmn-faq.css（後読み込み）より優先させるため #subsidy を付与）
-------------------------------------------------------------- */
/* 直前の流れと背景色がほぼ同じで続いて見えるため、上の余白は流れ側の下余白に任せる */
#subsidy .faq-area {
  background: var(--beige);
  padding: 0 0 150px;
}

@media screen and (max-width: 768px) {
  #subsidy .faq-area {
    padding: 0 0 50px;
  }
  #subsidy .faq-area .ttl-l .jp span {
    font-size: 1.6rem;
  }
  /* 共通CSSの余白(80px)のままだと質問文が極端に細くなるためSPは詰める */
  #subsidy .faq-area .faq-list {
    margin: 20px 0 0;
    padding: 5px 15px;
    border-radius: 15px;
  }
  #subsidy .faq-area .faq-list li:last-child {
    border-bottom: none;
  }
}

/* -----------------------------------------------------------
    sub-local 地方自治体の断熱リフォーム補助金
-------------------------------------------------------------- */
.sub-local {
  background: #fff;
  padding: 120px 0 130px;
}

/* 国＋自治体の併用イメージ */
.sub-local__combo {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 40px 0 0;
}
.sub-local__combo .item {
  background: var(--sub-orange-pale);
  border: 2px solid var(--sub-orange);
  border-radius: 999px;
  color: var(--sub-orange-dark);
  font-size: 1.7rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 12px 32px;
}
.sub-local__combo .item.is-local {
  background: var(--sub-orange);
  color: #fff;
}
.sub-local__combo .op {
  color: var(--sub-orange);
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
}

.sub-local__txt {
  margin: 30px auto 0;
  max-width: 850px;
}
.sub-local__txt .basic-txt + .basic-txt {
  margin: 15px 0 0;
}

/* 都県別ページへの導線 */
.sub-local__list {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, 1fr);
  margin: 50px 0 0;
}
.sub-local__list a {
  background: #fff;
  border: 1px solid var(--sub-line);
  /* border-bottom: 3px solid var(--sub-orange);*/
  box-shadow: 0 6px 20px rgba(61, 52, 50, 0.08);
  color: var(--sub-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    box-shadow 0.3s,
    transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sub-local__list a:hover {
  box-shadow: 0 14px 30px rgba(61, 52, 50, 0.14);
  /* transform: translateY(-6px);*/
}
.sub-local__list .image {
  aspect-ratio: 16 / 7;
  background: var(--sub-stripe);
  overflow: hidden;
  position: relative;
}
.sub-local__list .image img {
  transition: transform 0.6s;
}
.sub-local__list a:hover .image img {
  transform: scale(1.05);
}
.sub-local__list .pref {
  background: var(--sub-orange);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  left: 0;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  position: absolute;
  top: 0;
}
.sub-local__list .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 28px 22px;
}
.sub-local__list .lead {
  color: #555;
  font-size: 1.4rem;
  line-height: 1.6;
}
.sub-local__list .ttl {
  flex: 1;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 6px 0 0;
}
.sub-local__list .more {
  align-items: center;
  display: flex;
  font-size: 1.3rem;
  font-weight: bold;
  gap: 10px;
  justify-content: flex-end;
  letter-spacing: 0.1em;
  margin: 14px 0 0;
  transition: color 0.3s;
}
.sub-local__list .more::after {
  background: var(--sub-orange);
  border-radius: 50%;
  color: #fff;
  content: "\f105";
  font: 900 1rem / 22px var(--webicon);
  height: 22px;
  text-align: center;
  transition: transform 0.3s;
  width: 22px;
}
.sub-local__list a:hover .more {
  color: var(--sub-orange);
}
.sub-local__list a:hover .more::after {
  transform: translateX(4px);
}
#subsidy .sub-local__list > li:nth-child(2) {
  --sub-delay: 0.1s;
}

@media screen and (max-width: 768px) {
  .sub-local {
    padding: 60px 0 70px;
  }
  .sub-local__combo {
    flex-direction: column;
    gap: 6px;
    margin: 25px 0 0;
  }
  .sub-local__combo .item {
    font-size: 1.5rem;
    padding: 10px 24px;
  }
  .sub-local__combo .op {
    font-size: 2.2rem;
  }
  .sub-local__txt {
    margin: 20px 0 0;
  }
  .sub-local__list {
    gap: 20px;
    grid-template-columns: 1fr;
    margin: 30px 0 0;
  }
  .sub-local__list .pref {
    font-size: 1.3rem;
    padding: 6px 14px;
  }
  .sub-local__list .body {
    padding: 18px 18px 16px;
  }
  .sub-local__list .lead {
    font-size: 1.3rem;
  }
  .sub-local__list .ttl {
    font-size: 1.8rem;
  }
  #subsidy .sub-local__list > li:nth-child(2) {
    --sub-delay: 0s;
  }
}

/* ===========================================================
    デザイン強化（装飾・アニメーション）
    ※このブロックを丸ごと削除すると元のデザインに戻ります
============================================================== */
#subsidy {
  --accent-pale: #fbdcc3;
  --sub-shadow: 0 10px 30px rgba(61, 52, 50, 0.08);
  --sub-ease: cubic-bezier(0.165, 0.84, 0.44, 1);
}
#subsidy .is-mado {
  --accent-pale: #dbe5ef;
}

/* スクロールで下からスッと出てそのまま止まる（トップ・各リフォームページと同じ動き） */
#subsidy .cmn-fadeup {
  transform: translateY(24px);
  transition:
    opacity 0.6s ease var(--sub-delay, 0s),
    transform 0.6s var(--sub-ease) var(--sub-delay, 0s);
}
#subsidy .cmn-fadeup.cmn-effect-fadeup {
  transform: translateY(0);
}
/* 横に並ぶカードは左から順番に */
#subsidy
  :is(.sub-target__list, .sub-case__list, .sub-plan__list, .sub-support__list)
  > li:nth-child(2) {
  --sub-delay: 0.1s;
}
#subsidy
  :is(.sub-target__list, .sub-case__list, .sub-plan__list, .sub-support__list)
  > li:nth-child(3) {
  --sub-delay: 0.2s;
}
#subsidy
  :is(.sub-target__list, .sub-case__list, .sub-plan__list, .sub-support__list)
  > li:nth-child(4) {
  --sub-delay: 0.3s;
}
#subsidy
  :is(.sub-target__list, .sub-case__list, .sub-plan__list, .sub-support__list)
  > li:nth-child(5) {
  --sub-delay: 0.4s;
}
/* カードが出たあとに、中の小さなパーツ（番号・CASEラベル・プランアイコン）を少し拡大しながら遅れて出す */
#subsidy li.cmn-fadeup :is(.ttl .num, .image .label, .icon),
#subsidy .flow-item.cmn-fadeup .flow-num {
  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);
}
#subsidy li.cmn-effect-fadeup :is(.ttl .num, .image .label, .icon),
#subsidy .flow-item.cmn-effect-fadeup .flow-num {
  opacity: 1;
  scale: 1;
}

/* ---------- 補助額カード（ページタイトル内） ---------- */
.sub-mv__amount li {
  box-shadow: var(--sub-shadow);
}
.sub-mv__amount .is-mirai .num {
  -webkit-background-clip: text;
  background-clip: text;
  background-image: var(--top-grade);
  color: transparent;
}

/* ---------- sub-quick ---------- */
.sub-quick-table thead th.plan {
  position: relative;
}
.sub-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%);
}
.sub-quick-table .price .num,
.sub-summary .price .num {
  background: linear-gradient(transparent 72%, var(--accent-pale) 72%);
  padding: 0 4px;
}
.sub-quick-table .sub-dot-list a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.3s,
    color 0.3s;
}
.sub-quick-table .sub-dot-list a:hover {
  background-size: 100% 1px;
}

/* ---------- sub-subsidy ---------- */
.sub-subsidy__head {
  overflow: hidden;
  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;
}
.sub-subsidy__head::after {
  color: transparent;
  content: "01";
  font:
    700 30rem / 1 "Lato",
    sans-serif;
  pointer-events: none;
  position: absolute;
  right: 3%;
  top: -30px;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.16);
}
.is-mado .sub-subsidy__head::after {
  content: "02";
}
.sub-subsidy__head .sub-inner {
  position: relative;
  z-index: 1;
}
.sub-subsidy__head .txt {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0 0 0 32px;
}
.sub-summary {
  border-top: 4px solid var(--accent);
}
.sub-summary dt {
  align-items: center;
  display: flex;
  gap: 8px;
}
.sub-summary dt::before {
  font: 900 1.5rem / 1 var(--webicon);
}
.sub-summary dl:nth-child(1) dt::before {
  content: "\f157";
}
.sub-summary dl:nth-child(2) dt::before {
  content: "\f133";
}
.sub-summary dl:nth-child(3) dt::before {
  content: "\f00c";
}

/* ---------- sub-target ---------- */
/* リンクではないカード（対象となるリフォーム・利用事例）にはホバーの動きを付けない */
.sub-target__list > li {
  position: relative;
}
.sub-target__list .image,
.sub-case__list .image {
  overflow: hidden;
}
.sub-target__list .ttl .num {
  box-shadow: 0 0 0 4px var(--accent-pale);
}
.sub-target__list .caution {
  background: #fff;
}
.sub-target__list .caution span::before {
  content: "\f071";
  font: 900 1.1rem / 1 var(--webicon);
  margin: 0 4px 0 0;
}

/* ---------- sub-condition ---------- */
.sub-condition {
  border-top: 4px solid var(--accent);
  position: relative;
}
.sub-condition::before {
  background: var(--accent);
  color: #fff;
  content: "POINT";
  font: 600 1.3rem / 1 var(--en);
  left: 0;
  letter-spacing: 0.1em;
  padding: 9px 16px;
  position: absolute;
  top: 0;
}
.sub-condition__head .ttl .num {
  background: linear-gradient(transparent 68%, var(--accent-pale) 68%);
  padding: 0 4px;
}
.sub-condition-table tbody td:nth-child(2) {
  background: var(--sub-orange-pale);
}
.sub-condition-table .num.is-accent {
  font-size: 3.8rem;
}
.sub-formula {
  border: 1px solid var(--sub-navy-pale2);
}
.sub-formula__ttl::before,
.sub-formula__ttl::after {
  background: var(--sub-navy);
  content: "";
  display: inline-block;
  height: 20px;
  margin: 0 14px;
  transform: rotate(-25deg);
  vertical-align: middle;
  width: 2px;
}
.sub-formula__ttl::after {
  transform: rotate(25deg);
}
.sub-formula__calc .item {
  border-radius: 4px;
}
.sub-formula__calc .item.is-total {
  box-shadow: 0 8px 20px rgba(59, 101, 137, 0.25);
}

/* ---------- sub-case ---------- */
.sub-case__list > li {
  box-shadow: 0 6px 20px rgba(61, 52, 50, 0.05);
  display: flex;
  flex-direction: column;
}
.sub-case__list .body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.sub-case__list .detail {
  flex: 1;
}
.sub-case__list .cost {
  border-bottom: 1px solid var(--sub-line);
  padding: 0 0 16px;
}
.sub-case__list .total {
  border-left: 4px solid var(--accent);
  position: relative;
}
.sub-case__list .total::before {
  border-color: var(--sub-line) transparent transparent;
  border-style: solid;
  border-width: 9px 9px 0;
  content: "";
  left: 50%;
  position: absolute;
  top: -18px;
  transform: translateX(-50%);
}

/* ---------- sub-plan ---------- */
.sub-plan__list > li {
  background: transparent;
}
.sub-plan__list a {
  background: #fff;
  border-bottom: 3px solid var(--plan, var(--sub-orange));
  transition:
    box-shadow 0.3s,
    transform 0.3s var(--sub-ease);
}
.sub-plan__list a:hover {
  box-shadow: 0 14px 30px rgba(61, 52, 50, 0.12);
  transform: translateY(-6px);
}
.sub-plan__list .icon {
  box-shadow: 0 4px 10px rgba(61, 52, 50, 0.08);
}
.sub-plan__list .plan-icon {
  background: var(--plan, var(--sub-orange));
}
.sub-plan__list .more::after {
  background: var(--plan, var(--sub-orange));
  color: #fff;
  content: "\f105";
  font: 900 1rem / 22px var(--webicon);
  height: 22px;
  text-align: center;
  transition: transform 0.3s;
  width: 22px;
}
.sub-plan__list a:hover .more::after {
  transform: translateX(4px);
}
/* サブキャッチと、ホバー時の「詳しく見る」はプランごとの色（common.css の --c-*）にする */
.sub-plan__list .catch,
.sub-plan__list a:hover .more {
  color: var(--plan, var(--sub-orange));
}
.sub-plan__list.is-row > li {
  box-shadow: none;
}
.sub-plan__list.is-row a {
  box-shadow: 0 6px 20px rgba(61, 52, 50, 0.08);
}
.sub-plan__list.is-row a:hover {
  box-shadow: 0 14px 30px rgba(61, 52, 50, 0.14);
}

/* ---------- sub-support ---------- */
.sub-support__head .jp .marker {
  background: linear-gradient(transparent 68%, rgba(245, 166, 35, 0.35) 68%);
}
.sub-support__list .ttl {
  border-bottom: 2px dotted var(--sub-line);
  padding: 0 0 12px;
}

@media screen and (max-width: 768px) {
  #subsidy
    :is(.sub-target__list, .sub-case__list, .sub-plan__list, .sub-support__list)
    > li:nth-child(n) {
    --sub-delay: 0s;
  }
  .sub-subsidy__head::after {
    font-size: 16rem;
    right: 0;
    top: -10px;
  }
  .sub-subsidy__head .txt {
    border-left: none;
    padding: 0;
  }
  .sub-condition {
    padding-top: 52px;
  }
  .sub-condition-table .num.is-accent {
    font-size: 2.8rem;
  }
  .sub-formula__ttl::before,
  .sub-formula__ttl::after {
    margin: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #subsidy .subpage-header__inner > *,
  #subsidy .subpage-header-image,
  #subsidy .subpage-header-image img,
  .sub-mv__amount li {
    animation: none;
  }
  #subsidy .cmn-fadeup,
  #subsidy li.cmn-fadeup :is(.ttl .num, .image .label, .icon),
  #subsidy .flow-item.cmn-fadeup .flow-num {
    opacity: 1;
    scale: none;
    transform: none;
    transition: none;
  }
}
