*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    font-family: sans-serif;
    text-align: center;
}

main>*,
nav {
    contain: content;
}

#mymap,
iframe {
    height: 50vh;
    width: 100%;
    border: 0;
}

#mymap {
    position: relative;
    overflow: hidden;
}

#constant {
    position: absolute;
    top: 1%;
    right: 1.8%;
    z-index: 10;
}

aside {
    overflow: hidden;
    z-index: 10;
}

table {
    margin: auto;
    table-layout: auto;
    width: 100%;
    font-size: large;
}

caption {
    caption-side: bottom;
    width: 100%;
    font-size: medium;
}

.home {
    height: 100%;
}

.home a {
    display: inline-block;
    height: 80%;
    width: auto;
    aspect-ratio: 256/182;
    padding-left: 10px;
}

header {
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
}

h1 {
    font-size: 15vw;
}

address {
    padding: 5%;
    font-size: larger;
}

#addr {
    text-decoration: none;
}

footer>p {
    min-height: 2vh;
    font-size: small;
}

.s {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    height: 90vh;
}

img {
    width: auto;
    height: 100%;
}

h3,
h4 {
    padding: 1vw;
}

span {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    z-index: -1;
}

#main-menu {
    display: none;
    height: 10vh;
    width: 100%;
    margin: 0px;
    z-index: 9;
}

#main-menu ul {
    max-width: 800px;
    width: 100%;
    height: 100%;
    margin: 0px auto;
    padding: 0px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 9;
}

#main-menu li {
    list-style-type: none;
    font-size: xx-large;
}

#main-menu a {
    text-decoration: none;
    padding: 0;
    width: auto;
}

#main-menu a:hover {
    text-decoration: underline;
}

#hamburger-input {
    display: none;
}

#hamburger-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 20px;
    display: inline;
    border: none;
    padding: 0px;
    margin: 0px;
    z-index: 100;
}

#hamburger-menu #sidebar-menu {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: -250px;
    width: 40vh;
    height: 100%;
    transition: 0.3s;
    padding: 0px 10px;
    box-sizing: border-box;
    z-index: 9;
}

#hamburger-menu h3 {
    font-size: 2.2rem;
}

#hamburger-menu ul {
    padding-left: 0px;
}

#hamburger-menu li {
    list-style-type: none;
    line-height: 3rem;
}

#hamburger-menu a {
    font-size: 1.3rem;
    text-decoration: none;
}

#hamburger-menu a:hover {
    text-decoration: underline;
}

#hamburger-input:checked+#hamburger-menu #sidebar-menu {
    visibility: visible;
    left: 0;
}

#hamburger-input:checked~label+div {
    visibility: visible;
    opacity: 0.4;
}

@media screen and (min-width: 860px) {
    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 10px 20px;
        row-gap: 10px;
        column-gap: 20px;
        align-items: baseline;
        align-content: stretch;
        margin-bottom: 2vh;
    }

    #menu {
        width: 90vw;
        resize: both;
    }

    section {
        width: auto;
        margin: 2vw;
    }

    #mymap,
    iframe {
        min-width: 60vw;
    }

    #main-menu {
        display: block;
    }

    #hamburger-menu {
        display: none;
    }

    h2 {
        padding-left: 1vw;
    }
}