body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
    overflow-x: hidden; /* スクロールを防ぐ */
}
header {
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: 35px; /* ヘッダーの高さを指定 */
}
.logo img {
    width: 150px;
    margin-top: 6px;
    margin-left: -20px;
}
.content {
    margin-top: 40px;
}
.login-form {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
}
input {
    width: 400px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 10px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    transition: border 0.3s;
}
input:focus {
    border: 1px solid #a8d5e2;
    outline: none;
}
.form-label {
    margin-top: 20px;
    text-align: left;
}
.s-title {
    font-size: 30px;
    font-weight: bold;
    margin-left: -20px;
}
.login-form form {
    margin-top: 50px;
    margin-left: 15px;
}
input[type="submit"] {
    width: 400px;
    margin-top: 10px;
    background-color: #04bc00;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 17px;
}
input[type="submit"]:hover {
    background-color: #07c804;
}
.form-labelp {
    margin-top: -10px;
    text-align: left;
}
.links {
    margin-top: 20px;
}
.links a{
    text-decoration: none;
    color: rgb(0, 145, 255);
    transition: all 0.25s;
}
.links a:hover {
    color: #dcdcdc;
}

.input-container {
    position: relative;
    width: 400px;
}

button[type="button"] {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-30%);
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

button[type="button"]:hover {
    color: #555;
}
.htu {
    text-align: left;
    margin-top: 3px;
    font-size: 14px;
}
@media (max-width: 500px){
    input {
        width: 300px;
    }
    input[type="submit"] {
        width: 300px;
    }
    .login-form {
        margin-left: -5px;
    }
    .form-label {
        margin-left: 15px;
    }
    .s-title {
        margin-left: -20px;
    }
    input {
        margin-left: -20px;
    }
    .form-label {
        margin-left: 1px;
    }
}