/* Bodyスタイルは指定されたものを使用 */
body {
  font-family: Arial, sans-serif;
  background-image: url("https://ss352548.stars.ne.jp/img/haikei.png");
  background-size: cover; 
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 画面全体を使う */
  margin: 0;
  z-index: 1;
}

/* ログイン画面の全体コンテナ */
.login-container {
  background: rgba(255, 255, 255, 0.8); /* 半透明の背景 */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.title {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  /* text-transform: uppercase; */
  font-family: Arial, sans-serif;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 入力フィールド */
.input-group {
  display: flex;
  justify-content: center;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #007bff;
  outline: none;
}

input::placeholder {
  color: #888;
}

/* ログインボタン */
.login-button {
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: #007bff;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #0056b3;
}

/* リンク */
.links {
  margin-top: 20px;
}

.register-link,
.reset-link {
  color: #007bff;
  font-size: 0.9rem;
  text-decoration: none;
  margin: 5px;
  transition: color 0.3s ease;
}

.register-link:hover,
.reset-link:hover {
  color: #0056b3;
}










/* イカを表示するコンテナのスタイル */
.cherry-blossom-container {
  position: relative;
  height: 100vh; /* コンテナの高さ */
  width: 100%; /* コンテナの横幅 */
  overflow: hidden; /* コンテナからはみ出した要素を隠す */
}

.sakura {
  position: absolute;
  z-index: -1;
  top: -10px;
  width: 30px;
  height: 30px;
  background: url('https://ss352548.stars.ne.jp/icon/ika.png'); /* 桜の花びらの画像を指定 */
  animation: rotating-and-falling-anim 4s linear infinite;

  background-size: cover;

  /* z-index: 0; */
  opacity: 0.8;
}


/* animation */
@keyframes rotating-and-falling-anim {
	0% {
		transform: translateY(-100px) rotate(0);
	}
	100% {
		transform: translateY(850px) rotate(720deg);
	}
}



/* メディアクエリでスマホ対応 */
@media screen and (max-width: 600px) {
  .login-container {
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽い影に調整 */
  }

  .title {
    font-size: 1.5rem; /* タイトルのフォントサイズを縮小 */
  }

  .login-form {
    gap: 10px; /* 要素間の間隔を縮小 */
  }

  .input-group input {
    font-size: 0.9rem; /* 入力フィールドのフォントサイズを調整 */
    padding: 8px; /* パディングを小さく調整 */
  }
}



