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

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

****************/
/*bootstrapの設定を読み込み*/
/* 家づくり共通 */
p {
  line-height: 2.1;
}
section {
  position: relative;
}
.text-semibold {
  font-weight: 500;
}
.blog-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);
}
.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;
}
.upper-day {
  font-size: clamp(0.625rem, calc(0.38961038961038963vw + 0.5373376623376623rem), 1rem);
  line-height: 1;
  display: inline-block;
  margin-right: 10px;
}
.upper-category {
  font-size: clamp(0.625rem, calc(0.38961038961038963vw + 0.5373376623376623rem), 1rem);
  color: #ffffff;
  line-height: 1;
  display: inline-block;
  padding: 4px 20px;
  background-color: #8D1C17;
  border-radius: 20px;
}
.categorybox {
  position: sticky;
  top: 40px;
}
li.categories {
  font-size: clamp(0.875rem, calc(0.7792207792207793vw + 0.6996753246753247rem), 1.625rem);
  font-weight: 600;
  display: inline-block;
  list-style: none;
}
li.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  flex-direction: row;
  padding-left: 0;
  margin-top: clamp(0.9375rem, calc(0.5952380952380952vw + 0.8035714285714286rem), 1.25rem);
  margin-bottom: clamp(1.875rem, calc(1.1904761904761905vw + 1.6071428571428572rem), 2.5rem);
}
@media (min-width: 768px) {
  li.categories ul {
    gap: 1.4rem;
    flex-direction: column;
  }
}
li.categories ul li {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
}
li.categories ul a {
  display: block;
  padding: 7px 13px;
  line-height: 1;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: background-color 0.4s ease;
}
@media (min-width: 768px) {
  li.categories ul a {
    padding: 9px 15px;
    border: none;
  }
}
li.categories ul .current-cat a {
  background-color: #F0F0F0;
}
select {
  vertical-align: middle;
  width: 100%;
  height: 30px;
  padding: 5px 10px;
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  color: #000000;
  background: #E5E4E3;
  border: none;
  margin-bottom: clamp(1.875rem, calc(1.1904761904761905vw + 1.6071428571428572rem), 2.5rem);
}
@media (min-width: 768px) {
  select {
    width: auto;
    height: 50px;
  }
}
li.cat-item {
  display: inline-block;
  list-style: none;
}
li.cat-item span {
  color: #010101;
}
li.current-cat {
  list-style: disc;
  color: #8D1C17;
}
li.current-cat span {
  color: #010101;
}
h2.blog-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-round {
  padding-top: clamp(1.875rem, calc(3.2467532467532463vw + 1.1444805194805197rem), 5rem);
  padding-bottom: clamp(1.875rem, calc(3.2467532467532463vw + 1.1444805194805197rem), 5rem);
  padding-left: clamp(1.25rem, calc(2.5974025974025974vw + 0.6655844155844155rem), 3.75rem);
  padding-right: clamp(1.25rem, calc(2.5974025974025974vw + 0.6655844155844155rem), 3.75rem);
  background-color: #ffffff;
  border-radius: 10px;
  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;
}
.post-staff-box {
  padding-top: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  padding-bottom: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  padding-left: clamp(1.25rem, calc(2.5974025974025974vw + 0.6655844155844155rem), 3.75rem);
  padding-right: clamp(1.25rem, calc(2.5974025974025974vw + 0.6655844155844155rem), 3.75rem);
  background-color: #F0F0F0;
  margin-bottom: clamp(1.25rem, calc(2.7777777777777777vw + 0.625rem), 2.5rem);
}
.post-staff-box .post-staff-thumb {
  width: 100px;
  display: block;
  margin: 20px auto;
}
@media (min-width: 768px) {
  .post-staff-box .post-staff-thumb {
    width: 140px;
  }
}
@media (min-width: 992px) {
  .post-staff-box .post-staff-thumb {
    width: 190px;
  }
}
.post-staff-box .post-staff-thumb img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid #ffffff;
}
.post-staff-box .post-staff-detail {
  text-align: center;
}
@media (min-width: 768px) {
  .post-staff-box .post-staff-detail {
    text-align: left;
  }
}
.page-blog-title-wrap {
  position: relative;
  white-space: nowrap;
}
.page-blog-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-blog-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-blog-title-jp {
    font-size: clamp(1.125rem, calc(0.3225806451612903vw + 0.8669354838709677rem), 1.25rem);
  }
}
.page-blog-title-left {
  font-size: clamp(1.75rem, calc(3.0555555555555554vw + 1.0625rem), 3.125rem);
  margin-bottom: clamp(1.25rem, calc(2.7777777777777777vw + 0.625rem), 2.5rem);
  font-weight: 600;
  line-height: 1;
  color: #F0F0F0;
  position: relative;
}
@media (min-width: 768px) {
  .page-blog-title-left {
    margin-left: 0;
  }
}
.page-blog-title-jp-left {
  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: 5%;
}
@media (min-width: 992px) {
  .page-blog-title-jp-left {
    font-size: clamp(1.125rem, calc(0.3225806451612903vw + 0.8669354838709677rem), 1.25rem);
  }
}
.blog-content a {
  color: #8D1C17;
}
.blog-content #ez-toc-container {
  padding-left: clamp(0.9375rem, calc(2.272727272727273vw + 0.42613636363636365rem), 3.125rem);
  padding-right: clamp(0.9375rem, calc(2.272727272727273vw + 0.42613636363636365rem), 3.125rem);
  padding-top: clamp(0.9375rem, calc(1.6233766233766231vw + 0.5722402597402598rem), 2.5rem);
  padding-bottom: clamp(0.9375rem, calc(1.6233766233766231vw + 0.5722402597402598rem), 2.5rem);
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  border-top: 4px solid #25343e;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-left: none;
  border-right: none;
  border-bottom: none;
  background-color: #ffffff;
}
.self-written {
  position: relative;
  color: #ffffff;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: clamp(0.9375rem, calc(0.3246753246753247vw + 0.864448051948052rem), 1.25rem);
}
.self-written .blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.self-written .detail {
  width: calc(100% - 20px);
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}
.self-written .detail .day {
  font-size: clamp(0.5rem, calc(0.5194805194805194vw + 0.38311688311688313rem), 1rem);
  margin-right: 10px;
}
.self-written .detail .category {
  font-size: clamp(0.5rem, calc(0.5194805194805194vw + 0.38311688311688313rem), 1rem);
  display: inline-block;
  padding: 1px 10px;
  background-color: #8D1C17;
  border-radius: 20px;
}
.self-written .detail h3 {
  font-size: clamp(0.5rem, calc(0.5194805194805194vw + 0.38311688311688313rem), 1rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}
.self-written .no-staff,
.self-written .staff-img {
  width: 26%;
  position: absolute;
  right: 10px;
  bottom: 30px;
  z-index: 2;
}
@media (min-width: 992px) {
  .self-written .no-staff,
  .self-written .staff-img {
    right: 20px;
  }
}
.self-written .no-staff img,
.self-written .staff-img img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid #ffffff;
}
@media (min-width: 992px) {
  .self-written .no-staff img,
  .self-written .staff-img img {
    border: 5px solid #ffffff;
  }
}
.self-written::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}
.swiper-slide {
  display: block !important;
}
.img-blog {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
}
.blog-inner {
  position: relative;
  color: #ffffff;
  overflow: hidden;
}
.blog-inner .detail {
  width: 64%;
  position: absolute;
  bottom: 30px;
  left: 10px;
  z-index: 2;
}
@media (min-width: 992px) {
  .blog-inner .detail {
    width: calc(70% - 10px);
    padding-right: 15px;
    left: 20px;
  }
}
.blog-inner .detail .day {
  font-size: clamp(0.625rem, calc(0.38961038961038963vw + 0.5373376623376623rem), 1rem);
  margin-right: 10px;
}
.blog-inner .detail .category {
  font-size: clamp(0.625rem, calc(0.38961038961038963vw + 0.5373376623376623rem), 1rem);
  display: inline-block;
  padding: 1px 10px;
  background-color: #8D1C17;
  border-radius: 20px;
}
.blog-inner .detail h3 {
  font-size: clamp(0.75rem, calc(0.5194805194805194vw + 0.6331168831168831rem), 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}
.blog-inner .no-staff,
.blog-inner .staff-img {
  width: 26%;
  position: absolute;
  right: 10px;
  bottom: 30px;
  z-index: 2;
}
@media (min-width: 992px) {
  .blog-inner .no-staff,
  .blog-inner .staff-img {
    right: 20px;
  }
}
.blog-inner .no-staff img,
.blog-inner .staff-img img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid #ffffff;
}
@media (min-width: 992px) {
  .blog-inner .no-staff img,
  .blog-inner .staff-img img {
    border: 5px solid #ffffff;
  }
}
.blog-inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 20px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  z-index: 1;
}
