@charset "utf-8";
/* ----------------------------------------------------------------------------------------
* Author        : SHIGIRA SEVEN MILES RESORT
* File          : Login CSS file
* ---------------------------------------------------------------------------------------- */

/* ----------------------------------------------------------------------------------------
                     01. Login content css
------------------------------------------------------------------------------------------ */
body:before,
body::after {
	background: none;
	height: inherit;
}

@media screen and (max-width: 768px) {
    .header-logo {
        display: block;
    }

	.btn-back {
		display: none;
	}

	.header h1 {
		display: none;
	}
}

.login-wrap {
	max-width: 1388px;
	height: calc(100vh - 156px);
	height: calc(100svh - 156px);
	background: url(../images/login/bg-login.jpg) no-repeat top left;
	background-size: cover;
}

.login-content {
	position: absolute;
	right: 120px;
	top: 50%;
	transform: translateY(-50%);
	width: 600px;
	padding: 48px;
	background-color: var(--base-color);
}

@media screen and (max-width: 768px) {
	.login-content {
		position: relative;
		right: 0;
		top: 0;
		transform: translateY(0);
		width: 92%;
		margin: 60px auto 0;
		padding: 24px;
	}
}

.login-content h1 {
	font-size: 3.6rem;
	font-weight: bold;
}

form label {
	font-weight: bold;
}

main div:nth-child(2) {
	position: relative;
}

.btn-eye {
	position: absolute;
    top: 38px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: url(../images/common/icon-eye.png);
    background-size: cover;
}

.btn-eye.open {
	width: 26px;
    height: 26px;
	background: url(../images/common/icon-eye-slash.png);
    background-size: cover;
}

input[type="checkbox"] {
    display: none;
}

input[type=checkbox] + label {
	position: relative;
	padding: 4px 24px;
    box-sizing: border-box;
    cursor: pointer;
    font-weight: normal;
}

input[type=checkbox] + label::before {
    position: absolute;
	display: block;
	content: '';
    top: 50%;
    left: 5px;
	width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 4px;
	border: 2px solid var(--sub-color-1);
}

input[type=checkbox] + label::after {
	position: absolute;
	display: block;
	content: '';
	top: 50%;
	left: 10px;
	width: 7px;
	height: 10px;
	margin-top: -7px;
	transform: rotate(45deg);
    border-right: 3px solid var(--main-color);
    border-bottom: 3px solid var(--main-color);
	opacity: 0;
}

input[type=checkbox]:checked + label::after {
	opacity: 1;
}

/*パスワードをお忘れの方*/
.pass-forget {
	text-align: center;
	text-decoration: underline;
}

[data-mode] {
    display: none;
}
