body {
    min-height:100vh;
    display:flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    scrollbar-width: none;
}

section {
    height: fit-content;
    width:400px;
    border: 1px solid #ccc;
    position: relative;
    z-index: 1;
}

/* Header CSS */
header {
    padding-right: 20px;
    padding-left: 20px;
    /* box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); */ /* 下の影を削除 */

    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    position: fixed;
    top: 0;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    z-index: 1050; 
}

.dropdown a{
    font-size: 14px;
}

.dropdown-toggle {
    min-width: 85px;
    width:30%;
    height: 35px;
}

.dropdown-menu {
    font-size:14px;
}

h1 {
    margin: 0px !important;
    font-size: 26px !important;;
}

h2 {
    margin-bottom: 10px!important;
    font-size: 22px !important;
}

/* Main CSS */
main {
    padding-right: 10%;
    padding-left: 10%;
    padding-top: 10%;
    padding-bottom: 10%;
    min-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    text-align: center;
}

.logo {
    font-family: Georgia, serif;
    font-size: 30px;
  }

main input {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.img{
  margin: auto;
  height:150px;
  width: 150px;
}    

#submit {
    width: calc(100% - 20px);
    padding: 10px;
    height: 50px;
    font-size: large;
    margin-bottom: 15px;
    border: 1px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #000000;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    display: block;
    margin-top: 15px;
}

a {
    color: #007bff;
    text-decoration: none;
}
  
a:hover {
    text-decoration: underline;
}

p {
  font-size: 14px;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* Footer CSS */
.footer {
    position: fixed;
    bottom: 0;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: space-around;
    height: 60px;
    flex-direction: row;
    align-items: center;
    /* box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.2); */ /* 上の影を削除 */

    color: #555;
    padding-right: 20px;
    padding-left: 20px;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.footer a {
    color: #555;
}

.nav-link {
    text-decoration: none;
    color: #000;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.nav-link img {
    display: block;
    margin: 0 auto;
    width: 30px;
    height: auto;
}

.nav-link span {
    display: block;
    font-size: 14px;
}