@charset "UTF-8";
/*
Theme Name:BB Museum
Description:BB Museumテンプレート
Version:01
Author:T.kunisawa
*/
html {
    width: 100%;
    font-size: 62.5%;
}
body {
    color: #333;
    font-family: 'Oswald','Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    position: relative;
    height: 100vh;
    height: 100svh;
    background-color: #3E3E3E;
}
a {
    transition: 0.5s;
}
a:hover {
    opacity: 0.5;
    transition: 0.5s;
}

@media(max-width: 999px) {
    body {
        font-size: 1.4rem;
    }
}
/*--------------------------------
	opening
--------------------------------*/
#opening-bg,
#opening-title,
#opening-sign {
    opacity: 0;
    display: none;
}
#opening {
    position: fixed;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    z-index: 9999;
    background:#181818;
    text-align: center;
    overflow: hidden;
    display: grid;
    place-content: center;
}
#opening-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.title-area {
    position: relative;
}
#opening-title {
    width: 580px;
}
#opening-sign {
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
    padding-top: 32px;
}
/* #opening-sign {
    width: 270px;
    position: absolute;
    bottom: -81px;
    right: -95px;
} */
@media(max-width : 830px) {
    #opening-title {
        width: 72vw;
    }
    #opening-sign {
        font-size: 1.8rem;
        padding-top: 24px;
    }
}
@media(max-width : 560px) {
    #opening-title {
        width: 80vw;
    }
    #opening-sign {
        font-size: 1.6rem;
    }
}
/*--------------------------------
	header
--------------------------------*/
.header {
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: rgba(0, 0, 0, 0.5); */
}
.header__area {
    width: 100vw;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}
.header__logo {
    width: 280px;
}
.header__logo a:hover {
    opacity: 1;
}
.header__logo img {
    width: 100%;
}
.menu__btn, .close__btn {
    width: 56px;
    height: 56px;
    padding-top: 16px;
}
.menu__btn img, .close__btn img {
    width: 100%;
}
.menu__area {
    width: 100vw;
    height: 100vh;
    background: #3E3E3E;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(-200%);
    z-index: 1000;
    transition: transform 0.4s ease;
    color: #fff;
}
.menu__area.active {
    transform: translateY(0%);
}   
.menu__list {
    width: 400px;
    margin: 20px auto 0;
}
.menu__item a {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
}
.menu__item a img{
    display: block;
    width: 210px;
}
.menu__item p {
    font-size: 1.3rem;
    padding-top: 5px;
}
.about {
    width: 100%;
    margin-top: 72px;
    padding-top: 16px;
    border-top: 1px solid #A5A4A4;
}
.about_ttl {
    width: 126px;
}
.instagram {
    width: 24px;
    height: 24px;
    margin-top: 1em;
}
@media(max-width : 830px) {
    .header__area {
        padding: 16px 24px;
    }
    .menu__btn, .close__btn {
        padding-top: 8px;
    }
}
@media(max-width : 560px) {
    .header__area {
        padding: 8px 16px;
    }
    .header__logo {
        width: 180px;
    }
    .menu__btn, .close__btn {
        width: 40px;
        height: 40px;
    }
    .menu__list {
        width: fit-content;
        margin: 80px auto 0;
    }
    .menu__item a {
        gap: 20px;
        margin-bottom: 32px;
    }
    .menu__item a img{
        width: 160px;
    }
    .menu__item p {
        font-size: 1.3rem;
        padding-top: 5px;
    }
    .about {
        margin-top: 40px;
    }
    .about_ttl {
        width: 96px;
    }
}
/*--------------------------------
	main
--------------------------------*/
.FV {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.FV__imgbox {
    position: relative;
    width: 100%;
    height: 100%;
}

.imgbox__item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.8s ease, transform 6s ease;
}

.imgbox__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgbox__item.active {
    opacity: 1;
    transform: scale(1.1);
}

.shutter {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #3E3E3E;
    z-index: 10;
    transition: transform 0.6s ease;
}


.caption-box {
    position: fixed;
    bottom: 56px;
    right: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
}

.caption-text {
    color: white;
    font-size: 1.4rem;
    padding: 4px 12px 4px 6px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.caption-text.active {
    opacity: 1;
}

.shutter--left {
    left: 0;
    transform: translateX(0);
}

.shutter--right {
    right: 0;
    transform: translateX(0);
}

.shutter.open {
    transition: transform 1.2s ease; 
}

.shutter.open.shutter--left {
    transform: translateX(-100%);
}

.shutter.open.shutter--right {
    transform: translateX(100%);
}



.latest-news {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 12px 136px 12px 40px;
    color: #fff;
    background-color: #3E3E3E;
    z-index: 20;
    box-sizing: border-box;
}
.latest-news span {
    font-size: 1.4rem;
    /* font-family: "Noto Sans JP", sans-serif; */
}
.latest-news a {
    display: flex;
    gap: 1em;
    width: 100%;
}
/* .latest-news a time {
    font-family: "Noto Sans JP", sans-serif;
} */
@media(max-width : 830px) {
    .latest-news {
        padding: 12px 24px;
    }
}
@media (max-width: 560px) {
    .caption-box {
        display: none;
        /* width: 100%;
        bottom: 63px;
        right: 0; */
    }
    .caption-text {
        font-size: 1.2rem;
    }
    .latest-news {
        padding: 12px 16px;
        font-size: 1.3rem;
    }
    .latest-news a {
        display: block
    }
}
/*--------------------------------
	footer
--------------------------------*/
.footer {
    position: absolute;
    bottom: 50vh;
    transform: translateY(50%);
    right: 12px;
    -ms-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
    text-orientation: sideways;
}
small {
    font-family: "Oswald";
    font-size: 1.3rem;
    color: #A5A4A4;
}
@media (max-width: 560px) {
    small {
        font-size: 1.2rem;
    }
}
