@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}

html {
    font-size: 62.5%;
}

body {
    text-align: center;
}

#flex_content {
    height: 100px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    background-color: #ffffff;
    opacity: 0.8;
}

button {
    display: none;
}

.menu-list {
    display: flex;
}

.list {
    color: #2B2B2B;
    font-weight: bold;
    font-size: 14px;
    align-items: center;
    padding: 0 32px;
    gap: 30px;
}

.linkColor {
    color: #2B2B2B;
}

.nav_content {
    color: #2B2B2B;
}

.logo {
    width: 130px;
    max-width: calc(100% - 40px);
}

#mainVisual {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

#calendar {
    background-image: url(/port_02/aquarium/img/calender.png);
    background-repeat: no-repeat;
    width: 200px;
    height: 200px;
    position: fixed;
    max-width: 100%;
    top: auto;
    bottom: 30px;
    left: auto;
    right: 30px;
}

#news {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1020px;
    margin: auto;
    padding: 30px;
}

.box_content {
    margin: 0 auto;
    width: 200px;
    height: 40px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-right: 2px solid;
    border-top: 2px solid;
}

.more {
    color: #2B2B2B;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    height: 100%;
    padding-top: 9px;
}

#event01 {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1020px;
    margin: auto;
    padding: 30px;
}



img {
    width: 100%;
    aspect-ratio: 16/9;
}

.aspect {
    aspect-ratio: 5/4;
}

h2 {
    margin: 60px 0 20px 0;
    color: #0D786D;
    font-weight: bold;
    font-size: 24px
}

p {
    color: #B2B2B2;
    font-size: 12px;
    text-align: left;
}

h4 {
    color: #2B2B2B;
    text-align: left;
    font-size: 14px;
}

.text {
    text-align: center;
}

.access {
    width: 100%;
    display: grid;
    align-content: center;
    justify-content: center;
    margin: auto;
    padding-bottom: 50px;
    padding: 30px;
    max-width: 1020px;
}

iframe {
    width: 100%;
    max-width: 1020px;
}

.address {
    color: #2B2B2B;
    padding: 30px 0;
}

.address:nth-child(2) {
    padding: 30px 0;
}

.access_flex {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #B2B2B2;
}

.access_flex:nth-child(5) {
    border-bottom: 1px solid #B2B2B2;
}

.accessLogo {
    width: 100%;
    width: 40px;
    aspect-ratio: 1/1;
}

.accessText {
    color: #2B2B2B;
    font-size: 12px;
    padding-left: 20px;
}

footer {
    padding-top: 50px;
    padding-bottom: 70px;
    background-color: #2B2B2B;
    display: grid;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#footer_flex_content {
    height: 100px;
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
}

#flexBox {
    display: flex;
    color: #2B2B2B;
    align-items: center;
    padding: 0 32px;
    gap: 30px;
}

.footer_nav {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.footer_last {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_address {
    color: #fff;
}

.sns_logo {
    width: 35px;
    height: 35px;
}

.copy {
    padding-top: 50px;
    text-align: center;
    font-size: 9px;
}

@media screen and (max-width: 768px) {

    button {
        display: block;
    }

    .menu-list {
        display: block;
    }

    .btn-menu {
        position: fixed;
        right: 1rem;
        top: 3rem;
        z-index: 4;
        padding: .5rem 1rem;
        border: 1px solid var(--brown);
        border-radius: 50%;
        height: 4rem;
        width: 4rem;
        transition: .4s;
    }

    .btn-menu svg {
        fill: var(--brown);
        margin-top: .25rem;
        height: 2rem;
        width: 2rem;
    }

    /* 閉じるボタン */
    #menu-close {
        border: 1px solid var(--light-green);
    }

    #menu-close svg {
        fill: var(--light-green);
    }

    /* スライドメニューパネル */
    #menu-panel {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 4;
        padding: 8rem 2rem 2rem;
        width: max(32vw, 20rem);
        height: 100vh;
        background-color: #fff;
        box-shadow: 0 0 2rem var(--brown);
        font-family: var(--oswald-font);
        translate: 100vw;
    }

    .menu-list {
        list-style: none;
    }

    .menu-list li {
        margin: 1.5rem 0;
        opacity: 0;
    }

    .menu-list a {
        color: var(--light-green);
        text-decoration: none;
        font-size: 2rem;
    }

    #mainVisual img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    #calendar {
        position: absolute;
        left: 10px;
        background-size: 150px;
    }

    iframe {
        height: 300px;
    }

    .accessText {
        font-size: clamp(1.1rem, calc(0.9rem + 0.625vw), 1.6rem);
    }

    #flexBox {
        display: none;
    }

    .footer_last {
        display: grid;
    }

    .footer_last a {
        width: 35px;
        height: auto;
        margin: 10px auto;
    }


}