@charset "UTF-8";
/*===================
fade
=====================*/
.fade .animation-bg {
    background: #030303;
    content: "";
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    animation-name: PageAnime-fade;
    animation-duration: 0.5s;
    animation-delay: 0.6s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    pointer-events: none;
}

@keyframes PageAnime-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

/*===================
header
=====================*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header {
    padding: 31px 4.5%;
    background-color: #030303;
}

.header__logo,
.nav__logo {
    width: 78px;
    height: 42.443px;
}

.header__logo {
    top: 10px;
}

/* .nav初期表示 */
.nav {
    background: #030303;
    width: 100%;
    height: 100vh;
    padding: 10px 4.5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

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

.nav__btn {
    width: 30px;
    height: 30px;
}

.nav__list{
    margin-top: 71.65px;
}

.nav__item {
    margin-top: 52px;
    color: #FFF;
    text-align: center;
    font-family: Oswald;
    font-size: 2rem;
    font-weight: 700;
}

.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 25px;
    height: 17px;
    cursor: pointer;
    position: absolute;
    top: 23px;
    right: 5.2%;
}

/* header　pc */
@media screen and (min-width: 769px) {
    .header {
        padding: 0 1.9%;
        height: 85px;
        background-color: #030303;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .header__logo {
        width: 120px;
        margin-left: 0.9%;
        top: 10px;
    }
    
    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: none;
    }

    .nav__header {
        display: none;
    }
    
    .nav__btn {
        display: none;
    }
    
    .nav__list{
        margin-top: 0;
        display: flex;
        align-items: center;
    }
    
    .nav__item {
        margin-top: 0;
        font-size: 1.6rem;
        font-weight: 400;
        margin-left: 70px;
    }
    
    .header__btn {
        display: none;
    } 
}/* pc 769px */

/*===================
style
=====================*/
.photo {
    margin-top: 45px;
    display: grid;
    grid-template-columns: 37% 37%;
    gap: 20px;
    place-content: center;
}

.photo__item {
    opacity: 0;
    transition: all 2s;
}

.fadeIn {
    opacity: 1;
}

.online__btn {
    color: #FFF;
    font-family: Oswald;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    background-color: #030303;
    transition: 0.4s;
    padding: 12px 43px 12px 35px;
    position: relative;
    display: inline-block;
    margin-top: 50px;
}

.online__btn::after {
    position: absolute;
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icon_arrow.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
}

/* style　pc */
@media screen and (min-width: 769px) {
    .photo {
        margin-top: 86px;
        display: grid;
        grid-template-columns: 24% 24% 24%;
        gap: 50px;
        place-content: center;
    }

    .online__btn {
        color: #FFF;
        font-size: 1.8rem;
        padding: 16px 77px 16px 63px;
        margin-top: 100px;
    }
    
    .online__btn::after {
        width: 18px;
        height: 18px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 19px;
    }
}/* pc 769px */

.photo__item a:hover img {
    opacity: 0.5;
}

/*===================
modal
=====================*/
/* モーダル画像 */
.modal__item {
    /* display: none; */
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .5s;
}

.modal__item.open {
    /* display: block; */
    z-index: 1000;
    opacity: 1;
    width: 80%;
    text-align: center;
    max-width: 100%;
    visibility: visible;
}

/* 背景 */
.container::after {
    content: '';
    background-color: #FFF;
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.container.open::after {
    opacity: 1;
    visibility: visible;
}

/* 閉じるボタン */
.close {
    display: none;
    width: 30px;
    height: 30px;
    position: fixed;
    right: 3%;
    top: 3%;
    z-index: 1000;
}

.close.open {
    display: block;
}

.close img {
    width: 100%;
}

@media screen and (min-width: 769px) {
    /*===================
    modal
    =====================*/
    /* モーダル画像 */
    .modal__item {
        /* display: none; */
        opacity: 0;
        visibility: hidden;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: .5s;
    }

    .modal__item img {
        height: 100%;
    }

    .modal__item.open {
        /* display: block; */
        z-index: 1000;
        opacity: 1;
        width: 70%;
        text-align: center;
        max-width: 100%;
        visibility: visible;
        height: 80%;
    }

    /* 背景 */
    .container::after {
        content: '';
        background-color: #FFF;
        width: 100%;
        height: 100vh;
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
    }

    .container.open::after {
        opacity: 1;
        visibility: visible;
    }

    /* 閉じるボタン */
    .close {
        display: none;
        width: 46px;
        height: 46px;
        position: fixed;
        right: 3%;
        top: 3%;
        z-index: 1000;
    }

    .close.open {
        display: block;
    }

    .close img {
        width: 100%;
    }
}/* pc 769px */

/*================
scroll top
=================*/
.button {
    display: inline-block;
    padding: 10px 4.8px 13px;
    border-radius: 50%;
    border: 0.5px solid #030303;
    color: #030303;
    font-size: 0.8rem;
    transform: scale(2, 1);

    position: fixed;
    bottom: 7.3%;
    right: 3.5%;

    opacity: 0;
    visibility: hidden;
}

.active{
    opacity: 1;
    visibility: visible;
}

@media screen and (min-width: 769px) {
    .button {
        display: inline-block;
        padding: 13px 6.3px 17px;
        border-radius: 50%;
        border: 0.9px solid #030303;
        color: #030303;
        font-size: 0.9rem;
        transform: scale(2, 1);

        position: fixed;
        bottom: 9%;
        right: 1.8%;
    }
}/* pc 769px */
