:root {
    --primary-color: #232f3e;
    --accent-color: #ff9900;
    --bg-color: #f4f6f8;
    --card-bg: #ffffff;
    --text-color: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column; /* ★要素を縦並びにする */
    align-items: center;     /* ★中央寄せにする */
    min-height: 100vh;       /* ★画面の高さいっぱいに広げる */
    box-sizing: border-box;
}

.container {
    max-width: 680px;
    width: 100%;
    flex: 1;                 /* ★コンテンツが少ない時もフッターを下に押しやる */
}

/* フッターを画面幅いっぱいに広げたい場合の調整 */
footer {
    width: 100%;
    text-align: center; /* ★フッター内のテキストやリンクを中央寄せにする */
    margin-top: 30px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e4e8;
}

.card h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--primary-color);
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
}

input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
}

button {
    width: 100%;
    margin-top: 16px;
    background: linear-gradient(135deg, #ff9900, #e68a00);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

button:hover {
    opacity: 0.95;
}

button:active {
    transform: scale(0.99);
}

/* 注意書きエリア */
.notice-box {
    margin-top: 24px;
    background-color: #fff8e6;
    border-left: 4px solid var(--accent-color);
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #665000;
    line-height: 1.5;
}

.notice-box strong {
    display: block;
    margin-bottom: 4px;
}
