/* 全体 */
body {
    font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
    background: linear-gradient(135deg, #e6f0ff, #f0f6ff);
    margin: 0;
    padding: 0;
    color: #333;
}

/* コンテナ */
.container {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

/* 光る装飾 */
.container::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, rgba(0,123,255,0.25), transparent 70%);
    border-radius: 50%;
}

    button {
        font-size: 1.1em;
        padding: 14px 0;
        width: 50%;                    /* ← 幅を少し縮める */
        border-radius: 8px;
        margin: 20px auto 0;           /* ← 中央配置 */
        display: block;
    }

.link-button {
    display: inline-block;
    width: 50%;
    padding: 14px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}


/* タイトル */
h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #0066cc;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 1px;
}

/* フォーム */
form label {
    display: block;
    margin-bottom: 18px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

form input {
    width: 95%;
    padding: 12px;
    border: 1px solid #b5d1ff;
    border-radius: 8px;
    margin-top: 6px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0,123,255,0.3);
    outline: none;
}

/* ボタン */
button {
    display: block;
    width: 50%;
    padding: 14px;
    background: linear-gradient(135deg, #ff003b, #ffcb37);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.3s ease;
    margin-top: 50px;
    position:
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* エラー */
.error {
    background: #e6f0ff;
    color: #004085;
    border: 1px solid #b8daff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* キャッチコピー */
.catchcopy {
    text-align: center;
    font-size: 1.1em;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===== スマホ最適化 ===== */
@media (max-width: 768px) {
    body {
        background: #f6f9ff;
    }

    .container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0;
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
    }

    h1 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    form label {
        font-size: 1em;
        margin-bottom: 15px;
    }

    form input {
        font-size: 1.1em;
        padding: 14px;
    }

    button {
        font-size: 1.2em;
        padding: 16px;
        border-radius: 0;
    }

    .catchcopy {
        font-size: 1.2em;
        margin-bottom: 25px;
    }
}
/* ===== スマホ最適化 ===== */
@media (max-width: 768px) {
    body {
        background: #f6f9ff;
    }

    .container {
        width: 90vw !important;        /* ← 少し余白を残す */
        max-width: 90vw !important;
        margin: 10px auto auto;                /* 中央寄せ */
        padding: 25px 15px;
        border-radius: 10px;
        box-shadow: 0 10px 16px rgba(0,0,0,0.05);
    }

    h1 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    form label {
        font-size: 1em;
        margin-bottom: 15px;
    }

    form input {
        font-size: 1.1em;
        padding: 14px;
        width: 100%;
    }

    button {
        font-size: 1.1em;
        padding: 14px 0;
        width: 50%;                    /* ← 幅を少し縮める */
        border-radius: 8px;
        margin: 20px auto 0;           /* ← 中央配置 */
        display: block;
    }

    .catchcopy {
        font-size: 1.2em;
        margin-bottom: 25px;
    }
}
