
/* CSS Document */

body{
    font-family: "Zen Antique", serif;
    /*font-weight: 400;*/
    font-style: normal;
    margin: 0 auto;
	font-size:1.1vw;
    color:#29392b;
    text-align: center;
    line-height: 180%;

}

h2{
    width: 50%;
    font-size:3vw;
    background: url("../img/題名背景.png");
    background-repeat: no-repeat;
    background-size: 100%;
    padding:4% 1% 5% 1%;
    margin-left:25%;
}

header{
    width: 100%;
    height: 80%;
    font-size:1.5vw;
    position: absolute;
    background-image:url("../img/葉っぱ.png");
    background-size:100%;
    background-repeat:no-repeat;
   z-index: 2;
}

header ul a{
    margin-top:2%;
    padding: 1% 5% 3% 5%;
    color:#fff;
       text-decoration: none;
    
}

header ul a:hover{
    background: url("../img/題名背景.png");
    background-size: 100%;
    background-repeat: no-repeat;
    text-shadow: #111 1px 0 10px;
    color:#FFFAD6;
    transform: scale(1.25);
    transition-duration: 0.5s;
    
}
#header_pc a img:hover{
        transform: scale(1.25);
        transition-duration: 0.5s;
    }
    
   footer a img:hover, footer a:hover{
        transform: scale(1.25);
        transition-duration: 0.5s;
    }
    

header img{
    width:20%;
}


#header_pc img{
   float:left;
}

#header_pc ul{
	display: flex;
	 justify-content: center;
    margin-left:40%;
}

.openbtn,#g-nav,#header_sp{
    display: none;
}



.wrapper{
    position: absolute;
    z-index: 0;
    background: url("../img/背景.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
}


#main{
    width:57.8125%;
    margin: 0 auto;
}

#contact{
margin-top:30%;

}

.form_input,select{
    display: block;
    margin:10% 0 10% 50%;
    width: 40%;
    margin-top: 1em;
  	font-size: clamp(10px, 1.2vw, 32px);
	border: 1px solid rgba(24,63,22,1.00);
	border-radius: 5px;
	padding: 2%;
}

.form_label {
    display: flex;
    margin: 0 auto;
    width: 55%;
    padding-top: 1em;
    font-size: clamp(10px, 1.2vw, 32px);
}

.form_required {
    display: inline-block;
    background: #f75348;
    color: #ffffff;
    border-radius: 5px;
    width: 3em;
    height: 1.5em;
    line-height: 1.5em;
    text-align: center;
    margin-right: 1em;
}

footer{
    width:100%;
    background-image: url("../img/footer_gazo.png");
    background-size:100%;
    background-repeat: no-repeat;
    color:#fff;
    padding-top:25%;
    height: auto;
    text-align: center;
}

#logo_ft{
    width:15%;
    padding: 2%;
}

.img_boxs{
    width:15%;
    margin: 0 auto;
    /*margin-left:43%;*/
    display: flex;
}

.img_boxs img{
 
     width:50%;
}

footer p{
    line-height: 180%;
    font-size:1.3vw;
}






.form-btn {
    display: block;
    margin: 0 auto;
    margin-top: 2em;
    background:#82B275;
    color: #ffffff;
    border-radius: 10px;
    border: none;
    height: 3em;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    cursor: pointer;
	font-size: clamp(12px, 1.2vw, 30px);
}

.form-btn:hover{
	opacity: .6;
    transform: scale(1.1); 
     transition: transform 0.5s ease-out;
    text-shadow: #111 1px 0 10px;
}

.form_label{
	 font-size: clamp(14px, 1.7vw, 36px);
}

.form_kome{
	width:80%;
	text-align: left;
	margin:5% 0 5% 25%;
}

.box1{
	margin:5%;
	font-size:1.5vw;
}



#page-top a{
	/*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
   background-color: rgba(168,229,165,0.7);
    border-radius: 30%;
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	
}    
    
#page-top a::after{
     
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 80px;
	background:#666;
    animation: arrowsmove 1s ease-in-out infinite;        
}

 #page-top a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}


#page-top a:hover{
	background-color: rgba(168,229,165,0.7);
    border-radius: 30%;
    padding:10%;
    text-shadow: #111 1px 0 10px;
    color:#FFFAD6;
    transition-duration: 0.5s;
}

/*リンクを右下に固定*/
#page-top {
    
    position: fixed;
	right: 5%;
	bottom:1%;
	z-index: 100;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(200);
    
}
    
@keyframes arrowsmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }


/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100);
  }
  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(100);
  }
}

.fadeIn{
animation-name:fadeInAnime;
animation-duration:4s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}   
