@charset "UTF-8";

/******************************
  common
******************************/
.imgbox{
  text-align: center;
}
.link-txtunder,
.singlecontent a{
  color: #004B9E;
  text-decoration: underline;
}
.link-txtunder:hover,
.singlecontent a:hover{
  text-decoration: none;
}
.singlecontent p,
.txtbox p:not(:last-of-type){
  margin-bottom: 1rem;
}
.kome,
.ten{
  padding-left: 2rem;
  position: relative;
}
.kome::before,
.ten::before{
  content:"※";
  position: absolute;
  top: 0;
  left: 0;
}
.ten::before{
  content:"・";
}

/******************************
  inner
******************************/
.inner1,
.inner2,
.inner3{
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 2rem;
}
.inner2{
  max-width: 1920px;
}
.inner3{
  max-width: 1280px;
}
.innernp{
  margin: 0 auto;
  max-width: 1920px;
}
.inner2 .inner1,
.inner2 .inner3,
.inner3 .inner1{
  padding: 0 !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) {
    
}
/******************************
  スクロールアニメーション
******************************/
.leftover-box {
  overflow: hidden;
}
.leftover-box .leftover-box-in {
  overflow: hidden;
  position: relative;
  transition-delay: .1s;
  transform: translate3d(-100.5%,0,0);
  transition-delay: 0s;
  transition-duration: 1.5s;
  transition-timing-function: cubic-bezier(.075,.82,.165,1);
  transform-origin: left center;
  transition-property: transform, -webkit-transform;
}
.leftover-box .leftover-box-in::before {
  content: '';
  background: #ffffff;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: scaleX(1);
  transition-delay: .4s;
  transition-duration: 1.5s;
  transform-origin: right center;
  transition-property: transform, -webkit-transform;
  transition-timing-function: cubic-bezier(.075,.82,.165,1);
  z-index: 5;
}
.leftover-box .leftover-box-in img {
  transform: scale(1);
  transition-duration: 4s;
  transition-property: transform, -webkit-transform;
  transition-timing-function: cubic-bezier(.075,.82,.165,1);
  width: 100%;
}
.leftover-box.animated .leftover-box-in {
  transform: translate3d(0,0,0);
}
.leftover-box.animated .leftover-box-in::before {
  transform: scale(0,1);
}

/******************************
  flex
******************************/
.flexbox1{
  display: flex;
  flex-wrap: wrap;
}
.flexbox2{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexbox3{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex{
  display: flex;
}
.frr{
  flex-direction: row-reverse;
}
.fac{
  align-items: center;
}
.fast{
  align-items: stretch;
}
.fafe{
  align-items: flex-end;
}
.fafs{
  align-items: flex-start;
}
.fabl{
  align-items: baseline;
}

.fbox,
.ftxtbox,
.fimgbox{
  width: 48%;
}
.fimgbox{
  text-align: center;
}

/******************************
  ttl
******************************/
.ttl1{
  font-weight: 700;
  position: relative;
  padding: .5em 1.2em;
  font-size: 3rem;
}
.ttl1::before,
.ttl1::after,
.ttl1::before,
.ttl1::after{
  display: inline-block;
  position: absolute;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid #B2994E;
  content: '';
}
.ttl1::before,
.ttl1::before {
    top: calc(50% - 3px);
    left: 0;
}
.ttl1::after,
.ttl1::after {
    top: calc(50% + 3px);
    left: 5px;
}
@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) {
  .ttl1{
    font-size: 2rem;
  }
}

/******************************
  btn
******************************/
.conbtn a{
  background: #1D2063;
  padding: 1rem 2rem;
  color: #ffff;
  align-items: center;
  justify-items: center;
}
.cmnhead.change .conbtn a{
  background: #c89f60;
  color: #fff;
}
.btn2 a{
  font-weight: 600;
  background: #1d2063;
  border:solid 1px transparent;;
  padding: .8rem 4rem;
  color: #ffff;
  align-items: center;
  justify-items: center;
  transition: .5s;
}
.btn2 a:hover {
  color: #1D2063;;
  background: #ffffff;
  border-color: #1D2063;;
}
.btn3 a{
  font-weight: 600;
  background: #ffffff;
  border:solid 1px transparent;;
  padding: .8rem 4rem;
  color: #1D2063;
  align-items: center;
  justify-items: center;
  transition: .5s;
}
.btn3 a:hover {
  color: #fff;
  background: #1D2063;
  border-color: #fff;
}

/******************************
  tbl
******************************/

/******************************
  header
******************************/
.cmnhead{
  padding: 1rem 3rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: .5s;
}
.cmnhead.change{
  background: #1d2063;
  padding: 0 3rem;
}
.cmnhead.change .logo{
  opacity: 0;
  pointer-events: none;
}
.cmnhead .cmnnav{
  gap: 2rem;
}
.cmnhead .logo a{
  display: block;
  max-width: 250px;
}
.cmnnav ul{
  gap: 2rem;
}
.cmnnav ul a{
  color: #ffffff;
  display: block;
  font-size: 1.6rem;
  line-height: 1.6;
  opacity: 1;
  position: relative;
  text-align: center;
}
.cmnnav ul span{
  display: block;
  font-size: 1.2rem;
}
.cmnnav ul a::before{
  content: "";
  background: #ffffff;
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  width: 0;
  transition: .5s;
}
.cmnnav ul a.nowpage::before,
.cmnnav ul a:hover::before{
  width: 100%;
}
.spbtn,
.splogo,
.splink{
  display: none;
}

@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
  .cmnhead .logo img{
    width: 280px;
  }
  .cmnhead.change{
    background: none;
  }
}
@media only screen and (max-width: 1023px) {
  .spbtn,
  .splogo,
  .splink{
    display: block;
  }
  .cmnhead .conbtn{
    display: none;
  }
  .spbtn {
    aspect-ratio: 1/1;
    background: #1D2063;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    right: 1rem;
    transition: .5s;
    width: 50px;
    z-index: 99;
  }
  .spbtn span {
    background: #ffffff;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: all .4s;
    height: 2px;
    width: 50%;
  }
  .spbtn span:nth-of-type(1) {
    top: 35%;
  }
  .spbtn span:nth-of-type(3) {
    top: 65%;
  }
  .spbtn.active {
    z-index: 100;
  }
  .spbtn.active span {
    background: #fff;
    top: 50%;
    transform: translate(-50%,-50%) rotate(-45deg);
    width: 30%;
  }
  .spbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .spbtn.active span:nth-of-type(3) {
    transform: translate(-50%,-50%) rotate(45deg);
  }
  .cmnnav{
    background: #1D2063;
    max-width: 400px;
    opacity: 0;
    overflow: auto;
    padding: 8rem 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100lvh;
    width: 100%;
    transition: .5s;
  }
  .cmnnav.active{
    opacity: 1;
    pointer-events: all;
  }
  .splogo{
    margin: 0 auto;
    max-width: 200px;
  }
  .cmnnav ul {
    margin: 0 auto;
    max-width: 80%;
  }
  .cmnnav ul{
    margin-top: 2rem;
  }
  .cmnnav ul li{
    width: 100%;
  }
  .cmnnav ul a{
    border-bottom: 2px solid #fff;
    color: #fff;
    padding: 1rem;
    text-align: left;
  }
  .cmnnav ul span{
    display: inline-block;
    margin-left: 1rem;
  }
  .cmnnav ul a::before{
    display: none;
  }
  .cmnnav ul a::after{
    content: "\f105";
    font: var(--fa-font-solid);
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%);
  }
  .cmnnav ul a.nowpage::after,
  .cmnnav ul a:hover::after{
    content: "\f192";
    font: var(--fa-font-regular);
  }
  .cmnnav .navbtn a{
    background: #ffffff;
    color: #1D2063;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 767px) {
  .cmnhead .logo .txt {
    font-size: 1rem;
  }
  .cmnhead .logo img {
    margin-top: 0.5rem;
    width: calc(100% - 60px);
  }
  .spbtn {
    width: 45px;
  }
}

/*****************************
  フッター上contact
*****************************/
.top-contact{
  background-image:linear-gradient(rgba(0,2,51,58%)),url(../images/top/top-contact.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
}
.top-contact .box1{
  gap: 7rem;
}
.top-contact .box2{
  color: #fff;
}
.top-contact .box2 h2{
  margin-bottom: 2rem;
}
.top-contact .box3{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.top-contact .box3 a{
  text-align: center;
  color: #fff;
  padding: 2rem 4rem;
  display: block;
  background: rgba(0, 0, 0, 0.305);
  border:solid 1px #797979;
}
.top-contact .box3 a:nth-of-type(1){
  font-size: 2rem;
}
.top-contact .box3 a span{
  display: block;
  font-size: 1.2rem;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .top-contact .box2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 80%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .top-contact h2{
    font-size: 2rem;
  }
}
/******************************
  footer
******************************/
.cmnfot{
  background: #000000;
  width: 100%;
  padding: 3rem;
}
.cmnfot .ftlogo{
  max-width: 250px;
}
.cmnfot > div{
  flex-direction: column;
  align-items: center;
}
.cmnfot ul,
.cmnfot p,
.cmnfot .fotnav a{
  color: #fff;
  margin-top: 2rem;
}
.cmnfot .fotnav{
  gap: 3rem;
}
/******************************
  施工事例
******************************/
.caseslist{
  gap: .5rem;
  width: 100%;
  padding: 4rem 0;
}
.topsec .caseslist li{
  object-fit: cover;
  width: calc(100% / 5 - 2rem);
}
.pagesec .caseslist li{
  object-fit: cover;
  width: calc(100% / 3 - 1.5rem);
}
@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) {
  .topsec .caseslist li{
  width: 100%;
}
}
@media only screen and (max-width: 767px) {
  .top-result .result h2{
    font-size: 2rem;
  }
}