@charset "utf-8";
@import url(reset.css);
/* font-family: 'Kosugi', sans-serif; */
/* font-family: 'Kosugi Maru', sans-serif; */
/* font-family: 'Zen Kaku Gothic New', sans-serif; */


/* 基本レイアウト ここから↓ */
body{
    background: #ffffff;
    color:#707070;
    font-family: 'Kosugi Maru', sans-serif;
    

}
img{
    width: 100%;
    height: auto;
}
a,h2,h3,.btn{
    text-decoration: none;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color:#375431 ;
    font-weight: 900;

}



/* 基本レイアウト ここまで↑ */
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background: #F8F8EE;
    text-align:center;
    color:#fff;
    top: 0;
   
  }
  
  /* Loading画像中央配置　*/
  #splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Loading アイコンの大きさ設定　*/
  #splash_logo img {
    width:260px;
  }
  
/* ナビゲーションのレイアウト↓ */

#g-nav ul{
    position: absolute;
    top: 30px;
    display: flex;
    margin: 0 auto;
    left: 6.5%;
width: 83%;
    max-width: 800px;
    list-style-type: none;
    padding-top: 30px;
 
    ;
}

#g-nav ul li{
    position: relative;
    width: 20%;
    
}
#g-nav ul li a{
    font-size: 110%;
}


/* ナビゲーションレイアウトここまで↑ */

/* トップページ ここから↓ */
.top h1{
    max-width: 750px;
    margin: 0 auto;
    display: flex; 
    margin-top: 75px;
    width: 95%;
}

.img-tree{
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    max-width: 753px;
    margin-top: -30px;
}

.img-tree img{
    animation-name: fadetop;
    animation-duration: 4.5s;
    animation-fill-mode: both;
}
@keyframes fadetop{
    from{
    opacity: 0;
    transform: translatey(20px);    }
    to{
    opacity: 1;
    transform: translatey(0);
    }
}

.h2 {
    font-size: 120%;
    margin-top: 100px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
  }
  
  .h2:before, .h2:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 20px;
    height: 2px;
    color:#375431 ;
    background-color:#375431 ;
    ;
  }
  
  .h2:before {
    left:0;
  }
  .h2:after {
    right: 0;
  }

#greeting{
    text-align: center;
    line-height: 2.5em;
    background-image: url(../img/logo.svg);
    background-position:50% 60%;
    background-repeat: no-repeat;
    background-size: 15em;
    overflow: hidden;

}
#greeting p{

    transition:2.5s;
    opacity:0;
    }
#greeting p.up{

    transition: 2.5s;
    opacity: 1;
}

.kyoutyou{
    font-weight: 900;
}
#haikei{
    background-color:rgba(255,255,255,0.855);
}




.lnk1{
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    margin-top: 100px;
    overflow: hidden;
    
}

.lnk1 img{
    transform: translateX(-50px);
    transition:2s;
    opacity:0;
    }
.lnk1 img.up{
    transform: translateY(0);
    transition: 2s;
    opacity: 1;
}
    
    @keyframes fadeUpAnime{
      from {
        opacity: 0;
      transform: translateY(50px);
      }
    
      to {
        opacity: 1;
      transform: translateY(0);
      }
    }
    .fadeUpTrigger{
        opacity: 0;
    }
    
    .lnk2{
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
        margin-top: 100px;
        overflow: hidden;
        
    }
    
    .lnk2 img{
        transform: translateX(50px);
        transition:2s;
        opacity:0;
        }
    .lnk2 img.up{
        transform: translateY(0);
        transition: 2s;
        opacity: 1;
    }
        
        @keyframes fadeUpAnime{
          from {
            opacity: 0;
          transform: translateY(50px);
          }
        
          to {
            opacity: 1;
          transform: translateY(0);
          }
        }
        .fadeUpTrigger{
            opacity: 0;
        }
        
.btn{
    display: inline-block;
    padding: 0.5em 1em;
    margin: 1em auto;
    border: solid 2px #014D1A;
}

.btn p{
    margin: 0; 
    padding: 0;
    color: #375431;
}

#instagram{
    text-align: center;
    margin-top: 113.7px;
}
#instagram img{
    width: 50px;
    margin-bottom: 0;
}
#instagram p{
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 900;
    color:#192717;
    margin-top: 0;
}

#footer-top{
    padding-top: 150px;
    overflow: hidden;
}

#footer-top-log1{
    width: 20%;
    max-width: 200px;
    margin-left: 2em;
    transform: rotate(-30deg) ;
    transform-origin: center bottom;
    animation: yurayura1 3s linear infinite;
}
@keyframes yurayura1 {
    0% , 100%{
        transform:rotate(-35deg);
    }
    50%{
        transform: rotate(-15deg);
    }
  }

#footer-top-log2{
    width: 20%;
    max-width: 200px;
   margin-left: auto;
   margin-right: auto;
   margin-top: -100px;
   transform-origin: center bottom;
    animation: yurayura2 3s linear infinite;
   
}
@keyframes yurayura2 {
    0% , 100%{
        transform: rotate(-10deg);
    }
    50%{
        transform: rotate(10deg) ;
    }
  }

#footer-top-log3{
    width: 20%;
    max-width: 200px;
    margin-left: auto;
    margin-right: 3em;
    transform-origin: center bottom;
    animation: yurayura3 3s linear infinite;
}


@keyframes yurayura3 {
    0% , 100%{
        transform: rotate(25deg);
    }
    50%{
        transform: rotate(15deg);
    }
}

.tentai,.tentai2,.tentai3{
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}
#footer-top1{
    padding-top: 10px;
}
.tentai2{
    padding-bottom: 100px;
}

/* トップページ ここまで↑ */

/* フッターレイアウトここから↓ */
footer{
    background-color: #375431;
    color:#fff;
}
.small{
    text-align: center;
}
#footer{
    
    display: flex;
    justify-content: center;
    align-items: center;
    
  
   
}

.footer-log {
    width: 35%;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    max-width: 200px;
}

address p{
    margin-top: 9%;
    font-style: normal;
    margin-right: 10px;
    font-weight: 900;
}

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#375431;
	border-radius: 5px;
	width: 45px;
	height: 45px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}


/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/* フッターレイアウトここまで↑ */

/* 「縄工・造園工」ページ ここから↓ */

.sub{
    text-align: center;
}
.sub img{
    width: 36%;
}

.sub-logo{
    width: 40%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 5px;
    margin-top:200px; 
    max-width: 380px;
}
.sub p{
    line-height: 2rem;
}
.sub-logonawa{
   max-width: 555.55px;
   margin-right: auto;
   margin-left: auto;

}

.sub-logozouen{
    max-width: 555.55px;
   margin-right: auto;
   margin-left: auto;
}
.sub-logozouen img{
    width: 55%;
}

.nawakou{
    text-align: center;
}
h2 span {
    font-size: 80%;
}

.section{
    margin-top: 100px;
    text-align: center;
}

section p{
    line-height:1.8em;
}
.button {
    width: 190px;
    height: 16px;   
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    margin-right: auto;
    margin-left: auto;
}

.yazirusi {
    margin-top: 10px;
        margin-left: 15px;
        margin-right: 15px;
        width: 15vw;
        height: 3px;
        border-bottom: 1px solid;
        border-right: 1px solid;
        transform: skew(45deg);
}

.section-setumei{
    text-align: center;
}
figure{
    display: flex;
   justify-content: center;
   margin-bottom: 2px;
}
figure img{
    width: 50%;
    margin-left: 5px;
    max-width: 305px;
}

.zoenkou{
    margin-top: 50px;
    text-align: center;
    line-height: 2em;
    
    
}
.video{
    width: 80%;/*背景色を横幅いっぱいに広げる*/
    text-align: center;
    margin: auto;
    padding: 1% 1% 1% 1%;/*ここで動画の周りの余白を調整*/
    background: white;/*余白の背景色*/
}
.video-main{
    width: 100%;
max-width: 920px;/*PC版での最大幅*/
}
/*  「縄工・造園工」ページここまで↑ */



/* 「お問い合わせ」ページ ここから↓ */

.contact{
    line-height: 2em;
    text-align: center;
}
#contact-h1{
    margin: 0 auto;
    display: flex; 
    margin-top: 100px;
}
#contact-h1 h1{
    margin-right: auto;
    margin-left: auto;
    color: #375431;

}

#contact-h1 h1 {
    font-size: 150%;
    margin-top: 100px;
    position: relative;
    display: inline-block;
    padding: 0 55px;
  }
  
  #contact-h1 h1:before, #contact-h1 h1:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 30px;
    height: 2px;
    color:#375431 ;
    background-color:#375431 ;
    ;
  }
  
  #contact-h1 h1:before {
    left:0;
  }
  #contact-h1 h1:after {
    right: 0;
  }

  .contact-p{
    font-size: 125%;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .contact-p p{
    color:#375431;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    text-decoration: underline solid #375431;
    font-weight: 900;
  }

.text-cmp p{
    text-align: center;
    color:#707070;
    font-size: 80%;
    line-height: 2em;
    font-family: 'Kosugi Maru', sans-serif;
    
}

.contact h2{
    display: inline-block;
    background: linear-gradient(transparent 50%, #366e3433 27%);
}

.tel{
    font-size: 150%;
    text-decoration: underline;
    text-decoration-color:#375431;
}
.tel a{
    color: #333333;

}
.required{
    font-size: 82%;
    color: red;
}

.form{
    display: inline-block;
    margin-left:3%;
}

article{
    text-align: center;
}
.form p{
    text-align: left;
}

.submit p{
    text-align: center;
}
.button-s{
    display: inline-block;
	vertical-align: middle;
	padding: 10px 25px;
    background-color: #707070;
	color: #fff;
	letter-spacing: 0.5pt;
	text-decoration: none;
	border: 1px solid #707070;
}

input[type="text"]{
    width: 200px;
}

input[type="email"]{
    width: 300px;
}

input[type="tel"]{
    width: 200px;
}

textarea{
    width: 300px;
    height: 150px;
    overflow-y: scroll;
}
/*
 「お問い合わせ」ページ ここまで↑ */

 /* ×ボタンここから↓ */
 
 .square_btn {
    display: block;
    position: absolute;
    z-index: 99;
    top: 60px;
    left: 80%;
    cursor: pointer;
    width:40px;
    height: 40px;
    background:#375431; /* ボタンの背景色 */
    transition:all 0.3s;
    border-radius: 5px;

  }
   
  .square_btn::before, .square_btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 25px;
    background: #fff; /* バツ印の色 */
  }
   
  .square_btn::before {
    transform: translate(-50%,-50%) rotate(45deg);
  }
   
  .square_btn::after {
    transform: translate(-50%,-50%) rotate(-45deg);
  }
  /* ボタンここまで↑× */

 @media screen and (min-width:767px){

    .top h1{
        width: 42%;
    }
    .img-tree{
        width: 47%;
    }

    address p {
        font-size: 120%;
    }
.sub{
    width: 50%;
    margin-right: auto;
    margin-left: auto;
}
   .pc-grid-col2{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
   }
   .pc-grid-col2.link{
    width: 48%;
   }
   .pc-grid-col{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
   }
   .pc-grid-col .section{
    width: 50%;
   }
#page-top{
    display: none;
}

.square_btn{
    display: none;
}
#footer-top-log1{
    width: 13%;
}
#footer-top-log2{
    width: 13%;
}
#footer-top-log3{
    width: 13%;
    overflow: hidden;
}
 }

 @media screen and (max-width:767px){

    #g-nav{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:0;
        left: -120%;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:#F2F8F1;
        /*動き*/
        transition: all 0.6s;
    }
    
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        left: 0;
    }
    
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        display: block;
        position: absolute;
        z-index: 999;
        top:48%;
        left:70%;
        transform: translate(-50%,-50%);
    }
    
    /*リストのレイアウト設定*/
    
    #g-nav li{
        list-style: none;
        text-align: center; 
        margin-right: auto;
        margin-left: auto;
    }
    
    #g-nav li a{
        color: #375431;
        text-decoration: none;
        padding:20px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 900;
        margin-left: -350%;
        font-size: 125%;
    }
    
    /*========= ボタンのためのCSS ===============*/
    .openbtn{
        position:absolute;
        z-index: 9999;/*ボタンを最前面に*/
        top:50px;
        left: 20px;
        cursor: pointer;
        width: 70px;
        height:70px;
    }
        
    /*×に変化*/	
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #375431;
          width: 45%;
      }
    
    .openbtn span:nth-of-type(1) {
        top:15px;	
    }
    
    .openbtn span:nth-of-type(2) {
        top:23px;
    }
    
    .openbtn span:nth-of-type(3) {
        top:31px;
    }
    .openbtn span:nth-of-type(3)::after {
        content:"MENU";/*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top:5px;
        /* left:6.7%; */
        color: #375431;
        font-size: 0.75em;
        font-weight: 900;
        font-family: 'Zen Kaku Gothic New', sans-serif;    
    }
    
    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .openbtn.active span:nth-of-type(3){
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(3)::after {
        content:"CLOSE";/*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top:5px;
        left:4px;
    }
 }

 @media screen and (max-width:420px){
    address p {
        font-size: 75%;
 }
}

@media screen and (min-width:900px){
   #g-nav ul {
        left: 10%;
 }
}

@media screen and (min-width:1000px){
    #g-nav ul {
         left: 13%;
  }
}

@media screen and (min-width:1100px){
    #g-nav ul {
         left: 15%;
  }
}

@media screen and (min-width:1200px){
    #g-nav ul {
         left: 17%;
  }
}

@media screen and (min-width:1300px){
    #g-nav ul {
         left: 20%;
  }
}

