nav.spglobal {
    font-size: 16px !important;
    z-index: 9999 !important;
    background: #009e8f !important;
    padding-top: 45px !important;
    box-sizing: border-box !important;
}

nav.spglobal.open-menu {
    top: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    right: 0 !important;
    width: 100% !important;
}

.toplink {
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 16px !important;
    height: 45px !important;
    min-height: 45px !important;
    box-sizing: border-box !important;
}

.toplink img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

.spglobal a {
    font-size: 24px !important;
    line-height: 43px !important;
}

.spglobal details {
    font-size: 24px !important;
    line-height: 43px !important;
    height: 43px !important;
    padding: 2px 0 !important;
    max-height: 43px !important;
}

.spglobal details[open] {
    height: auto !important;
    max-height: 800px !important;
}

.spglobal summary {
    font-size: 24px !important;
    line-height: 43px !important;
    height: 43px !important;
    margin-top: 0 !important;
}

.spglobal input.autoComplete {
    font-size: 28.8px !important;
}

.toplink a {
    display: flex !important;
    flex: 1 1 43px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    min-width: 40px !important;
    max-width: 45px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.toplink .btn-menu {
    flex: 1 1 43px !important;
    width: 45px !important;
    height: 45px !important;
    min-width: 40px !important;
    max-width: 45px !important;
    font-size: 16px !important;
    padding: 0 !important;
    line-height: 45px !important;
    text-align: center !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

@media screen and (max-width: 740px) {
    body:not(.home-page) header#top {
        margin-top: 45px !important;
    }

    body.home-page header#top .hero-image-container {
        padding-top: 45px !important;
    }
}

.spglobal ul,
.spglobal li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.movie-wrap > .youtube-facade {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #111;
    cursor: pointer;
    overflow: hidden;
}

.youtube-facade picture {
    position: absolute;
    inset: 0;
}

.youtube-facade picture img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.youtube-facade picture img.youtube-facade__thumbnail--fallback {
    object-fit: contain;
}

.youtube-facade > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 48px;
    text-shadow: 0 1px 5px #000;
}

@media screen and (max-width: 740px) {
    body#pageTop > header#top {
        background-image: url("../img/mobile/header.png") !important;
        background-image: image-set(
            url("../img/mobile/header.avif") type("image/avif"),
            url("../img/mobile/header.webp") type("image/webp"),
            url("../img/mobile/header.png") type("image/png")
        ) !important;
    }
}

footer#globalFoot {
    position: relative;

    div.mobileMenu {
        display: flex;
        width: 100%;
        justify-content: space-around;
        position: absolute;
        top: 0;
        aspect-ratio: 500 / 155;

        a {
            text-decoration: none;
            width: 100%;
            color: aliceblue;
            opacity: 0;
        }
    }
}

@media screen and (min-width: 700px) {
    body {
        footer#globalFoot {
            order: 6;

            nav > ol {
                width: 100%;
                height: 42px;
                margin: 0;
                padding: 0;
                background: none;
                display: flex;
                border-bottom: 3px solid green;
                justify-content: space-evenly;

                li {
                    border: 3px solid green;
                    border-bottom-width: 3px;
                    border-bottom-style: solid;
                    border-bottom-color: green;
                    border-radius: 10px 10px 0 0;
                    text-align: center;
                    font-size: 1.4em;
                    margin-top: 0px;
                    margin-right: 0.3em;
                    margin-bottom: 0px;
                    margin-left: 0.3em;
                    text-indent: inherit;
                    width: max-content;
                    padding: 0 5px;
                    border-bottom: none;

                    a {
                        display: block;
                        height: 100%;
                        font-size: 15px;
                        line-height: 39px;
                        font-weight: bold;
                        color: green;
                        padding: 0 10px;
                        text-decoration: none;
                    }
                }
            }

            section.footmap {
                display: flex;
                justify-content: space-around;
                width: calc(100% - 30px);
                padding: 15px;
                background-color: rgb(255 255 230 / 100%);

                ol > li {
                    font-size: 1.2em;

                    ul {
                        padding-top: 0.5em;
                    }
                }
            }

            p {
                height: 68px;
                line-height: 68px;
                text-align: center;
                width: 100%;
                margin: 0;
                color: #fff;
                font-size: 20px;
                line-height: 35px;
                font-weight: 700;
                background-color: green;
            }
        }
    }
}

@media screen and (min-width: 701px) {
    .photo362 {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
        margin-bottom: 20px;
    }

    .photo362 > * {
        flex: 0 0 calc((100% - (12px * 2)) / 3);
        max-width: calc((100% - (12px * 2)) / 3);
        box-sizing: border-box;
    }

    .photo362 > *:nth-child(-n+2) {
        flex: 0 0 calc((100% - 12px) / 2);
        max-width: calc((100% - 12px) / 2);
    }
}

@media screen and (max-width: 700px) {
    div.photo362 > div.photo360 {
        padding-right: 30px;
        width: unset;
        max-width: unset;
    }

    div.photo362 > div.photo360 iframe {
        width: 464px !important;
        height: 232px;
    }
}
