* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}


body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f3f4f6;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* Header */
.header {
    width: 100%;
    background-image: linear-gradient(109.32deg, rgb(0, 0, 0) 0%, rgb(9, 60, 211) 95.093%);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 0 125px;
}

.logo {
    width: 71px;
    height: 75px;
    position: relative;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Box */
.form-box {
    position: absolute;
    top: 205px;
    left: 18.4%;
    right: 18.4%;
    background-color: white;
    border-radius: 30px;
    border: 2px solid #093cd3;
}

.form-content {
    display: flex;
    flex-direction: column;
    padding: 36px 37px;
    overflow: hidden;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 16px;
}

.form-group:first-child {
    height: 112px;
}

.form-group:nth-child(2) {
    height: 128px;
}

/* Label */
.label {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.label-text {
    color: black;
}

.label-required {
    color: #d32929;
}

/* Input Content */
.input-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.error-text {
    font-size: 16px;
    font-weight: 400;
    color: #d32929;
    line-height: 1;
}

.input-wrapper {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #b3b3b3;
    padding: 11px;
    width: 100%;
}

.input-wrapper.error {
    border-color: #d32929;
}

.input-field {
    width: 100%;
    border: none;
    outline: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: black;
    background: transparent;
}

.input-field::placeholder {
    color: #999;
}

/* Form Actions */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.signup-link {
    font-size: 16px;
    font-weight: 400;
    color: black;
    white-space: nowrap;
    cursor: pointer;
}

.signup-link:hover {
    text-decoration: underline;
}

.login-button {
    background-color: #1a69c6;
    color: white;
    border: 1px solid #b3b3b3;
    border-radius: 8px;

    width: 94px; 
    height: 44px;

    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;

    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #155aaa;
}

.login-button:active {
    background-color: #104d91;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        padding: 0 20px;
    }

    .form-box {
        left: 5%;
        right: 5%;
        top: 150px;
    }

    .form-content {
        padding: 24px 20px;
    }

    .form-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .login-button {
        width: 100%;
    }

    .signup-link {
        text-align: center;
    }
}
