@charset "utf-8";

/*====================
header
====================*/
.header {
    padding: 30px 8% 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-black);
    z-index: 100;
    /* transform: translateY(-110%); */
    position: fixed;
    top: 0;
    left: 0;
    transition: 0.4s;
    width: 100%;
}

.header.blur {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
}

.header__topic,
.nav__topic {
    color: var(--primary-white);
    font-family: "Cormorant Garamond";
    font-size: 2rem;
    line-height: 1;
}

/* nav初期表示 */
.nav {
    background-color: var(--primary-black);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    display: none;
}

.nav__header {
    padding: 30px 8% 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav__list {
    margin-top: 50px;
    text-align: center;
}

.nav__item {
    color: var(--primary-white);
    font-family: "Cormorant Garamond";
    font-size: 1.6rem;
    line-height: 1;
    margin-top: 30px;
    position: relative;
}

.nav__item a {
    position: relative;
    z-index: 2;
}

.nav__item::before {
    content: '';
    display: block;
    width: 75px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--primary-grayLow);
    filter: blur(10px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* nav active */

.nav.active {
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

@media screen and (min-width: 769px) {
    .header {
        margin: 0 auto;
        padding: 40px 6.9% 20px;
        justify-content: space-between;
        width: 100%;
    }

    .header__topic,
    .nav__topic {
        color: var(--primary-white);
        font-family: "Cormorant Garamond";
        font-size: 3.2rem;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translateX(0);
        opacity: 1;
        transition: none;
        display: block;
    }

    .nav__list {
        margin-top: 0;
        display: flex;
    }

    .nav__item {
        font-family: "Cormorant Garamond";
        line-height: 1;
        margin-top: 0;
        position: static;
        margin-left: 70px;
    }

    .nav__item::before {
        display: none;
    }

    .nav__header {
        display: none;
    }

    .header__btn {
        display: none;
    }
}

/*====================
main
====================*/
.article--main {
    padding: 94px 0 0 9.6%;
    background-color: var(--primary-black);
}

.article__header {
    display: flex;
    justify-content: space-between;
}

.article__header p {
    flex: 1;
}

.main__topic {
    color: var(--white, #F5F5F5);
    font-family: Inter;
    font-size: 1.4rem;
    line-height: 1;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.main__img {
    display: block;
    height: 150px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 82px;
}

.main__topic::after {
    content: '';
    display: block;
    width: 1px;
    height: 170px;
    background-color: var(--primary-white);
    margin: 16px 2px 0 0;
}

@media screen and (min-width: 769px){
    .article--main {
        padding: 223px 0 165px 8.9%;
        height: 100vh;
    }

    .main__topic {
        font-size: 2rem;
        margin-right: 50px;
    }

    .main__img {
        display: block;
        height: 503px;
        width: auto;
        object-fit: cover;
    }

    .main__topic::after {
        height: calc(100vh - 300px);
    }
}

/*====================
btn
====================*/
.section--btn {
    padding: 0 1.3% 20px;
    background-color: var(--primary-black);
}

.galleryBtn__list {
    display: flex;
    gap: 1.3%;
}

.galleryBtn__item {
    font-family: Inter;
    font-size: 1.2rem;
    line-height: 1;
    background-color: var(--primary-gray);
    width: 70px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ボタンのつけ外し */
.galleryBtn__item.active {
    background-color: var(--primary-gray);
    transition: 0.4s;
}

.galleryBtn__item:not(.active) {
    background-color: var(--primary-grayLow);
}
/* fin */

@media screen and (min-width: 769px) {
    .section--btn {
        padding: 0 100px 40px;
    }

    .galleryBtn__list {
        gap: 60px;
    }

    .galleryBtn__item {
        font-size: 2rem;
        width: 150px;
        height: 50px;
    }
}

/*====================
gallery
====================*/
.section--gallery {
    background-color: var(--primary-gray);
}

.gallery__topic {
    font-family: Inter;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--primary-black);
    border-bottom: 1px solid var(--primary-black);
    margin-bottom: 30px;
}

.gallery__img img {
    width: 40%;
    height: auto;
}

.gallery__img,
.gallery__imgHide {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery__section {
    padding-bottom: 40px;
    flex-direction: column;
}

.gallery__imgHide {
    display: none;
}

.gallery__imgPc {
    display: none;
}

@media screen and (min-width: 769px) {
    .gallery__topic {
        font-size: 3.2rem;
        padding: 40px 0 40px 6.9%;
        text-align: left;
    }

    /* .gallery__topic::before {
        width: 107%;
        margin-bottom: 40px;
        transform: translateX(-7%);
    }

    .gallery__topic::after {
        width: 107%;
        margin-top: 40px;
        transform: translateX(-7%);
    } */

    .gallery__imgPc {
        display: block;
    }

    .gallery__img,
    .gallery__imgHide {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .gallery__img img {
        width: 27.7%;
        height: auto;
    }

    .gallery__imgHide {
        display: none;
    }

}