@charset "UTF-8";

body{
font-family: 'YuGothic','Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', 'Meiryo','ＭＳ ゴシック',sans-serif;
  margin:0 auto;
  overflow-x: hidden!important;
}



/*Main*/
main {
  animation-name: fadein;
  animation-duration: 3s;

}

@keyframes fadein{
    from{
    opacity: 0;
    }
    to{
    opacity: 1;
    }
}

.header{
  maragin: 0 auto;
  width: 100%;
}

.headerList{
display: flex;
flex-direction: row;
padding:10px 60px;
background-color: #3a2e1a;
}

.headerList img{
  padding:10px auto;
}

.headerList li{
  padding:0px 20px;
}

.headerList li:nth-child(n+2){
  padding-top:15px;
}

.headerList li a{
text-decoration: none;
font-weight: bold;
color: #f8ede2;
}

.headerList li a:hover{
color: #38fc38;
}

.header-mobile{
    top:0;
    left:0;
    padding-top: 150px;
    position:fixed;
    display:none;
    width:100%;
    height:100vh;
    background-color: #b2ada3;
    z-index: 25;
}

.header-mobile li{
  margin-left:20px;
  text-align: center;
  line-height: 3em;
}

.header-mobile a{
  text-decoration: none;
  font-size: 16pt;
  color:#191611;
}

.header-mobile a:hover{
  color:#f94c1d;
  font-weight: bold;
}

.icon{
  width:50px;
  height:50px;
  display: none;
  position:fixed;
  top:10px;
  left:10px;
  margin:30px 0px 0px 30px;
  padding:25px 10px 0px 18px;
  border: 1px solid  #3a2e1a;
  cursor: pointer;
  z-index:30;
  border-radius: 100vh;
  background-color: #ffffff;
  opacity: 0.5;
}

.icon:hover{
  opacity: 0.8;
}

.icon span{
  display: block;
  margin-bottom:10px;
  width:40px;
  height: 1px;
  border-radius: 100vh;
  background-color: #3a2e1a;
}

.icon, .icon span{
  transition: all .4s ease-in-out;
}

.icon.is-active span:nth-child(2){
  opacity: 0;
}

.icon.is-active span:nth-child(1){
  transform: translateY(11px) rotate(45deg);
}

.icon.is-active span:nth-child(3){
  transform: translateY(-11px) rotate(-45deg);
}

.mobilebox{
  position: relative;
  margin:0 auto;
  padding: 0 auto;
  width:100vw;
  background-color: #f9f5ee;
  z-index:15;
}

/*MainContent*/
.wrapper{
  margin: 50px auto;
}

form { 
  max-width: 600px; 
  margin: auto; 
}

label { 
  display: block; 
  margin-top: 1em; 
}

input, textarea {
   width: 100%;
  padding: 0.5em;
 }

button {
  margin-top: 1em;
  padding: 0.5em 1em; 
}

.contact-title{
max-width: 600px; 
margin: auto;
    }

.contact-title h1{
  text-align: center;
}

.thanks-title{
  margin:50px 200px;
}

.thanks-title h1{
  text-align: center;
}

.thanks-title p{
  text-align: center;
  padding-top: 10px;
}


/*Footer*/

footer{
position: fixed;
bottom:0px;
margin: 0 auto;
width: 100%;
overflow: hidden;

}


.explain-footer {
  background-color: #3a2e1a;
    padding: 15px 0px;
    z-index: 35;
}

.footer-text {

}

.footer-text p{
color: #efe7d7;
text-align: center;
font-size: 12px;
font-family: sans-serif;
}
