/*------------------------------------------

	フォーム

------------------------------------------*/
::placeholder {
 	color: #d3d3d3;
}

input[type="radio"],
input[type="checkbox"] {
	display: none;
}
input[type="file"],
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: 100%;
	border: #ccc 1px solid;
	padding: 10px;
}

.fld-con .sub {
	width: 190px;
}

.birth input[type="text"] {
	width: calc(100% - 40px)
}
.age input[type="text"] {
	width: 30%;
}
.fever input[type="text"] {width: 50%;}
.when input[type="text"] {width: 30%;}


select {
	padding-right: 30px;
}
.slct {
	position: relative;
}
.slct::after {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 4px 0 4px;
	border-color: #000 transparent transparent transparent;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	pointer-events: none;
}

.fld-box {
	border-top: #ccc 1px solid;
	padding-top: 10px;
}
.fld-box:first-child {
	border-top: none;
	padding-top: 0px;
}
.fld-box dt {
    width: 245px;
    padding: .7em;
    margin-bottom: 10px;
}
.fld-box dd {
    width: calc(100% - 280px);
    padding: .4em;
}

.add .sub-tit {
	width: 200px;
}
.add .sub-con {
	width: calc(100% - 220px);
}

.interview {
    margin-top: 40px;
	margin-bottom: 40px;
	padding:40px 20px;
	border:7px #e1e9c5 solid;
}
.interview .fld-box dt{
 	width: 400px;
    padding: .7em;
    margin-bottom: 10px;
}
.interview .fld-box dd{
 	width: calc(100% - 400px);
    padding: .4em;
}


.ck-prv {
	position: relative;
	padding-left: 30px;
}
.ck-prv::before {
	content: "";
	width: 25px;
	height: 25px;
	background-color: #fff;
	border: #111 1px solid;
	border-radius: 0;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
input:checked ~ .ck-prv::after {
    content: "";
    display: block;
    width: 17px;
    height: 12px;
    border-top: #ff6347 5px solid;
    border-right: #ff6347 5px solid;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(135deg);
    position: absolute;
    left: 6px;
    top: 1px;
}

.ck-prv a {
    color: #346aad;
    border-bottom: #346aad 1px solid;
    padding-bottom: 5px;
}

.mw_wp_form .sbmt {
	width: 310px;
	height: 60px;
	background-color: #ff6347;
	color: #fff;
	background-size: contain;
	margin-top: 40px;
}
.mw_wp_form .sbmt:disabled {
	opacity: .5;
}

.mw_wp_form .sbmt.rtn {
	width: auto;
	height: auto;
	background: none;
	color: #346aad;
	border-bottom: #346aad 1px solid;
	padding-bottom: 10px;
}

.mw_wp_form .sbmt,
.mw_wp_form .sbmt.rtn {
	transition: .3s;
}
.mw_wp_form .sbmt:hover,
.mw_wp_form .sbmt.rtn:hover {
	opacity: .5;
}

.req_icon:after {
    content: "\5FC5\9808";
    font-size: 1.4rem;
	display: inline-block;
    background-color: #ff6347;
    font-weight: 400;
    color: #fff;
    padding: 0 8px;
    margin-left: 10px;
}

/*PC*/
@media screen and (min-width: 768px) {
	.fld-box .req_icon:after {
		float: right;
	}

	.visit .mwform-checkbox-field-text,
	.interview .mwform-checkbox-field-text{
	 	width: 100%;
		display: inline-block;
		margin-bottom:20px;
	}

	.mwform-radio-field-text {
		position: relative;
		padding-left: 40px;
	}
	.mwform-radio-field-text::before {
		content: "";
		width: 30px;
		height: 30px;
		background-color: #fff;
		border: #111 1px solid;
		border-radius: 100px;
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
	}
	input:checked ~ .mwform-radio-field-text::after {
		content: "";
		display: block;
		width: 20px;
		height: 20px;
		background-color: #ff6347;
		border-radius: 100px;
		position: absolute;
		left: 5px;
		top: -2px;
	}


	.mw_wp_form .horizontal-item {
		margin-left: 10px;
	}

	.mwform-checkbox-field {
		width: 25%;
	}
	.mwform-checkbox-field-text {
		width: 25%;
		position: relative;
		padding-left: 40px;
	}
	.mwform-checkbox-field-text::before {
		content: "";
		width: 30px;
		height: 30px;
		background-color: #fff;
		border: #111 1px solid;
		border-radius: 0;
		position: absolute;
		top: 0;
		left: 0;
	}
	input:checked ~ .mwform-checkbox-field-text::after {
		content: "";
		display: block;
		width: 17px;
		height: 12px;
		border-top: #ff6347 5px solid;
		border-right: #ff6347 5px solid;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(135deg);
		position: absolute;
		left: 6px;
		top: 7px;
	}
}/*END*/

/*Smartphone*/
@media screen and (max-width: 767px) {
	.fld-tit,
	.fld-con,
	.sub-tit,
	.sub-con {
		width: 100%;
	}

	.fld-box {
		border-top: #ccc 1px solid;
		padding-top: 20px;
	}
	.fld-box dt {
		width: 100%;
		padding: .7em;
	}
	.fld-box dd {
		width: 100%;
		padding: .4em;
	}

	.birth input[type="text"] {
	    width: calc(100% - 50px);
	}
	.birth .sub {
		width: 55%;
		margin-bottom: 10px;
	}

	.add .sub-tit {
		width: 100%;
	}
	.add .sub-con {
		width: 100%;
	}


	.interview .fld-box dt,
	.visit .fld-box dt{
		width: 100%;
	}
	.interview .fld-box dd,
	.visit .fld-box dd{
		width: 100%;
	}

	.fld-tit {
		margin-bottom: 15px;
	}

	.mwform-checkbox-field,
	.mwform-radio-field {
		width: 100%;
		display: block;
		margin: 0;
		margin-bottom: 15px;
	}
	.mwform-checkbox-field:last-of-type,
	.mwform-radio-field:last-of-type {
		margin-bottom: 0;
	}
	.mw_wp_form .horizontal-item + .horizontal-item {
		margin-left: 0!important;
	}
	.mwform-checkbox-field label,
	.mwform-radio-field label {
		width: 100%;
		border: #ff6347 1px solid;
		border-radius: 5px;
		display: block;
	}
	
	.mwform-checkbox-field-text,
	.mwform-radio-field-text {
		display: block;
		padding: .6em 1em .6em 2.3em;
		position: relative;
	}
	input:checked ~ .mwform-checkbox-field-text,
	input:checked ~ .mwform-radio-field-text {
		color: #fff;
		background-color: #ff6347;
	}
	input:checked ~ .mwform-checkbox-field-text::after,
	input:checked ~ .mwform-radio-field-text::after {
		content: "";
		display: block;
		width: 12px;
		height: 8px;
		border-top: #fff 3px solid;
		border-right: #fff 3px solid;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(135deg);
		position: absolute;
		left: 11px;
		top: 17px;
	}
}/*END*/


/*------------------------------------------

	確認画面非表示項目

------------------------------------------*/
.confirm #prv2,
.confirm .ck-prv,
.confirm .slct::after,
.confirm .req_icon::after,
.confirm .btn-srch {
	display: none;
}


/*------------------------------------------

	表示制御

------------------------------------------*/
.hidden-box,
.hidden-box_sub {
	display: none;
}

.hidden-box.invisible,
.hidden-box_sub.invisible {
	display: block;
}


/*------------------------------------------

	リアルタイムエラー

------------------------------------------*/
.fld-con {
	position: relative;
}
.tooltip,
.mw_wp_form .error {
    font-size: 1.4rem;
    color: #fff!important;
    line-height: 22px;
    background-color: #df464c;
    border-radius: 5px;
    display: none;
    padding: 5px 10px;
	position: relative;
}
.tooltip_send {
    font-size: 1.4rem;
    color: #fff!important;
    line-height: 22px;
    background-color: #df464c;
    border-radius: 5px;
    display: inline-block;
    padding: 5px 10px;
    margin-top: 20px;
	position: relative;
}
.tooltip_send:after {
    content: '';
    position: absolute;
    left: 30px;
    border-top: solid 7px transparent;
    border-bottom: solid 7px transparent;
    border-right: solid 13px #df464c;
    transform: rotate(208deg) translate(0,-50%);
    z-index: 1;
}
.tooltip_send:after {
    top: -16px;
}
:disabled ~ .tooltip_send {
    display: none;
}
.tooltip {
	top: -5px;
}
.tooltip.check {
	top: -15px;
}
.mw_wp_form .error {
	top: 6px;
}

.tooltip:after,
.mw_wp_form .error:after {
    content: '';
    position: absolute;
    left: 30px;
    border-top: solid 7px transparent;
    border-bottom: solid 7px transparent;
    border-right: solid 13px #df464c;
    transform: rotate(28deg) translate(0,-50%);
	z-index: 1;
}
.tooltip:after {
    bottom: -16px;
}
.mw_wp_form .error:after {
    top: -16px;
    left: 15px;
    transform: rotate(210deg) translate(0,-50%);
}

input { transition: .3s; }
:disabled {
    background-color: #ccc!important;
}

.mw_wp_form_confirm .fld-tit,
.mw_wp_form_confirm .sub-tit {
	font-weight: bold;
}
.mw_wp_form_confirm .fld-con .sub {
	width: auto;
}
.mw_wp_form_confirm .hidden-box,
.mw_wp_form_confirm .hidden-box_sub {
	display: block!important;
}
.mw_wp_form_confirm .tooltip,
.mw_wp_form_confirm .tooltip_send,
.mw_wp_form_confirm .tooltip_send::after {
	display: none!important;
}
.mw_wp_form_confirm .conf_none {
	display: none!important;
}

.tooltip_conf {
    font-size: 1.4rem;
    color: #fff!important;
    line-height: 22px;
    background-color: #df464c;
    border-radius: 5px;
    display: none;
    padding: 5px 10px;
	position: relative;
    transform: translateY(15px);
}
.mw_wp_form_confirm .tooltip_conf {
    display: inline-block;
}
.tooltip_conf:after {
    content: '';
    position: absolute;
    left: 30px;
    border-top: solid 7px transparent;
    border-bottom: solid 7px transparent;
    border-right: solid 13px #df464c;
    transform: rotate(28deg) translate(0,-50%);
	z-index: 1;
}
.tooltip_conf:after {
    bottom: -16px;
}

/*PC*/
@media screen and (min-width: 768px) {
}/*END*/

/*Smartphone*/
@media screen and (max-width: 767px) {
	.tooltip {
		margin-top: 10px;
	}
}/*END*/