h1 {
    margin: 0;
    padding-bottom: 15px;
    text-align: center;
    font-size: 28px; /* モバイルデバイス用のフォントサイズ */
}

.login-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 20px;
}

input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #4cae4c;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

/* ヘッダーのスタイリング */
header {
    background: rgb(1, 28, 58);
    color: white;
    padding-top: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* 他の要素より前面に表示 */
}

.header-title{
    color: white;
    display: flex;
    float:left;
    margin: 23px 10px;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 50px;
    width: auto;
    display: flex;
    float: right;
    margin: 10px 10px;
}



/* ナビゲーションメニューのスタイリング */
nav ul {
    margin-top: 70px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row; /* 縦並びcolumnに変更 */
    align-items: center;
    justify-content: center;
}

nav ul li {
    padding: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: whitesmoke;
    color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* フッターのスタイリング */
footer {
    background: rgb(76, 76, 76);
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* メディアクエリ */
@media (max-width: 806px) {
    header{
        height: 70px;
    }

    .header-top {
        text-align:center;
    }

    .header-logo{
        margin-right: 75px;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 2000;
    }

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background-color: white;
        transition: all 0.3s ease;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.9);
        transition: width 0.3s ease;
        z-index: 1500;
    }
    

    .nav-container nav {
        opacity: 0;
        transition: opacity 0.3s ease 0.3s;
    }

    .hamburger-menu.active + .nav-container {
        width: 70%;
    }

    .hamburger-menu.active + .nav-container nav {
        opacity: 1;
    }

    nav ul {
        flex-direction: column;
        padding-top: 60px;
    }

    nav ul li {
        margin: 10px 0;
    }

    main{
        padding-top: 70px;
    }

}