@charset 'utf-8';

/*******************
root
*******************/

/* 
breakPoint
min-width:600px;
min-width:1025px;
*/

:root{
  --text-colour: #252525;
  --sub-colour: #EDF4EF;
  --main-colour: #00801D;
  --link-colour: #51708e;
  --main-font-family: Montserrat, Noto Sans CJK JP, sans-serif;
  --sub-font-family: Poppins, sans-serif;
  --font-weight-bold:700;
  --font-weight-semibold:600;
  --font-weight-medium:500 !important;
  --main-letter-space:0.1em;
}

/*******************
common
*******************/

p,
a,
h1,
h2,
h3,
h4,
h5,
tr,
td,
caption{
  color: var(--text-colour);
  font-family: var(--main-font-family);
  letter-spacing: var(--main-letter-space);
}

br.sp,
span.sp{
  display: inherit;
}
br.pc,
span.pc{
  display: none;
}

.blog-icon{
  fill: currentColor;
  margin-left: 10px;
}

@media (min-width:1025px){
  br.sp,
  span.sp{
    display: none;
  }
  br.pc,
  span.pc{
    display: inherit;
  }
}


/*******************
header
*******************/
header{
  width: 100%;
  height: 600px;
  position: relative;
}
header:before{
  width: 100%;
  height: 600px;
}
.sub header{
  height: 450px;
  background-size: cover;
}
.sub header:before{
  height: 450px;
}
header .header-container{
  width: 90%;
  height: 100%;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}

header h1{
  width: 200px;
}

header .outer{
  position: absolute;
  bottom:30px;
}

header .header-cover{
  display: none;
}
.sub header .header-cover{
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 450px;
  background-color: rgba(0,0,0,0.3);
}

header .outer h2,
header .outer .sub-page{
  color: white;
}

header .outer h2{
  font-size: 31px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}
.sub header h2{
  text-transform:uppercase;
  font-size: 50px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}
header .outer .sub-page{
  line-height: 1.2;
  font-weight: var(--font-weight-medium);
}

@media (min-width:1025px){
  header{
    height: 800px;
  }
  .sub header{
    height: 500px;
  }
  header:before{
    height: 800px;
  }
  .sub header:before{
    height: 500px;
  }
  .sub header .header-cover{
    height: 500px;
  }
  header h1{
    width: 280px;
  }
  header .outer{
    left: calc((100% - 1000px) / 2);
  }
  header .outer h2{
    font-size: 44px;
  }
  .sub header h2{
    font-size: 50px;
    line-height: 1.2;
  }

  header .outer .sub-page{
  font-size: 20px;
  }
}

/*******************
nav
*******************/

/********
#icons
*********/
nav .icons{
  position: fixed;
  top: 30px;
  right: 5%;
  z-index: 9999;
}
nav .icons li{
  position: relative;
  display: flex;
  width: 60px;
  height: 60px;
  border:2px solid var(--main-colour);
  background: white;
}
nav .icons li:not(:first-of-type){
  margin-top: 10px;
}
nav .icons li:first-of-type{
  background: var(--main-colour);
}
nav .icons li.tel,
nav .icons li.mail{
  font-size: 30px;
  line-height: 60px;
  text-align: center;
  transition: 0.3s;

}
nav .icons li.tel i,
nav .icons li.mail i{
  color: var(--main-colour);
  transition: 0.3s;

}
nav .icons li a{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
nav .icons li img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 30px;
  height: 30px;
}

  nav .icons .menu-trigger:hover{
    background: #349D52;
  }
  nav .icons li.tel:hover,
  nav .icons li.mail:hover{
    background: var(--main-colour);
  transition: 0.3s;
  }
  nav .icons li.tel:hover i,
  nav .icons li.mail:hover i{
  color: white;
  transition: 0.3s;
}

/********
#contents
*********/
nav .nav-content{
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  top: 0;
  left: 101%;
  background: var(--sub-colour);
  text-align: center;
  transition: 0.5s;
}
nav .nav-content p{
  margin-top: 70px;
  font-size: 34px;
  font-weight: bold;
}
nav .nav-content .nav-items{
  margin-top: 60px;
  font-size: 23px;
  font-weight: var(--font-weight-medium);
}
nav .nav-content .nav-items li{
  width: fit-content;
  margin: 0 auto;
}
nav .nav-content .nav-items li:not(:first-of-type){
  margin-top: 30px;
}
nav.active .nav-content{
  left:0;
  transition: 0.5s;
}
nav .nav-content a:hover{
  opacity: 0.6;
} 

@media (min-width:1025px){
nav .nav-content{
  width: 40%;
}
nav.active .nav-content{
  left:60%;
  transition: 0.5s;
}
}

/*******************
footer
*******************/
footer{
  background: var(--sub-colour);
  padding-top: 40px;
  padding-bottom: 30px;
  position: relative;
  z-index: 100;
}
footer .footer-container{
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
footer .footer-container .foot-pc{
  display: none;
}
footer span{
  display: block;
}
footer .footer-logo{
  width: 200px;
}
footer .footer-address{
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.5;
}
footer .footer-contact{
  margin-top: 20px;
  font-family: var(--sub-font-family);
  font-weight: var(--font-weight-medium);
}
footer .footer-contact .tel{
  letter-spacing: 0.05em;
  font-size: 22px;
}
footer .footer-contact .mail{
  letter-spacing: 0.05em;
  font-size: 18px;
  margin-top: 10px;
}
footer .footer-contact i{
  font-size: 20px;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

footer .footer-copy{
  border-top: 2px solid var(--text-colour);
  margin-top: 50px;
}
footer .footer-copy small{
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}

footer .footer-contact p:hover,
footer .footer-nav a:hover{
  opacity: 0.6;
} 
@media (min-width:1025px){
  footer{
    margin-top: unset;
  }
  footer .footer-container .flexbox{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  footer .footer-container .outer.foot-sp,
  footer .footer-container .outer.foot-pc{
    width: 40%;
  }
  footer .footer-address{
    font-size: 16px;
  }
  footer .footer-container .foot-pc{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  footer .footer-container .foot-pc .footer-nav{
    width: fit-content;
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
  }
  footer .footer-container .foot-pc .footer-nav > li:nth-child(n + 2){
    margin-top: 30px;
  }
  footer .footer-container .foot-pc .footer-nav li ul{
    margin-top: 10px;
  }
  footer .footer-container .foot-pc .footer-nav li li{
    margin-left: 10px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
  }
  footer .footer-container .foot-pc .footer-nav li li:nth-child(n + 2){
    margin-top: 5px;
  }
  footer .footer-container .foot-pc .footer-nav li i{
    margin-left: 10px;
  }
  footer .footer-copy{
    width: 100%;
  }
  footer .footer-copy small{
   font-size: 16px;
   line-height: 1.9;
    text-align: right;
  }

}


/*******************
main
*******************/

main{
  background: white;
}

section .container{
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 90px;
}

section h3,
.container .description,
.container .box p.title,
.container .box p.text,
.container .btn{
  text-align: center;
}

section h3{
  font-size: 32px;
  font-weight: bold;
  position: relative;
}
section .container .description{
  margin-top: 40px;
  line-height: 1.7;
}

section h3::before{
  background-color: var(--text-colour); /* 線の色 */
  bottom: -20px; /* 線の位置 */
  content: "";
  height: 2px; /* 線の高さ */
  left: 50%; /* 線の中央寄せ */
  position: absolute;
  transform: translateX(-50%); /* 線の中央寄せ */
  width: 70px; /* 線の長さ */
}

section .container .btn{
  margin-top: 20px;
}

.container .btn,
#service .btn{
  display: block;
  width: 100%;
}

.container .btn a,
#service .btn a{
  display: block;
  width: 100%;
  border: 2px solid var(--text-colour);
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
}

@media (min-width:1025px){
  section#top-service .description,
  section#blog .description{
    text-align: left;
  }
  section .container .btn,
  #service .btn{
    margin-top: 40px;
    width: fit-content;
  }
  section#top-gallery .container .btn,
  #service .btn{
    margin: 40px auto 0;
  }
  .container .btn a,
  #service .btn a{
    padding: 20px 60px;
  }
  section#top-service h3,
  section#blog h3{
    text-align: left;
  }
  section#top-service h3::before,
  section#blog h3::before{
    left: 0;
    transform: translateX(0);
  }
}

/********
#top-about
*********/
#top-about{
  background: var(--sub-colour);
}

#top-about .container{
  display: flex;
  flex-direction: column;
  padding-top: 70px;
  padding-bottom: 90px;
}
#top-about .container h2{
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  line-height: 1.7;
}
#top-about .container span{
  margin-top: 30px;
}
#top-about .container span p{
  font-size: 16px;
  line-height: 1.9;
}
#top-about .container span span{
  display: block;
  font-size: 18px;
  font-weight: var(--font-weight-semibold);

}

@media (min-width:1025px){
  #top-about .container{
    flex-direction: row;
    justify-content: space-between;
  }
  #top-about .container h2,
  #top-about .container > span{
    width: 47%;
  }
  #top-about .container h2{
    margin-top: 20px;
    font-size: 26px;
  }
  #top-about .container span{
    margin-top: unset;
  }
  #top-about .container span p{
    font-size: 18px;
  }
  #top-about .container span.link{
    margin-top: 50px;
  }
}

/********
#top-zeh
*********/
#top-zeh .container{
  display: flex;
  flex-direction: column;
  padding-top: 70px;
  padding-bottom: 90px;
}
#top-zeh .container h2{
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  line-height: 1.7;
}
#top-zeh .container span{
  margin-top: 30px;
}
#top-zeh .container span p{
  font-size: 16px;
  line-height: 1.9;
}
#top-zeh .container span span{
  display: block;
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
}

@media (min-width:1025px){
  #top-zeh .container{
    flex-direction: row;
    justify-content: space-between;
  }
  #top-zeh .container h2,
  #top-zeh .container > span{
    width: 47%;
  }
  #top-zeh .container h2{
    margin-top: 20px;
    font-size: 26px;
  }
  #top-zeh .container span{
    margin-top: unset;
  }
  #top-zeh .container span p{
    font-size: 18px;
  }
  #top-zeh .container span.link{
    margin-top: 50px;
  }
}

/********
#top-service
*********/

#top-service .container{
  display: grid;
  gap: 50px;
}
#top-service .container a{
  display: block;
}
#top-service .container .description{
  text-align: left;
}
#top-service .container .box:not(.explain){
  width: 100%;
  position: relative;
  overflow: hidden;
}
#top-service .container .box .back-img{
  padding-top: 100%;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}
#top-service .container .box.new .back-img{background-image: url("../../img/top/service01.jpg");}
#top-service .container .box.reform .back-img{background-image: url("../../img/top/service02.jpg");}
#top-service .container .box.repair .back-img{background-image: url("../../img/top/service03.jpg");}
#top-service .container .box.exterior .back-img{background-image: url("../../img/top/service04.jpg");}
#top-service .container .box.real-estate .back-img{background-image: url("../../img/top/service05.jpg");}
#top-service .container .box .back-img{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#top-service .container .box:not(.explain):hover .back-img{
  scale: 1.1;
  transition: 0.3s;
}

#top-service .container .box .outer{
  position: absolute;
  bottom: 0;
  height: 30%;
  min-height: 160px;
  width: 100%;
  background: rgba(0,0,0,0.6);
}

#top-service .container .box .outer p{
  color: white;
}
#top-service .container .box .outer span{
  position: absolute;
  height: fit-content;
  width: max-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#top-service .container .box p.title{
  font-size: 26px;
  line-height: 1.6;
  font-weight: var(--font-weight-medium);
}

#top-service .container .box p.text{
  margin-top: 10px;
  line-height: 1.7;
}

@media (min-width:1025px){
  #top-service .container{
    width: auto;
    grid-template: 320px 320px 320px 320px / 320px 320px 320px;
    grid-template-areas: 
    "explain explain new"
    "reform reform new"
    "real-estate repair repair"
    "real-estate exterior exterior";
    ;
    gap: 20px;
  }
  #top-service .container .box.explain{grid-area: explain;}
  #top-service .container .box.new{grid-area: new;}
  #top-service .container .box.reform{grid-area: reform;}
  #top-service .container .box.repair{grid-area: repair;}
  #top-service .container .box.exterior{grid-area: exterior;}
  #top-service .container .box.real-estate{grid-area: real-estate;}
  #top-service .container .box:not(.explain){
    padding-top: unset;
  }
#top-service .container .box .back-img{
  background-size: contain;
  background-position: top;
}
  #top-service .container .box .outer{
    width: 320px;
    height: 320px;
  }
  #top-service .container .box.exterior .outer{
    right: 0;
  }

}

/********
#top-gallery
*********/
#top-gallery{
  position: relative;
  height: max-content;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    white 50%,
    var(--sub-colour) 50%
    );
    padding-bottom: 85px;
  }
  #top-gallery .container{
    width: 100%;
    max-width: unset;
  }
#top-gallery .slider{
  margin-top: 30px;
  height: 300px;
  overflow: hidden;
}
#top-gallery .slider div{
  height: 100%;
}
  #top-gallery .slider div:not(:last-child){
  margin-right: 20px;
}
#top-gallery .slider div img{
  height: 100%;
  object-fit: cover;
}

#top-gallery .btn{
  width: 90%;
  margin: 50px auto 0;
}

@media (min-width:1025px){
  #top-gallery .slider{
    height: 520px;
  }
  
  #top-gallery .btn{
    width: fit-content;
    margin: 50px auto 0;
  }

}
/********
#blog
*********/
#blog .container .description{
  text-align: left;
}
#blog .btn,
#blog .image{
  margin-top: 50px;
}
#blog .btn i{
  margin-left: 10px;
}
#blog .image{
  display: block;
}

@media (min-width:1025px){
  #blog .container{
    width: 100%;
    max-width: unset;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #blog .container .outer{
    width: 50%;
    margin-left: calc((100% - 1000px) / 2);
  }
  #blog .image{
    width: 100%;
    margin-top: unset;
  }
}

/********
#access
*********/
#access .container{
  transition: 0.3s;
}
#access .map{
  margin-top: 50px;
  height: 300px;
  width: 100%;
  transition: 0.3s;
}
#access .map iframe{
  width: 100%;
  height: 100%;
}

@media (min-width:1025px){
  #access .container{
    width: 100%;
    max-width: unset;
    transition: 0.3s;
  }
  #access .map{
    height: 350px;
    transition: 0.3s;
  }
}

/********
#contact
*********/
#contact .container{
  position: relative;
  padding-bottom: 90px;
  overflow: hidden;
}
#contact .container span{
  display: block;
}
#contact .box{
  display: block;
  margin-top: 50px;
  text-align: center;
}
#contact .box p{
  font-family: var(--sub-font-family);
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.05em;
}
#contact .box p.mail{
  font-size: 18px;
}
#contact .box i{
  font-size: 20px;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}
#contact .container .frame{
  display: none;
}
#contact .container .box p:hover{
  opacity: 0.6;
}

@media (min-width:1025px){
  #contact .container{
    margin-top: 90px;
    padding: unset;
  }
  #contact .container .outer{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #contact .container .frame{
    display: block;
    height: 480px;
    width: auto;
    margin: 0 auto;
    user-select: none;
  }
  #contact .container .frame img{
    height: 480px;
    width: 100%;
    user-select: none;
    user-drag: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
  }
  
}

/*******************
design
*******************/

/********
nav-btn
*********/
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}
.menu-trigger {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}
.menu-trigger span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2.5px;
  background-color: white;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 15.5px;
}
.menu-trigger span:nth-of-type(2) {
  top: 27.5px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 15px;
}
#nav_btn.active span:nth-of-type(1) {
  transform: translateX(-50%) translateY(12.5px) rotate(-45deg);
}
#nav_btn.active span:nth-of-type(2) {
  left: 100%;
  opacity: 0;
  animation: active-nav_menu-bar02 0.8s forwards;
}
@keyframes active-nav_menu-bar02 {
  100% {
    height: 0;
  }
}
#nav_btn.active span:nth-of-type(3) {
  transform: translateX(-50%)  translateY(-10.5px) rotate(45deg);
}

@media (min-width: 960px) {
  nav#nav_mobile {
    display: none;
  }
}

/********
arrow
*********/
.arrow {
  width: 100%;
  position: relative;
  margin: 10px 0 0 0;
  transition: 0.3s;
}
.line01 {
  height: 2px;
  background-color: var(--text-colour);
}
.line02 {
  position: absolute;
  top: 0;
  right: 0;
  transform-origin: right bottom;
  width: 16px;
  height: 2px;
  background-color: var(--text-colour);
  transform: rotate(35deg);
}

@media (min-width:1025px){
  #top-about .link:hover .arrow{
    transform: translateX(10px);
    transition: 0.3s;
  }
  #top-zeh .link:hover .arrow{
    transform: translateX(10px);
    transition: 0.3s;
  }

}
