/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* サイトタイトルのスタイル */
.site-title {
    font-size: 36px; /* フォントサイズを少し大きく */
    color: #FF9900;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* フォームのコンテナ */
form {
    background-color: #ffffff;
    padding: 35px; /* パディングを少し広げる */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

/* ラベルのスタイル */
label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 16px; /* フォントサイズを少し大きく */
    color: #333;
}

/* インプットフィールド */
input[type="email"] {
    width: 100%;
    padding: 14px; /* パディングを少し広げる */
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px; /* フォントサイズを大きく */
}

/* ボタン */
button {
    width: 100%;
    padding: 14px; /* パディングを広げる */
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px; /* フォントサイズを大きく */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #218838;
}

/* モバイルフレンドリー対応 */
@media (max-width: 500px) {
    form {
        padding: 25px; /* モバイルでも余裕を持たせる */
    }

    .site-title {
        font-size: 32px; /* スマホでも見やすいサイズに */
    }

    button {
        font-size: 17px; /* ボタンのフォントサイズを少し大きく */
    }

    input[type="email"] {
        font-size: 17px; /* 入力フィールドも少し大きく */
        padding: 13px; /* パディングも少し増やす */
    }
}

/* エラーメッセージのスタイル */
.error-message {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}
