/* base */

html{
    font-size: 62.5%;
}

body{
    font-size: 1.6em;
    letter-spacing: 0.05em;
    color: #171717;
    font-family:'Noto Serif', 'Noto Serif JP',serif;
}
img{
    width: 100%;
    vertical-align: bottom;
}

.section-wiper{
    padding: 100px 0 70px ;
}

.section-title{
    max-width: 1000px;
    color: #282F35;
    font-size: 6rem;
    font-style: italic;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.section-title::after {
    content: "";
    display: inline-block;
    background-color: #282F35;
    height: 5px;
    width: 200px;
    vertical-align: middle;
    margin-left: 30px;
}

.section-inner{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 50px;
}



.submit-btn{
    display: block;
    width: 235px;
    line-height: 60px;
    background-color: #F7D43F;
    margin: 0px auto 70px;
    text-align: center;
    text-decoration: none;
    color: #171717;
    font-weight: bold;
    box-shadow: 0 0 6px #1B1310;
    border-radius: 30px;
    transition: .3;
    cursor: pointer;
}

.submit-btn:hover{
    opacity: .5;
    transition: .3;
}

.text-right{
    text-align: right;
}

.text-white{
    color: #fff;
}

.section-title.text-white::after {
    background-color: #fff;
}


/* header */
/* #header.UpMove{
    position: fixed;
    width:100%;
    animation: UpAnime 0.5s forwards;
  }
  
  @keyframes UpAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 0;
    transform: translateY(-100px);
    }
  } */
  
  /*　下に下がる動き　*/
  
  #header.DownMove{
    position: fixed;
    width:100%;
    animation: DownAnime 0.5s forwards;
    background-color: #282F35;
    padding: 30px ;
    
    
  }

  @keyframes DownAnime{
    from {
      opacity: 0;
    transform: translateY(-100px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }

  }
  .sp-nav{
      display: none;
  }

.header{
    position: absolute;
    top: 0;
    left: 0;
    /* max-width: 1200px; */
    width: 100%;
    z-index: 1; 
}

.header-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-style: italic;
    
}
.header-inner a{
    text-decoration: none;
    color: #fff;

}
.header-inner a:hover{
    opacity: 0.7;
    transition: .3s;
}
.header-main{
    font-size: 2.6rem;
    margin: 20px auto auto 120px;
}
.nav-li{
    list-style: none;
    display: flex;
    font-size: 1.6rem;
    margin-top: 30px;
    margin-right: 120px;
}
.nav-li a{
    margin-left: 30px;
}

/* contact*/
.contact-wiper{
    height: 453px;
    position: relative;
    background-image: url(cresta_second/img/contact-page-bgi@2x.jpg);
}

.contact-main{

}
.contact-title{
    font-size: 6rem;
    font-style: italic;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 186px;
    color: #fff;
}
.contact-bottom{
    color: #fff;
    opacity: .1;
    font-size: 9rem;
    margin: 15px auto 40px 50px;
    font-weight: bold;
}
.contact-content{
    text-align: center;
    padding: 100px 20% ;
    
}
.contact-list{
    height: 632px;
    max-width: 700px;
    margin: 0 auto ;
}
.checkbox-list{
    display: flex;
}
.checkbox{
   width: 15px;
   margin-right: 10px;
   cursor: pointer;
}
.checkbox:checked{
    background-color: #171717;
}
.contact-item{
    margin-bottom: 20px;
}
.contact-label{
    margin-bottom: 5px;
    font-size: 1.6rem;
    display: block;
    text-align: left;
}
textarea,input{
    width: 100%;
    padding: 5px 8px;
    border:1px solid #171717;
    box-sizing: border-box;
    text-align: left;
}
textarea{
    height: 170px;
    line-height: 30px;
    margin-bottom: 80px;
}
.contact-item:last-of-type{

margin-bottom: 0;
}



/* footer */
.footer{
    font-size: 1.4rem;
    font-weight: bold;
    padding: 30px 0;
    text-align: center;
    color: #282F35;
}

@media screen and (max-width:768px){     
    /* base-sp */
    .section-wiper{
        padding: 100px 0 40px;
    }    

    .section-title{
        font-size: 3rem;
        padding: 0 4v ;
        margin-bottom: 50px;
    }
    .section-title::after {
        width: 90px;
    }
    
    .section-inner{
        margin: 0 auto;
        padding: 0 4vw ;
    }
    
    .section-bottom{
        margin: 0 auto;
        font-size: 4rem;
        opacity: 0.05;
    }
    .link-btn{
        margin-bottom: 40px;
    }
    


/* header */
.nav-li{
    display: none;
}

.header{

}

.contact{

}
.header-main{
    margin: 30px 4vh;
}
/* hunberger */


#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#282F35;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/
.sp-nav{
    position: absolute; 
    display: block;
    
}

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:20px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:absolute;
    z-index: 9999;/*ボタンを最前面に*/
	top:30px;
	right: 4vw;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
  	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.active span:nth-of-type(1) {
    top: 18px;
    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: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/* fv-sp */

/* contact */
.contact-title{
    font-size: 3rem;
    margin-bottom: 40px;
}
.contact-bottom{
    font-size: 4rem;
}
.contact-wiper{
    height: 360px;
   
}
.contact-content{
    padding: 100px 4vw;
}
.checkbox-list{
    display: block;
    text-align: left;
}
.contact-label{
    margin-bottom: 10px;
}

.checkbox:checked{
    background-color: #171717;
}


}