
/* デフォルトの装飾を削除 */
form {
	padding: 60px;
	border-radius: 30px;
	background: #fff;
}
input, textarea, select {
	-webkit-appearance: none;
	width: 100%;
	box-sizing: border-box;
	padding: 15px;
	border: 1px #999999 solid;
	border-radius: 0;
	background: #fff;
	font-family: "heisei-kaku-gothic-std", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.2;
}
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 {
	padding: 10px;
	background: #fff url("../img/icon_select.png") center right 10px / 8px no-repeat;
	cursor: pointer;
	width: 200px;
}
select::-ms-expand {
    display: none;
}
:focus {
    outline: -webkit-focus-ring-color none;
}
::placeholder {
	color: #C1C1C1;
}

.item {
	display: block;
	width: 200px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.05em;
	position: relative;
}
.item.required::after {
	content: "*";
	display: inline-block;
	padding: 3px 5px;
	color: #F30000;
	font-size: 16px;
	position: relative;
	top: -1px;
	right: 3px;
}
.form_wrap {
	width: calc(100% - 200px);
}
.separation {
	border-bottom: 1px #000 solid;
	margin: 30px 0;
}
.txt {
	display: inline-block;
}
.mr_10 {
	margin-right: 10px;
}
.mr_20 {
	margin-right: 20px;
}

input.zip {
	width: 120px;
}
.red {
	color: #F30000;
}

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

/* 確認ボタン */
input[type="button"] {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 320px;
	height: 60px;
	border-radius: 50px;
	margin: 0;
	padding: 0;
	border: none;
	background: #52c64b;
	color: #fff;
	font-family: "heisei-kaku-gothic-std", sans-serif;
	font-size: 18px;
	cursor: pointer;
	transition: all .3s;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}
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_"] {
	display: block;
	width: 100%;
	color: #d93025;
	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) {
	
	form {
		padding: 30px 20px;
		border-radius: 20px;
	}
	input,
	textarea,
	select {
		padding: 10px;
		font-size: 16px;
		color: #000;
	}
	::placeholder {
		font-size: 12px;
	}
	.item {
		width: 100%;
		padding: 0;
		margin-bottom: 5px;
		color: #999;
		line-height: 1;
	}
	.form_wrap {
		width: 100%;
	}
	.tb_wrap {
		display: block;
	}
	.separation {
		margin: 20px 0;
	}
	.mr_20 {
		margin-right: 10px;
	}
	/* 個人情報の取り扱いについて同意する */
	#agree span {
		font-size: 14px;
	}
	#agree.active span::after {
	    top: -2px;
	}
	/* 確認ボタン */
	input[type="button"] {
		max-width: 300px;
		height: 50px;
		font-size: 16px;
	}

}


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

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

}

