@charset "utf-8";

/* ===================================================================
FORM APP
=================================================================== */

/* FORM APP LOADING
--------------------*/

.form-app-loading {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: calc(100dvh - 70px);
}

.form-app-loading img {
	width: 29px;
}

/* FORM APP ERROR
--------------------*/

.form-app-error {
	display: none;
	text-align: center;
}

/* FORM APP SUCCESS
--------------------*/

.form-app-success {
	display: none;
}

/* ===================================================================
FORM
=================================================================== */

/* FORM BASIC
--------------------*/

.form-detail {
	margin: 0 0 30px;
}

.form-detail a {
	color: #46BAE9;
	text-decoration: underline;
}

sup {
	display: inline-block;
	margin: 0 0 0 5px;
	padding: 5px 7.5px;
	color: #FFF;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1;
	background: #EB461E;
	border-radius: 50px;
}

.form-contents {
	margin: 0 0 50px;
}

.form-content {
	margin: 0 0 30px;
}

.form-content > p {
	word-break: break-all;
}

/* FORM COMMON LABEL
--------------------*/

.form-content > label:not(.file-label) {
	display: block;
	position: relative;
	margin: 0 0 10px;
	font-size: 1.6rem;
	font-weight: 700;
}

/* FORM COMMON PARTS
--------------------*/

.form-content input,
.form-content select,
.form-content textarea {
	display: block;
	width: 100%;
	font: unset;
	color: #000;
	background: #F6F4F6;
	border: 1px solid #46BAE9;
}

.form-content input,
.form-content select {
	height: 50px;
}

.form-content textarea {
	height: 200px;
}

.form-content input,
.form-content textarea {
	padding: 5px 10px;
}

.form-content select {
	padding: 5px 10px 5px 50px;
}

.form-content input[type=date] {
	text-align: left;
	line-height: 40px;
}

/* FORM RADIO
--------------------*/

.form-content input[type=radio] {
	display: none;
}

.form-content .form-content-radio.form label {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 20px;
	padding: 0 0 0 30px;
	cursor: pointer;
}

.form-content .form-content-radio.form label:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background: #F6F4F6;
	border: 1px solid #46BAE9;
	border-radius: 50%;
}

.form-content .form-content-radio.form input[type=radio]:checked + label:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 7px;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background: #DB45FF;
	border-radius: 50%;
}

/* FORM CHECKBOX
--------------------*/

.form-content .form-content-check label {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 20px;
	padding: 0 0 0 30px;
	cursor: pointer;
}

.form-content .form-content-check label:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background: #F6F4F6;
	border: 1px solid #46BAE9;
}

.form-content .form-content-check input[type=checkbox]:checked + label:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 7px;
	transform: translateY(-60%) rotate(40deg);
	width: 5px;
	height: 10px;
	background: transparent;
	border-bottom: 2px solid #DB45FF;
	border-right: 2px solid #DB45FF;
}

/* FORM SELECT
--------------------*/

.form-content-select {
	position: relative;
}

.form-content-select:after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translate(0, -50%) rotate(45deg);
	left: 22px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	pointer-events: none;
}

/* FORM FILE
--------------------*/

.form-content .form-content-file {
	width: 1px;
	height: 1px;
}

.form-content .form-content-file input[type=file] {
	opacity: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	border: none;
}

.form-content > label.file-label {
	display: block;
	width: 100%;
	height: 50px;
	padding: 5px 10px;
	font: unset;
	color: #000;
	background: #F6F4F6;
	border: 1px solid #46BAE9;
}

.form-content > label.file-label .form-content-name {
	display: block;
	font-weight: 700;
	line-height: 40px;
	overflow: hidden;
	white-space: nowrap;
}

/* FORM HR
--------------------*/

.form-content-hr {
	display: block;
	padding: 10px 0 0;
	border-top: 2px solid #46BAE9;
}

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

	/* ===================================================================
	FORM APP
	=================================================================== */

	/* FORM APP LOADING
	--------------------*/

	.form-app-loading {
		height: calc(100dvh - 60px);
	}

}