@charset "utf-8";

@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

/* https://cloudcasting.jp/cast/login-form */

.login-text {
	font-size: 32px;
	color: #000;
	font-weight: 700;
	text-align: center;
	margin: 0 0 32px 0;
}

.login-list input {
	width: 100%;
	height: 48px;
	background-color: unset !important;
	color: #fff !important;
}

.login-list input:focus {
	outline: 0;
}

.login-list input::placeholder {
	opacity: 0.5;
}

.login-list__item {
	border: 1px solid #fff;
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.16);
}

.login-list__item__mail {
	padding-left: 3rem;
	background: url("/images/model/messege_white_16.png") no-repeat center left;
	background-position-x: 1rem;
}

.login-list__item__pass {
	padding-left: 3rem;
	background: url("/images/model/pass_white_16.png") no-repeat center left;
	background-position-x: 1rem;
}

.login-check {
	font-size: 15px;
	display: inline-block;
}

.login-check input[type="checkbox"] {
	display: none;
}


.login-check__check {
	display: inline-block;
}

.login-check__check__label {
	padding: 0.25rem 1rem 0.25rem 1.25rem;
	background: url(/images/model/check_off_black.png) no-repeat left center;
	line-height: 1;
	display: flex;
	justify-content: center;
	color: #fff;
}

.login-check input[type="checkbox"]:checked + label {
	background-image: url(/images/model/check_on_black.png);
}

.login-pass {
	font-size: 12px;
	margin: 0 0 0.5rem 0;
	text-align: right;
}

.login-pass a {
	margin: 0;
}

.login-btn {
	width: 100%;
	padding: 16px 32px;
	margin: 16px 0 16px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	border: none;
	height: 56px;
}

.login-alert {
	margin: 0 0 1rem;
	padding: 1rem 1rem;
	background-color: #f7d3da;
}

.login-alert__text {
	background: url("/images/model/error_red_16.png") no-repeat left center/1rem auto;
	font-size: 0.75rem;
	padding-left: 2rem;
	color: #da2647 !important;
	display: inline-block;
}

/* --- Custom layout for cast login frame and background --- */
#login {
	min-height: 100vh;
	background: linear-gradient(180deg, rgb(232 241 241) 0%, rgb(252 232 218) 100%);
}

.area-wrap.login {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 0 8px; /* tighter bottom spacing */
}

.login-frame {
	position: relative;
	width: 640px;
	min-height: auto;
	margin: 0 auto;
	background: #FFFFFF;
	border-radius: 24px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
	padding: 24px 40px 8px;
	box-sizing: border-box;
}

/* Make texts and inputs readable on white card */
.login-frame .login-text {
	color: #000;
}

.login-frame .login-list input {
	background-color: #fff !important;
	color: #333 !important;
	border: 1px solid #e5e5e5;
	height: 56px;
	border-radius: 8px;
	box-sizing: border-box;
	width: 100%;
	padding: 8px 12px;
	font-size: 16px;
	margin-bottom: 18px;
}

.login-frame .login-list__item {
	border: none;
	background: transparent;
	padding: 0;
}

.login-frame .login-list__item__mail,
.login-frame .login-list__item__pass {
	padding-left: 0;
	background: none;
}

.login-frame .login-check__check__label {
	color: #333;
}

/* Remove legacy background images inside the card */
.login-frame .backimg-frame {
	display: none;
}

/* Logo and header spacing inside card */
.login-frame .login-head {
	text-align: center;
	margin-bottom: 24px;
	padding-top: 8px;
}

/* Labels and badges above inputs */
.login-frame .login-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 8px 0;
}

.login-frame .login-label__left {
	font-weight: 700;
	color: #333;
	font-size: 18px;
}

.login-frame .login-label__right a {
	font-size: 13px;
	color: #3F3F3F;
	font-weight: 300;
}

.login-frame .login-label__right a:hover {
	text-decoration: underline;
}

.login-frame .login-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 3px 8px;
	font-size: 10px;
	color: #fff;
	background: #FF5A5A;
	border-radius: 4px;
	font-weight: 600;
}

/* Rounded, wide login button */
.login-frame .login-btn {
	border-radius: 999px;
}

/* Outlined social login buttons */
.login-frame .login-btn--social {
	background: #fff;
	color: #000;
	font-weight: 700;
	border: 2px solid #FDB650;
	height: 56px;
	margin: 12px 0;
}

/* Divider above/below social section */
.login-frame .area-footer-withlab__transparent__border {
	border: none;
	border-top: 2px solid #bdbdbd;
	margin: 24px 0;
	width: 100%;
}

/* Title above social login buttons */
.login-frame .login-social-section {
	text-align: left;
}

.login-frame .login-social-section__title {
	font-size: 13px;
	color: #3F3F3F;
}

/* CTA text above footer */
.login-frame .login-cta__divider {
	border: none;
	border-top: 2px solid #bdbdbd;
	margin: 24px 0;
	width: 100%;
	max-width: 400px; /* align with .login-box width */
	margin-left: auto;
	margin-right: auto;
}

.login-frame .login-cta {
	text-align: center;
	color: #555;
	margin: 8px auto 24px; /* add ~20px extra below CTA */
	max-width: 343px;
}

.login-frame .login-cta a {
	color: #4986E8;
	text-decoration: underline;
	font-weight: 500;
}

.login-frame .login-cta p {
	color: #3F3F3F !important;
	margin: 6px 0;
	font-size: 13px;
	font-weight: 500;
}

/* Copyright footer outside card */
.login-footer {
	text-align: center;
	margin-top: 16px;
	padding: 8px 0;
}

.login-footer p {
	color: #000000;
	font-size: 12px;
	font-weight: normal;
	margin: 0;
}

/* Hide legacy footer included inside the card to avoid extra whitespace */
.login-frame .area-footer {
	display: none !important;
}

.login-frame a {
	color: #333333;
	border-bottom: 1px solid #fff;
	margin: 0 0.1rem;
	text-decoration: underline;
}

.login-head img {
	width: 384px;
	height: auto;
	margin: 0 auto;
}

@media screen and (min-width: 751px) {
	.sp {
		display: none !important;
	}

	.login-box {
		max-width: 400px;
		margin: 0 auto;
	}

}

@media screen and (max-width: 750px) {
	.pc {
		display: none !important;
	}
	.login-frame {
		padding-left: 20px;
		padding-right: 20px;
	}
}
