
/* デフォルトの装飾を削除 */
input, textarea, select {
	-webkit-appearance: none;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px #cfcfcf solid;
	border-radius: 0;
	background: #fff;
	font-family: "ryo-gothic-plusn", sans-serif;
	font-size: 16px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
select {
	background: #fff url("../img/icon_select.png") center right 10px / 8px no-repeat;
	font-family: "ryo-gothic-plusn", sans-serif;
	cursor: pointer;
}
select::-ms-expand {
    display: none;
}
:focus {
    outline: -webkit-focus-ring-color none;
}
::placeholder {
	color: #C1C1C1;
	font-size: 12px;
}

.item {
	display: block;
	width: 240px;
	line-height: 1;
	position: relative;
}
.item.required::after {
	content: "\0ff0a";
	display: inline-block;
	color: #f23b55;
	font-size: 10px;
	position: relative;
	top: -8px;
	right: -3px;
}
.form_wrap {
	width: calc(100% - 240px);
}
.separation {
	border-bottom: 1px #000 solid;
	margin: 30px 0;
}
.mr_10 {
	margin-right: 10px;
}
.mr_20 {
	margin-right: 20px;
}
form .border {
	border-color: #ccc;
}
input.zip {
	width: 120px;
}
input.input_half {
	width: 50%;
}
input[type="date"] {
	width: 160px;
	font-family: "acumin-pro-wide", sans-serif;
}
select.timeinput {
	width: 120px;
	font-family: "acumin-pro-wide", sans-serif;
}

/* ラジオボタン */
.label_radio {
	display: inline-block;
}
.label_radio input {
    display: none;
}
.label_radio span {
	display: inline-block;
    padding-left: 21px;
	font-size: 14px;
	line-height: 1;
    position: relative;
	cursor: pointer;
}
.label_radio span:hover {
	opacity: 0.8;
}
.label_radio span::before {
    content: "";
    display: block;
    width: calc(16px - 2px);
    height: calc(16px - 2px);
    border: 1px #333 solid;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 8px);
    left: 0;
}
.label_radio input:checked + span {
    color: #1360a5;
}
.label_radio input:checked + span::before {
    border: 1px #1360a5 solid;
}
.label_radio input:checked + span::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1360a5;
    position: absolute;
    top: calc(50% - 3px);
    left: 5px;
}

/* 個人情報の取り扱いについて同意する */
#agree span {
	display: inline-block;
    padding-left: 21px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
    position: relative;
	cursor: pointer;
}
#agree span:hover {
	opacity: 0.8;
}
#agree span::before {
    content: "";
    display: block;
    width: calc(16px - 2px);
    height: calc(16px - 2px);
    border: 1px #333 solid;
    position: absolute;
    top: 50%;
    left: 0;
	transform: translateY(-50%);
}
#agree.active span {
    color: #f23b55;
}
#agree.active span::before {
    border: 1px #f23b55 solid;
}
#agree.active span::after {
    content: "";
    display: block;
    width: 12px;
    height: 6px;
    border-left: 4px #f23b55 solid;
	border-bottom: 4px #f23b55 solid;
    position: absolute;
    top: 1px;
    left: 1px;
	transform: rotate(-45deg);
}

/* 確認ボタン */
input[type="button"] {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 300px;
	height: 70px;
	background: #4a9bd8;
	border: none;
	border-radius: 5px;
	padding: 0;
	color: #fff;
	font-family: "ryo-gothic-plusn", sans-serif;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	cursor: pointer;
	transition: all .3s;
}
input[type="button"]:hover {
	filter: brightness(1.1);
}
input[type="button"]#btn_conf {
	display: none;
}
input[type="button"]#btn_conf.active {
	display: flex;
}

/* 戻るボタン */
input[type="button"]#btn_back {
	background: #ccc;
	margin-right: 10px;
}
input[type="button"]#btn_back:hover {
	background: #ccc;
}

/* エラーチェック -------------------------*/
.form_err {
  	background-color: #FFF7F9;
	margin-bottom: 10px!important;
}
div[id^="err_"] {
	font-size: 12px;
	color: #f23b55;
}

/* 確認画面 -------------------------*/
.form_view {
	display: inline-block;
	white-space:pre-wrap; word-wrap:break-word;
}
.form_input {
    display:block;
}
.form_conf {
    display:none!important;
}
/* .input_only 確認画面では表示させないテキストに付与 */

@media screen and (max-width : 960px) {
	
	input {
		font-size: 16px;
		line-height: 1.4;
	}
	textarea {
		font-size: 16px;
	}
	input.input_half {
		width: 100%;
	}
	input[type="date"] {
		width: 150px;
		height: 42px;
		color: #3f3f3f;
	}
	select.timeinput {
		width: 90px;
		color: #3f3f3f;
	}
	.item {
		width: 100%;
		padding: 0;
		margin-bottom: 10px;
	}
	.item.required::after {
		top: -6px;
	}
	.form_wrap {
		width: 100%;
	}
	.tb_wrap {
		display: block;
	}
	.separation {
		margin: 20px 0;
	}
	.mr_10 {
		margin-right: 5px;
	}
	.mr_20 {
		margin-right: 10px;
	}

	/* 確認ボタン */
	input[type="button"] {
		width: 300px;
		height: 50px;
		font-size: 16px;
	}

}


@media screen and (max-width : 540px) {

	/* 確認ボタン */
	input[type="button"] {
		width: 220px;
	}
	/* 戻るボタン */
	input[type="button"]#btn_back {
		margin-right: 0;
		margin-bottom: 10px;
	}

}

