@charset "UTF-8";
body {
    background: linear-gradient(120deg, #e3e9f0 0%, #f8fafc 100%);
    font-family: 'Philosopher', 'Yu Gothic', 'Meiryo', sans-serif;
    color: #333;
    min-height: 100vh;
    margin: 0;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(60,80,120,0.09);
}

.s {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(60,80,120,0.10);
    padding: 36px 30px 24px 30px;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
}

.tt {
    font-size: 1.2rem;
    font-weight: bold;
    color: #39587a;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 1px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

label {
    font-weight: bold;
    color: #39587a;
    margin-bottom: 4px;
}

input[type="text"],
input[type="password"] {
    padding: 10px 12px;
    border: 1.5px solid #bfcad6;
    border-radius: 8px;
    font-size: 1.05em;
    background: #f7fafd;
    color: #222;
    margin-bottom: 6px;
    transition: border 0.18s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #009688;
    background: #eef3fa;
}

button[type="submit"] {
    background: #009688;
    color: #fff;
    font-weight: bold;
    font-size: 1.07em;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(60,80,120,0.07);
    letter-spacing: 1px;
    transition: background 0.18s, transform 0.13s;
}

button[type="submit"]:hover {
    background: #00796b;
    transform: translateY(-1px) scale(1.03);
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    color: #009688;
    font-size: 0.97em;
    text-decoration: underline;
    transition: color 0.18s;
}

.forgot-password a:hover {
    color: #00796b;
}

.footer {
    text-align: center;
    margin-top: 48px;
    color: #888;
    font-size: 0.98em;
}

@media (max-width: 500px) {
    .s {
        padding: 18px 4vw 18px 4vw;
        max-width: 98vw;
    }
    .logo {
        width: 80px;
    }
}
