@charset "UFT-8";

/* ========================
common
======================== */
:root {
    --primary-white: #EEF2FB;
    --primary-black: #101113;
    --primary-pitchBlack: #000;
    --primary-gray: #3E424B;
    --primary-lightGray: #737D96;
    --contentPadding__pc: 3.9%;
    --contentPadding__sp: 6.6%;
}


/* ========================
gallery
======================== */
/* ヘッダー */
.section__header {
    padding: 282px var(--contentPadding__pc) 216px;
}

.section__header .section__subtitle {
    margin-top: 12px;
}

@media screen and (max-width: 768px) {
    .section__header {
        padding: 183px var(--contentPadding__sp) 100px ;
    }

    .section__header .section__title {
        font-size: 3.6rem;
    }

     .section__header .section__subtitle {
        margin-top: 6px;
    }

}
/* sp 768px */


/* フィルター機能 */
.filterBtn__container {
    display: flex;
    justify-content: space-between;
    padding: 50px var(--contentPadding__pc) 100px;
    gap: 20px;
}

.filterBtn {
    font-size: 1.2rem;
    color: var(--primary-white, #EEF2FB);
    background: transparent;
    border: 1px solid var(--primary-white, #EEF2FB);
    width: max(20vw,300px);
    height: 36px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
    letter-spacing: 0.1rem;
}

.filterBtn:hover {
    color: var(--primary-black, #101113);
    background-color: var(--primary-white, #EEF2FB);
}

.filterBtn.active {
    color: var(--primary-black, #101113);
    background: var(--primary-white, #EEF2FB);
}

@media screen and (max-width: 768px) {
    .filterBtn__container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 var(--contentPadding__sp) 50px;
    }

    /* ALLボタンのみ全幅 */
    .filterBtn[data-filter="all"] {
        grid-column: 1 / -1;
    }

    /* FAN ARTボタンは左列のみ */
    .filterBtn[data-filter="fanart"] {
        grid-column: 1 / 2;
    }

    .filterBtn {
        font-size: 1.2rem;
        padding: 10px 20px;
        width: 100%;
    }
}
/* sp 768px */


/* ギャラリー PC：３列*/
.gallery__container {
    padding: 0 var(--contentPadding__pc) 150px;
}

.gallery__item {
    width: calc((100% - 3.9% - 3.9% - 80px) / 3);
    margin-bottom: 40px;
    
}

.gallery__item.hidden {
    display: none;
}

/* タブレット：２列 */
@media screen and (max-width: 1024px) and (min-width: 600px) {
    .gallery__container {
        padding: 0 var(--contentPadding__sp) 100px;
    }

    .gallery__item {
        width: calc((100% - 6.6% - 6.6% - 40px) / 2);
        margin-bottom: 40px;
    }
}

/* スマホ：１列 */
@media screen and (max-width: 599px) {
    .gallery__container {
        padding: 0 var(--contentPadding__sp) 100px;
    }

    .gallery__item {
        width: calc((100% - 6.6% - 6.6%) / 1);
        margin-bottom: 30px;
    }
}


/* ========================
コンタクトボタン
======================== */
.contactBtn {
    padding: 100px var(--contentPadding__pc) ;
    background-color: transparent;
}

.contactBtn__container {
    padding: 55px;
    background-color: rgba( 62, 66, 75, 0.7);
    text-align: center;
}

.title__contact {
    font-size: 4.8rem;
    position: relative;
    letter-spacing: 0.2rem;
}

.subtitle__contact {
    margin: 10px 0 0;
}

.contactBtn__wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* main sp */
@media screen and (max-width: 768px) {

    /* コンタクト */
    .contactBtn {
        padding: 50px var(--contentPadding__sp);
    }

    .contactBtn__container {
        padding: 35px;
    }

    .title__contact {
        font-size: 2.6rem;
    }

    .contactBtn__wrapper {
    margin-top: 30px;
    }
}
/* sp 768px */