/* デフォルトの装飾を削除 */
input, textarea, select {
	-webkit-appearance: none;
	width: calc(100% - 22px);
	padding: 6px 10px;
	border: 1px #cfcfcf solid;;
	background: #fff;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "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 {
	width: 100%;
	background: #fff url("../img/icon_select.png") center right 10px / 8px no-repeat;
	padding: 10px;
	cursor: pointer;
}
select::-ms-expand {
    display: none;
}
:focus {
    outline: -webkit-focus-ring-color none;
}
::placeholder {
  color: #C1C1C1;
}

input.input_half {
	width: calc(50% - 22px - 10px);
}
input.birth {
	width: calc(80px - 22px);
}
input.birth.min {
	width: calc(60px - 22px);
}

.item {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	width: calc(200px - 40px);
	padding: 0 20px;
	background: #e8f1eb;
	color: #48a86d;
	font-weight: bold;
	line-height: 1;
	position: relative;
}
.item.required::after {
	content: "必須";
	display: inline-block;
	padding: 5px;
	background: #df7886;
	color: #fff;
	font-size: 12px;
	position: relative;
	top: -1px;
	right: -10px;
}
.input_wrap {
	width: calc(100% - 200px - 40px);
	padding: 20px;
}
.separation {
	border-bottom: 1px #cfcfcf solid;
}
.txt {
	display: inline-block;
}
.mr_10 {
	margin-right: 10px;
}
.mr_20 {
	margin-right: 20px;
}

/* チェックボックス */
.label_check {
	display: inline-block;
}
.label_check input {
    display: none;
}
.label_check span {
	display: inline-block;
    padding-left: 21px;
	font-size: 16px;
	line-height: 1.4;
    position: relative;
	cursor: pointer;
}
.label_check span:hover {
	opacity: 0.8;
}
.label_check span::before {
    content: "";
    display: block;
    width: calc(16px - 2px);
    height: calc(16px - 2px);
	border: 1px #cfcfcf solid;;
    position: absolute;
    top: 1px;
    left: 0;
}
.label_check input:checked ~ span {
    color: #48a86d;
	font-weight: bold;
}
.label_check input:checked ~ span::before {
    border: 1px #48a86d solid;
}
.label_check input:checked ~ span::after {
    content: "";
    display: block;
    width: 12px;
    height: 6px;
    border-left: 4px #48a86d solid;
	border-bottom: 4px #48a86d solid;
    position: absolute;
    top: 0;
    left: 2px;
	transform: rotate(-45deg);
}

/* ラジオボタン */
.label_radio {
	display: inline-block;
}
.label_radio input {
    display: none;
}
.label_radio span {
	display: inline-block;
    padding-left: 21px;
	font-size: 16px;
	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 #cfcfcf solid;;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
	margin-top: -10px;
}
.label_radio input:checked ~ span {
    color: #48a86d;
	font-weight: bold;
}
.label_radio input:checked ~ span::before {
    border: 1px #48a86d solid;
}
.label_radio input:checked ~ span::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #48a86d;
    position: absolute;
    top: 50%;
    left: 5px;
	margin-top: -5px;
}

/* 確認ボタン */
input[type="button"] {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 300px;
	height: 60px;
	background: #48a86d;
	border: none;
	padding: 0;
	color: #fff;
	font-family: heisei-kaku-gothic-std, sans-serif;
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	cursor: pointer;
	transition: all .3s;
}
input[type="button"]:hover {
	opacity: 0.7;
}
/* 戻るボタン */
input[type="button"]#btn_back {
	background: #ccc;
	margin-right: 10px;
}

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

/* 確認画面 -------------------------*/
.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;
	}
	textarea {
		font-size: 16px;
	}
	.tb_wrap {
		display: block;
	}

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

}


@media screen and (max-width : 680px) {
	
	input {
		font-size: 16px;
	}
	textarea {
		font-size: 16px;
	}
	input.input_half {
		width: calc(50% - 22px - 8px);
	}
	.item {
		width: calc(100% - 20px);
		padding: 10px;
	}
	.input_wrap {
		width: 100%;
		padding: 15px 0;
	}
	.mr_10 {
		margin-right: 8px;
	}
	.mr_20 {
		margin-right: 15px;
	}
}


@media screen and (max-width : 460px) {
	input[type="button"] {
		width: 300px;
	}
	/* 戻るボタン */
	input[type="button"]#btn_back {
		margin-right: 0;
		margin-bottom: 10px;
	}
}


