@charset "UTF-8";
.contact_message {
  text-align: center;
}

.contact_message a {
  font-size: 3.2rem;
}

.contact_table {
  width: 90%;
  margin: 0 auto 50px auto;
}

.contact_th {
  word-break: keep-all;
  padding: 10px;
  text-align: center;
}

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

input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%;
  font-size: 1.6rem;
  border: 1px solid #aaa;
  padding: 8px 10px;
  border-radius: 3px;
}

.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;
}

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

.terms_agreement {
  width: 100%;
  text-align: center;
  padding: 20px 0;
}
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;
}

select {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 8px 10px;
  width: 100%;
}

.contact_td>.select {
  display: block;
  position: relative;
}

.contact_td>.select::before {
  border-bottom: 2px solid #244372;
  border-left: 2px solid #244372;
  content: '';
  display: block;
  height: 10px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-60%) rotate(-45deg);
  width: 10px;
}
