
/* デフォルトの装飾を削除 */
input, textarea, select {
	-webkit-appearance: none;
	width: 100%;
	box-sizing: border-box;
	padding: 15px;
	border: 1px #000 solid;
	border-radius: 0;
	background: #fff;
	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::-ms-expand {
    display: none;
}
:focus {
    outline: -webkit-focus-ring-color none;
}
::placeholder {
	color: #C1C1C1;
	font-size: 14px;
}

.item {
	display: block;
	width: 200px;
	line-height: 1;
	position: relative;
}
.item.required::after {
	content: "\0ff0a";
	display: inline-block;
	color: #C30003;
	font-weight: 600;
	font-size: 12px;
	position: relative;
	top: -5px;
	right: -5px;
}
.form_wrap {
	width: calc(100% - 200px);
}
input.zip {
	width: 200px;
}

/* プライバシーポリシーについて同意する */
#agree {
	text-align: center;
}
#agree span {
	display: inline-block;
    padding-left: 21px;
	font-size: 14px;
	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::before {
    border: 1px #0f9745 solid;
}
#agree.active span::after {
    content: "";
    display: block;
    width: 12px;
    height: 6px;
    border-left: 4px #0f9745 solid;
	border-bottom: 4px #0f9745 solid;
    position: absolute;
    top: 2px;
    left: 1px;
	transform: rotate(-45deg);
}

/* 確認ボタン */
input[type="button"] {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 300px;
	height: 50px;
	background: url("../img/bg_grad.png") center center / cover no-repeat;
	border: none;
	padding: 0;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	cursor: pointer;
	transition: all .3s;
}
input[type="button"]:hover {
	filter: brightness(1.1);
}
input[type="button"]#btn_conf {
	display: none!important;
}
input[type="button"]#btn_conf.active {
	display: flex!important;
}

/* 戻るボタン */
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_"] {
	display: block;
	width: 100%;
	color: #C30003;
	font-size: 12px;
}

/* 確認画面 -------------------------*/
.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, textarea {
		padding: 10px;
		font-size: 16px;
	}
	.item {
		width: 100%;
		padding: 0;
		margin-bottom: 10px;
        color: #777;
        font-size: 12px;
        font-weight: 500;
	}
	.item.required::after {
		font-size: 10px;
		right: -3px;
	}
	.form_wrap {
		width: 100%;
	}
	/* 確認ボタン */
	input[type="button"] {
		width: 180px;
		height: 40px;
		font-size: 16px;
	}
	/* 確認画面 -------------------------*/
	.form_view {
		font-size: 16px;
	}

}


@media screen and (max-width : 540px) {
	/* プライバシーポリシーについて同意する */
	#agree span {
		font-size: 12px;
	}
	#agree.active span::after {
	    top: 0;
	}
	/* 確認ボタン */
	input[type="button"] {
		width: 220px;
	}
	/* 戻るボタン */
	input[type="button"]#btn_back {
		margin-right: 0;
		margin-bottom: 10px;
	}

}

