.sub_mv > div > div{
  background: url(./images/mv/pc/mv_contact.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 768px) {
  .sub_mv{
    margin-bottom: 0;
  }
	.sub_mv > div > div{
		background: url(./images/mv/sp/mv_contact.jpg) no-repeat;
		background-size: cover;
		background-position: center;
  }
}


.btn_blue{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 50px 20px;
  border: 3px solid #55ACE0;
  border-radius: 30px;
  width: 90%;
  max-width: 400px;
  height: 60px;
  background: #fff;
  box-shadow: 0 2px 2px rgba(0,0,0,0.2);
  text-align: center;
  color: #4ca4d3;
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}
.btn_blue:hover{
  transform: translateY(2px);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.m0auto{
  margin: 30px auto;
}

.contact_intro{
  padding: 0 20px 30px;
}
.contact_intro > p{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.66;
} 
.contact_intro > p.talign{
  text-align: center;
}
.contact_intro > p a{
  color: #4ca4d3;
}
.contact_bottom{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px 0;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .contact_intro{
    padding: 30px 20px;
  }
  .contact_intro > p{
    font-size: 14px;
  }
  .contact_intro > p.talign{
    text-align: left;
  }
  .btn_blue{
    margin: 20px 30px;
  }
}

.form > div{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 50px 50px 10px;
  background: #f8fcfe;
  border-radius: 20px 0 20px 0;
  box-sizing: border-box;
}
.form p{
  line-height: 1.4;
}
.form > div table{
  width: 100%;
  border-collapse: collapse;
}
.form > div table th,.form > div table td{
  border-bottom: 1px dotted #e7e7e7;
  padding: 30px;
  box-sizing: border-box;
}
.form > div table th{
  width: 28%;
  color: #55ace0;
  font-size: 18px;
  text-align: left;
  line-height: 1.5;
}
.form > div table th .must::after{
  content: "※必須";
  color: #fabdb4;
  margin-left: 0.5em;
  font-size: 14px;
  vertical-align: middle;
}
.form > div table td{
  width: 72%;
}
.form > div table td .flex{
  display: flex;
  align-items: center;
}
.form > div table td .input_w25{
  width: 25%
}
.form > div table td .input_w50{
  width: 50%
}
.form > div table td .input_w100{
  width: 100%
}
table .name label,table .kana label{
  display: block;
  width: 3.5rem;
  text-align: center;
}
table input,table select,table textarea{
  border: 1px solid #56ace1;
  padding: 1rem;
  box-sizing: border-box;
}
table textarea{
  height: 10rem;
}
table .name label,table .kana label{
  padding-right: 1rem;
}
table .name #txtNameSei,table .kana #txtNameSeiKana{
  margin-right: 2rem;
}
table .birth select{
  width: 100%;
}
select[name="ddlPref"]{
  width: 100%;
  color: #000;
}
.scroll_box{
  width: 100%;
  max-width: 1000px;
  margin: 50px auto 50px;
  padding: 50px;
  background: #fff;
  max-height: 300px;
  line-height: 1.66;
  overflow-y: scroll;
  box-sizing: border-box;
}
.scroll_box p,.scroll_box ul{
  padding-bottom: 1rem;
}
.scroll_box a{
  color: #293442;
  word-break: break-all;
}
.form > div > p:nth-child(3){
  text-align: center;
  padding-bottom: 20px;
  line-height: 1.66;
}
.form > div > p:nth-child(4){
  text-align: center;
  padding-bottom: 20px;
}
.form > div > p:nth-child(4) label{
  font-size: 18px;
  font-weight: bold;
  color: #4ca4d3;
}
input[type=checkbox]{
  display:none;
}
input[type=checkbox] + label{
  position:relative;
  padding-left: 50px;
  cursor:pointer;
  box-sizing: border-box;
}
input[type=checkbox] + label::before,input[type=checkbox] + label::after{
  position:absolute;
  content:"";
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
input[type=checkbox] + label::before{
  width:24px;
  height:24px;
  border:1px solid #56ace1;
  background: #fff;
}
input[type=checkbox] + label::after{
  position: absolute;
  width: 10px;
  height: 20px;
  top: 0;
  left: 10px;
  border-right: 2px solid #56ace1;
  border-bottom: 3px solid #56ace1;
  content: '';
  margin-top: -7px;
  opacity: 0;
  transform: rotate(45deg);
}
input[type=checkbox]:checked + label::after {
  opacity: 1;
}
input[type=submit]{
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
}
.form > div > p:last-child{
  width: 100%;
  max-width: 1000px;
  margin: 70px auto 50px;
  line-height: 1.66;
}

option{
  color: #000;
}
table .birth select{
  color: #000;
}
table .birth label{
  margin: 0 1rem;
}
select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
}
select::-ms-expand{
  display: none;
}
.select_wrap{
  position: relative;
  display: flex;
  align-items: center;
}
.birth .select_wrap{
  width: calc(100%/3);
}
.pref_select .select_wrap{
  width: 38%;
}
.pref_select .select_wrap select{
  width: 100%;
}
.select_wrap:after {
  content: "▼";
  position: absolute;
  pointer-events: none;
  font-size: 14px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.birth .select_wrap:after{
  right: 60px;
}
.pref_select .select_wrap:after{
  right: 10px;
}
.clinic_select .select_wrap:after{
  right: 10px;
}
.clinic_select{
  display: flex;
  align-items: center;
}
.radio_wrap{
  display: flex;
  flex-direction: column;
  margin: 0 50px 0 0;
}
.radio_wrap li{
  margin: 5px 0;
}
.clinic_select .select_wrap{
  width: 100%;
  max-width: 360px;
}
.clinic_select .select_wrap select{
  width: 100%;
}
@media screen and (max-width: 768px) {
  .clinic_select{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .radio_wrap{
    display: inline-block;
    width: 100%;
  }
  .radio_wrap ul{
    display: flex;
    align-items: center;
  }
  .radio_wrap li{
    display: flex;
    align-items: center;
  }
  .radio_wrap li input{
    width: 30px;
  }
  .radio_wrap li:first-of-type{
    margin: 0 20px 0 0;
  }
  .clinic_select .select_wrap{
    margin: 20px 0 0;
    max-width: none;
  }
  .clinic_select .select_wrap select{
    font-size: 13px;
  }
}
.FormButton{
  display: flex;
  justify-content: center;
  align-items: center;
}
.FormButton .btn_pink{
  margin: 0 10px;
}
.FormButton #back_button{
	background: #888;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1em 10px;
  border: none;
	border-radius: 30px;
	width: 80%;
	max-width: 300px;
	height: 60px;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	transition: 0.3s;
  cursor: pointer;
}
.FormButton #back_button:hover{
	opacity: 0.8;
}
.contact_pp{
  margin: 2em 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .form > div table th,.form > div table td{
    display: block;
    width: 100%;
    padding: 30px 20px;
  }
  table .birth select{
    max-width: 150px;
  }
  .pref_select .select_wrap{
    width: 100%;
  }
  .select_wrap:after{
    right: 55px;
  }
  .pref_select .select_wrap{
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .FormButton{
    flex-direction: column;
    margin: 2em 0 1em;
  }
  .FormButton #back_button{
    order: 2;
    border-radius: 20px;
    width: 50%;
    max-width: 200px;
    height: 40px;
    font-size: 16px;
  }
  table .name label,table .kana label{
    padding: 0;
    width: 3rem;
  }
  .form > div table td .input_w25{
    width: 40%
  }
  .form > div table td .input_w50{
    width: 100%
  }
  table .birth label{
    margin: 0 6px;
  }
  .form > div{
    padding: 10px;
  }
  .form > div table th{
    border-bottom: none;
    padding: 20px 20px 0 20px;
  }
  .form > div table td{
    border-bottom: none;
    padding: 20px;
  }
  .form > div table th{
    font-size: 16px;
  }
  table input,table select,textarea{
    width: 100%;
    max-width: 100%;
  }
  table .name #txtNameSei,table .kana #txtNameSeiKana{
    margin-right: 0;
  }
  table .name label, table .kana label{
    display: block;
    padding-bottom: 5px;
  }
  .birth .select_wrap{
    width: calc(100%/3);
  }
  .pref_select .select_wrap{
    width: 100%;
  }
  table .birth select{
    padding-right: 0;
    margin-right: 0;
  }
  .birth .select_wrap:after{
    font-size: 10px;
    right: 32px;
  }
  .pref_select .select_wrap:after{
    font-size: 10px;
  }
  .scroll_box{
    font-size: 12px;
    padding: 20px;
    max-height: 200px;
  }
  .form > div > p:nth-child(3){
    font-size: 14px;
  }
  .form > div > p:nth-child(4) label{
    font-size: 16px;
  }
  .form > div > table label{
    font-size: 14px;
  }
  input[type=checkbox] + label{
    padding-left: 40px;
  }
  .form > div > p:last-child{
    font-size: 14px;
  }
  ::placeholder{
    font-size: 14px;
  }
}
@media screen and (max-width: 320px) {
  ::placeholder{
    font-size: 11px;
  }
  table .birth select{
    padding: 1rem 0.3rem;
  }
}

.pc_side_btn{
  display: none;
}
#top_error_message{
	border-radius: 5px;
  margin-top: -64px;
  padding-top: 64px;
}
p.TopErrMsg span {
  display: block;
  box-sizing: border-box;
  margin: 0 auto 10px;
  padding: 10px 35px;
	border-radius: 5px;
  width: 100%;
  max-width: 1100px;
  background: #dd0000 url("./images/confirm-form/alert.gif") 10px center no-repeat;
  line-height: 1.4em;
  color: #fff;
}
p.ErrMsg {
  margin-top: 3px;
  width: 100%;
  background: url("./images/confirm-form/alert.gif") left center no-repeat;
  text-indent: 22px;
  line-height: 1.4em;
  font-weight: bold;
  color: red;
}
.ErrMsgLast{
  text-align: center;
}
.ErrMsgLast p{
  display: inline;
  padding: 0 0 0 20px;
}
