@charset "UTF-8";
#entry h2 + p {
  margin-top: 60px; 
}
.entry_message {
  text-align: center;
  padding: 50px 3%;
}

.entry_message a {
  font-size: 3.2rem;
}
#entry h3 {
  width: 90%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  #entry h3 {
    width: auto;
  }
}
#entry h3::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-color: #68A7C7;
  margin-right: 1rem;
  vertical-align: middle;
}

.entry_table {
  width: 90%;
  margin: 0 auto 50px auto;
  background-color: #ffffff;
}

.entry_th {
  word-break: keep-all;
  padding: 10px;
  width: 200px;
}

.required::after {
  content: "必須";
  padding: 2px;
  background-color: #eb536b;
  color: #ffffff;
  display: inline-block;
  border-radius: 3px;
  margin-left: 5px;
  font-size: 1rem;
  line-height: 1.2rem;
  vertical-align: text-bottom;
}

.entry_td {
  word-break: break-all;
  padding: 10px;
}

.entry_td.age input {
  width: 6rem;
  margin-right: 5px;
}

#entry .entry_td .year {
  width: 10rem !important;
  margin-right: 5px;
  background: url("../img/arrow_under.png") 95% no-repeat;
  background-size: 1.6rem;
}

#entry .entry_td .month {
  width: 6rem !important;
  margin-right: 5px;
  background: url("../img/arrow_under.png") 90% no-repeat;
  background-size: 1.6rem;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=date],
textarea {
  width: 100%;
  font-size: 1.6rem;
  border: 1px solid #aaa;
  padding: 8px 10px;
  border-radius: 3px;
}
#entry select {
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #eee;
  color: #333333;
  width: 100%;
  font-size: 1.6rem;
  padding: 10px;
  background: url("../img/arrow_under.png") 98% no-repeat;
  background-size: 1.6rem;
}

.terms_agreement {
  width: 100%;
  text-align: center;
  padding: 20px 0;
}

@media screen and (max-width: 768px) {
  .entry_table {
    width: 100%;
  }
  .entry_tr {
    display: flex;
    flex-direction: column;
  }
  .entry_th {
    width: 100%;
  }
}

/* style.cssを上書き */
input[type=radio],
input[type=checkbox] {
  display: none;
}
input[type=radio] + span::before {
  color: #ccc;
}
input[type=radio]:checked + span::before {
  color: #eb536b;
}
input[type=checkbox] + span{
  padding-left: 20px;
  position:relative;
  margin-right: 20px;
}
input[type=checkbox] +span::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
}
input[type=checkbox]:checked + span::after{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #eb536b;
  border-right: 3px solid #eb536b;
}