@charset "UTF-8";
@import url(reset.css);

body {
  width: 100%;
  margin: 0 auto;
  font-size: 16px;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, 游明朝, HGS明朝E, serif;
  font-feature-settings: "pwid" 1;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: unset;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  word-wrap: break-word;
  color: #656565;
  font-weight: 600;
  color: #4e4e4e;
}

* {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  vertical-align: top;
  width:100%;
  height:auto;
  display: block;
}

body,.head_inner, main, footer ul {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
}

.btn {
  margin: 0 auto;
}
.relative{
  position: relative;
}
.absolute{
  position: absolute;
  top: 91%;left: 50%;transform: translate(-50%, -50%);width:90%;
}

main {
  height: auto;
}

#form_top {
  width: 100%;
}

#form_top p {
  margin: 5%;
  font-size: 16px;
  line-height: 1.6;
}

#form_top p:nth-child(1) {
  font-size: 22px;
  font-weight: bold;
  border-left: 4px solid #007fc2;
  padding-left: 2%;
  box-sizing: border-box;
}

div#form_wrapp{
  background: url("../img/img_form_bg.webp");
  background-size: cover;
  background-position:top;
}
div#form_wrapp>img{
  width: 91%;
  display:block;
  margin:auto;
}

form {
  width: 85%;
  min-width: 277px;
  display: block;
  margin: 0 auto;
}

dd, dl, dt {
  overflow-x: hidden;
}

.form_cont {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
  color:white;
}

.form_cont span {
  color: white;
  font-size: 13px;
  display: inline-block;
  vertical-align: bottom;
  margin-bottom: 4px;
  padding: 0 4px;
}


#form {
  margin: 16.2px auto;
}

#form .radio-group input {
  display: none;
}

#form .radio-group label {
  cursor: pointer;
  float: left;
  border: solid 1px #aaa;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 3px;
  margin-bottom: 3px;
  font-size: 20px;
  font-weight: 700;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.81, #ffffff), color-stop(0, #e3e3e3));
  background: -webkit-linear-gradient(top, #ffffff 0%, #e3e3e3 81%);
  background: -moz-linear-gradient(top, #ffffff 0%, #e3e3e3 81%);
  background: -o-linear-gradient(top, #ffffff 0%, #e3e3e3 81%);
  background: -ms-linear-gradient(top, #ffffff 0%, #e3e3e3 81%);
  background: linear-gradient(to bottom, #ffffff 0%, #e3e3e3 81%);
  color: #525252;
  text-shadow: 0 0 0 #fff;
  width: 50%;
  line-height: 30px;
  text-align: center;
}

#form .radio-group input:checked + label {
  color: #fff;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.81, #039aea), color-stop(0, #007fc2));
  background: -webkit-linear-gradient(top, #039aea 0%, #007fc2 81%);
  background: -moz-linear-gradient(top, #039aea 0%, #007fc2 81%);
  background: -o-linear-gradient(top, #039aea 0%, #007fc2 81%);
  background: -ms-linear-gradient(top, #039aea 0%, #007fc2 81%);
  background: linear-gradient(to bottom, #039aea 0%, #007fc2 81%);
}

#select_form {
  width: 100%;
  margin: 16.2px auto;
  color:white;
}

#select_form select {
  font-size: 19px;
  border-radius: 5px;
  border: solid 1px #aaa;
  padding: 4px 12px;
}

#select_form > span {
  font-weight: bold;
  vertical-align: bottom;
}

#select_form p:nth-of-type(2) {
  /* color: #007fc2; */
  font-size: 14px;
  margin-top: 6px;
}

#name_form {
  position: relative;
  width: 100%;
  margin: 16.2px auto;
}

#name_form input {
  width: 100%;
  font-size: 19px;
  border-radius: 0;
  border: solid 1px #aaa;
  padding: 6px 12px;
  color:white;
}

#name_form #e_name {
  position: absolute;
  bottom: -26px;
  width: 100%;
  text-align: center;
  /* color: #009ff2; */
  color:white;
  font-weight: bold;
  animation: 2s tenmetu ease-in-out infinite;
  -webkit-animation: 2s tenmetu ease-in-out infinite;
}

@keyframes tenmetu {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes tenmetu {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


#submit input {
  width: 100%;
  margin: 0 auto;
  display: block;
}

#pmark {
  width: 30%;
  margin: 20px auto 5px;
}
#pmark>a{
  margin: 24px auto;
}
#footer_icon img{
width:100%;
}
#footer_icon{
  display:flex;
  text-align:center;
  padding:0 10px;
}
#fortune_icon{
  width:50%;
  padding:0 5%;
  border-left: 1px solid #e5e5e5;
  margin:auto 0;
}

footer {
  width: 100%;
  display: block;
  text-align: cecnter;
}

footer .footer_list {
  background: #000;
  width: 100%;
}

footer ul {
  padding: 16px 9% 14px;
  text-align: center;
}

footer li {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.8;
  display: inline-block;
  color: #fff;
  font-weight: 800;
}

footer li a {
  font-weight: 600;
  color: #fff;
  padding-right: 4px;
}

footer #copy {
  background: #072f4b;
  width: 100%;
  padding: 6px 0;
  display: block;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
