/* 基本的なリセット */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

/* ボディのスタイル */
body {
   font-family: 'Arial', sans-serif;
   background-color: #f4f6f9;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
}

/* ログインコンテナ */
.login-container {
   background-color: #fff;
   padding: 40px;
   border-radius: 8px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   width: 100%;
   max-width: 400px;
   text-align: center;
}

/* タイトル */
h2 {
   font-size: 28px;
   color: #333;
   margin-bottom: 20px;
}

/* ラベルのスタイル */
label {
   display: block;
   font-size: 16px;
   color: #555;
   margin-bottom: 8px;
   text-align: left;
}

/* 入力フィールド */
input[type="text"],
input[type="password"] {
   width: 100%;
   padding: 10px;
   font-size: 16px;
   border: 2px solid #ddd;
   border-radius: 4px;
   margin-bottom: 20px;
   padding-right: 35px;
   transition: border-color 0.3s ease;
}

/* 入力フィールドのホバー時の効果 */
input[type="text"]:focus,
input[type="password"]:focus {
   border-color: #007bff;
   outline: none;
}

/* ボタン */
button {
   width: 100%;
   padding: 12px;
   font-size: 18px;
   color: #fff;
   background-color: #007bff;
   border: none;
   border-radius: 4px;
   cursor: pointer;
   transition: background-color 0.3s ease;
}

/* ボタンのホバー時の効果 */
button:hover {
   background-color: #0056b3;
}

/* リンクのスタイル */
a {
   display: inline-block;
   margin-top: 15px;
   font-size: 14px;
   color: #007bff;
   text-decoration: none;
   transition: color 0.3s ease;
}

/* リンクのホバー時の効果 */
a:hover {
   color: #0056b3;
}

/* レスポンシブデザイン（画面幅が小さいときの調整） */
@media (max-width: 500px) {
   .login-container {
       padding: 30px;
       width: 80%;
   }

   h2 {
       font-size: 24px;
   }

   button {
       font-size: 16px;
   }
}

/* 目玉アイコン */
.input-container {
   position: relative;
   width: 100%;
   height: 45px; 
   overflow: hidden;
   margin-bottom: 20px; 
}

.input-container input {
   width: 100%;
   height: 45px;
   padding: 10px 40px 10px 10px;
   font-size: 16px;
   border: 2px solid #ddd;
   border-radius: 4px;
   box-sizing: border-box;
}

.eye-icon {
   position: absolute;
   right: 10px;
   top: 50%;
   transform: translateY(-50%);
   font-size: 20px;
   color: #999;
   cursor: pointer;
   pointer-events: auto;
}

