/*ログイン画面*/

.login {
	background-image: url('../img/decoration.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height:100svh;
	display:flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

.login p {
	color: white;
	font-size: 1.8rem;
	font-weight: 100;
	letter-spacing: 0.18em;
	line-height: 1.55;
	margin: 0 auto;

}


.login-logo {
	width:70%;
	margin:0 auto;
	margin-bottom:3vw;
}

.login-main-img {
  width: auto;
  height: 60vh;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.btn_slim {
	width: 80%;
	background-color: white;
	color: var(--main);
	font-size: 1rem;
	border-radius: 5px;
	box-shadow: 0 4px 6px rgba(var(--main-rgb), 0.8),
				0 2px 4px rgba(var(--main-rgb), 0.5);
	border: none;
	padding: 0.7em 1em;
	cursor: pointer;
	text-align: center;
	font-weight: 600;
	position: absolute;
	bottom: 22vw;
	left: 50%;
	transform: translateX(-50%);
}

.fadeup-btn {
	opacity: 0;
	transform: translateX(-50%) translateY(30px);
	animation: fadeUpBtn 0.5s ease-out forwards;
	animation-delay: 0.5s;
	animation-fill-mode: forwards;
}

@keyframes fadeUpBtn {
0% {
	visibility: hidden;
	opacity: 0;
	transform: translateX(-50%) translateY(30px);
	}
1% {
	visibility: visible;
	}
100% {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	}
}

.login-form {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* ← ← ← ここで"びよーん感"出す */
  display: flex;
  flex-direction: column;
  border-radius: 25px 25px 0 0;
  padding-top: 2.3em;
  z-index: 10;
}

.login-form p {
	color:#242424;
	font-weight:bold;
	font-size: 0.875rem;
	letter-spacing: 0;
	line-height: 1;
	margin:0;
	margin-left:10%;
	margin-bottom:0.5em;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  box-sizing: border-box;
  width: calc(80% - 0.5em);
  padding: 0.7em 0.5em;
  font-size: clamp(16px, 1rem, 999px);
  margin-left: 10%;
  border-radius: 3px;
  border: 1px solid #B9B9B9;
  margin-bottom: 1.5em;
}


.login-form button {
	box-sizing: border-box;
	width: calc(85% - 0.5em);
	padding: 0.7em 0.5em;
	font-size: 1rem;
	margin-left:7.5%;
	border-radius: 3px;
	border: 1px solid #B9B9B9;
	margin-bottom:1.3em;
}


.login-form input::placeholder {
  color: #B9B9B9; /* ← 好きな色に変更 */
}

.login-form button {
	background-color:white;
	font-weight:bold;
	color: #E1AD00;
	cursor: pointer;
	border: 2px solid #E1AD00;
}

.login-form.show {
  transform: translateY(0);
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
	box-sizing: border-box;
	width: calc(80% - 0.5em);
	padding: 0.7em 0.5em; /* ← アイコンの分だけ右padding追加 */
	font-size: 1rem;
	margin-left:10%;
	border-radius: 3px;
	border: 1px solid #B9B9B9;
	  margin-bottom: 1em;

}

/* アイコンを入力欄の中に配置 */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-125%);
  width: 18px;
  height: 14px;
  cursor: pointer;
  opacity: 0.6;
  pointer-events: auto;
}
.toggle-password:hover {
  opacity: 1;
}

/* ラベル全体 */

#remember {
  display: none;
}

.remember {
  /* 見た目系 */
  font-size: 0.75rem;
  color: #333;
  display: inline-flex;         /* ← display: flex → inline-flex に変更 */
  align-items: center;          /* ← 中央揃え */
  gap: 0.5em;
  margin-left: 10%;
  margin-bottom: 1.3em;
  margin-top: 0.5em;
  position: relative;
  padding-left: 0.5em;
}

.remember::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #B9B9B9;
  border-radius: 1px;
  background: white;
  display: flex;                /* ← 追加 */
  align-items: center;          /* ← 縦中央揃え */
  justify-content: center;      /* ← 横中央揃え */
  box-sizing: border-box;
  font-size: 11px;
  font-weight: bold;
  color: transparent;
  transition: all 0.2s ease;
	    margin-top: 0.23em;
}

#remember:checked + .remember::after {
  background-color: #E1AD00;
  border-color: #E1AD00;
  color: white;
  content: "✔";
}


.under_txt {
	font-size:1rem;
	color:#242424;
	text-decoration: underline;
	cursor: pointer;
	font-weight:500;
	text-align:center;
	margin-bottom:0.8em;
	margin-top:0.2em;
}



.btn_y {
  box-sizing: border-box;
  width: calc(85% - 0.5em);
  padding: 0.7em 0.5em;
  font-size: 1rem;
  margin-left: 7.5%;
  border-radius: 3px;
  border: 1px solid #E1AD00; /* ← タイポ修正: #E1AD0 → #E1AD00 */
  margin-bottom: 4em;
  color: white;
  background-color: #E1AD00;
  cursor: pointer;
  font-weight: bold;
  text-align: center;

  /* ✅ 影追加！ */
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.2s ease;
}

.btn_y:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* ← ホバー時さらに立体感 */
}

/* ロゴとテキストが上に移動するアニメーション */

.move-up {
  animation: moveUp 0.5s ease forwards;
}

@keyframes moveUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-15vh); /* ← 上がりすぎなら調整してOK */
    opacity: 1; /* ← 消えないようにする */
  }
}


/* パスワードを忘れた方はこちらのリンク */
.forgot-password a {
  color: #242424;
}

.forgot-password a:hover {
  color: #F7C242;
}

/*スマホ設定 850px以下の場合*/

@media (max-width:850px) {

.pc {
	display:none;
}

.sp {
	display:block;
}





}