.contact-page .m_main .main {
 background-image: url("../img/contact/contact_top.jpg");
}

.tel_box {
  margin-top: calc(7.5vw / 2);
}
.tel_box > dl {
  border: 1px solid #2C4A97;
  display: flex;
}
.tel_box > dl dt {
  background-color: #2C4A97;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 500;
  padding: 1em 1.5em;
  text-align: center;
}
.tel_box > dl dd {
  display: flex;
  align-items: center;
  flex: 1 1;
  padding: 1em 1.75em;
}
.tel_box > dl dd .tel_num {
  font-size: 3.2rem;
  font-weight: 700;
  flex: 0 0 auto;
}
.tel_box > dl dd .tel_num a {
  display: flex;
  align-items: center;
}
.tel_box > dl dd .tel_num a:before {
  color: #2C4A97;
  content: "\f095";
  font-family: FontAwesome;
  font-size: 85%;
  font-weight: normal;
  line-height: 1;
  margin-right: 0.25em;
}
.tel_box > dl dd .tel_num a:hover {
  color: #2C4A97;
}
.tel_box > dl dd .tel_time {
  margin-left: 1.5vw;
}

@media screen and (max-width: 1080px){
  .tel_box > dl {
    display: block;
  }
  .tel_box > dl dd .tel_num {
    font-size: 2.8rem;
  }
}
@media screen and (max-width: 980px){
  .tel_box > dl dt {
    font-size: 1.7rem;
    padding: 0.75em 1em;
  }
  .tel_box > dl dd {
    flex-direction: column;
    padding: 0.75em 1.25em;
  }
  .tel_box > dl dd .tel_num {
    font-size: 2.4rem;
  }
  .tel_box > dl dd .tel_time {
    text-align: center;
    font-size: 1.5rem;
    margin-left: 0;
    margin-top: 0.5vw;
  }
  .tel_box > dl dd .tel_time > span {
    display: block;
  }
}

p.attention{
  margin: calc(7.5vw / 2.5) 0;
  position: relative;
}
.form_box .form_wrap {
  border-bottom: 1px solid #b9b9b9;
  border-top: 1px solid #b9b9b9;
  padding-bottom: 3vw;
  padding-top: 3vw;
}
.form_box .form_wrap > dl:not(:first-of-type) {
  margin-top: 2vw;
}
.form_box .form_wrap > dl dt {
  display: flex;
  align-items: center;
  font-weight: 500;
}
.form_box .form_wrap > dl dt .required {
  background-color: #dc0000;
  border-radius: 2px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  height: 20px;
  margin-right: 1em;
  padding: 0.25em 0.5em;
}
.form_box .form_wrap > dl dt span.optional {
  display: none;
}
.form_box .form_wrap > dl dd {
  margin-top: 0.5vw;
}
.horizontal {
  display: flex;
}
.horizontal > *:not(:first-of-type) {
  margin-left: 1vw;
}
.horizontal_flx1 {
  flex: 1 1;
}
.horizontal.equal > li {
  flex: 1 1;
}
.add li.postal {
  width: 9em;
}
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: none;
  cursor: pointer;
  height: 50px;
  width: 100%;
  padding-left: 1em;
  padding-right: 3em;
}
select::-ms-expand {
  display: none;
}
select option {
  color: #151515;
}
.select-wrapper {
  position: relative;
  z-index: 0;
}
.select-wrapper:after {
  position: absolute;
  content: "";
  font-family: "Font Awesome 5 Free";
  content: '\f107';
  font-weight: 900;
  top: 50%;
  right: 1em;
  transform: scale(1, 1) translateY(-50%);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
textarea,
select {
  width: 100%;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="button"],
textarea,
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
textarea,
select {
  border: 1px solid #c5c5c5;
  border-radius: 3px;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"] {
  height: 50px;
  padding: 0 1em;
}
input[type="email"] {
  width: 100%;
}
input[type="tel"] {
  width: 100%;
}
input[type="checkbox"] {
  border-radius: 0;
  height: 20px;
  width: 20px;
  margin-right: 0.5em;
  position: relative;
  top: 0.1em;
}
input[type="radio"] {
  height: 20px;
  width: 20px;
  margin-right: 0.5em;
  position: relative;
  top: 0.15em;
}
textarea {
  padding: 0.75em 1em;
  width: 100%;
}
input:focus,
input:hover,
textarea:focus,
textarea:hover,
select:focus,
select:hover {
  border-color: #656565 !important;
}
.form_box .send_wrap .agree {
  margin-bottom: 3vw;
  margin-top: 2vw;
}
p.form_txt{
  font-size: 0.95em;
  margin-top: 0.5em;
}
.file-input{
  border: solid 1px #B9B9B9;
  width: 100%;
}
.file-input::file-selector-button {
  font-size: 0.9em;
  background: #F6F6F6;
  border: none;
  border-right: 1px solid #B9B9B9;
  padding: 0.8em 1.5em;
  border-radius: 0;
  cursor: pointer;
}
.file-input::file-selector-button:hover {
  background: #F6F6F6;
}

.agree_check[disabled] {
  opacity: 0.3;
  pointer-events: none;
}
.agree_check.btn{
  width: 250px !important;
  height: 60px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  background-color: #2C4A97 !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.25em 1.5em;
  position: relative;
  z-index: 0;
  word-break: keep-all;
  text-align: center;
}
a.send_link{
  color: #2C4A97;
  text-decoration: underline;
  font-weight: bold;
}
span.error_blank,
span.error_format,
span.error_match {
  color: #be1a21;
  display: block;
  line-height: 2.5;
}
span.error_check {
  display: none;
  color: #be1a21;
}
div.loading-layer {
	width: 100vw;
	height: 100vh;
	background: rgba( 0, 0, 0, 0.7 );
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 10000;
}
span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
}
@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}
@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@media screen and (max-width: 768px){
  .form_box .form_wrap {
    padding-bottom: 5vw;
    padding-top: 5vw;
  }
  .form_box .form_wrap > dl:not(:first-of-type) {
    margin-top: 5vw;
  }
  .horizontal > *:not(:first-of-type) {
    margin-left: 2vw;
  }
  .add li.postal {
    width: 8.5em;
  }
  input[type="checkbox"] {
    height: 16px;
    width: 16px;
  }
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="password"] {
    padding: 0 0.75em;
  }
  .form_box .send_wrap .agree {
    margin-bottom: 5vw;
    margin-top: 4vw;
  }
  #form_submit #form_submit_button {
    height: 50px !important;
    width: 100% !important;
  }
}

/* -----------------------------------------------------------
  確認ページ
----------------------------------------------------------- */
p.error_messe {
  margin: 5px 0;
  color: #e50c15;
}
.back_btn.btn {
  width: 250px !important;
  height: 60px !important;
  font-weight: 500 !important;
  border: solid #B9B9B9 1px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.25em 1.5em;
  position: relative;
  z-index: 0;
  word-break: keep-all;
  text-align: center;
}
.formTable tr{
  margin-bottom:1.5em;
  display: block;
}
.formTable th,.formTable td{
  display: block;
  text-align: left;
}
.formTable th{
  position: relative;
  font-weight: 500;
  margin-left: 1.5em;
}
.formTable th::before{
  position: absolute;
  content: "";
  width: 1em;
  height: 1em;
  background-color: #151515;
  top: 50%;
  transform: translateY(-50%);
  left: -1.3em;
}
.formTable td{
  margin-top: 0.5em;
}

.send-attention_wrap{
  border: dashed #5E7BCB 1px;
  position: relative;
  padding: 2.5em 3em;
}
.send_ttl{
  color: #5E7BCB;
  background-color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  padding: 0 1em;
  position: absolute;
  top: -0.5em;
  transform: translateY(-25%);
  left: 1em;
}
ul.send_list{
  margin-left: 1.5em;
}
ul.send_list li{
  margin-bottom: 1.3em;
  list-style: disc;
}
span.list-attention{
  color: #FB0000;
  text-decoration: underline;
}
@media screen and (max-width: 980px) {
  .send-attention_wrap{
    margin-top: calc((10vw / 1.5) + 0.5em);
  }
}
p.form_btn {
  margin: 2em 0;
  display: flex;
  gap: 4rem;
  justify-content: center;
}
@media screen and (max-width: 980px) {
  p.form_btn {
    flex-direction: column;
    align-items: center;
  }
}
/* -----------------------------------------------------------
  お問い合わせ完了
----------------------------------------------------------- */
.complete_box {
  text-align: center;
}
.complete_box .complete_ttl {
  font-size: 3.0rem;
  font-weight: 700;
}
.complete_box .complete_content {
  font-size: 1.8rem;
  margin-top: 3vw;
}
.complete_box .complete_content p:not(:first-of-type) {
  margin-top: 0.75em;
}
.complete_box .complete_btn {
  margin-top: 3vw;
  width: 250px !important;
  height: 60px !important;
  font-weight: 500 !important;
  background-color: #2C4A97 !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.25em 1.5em;
  position: relative;
  z-index: 0;
  word-break: keep-all;
  text-align: center;
}
.complete_box .complete_btn a{
  color: #ffffff !important;
}
@media screen and (max-width: 768px){
  .complete_box .complete_ttl {
    font-size: 2.8rem;
  }
  .complete_box .complete_content {
    font-size: 1.6rem;
    margin-top: 5vw;
  }
  .complete_box .complete_ttl {
    font-size: 2.4rem;
  }
  .complete_box .complete_content > p > span {
    display: block;
  }
  .complete_box .complete_btn {
    margin-top: 5vw;
  }
}