@charset "UTF-8";
/* CSS Document */

.contactBox {
	width: 750px;
	margin: 60px auto 0;
}

.form-group {
	margin-top: 10px;
	border-bottom: 1px solid #ccc;
	padding-left: 10px;
	text-align: left;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
    flex-wrap: wrap;
	align-items: center;
	padding: 1rem;
}
.input-group {
    width: 60%;
    display: block;
}
.form_itemHeader {
    color: #493B4C;
    font-weight: 400;
    line-height: 1.5;
	display: inline-block;
	width: 36%;
	vertical-align: top;
}
.checkbox_item {
	display: inline-block;
	width: 30%;
	line-height: 1.6;
	color: #493B4C;
}
.checkbox_item.consent {
    margin: 1rem auto;
    width: 100%;
    text-align: center;
}
select {
  -webkit-appearance: none;
  appearance: none; /* デフォルトのスタイルを無効 */
}
select::-ms-expand {
  display: none; /* デフォルトのスタイルを無効(IE用) */
}
#selectBox {
    height: 34px;
    border-radius: 4px;
	width: 180px;
	background-image: url(../../img/icon_selectbox_arrow.svg);
	background-position: right 7px center;
    background-repeat: no-repeat;
    background-size: 11px auto;
	padding: 0 0.2rem;
	border: 1px solid #ccc;
	color: #493B4C;
}

span.optional {
    background: #929fa9;
    margin-left: 7px;
    padding: 1px 6px 3px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.7rem;
    vertical-align: middle;
    top: -2px;
    position: relative;
}
span.must {
    background: #ff8868;
    margin-left: 7px;
    padding: 1px 6px 3px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.7rem;
    vertical-align: middle;
    top: -2px;
    position: relative;
}
.form-notice {
    font-weight: 300;
    font-size: 84%;
    line-height: 1.4;
    display: inline-block;
    margin-top: 10px;
    padding: 0 10px 0 0;
}
input[type="text"].form-control,
input[type="email"].form-control,
.confirmation_txt {
	display: inline-block;
	width: 100%;
	height: 34px;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
	box-sizing: border-box;
}
.confirmation_txt.textarea {
	height: auto;
	min-height: 34px;
}
textarea {
	display: inline-block;
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 7px 6px;
	box-sizing: border-box;
	}
input[type="radio"] {
	margin-right: 8px;
}
.form-radioInnr {
	float: left;
	width: 68%;
}
.form-radio label {
	width: 20%;
}

.form-radio p.form_txt {
	float: left;
	width: 30%;
}
.img-select p.form_txt {
	margin-bottom: 10px;
}
.formImgbox {
	margin-bottom: 15px;
	padding: 6px 0 0 5px;
}

.taC {
	margin-top: 30px;
}

.form_btn {
	background: #2296f3;
	display: block;
	margin: 0 auto;
	width: 600px;
	font-size: 18px;
}

.form_txt {
	font-weight: 600;
	color: #343c37;
	margin-bottom: 5px;
}
textarea {
	resize: vertical;
}
.formtxtArea {
	height: auto;
}
.err_msg {
	font-size: 0.8rem;
	line-height: 1.6;
	color: #ff8868;
}
.form-example {
    color: #929fa9;
    font-size: 0.8rem;
	line-height: 1.7;
}
.submit-alert {
    text-align: center;
	line-height: 1.5;
	margin-top: 2rem;
}
.submit-alert a {
    color: #493b4c;
    border-bottom: 1px solid #493b4c;
}
.formBtn.back {
    background: #ccc;
	margin-top: 2rem;
    width: 60%;
}
.formBtn.back::before {
	display: none;
}

@media screen and (max-width: 767px) {
	.contactBox {
		width: 100%;
		margin: 60px auto 0;
	}
	.form-group {
		display: block;
		border-bottom: 1px solid #ccc;
		margin-top: 0;
	}
    .input-group {
		width: 100%;
		}
	.form_itemHeader {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
		font-size: 1rem;
		padding: 0 0 1rem;
	}
	.form-notice {
		padding: 0;
	}
input[type="text"].form-control,
input[type="email"].form-control {
	display: inline-block;
	width: 100%;
	padding: 0 2%;
	height: 34px;
	overflow: hidden;
	height: 50px;
}
.confirmation_txt,
.confirmation_txt.textarea {
    padding: 0 2%;
    overflow: hidden;
    height: 50px;
    display: table-cell;
    vertical-align: middle;
    width: 100vw;
}
select#selectBox {
    height: 50px;
    width: 100%;
}

.form-radio p.form_txt {
	float: left;
	font-weight: 600;
    line-height: 1.5;
	display: inline-block;
	width: 100%;
	text-align: center;
	font-size: 17px;
	padding: 7px 0;
	border-radius: 6px;
	background: #F6F9F9;
	border: 1px solid #ccc;
}
.form-radioInnr {
	width: 100%;
	margin: 10px auto 0;
}
input[type="radio"] {
  display: none; 
}
input[type="radio"]:checked + label {
  background: #A4C1B0;
  color: #FFF; 
}
input[type="file"] {
	border: 1px solid #ccc;
	padding: 0;
	border-radius: 6px;
	margin-top: 10px;
	margin-bottom: 30px;
	text-align: center;
}

.form-radio label {
	width: 30%;
	font-size: 16px;
	border: 1px #ccc solid;
	border-radius: 6px;
	background: #FFF;
	padding: 0;
	padding-left: 1%;
}
.form-control#treatment,
 .form-control#opinion {
	width: 100%;
	margin-top: 0;
	height: 36px;
	border-radius: 0 0 6px 6px;
	border: 1px solid #3f51b5;
	border-top: none;
	height: 50px;
}
	textarea {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
	}
	.form_btn {
	background: #1f8ee2;
	display: block;
	margin: 0 auto;
	width: 100%;
	font-size: 18px;
}
	
}
.btnBox {
    display: flex;
}
.tab_btn {
	width: 50%;
	border-radius: 15px 15px 0 0;
	padding: 1rem;
	background: #f5f7f8;
	text-align: center;
	cursor: pointer;
	letter-spacing: 0.1em;
	transition: ease 0.6s;
}
.tab_btn:hover {
	background: #cfccda;
	transition: ease 0.6s;
}
.tab_btn.active {
    background: #857e9e;
    color: #fff;
	transition: ease 0.6s;
}
.tab_panel {
	display: none;
	background: #FCFCFC;
    padding: 1rem 1rem 2rem;
}
.tab_panel.show {
    display:block;
	border: 2px solid #857e9e;
}
.thanks_txt {
    width: 800px;
    margin: 0 auto;
    text-align: center;
}
.btn_box.toTop {
    margin-top: 4rem;
}
.btn_box.toTop .btn {
	display: inline-block;
    text-align: center;
    background: #7b6b7e;
    color: #fff;
    padding: 0.9rem;
    width: 300px;
    border-radius: 100vw;
}
@media screen and (max-width: 767px) {
	.thanks_txt {
			width: 95%;
		}
}
@media screen and (max-width: 375px) {
	
	.btn_box.toTop .btn {
		width: 80%;
	}

}