/* メールフォーム */




/* ページタイトル */
#lower .strength-hello{
    position: relative;
    z-index: -1;
}
#mailform_sanka .strength-hello::after{
    content: "";
    background: url("../../iryou/img/title/mailform-top.jpg");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: top right;
    width: 50%;
    height: 100%;
    position: absolute;
    top:100px;
    right: 0;
}
#mailform_sanka .ttl_area{
    width: 45%;
}
#mailform_sanka .ttl_area h1 span{
    display: block;
}

@media(max-width:1194px){
    #mailform_sanka .strength-hello::after{
        background: url("../../iryou/img/title/mailform-top.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top right;
        height: 75%;
    }
    #mailform_sanka .ttl_area{
        width: 45%;
    }
}
@media (max-width:768px) {
    #mailform_sanka .strength-hello::after{
        height: 78%;
        top: 70px;
    }
    #mailform_sanka .ttl_area{
        width: 45%;
        margin-top: 0;
    }
}
@media (max-width:480px) {
    #mailform_sanka .strength-hello::after{
        height: 40vw;
        display: none;
    }
    #mailform_sanka .strength-hello .mv_area01 {
        height: 37vw;
        width: 100%;
    }
    #mailform_sanka .ttl_area{
        width: 100%;
        text-align: center;
    }
}

#mailform_sanka .term2{
	box-sizing: border-box;
}


#mailform_sanka h2.mailform_ttl{
    background-color: #fff;
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
    border-left:none;
    padding: 0;
    font-weight: unset;
}
#mailform_sanka .mailform-info{
    margin-bottom: 30px;
    line-height: 2;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#mailform_sanka .mailform_notes{
    background-color: #fff4dc;
    padding: 5px 20px;
}
#mailform_sanka .mailform_notes p{
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#mailform_sanka table{
    border: 1px solid #d9dae7 !important;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#mailform_sanka table th{
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    font-size: 18px;
    background: url(../img/office/office-list-bg.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top;
    vertical-align: inherit;
    padding: 0 5%;
}
#mailform_sanka table .annotation{
    background-color: #ce6c56;
    font-size: 14px;
    padding: 0 8px;
    margin-top: -4px;
}
#mailform_sanka table td{
    background-color: #fff;
    padding: 30px;
}
#mailform_sanka table input[type="text"], #mailform_sanka table input[type="tel"], #mailform_sanka table input[type="number"], #mailform_sanka table input[type="email"], #mailform_sanka table input[type="fax"] {
    margin: 0 auto;
    box-shadow: none;
    background-color: #ededef;
    padding-left: 10px;
    height: 40px;
    border: none;
	box-sizing: border-box;
		
}
#mailform_sanka table input::placeholder{
    font-size: 16px;
    color: #595959;
}
#mailform_sanka .submit-box input[type="submit"], #mailform_sanka .submit-box input[type="button"]{
    width: 500px;
    height: 90px;
    border-radius: 100px;
    border: 0;
    background-color: #ce6c56;
    color: #fff;
    font-size: 24px;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
    font-weight: bold;
}
#mailform_sanka .submit-box{
    position: relative;
    margin: 60px auto;
    font-size: 24px;
    width: 500px;
}
#mailform_sanka .submit-box::after{
    content: "";
    background: url(../img/arrow_right_wh.svg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    width: 1em;
    height: 1em;
    position: absolute;
    top:50%;
    right: 3em;
    transform: translateY(-50%);
}
#mailform_sanka #mail{
    margin-top: 10px;
}
#mailform_sanka textarea{
    height: 200px !important;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
    resize: unset;
}
#mailform_sanka .term2{
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#mailform_sanka td .contact{
    font-size: 18px !important;
    width: 140px !important;
}
#mailform_sanka #mail, #mailform_sanka #tel {
    width: calc(100% - 150px) !important;
}
#mailform_sanka .term2{
    font-size: 18px !important;
    padding: 20px !important;
}
@media (max-width:768px) {
    #mailform_sanka h2.mailform_ttl{
        font-size: 28px;
    }
    #mailform_sanka .submit-box input[type="submit"], #mailform_sanka .submit-box input[type="button"]{
        width: 400px;
        height: 80px;
        font-size: 20px;
    }
    #mailform_sanka .submit-box{
        margin: 40px auto;
        font-size: 20px;
        width: 400px;
    }
    #mailform_sanka table th{
        padding: 2% 5%;
        font-size: 16px;
    }
    #mailform_sanka table td{
        padding: 4% 5%;
    }
    #mailform_sanka textarea{
        height: 160px !important;
    }
    #mailform_sanka td .contact{
        font-size: 16px !important;
        width: 120px !important;
    }
    #mailform_sanka #mail, #mailform_sanka #tel {
        width: 100% !important;
    }
    #mailform_sanka .term2{
        font-size: 16px !important;
        padding: 15px !important;
    }
}
@media (max-width:480px) {
    #mailform_sanka h2.mailform_ttl{
        font-size: 24px;
        margin-bottom: 25px;
    }
    #lower .article_wrap .mailform_notes p{
        display: block;
    }
    #mailform_sanka .submit-box input[type="submit"], #mailform_sanka .submit-box input[type="button"]{
        width: 100%;
        height: 60px;
        font-size: 18px;
    }
    #mailform_sanka .submit-box{
        margin: 40px auto;
        font-size: 18px;
        width: 100%;
    }
    #mailform_sanka .submit-box::after{
        right: 25px;
    }
}






/*追記*/

#mailform_sanka  .description {
    width: 100%;
    margin: 0 auto 30px;
    padding: 10px;
    background: #fafafa;
    border: 1px #eee solid;
    border-radius: 2px;
    text-align: justify;
    font-size: 15px;
}

#mailform_sanka  table {
	width: 100%;
}

#mailform_sanka  table tr {
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
#mailform_sanka  table tr:last-of-type {
	border-bottom: none;
}
#mailform_sanka  table th {
    width: 30%;
    display: table-cell;
    padding: 8px;
    font-weight: normal;
    background-color: #f2f2f2;
    text-align: left;
}
#mailform_sanka  table td {
    width: 70%;
    padding: 15px;
    display: table-cell;
    background-color: white;
    background-color: #f9f9f9;
    position: relative;
}
#mailform_sanka  table td span.contact {
    margin-top: 10px;
    display: inline-block;
}
#mailform_sanka  .error.show {
    opacity: 0.85;
    bottom: calc(100% - 10px);
    -webkit-transition: all .5s;
    transition: all .5s;
    z-index: 2;
}
#mailform_sanka .error {
    opacity: 0;
    background: #ee0101;
    color: #fff;
    min-width: 120px;
    font-size: 11px;
    border: 2px solid #ddd;
    box-shadow: 0 0 6px #000;
    padding: 5px 10px;
    border-radius: 6px;
    position: absolute;
    left: 10px;
    bottom: calc(100% - 18px);
    cursor: pointer;
    -webkit-transition: all .2s;
    transition: all .2s;
    z-index: -1;
}
#mailform_sanka table .annotation {
    display: inline-block;
    margin: 0 0 0 5px;
    padding: 0px 4px;
    color: #fff;
    background-color: #900;
    font-size: 11px;
    vertical-align: middle;
    border-radius: 3px;
}
#mailform_sanka table input[type="text"], #mailform_sanka  table input[type="tel"], #mailform_sanka table input[type="number"], #mailform_sanka table input[type="email"], #mailform_sanka table input[type="fax"] {
    border: 1px solid #ccc;
    width: 100%;
    margin: 5px auto;
    padding: 6px;
    font-size: 16px;
    box-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.1) inset;
    border-radius: 2px;
    background: #fff;
}
#mailform_sanka select {
    display: inline-block;
    font-size: 16px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    border-radius: 2px;
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 5px;
    box-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.1) inset;
    background: #fff;
}
#mailform_sanka select#pref{
    width:calc(50% - 17px);
    margin:10px 10px 10px 0;
}
#mailform_sanka .box{
    display:inline-block;
    position:relative;
}
#mailform_sanka input[type=radio],
#mailform_sanka input[type=checkbox]{
    opacity:0;
    position:absolute;
}
#mailform_sanka label.radio,
#mailform_sanka label.checkbox{
    box-sizing:border-box;
    -webkit-transition:background-color 0.2s linear;
    transition:background-color 0.2s linear;
    position:relative;
    display:inline-block;
    margin:2px 10px;
    padding:12px 12px 12px 42px;
    border-radius:8px;
    background-color:#f6f7f8;
    vertical-align:middle;
    cursor:pointer;
    text-indent:0;
}
#mailform_sanka  label.radio:hover,
#mailform_sanka  label.checkbox:hover{
    background-color:#d7e4ed;
}
#mailform_sanka  label.radio:hover:after,
#mailform_sanka  label.checkbox:hover:after{
    border-color:#0050b3;
}
#mailform_sanka  label.radio:after,
#mailform_sanka  label.checkbox:after{
    box-sizing:initial;
    -webkit-transition:border-color 0.2s linear;
    transition:border-color 0.2s linear;
    position:absolute;
    top:50%;
    left:15px;
    display:block;
    margin-top:-10px;
    width:16px;
    height:16px;
    border:2px solid #bbb;
    border-radius:6px;
    content:'';
}#mailform_sanka  label.radio:before{
    box-sizing:initial;
    -webkit-transition:opacity 0.2s linear;
    transition:opacity 0.2s linear;
    position:absolute;
    top:50%;
    left:20px;
    display:block;
    margin-top:-5px;
    width:10px;
    height:10px;
    border-radius:50%;
    background-color:#0050b3;
    content:'';
    opacity:0;
}
#mailform_sanka input[type=radio]:checked+label.radio:before{opacity:1}#mailform_sanka  .checkbox:before{
    box-sizing:initial;
    -webkit-transition:opacity 0.2s linear;
    transition:opacity 0.2s linear;
    position:absolute;
    top:50%;
    left:21px;
    display:block;
    margin-top:-7px;
    width:5px;
    height:9px;
    border-right:3px solid #0050b3;
    border-bottom:3px solid #0050b3;
    content:'';
    opacity:0;
    -webkit-transform:rotate(45deg);
    -ms-transform:rotate(45deg);
    transform:rotate(45deg);
}
#mailform_sanka input[type=checkbox]:checked+label.checkbox:before{opacity:1}#mailform_sanka  .error{
    opacity:0;
    background:#ee0101;
    color:#fff;
    min-width:120px;
    font-size:11px;
    border:2px solid #ddd;
    box-shadow:0 0 6px #000;
    padding:5px 10px;
    border-radius:6px;
    position:absolute;
    left:10px;
    bottom:calc(100% - 18px);
    cursor:pointer;
    -webkit-transition:all .2s;
    transition:all .2s;
    z-index:-1;
}
#mailform_sanka .error:after{
    display:block;
    content:"";
    width:10px;
    height:10px;
    background:#ee0101;
    border-left:2px solid #ddd;
    border-bottom:2px solid #ddd;
    box-shadow:-1px 2px 3px -1px #444;
    transform:rotate(-45deg);
    position:absolute;
    left:21px;
    top:calc(100% - 5px);
}
#mailform_sanka .error.show{
    opacity:0.85;
    bottom:calc(100% - 10px);
    -webkit-transition:all .5s;
    transition:all .5s;
    z-index:2;
}
#mailform_sanka .error.show.b50{
    bottom:calc(100% - 50px);
}
#mailform_sanka #zip1, #mailform_sanka  #zip2 {
    border: 1px solid #ccc;
    margin: 5px auto;
    padding: 6px;
    font-size: 16px;
    box-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.1) inset;
    border-radius: 2px;
    background: #fff;
    text-align: center;
}
#mailform_sanka #zip1, #mailform_sanka  #pct1, #mailform_sanka  #pct2 {
    width: 4em;
    text-align: center;
}
#mailform_sanka #ajaxzip {
    display: inline-block !important;
    width: auto;
    margin: 0px 10px;
    padding: 6px 12px;
    color: #036;
    line-height: 100%;
    vertical-align: middle;
    border: 1px solid #999;
    background: #EEE none repeat scroll 0% 0%;
    cursor: pointer;
    border-radius: 5px;
}
#mailform_sanka textarea {
    font-size: 16px;
    width: 100%;
    margin: 5px auto;
    padding: 6px;
    height: 7em;
    border: 1px solid #ccc;
    box-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.1) inset;
    border-radius: 2px;
    background: #fff;
    box-sizing: border-box;
}
#mailform_sanka .term2 {
    width: 100%;
    max-height: 200px;
    margin: 0 auto 20px auto;
    padding: 10px;
    font-size: 14px;
    line-height: 150%;
    border: 1px #ccc solid;
    background: #fff;
    overflow-y: scroll;
}
#mailform_sanka .term2 ul {
    padding: 0 0 0 20px;
}
#mailform_sanka　input[type="submit"], #mailform_sanka  input[type="button"] {
    display: block;
    margin: 0 auto;
      padding: 8px 25px;
    border-radius: 0;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    background: #444;
    color: #fff;
    transition: all .3s;
    font-size: 14px;
    text-align: center;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    cursor: pointer;
}
#mailform_sanka .seal {
    margin: 50px auto;
    font-size: 10px;
    border: none !important;
    width: auto;
    text-align: center;
}

#mailform_sanka .seal a {
    display: block;
    width: 60px;
    margin: 5px auto;
}
#mailform_sanka .seal a img {
    max-width: 100%;
}
#contact .enkaku:after, #contact_tel .enkaku:after, #consult .enkaku:after {
	content: "";
	display: block;
	clear: both;
}
#contact .enkaku .txt, #contact_tel .enkaku .txt, #consult .enkaku .txt {
	width: calc(100% - 390px);
	float: left;
}
#contact .enkaku .txt p, #contact_tel .enkaku .txt p, #consult .enkaku .txt p{
	font-weight: bold;
}
#contact .enkaku .enkaku_img, #contact_tel .enkaku .enkaku_img, #consult .enkaku .enkaku_img {
	width: 370px;
	height: 218px;
	float: right;
	margin-left: 20px;
}
@media screen and (max-width: 768px){

	
	#mailform_sanka  table th, #mailform_sanka  table td {
		display: block;
		width: 100%;
	}

}
#mailform_sanka table th, #mailform_sanka table td{
	    box-sizing: border-box;
}

@media screen and (max-width: 425px){

	#mailform_sanka .description {
		font-size: 14px;
	}
	#mailform_sanka select#pref{
		width:calc(65% - 17px);
	}
}

/*送信内容確認*/
#roumu_confirm table {
      width: 100%;
}
#roumu_confirm .btn {
    text-align: center;
    margin-top: 30px;
}
#roumu_confirm .btn li {
    display: inline-block;
    margin: 0 20px;
}
#submitBtn, #backBtn, #closeBtn {
    width: auto;
    margin: 10px auto;
    padding: 8px 25px;
    color: #444;
    font-size: 1.4rem;
    text-align: center;
    background: transparent -moz-linear-gradient(center top, #fafafa 0%, #e3e3e3 100%) repeat scroll 0% 0%;
    border-radius: 3px;
    border: 2px solid #bebebe;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    cursor: pointer;
}

#mailform_sanka  table td span.contact {
    display: block;
}
#errtext {
  margin-bottom: 30px;
}
@media screen and (max-width: 425px){
    #roumu_confirm .btn li {
        margin: 0 10px;
    }
}

/*thanks*/
#thanks_contact a.return_btn, #thanks_tel a.return_btn, #thanks_mail a.return_btn {
    background: #29b3b9;
    display: block;
    margin: 40px auto 0;
    width: 54%;
    border: 1px solid #29b3b9;
    text-align: center;
    color: #fff;
    font-size: 20px;
    padding: 15px 0;
    line-height: 1;
}
#thanks_contact a.return_btn:hover, #thanks_tel a.return_btn:hover, #thanks_mail a.return_btn:hover {
    background: #fff;
    color: #29b3b9;
    opacity: 1;
}
#thanks_contact h2.center_title, #thanks_tel h2.center_title, #thanks_mail h2.center_title {
	font-weight: bold;
	font-size: 1.4em;
	line-height: 1.4;
}
@media screen and (max-width: 768px){
	#thanks_contact a.return_btn, #thanks_tel a.return_btn, #thanks_mail a.return_btn {
		width: 90%;
	}
}
@media screen and (max-width: 425px){
	#thanks_contact a.return_btn, #thanks_tel a.return_btn, #thanks_mail a.return_btn {
		font-size: 16px;
	}
	#thanks_contact h2.center_title, #thanks_tel h2.center_title, #thanks_mail h2.center_title {
		font-weight: bold;
		font-size: 1.4em;
		line-height: 1.4;
	}
}



.contact_wrap {
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding: 60px;
}
.anyitem p {
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 15px 0;
}
#mailform_sanka .anyitem {
	margin: 40px 0 0;
}
.thanksBox {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}
.thanksBox p.thanks_title {
	color: #032a51;
	font-size: 22px;
	font-weight: bold;
	margin: 0 0 20px;
}
.thanks_bg {
	background-color: #f2f2f2;
	padding: 40px;
}
.thanks_bg p {
	margin: 0 0 20px 0;
	line-height: 1.8;
		text-align: left;
}
.thanks_bg p:last-of-type {
	font-size: 18px;
	text-align: center;
	margin: 0 0 5px 0;
}

body#mailform_sanka {
    width: 100%;
    max-width: 100%;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif!important;
	text-size-adjust: 100%;
    position: relative;
    color: #333333;
    vertical-align: baseline;
	margin: 0;
}

#mailform_sanka {
    text-align: initial !important;
	max-width: 100% !important;
}