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

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

****************/
/*bootstrapの設定を読み込み*/
/* 家づくり共通 */
p {
  line-height: 2.1;
}
section {
  position: relative;
}
.text-bold {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 600;
}
.text-semibold {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
}
.hiraya-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;
}
.eng-text {
  position: relative;
  font-size: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  color: #F0F0F0;
  font-weight: 600;
  margin-bottom: 0;
  transition: color 0.3s ease;
}
.eng-text span {
  background-color: #ffffff;
  padding-right: 15px;
  transition: background-color 0.3s ease;
}
.eng-text:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 2px;
  background-color: #F0F0F0;
}
h2.hiraya-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);
}
.section-margin-top {
  margin-top: clamp(3.75rem, calc(3.571428571428571vw + 2.9464285714285716rem), 5.625rem);
}
.hiraya-contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.hiraya-contact-icon {
  position: relative;
  z-index: 1;
}
.hiraya-contact-icon img {
  width: auto;
  height: 1.625rem;
}
.hiraya-contact-text-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hiraya-contact-text-wrap p {
  font-size: clamp(0.75rem, calc(0.2777777777777778vw + 0.6875rem), 0.875rem);
  font-weight: 500;
  margin-bottom: 0;
}
.hiraya-contact-text-wrap .btn-circle {
  position: relative;
  overflow: hidden;
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #8D1C17;
  border-radius: 50%;
  margin-right: 0;
  transition: 0.5s ease-in-out;
}
@media (min-width: 992px) {
  .hiraya-contact-text-wrap .btn-circle {
    width: 2rem;
    height: 2rem;
  }
}
.hiraya-contact-text-wrap .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: #8D1C17;
  transform: translate(-50%, -50%);
  transition: 0.5s ease-in-out;
}
.hiraya-contact-link {
  background-color: #E6E6E6;
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid #ffffff;
}
.hiraya-contact-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: #dddddd;
  transform: scaleX(0);
  transform-origin: left top;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.hiraya-contact-link:hover {
  color: #8D1C17;
}
.hiraya-contact-link:hover .btn-circle::before {
  animation: move-arrow-hiraya 0.8s linear;
}
@keyframes move-arrow-hiraya {
  /* 円の中（少し左寄り） */
  0% {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
  /* 右側の外にはみ出す位置 */
  45% {
    transform: translateY(-50%) translateX(60px);
    opacity: 1;
  }
  /* 一瞬で左外へワープ（見た目を自然にするなら透明に） */
  50% {
    transform: translateY(-50%) translateX(-60px);
    opacity: 0;
  }
  /* 左外からまた見えるようにする */
  55% {
    transform: translateY(-50%) translateX(-60px);
    opacity: 1;
  }
  /* 元の位置（円の中）に戻る */
  100% {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}
.hiraya-contact-link:hover:before {
  transform: scale(1);
}
.page-hiraya-title-wrap {
  position: relative;
  white-space: nowrap;
}
.page-hiraya-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-hiraya-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-hiraya-title-jp {
    font-size: clamp(1.125rem, calc(0.3225806451612903vw + 0.8669354838709677rem), 1.25rem);
  }
}
.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 {
  padding: 0 0 0 10px;
}
@media (min-width: 992px) {
  .merit-demerit > div:last-child {
    padding: 0 0 0 10px;
  }
}
.merit-demerit > div:last-child h3 {
  font-size: clamp(0.75rem, calc(0.2597402597402597vw + 0.6915584415584416rem), 1rem);
  font-weight: 600;
  line-height: 1;
}
.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;
  }
}
ul.index-list {
  list-style: decimal;
  padding-left: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem);
  padding-right: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem);
  padding-top: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem);
  padding-bottom: clamp(1.25rem, calc(0vw + 1.25rem), 1.25rem);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1200px) {
  ul.index-list {
    width: fit-content;
  }
}
ul.index-list li {
  font-size: clamp(0.75rem, calc(0.2597402597402597vw + 0.6915584415584416rem), 1rem);
  color: #8D1C17;
  line-height: 2;
}
ul.index-list li span {
  color: #010101;
}
.text-anxiety {
  width: fit-content;
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  padding-left: clamp(0.3125rem, calc(0.974025974025974vw + 0.09334415584415584rem), 1.25rem);
  padding-right: clamp(0.3125rem, calc(0.974025974025974vw + 0.09334415584415584rem), 1.25rem);
  padding-top: clamp(0.4375rem, calc(0.8441558441558441vw + 0.24756493506493507rem), 1.25rem);
  padding-bottom: clamp(0.4375rem, calc(0.8441558441558441vw + 0.24756493506493507rem), 1.25rem);
  background-color: #F0F0F0;
  border-radius: 10px;
  margin: 0;
}
.hiraya-case {
  margin-top: clamp(5.625rem, calc(1.948051948051948vw + 5.186688311688312rem), 7.5rem);
  position: relative;
}
.hiraya-case .hiraya-titlebox {
  position: absolute;
  top: -20px;
  left: 0;
  display: flex;
  gap: .25rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hiraya-case .hiraya-titlebox {
    gap: .5rem;
  }
}
.hiraya-case .hiraya-titlebox .case-num {
  font-size: clamp(1rem, calc(2.207792207792208vw + 0.5032467532467533rem), 3.125rem) !important;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0;
}
.hiraya-case .hiraya-titlebox h3 {
  font-size: clamp(0.75rem, calc(0.5194805194805194vw + 0.6331168831168831rem), 1.25rem) !important;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  background-color: #010101;
  padding-left: clamp(0.3125rem, calc(0.6493506493506493vw + 0.16639610389610388rem), 0.9375rem) !important;
  padding-right: clamp(0.3125rem, calc(0.6493506493506493vw + 0.16639610389610388rem), 0.9375rem) !important;
  padding-top: clamp(0.4375rem, calc(0.19480519480519481vw + 0.39366883116883117rem), 0.625rem) !important;
  padding-bottom: clamp(0.4375rem, calc(0.19480519480519481vw + 0.39366883116883117rem), 0.625rem) !important;
}
.graybox-s {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  padding-left: clamp(0.3125rem, calc(0vw + 0.3125rem), 0.3125rem);
  padding-right: clamp(0.3125rem, calc(0vw + 0.3125rem), 0.3125rem);
  padding-top: clamp(0.4375rem, calc(0.19480519480519481vw + 0.39366883116883117rem), 0.625rem);
  padding-bottom: clamp(0.4375rem, calc(0.19480519480519481vw + 0.39366883116883117rem), 0.625rem);
  margin-top: clamp(0.9375rem, calc(0.3246753246753247vw + 0.864448051948052rem), 1.25rem);
  background-color: #F0F0F0;
}
span[style*="text-decoration: underline"] {
  display: inline-block;
  margin-top: clamp(0.9375rem, calc(0.3246753246753247vw + 0.864448051948052rem), 1.25rem);
  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;
}
span[style*="text-decoration: underline"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 30%;
  background: #F0F0F0;
  z-index: -1;
}
.plan-img-wrap {
  position: relative;
}
.plan-img-wrap p {
  width: 100%;
  font-size: clamp(1rem, calc(0.2597402597402597vw + 0.9415584415584416rem), 1.25rem);
  font-weight: 500;
  text-align: center;
  line-height: 1;
  color: #ffffff;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}
.plan-img-wrap:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  inset: 0;
  transition: 0.5s ease-in-out;
  z-index: 1;
}
.plan-img-wrap:hover:before {
  background-color: rgba(0, 0, 0, 0);
}
.plan-type {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 600;
  text-align: center;
  display: block;
  width: 100px;
  padding: 5px;
  margin-top: clamp(2.5rem, calc(1.2987012987012987vw + 2.207792207792208rem), 3.75rem);
  margin-bottom: clamp(0.9375rem, calc(0.3246753246753247vw + 0.864448051948052rem), 1.25rem);
  background-color: #F0F0F0;
}
@media (min-width: 992px) {
  .plan-type {
    width: 120px;
    padding: 15px;
  }
}
img.plan-image {
  display: block;
  cursor: pointer;
}
img.plan-ex {
  display: block;
  margin-top: 20px;
}
@media (min-width: 992px) {
  img.plan-ex {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
  }
}
.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.plan-check {
  width: fit-content;
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
.graybox ul.plan-check li {
  font-size: clamp(0.75rem, calc(0.2597402597402597vw + 0.6915584415584416rem), 1rem) !important;
  font-weight: 500;
  line-height: 180%;
  margin-bottom: 0;
}
.graybox ul.plan-check li:before {
  font-weight: bold;
  line-height: 100%;
  content: "✓";
  display: inline-block;
  margin-right: 10px;
}
.graybox ul.plan-check li:last-child {
  margin-bottom: 0;
}
.page-hiraya-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-hiraya-title-left {
    margin-left: 0;
  }
}
.page-hiraya-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-hiraya-title-jp-left {
    font-size: clamp(1.125rem, calc(0.3225806451612903vw + 0.8669354838709677rem), 1.25rem);
  }
}
.other-works {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}
.other-works img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.other-works .detail {
  width: calc(100% - 20px);
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}
.other-works .detail h3 {
  font-size: clamp(0.625rem, calc(0.38961038961038963vw + 0.5373376623376623rem), 1rem);
  font-weight: 500;
  line-height: 1.8;
  color: #ffffff;
  margin: 0;
  z-index: 3;
  pointer-events: none;
}
.other-works::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}
