
/*-----------------------------------------------------------------------------------------------> ▼ general <--*/

form.apps {
	max-width: 100%;
	width: 537px;

	margin: 15px auto 0 0;
	padding: 30px;
	border: var(--border);
	border-radius: var(--border_radius);
	background: #fff;
}

@media (width <= 768px) {
	form.apps {
		width: 100%;
		padding: 30px 30px 30px;
	}
}

form.apps input {
	width: 100%;
	border: var(--border);
}

form.apps input[type="date"],
form.apps input[type="mail"],
form.apps input[type="number"],
form.apps input[type="password"],
form.apps input[type="tel"],
form.apps input[type="text"],
form.apps input[type="time"] {
	line-height: 30px;
    padding: 0 10px;
	border-radius: var(--border_radius_light);
}

/*----------------------------------------------------------------------> ▼ :disabled <--*/


/*----------------------------------------------------------------------> ▼ .block <--*/

form.apps .block {
	margin-top: 15px;
	border-top: 1px dashed #ddd;
}

form.apps .block.no_border {
	border: 0;
}

@media (width <= 768px) {
	form.apps .block {
	}
}

/*----------------------------------------------------------------------> ▼ .block_title <--*/

form.apps .block_title {
	display: flex;
	align-items: center;
	margin: 15px 0 7px;
	font-family: NotoSans-M;
	color: #555;
}

/*----------------------------------------------------------------------> ▼ button <--*/

form.apps button {
	appearance: none !important;
	width: 100%;
	line-height: 35px;
	margin-top: 15px;
	border: 1px solid var(--theme);
	border-radius: var(--border_radius);
	background: var(--theme);
	color: #fff;
	font-weight: bold;
	text-align: center;
}

form.apps button:disabled {
	color: #aaa;
	border: var(--border);
	background: none;
	-webkit-text-fill-color: #aaa;
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	form.apps button {
		transition: var(--transition);
	}
	
	form.apps button:not(:disabled):hover {
		border-color: var(--theme_hover);
		background: var(--theme_hover);
	}
}

/*----------------------------------------------------------------------> ▼ .failure <--*/

form.apps input.failure {
	border-color: #d00;
	background: #fff0f0;
}

/*----------------------------------------------------------------------> ▼ .form_title <--*/

form.apps .form_title {
	position: relative;
	color: #555;
	font-family: HiraginoGo-6;
	font-size: 16px;
	margin: 10px 0 50px;
	text-align: center;
	letter-spacing: 0.05em;
}

form.apps .form_title::before {
	content: '';
	display: block;
	width: 30px;
	height: 1px;
	position: absolute;
	bottom: -10px;
	left: calc((100% - 30px) / 2);
	background: #555;
}

form.apps .form_title + .block {
	border-top: 0px solid #fff;
}

/*------------------------------> ▼ .radio <--*/
/*-----------------------------------------------------------------------------------------------> ▼ form.radio <--*/

form.apps .radio {
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

form.apps .radio input[type="radio"] {
	display: none;
}

form.apps .radio label {
	width: calc((100% - 5px) / 2);
	line-height: 30px;
	border: 1px solid #ccc;
	border-radius: var(--border_radius_light);
	background: ;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
}

form.apps .radio label:nth-of-type(2n) {
	margin-left: 5px;
}

form.apps .radio input:checked + label {
	border-color: var(--theme);
	background: var(--theme);
	color: #fff;
}

@media (hover: hover) and (pointer: fine) {
	form.apps label:not(.disabled) {
		transition: var(--transition);
	}
/*
	form.apps label:not(.disabled):hover {
		color: #fff;
		border-color: var(--theme);
		background: var(--theme);
	}
*/
}

/*------------------------------> ▼ view <--*/

form.apps div.failure {
	width: 100%;
	margin-top: 5px;
}

form.apps div.failure::before {
	content: '▲';
	padding-right: 3px;
}

/*-----------------------------------------------------------------------------------------------> ▼ input[type="password"] <--*/

form.apps input[type="password"],
form.apps input[type="text"].password {
	font-family: Meiryo;
	font-weight: bold;
	letter-spacing: 0.25em;
	text-align: center;
}

form.apps .view_password {
	display: flex;
	justify-content: center;
	width: fit-content;
	margin: 30px auto 0;
	padding: 5px 15px;
	border-radius: var(--border_radius);
	background: #f0f0f0;
	cursor: pointer;
}

form.apps .view_password div:nth-child(1) {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	background: url(/asset/image/icon/eye.png) center / cover;
}

form.apps .view_password div:nth-child(2) {
	line-height: 20px;
}

@media (hover: hover) and (pointer: fine) {
	form.apps .view_password {
		transition: var(--transition);
	}
	
	form.apps .view_password:hover {
		background: #e6e6e6;
	}
}

/*----------------------------------------------------------------------> ▼ .radio_circle <--*/

form.apps .radio_circle input[type="radio"] {
	display: none;
}

form.apps .radio_circle {
	display: flex;
	margin-top: 10px;
	position: relative;
}

form.apps .radio_circle div {
	padding-top: 2px;
	line-height: 20px;
	cursor: pointer;
}

form.apps .radio_circle::before {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	border: 1px solid var(--theme);
	border-radius: 50%;
	cursor: pointer;
}

form.apps .radio_circle:has(> input:checked)::after {
	content: '';
	position: absolute;
	top: 4px;
	left: 4px;
	width: 14px;
	height: 14px;
	background: var(--theme);
	border-radius: 50%;
}

@media (min-width: 769px) {
	form.apps .radio_circle label:first-child {
		margin-top: 15px;
	}
}

@media (max-width: 768px) {
	form.apps .radio_circle label:first-of-type {
		margin-top: 17.5px;
	}
}

@media (hover: hover) and (pointer: fine) {
	form.apps .radio_circle div:hover {
		color: var(--theme);
	}
}

/*----------------------------------------------------------------------> ▼ .general_navi <--*/

form.apps .general_navi {
	display: flex;
	justify-content: center;
	position: fixed;
	width: 100% !important;
	bottom: 0;
	left: 0;
	border-top: 1px solid #f0f0f0;
	background: #fff;
}

form.apps .general_navi input[type="submit"] {
	width: calc(100% / 2);
	height: auto !important;
	padding: 15px 0 !important;
	border: 0;
	border-radius: 0;
	font-family: Notosans-M;
	color: #666;
	text-align: center;
}

form.apps .general_navi input[type="submit"]:nth-of-type(2) {
	border-left: 1px solid #ccc;
}

/*-----------------------------------------------------------------------------------------------> ▼ .textarea <--*/

form.apps div.textarea {
	border: 1px solid #e6e6e6;
	border-radius: var(--border_radius_light);
	padding: 8px 10px;
	background: #f0f0f0;
	line-height: 1.4em;
	letter-spacing: 0.05em;
	height: auto;
}

/*-----------------------------------------------------------------------------------------------> ▼ .toggle <--*/

form.apps .toggle input[type="checkbox"] {
	display: none;
}

form.apps .toggle {
	display: flex;
	position: relative;
	width: 50px;
	height: 22px;
	margin-top: 1px;
	border-radius: 9999px;
	overflow: hidden;
	cursor: pointer;
}

form.apps .toggle::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: #e9e9e9;
	transition: var(--transition);
}

form.apps .toggle::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 4px;
	width: 16px;
	height: 16px;
	display: block;
	border-radius: 50px;
	background: #fff;
	box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.3);
	transition: var(--transition);
}

form.apps .toggle.checked::before {
	background: var(--theme);
}

form.apps .toggle.checked::after {
	left: 31px;
	box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.5);
}

@media (hover: hover) and (pointer: fine) {
	form.apps .toggle.checked:hover::before {
		background: var(--theme_hover);
	}
}
