/****************

master.cssは編集不可！！
LESSファイルを編集すること！

****************/
/*bootstrapの設定を読み込み*/
/* 家づくり共通 */
p {
  line-height: 2.1;
}
section {
  position: relative;
}
.text-semibold {
  font-weight: 500;
}
.guide-text {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
}
.spec-pc-small {
  font-size: clamp(0.75rem, calc(0.2777777777777778vw + 0.6875rem), 0.875rem);
}
.small-text {
  font-size: clamp(0.625rem, calc(0.5555555555555556vw + 0.5rem), 0.875rem);
}
.question_l {
  font-size: clamp(1rem, calc(1.1111111111111112vw + 0.75rem), 1.5rem);
  font-weight: 600;
}
.text-red {
  color: #8D1C17;
}
.sp-center {
  text-align: center;
}
@media (min-width: 768px) {
  .sp-center {
    text-align: left;
  }
}
.btn-wrap-l,
.btn-wrap-r,
.btn-wrap-c {
  width: fit-content;
  margin-top: clamp(2.5rem, calc(2.7777777777777777vw + 1.875rem), 3.75rem);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px) {
  .btn-wrap-l {
    margin-left: 0;
  }
}
@media (min-width: 992px) {
  .btn-wrap-r {
    margin-right: 0;
  }
}
.more-btn {
  display: flex;
  align-items: center;
}
.more-btn p {
  font-size: clamp(0.875rem, calc(0.5555555555555556vw + 0.75rem), 1.125rem);
  font-weight: 500;
  margin: 0;
}
.btn-circle {
  position: relative;
  display: block;
  width: 2rem;
  height: 2rem;
  border: 1px solid #010101;
  border-radius: 50%;
  margin-right: 1rem;
  transition: 0.5s ease-in-out;
}
@media (min-width: 992px) {
  .btn-circle {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.btn-circle::before {
  content: "";
  width: .5rem;
  height: .5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  clip-path: polygon(0 45%, 85% 45%, 50% 0, 60% 0, 100% 50%, 60% 100%, 50% 100%, 85% 55%, 0 55%);
  background-color: #010101;
  transform: translate(-50%, -50%);
  transition: 0.5s ease-in-out;
}
.btn-wrap-l:hover .btn-circle,
.btn-wrap-r:hover .btn-circle,
.btn-wrap-c:hover .btn-circle {
  border: 1px solid #606060;
  background-color: #606060;
}
.btn-wrap-l:hover .btn-circle::before,
.btn-wrap-r:hover .btn-circle::before,
.btn-wrap-c:hover .btn-circle::before {
  background-color: #fff;
}
h2.guide-tit {
  font-size: clamp(0.875rem, calc(0.7792207792207793vw + 0.6996753246753247rem), 1.625rem);
  font-weight: 600;
  margin-bottom: clamp(1.25rem, calc(1.1904761904761905vw + 0.9821428571428572rem), 1.875rem);
}
.white-content {
  padding-top: clamp(1.875rem, calc(1.948051948051948vw + 1.4366883116883118rem), 3.75rem);
  padding-bottom: clamp(1.875rem, calc(1.948051948051948vw + 1.4366883116883118rem), 3.75rem);
  padding-left: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  padding-right: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  background-color: #ffffff;
  position: relative;
  margin-bottom: clamp(1.875rem, calc(3.571428571428571vw + 1.0714285714285716rem), 3.75rem);
}
.white-content-archive {
  padding-top: clamp(0.625rem, calc(0.6493506493506493vw + 0.4788961038961039rem), 1.25rem);
  padding-bottom: clamp(0.625rem, calc(0.6493506493506493vw + 0.4788961038961039rem), 1.25rem);
  padding-left: clamp(0.625rem, calc(0.6493506493506493vw + 0.4788961038961039rem), 1.25rem);
  padding-right: clamp(0.625rem, calc(0.6493506493506493vw + 0.4788961038961039rem), 1.25rem);
  background-color: #ffffff;
  position: relative;
  margin-bottom: clamp(1.875rem, calc(3.571428571428571vw + 1.0714285714285716rem), 3.75rem);
}
.section-margin-top {
  margin-top: clamp(3.75rem, calc(3.571428571428571vw + 2.9464285714285716rem), 5.625rem);
}
.pagenavi {
  text-align: center;
  margin-top: clamp(2.5rem, calc(2.380952380952381vw + 1.9642857142857144rem), 3.75rem);
  margin-bottom: clamp(2.5rem, calc(2.380952380952381vw + 1.9642857142857144rem), 3.75rem);
}
.pagenavi .page-numbers {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #000;
  display: inline-grid;
  background: #ffffff;
  place-items: center;
  margin-left: clamp(0.125rem, calc(0.9523809523809524vw + -0.0892857142857143rem), 0.625rem);
  margin-right: clamp(0.125rem, calc(0.9523809523809524vw + -0.0892857142857143rem), 0.625rem);
}
@media (min-width: 992px) {
  .pagenavi .page-numbers {
    width: 50px;
    height: 50px;
  }
}
.pagenavi .dots,
.pagenavi .prev,
.pagenavi .next {
  background-color: transparent;
}
.pagenavi .prev,
.pagenavi .next {
  width: auto;
}
.pagenavi .current {
  font-weight: 500;
  border: none;
  background: #8D1C17;
  color: #ffffff;
}
.guide-img-wrap {
  width: 100%;
  aspect-ratio: 1.61538462;
}
.guide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-guide-title-wrap {
  position: relative;
  white-space: nowrap;
}
.page-guide-title {
  font-size: clamp(1.75rem, calc(3.0555555555555554vw + 1.0625rem), 3.125rem);
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  width: fit-content;
  position: relative;
  margin-right: auto;
  margin-left: auto;
}
.page-guide-title-jp {
  font-size: clamp(0.75rem, calc(0.8333333333333334vw + 0.5625rem), 1.125rem);
  margin-bottom: 0;
  font-weight: 500;
  color: #010101;
  line-height: 1;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
@media (min-width: 992px) {
  .page-guide-title-jp {
    font-size: clamp(1.125rem, calc(0.3225806451612903vw + 0.8669354838709677rem), 1.25rem);
  }
}
.question-text {
  font-size: clamp(1.75rem, calc(3.0555555555555554vw + 1.0625rem), 3.125rem);
  margin-bottom: clamp(0.9375rem, calc(2.083333333333333vw + 0.46875rem), 1.875rem);
  font-weight: 600;
  line-height: 1;
  color: #F0F0F0;
  position: relative;
}
@media (min-width: 768px) {
  .question-text {
    margin-left: 0;
  }
}
.guide-content {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
}
.guide-content h2 {
  font-size: clamp(0.875rem, calc(0.38961038961038963vw + 0.7873376623376623rem), 1.25rem);
  margin-top: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  margin-bottom: clamp(0.9375rem, calc(0.974025974025974vw + 0.7183441558441559rem), 1.875rem);
  font-weight: 600;
}
.guide-content a {
  color: #8D1C17;
}
.guide-content span[style*="text-decoration: underline"] {
  display: inline-block;
  margin-top: clamp(0.9375rem, calc(0.974025974025974vw + 0.7183441558441559rem), 1.875rem);
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 600;
  color: #8D1C17;
  text-decoration: none!important;
  position: relative;
  z-index: 1;
}
.guide-content span[style*="text-decoration: underline"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: #F0F0F0;
  z-index: -1;
}
.merit-demerit {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
  margin-top: clamp(1.875rem, calc(0.6493506493506493vw + 1.728896103896104rem), 2.5rem);
  margin-bottom: clamp(0.625rem, calc(0.3246753246753247vw + 0.551948051948052rem), 0.9375rem);
}
.merit-demerit > div:first-child {
  width: fit-content;
  font-size: clamp(0.625rem, calc(0.2597402597402597vw + 0.5665584415584416rem), 0.875rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
  padding: 4px 4px 4px 6px;
  background-color: #8D1C17;
  border-radius: 20px;
}
.merit-demerit > div:first-child span.num {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  font-size: clamp(0.75rem, calc(0.2597402597402597vw + 0.6915584415584416rem), 1rem);
  color: #8D1C17;
  background-color: #ffffff;
  border-radius: 50%;
  margin-left: 5px;
}
.merit-demerit > div:last-child {
  width: 100%;
  font-size: clamp(0.75rem, calc(0.2597402597402597vw + 0.6915584415584416rem), 1rem);
  font-weight: 600;
  line-height: 1;
  padding: 10px 10px 10px 0;
}
@media (min-width: 992px) {
  .merit-demerit > div:last-child {
    width: calc(100% - 100px);
    padding: 0 0 0 10px;
  }
}
.index-wrap {
  margin-top: clamp(1.875rem, calc(-1.948051948051948vw + 2.313311688311688rem), 0rem);
  margin-bottom: clamp(1.875rem, calc(-1.948051948051948vw + 2.313311688311688rem), 0rem);
  padding-top: clamp(1.875rem, calc(0.6493506493506493vw + 1.728896103896104rem), 2.5rem);
  padding-bottom: clamp(1.875rem, calc(0.6493506493506493vw + 1.728896103896104rem), 2.5rem);
  padding-left: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem);
  padding-right: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem);
  background-color: #F0F0F0;
}
@media (min-width: 1200px) {
  .index-wrap {
    margin-top: 0;
    position: sticky;
    top: 30px;
  }
}
#ez-toc-container {
  padding-left: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem) !important;
  padding-right: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem) !important;
  padding-top: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem) !important;
  padding-bottom: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem) !important;
  margin-bottom: 0!important;
  width: 100%!important;
  margin-left: auto!important;
  margin-right: auto!important;
  border: none!important;
  background-color: transparent!important;
  box-shadow: none!important;
}
#ez-toc-container .ez-toc-title {
  display: none!important;
}
#ez-toc-container .ez-toc-list {
  font-size: clamp(0.75rem, calc(0.2597402597402597vw + 0.6915584415584416rem), 1rem) !important;
}
.red-circle {
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  line-height: 1;
  background: #8D1C17;
  border-radius: 50%;
  margin-right: .5rem;
}
@media (min-width: 768px) {
  .red-circle {
    width: 26px;
    height: 26px;
  }
}
.graybox {
  padding-left: clamp(0.625rem, calc(1.2987012987012987vw + 0.33279220779220775rem), 1.875rem);
  padding-right: clamp(0.625rem, calc(1.2987012987012987vw + 0.33279220779220775rem), 1.875rem);
  padding-top: clamp(0.625rem, calc(1.2987012987012987vw + 0.33279220779220775rem), 1.875rem);
  padding-bottom: clamp(0.625rem, calc(1.2987012987012987vw + 0.33279220779220775rem), 1.875rem);
  margin-bottom: clamp(0.9375rem, calc(0.3246753246753247vw + 0.864448051948052rem), 1.25rem);
  background-color: #F0F0F0;
}
.graybox ul {
  margin-bottom: 0;
}
.graybox ul li {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  color: #8D1C17;
}
.graybox ul li span {
  color: #010101;
}
.graybox ul li:last-child {
  margin-bottom: 0;
}
.flex-calc {
  display: flex;
}
.flex-calc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.flex-calc > div {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  width: 70px;
  font-weight: 500;
  text-align: center;
  padding-left: clamp(0.3125rem, calc(0.3246753246753247vw + 0.23944805194805194rem), 0.625rem);
  padding-right: clamp(0.3125rem, calc(0.3246753246753247vw + 0.23944805194805194rem), 0.625rem);
  padding-top: clamp(0.3125rem, calc(0.6493506493506493vw + 0.16639610389610388rem), 0.9375rem);
  padding-bottom: clamp(0.3125rem, calc(0.6493506493506493vw + 0.16639610389610388rem), 0.9375rem);
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .flex-calc > div {
    width: 140px;
  }
}
@media (min-width: 992px) {
  .flex-calc > div {
    width: 160px;
  }
}
.flex-calc > div span {
  font-size: 140%;
  display: block;
}
@media (min-width: 768px) {
  .flex-calc > div span {
    display: initial;
  }
}
.flex-calc > div:nth-child(2n) {
  width: 25px;
  background-color: transparent;
}
@media (min-width: 768px) {
  .flex-calc > div:nth-child(2n) {
    width: 30px;
  }
}
@media (min-width: 992px) {
  .flex-calc > div:nth-child(2n) {
    width: 40px;
  }
}
.total-calc {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  width: 70px;
  font-weight: 500;
  color: #8D1C17;
  text-align: center;
  padding-left: clamp(0.3125rem, calc(0.3246753246753247vw + 0.23944805194805194rem), 0.625rem);
  padding-right: clamp(0.3125rem, calc(0.3246753246753247vw + 0.23944805194805194rem), 0.625rem);
  padding-top: clamp(0.3125rem, calc(0.6493506493506493vw + 0.16639610389610388rem), 0.9375rem);
  padding-bottom: clamp(0.3125rem, calc(0.6493506493506493vw + 0.16639610389610388rem), 0.9375rem);
  background-color: #ffffff;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .total-calc {
    width: 140px;
  }
}
@media (min-width: 992px) {
  .total-calc {
    width: 160px;
  }
}
.total-calc span {
  font-size: 140%;
  display: block;
}
@media (min-width: 768px) {
  .total-calc span {
    display: initial;
  }
}
.under-gray {
  color: #8D1C17;
  background: linear-gradient(to bottom, transparent 0%, transparent 60%, #F0F0F0 60%, #F0F0F0 100%);
}
