* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE4CC 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(255, 140, 66, 0.15);
    max-width: 450px;
    width: 100%;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo h1 {
    color: #FF7043;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.logo p {
    color: #999;
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #FFE0B2;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #FFFAF5;
}

.form-group input:focus {
    outline: none;
    border-color: #FF7043;
    background: white;
}

/* パスワード欄のアイコン配置 */
.password-wrapper {
    position: relative;
}

.password-wrapper input{
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 55px; /* input の高さに合わせて微調整 */
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;  /* アイコンの幅を縮小 */
    height: 24px; /* アイコンの高さを縮小 */
    object-fit: contain;
}

.toggle-password:hover {
    opacity: 0.7;
}

.recaptcha-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.login-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FF7043 0%, #FF5722 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.3);
    margin-top: 10px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 87, 34, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.error-message {
    /* background: linear-gradient(135deg, #FFE0B2 0%, #FFCCBC 100%);
    border: 2px solid #FF9800;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 25px; */
    color: #E64A19;
    font-size: 14px;
    font-weight: 600;
    display: none;
    text-align: center;
}

.error-message.show {
    display: block;
    /* animation: shake 0.5s; */
}

.footer {
    position: fixed;        /* ← 画面に固定 */
    bottom: 0;              /* ← 最下部 */
    left: 0;
    width: 100%;            /* ← 全幅 */
    background: white;
    text-align: center;
    padding: 8px 10px;
    font-size: 14px;
    color: #777;
    box-shadow: 0 -2px 10px rgba(255, 140, 66, 0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.info-text {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 20px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .login-container {
        padding: 30px 25px;
    }

    .logo h1 {
        font-size: 26px;
    }

    .login-button {
        padding: 15px;
        font-size: 16px;
    }

    .recaptcha-container{
        margin-bottom: 10px !important;
        transform: scale(0.9);
    }

    .footer {
        font-size: 12px;
        padding: 5px 5px;
    }
}
