@charset "UTF-8";

/*****************************
  pagecommon
*****************************/
.pagesec{
  padding-top: 8rem;
}
.pagesec:last-of-type{
  padding-bottom: 8rem;
}

.page-404 .txt{
  text-align: center;
}
.page-404 .morebtn1{
  margin: 3rem auto 0;
  max-width: 300px;
}

@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .pagesec{
    padding-top: 6rem;
  }
  .pagesec:last-of-type{
    padding-bottom: 6rem;
  }

  .page-404 .txt{
    text-align: left;
  }
}

/*****************************
  pagehead
*****************************/
.pagehead{
  position: relative;
}
.pagehead::before{
  content: "";
  background: rgba(255, 255, 255, .6);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.pagehead-bg{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
}
.pagehead-bg.phcmn{
  background-image: url(../images/head/head_cmn.webp) ;
  background-position: bottom;
}
.head-renovation .phcmn{
  background: url(../images/head/head_renovation.webp) no-repeat center / cover;
}
.head-exterior .phcmn{
  background: url(../images/head/head_exterior.webp) no-repeat center / cover;
}
.head-painting .phcmn{
  background: url(../images/head/head_painting.webp) no-repeat center / cover;
}
.head-building .phcmn{
  background: url(../images/head/head_building.webp) no-repeat center / cover;
}
.head-regeneration .phcmn{
  background: url(../images/head/head_regeneration.webp) no-repeat center / cover;
}
.phinner{
  height: 100%;
  position: relative;
}
.pagehead-ttl{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.pagehead-ttl .ttl{
  color: #009BA3;
  font-size: 4rem;
  font-weight: 600;
}
.pagehead-ttl .ttl span{
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: 1rem;
}
.cmn-breadcrumb{
  background: #009BA3;
  color: #fff;
  position: relative;
}
.cmn-breadcrumb a{
  color: #fff;
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .pagehead-bg{
    height: 300px;
  }
  .pagehead-ttl {
    top: 60%;
  }
  .pagehead-ttl .ttl{
    font-size: 2.4rem;
  }
  .pagehead-ttl .ttl span{
    font-size: 2rem;
    display: block;
    line-height: 1;
  }
  .cmn-breadcrumb a,
  .cmn-breadcrumb span{
    font-size: 1.4rem;
  }
}

/*****************************
  parts worklistスライダー
*****************************/
.pagesec .wlist-slider{
  margin-top: 4rem;
}
.pagesec .wlist-slider li{
  padding: .5rem;
}
.pagesec .wlist-slider li a{
  opacity: 1;
}
.pagesec .wlist-slider li .imgbox{
  border: 1px solid #ccc;
  overflow: hidden;
  margin-bottom: .5rem;
}
.pagesec .wlist-slider li .imgbox img{
  aspect-ratio: 3/2;
  object-fit: cover;
  height: auto;
  width: 100%;
  transition: .5s;
}
.pagesec .wlist-slider li .cat span{
  background: #009BA3;
  border-radius: 3px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.4;
  padding: .3rem 1rem;
}
.pagesec .wlist-slider li a:hover img{
  transform: scale(1.3);
}
.pagesec .wlist-slider .slick-prev,
.pagesec .wlist-slider .slick-next{
  height: 30px;
  width: 30px;
}
.pagesec .wlist-slider .slick-prev:before,
.pagesec .wlist-slider .slick-next:before{
  color: #009BA3;
  font: var(--fa-font-solid);
  font-size: 30px;
  opacity: 1;
}
.pagesec .wlist-slider .slick-prev:before{
  content: "\f053";
}
.pagesec .wlist-slider .slick-next:before{
  content: "\f054";
}

@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1140px) {
  .pagesec .wlist-slider{
    padding:  0 1rem;
  }
  .pagesec .wlist-slider .slick-prev {
    left: -15px;
  }
  .pagesec .wlist-slider .slick-next {
    right: -15px;
  }
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .pagesec .wlist-slider{
    padding: 0 .5rem;
  }
  .pagesec .wlist-slider .slick-prev,
  .pagesec .wlist-slider .slick-next{
    height: 25px;
    width: 25px;
  }
  .pagesec .wlist-slider .slick-prev {
    left: -15px;
    z-index: 1;
  }
  .pagesec .wlist-slider .slick-next {
    right: -15px;
  }
  .pagesec .wlist-slider .slick-prev:before,
  .pagesec .wlist-slider .slick-next:before{
    font-size: 25px;
  }
  .pagesec .wlist-slider li .cat span{
    display: inline-block;
    font-size: 1.3rem;
    padding: .3rem .5rem;
  }
}

/*****************************
  parts pagination
*****************************/
.pagination{
  margin-top: 5rem;
  text-align: center;
}
.page-numbers{
  border: 1px solid #009BA3;
  padding: .2rem .8rem;
  margin-right: .5rem;
}
.page-numbers.current,
.page-numbers:hover{
  background: #009BA3;
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}
.page-numbers.next,
.page-numbers.prev{
  border: none;
  padding: 0;
}
.page-numbers.next{
  margin: 0;
}
.page-numbers.dots{
  border: none;
  color: #333;
  font-weight: bold;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.pager{
  margin: 3rem auto 0;
  max-width: 330px;
  text-align: center;
}
.pager li{
  margin: 0 .5rem;
  width: 65px;
}
.pager li.all{
  width: 67px;
}
.pager a{
  border-bottom: 1px solid #009BA3;
  display: inline-block;
  font-size: 1.5rem;
  opacity: 1 !important;
  padding: 0rem 1rem;
  transition: .5s;
}
.pager a:hover{
  background: #009BA3;
  color: #fff;
}

/*****************************
  archive information
*****************************/
.page-archive .newslist li{
  margin-bottom: 2rem;
}
.page-archive .newslist li a{
  border-bottom: 2px solid #ccc;
  display: block;
  opacity: 1;
  padding: .5rem ;
  position: relative;
}
.page-archive .newslist li a::before{
  content: "";
  background: #009BA3;
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 100px;
  transition: .5s;
}
.page-archive .newslist li a:hover::before{
  width: 100%;
}
.page-archive .newslist li a .flexbox1{
  gap: 1rem;
}
.page-archive .newslist li a .time{
  font-size: 1.4rem;
  padding: .2rem 0;
}
.page-archive .newslist li a .catgr .cat{
  background: #009BA3;
  border-radius: 3px;
  color: #fff;
  font-size: 1.4rem;
  padding: .2rem 1rem;
}

/*****************************
  single information
*****************************/
.singlehead{
  margin-bottom: 2rem;
}
.singlehead .ttl{
  border-bottom: 2px solid #ccc;
  font-size: 2.2rem;
  padding-bottom: .5rem;
  position: relative;
}
.singlehead .ttl::before{
  content: "";
  background: #009BA3;
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 100px;
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .singlehead .ttl{
    font-size: 2rem;
  }
}

/*****************************
  archive works 施工事例
*****************************/
.page-archive-works .workslist{
  gap: 2rem;
}
.page-archive-works .workslist li{
  width: calc(100% / 3 - 1.5rem);
}
.page-archive-works .workslist li a{
  opacity: 1;
}
.page-archive-works .workslist li .imgbox{
  border: 1px solid #ccc;
  overflow: hidden;
  margin-bottom: .5rem;
}
.page-archive-works .workslist li .imgbox img{
  aspect-ratio: 3/2;
  object-fit: cover;
  height: auto;
  width: 100%;
  transition: .5s;
}
.page-archive-works .workslist li .cat span{
  background: #009BA3;
  border-radius: 3px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.4;
  padding: .3rem 1rem;
}
.page-archive-works .workslist li a:hover img{
  transform: scale(1.3);
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .page-archive-works .workslist li{
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
  }
}

/*****************************
  single works 施工事例
*****************************/
.page-single-works .workimgs{
  margin: 3rem auto ;
  max-width: 800px;
}
.page-single-works .work-slider,
.page-single-works .work-slider .wimg {
  height: 300px;
}
.page-single-works .work-slider .slick-list,
.page-single-works .work-slider .slick-track{
  height: 100%;
}
.page-single-works .work-slider .wimg,
.page-single-works .work-slider-choicebtn .wimg{
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.page-single-works .work-slider-choicebtn{
  margin: 1rem auto 0;
  max-width: 500px;
}
.page-single-works .work-slider-choicebtn .wimg{
  background-size: cover;
  cursor: pointer;
  margin: 5px;
  height: 80px !important;
}

.page-single-works .work-slider-choicebtn.nochoice{
  display: none !important;
}

@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .page-single-works .workimgs{
    margin: 2rem auto ;
  }
}

/*****************************
  form
*****************************/
.formbox{
  max-width: 800px;
  margin: 0 auto;
}
.formbox .fomin{
  background: #fff;
  border-top: 1px solid #009BA3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
}
.formbox .fomin:last-of-type{
  border-bottom: 1px solid #009BA3;
}
.formbox .fomttl{
  /* background: #f9f9ff; */
  font-weight: bold;
  padding: 1rem ;
  width: 230px;
}
.formbox .fomttl span{
  background: #2026a4;
  border-radius: 6px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  margin-right: .5rem;
  padding: .2rem .5rem .3rem;
}
.formbox .fomttl span.required{
  background: #A42020;
}
.formbox .fomcontent{
  padding: 1rem 2rem;
  width: calc(100% - 230px);
}
.formbox .fomcontent span.error{
  background: none;
  margin: 0;
}
.formbox .fomcontent dl{
  margin-bottom: 1rem;
}
.formbox .fomcontent dt{
  width: 145px;
}
.formbox .fomcontent dd{
  margin-left: auto;
  width: calc(100% - 165px);
}
.formbox .input-check{
  text-align: left;
}
.formbox .input-check .wpcf7-list-item{
  display: block;
  margin: 0;
}
.formbox .input-check .horizontal-item{
  display: inline-block;
  margin-right: 1rem;
}
.input-submit{
  margin: 3rem auto;
  max-width: 300px;
  text-align: center;
}
.formtxt{
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem 0 0;
}
.formtxt .inbox{
  margin: 2rem 0;
}
.formtxt .inbox p{
  margin-bottom: 2rem;
}

.formbox .input-txt input,
.formbox .input-num input,
.formbox .input-age input,
.formbox .input-zip input,
.formbox .input-txtarea textarea,
.formbox .input-select select {
  background: #f3f3f3;
  border: 1px solid #BCA37F;
  border-radius: 3px;
  width: 100%;
}
.formbox .input-age input,
.formbox .input-num input{
  max-width: 60px;
}
.formbox .input-age input{
  margin-right: .5rem;
}
.formbox .input-day:first-child{
  margin-bottom: 1rem;
}
.formbox .input-day input{
  width: calc(100% - 145px);
}

.formbox .input-txt input,
.formbox .input-num input,
.formbox .input-age input,
.formbox .input-zip input,
.formbox .input-select select {
  font-size: 1.6rem;
  height: 36px;
  padding: 0 .5em;
}
.formbox .input-date input{
  margin: .5rem 0;
}
.formbox .input-select select{
  appearance: auto;
}
.formbox .input-txtarea textarea {
  padding: .5em;
}

.formbox .addinput {
  margin-top: 1rem;
}
.formbox .input-radio .wpcf7-list-item {
  margin: 0 1rem 0 0;
}
.formbox .input-submit {
  text-align: center;
  margin-top: 2em;
}
.formbox .input-submit div {
  display: inline-block;
  vertical-align: middle;
}
.formbox .input-submit input {
  height: 50px;
  padding: 0 30px;
}
.page-contact{
  position: relative;
}
.page-contact .inner1{
  max-width: 840px;
  position: relative;
}
.page-contact .txtbox{
  margin: 0 auto 2rem;
  max-width: 800px;
  padding: 1rem;
  position: relative;
  text-align: center;
}
.page-contact .box{
  margin-top: 2rem;
  position: relative;
  padding-top: 1rem;
}
.page-contact .morebtn1 .fomb {
  margin-top: 2rem;
  text-align: center;
}
.page-contact .ppbox{
  margin: 2rem auto;
  max-width: 800px;
}
.page-contact .ppbox a{
  text-decoration: underline;
}
.formblock .lastcheck{
  margin: 0 auto;
  max-width: 800px;
}
.page-contact .wpcf7-spinner {
  margin: 0;
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
}
form.sent .formblock,
form .sent-after,
form.sent .fomb{
  display: none;
}
form.sent .sent-after{
  display: block;
  margin: 0 auto 2rem;
  max-width: 800px;
  padding: 1rem;
  position: relative;
  text-align: center;
}
.page-contact .wpcf7 form .wpcf7-response-output{
  margin: 0 auto;
  max-width: 800px;
  padding: 20px;
  text-align: center;
}
.wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
  /* display: none; */
  margin-top: 10px;
}
.wpcf7-form-control-wrap.is-show > .wpcf7-not-valid-tip {
  display: block;
}

.fomb:has(input:disabled){
  background: #ccc;
  pointer-events: none;
}
.fomb input{
  border: 1px solid #009BA3;
  padding: 1rem;
  transition: .5s;
}
.fomb,
.fomb div{
  position: relative;
  transition: .5s;
  z-index: 1;
}

.fomb::before,
.fomb::after,
.fomb div::before,
.fomb div::after{
  content: "";
  background: #009BA3;
  position: absolute;
  transition: .5s;
}
.fomb::before,
.fomb::after{
  height: calc(100% - 10px);
  width: 1px;
  transform: scaleY(1);
}
.fomb div::before,
.fomb div::after{
  height: 1px;
  width: calc(100% - 10px);
  transform: scaleX(1);
}
.fomb::before{
  top: 5px;
  left: 4px;
  transform-origin: top left;
}
.fomb::after{
  right: 4px;
  bottom: 5px;
  transform-origin: bottom right;
}
.fomb div::before{
  right: 5px;
  bottom: 5px;
  transform-origin: top left;
}
.fomb div::after{
  top: 5px;
  left: 5px;
  transform-origin: bottom right;
}

.fomb:hover input{
  background: #009BA3;
  color: #fff;
  transition-delay: .4s;
}
.fomb:hover::before,
.fomb:hover::after{
  transform: scaleY(0);
}
.fomb:hover span::before,
.fomb:hover span::after{
  transform: scaleX(0);
}

@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  .formbox .input-select select{
    max-width: 80%;
  }
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .formbox .fomttl ,
  .formbox .fomcontent{
    width: 100%;
  }
  .formbox .input-select select{
    max-width: 100%;
  }
  .formbox .fomin {
    margin: 1rem auto;
  }
  .contactlink .fbox{
    margin: .5rem 0;
    width: 100%;
  }
  .page-contact .ppbox .formpp h3 {
    font-size: 2.4rem;
  }
  .page-contact .wpcf7 form .wpcf7-response-output{
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    text-align: left;
  }
  .page-contact .txtbox,
  form.sent .sent-after{
    text-align: left;
  }
}