@charset "UTF-8";

/* よくあるご質問 (#Qa) : PC用 → @media(レスポンシブ) */

#Qa {
  --qa-red: #e8451e;
  --qa-green: #455b3c;
  --qa-gold: #e5d578;
  --qa-line: #aea595;
  --qa-btn: #e7e3da;
  --qa-label: #efece6;
  --qa-arrow: #b0a2a1;
  --qa-rule: #d6d6d6;
  --qa-card: #bcb5af;
}

#Qa main {
  overflow: hidden;
  text-align: left;
}

/* 折り返しで数文字だけの行が残らないよう、行の長さをそろえる */
#Qa .p-jump__txt,
#Qa .p-qa__qtxt,
#Qa .p-more__txt,
#Qa .p-cta__ttl,
#Qa .p-band__ttl {
  text-wrap: balance;
}

/* ========================================
  導入・ジャンプボタン
======================================== */
#Qa .p-lead {
  padding: 106px 20px 155px;
  background: #fff url("../img/qa/qa-bg.png") no-repeat center top / 100% auto;
  text-align: center;
}

#Qa .p-lead__logo {
  width: 170px;
  margin: 0 auto;
  line-height: 0;
}

#Qa .p-lead__logo img {
  width: 100%;
  height: auto;
}

#Qa .p-lead__ttl {
  margin-top: 79px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

#Qa .p-lead__txt {
  margin-top: 58px;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
}

#Qa .p-lead__txt p {
  font-size: 18px;
  line-height: 2;
}

#Qa .p-lead__txt p + p {
  margin-top: 36px;
}

#Qa .p-jump {
  margin-top: 93px;
}

#Qa .p-jump__list {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

#Qa .p-jump__item {
  width: 210px;
}

#Qa .p-jump__link,
#Qa a.p-jump__link:link,
#Qa a.p-jump__link:visited {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 200px;
  padding-bottom: 10px;
  overflow: hidden;
  background: var(--qa-btn);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  color: var(--color-text-sub);
  text-align: center;
}

#Qa .p-jump__link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  width: 99px;
  height: 132px;
  margin-left: -50px;
  background: url("../img/qa/qa-icon-button.svg") no-repeat center / contain;
}

#Qa .p-jump__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 13px;
  height: 13px;
  margin-left: -9px;
  border-right: 1px solid var(--qa-arrow);
  border-bottom: 1px solid var(--qa-arrow);
  transform: scaleX(1.4) rotate(45deg) scale(0.7);
  transform-origin: center;
}

#Qa .p-jump__txt {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: -0.06em;
}

/* ========================================
  見出し帯（写真つき）
======================================== */
#Qa .p-group {
  position: relative;
}

#Qa .p-band {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--color-text-sub);
}

#Qa .p-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / cover;
}

#Qa .p-band--1::before {
  background-image: url("../img/qa/qa-category1.jpg");
}

#Qa .p-band--2::before {
  background-image: url("../img/qa/qa-category2.jpg");
}

#Qa .p-band--3::before {
  background-image: url("../img/qa/qa-category3.jpg");
}

#Qa .p-band--4::before {
  background-image: url("../img/qa/qa-category4.jpg");
}

#Qa .p-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-text-sub);
  opacity: 0.8;
}

#Qa .p-band__body {
  position: relative;
  z-index: 1;
  max-width: 900px;
  height: 100%;
  margin: 0 auto;
}

#Qa .p-band__q {
  position: absolute;
  left: 0;
  top: 67px;
  width: 90px;
  height: auto;
}

#Qa .p-band__ttl {
  position: absolute;
  left: 122px;
  top: 102px;
  padding-left: 20px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.67;
  color: #fff;
  white-space: nowrap;
}

#Qa .p-band .annotation,
#Qa .p-band__cap {
  position: absolute;
  right: 15px;
  bottom: 7px;
  z-index: 1;
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
  color: #fff;
}

/* ========================================
  質問と答え（アコーディオン）
======================================== */
#Qa .p-qa {
  max-width: 900px;
  margin: 0 auto;
}

#Qa .p-qa:last-child {
  padding-bottom: 103px;
}

#Qa #group4 .p-qa:last-child {
  padding-bottom: 42px;
}

#Qa .p-qa__item {
  padding: 49px 0 48px;
}

#Qa .p-qa__item:first-child {
  padding-top: 100px;
}

#Qa .p-qa__item + .p-qa__item {
  border-top: 1px solid var(--qa-line);
}

#Qa .p-qa__q {
  margin: 0;
}

#Qa .p-qa__btn {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

#Qa .p-qa__btn:focus-visible,
#Qa .p-jump__link:focus-visible {
  outline: 2px solid var(--qa-green);
  outline-offset: 2px;
}

#Qa .p-qa__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

#Qa .p-qa__icon--q {
  background: var(--qa-green);
}

#Qa .p-qa__icon--a {
  background: var(--qa-gold);
}

#Qa .p-qa__icon img {
  display: block;
  height: auto;
}

#Qa .p-qa__icon--q img {
  width: 16.4px;
}

#Qa .p-qa__icon--a img {
  width: 17.9px;
}

#Qa .p-qa__qtxt {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 50px;
  margin-left: 30px;
  padding-right: 50px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
}

#Qa .p-qa__arrow {
  position: absolute;
  right: 17px;
  top: 25px;
  width: 15px;
  height: 15px;
  margin-top: -12px;
  border-right: 2px solid var(--qa-arrow);
  border-bottom: 2px solid var(--qa-arrow);
  transform: scaleX(1.3) rotate(45deg) scale(0.7);
  transition:
    transform 0.3s,
    margin-top 0.3s;
}

#Qa .p-qa__btn[aria-expanded="true"] .p-qa__arrow {
  margin-top: -3px;
  transform: scaleX(1.3) rotate(225deg) scale(0.7);
}

.js #Qa .p-qa__a {
  display: none;
}

#Qa .p-qa__ain {
  display: flex;
  padding-top: 49px;
}

#Qa .p-qa__item--2 .p-qa__ain {
  padding-top: 35px;
}

#Qa #group3 .p-qa__item--2 .p-qa__ain {
  padding-top: 42px;
}

#Qa #group4 .p-qa__item--2 .p-qa__ain {
  padding-top: 40px;
}

#Qa .p-qa__atxt {
  flex: 1;
  min-width: 0;
  margin-top: -6px;
  margin-left: 30px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.88;
}

#Qa .p-qa__atxt p {
  font-size: 16px;
  line-height: 1.88;
}

@media screen and (min-width: 1024px) {
  /* デザインでは「1つ目に、…受けません。」が1行に収まる（約3%詰める） */
  #Qa .p-qa__atxt .p-qa__tight {
    letter-spacing: -0.025em;
  }
}

#Qa .p-qa__em {
  font-style: normal;
  font-weight: 600;
  color: var(--qa-red);
}

#Qa .p-qa__note,
#Qa .p-qa__small {
  letter-spacing: -0.065em;
}

#Qa .p-qa__note {
  display: block;
  margin-top: 3px;
}

#Qa .p-qa__small {
  font-size: 13px;
}

#Qa .p-qa__atxt .p-qa__src {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.54;
  letter-spacing: -0.065em;
}

/* 表（耐震性・省エネ・防災、主な諸費用の内訳） */
#Qa .p-spec {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-family: var(--font-second);
  font-size: 17px;
  line-height: 2.12;
}

#Qa .p-qa__atxt .p-spec__cap {
  margin-top: 36px;
  font-family: var(--font-second);
  font-size: 17px;
  font-weight: 700;
  line-height: 2.12;
}

#Qa .p-qa__atxt .p-spec__cap + .p-spec {
  margin-top: -2px;
}

#Qa .p-spec th,
#Qa .p-spec td {
  height: 60px;
  padding: 0;
  border-bottom: 1px solid var(--qa-rule);
  vertical-align: middle;
}

#Qa .p-spec tr:last-child th,
#Qa .p-spec tr:last-child td {
  border-bottom: 0;
}

#Qa .p-spec th {
  width: 160px;
  background: var(--qa-label);
  font-weight: 700;
  text-align: center;
}

#Qa .p-spec td {
  padding-left: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-align: left;
}

#Qa .p-spec .p-qa__em {
  font-weight: 700;
}

/* ========================================
  Read more カード
======================================== */
#Qa .p-more {
  margin-top: 48px;
  padding-bottom: 157px;
  text-align: center;
}

#Qa .p-more__txt {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--qa-green);
  text-align: center;
}

#Qa .p-card {
  width: 500px;
  max-width: 100%;
  margin: 16px auto 0;
}

#Qa .p-card__link {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

#Qa .p-card__link picture,
#Qa .p-card__link img {
  display: block;
  width: 100%;
  height: 100%;
}

#Qa .p-card__link img {
  object-fit: cover;
}

#Qa .p-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--qa-card);
  mix-blend-mode: multiply;
}

#Qa .p-card__link .annotation {
  position: absolute;
  right: 15px;
  bottom: 2%;
  z-index: 1;
  font-size: 10px;
  text-align: right;
  color: #fff;
}

#Qa .p-card__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

#Qa .p-card__en {
  font-size: 33px;
  line-height: 1;
  letter-spacing: 0;
}

#Qa .p-card__ja {
  margin-top: 10px;
  font-size: 18.3px;
  line-height: 1.8;
}

#Qa .p-card__label .c-btn {
  width: 275px;
  height: 41px;
  margin-top: 1px;
  font-size: 19.2px;
}

#Qa .p-card__label .c-btn--gold::after {
  width: 21px;
  height: 21px;
  margin-left: 13px;
  background-size: 5.9px 8.2px;
}

/* ========================================
  資料請求CTA
======================================== */
#Qa .p-cta {
  position: relative;
  padding: 80px 20px 86px;
  background: var(--color-bg);
  text-align: center;
}

#Qa .p-cta__ttl {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.83;
  color: var(--color-brown-btn);
}

#Qa .p-cta__btn {
  margin-top: 25px;
}

#Qa .p-pagetop {
  position: relative;
  margin-top: -87px;
  padding-right: 175px;
  text-align: right;
}

/* ========================================
  レスポンシブ
======================================== */
@media screen and (max-width: 1023px) {
  #Qa .p-qa,
  #Qa .p-band__body {
    padding: 0 20px;
    box-sizing: border-box;
  }

  #Qa .p-band__q {
    left: 8px;
  }

  #Qa .p-band__ttl {
    left: 122px;
    font-size: 26px;
    white-space: normal;
  }

  #Qa .p-jump__list {
    flex-wrap: wrap;
    max-width: 440px;
  }

  #Qa .p-pagetop {
    padding-right: 20px;
  }

  #Qa .p-qa__qtxt .u-pc-only {
    display: none;
  }

  #Qa .p-cta__ttl {
    font-size: 26px;
  }
}

@media screen and (max-width: 600px) {
  #Qa .p-band--1::before {
    background-image: url("../img/qa/qa-category1-sp.jpg");
  }

  #Qa .p-band--2::before {
    background-image: url("../img/qa/qa-category2-sp.jpg");
  }

  #Qa .p-band--3::before {
    background-image: url("../img/qa/qa-category3-sp.jpg");
  }

  #Qa .p-band--4::before {
    background-image: url("../img/qa/qa-category4-sp.jpg");
  }

  #Qa main {
    --sp-gutter: 13px;
  }

  #Qa .p-lead {
    padding: 54px var(--sp-gutter) 48px;
    background: #fff url("../img/qa/qa-bg-sp.png") no-repeat center top / 100% auto;
  }

  #Qa .p-lead__logo {
    width: 102px;
  }

  #Qa .p-lead__ttl {
    margin-top: 44px;
    font-size: 20px;
    line-height: 2;
    text-align: left;
  }

  #Qa .p-lead__txt {
    margin-top: 34px;
    font-size: 14px;
    line-height: 2.14;
    text-align: left;
  }

  #Qa .p-lead__txt p {
    font-size: 14px;
    line-height: 2.14;
  }

  #Qa .p-lead__txt p + p {
    margin-top: 30px;
  }

  #Qa .p-jump {
    margin-top: 50px;
  }

  #Qa .p-jump__list {
    display: block;
    max-width: none;
  }

  #Qa .p-jump__item {
    width: auto;
  }

  #Qa .p-jump__item + .p-jump__item {
    margin-top: 20px;
  }

  #Qa .p-jump__link,
  #Qa a.p-jump__link:link,
  #Qa a.p-jump__link:visited {
    justify-content: flex-start;
    min-height: 60px;
    padding: 0 26px 0 10px;
    text-align: left;
  }

  #Qa .p-jump__link::before {
    left: 6px;
    top: 10px;
    width: 30px;
    height: 40px;
    margin-left: 0;
  }

  #Qa .p-jump__link::after {
    left: auto;
    right: 12px;
    width: 8px;
    height: 8px;
    margin-left: 0;
  }

  #Qa .p-jump__txt {
    font-size: 15px;
    line-height: 1.53;
    font-feature-settings: "palt";
  }

  #Qa .p-band__body {
    padding: 0;
  }

  #Qa .p-band__q {
    left: 50%;
    top: 43px;
    width: 54px;
    margin-left: -27px;
  }

  #Qa .p-band__ttl {
    left: 0;
    right: 0;
    top: 137px;
    padding-left: 0;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
  }

  #Qa .p-band .annotation,
  #Qa .p-band__cap {
    right: 10px;
    bottom: 10px;
  }

  #Qa .p-qa {
    padding: 0 var(--sp-gutter);
  }

  #Qa .p-qa__item {
    padding: 30px 0 30px;
  }

  #Qa .p-qa__item:first-child {
    padding-top: 52px;
  }

  #Qa .p-qa__icon {
    width: 40px;
    height: 40px;
  }

  #Qa .p-qa__icon--q img {
    width: 13.1px;
  }

  #Qa .p-qa__icon--a img {
    width: 14.3px;
  }

  #Qa .p-qa__qtxt {
    min-height: 40px;
    margin-left: 14px;
    padding-right: 36px;
    font-size: 18px;
    line-height: 1.56;
  }

  #Qa .p-qa__arrow {
    right: 12px;
    top: 20px;
    width: 8px;
    height: 8px;
  }

  #Qa .p-qa__ain,
  #Qa .p-qa__item--2 .p-qa__ain,
  #Qa #group3 .p-qa__item--2 .p-qa__ain,
  #Qa #group4 .p-qa__item--2 .p-qa__ain {
    padding-top: 23px;
  }

  #Qa .p-qa__atxt {
    margin-left: 15px;
    font-size: 14px;
    line-height: 1.7;
  }

  #Qa .p-qa__atxt p {
    font-size: 14px;
    line-height: 1.7;
  }

  #Qa .p-qa__note,
  #Qa .p-qa__small,
  #Qa .p-qa__atxt .p-qa__src {
    font-size: 10px;
    line-height: 2;
  }

  #Qa .p-qa__atxt .p-qa__src {
    margin-top: 10px;
    text-align: right;
  }

  /* 表：ラベルの下に内容を縦積み */
  #Qa .p-spec,
  #Qa .p-spec tbody,
  #Qa .p-spec tr,
  #Qa .p-spec th,
  #Qa .p-spec td {
    display: block;
  }

  /* 表と出典は、答えの文字の左側（アイコン分）まで広げる */
  #Qa .p-spec,
  #Qa .p-qa__atxt .p-spec__cap,
  #Qa .p-qa__atxt .p-qa__src {
    margin-left: -55px;
  }

  #Qa .p-spec {
    width: calc(100% + 55px);
    margin-top: 20px;
    font-size: 13.6px;
    line-height: 1.54;
  }

  #Qa .p-spec tr + tr {
    margin-top: 17px;
  }

  #Qa .p-spec th,
  #Qa .p-spec td {
    width: auto;
    height: auto;
    border-bottom: 0;
    text-align: center;
  }

  #Qa .p-spec th {
    padding: 4px 0;
    line-height: 1.6;
  }

  #Qa .p-spec td {
    padding: 9px 0 0;
  }

  #Qa .p-qa__atxt .p-spec__cap {
    text-align: center;
    margin-top: 24px;
    font-size: 13.6px;
    line-height: 1.54;
  }

  #Qa .p-qa__atxt .p-spec__cap + .p-spec {
    margin-top: 10px;
  }

  #Qa .p-more {
    margin-top: 20px;
    padding-bottom: 110px;
  }

  #Qa .p-more__txt {
    font-size: 18px;
    line-height: 1.56;
  }

  #Qa .p-card {
    width: 302px;
    margin-top: 14px;
  }

  #Qa .p-card__link {
    height: 121px;
  }

  #Qa .p-card__link .annotation {
    right: 8px;
    font-size: 6px;
    line-height: 1.5;
  }

  #Qa .p-card__en {
    font-size: 19.8px;
  }

  #Qa .p-card__ja {
    margin-top: 6px;
    font-size: 11px;
  }

  #Qa .p-card__label .c-btn {
    width: 165px;
    height: 24px;
    font-size: 11.6px;
  }

  #Qa .p-card__label .c-btn--gold::after {
    width: 12px;
    height: 12px;
    margin-left: 8px;
    background-size: 3.4px 4.8px;
  }

  #Qa .p-cta {
    padding: 46px var(--sp-gutter) 50px;
  }

  #Qa .p-cta__ttl {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: -0.02em;
  }

  #Qa .p-cta__btn {
    margin-top: 14px;
  }

  #Qa .p-pagetop {
    margin-top: 54px;
    padding: 0 9px 44px 0;
  }
}
