@charset "utf-8";

/* --------共通部分======== */
.kstyle_contact {
  padding:0 0 20rem 17.5rem;
  background-color: #CACACA;
}


/* --------トップ画像-------- */

.head_image {
  aspect-ratio: 1105/250;
  width: 100%;
}

.top_image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}


/* --------モデルハウスセクション-------- */

.model_house {
  margin: 6rem auto 0;
  padding: 0 8.7rem;
  width: 100%;
}

.section_title {
  font-family: var(--Asc);
  font-size: 3rem;
  line-height: 1em;
  font-weight: 500;
  text-align: center;
}

.reform_titlebox {
  font-family: var(--Shippori);
  font-size: 2rem;
  width: 93.1rem;
  height: 7.4rem;
  border: .1rem solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10rem auto 0;
  font-weight: bold;
}


/* --------ACF-------- */

.acf_contents{
  display: flex;
  flex-direction: column;
  gap: 10rem;
  margin-top: 10rem;
}

.reform_contents{
  width: 93.1rem;
  height: fit-content;
  display:flex;
  gap: 5.05rem;
  margin: 0 auto;
}

.reform_title_box{
  display: flex;
  column-gap: 2rem;
  align-items: center;
  height: fit-content;
}

.reform_number{
  font-family: var(--Asc);
  font-size: 3.5rem;
}

.reform_title{
  font-family: var(--Shippori);
  font-weight: bold;
  font-size: 2rem;
  line-height: 2.9rem;
}

.reform_address{
  font-size: 1.6rem;
  font-family: var(--NotoSans);
  line-height: 1.5em;
  margin-top: 2.3rem;
}

.reform_time{
  font-size: 1.6rem;
  font-family: var(--NotoSans);
  line-height: 1.5em;
  margin-top: 1.5rem;
}

.reform_button_wrapper{
  display: grid;
  grid-template-columns: 14.3rem 17.7rem;
  column-gap: 4rem;
  margin-top: 1.5rem;
}

.reform_map_button{
  width: 14.3rem;
  height: 3.5rem;
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: 1em;
  font-family: var(--Asc);
  font-weight: 400;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reform_tour_button{
  width: 17.7rem;
  height: 3.5rem;
  color: #FFFFFF;
  font-family: var(--NotoSans);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1em;
  background-color: #002C5E;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reform_line{
  width: 41.15rem;
  height: .1rem;
  background-color: #FFFFFF;
  margin-top: 2rem;
}

.reform_text{
  font-family: var(--NotoSans);
  font-size: 1.5rem;
  line-height: 2em;
  margin-top: 1.25rem;
}


.reform_images_field{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ----swiper---- */
.swiper{
  aspect-ratio: 465/261;
  width: 46.5rem;
  overflow: hidden;
  position: relative;
}

.swiper-wrapper{
  width:fit-content;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.swiper-slide{
  aspect-ratio: 465/261;
  width: 46.5rem;
  overflow: hidden;
}
/* 
.swiper-wrapper img{
  width: 46.5rem;
  height: 26.1rem;
  object-fit: cover;
} */


/* ----swiperページネーション---- */
.swiper-notification{
  position: absolute;
  width: 10rem;
  height: 10rem;
  background-color: #000000;
  z-index: 10;
}

.slider_controls_container {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  height: 3rem;
  align-items: center;
}

.works_slider_nav {
  display: flex;
}

/* ボタン */

.btn_prev, 
.btn_next {
  display: flex;
  padding: 0;
  background-color: #ffffff00;
  cursor: pointer;
  align-items: center;
}
/* サークル */
.btn_circle_box {
  width: 3rem;
  height: 3rem;
  border: 0.1rem solid #000000;
  border-radius: 50%;
}
/* 左矢印 */
.btn_prev:hover .prev_arrow_box {
  transform: translateX(-1.4rem);
}
.prev_arrow_box {
  position: relative;
  top: 0;
  right: 1rem;
  display: inline-block;
  width: 1.7rem;
  height: 0.1rem;
  margin: 0.29rem 0;
  border-radius: 999.9rem;
  background-color: #000000;
  transition: all .5s;
}
.prev_arrow_box::before,
.prev_arrow_box::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.05rem);
  left: 0;
  width: 0.5rem;
  height: 0.1rem;
  border-radius: 999.9rem;
  background-color: #000000;
  transform-origin: 0.05rem 50%;
}
.prev_arrow_box::before {
  transform: rotate(45deg);
}
.prev_arrow_box::after {
  transform: rotate(-45deg);
}

/* 右矢印 */
.btn_next:hover .next_arrow_box {
  transform: translateX(1.4rem);
}
.next_arrow_box {
  position: relative;
  top: 0;
  left: 1rem;
  display: inline-block;
  width: 1.7rem;
  height: 0.1rem;
  margin: 0.29rem 0;
  border-radius: 999.9rem;
  background-color: #000000;
  transition: all .5s;
}
.next_arrow_box::before,
.next_arrow_box::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.05rem);
  right: 0;
  width: 0.5rem;
  height: 0.1rem;
  border-radius: 999.9rem;
  background-color: #000000;
  transform-origin: calc(100% - 0.05rem) 50%;
}
.next_arrow_box::before {
  transform: rotate(45deg);
}
.next_arrow_box::after {
  transform: rotate(-45deg);
}

/* SLIDER-NAV */
.works_slider_pagination {
  position: relative;
  font-size: 1.5rem;
  display: flex;
  gap: 1.6rem;
  line-height: 3rem;
  color: #00000000;
  align-items: center;
}

.swiper-pagination-current,
.swiper-pagination-total{
  color: black;
}


.works_slider_pagination::after{
  content:"";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin:  auto;
  width: .2rem;
  height: 1.4rem;
  background-color: #000000;
}

/* --------連絡先の案内-------- */

.contactform_wrapper{
  margin: 10rem auto 0;
}
.contact_guidance{
  padding-top: 20rem;
}

.contact_guidance_text{
  margin: 9.3rem auto 0;
  font-size: 1.6rem;
  line-height: 3rem;
  width: 38rem;
  text-align: center;
  font-weight: 500;
}

.tel_text{
  display: inline;
  color: #002C5E;
}


/* --------コンタクトフォーム-------- */

.wp-block-contact-form-7-contact-form-selector{
  font-family: var(--NotoSans);
}

/* ----ラジオボタン---- */
.contact_radio_wrapper{
  background-color: #CFCFCF;
  width: 93.1rem;
  height: 30.4rem;
  padding: 4rem 16.5rem;
  margin: 0 auto;
  border: none;
}

.contact_radio_wrapper .wpcf7-form-control-wrap {
  display: block;
  margin-top: 2.4rem;
}

.contact_radio_wrapper .wpcf7-form-control{
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.radio_text{
  font-size: 1.5rem;
  font-weight: 400;
}

/* .contact_radio{
  display: flex;
  flex-direction: column;
} */

.wpcf7-list-item{
  margin: 0;
}

.wpcf7-list-item input[type=radio]{
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%); 
  margin: -1px;
}


.wpcf7-list-item-label{
  width: 60rem;
  height: 5.3rem;
  border-bottom: .1rem solid #FFFFFF;
  font-size: 1.5rem;
  display: flex;
  justify-content: start;
  align-items: center;
  column-gap: 2.2rem;
  position: relative;
}

.wpcf7-list-item-label::before{
  aspect-ratio: 1/1;
  content: "";
  width: 2rem;
  border: .1rem solid #000000;
  border-radius: 50%;
}

.wpcf7-list-item-label::after{
  content: "";
  width: 1.328rem;
  height: 1.106rem;
  background-image: url(../img/radio_button_checked.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: .3rem;
  opacity: 0;
}

.label_clicked::after {
  opacity:1;
}


/* ----テキストフォーム---- */
.contact_textform_wrapper{
  background-color: #CFCFCF;
  width: 93.1rem;
  height: 89.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 4rem 16.5rem;
  margin: 5rem auto 0;
}

.contact_textform{
  display: grid;
  grid-template-columns: 15.1rem 45rem;
}

.contact_labeltext{
  width: 15.1rem;
  height: 4.5rem;
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 1.5rem;
  font-family: var(--NotoSans);
}

.contact_textbox{
  width: 45rem;
  height: 4.5rem;
  background-color: #FFFFFF;
  font-size: 1.5rem;
  padding:0 3rem;
}

.contact_textarea{
  width: 45rem;
  height: 24rem;
  background-color: #FFFFFF;
  resize: none;
  padding: 1.2rem 3rem;
  font-size: 1.5rem;
  line-height: 2em;
}

.send_button{
  width: 11rem;
  height: 4rem;
  background-color: #002C5E;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin:.7rem auto 0;
}

.wpcf7-spinner{
  display: none;
}

.wpcf7-response-output{
  border-color: #CACACA !important;
  color: #dc3232;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  position: relative;
  left: 8.7rem;
}

@media screen and (max-width:699.98px) {
  /* --------共通部分======== */
  .kstyle_contact {
    padding:7rem 0 0;
  }


  /* --------トップ画像-------- */

  .head_image {
    aspect-ratio: 375/150;
  }


  /* --------モデルハウスセクション-------- */

  .model_house {
    margin: 2.5rem 0 0;
    padding: 0 1.5rem;
  }

  .reform_titlebox {
    width: 100%;
    height: 5rem;
    margin: 3rem auto 0;
  }


  /* --------ACF-------- */

  .acf_contents {
    gap: 7rem;
    margin-top: 3.8rem;
  }

  .reform_contents {
    width: 100%;
    height: fit-content;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
  }

  .reform_title_box {
    display: flex;
    align-items: center;
    height: fit-content;
  }

  .reform_time{
    font-size: 1.5rem;
  }

  .reform_address{
    margin-top: .8rem;
  }

  .reform_button_wrapper {
    display: flex;
    justify-content: space-between;
    gap: unset;
    margin-top: 1.5rem;
  }

  .reform_line {
    width: 100%;
  }

  .reform_text {
    margin-top: 2rem;
  }


  /* ----swiper---- */
  .swiper {
    aspect-ratio: 345/194;
    width: 100%;
  }

  .swiper-slide {
    aspect-ratio: 345/194;
    width: 34.5rem;
  }

  /* 
.swiper-wrapper img{
  width: 46.5rem;
  height: 26.1rem;
  object-fit: cover;
} */


  /* ----swiperページネーション---- */
  .swiper-notification {
    position: absolute;
    width: 10rem;
    height: 10rem;
    
    background-color: #000000;
    z-index: 10;
  }

  .slider_controls_container {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    height: 3rem;
    align-items: center;
  }

  .works_slider_nav {
    display: flex;
  }



  /* 左矢印 */
  .btn_prev:hover .prev_arrow_box {
    transform: translateX(-.71rem);
  }

  /* 右矢印 */
  .btn_next:hover .next_arrow_box {
    transform: translateX(.71rem);
  }

  /* --------連絡先の案内-------- */

  .contact_guidance {
    padding-top: 15rem;
  }

  .contact_guidance_text {
    margin: 2.5rem auto 0;
    font-size: 1.5rem;
    width: 26rem;
  }

  /* --------コンタクトフォーム-------- */
  .contactform_wrapper {
    margin: 5.1rem auto 0;
    padding-bottom: 15rem;
  }

  /* ----ラジオボタン---- */
  .contact_radio_wrapper {
    background-color: #CFCFCF;
    width: 100%;
    height: 25.4rem;
    padding: 1.5rem;
  }

  .wpcf7-list-item-label {
    width: 100%;
  }

  .wpcf7-list-item-label::after {
    left: .3rem;
  }


  /* ----テキストフォーム---- */
  .contact_textform_wrapper {
    background-color: #CFCFCF;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding:  1.5rem 1.5rem 4.5rem;
    margin: 10rem auto 0;
  }

  .contact_textform {
    display: block;
  }

  .contact_labeltext {
    width: 100%;
    height: fit-content;
  }

  .contact_textbox {
    width: 100%;
    padding: 1.2rem 1.5rem;
    margin-top: .9rem;
  }

  .contact_textarea {
    width:100%;
    padding: 1.2rem 1.5rem;
    margin-top: 1.4rem;
  }

  .send_button {
    margin: 2.3rem auto 0;
  }

  .wpcf7-spinner {
    display: none;
  }

  .wpcf7-response-output {
    border-color: #CACACA !important;
    color: #dc3232;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    position: relative;
    left: 8.7rem;
  }
}