@charset "UTF-8";
/* Contact page */
.form_read {
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 160%;
  padding: 70px 0 40px;
}

/* Mail page
-------------------------------------------------*/
.contact-page-content {
  padding: 0 20px 100px;
  overflow: hidden;
}

.ib {
  display: inline-block;
}

.form {
  width: 100%;
  max-width: 870px;
  margin: 0 auto;
}

.form * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  *behavior: url(/scripts/boxsizing.htc);
}

.form_ttl {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
}

.form table {
  width: 100%;
  border: none;
}

.form table tr {
  border-top: solid 1px #ccc;
}

.form table tr + tr {
  border-bottom: solid 1px #ccc;
}

.form table tr:nth-child(2n) {
  background: #FBFAF6;
}

.form table th {
  width: 32%;
  max-width: 280px;
  padding-left: 90px;
  vertical-align: top;
}

.form table th,
.form table td {
  padding-top: 19px;
  padding-bottom: 19px;
  /* background-color: #fff; */
  border: none;
}

.form table textarea {
  border: 1px solid #ccc;
  background-color: #fff;
  padding-top: 10px;
  padding-left: 10px;
}

.form input {
  padding-top: 7px;
  padding-bottom: 8px;
  padding-left: 10px;
  border: 1px solid #ccc;
  vertical-align: middle;
}

.f1 {
  width: 360px;
}

.f2 {
  width: 160px;
}

.f3 {
  width: 460px;
}

.rec {
  position: relative;
}

.rec::before {
  content: '必須';
  display: block;
  width: 48px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: #fff;
  /* background-color: #ff7887; */
  background-color: #BAA75F;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: -60px;
}

.rec2 {
  width: 48px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: #fff;
  background-color: #E6407D;
  border-radius: 8px;
  display: inline-block;
  vertical-align: middle;
}

.formbotan {
  text-align: center;
  margin-top: 40px;
}

.formbotan button {
  background-color: #fff;
  display: inline-block;
}

.formbotan button + button {
  margin-left: 20px;
}

.formbotan button {
  width: 260px;
  border: 2px solid #BAA75F;
  line-height: 41px;
  padding-top: 1px;
  border-radius: 23px;
  font-size: 16px;
  -webkit-transition: 0.6s;
  transition: 0.6s;
  cursor: pointer;
}

.formbotan button:hover {
  background: #BAA75F;
  color: #fff;
}

.formbotan button span {
  position: relative;
}

.formbotan button span::after {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #BAA75F;
  position: absolute;
  top: 3px;
  left: -20px;
}

.form_tel {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
}

.policyBox {
  max-width: 870px;
  margin: 120px auto 0;
  padding-right: 30px;
}

.policyBox dl {
  width: 50%;
  float: left;
}

.policyBox dl + dl {
  margin-left: 30px;
  margin-right: -30px;
}

.policyBox dt {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 10px;
}

.policyBox dd {
  padding: 20px;
  border: solid 1px #eee;
  border-radius: 12px;
  min-height: 360px;
  background-color: #fff;
}

.policyBox dd p {
  font-size: 12px;
  text-align: center;
}

.policyBox dd p + p {
  margin-top: 20px;
}

.fRed {
  color: #FF0000;
}

form tr td label {
  position: relative;
  padding-left: 40px;
}

form tr td input[type=radio] {
  visibility: hidden;
  position: absolute;
}

form tr td input[type=radio] + label:before {
  height: 10px;
  width: 10px;
  margin-right: 10px;
  content: " ";
  display: inline-block;
  vertical-align: baseline;
  border: 1px solid #ccc;
  position: absolute;
  top: 1px;
  left: 5px;
  display: none;
}

form tr td input[type=radio] + label:after {
  height: 20px;
  width: 20px;
  margin-right: 0px;
  content: " ";
  display: inline-block;
  vertical-align: baseline;
  border: 1px solid #ccc;
  position: absolute;
  top: -4px;
  left: 0px;
  border-radius: 50%;
}

form tr td input[type=radio]:checked + label:before {
  background: #BAA75F;
  display: block;
}

form tr td input[type=radio] + label:before {
  border-radius: 50%;
}

/* 1024 ==================================================*/
@media only screen and (max-width: 1024px) {
  .contact-page-content {
    padding: 0px 10px 50px;
  }
  .form_read {
    font-size: 12px;
    padding: 20px 10px 30px;
  }
  .rec::before {
    width: 32px;
    font-size: 9px;
  }
  .form table th, .form table td {
    font-size: 12px;
  }
  .form input {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .f1 {
    width: 286px;
  }
  .f2 {
    width: 128px;
  }
  .f3 {
    width: 368px;
  }
  .form > p {
    font-size: 12px;
  }
  .formbotan button {
    font-size: 12.8px;
    width: 208px;
    line-height: 31px;
  }
  .policyBox {
    margin: 70px 0 0;
  }
  .policyBox dd {
    min-width: 300px;
  }
  .policyBox dt {
    font-size: 13px;
  }
  .policyBox dd p {
    font-size: 10px;
  }
}

/* 768 ==============================================*/
@media only screen and (max-width: 768px) {
  .contact-page-content {
    padding: 0px 20px;
  }
  .form_read {
    font-size: 10px;
  }
  .form table th, .form table td {
    display: block;
    text-align: left;
    font-size: 10px;
  }
  .form table th {
    width: 50%;
    padding-top: 20px;
    padding-bottom: 5px;
    padding-left: 0px;
  }
  .form table td {
    padding-top: 0px;
    padding-bottom: 20px;
  }
  .rec::before {
    left: 100%;
    margin-left: 10px;
  }
  .f1, .f2, .f3 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .policyBox {
    padding-right: 0px;
    margin: 60px auto 50px;
  }
  .policyBox dl {
    width: 100%;
    float: none;
  }
  .policyBox dl + dl {
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
  }
  .formbotan button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .formbotan button + button {
    margin-left: auto;
    margin-top: 20px;
  }
}
