.pc-none {
  display: none;
}
@media only screen and (max-width: 430px) {
  .pc-none {
    display: block;
  }
}

.sp-none {
  display: block;
}
@media only screen and (max-width: 430px) {
  .sp-none {
    display: none;
  }
}

.contact {
  width: 1024px;
  margin: 60px auto;
}
@media only screen and (max-width: 1024px) {
  .contact {
    width: 90%;
  }
}
.contact__header {
  text-align: center;
  margin: 0 auto 40px;
}
.contact__header img {
  width: 474px;
}
@media only screen and (max-width: 430px) {
  .contact__header img {
    width: 320px;
  }
}

.thanks {
  border: solid 2px #0099ce;
  padding: 50px;
}
@media only screen and (max-width: 430px) {
  .thanks {
    padding: 20px;
  }
}
.thanks__title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}
@media only screen and (max-width: 430px) {
  .thanks__title {
    font-size: 18px;
  }
}
.thanks__title span {
  position: relative;
  display: inline-block;
  padding-bottom: 32px;
  margin-bottom: 32px;
}
.thanks__title span br {
  display: none;
}
@media only screen and (max-width: 430px) {
  .thanks__title span br {
    display: block;
  }
}
.thanks__title span::before {
  position: absolute;
  content: "";
  width: 80px;
  height: 2px;
  background-color: #0099ce;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.thanks__desc {
  font-size: 18px;
  line-height: 2;
  text-align: center;
}
@media only screen and (max-width: 430px) {
  .thanks__desc {
    font-size: 14px;
  }
}
.thanks__desc p {
  margin: 0;
  padding: 0;
}
.thanks__desc p a {
  text-decoration: none;
  color: #333333;
}
.thanks__desc__first {
  margin-bottom: 20px;
}
.thanks__desc__first p br {
  display: none;
}
@media only screen and (max-width: 430px) {
  .thanks__desc__first p br {
    display: block;
  }
}
.thanks__desc__second p br {
  display: none;
}
@media only screen and (max-width: 430px) {
  .thanks__desc__second p br {
    display: block;
  }
}
.thanks__desc__second__btn {
  font-size: 18px;
  line-height: 1;
  background-color: #e6e6e6;
  border: solid 2px #333333;
  text-decoration: none;
  color: #333333;
  padding: 28px 0;
  width: 360px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  margin: 20px auto 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media only screen and (max-width: 430px) {
  .thanks__desc__second__btn {
    width: 100%;
    padding: 20px 0;
    font-size: 15px;
  }
}
.thanks__desc__second__btn:hover {
  opacity: 0.78;
}
.thanks__desc__second__btn::before {
  position: absolute;
  content: "";
  background-image: url(../img/blog/btn-yaji02.png);
  background-size: cover;
  width: 10px;
  height: 13px;
  background-position: center center;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 20px;
}

.formInfoBox {
  background: #fbfbfa;
  border: 1px solid #dcdcdc;
  margin-bottom: 40px;
  padding: 24px 36px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #c20018;
}
@media only screen and (max-width: 430px) {
  .formInfoBox {
    padding: 12px 24px;
  }
}
.formInfoBox p {
  font-size: 18px;
  line-height: 2;
}
@media only screen and (max-width: 430px) {
  .formInfoBox p {
    font-size: 15px;
  }
}
@media only screen and (max-width: 430px) {
  .formInfoBox p br {
    display: none;
  }
}
.formInfoBox span {
  background-color: #c20018;
  color: #fff;
  font-size: 10px;
  margin-right: 6px;
  padding: 2px 5px;
  display: inline-block;
  vertical-align: middle;
}

@media only screen and (max-width: 430px) {
  .mw-tel {
    width: 100px !important;
  }
}

.mw-select {
  padding: 4px;
  border: 1px solid #d8d8d8;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.basic-table {
  width: 100%;
  border-collapse: collapse;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 auto 40px;
  table-layout: fixed;
}
@media only screen and (max-width: 430px) {
  .basic-table {
    border-bottom: 1px solid #d8d8d8;
  }
}

.basic-table thead tr {
  background-color: #f4f3f5;
  font-weight: bold;
}

.basic-table th {
  width: 30%;
  background-color: #f7f7f7;
  padding: 20px;
  text-align: left;
  border: 1px solid #d8d8d8;
  line-height: normal;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media only screen and (max-width: 430px) {
  .basic-table th {
    display: block;
    border-bottom: none;
    font-size: 15px;
    padding: 12px;
    width: 100%;
  }
}

.basic-table td {
  width: 70%;
  padding: 16px;
  border: 1px solid #d8d8d8;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media only screen and (max-width: 430px) {
  .basic-table td {
    display: block;
    border-bottom: none;
    width: 100%;
  }
}
.basic-table td .smalltxt {
  font-size: 14px;
}

.basic-table td.attention {
  background-color: #fce2ca;
  font-size: 20px;
  font-weight: bold;
}

.basic-table input,
.basic-table select,
.basic-table textarea {
  max-width: auto;
  width: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/*
.table-style-contact th:first-of-type {
	width: 30%;
	text-align: left;
	@media only screen and (max-width: 430px) {
		width: 100%;
	}
}
.table-style-contact th:last-of-type {
	width: 70%;
	@media only screen and (max-width: 430px) {
		width: 100%;
	}
}*/
.table-style-contact td:first-of-type {
  text-align: left;
}

.form-attention {
  padding: 20px;
  background: #fbfbfa;
  border-radius: 1px;
  border: 1px solid #dcdcdc;
  margin: 60px auto;
  font-size: 14px;
  line-height: 2;
  color: #c20018;
}
.form-attention p {
  font-weight: 600;
}
.form-attention span {
  background-color: #c20018;
  color: #fff;
  font-size: 10px;
  margin-left: 6px;
  padding: 2px 5px;
  vertical-align: middle;
}

.required {
  background-color: #c20018;
  color: #fff;
  font-size: 10px;
  margin-left: 6px;
  padding: 2px 5px;
  vertical-align: middle;
}

option,
textarea,
input[type=number],
input[type=email],
input[type=tel],
input[type=text],
input[type=option] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  margin: 0;
  border: 1px solid #ddd;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: auto;
}

.bigsize {
  width: 100% !important;
}

.normalsize {
  width: 400px !important;
}
@media only screen and (max-width: 430px) {
  .normalsize {
    width: 100% !important;
  }
}

.smallsize {
  width: 240px !important;
}
@media only screen and (max-width: 430px) {
  .smallsize {
    width: 100% !important;
  }
}

.telsize {
  width: 120px !important;
}
@media only screen and (max-width: 430px) {
  .telsize {
    width: 80px !important;
  }
}

/*
option,
textarea,
input[type='number'],
input[type='email'],
input[type='tel'],
input[type='text'],
input[type='option'] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: 0;
	margin: 0;
	border: 1px solid #ddd;
	@media only screen and (max-width: 600px) {
		width: 100% !important;
		max-width: 100% !important;
	}
}
input.wSS,
input.wS,
input.wM,
input.wL,
input.wLL {
	background-color: #fff;
	border: 1px solid #ccc;
	line-height: 140%;
	padding: 5px 5px;
	box-sizing: border-box;
}*/
textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 300px;
}

.fb10 {
  margin-bottom: 10px;
}

.contact-attention {
  margin: 0 auto 20px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.contact-attention a {
  color: #0099ce;
}
.contact-attention a:hover {
  text-decoration: none;
}

.contact-foot {
  margin: 0 auto 60px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.contact-btn {
  text-align: center;
  font-size: 0;
  width: 100%;
  margin: 0 auto;
}

.contact-btn input[type=submit] {
  font-weight: 600;
  width: 600px;
  font-size: 18px;
  background-color: #0099ce;
  border: none;
  color: #fff !important;
  display: inline-block;
  padding: 24px 0 !important;
  text-decoration: none;
  border-radius: 0 !important;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media only screen and (max-width: 600px) {
  .contact-btn input[type=submit] {
    width: 100%;
  }
}

.contact-btn input[type=submit]:hover {
  background-color: #006a8e;
  cursor: pointer;
}

.contact-back {
  text-align: center;
  font-size: 0;
  width: 100%;
  margin: 24px auto 0;
}

.contact-back input {
  font-weight: 600;
  cursor: pointer;
  width: 600px;
  font-size: 18px;
  background-color: #ffffff;
  border: solid 2px #0099ce;
  color: #0099ce !important;
  display: inline-block;
  padding: 24px 0 !important;
  text-decoration: none;
  border-radius: 0 !important;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media only screen and (max-width: 600px) {
  .contact-back input {
    width: 100%;
  }
}

.contact-back input[type=submit]:hover {
  background-color: #efefef;
  cursor: pointer;
}

.wSS {
  width: 60px;
}

form .cauText {
  font-size: 12px;
  margin-top: 10px;
  color: #828282;
  line-height: 1.6;
}

.mw_wp_form .error {
  color: #ad2d2d !important;
  font-size: 12px !important;
  padding: 5px 7px !important;
  font-weight: 600 !important;
  margin-top: 10px !important;
}

.submitback {
  text-align: center;
  font-size: 0;
  max-width: 600px;
  margin: 24px auto 0;
}
@media only screen and (max-width: 600px) {
  .submitback {
    width: 100%;
  }
}

.mwform-tel-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5em;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

.mw_wp_form input,
.mw_wp_form select,
.mw_wp_form textarea {
  font-size: 16px;
}

/*
.mwform-tel-field input {
	flex: 1;
}
*/