@charset "UTF-8";

.main-header {
  margin-bottom: 40px;
}

em.hissu {
  color: #cc0000;
  font-weight: bold;
}

.contact {
  margin-bottom: 40px;
}
.contact-title {
  padding-left: 20px;
  text-align: left;
}
.contact-tel {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
@media screen and (max-width: 768px) {
  .contact-title {
    text-align: center;
  }
}

#mailform {
  margin-top: 40px;
}
#mailform table {
  width: 100%;
  border-top: 1px solid #e5e5e5;
}
#mailform td {
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}
#mailform th {
  width: 22.39%;
  padding: 15px 0 15px 20px;
  border-bottom: 1px solid #e5e5e5;
  font-weight: bold;
  color: #34739f;
}
#mailform th span {
  color: #cc0000;
}
#mailform .text_input {
  padding: 1px 0;
  width: 63.88%;
  background-color: #f6f6f6;
  border: 1px solid #f6f6f6;
  padding: 10px;
  margin-right: 20px;
  font-size: 13px;
}
.text_area {
  padding: 10px;
  width: 100%;
  background-color: #f6f6f6;
  border: 1px solid #f6f6f6;
  font-size: 13px;
}
.privacy {
  margin-top: 30px;
  padding: 22px 30px;
  border: 1px solid #e5e5e5;
}
.privacy h4 {
  font-weight: bold;
  letter-spacing: 2px;
  color: #34739f;
}

.privacy-check {
  text-align: center;
  margin-top: 30px;
  font-weight: bold;
}

.btn-area {
  text-align: center;
  margin-top: 30px;
}

.btn_confirm {
  letter-spacing: 1px;
  border: 0;
  cursor: pointer;
  width: 360px;
  height: 60px;
  color: #fff;
  background-color: #9fc5bc;
  font-size: 14px;
  font-weight: bold;
}
.btn_back {
  display: inline-block;
  width: 284px;
  height: 50px;
  text-align: center;
  text-decoration: none;
  line-height: 50px;
  outline: none;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: bold;
}
.btn_back::before,
.btn_back::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
}
.btn_back,
.btn_back::before,
.btn_back::after {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.btn_back {
  position: relative;
  z-index: 2;
  border: 1px solid #34739f;
  color: #34739f;
  overflow: hidden;
}
.btn_back:hover {
  color: #fff;
  background-color: #34739f;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  #mailform {
    overflow: hidden;
  }
  #mailform table,
  #mailform tbody,
  #mailform tr,
  #mailform th,
  #mailform td {
    display: block;
    width: 100%;
  }
  #mailform th {
    border-bottom: none;
    padding-bottom: 0;
    padding-left: 0;
  }
  #mailform td {
    padding-top: 5px;
  }
}

.radio {
  position: relative;
  min-height: 20px;
  margin-right: 2em;
  padding-top: 2px;
  padding-left: 32px;
  cursor: pointer;
}

.radio input {
  position: absolute;
  opacity: 0;
}

[type="checkbox"], [type="radio"] {
  padding: 0;
}

.radio span::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.radio input:checked + span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34739f;
}

@media screen and (max-width: 600px) {
  #mailform .text_input {
    width: 100%;
    margin-bottom: 5px;
  }
	.privacy {
		padding: 15px;
	}
  .radio {
    display: block;
  }
}

/*--------------------------------------------------------------------------------------------------------------contactForm7-----*/

.wpcf7-not-valid-tip {
  color: red;
  display: block;
}

.wpcf7-response-output {
  color: red;
  text-align: center;
  padding-top: 20px;
}

.wpcf7-validation-errors {
  color: red;
  display: block;
  text-align: center;
  margin-top: 20px;
}

.wpcf7-mail-sent-ok {
  display: block;
  text-align: center;
  font-weight: bold;
  margin-top: 30px;
  background-color: #f7f6f2;
  padding: 20px 0;
  color: #34739f;
}

.screen-reader-response {
  display: none;
}
