@charset "utf-8";

/* -----------------------------------------------------------
    断熱診断について
-------------------------------------------------------------- */
.subpage-header {
  height: 600px;
  background: var(--top-grid), var(--top-dark);
}
/* 右半分の画像に文字が重ならないよう、左半分に収める */
.subpage-header__inner {
  color: #fff;
  width: 50%;
  padding-right: 50px;
}

.subpage-header__inner .basic-txt {
  width: 100%;
  max-width: 600px;
}
.subpage-header__inner .catch-m,
.subpage-header__inner .basic-txt {
  text-shadow: none;
}
@media screen and (max-width: 768px) {
  .subpage-header {
    height: auto;
  }
  .subpage-header__inner {
    width: 100%;
    padding: 290px 20px 50px;
  }
  .subpage-header__inner .catch-m {
    font-size: 2.2rem;
    line-height: 1.6;
  }
  .subpage-header__inner .basic-txt {
    width: 100%;
    padding: 20px 0 0;
  }
}

/* -----------------------------------------------------------
    page-link
-------------------------------------------------------------- */
.page-link {
  padding: 100px 0 0;
  background: var(--beige);
}
.page-link ul {
  display: flex;
  gap: 30px;
}
.page-link ul li a {
  border-bottom: dashed 2px var(--main);
  padding: 0 0 5px;
  color: #333;
  font-size: 2rem;
  font-weight: bold;
}
.page-link ul li a:hover {
  color: var(--main);
}
.page-link ul li a i {
  margin: 0 20px 0 0;
  color: var(--main);
}

@media screen and (max-width: 768px) {
  .page-link {
    padding: 40px 0 0;
  }
  .page-link ul {
    gap: 15px;
  }
  .page-link ul li {
    width: calc((100% - 15px) / 2);
  }
  .page-link ul li a {
    display: block;
    padding: 0 0 8px 28px;
    position: relative;
    font-size: 1.7rem;
    line-height: 1.4;
  }
  .page-link ul li a:hover {
  }
  .page-link ul li a i {
    position: absolute;
    left: 0;
    top: calc(50% - 4px);
    margin: 0;
    transform: translateY(-50%);
  }
}

/* -----------------------------------------------------------
    .about-area
-------------------------------------------------------------- */
.about-area {
  padding: 100px 0 0;
  background: var(--beige);
}
/* 左に見出し・キャッチ・説明文、右に比較図 */
.about-area .txt-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.about-area .txt-block > div:first-child {
  flex: 1;
  min-width: 0;
}
.about-area .catch-l {
  padding: 30px 0 0;
}
.about-area .basic-txt {
  padding: 30px 0 0;
}
/* 通常の写真とサーモ画像の比較：2枚のパネルを横に並べる。
   左（通常の写真）は控えめなグレー、右（サーモ画像）はオレンジで目立たせる */
.about-compare {
  display: flex;
  align-items: stretch;
  width: 660px;
  flex-shrink: 0;
}
.about-compare-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 20px 20px 24px;
  border-radius: 16px;
  background: #e9e6e1;
  color: #666;
  text-align: center;
}
.about-compare-item .img {
  flex-shrink: 0;
  border: 4px solid #fff;
  border-radius: 10px;
  overflow: hidden;
}
.about-compare-item img {
  display: block;
  width: 100%;
  height: auto;
}
.about-compare-item figcaption {
  flex: 1;
  min-width: 0;
}
.about-compare-item .label {
  display: inline-block;
  padding: 2px 18px;
  border-radius: 30px;
  background: #777;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.about-compare-item .txt {
  display: block;
  margin: 12px 0 0;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.about-compare-item .txt em {
  font-size: 3rem;
  font-style: normal;
}
/* サーモ画像側 */
.about-compare-item.is-thermo {
  background: linear-gradient(135deg, #f08a2b 0%, var(--main) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(233, 118, 41, 0.35);
}
.about-compare-item.is-thermo .label {
  background: #fff;
  color: var(--main);
}
.about-compare-item.is-thermo .txt em {
  font-size: 4rem;
  line-height: 1.3;
  background: linear-gradient(transparent 72%, rgba(255, 255, 255, 0.35) 72%);
}
/* パネルの間の矢印（両方のパネルに少し重ねる） */
.about-compare-arrow {
  position: relative;
  z-index: 1;
  align-self: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin: 0 -14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.about-compare-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
}

@media screen and (max-width: 768px) {
  .about-area {
    padding: 50px 0 0;
  }
  /* SPは説明文の下に、パネルを縦に並べる（パネル内は写真を左・文章を右）。矢印は下向きにする */
  .about-compare {
    flex-direction: column;
    width: 100%;
    margin: 30px 0 0;
  }
  .about-compare-item {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    text-align: left;
  }
  .about-compare-item .img {
    width: 42%;
    border-width: 3px;
    border-radius: 6px;
  }
  .about-compare-item .label {
    padding: 1px 12px;
    font-size: 1.2rem;
  }
  .about-compare-item .txt {
    margin: 6px 0 0;
    font-size: 1.5rem;
  }
  .about-compare-item .txt em {
    font-size: 1.9rem;
  }
  .about-compare-item.is-thermo .txt em {
    font-size: 2.4rem;
  }
  .about-compare-arrow {
    width: 44px;
    height: 44px;
    margin: -10px 0;
    border-width: 3px;
    transform: rotate(90deg);
  }
  .about-compare-arrow::before {
    border-width: 7px 0 7px 11px;
  }
  .about-area .txt-block {
    display: block;
  }
  .about-area .catch-l {
    padding: 20px 0 0;
  }
  .about-area .basic-txt {
    padding: 20px 0 0;
    width: 100%;
  }
}

/* -----------------------------------------------------------
    point-area
-------------------------------------------------------------- */
.point-area {
  padding: 100px 0 400px;
  background: linear-gradient(180deg, var(--beige) 0%, #fff 100%);
  position: relative;
}
.point-area::before {
  background: var(--light-orange);
  border-radius: 50%;
  content: "";
  height: 800px;
  position: absolute;
  right: -350px;
  top: 0px;
  width: 800px;
}
.point-area .ttl-l .jp {
  line-height: 1;
}
.point-area .ttl-l .jp .fukidashi {
  background: var(--main);
  color: #fff;
  display: table;
  padding: 12px 20px 10px;
  border-radius: 30px;
  /* 見出しの行は大きな数字「3」のぶん上に余白ができるので、マイナスで詰める */
  margin: 0 0 -8px;
  font-size: 1.6rem;
  position: relative;
}

.point-area .ttl-l .jp .fukidashi:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 10px solid transparent;
  border-top: 10px solid var(--main);
}
.point-area .ttl-l .jp .num {
  display: inline;
  font-size: 8rem;
  padding: 0 10px;
  color: var(--main);
}
.point-list {
  margin: 50px 0 0;
  display: flex;
  gap: 10px;
}
.point-list-image img {
  width: 100%;
}
.point-list-box {
  width: calc((100% / 3) - 10px);
  background: #fff;
  padding: 50px;
  position: relative;
}
.point-list-box .num {
  position: absolute;
  background: #fff;
  left: 0;
  top: -20px;
  padding: 1px 15px;
  font-family: var(--en);
  color: var(--main);
}
.point-area .catch-s {
  text-align: center;
  padding: 20px 0 0;
}
.point-area .basic-txt {
  padding: 20px 0 0;
}

@media screen and (max-width: 768px) {
  .point-area {
    padding: 60px 0;
  }
  .point-area::before {
    height: 500px;
    right: -250px;
    width: 500px;
  }
  .point-area .ttl-l .jp {
    line-height: 1.3;
  }
  .point-area .ttl-l .jp .fukidashi {
    margin: 0 0 15px;
    padding: 10px 16px 8px;
    font-size: 1.4rem;
    line-height: 1;
  }
  .point-area .ttl-l .jp .num {
    font-size: 5rem;
    padding: 0 5px 0 0;
    line-height: 1;
  }
  .point-list {
    display: block;
  }
  .point-list-image img {
  }
  .point-list-box {
    width: 100%;
    padding: 20px;
  }
  .point-list-box:nth-child(n + 2) {
    margin: 30px 0 0;
  }
  .point-list-box .num {
  }
  .point-area .catch-s {
    text-align: left;
  }
  .point-area .basic-txt {
  }
}

/* -----------------------------------------------------------
    merit-area
-------------------------------------------------------------- */
.merit-area {
  margin: -250px 0 0;
  overflow: hidden;
  padding: 200px 0 200px;
  position: relative;
}

/* 上部の半円（SVG 1600×200） */
.merit-area::before {
  aspect-ratio: 1600 / 200;
  background: url(../img/section-half-circle-yellow.svg) no-repeat center top /
    100% auto;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}
/* 半円より下の背景（margin-topの%は幅基準＝SVGの高さ 200/1600） */
.merit-area::after {
  background: linear-gradient(180deg, #fbefd7 0%, #fff 100%);
  bottom: 0;
  content: "";
  left: 0;
  margin-top: calc(12.5% - 1px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.merit-area .inner3 {
  position: relative;
  z-index: 1;
}

.merit-area .ttl-l .jp .fukidashi {
  background: var(--main);
  color: #fff;
  display: table;
  padding: 12px 20px 10px;
  border-radius: 30px;
  margin: 0 0 20px;
  font-size: 1.6rem;
  position: relative;
}

.merit-area .ttl-l .jp .fukidashi:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 10px solid transparent;
  border-top: 10px solid var(--main);
}
.merit-list {
  margin: 0 0 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 190px 50px; /* 上下の白い円同士が重ならない間隔 */
}
.merit-list-block {
  margin: 30px 0 0;
  width: calc((100% / 2) - 50px);
  position: relative;
}
.merit-list-block:nth-child(odd) {
  position: relative;
  top: 150px;
}
.merit-list-block::before {
  content: "";
  position: absolute;
  width: 125%;
  background: #fff;
  z-index: 0;
  border-radius: 800px;
  aspect-ratio: 1 / 1;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.merit-list-block .txt-box {
  position: relative;
}
.merit-list-block .txt-box .num {
  position: absolute;
  left: 80px;
  padding: 0 10px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  text-align: center;
  color: #ffffff;
  font-size: 1.4rem;
  background-color: var(--main);
  font-family: var(--en);
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.merit-list-block .txt-box .num span {
  display: table;
  font-size: 3rem;
}
.merit-list-block .txt-box .num::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: 2px;
  bottom: 2px;
  border-left: 20px solid var(--main);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: rotate(45deg);
}
.merit-list-ttl {
  font-size: 2.6rem;
  text-align: center;
  font-weight: bold;
  color: var(--main);
}
.merit-list-image {
  margin: 10px 0 0;
}
.merit-list-image img {
  width: 100%;
  width: 350px;
  height: 240px;
  margin: 0 auto;
  display: block;
  border-radius: 15px;
}
.merit-list-block .catch-s {
  text-align: center;
  padding: 20px 0 0;
}
.merit-list-block .basic-txt {
  padding: 20px 0 0;
  width: 80%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .merit-area {
    margin: 0;
    padding: 80px 0 0;
  }
  .merit-area .ttl-l .jp .fukidashi {
    margin: 0 0 15px;
    padding: 10px 16px 8px;
    font-size: 1.4rem;
    line-height: 1;
  }
  .merit-list {
    display: block;
  }
  .merit-list-block {
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
  }
  .merit-list-block:nth-child(n + 2) {
    margin: 20px 0 0;
  }
  .merit-list-block:nth-child(odd) {
    top: 0;
  }
  .merit-list-block::before {
    display: none;
  }

  .merit-list-block .txt-box {
  }
  .merit-list-block .txt-box .num {
    font-size: 1.2rem;
    width: 60px;
    height: 60px;
    left: -30px;
    top: 0;
  }
  .merit-list-block .txt-box .num span {
  }
  .merit-list-block .txt-box .num::before {
    right: 0px;
    bottom: -3px;
  }
  .merit-list-ttl {
    font-size: 2rem;
  }
  .merit-list-image {
  }
  .merit-list-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .merit-list-block .catch-s {
  }
  .merit-list-block .basic-txt {
    width: 100%;
  }
}

/* -----------------------------------------------------------
    .thermo-table-area
-------------------------------------------------------------- */
.thermo-table-area {
  margin: 100px 0 0;
}
.thermo-table-area > div {
  display: flex;
  flex-direction: row-reverse;
  gap: 100px;
}

/* txt-block */
.thermo-table-area .txt-block {
  flex: 1;
}
.thermo-table-area .txt-block .catch-l {
  font-feature-settings: "palt";
}
.thermo-table-area .txt-block .basic-txt {
  padding: 30px 0 0;
}

.thermo-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 650px;
  border-radius: 16px;
  overflow: hidden;
}

/* --- 見出し行 --- */
.thermo-table .thermo-table-header {
  padding: 18px 20px 16px;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.6;
}
.thermo-table .thermo-table-header span {
  display: block;
  font-size: 1.4rem;
}
.thermo-table-header.normal {
  background: #f2f2f2;
  color: #555;
  border-top-left-radius: 16px;
}
.thermo-table-header.thermo {
  background: var(--main);
  color: #fff;
  border-top-right-radius: 16px;
}

/* --- 年払い列全体を枠線で強調 --- */
.thermo-col {
  border: 2px solid var(--main);
  border-top: none;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}
.normal-col {
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* --- 各プランの行 --- */
.thermo-table-area .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 12px;
  border-bottom: 1px dashed #ddd;
}
.thermo-table-area .row:last-child {
  border-bottom: none;
}
.thermo-table-area .thermo-col {
  background: var(--light-orange);
}

.thermo-table-area .thermo-txt {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

/* --- オトクバッジ --- */
.thermo-table-area .badge {
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .thermo-table-area {
    margin: 80px 0 0;
  }
  .thermo-table-area > div {
    display: block;
  }
  .thermo-table-area .txt-block {
    margin: 20px 0 0;
  }
  .thermo-table-area .txt-block .basic-txt {
    padding: 20px 0 0;
  }
  .thermo-table {
    overflow: inherit;
  }

  .thermo-table .thermo-table-header {
    font-size: 1.6rem;
    padding: 10px;
    position: relative;
    border-radius: 5px 5px 0 0;
  }
  .thermo-table .thermo-table-header span {
    font-size: 1.2rem;
    position: absolute;
    top: -35px;
    color: var(--main);
    line-height: 1.3;
  }
  /* 左右の列で行の高さを揃える（2行分） */
  .thermo-table-area .row {
    padding: 10px;
    min-height: 66px;
  }

  .thermo-col {
    border-radius: 0 0 5px 5px;
  }
  .normal-col {
    border-radius: 0 0 5px 5px;
  }
  .thermo-table-area .thermo-txt {
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: center;
  }
}

/* -----------------------------------------------------------
    works-area
-------------------------------------------------------------- */
.works-area {
  margin: 100px 0 0;
  padding: 100px 0;
  background: url(../img/top-service-bg.jpg) no-repeat top center / cover;
}
.works-area .ttl-l .en,
.works-area .ttl-l .jp {
  color: #fff;
}
.works-area > div {
  /* display: flex;
  gap: 50px;*/
}
.works-block {
  margin: 50px 0 0;
  border-radius: 15px;
  padding: 100px;
  background: #fff;
}
.works-block-ttl {
  font-size: 3rem;
  font-weight: bold;
  position: relative;
}
.works-block-ttl::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 2px;
  background: var(--main);
  left: -100px;
  top: 10px;
}

.works-step-list {
  display: flex;
  gap: 30px;
  margin: 50px 0 0;
}
.works-step-list li {
  background-color: #f8f8f8;
  padding: 50px 30px 30px 30px;
  position: relative;
  flex: 1;
}
/* STEP間の矢印 */
.works-step-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 10px 0 10px 14px;
  border-color: transparent transparent transparent var(--main);
}
.works-step-list li .num {
  font-family: var(--en);
  color: var(--main);
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1.2;
}
.works-step-list li .num span {
  display: block;
}
.works-step-list li .ttl {
  font-weight: bold;
  font-size: 1.8rem;
}
.works-step-list li .basic-txt {
  padding: 10px 0 0;
}

.works-box {
  display: flex;
  gap: 50px;
  margin: 20px 0 0;
  background: #333;
  padding: 30px;
  border-radius: 5px;
}
.works-list {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.works-list li {
  position: relative;
}
.works-list-image img {
  width: 300px;
}

.works-list .txt {
  position: absolute;
  bottom: 0;
  background: #fff;
  padding: 0 10px;
  font-family: var(--en);
}
.works-box .ttl {
  background: var(--border1);
  display: table;
  font-size: 1.3rem;
  padding: 2px 15px 0;
  border-radius: 30px;
  margin: 0 0 5px;
}
.works-box .catch-s {
  color: #fff;
  margin: 20px 0 0;
}
.works-box .basic-txt {
  color: #fff;
  margin: 20px 0 0;
}
/* 画面幅が狭いPCでは画像を小さくして文字欄の幅を確保 */
@media screen and (min-width: 769px) and (max-width: 1400px) {
  .works-list-image img {
    width: 240px;
  }
}
@media screen and (max-width: 768px) {
  .works-area {
    margin: 50px 0 0;
    padding: 50px 0;
  }
  .works-area > div {
  }
  .works-block {
    margin: 30px 0 0;
    padding: 20px;
  }
  .works-block-ttl {
    font-size: 2rem;
    line-height: 1.6;
  }
  .works-block-ttl::before {
    width: 15px;
    left: -20px;
  }

  .works-step-list {
    flex-direction: column;
    margin: 10px 0 0;
    gap: 30px;
  }
  .works-step-list li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 14px 10px 0 10px;
    border-color: var(--main) transparent transparent transparent;
  }
  .works-step-list li {
    padding: 20px 20px 20px 60px;
  }
  .works-step-list li .num {
  }
  .works-step-list li .num span {
  }
  .works-step-list li .ttl {
  }

  .works-box {
    display: block;
    padding: 20px;
  }
  .works-list {
    gap: 10px;
    margin: 20px 0 0;
  }
  .works-list li {
    flex: 1;
  }
  .works-list-image img {
    width: 100%;
  }
  .works-list .txt {
    font-size: 1.3rem;
    line-height: 1.8;
    white-space: nowrap;
  }
  .works-box .ttl {
    padding: 2px 10px 0;
  }
  .works-box .catch-s {
  }
  .works-box .basic-txt {
  }
}

/* -----------------------------------------------------------
    flow-area
-------------------------------------------------------------- */
.flow-area {
  padding: 150px 0 0;
  background: var(--beige);
}
.flow-area .flow-step span {
  margin: 0 0 0 10px;
}
.flow-area .flow-step span br {
  display: none;
}

@media screen and (max-width: 768px) {
  /* flow.css（後読み込み）より優先させるため #diagnosis を付与 */
  #diagnosis .flow-area {
    padding: 60px 0 0;
  }
}

/* -----------------------------------------------------------
    faq-area
-------------------------------------------------------------- */
.faq-area {
  padding: 150px 0 !important;
  background: var(--beige);
}

@media screen and (max-width: 768px) {
  .faq-area {
    padding: 60px 0 !important;
  }
  .faq-area .ttl-l .jp span {
    font-size: 1.6rem;
  }
  .faq-area .faq-list {
    margin: 20px 0 0;
    padding: 5px 15px;
    border-radius: 15px;
  }
  .faq-area .faq-list li:last-child {
    border-bottom: none;
  }
}

/* -----------------------------------------------------------
   jjj-about-area
-------------------------------------------------------------- */
.jjj-about-area {
  margin: 0 0 0;
  background: var(--top-grid), var(--top-dark);
}
.jjj-about-image-block {
  position: relative;
}
.jjj-about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.jjj-about-area .ttl-l {
  position: absolute;
  top: 350px;
  background: #fff;
  padding: 50px;
  background: var(--top-grid), var(--top-dark);
}
.jjj-about-area .ttl-l .sub {
  color: var(--main);
  font-weight: bold;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.jjj-about-area .ttl-l .sub::before {
  content: "";
  width: 30px;
  height: 2px;
  box-sizing: border-box;
  background-color: var(--main);
  rotate: 60deg;
}
.jjj-about-area .ttl-l .sub::after {
  content: "";
  width: 30px;
  height: 2px;
  box-sizing: border-box;
  background-color: var(--main);
  rotate: -60deg;
}

.jjj-about-area .ttl-l .jp {
  padding: 10px 0 0;
  color: #fff;
}
.jjj-about-area > .inner3 {
  display: flex;
  align-items: flex-start;
  gap: 50px;

  margin: 90px auto 0;
  padding: 0 0 250px;
}
.jjj-about-area .txt-block .catch-l {
  padding: 0 0 0;
  color: #fff;
}
.jjj-about-area .txt-block .basic-txt {
  margin: 30px 0 0 0;
  width: 600px;
  display: table;
  color: #fff;
}
.jjj-about-area .price {
  border: double 10px var(--main);
  margin: 0 0 0;
  padding: 30px;
  border-radius: 15px;
  /* display: flex;
  align-items: center;
  justify-content: space-between;*/
  background: #fff;
}

.jjj-about-area .price-txt {
  font-size: 2.3rem;
  font-weight: bold;
}
.jjj-about-area .price-txt span {
  font-size: 4rem;
  font-family: var(--en);
  color: var(--main);
  padding: 0 3px;
}

.jjj-about-block {
  margin: -200px 0 0;
}

@media screen and (max-width: 768px) {
  .jjj-about-image img {
    height: 250px;
  }
  .jjj-about-area .inner3 {
    flex-direction: column;
    margin: 0;
    gap: 20px;
  }
  .jjj-about-area > .inner3 {
    padding: 0 20px 250px;
  }
  .jjj-about-area .price {
    width: 100%;
  }
  /* 見出しが折り返しても下の文章に重ならないよう、画像下端基準で配置 */
  .jjj-about-area .ttl-l {
    padding: 10px;
    top: auto;
    bottom: -20px;
  }
  .jjj-about-area .ttl-l .sub {
    font-size: 1.2rem;
    line-height: 1.4;
    gap: 0;
  }
  .jjj-about-area .ttl-l .sub::before,
  .jjj-about-area .ttl-l .sub::after {
    width: 15px;
  }
  .jjj-about-area .ttl-l .jp {
    padding: 0;
  }
  .jjj-about-area {
    margin: 0;
  }
  .jjj-about-area .txt-block .catch-l {
    padding: 40px 0 0;
  }
  .jjj-about-area .txt-block .basic-txt {
    width: 100%;
    margin: 20px 0 0;
  }
  .jjj-about-area .price {
    display: block;
    padding: 20px 20px 20px;
  }

  .jjj-about-area .price-txt {
    font-size: 1.8rem;
    line-height: 1;
  }
  .jjj-about-area .price-txt span {
    font-size: 3rem;
  }
  .jjj-about-area .price-note {
    padding: 10px 0 0;
  }
}

/* -----------------------------------------------------------
   jjj-about-list
-------------------------------------------------------------- */
.jjj-about-list {
  margin: 50px 0 0;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.jjj-about-list-image img {
  width: 100%;
}
.jjj-about-list-box {
  width: calc((100% / 3) - 10px);
  background: #f8f8f8;
  padding: 50px;
  position: relative;
}
.jjj-about-list-box .num {
  position: absolute;
  background: #f8f8f8;
  left: 0;
  top: -20px;
  padding: 1px 15px;
  font-family: var(--en);
  color: var(--main);
}
.jjj-about-list .catch-s {
  text-align: center;
  padding: 20px 0 0;
}
.jjj-about-list .basic-txt {
  padding: 20px 0 0;
}

.jjj-about-note {
  background: #fff;
  padding: 50px;
  margin: 30px 0 0;
  border: dashed 1px #333;
}
.jjj-about-note .basic-txt {
  padding: 20px 0 0;
}

@media screen and (max-width: 768px) {
  .jjj-about-list {
    display: block;
    margin: 50px 0 0;
  }
  .jjj-about-list-image img {
  }
  .jjj-about-list-box {
    width: 100%;
    padding: 20px;
  }
  .jjj-about-list-box:nth-child(n + 2) {
    margin: 30px 0 0;
  }
  .jjj-about-list-box .num {
  }
  .jjj-about-list .catch-s {
    text-align: left;
  }
  .jjj-about-list .basic-txt {
  }

  .jjj-about-note {
    padding: 15px;
  }
  .jjj-about-note .basic-txt {
  }
}

/* -----------------------------------------------------------
   faq-area
-------------------------------------------------------------- */
.faq-area.jjj {
  margin: 100px 0 0;
}
@media screen and (max-width: 768px) {
  .faq-area.jjj {
    margin: 50px 0 0;
  }
}

/* ===========================================================
    デザイン調整
    （上の各セクションの指定を上書きする。後読み込みのflow.css等にも
      負けないよう #diagnosis を付けている）
=========================================================== */

/* ---------- ページタイトル ---------- */
#diagnosis .subpage-header__inner .catch-s {
  display: inline-block;
  margin: 30px 0 0;
  padding: 4px 18px;
  border-radius: 30px;
  background: var(--main);
  font-size: 1.6rem;
}
#diagnosis .subpage-header__inner .catch-m {
  padding: 12px 0 0;
}
#diagnosis .subpage-header-image {
  overflow: hidden;
  border-radius: 0 0 0 50px;
}
#diagnosis .subpage-header-image img {
  display: block;
}
@media screen and (min-width: 769px) {
  /* 濃い背景・写真の上に載るため明るい色にする */
  #diagnosis .breadcrumblist {
    color: rgba(255, 255, 255, 0.7);
  }
  #diagnosis .under-h1 h1 {
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  }
  /* 濃い背景がヘッダーの裏まで伸びるため、スクロール前はヘッダー上段の文字を白にする */
  .header:not(.header_active) .header_nav_area,
  .header:not(.header_active) .header_nav_tel {
    color: #fff;
  }
  .header:not(.header_active) .header_nav_area .ttl {
    color: #6d3c14;
  }
  .header:not(.header_active) .header_nav_tel .num::before {
    filter: brightness(0) invert(1);
  }
}

/* ---------- ページ内リンク（ボタン風に） ---------- */
#diagnosis .page-link ul li a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px 14px 22px;
  border: 1px solid var(--main);
  border-radius: 40px;
  background: #fff;
  font-size: 1.8rem;
  transition:
    background 0.3s,
    color 0.3s;
}
#diagnosis .page-link ul li a i {
  margin: 0;
  transition: color 0.3s;
}
@media screen and (min-width: 769px) {
  #diagnosis .page-link ul li a:hover {
    background: var(--main);
    color: #fff;
  }
  #diagnosis .page-link ul li a:hover i {
    color: #fff;
  }
}

/* ---------- ポイントのカード（サーモ・JJJ共通） ---------- */
#diagnosis .point-list,
#diagnosis .jjj-about-list {
  gap: 30px;
}
#diagnosis .point-list-box,
#diagnosis .jjj-about-list-box {
  flex: 1;
  width: auto;
  background: #fff;
  padding: 50px 36px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(109, 60, 20, 0.08);
}
#diagnosis .point-list-box .num,
#diagnosis .jjj-about-list-box .num {
  left: 30px;
  top: -16px;
  padding: 2px 18px;
  border-radius: 30px;
  background: var(--main);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#diagnosis .point-list-image img,
#diagnosis .jjj-about-list-image img {
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}
#diagnosis .point-area .catch-s,
#diagnosis .jjj-about-list .catch-s {
  padding: 20px 0 16px;
  border-bottom: 1px solid #eee;
}
#diagnosis .point-area .basic-txt,
#diagnosis .jjj-about-list .basic-txt {
  padding: 16px 0 0;
}

/* ---------- 活用メリット ---------- */
#diagnosis .merit-list-image img {
  object-fit: cover;
}

/* ---------- 比較表 ---------- */
#diagnosis .thermo-table {
  box-shadow: 0 10px 30px rgba(109, 60, 20, 0.08);
}
#diagnosis .thermo-table-area .thermo-txt {
  line-height: 1.4;
}
/* サーモカメラ側の各行にチェックマーク */
#diagnosis .thermo-col .thermo-txt::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  vertical-align: 1px;
}

/* ---------- 活用事例 ---------- */
#diagnosis .works-step-list li {
  padding: 30px;
  border-radius: 12px;
  background: #fdf6ea;
}
#diagnosis .works-step-list li .num {
  position: static;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
#diagnosis .works-step-list li .num span {
  display: inline;
  font-size: 2.6rem;
  letter-spacing: 0;
}
#diagnosis .works-step-list li .ttl {
  margin: 6px 0 0;
}
#diagnosis .works-box {
  margin: 30px 0 0;
  padding: 40px;
  border-radius: 12px;
}
#diagnosis .works-list-image img {
  display: block;
  border-radius: 6px;
}
#diagnosis .works-list .txt {
  left: 0;
  padding: 2px 14px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0 6px 0 6px;
}
#diagnosis .works-list .before .txt {
  background: #555;
}
#diagnosis .works-list .after .txt {
  background: var(--main);
}
/* 事例の番号（CASE 01 など） */
#diagnosis .works-block-ttl .case {
  display: block;
  color: var(--main);
  font-family: var(--en);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
/* before と after の温度差（after の写真の右上に掛ける） */
#diagnosis .works-list .diff {
  position: absolute;
  top: -16px;
  right: -16px;
  padding: 6px 16px;
  border: 2px solid var(--main);
  border-radius: 30px;
  background: #fff;
  color: var(--main);
  font-family: var(--en);
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.2;
}
/* before → after の矢印 */
#diagnosis .works-list .before::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  margin: -10px 0 0;
  border-style: solid;
  border-width: 10px 0 10px 14px;
  border-color: transparent transparent transparent var(--main);
}

/* ---------- JJJ断熱診断システム ---------- */
#diagnosis .jjj-about-image {
  overflow: hidden;
}
#diagnosis .jjj-about-image img {
  display: block;
}
#diagnosis .jjj-about-image img.sp-display-b {
  display: none;
}
#diagnosis .jjj-about-area .price {
  flex: 1;
  padding: 36px 40px;
  border: none;
  border-top: 5px solid var(--main);
  border-radius: 0 0 16px 16px;
}
#diagnosis .jjj-about-note {
  padding: 50px 60px;
  border: none;
  border-left: 6px solid var(--main);
  border-radius: 0 16px 16px 0;
  background: #fff7ea;
}

@media screen and (max-width: 768px) {
  #diagnosis .subpage-header__inner .catch-s {
    margin: 20px 0 0;
    font-size: 1.4rem;
  }

  #diagnosis .page-link ul li a {
    display: flex;
    height: 100%;
    padding: 12px 10px 12px 38px;
    border-radius: 12px;
    font-size: 1.5rem;
  }
  #diagnosis .page-link ul li a i {
    left: 12px;
    top: 50%;
  }

  #diagnosis .point-list-box,
  #diagnosis .jjj-about-list-box {
    padding: 36px 20px 24px;
  }
  #diagnosis .point-list-box .num,
  #diagnosis .jjj-about-list-box .num {
    left: 20px;
  }

  /* SPは列幅が狭く、チェックマークがあると折り返して左右の行がずれるため外す */
  #diagnosis .thermo-col .thermo-txt::before {
    display: none;
  }

  #diagnosis .works-step-list li {
    padding: 20px;
  }
  #diagnosis .works-box {
    margin: 30px 0 0;
    padding: 20px;
  }
  #diagnosis .works-list .before::after {
    right: -9px;
    margin: -6px 0 0;
    border-width: 6px 0 6px 8px;
  }
  #diagnosis .works-block-ttl .case {
    font-size: 1.4rem;
  }
  #diagnosis .works-list .diff {
    top: -12px;
    right: -6px;
    padding: 4px 10px;
    font-size: 1.5rem;
  }

  #diagnosis .jjj-about-area .price {
    flex: none;
    padding: 20px;
  }
  #diagnosis .jjj-about-note {
    padding: 20px;
  }
  #diagnosis .jjj-about-image img.sp-display-b {
    display: block;
  }
  #diagnosis .jjj-about-image img.pc-display-b {
    display: none;
  }
}

/* ===========================================================
    アニメーション
=========================================================== */
/* ページタイトル：読み込み時に文字を下から順番に、写真を右からワイプ表示 */
#diagnosis .subpage-header__inner > * {
  animation: diagnosis-fadeup 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}
#diagnosis .subpage-header__inner > .catch-s {
  animation-delay: 0.15s;
}
#diagnosis .subpage-header__inner > .catch-m {
  animation-delay: 0.3s;
}
#diagnosis .subpage-header__inner > .basic-txt {
  animation-delay: 0.45s;
}
#diagnosis .subpage-header-image {
  animation: diagnosis-wipe 1.2s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}
#diagnosis .subpage-header-image img {
  animation: diagnosis-zoom 2.4s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}
@keyframes diagnosis-fadeup {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes diagnosis-wipe {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes diagnosis-zoom {
  from {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
}

/* スクロールで下からスッと出てそのまま止まる（トップ・各リフォームページと同じ動き） */
#diagnosis .cmn-fadeup {
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#diagnosis .cmn-fadeup.cmn-effect-fadeup {
  transform: translateY(0);
}

/* カード類：少し拡大しながら順番に出てそのまま止まる */
#diagnosis .cmn-popup {
  transform: scale(0.85);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#diagnosis .cmn-popup.cmn-effect-popup {
  transform: scale(1);
}
#diagnosis .point-list-box:nth-child(2),
#diagnosis .jjj-about-list-box:nth-child(2),
#diagnosis .merit-list-block:nth-child(even) {
  transition-delay: 0.12s;
}
#diagnosis .point-list-box:nth-child(3),
#diagnosis .jjj-about-list-box:nth-child(3) {
  transition-delay: 0.24s;
}

/* カード・見出しが出たあとに、中の小さなパーツ（番号バッジ・吹き出し・温度差）を遅れて出す */
#diagnosis .cmn-popup .num,
#diagnosis .flow-item.cmn-fadeup .flow-num,
#diagnosis .ttl-l.cmn-fadeup .fukidashi,
#diagnosis .works-block.cmn-fadeup .works-list .diff {
  opacity: 0;
  scale: 0.85;
  transition:
    opacity 0.5s ease 0.3s,
    scale 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}
#diagnosis .cmn-effect-popup .num,
#diagnosis .flow-item.cmn-effect-fadeup .flow-num,
#diagnosis .ttl-l.cmn-effect-fadeup .fukidashi,
#diagnosis .works-block.cmn-effect-fadeup .works-list .diff {
  opacity: 1;
  scale: 1;
}
#diagnosis .point-list-box:nth-child(2) .num,
#diagnosis .jjj-about-list-box:nth-child(2) .num,
#diagnosis .merit-list-block:nth-child(even) .num {
  transition-delay: 0.42s;
}
#diagnosis .point-list-box:nth-child(3) .num,
#diagnosis .jjj-about-list-box:nth-child(3) .num {
  transition-delay: 0.54s;
}
/* 温度差はSTEPが出そろってから */
#diagnosis .works-block.cmn-fadeup .works-list .diff {
  transition-delay: 1s;
}

/* 比較表：枠が表示されたあと、行が1つずつ左から入る */
#diagnosis .thermo-table.cmn-fadeup .row {
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#diagnosis .thermo-table.cmn-effect-fadeup .row {
  opacity: 1;
  transform: translateX(0);
}
#diagnosis .thermo-table.cmn-fadeup .row:nth-child(1) {
  transition-delay: 0.3s;
}
#diagnosis .thermo-table.cmn-fadeup .row:nth-child(2) {
  transition-delay: 0.42s;
}
#diagnosis .thermo-table.cmn-fadeup .row:nth-child(3) {
  transition-delay: 0.54s;
}
#diagnosis .thermo-table.cmn-fadeup .row:nth-child(4) {
  transition-delay: 0.66s;
}

/* 活用事例：STEPが順番に表示され、矢印が次へ誘導するように動く */
#diagnosis .works-block.cmn-fadeup .works-step-list li {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease 0.3s,
    transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}
#diagnosis .works-block.cmn-effect-fadeup .works-step-list li {
  opacity: 1;
  transform: translateY(0);
}
#diagnosis .works-block.cmn-fadeup .works-step-list li:nth-child(2) {
  transition-delay: 0.5s;
}
#diagnosis .works-block.cmn-fadeup .works-step-list li:nth-child(3) {
  transition-delay: 0.7s;
}
#diagnosis .works-step-list li:not(:last-child)::after {
  animation: diagnosis-arrow-x 1.4s ease-in-out infinite;
}
#diagnosis .works-list .before::after {
  animation: diagnosis-arrow 1.4s ease-in-out infinite;
}
/* ホバーでページ内リンクのアイコンが小さく跳ねる（トップ・各リフォームページと同じ） */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #diagnosis .page-link a:hover i {
    animation: diagnosis-hover-hop 0.4s ease-out;
  }
}
@keyframes diagnosis-hover-hop {
  0%,
  100% {
    translate: 0 0;
  }
  40% {
    translate: 0 -4px;
  }
}
@keyframes diagnosis-arrow-x {
  0%,
  100% {
    transform: translate(0, -50%);
  }
  50% {
    transform: translate(5px, -50%);
  }
}
@keyframes diagnosis-arrow-y {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 5px);
  }
}
@keyframes diagnosis-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/* JJJの写真：画面に入るとゆっくり縮小 */
#diagnosis .jjj-about-image.cmn-fade {
  opacity: 1;
}
#diagnosis .jjj-about-image.cmn-fade img {
  transform: scale(1.15);
  transition: transform 2.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#diagnosis .jjj-about-image.effect-cmn-fade img {
  transform: scale(1);
}

@media screen and (max-width: 768px) {
  /* SPはSTEPが縦並びで、矢印が下向きになる */
  #diagnosis .works-step-list li:not(:last-child)::after {
    animation-name: diagnosis-arrow-y;
  }
}

@media (prefers-reduced-motion: reduce) {
  #diagnosis .subpage-header__inner > *,
  #diagnosis .subpage-header-image,
  #diagnosis .subpage-header-image img,
  #diagnosis .works-step-list li:not(:last-child)::after,
  #diagnosis .works-list .before::after {
    animation: none;
  }
  #diagnosis .cmn-fadeup,
  #diagnosis .cmn-popup,
  #diagnosis .cmn-popup .num,
  #diagnosis .flow-item.cmn-fadeup .flow-num,
  #diagnosis .ttl-l.cmn-fadeup .fukidashi,
  #diagnosis .works-block.cmn-fadeup .works-list .diff,
  #diagnosis .thermo-table.cmn-fadeup .row,
  #diagnosis .works-block.cmn-fadeup .works-step-list li,
  #diagnosis .jjj-about-image.cmn-fade img {
    opacity: 1;
    transform: none;
    scale: none;
    transition: none;
  }
}
