
body{
  background: red;
  background-size: cover;
  font-size: 20px;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  min-height: 100vh;
}

.gothic{
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

@media screen and (max-width:640px) {
  body{font-size: 4vw;}
}

#wrapper{
  max-width: 740px;
  display: block;
  margin: 0 auto;
}

.main{
  padding: 20px;
  background: red;
}
.main img{
  margin: 20px auto;
}

#top{
  text-align: center;
}
#top img{
  animation: flashing 60s infinite;
}

.moveArrow{
  animation: yura 1s infinite;
  width: 50%;
  position:relative;
  top: 0;
}
@keyframes yura{
  0%{
    top:0;
  }
  50%{
    top:10px;
  }
  100%{
    top:0;
  }
}

/*form*/
.cardselect{
  display: flex;
  flex-flow: wrap row;
  justify-content: space-between;
  align-items: center;
}
.cardselect a{
  cursor: pointer;
  display: block;
  width: 30%;
  height: auto;
  margin-bottom: 10px;
}
.fortunecard{
  text-align: center;
}


.appear{
  animation: appear .5s ease;
}
#formImput{
  display: none;
  animation: appear .5s ease;
}
@keyframes appear {
    0%{
      opacity: 0;
    }
    100%{
      opacity: 1;
    }
  }


#button_menu details{
  display: block;
  margin: 20px auto 40px;
  background: white;
  text-align: center;
  border-radius: 14px;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  padding: 10px;
  color: #333;
  width: 70%;
  list-style: none;
}
#button_menu details a{
  display: block;
  margin: 5px auto;
  text-decoration: none;
  color: inherit;
}

#footer{
  width: 100vw;
  background: #fff7b5;
  display: block;
  margin-left: calc(((100vw - 100%) / 2) * -1);
  margin-right: calc(((100vw - 100%) / 2) * -1);
  text-align: center;
  bottom: 0;
}


/* bottom */
#sendmail{
  text-align: center;
}

#sexSelect{
  display: flex;
  text-align: center;
  flex-flow: row nowrap;
  justify-content: space-between;
}
#sexSelect label{
  border: 1px solid #7e7e7e;
  padding: 5px 15px;
  line-height: 180%;
  border-radius: 10px;
  font-weight: bold;
  display: block;
  width: 48%;
  background: white;
  box-shadow: 0px 0px 3px 0px #aaa inset;
}
#sexSelect input{
  display: none;;
}
#sexSelect input[type="radio"]:checked + label.male,#sexSelect input[type="radio"]:checked + label.female {
  background-image: -moz-linear-gradient( 90deg, rgb(123,227,29) 0%, rgb(201,255,48) 100%);
  background-image: -webkit-linear-gradient( 90deg, rgb(123,227,29) 0%, rgb(201,255,48) 100%);
  background-image: -ms-linear-gradient( 90deg, rgb(123,227,29) 0%, rgb(201,255,48) 100%);
  color: #ffffff;
  box-shadow: 0px 0px 3px 0px #daf800 inset;
  color: #292929;
}

input#username,input#email {
  background: #fff;
  border-radius: 4px;
  padding: 0.5em;
  width: 100%;
  font-size: 1.5em;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
input::placeholder {
  font-size: 20px;
  color: #aaa;
 }
 select#userSex {
  padding: 0.5em !important;
  border-radius: 8px;
  font-size: 1.5em;
  background: white;
  appearance: menulist;
  -moz-appearance: menulist;
  -webkit-appearance: menulist;
  vertical-align: center;
  line-height: 1.5em;
  width: 100%;
}
select#Byy,select#Bmm,select#Bdd{
  padding: 0.5em !important;
  border-radius: 8px;
  font-size: 1.5em;
  background: white;
  appearance: menulist;
  -moz-appearance: menulist;
  -webkit-appearance: menulist;
  vertical-align: center;
  line-height: 1.5em;
}
.entry_form p{
  color: white;
  margin: 1em auto 0.5em;
  text-shadow: 0 0 10px white;
  text-align: left;
}
.entry_td{
  margin: 0 auto 30px;
}
.entry_td span{
  color: white;
}
.must {
  background: #fbff00;
  padding: 5px;
  border-radius: 8px;
  font-size: .8em;
  font-weight: bold;
  vertical-align: unset;
  color: red;
}
button {
  display: block;
  width: 100%;
  margin: 40px auto;
  transition: filter .2s ease;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.backBtn{
  color: white;
  display: block;
  width: 100%;
  margin: 40px auto;
  padding: 10px 10px;
  transition: filter .2s ease;
  font-size: 1.5em;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}





.animate {
  animation: my-animation .5s linear;
}

@keyframes my-animation {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.05);
    opacity: 0;
  }
}