body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f0f0f0; /* 背景を明るいグレーに変更 */ color: #333333; /* テキストの色をダークグレーに変更 */ display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .container { background-color: #ffffff; /* 背景を白に変更 */ padding: 40px; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* 軽い影に変更 */ text-align: center; width: 320px; } h1 { font-size: 24px; margin-bottom: 30px; color: #333333; /* 見出しの色をダークグレーに変更 */ } .input-container { position: relative; margin-bottom: 20px; text-align: left; display: flex; flex-direction: column; align-items: center; } label { margin-bottom: 8px; font-size: 14px; color: #666666; /* ラベルの色をグレーに変更 */ width: 100%; } input[type="text"] { width: 100%; padding: 15px; border-radius: 8px; border: 1px solid #cccccc; /* ボーダーの色をライトグレーに変更 */ background-color: #ffffff; /* 背景を白に変更 */ color: #333333; /* テキストの色をダークグレーに変更 */ font-size: 16px; outline: none; transition: background-color 0.3s ease, border-color 0.3s ease; } input[type="text"]::placeholder { color: #999999; /* プレースホルダーの色をグレーに変更 */ } input[type="text"]:focus { background-color: #f5f5f5; /* フォーカス時の背景色をライトグレーに変更 */ border-color: #009688; /* フォーカス時のボーダー色を青緑色に変更 */ } button { width: 100%; padding: 15px; background-color: #009688; /* ボタンの背景色を青緑色に変更 */ color: white; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; } button:hover { background-color: #00796b; /* ホバー時の背景色を濃い青緑色に変更 */ transform: translateY(-2px); } #responseMessage { margin-top: 20px; font-size: 16px; color: #76ff03; /* レスポンスメッセージの色を鮮やかな緑に変更 */ } input, select { width: calc(100% - 20px); padding: 10px; margin: 5px 0; border: 1px solid #cccccc; /* ボーダーの色をライトグレーに変更 */ border-radius: 5px; background: #ffffff; /* 背景を白に変更 */ color: #333333; /* テキストの色をダークグレーに変更 */ }