* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    background-color: white;
    min-height: 100vh;
    margin: 0;
}

.register-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: white;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    height: 75px;
    background-image: linear-gradient(
    179.525deg,
    rgb(0, 0, 0) 13.226%,
    rgb(9, 60, 211) 83.165%
    );
}

.logo {
    position: absolute;
    left: 125px;
    top: 0;
    width: 71px;
    height: 75px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Container */
.main-container {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 75px);
    background-color: #f3f4f6;
    padding-top: 107px;
    display: flex;
    justify-content: center;
}

/* Form Container */
.form-container {
    position: relative;
    width: 1000px;
    background-color: white;
    border-radius: 30px;
    border: 2px solid #1a69c6;
    padding: 50px;
}

/* Heading */
.heading {
    text-align: center;
    margin-bottom: 48px;
}

.heading h1 {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: #0a0a0a;
    margin: 0;
}

/* Form Fields */
.form-field {
    margin-bottom: 32px;
}

.field-label {
    display: block;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #364153;
    margin-bottom: 8px;
}

.field-input {
    width: 100%;
    height: 48px;
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 0 16px;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-size: 16px;
    color: #0a0a0a;
    background-color: white;
    transition: border-color 0.2s;
}

.field-input:focus {
    outline: none;
    border-color: #1a69c6;
}

.field-input.error {
    border-color: #d32929;
}

/* Error Message */
.error-message {
    display: none;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    color: #d32929;
    margin-bottom: 16px;
    text-align: center;
}

.error-message.show {
    display: block;
}

/* Register Button */
.register-button {
    width: 100%;
    height: 48px;
    background-color: #155dfc;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 32px;
}

.register-button:hover {
    background-color: #0d4dd1;
}

.register-button:active {
    background-color: #0a3fb5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logo {
        left: 20px;
    }

    .form-container {
        width: 90%;
        max-width: 1000px;
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }

    .logo {
        left: 15px;
        width: 56px;
        height: 60px;
    }

    .main-container {
        padding-top: 30px;
    }

    .form-container {
        width: calc(100% - 30px);
        padding: 30px 20px;
        border-radius: 20px;
    }

    .heading {
        margin-bottom: 32px;
    }

    .heading h1 {
        font-size: 20px;
    }

    .form-field {
        margin-bottom: 24px;
    }

    .field-label {
        font-size: 14px;
    }

    .field-input {
        height: 44px;
        font-size: 14px;
    }

    .register-button {
        height: 44px;
        font-size: 14px;
        margin-top: 24px;
    }
}