@charset "utf-8";
/*=======================================================================
form
=======================================================================*/
input, select {
  background: #fff;
}
input[type="text"]:focus::-webkit-input-placeholder {
  color: transparent;
}
input[type="text"]:focus::-moz-placeholder {
  color: transparent;
}
[inputtype="text"]:focus::-ms-input-placeholder {
  color: transparent;
}
input[type="text"]:focus::placeholder {
  color: transparent;
}
#form label {
  font-size: 100%;
  font-weight: bold;
}
#form input[type="text"], #form input[type="tel"], #form input[type="number"], #form input[type="email"], #form textarea, select {
  width: 100%;
  border: 1px solid #ccc;
  -moz-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);
  padding: 16px;
}
select, option {
  padding: 16px;
  width: 100%;
  cursor: pointer;
}
input:focus, textarea:focus, select:focus {
  background: #ffc;
}
span.need {
  background: #c00;
  color: #fff;
  padding: 0.3% 0.8%;
  margin: 10% 0;
}
#form dl dt.need:after {
  position: absolute;
  right: 10px;
  content: "必須";
  background: #c00;
  color: #fff;
  padding: 0.3% 0.8%;
}
input[type="radio"], input[type="checkbox"] {
  display: inline-block;
  margin: 8px 6px;
  -moz-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);
}
input[type="radio"] + label, input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  margin: 8px 12px 8px 8px;
  line-height: 250%;
  cursor: pointer;
}
@media (min-width: 1px) {
  input[type="radio"], input[type="checkbox"] {
    display: none;
    margin: 0;
  }
  input#agree {
    display: block;
    opacity: 0;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
    min-height: 1px;
    border: 0;
    border-radius: 0;
    font-size: 0;
  }
  input[type="radio"] + label, input[type="checkbox"] + label {
    padding: 0 0 0 30px;
  }
  input[type="radio"] + label::before, input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 25px;
    height: 25px;
    margin-top: -12px;
    background-color: white;
  }
  input[type="radio"] + label::before {
    border: 1px solid #ccc;
    border-radius: 30px;
  }
  input[type="checkbox"] + label::before {
    border: 1px solid #ccc;
  }
  input[type="radio"]:checked + label::after, input[type="checkbox"]:checked + label::after {
    content: "";
    position: absolute;
    top: 50%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
  }
  input[type="radio"]:checked + label::after {
    left: 5px;
    width: 15px;
    height: 15px;
    margin-top: -7px;
    background: #39f;
    border-radius: 8px;
  }
  input[type="checkbox"]:checked + label::after {
    left: 3px;
    width: 18px;
    height: 9px;
    margin-top: -8px;
    border-left: 3px solid #39f;
    border-bottom: 3px solid #39f;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
}
.formbtn, .formbtn_gray {
  text-align: center;
  width: 90%;
  max-width: 400px;
  margin: 24px auto;
  display: block;
  text-decoration: none;
  border-radius: 30px;
  padding: 16px;
  transition: 0.3s;
}
.formbtn {
  background: #db3986;
  border: 1px solid #db3986;
  color: #fff;
}
.formbtn:hover {
  background: #fff;
  border: 1px solid #db3986;
  color: #db3986;
}
.formbtn_gray {
  background: #777;
  border: 1px solid #777;
  color: #fff;
}
.formbtn_gray:hover {
  background: #fff;
  border: 1px solid #777;
  color: #777;
}