@charset "utf-8";
:focus {
    outline: none;
}
.contact_lead {
	text-align: center;
	position: relative;
	line-height: 1.8;
	margin: 0 0 40px;
}


input[type="text"],
input[type="email"],
input[type="submit"],
input[type="button"],
button,
textarea {
	-webkit-appearance: none;
	border-radius: 0;
	padding: 0;
	vertical-align: middle;
}


table.contact_form {
    margin-bottom: 30px;
    width: 100%;
}
.contact_form th,
.contact_form td {
    text-align: left;
    padding: 10px;
	font-weight: normal;
}
.contact_form th {
    width: 25%;
	padding-right: 30px;
    white-space: nowrap;
	font-weight: 400;
	padding-left: 0;
}
tr.aligntop th,
tr.aligntop td {
	vertical-align: top;	
}

.must_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
span.must {
	display: inline-block;
	padding: 0 5px;
	height: 20px;
	line-height: 22px;
	background: #D44148;
	color: #FFF;
	border-radius: 4px;
	font-size: 11px;
}
.contact_form td {
	padding-right: 0;	
}
th span.must {
	margin-left: 5px;	
}
.mw_wp_form .horizontal-item + .horizontal-item {
	margin-left: 0!important;	
}
td li,
td .horizontal-item {
	list-style: none;
	display: inline-block;
	margin: 0 15px 15px 0;
}

.contact_form td div {
    word-break: break-all;
    word-wrap: break-word;
}

td input[type="text"],
td input[type="email"],
textarea {
    padding: 10px;
    width: 100%;
	box-sizing: border-box;
	background: #ECF2F5;
	border: none;
	font-size: 17px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.error  td input[type="text"],
.error td input[type="email"],
.error textarea {
	border: 1px solid #FF0000;
}

textarea {
    height: 210px;
}

td label ,
.agree label {
    position: relative;
    display: inline-block;
    word-break: break-all;
}

td label span,
.agree label span {
    display: inline-block;
}

td label input[type="checkbox"]+span,
.agree label input[type="checkbox"]+span {
    position: relative;
    padding: 0 0px 0 34px;
}

td label input[type="checkbox"]+span::before,
.agree label input[type="checkbox"]+span::before {
    z-index: 0;
    background-color: transparent;
    width: 22px;
    height: 22px;
    background: #ECF2F5;
	box-sizing: border-box;
}

td label input[type="checkbox"]:checked+span::before,
.agree label input[type="checkbox"]:checked+span::before {
    background: #ECF2F5;
}

.error td label input[type="checkbox"]+span::before,
.error td label input[type="checkbox"]:checked+span::before {
	border: 2px solid #0B7DD1;
}


td label input[type="checkbox"] ,
.agree label input[type="checkbox"]{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

td label input[type="checkbox"]+span::before,
td label input[type="checkbox"]+span::after,
.agree label input[type="checkbox"]+span::before,
.agree label input[type="checkbox"]+span::after {
    position: absolute;
    top: 0px;
    left: 0;
    display: inline-block;
    content: '';
    box-sizing: border-box;
}

td label input[type="checkbox"]+span::after,
.agree label input[type="checkbox"]+span::after  {
    z-index: 1;
    margin: 1px 6px 0;
    width: 10px;
    height: 15px;
}

td label input[type="checkbox"]:checked+span::after,
.agree label input[type="checkbox"]:checked+span::after  {
    border: 2px solid #0B7DD1;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

td input[type="radio"],
p.checkagree input[type="radio"] {
    margin-right: 4px!important;
	margin-top: 0!important;
	box-sizing: border-box;	

}
td label input[type="radio"]+span,
td.typeRadio .wpcf7c-conf-hidden + .wpcf7-list-item-label {
    position: relative;
    padding: 0 0px 0 30px;
}
td.typeRadio .wpcf7c-conf-hidden + .wpcf7-list-item-label {
	position: relative;
}
td label input[type="radio"]+span::before,
td.typeRadio .wpcf7c-conf-hidden + .wpcf7-list-item-label::before {
    z-index: 0;
    background-color: transparent;
    width: 22px;
    height: 22px;
	border-radius: 11px;
    background: #ECF2F5;
	box-sizing: border-box;
}
td label input[type="radio"]:checked+span::before {
    background: #ECF2F5;
}

td label input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

td label input[type="radio"]+span::before,
td.typeRadio .wpcf7c-conf-hidden + .wpcf7-list-item-label::before  {
    position: absolute;
    top: 2px;
    left: 0;
    display: inline-block;
    content: '';
    box-sizing: border-box;
}
td label input[type="radio"]:checked+span::after {
	position: absolute;
	content: "";
	top: 8px;
	left: 6px;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background: #0B7DD1;
}

.agree {
	text-align: center;	
}


p.errorAlert,
.mw_wp_form .error {
    color: #FF0000;
    font-size: 12px;
	position: relative;
	clear: both;
	padding-top: 10px;
}



.send_btn_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	margin-top: 50px;
}
.send_btn_flex.confirm {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
.contactTop .send_btn_flex.confirm {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: inherit;
	justify-content: inherit;
	-webkit-justify-content: center;
	justify-content: center;
}

.send_btn_flex input[type="submit"],
.send_btn_flex input[type="button"],
.send_btn_flex button,
.btn_send,
.btn_edit {
	height: 42px;
	line-height: 40px;
	text-align: center;
	font-family: 'Noto Sans JP',"ヒラギノ角ゴ Pro W5", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif	;
	font-weight: 700;
	border: none;
	font-size: 18px;
	position: relative;
	cursor: pointer;
	border-radius: 30px;
	color: #FFF;
	margin: 0 5px;
}
.btn_confirm {
    display: inline-block;
	position: relative;
	background: #D44148;
	width: 200px;
}

.btn_send,
.btn_edit {
    display: inline-block;
	position: relative;
	background: #D44148;
	width: 200px;
}
.btn_edit {
	background: #999;
}

.btn_edit input[type="submit"],
.btn_edit input[type="button"],
.btn_edit button,
button.btn_edit,
input.btn_edit  {
	position: relative;
	z-index: 50;
}
.btn_edit_base {
	position: relative;	
}
.mw_wp_form_input .btn_edit_base {
	display: none;	
}
.thanks {
	margin-bottom: 2.5em;
	text-align: center;	
}


@media(max-width: 767px) {
.thanks {
	margin-bottom: 1.5em;
	text-align: left;	
}

.contact_form th,
.contact_form td {
	display: block;
	padding: 0;
	width: auto;
	white-space: inherit;
}

.contact_form th {
	padding: 0 0 10px;	
}
.contact_form td {
	padding: 0 0 25px;
}
.must_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}
span.must {
	margin-left: 20px;
}
}


@media(max-width: 320px) {
.typeRadio .wpcf7-form-control-wrap span.wpcf7-list-item {
	display: block;
	margin: 0 0 5px;	
}
.typeRadio .wpcf7-form-control-wrap span.wpcf7-list-item:last-child {
    margin: 0;
}	
}