* {
    padding: 0;
    margin: 0;
    font-weight: 400;
    font-size: 18px; 
    font-family: "Rajdhani", 'Kiwi Maru', serif;;
    color: rgb(104, 87, 87);
}

.flex {
    display: flex;
}

ul {
    list-style: none;
}

#gnav li {
    padding: 15px 35px;
}

a {
    color: rgb(133, 133, 133);
    font-size: 16px; 
    text-decoration: none;
    display: block;
}

a:hover {
    color: #ffadfb;
}

header #gnav {
    position: -webkit-sticky;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, .4);
}

header a.header {
    font-size: 50px;
    line-height: 110%;
    margin: -50px 10px;
    position: fixed;
    z-index: 100;
}

header p {
    font-size: 15px;
    color: rgb(104, 87, 87);
}

h1 {
    font-size: 40px;
    margin: -4px 20px;
    color: #858585;
}

h2 {
    font-size: 50px;
    text-align: center;
}

#pagetop img {
    max-width: 35%;
}

.gallery {
    margin-top: 50px;
}

.gallery__list {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.gallery__item {
    width: calc(95% / 2);
}
.gallery__item:not(:nth-child(-n+2)) {
    margin-top: 20px;
}
.gallery__item img {
    width: 100%;
    height: auto;
}
.gallery__item a {
    transition: .5s;
}
.gallery__item a:hover {
    filter: opacity(0.7);
}
.gallery__item a:hover img {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* footer */
footer {
    background:#fff;
    text-align: center;
    border-top: 3px solid #ffadfb;
}

footer nav .flex{
    justify-content: center;
    margin: 30px;
}

footer nav li {
    margin: 0 25px;
    font-size: 16px;
}

footer nav li a {
    text-decoration: none;
    transition: all .2s ease;
    font-size: 18px;
}

footer nav li a:hover {
    color: #ffadfb;
}

#pagetop {
    width: 80px;
    position: fixed;
    bottom: 30px;
    right: 30px;
}

.sp {display: none; }

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

    h2 {
        font-size: 35px;
    }

    header a.header {
        font-size: 40px;
    }

}

@media(max-width: 1100px) {
    .inner {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media(max-width: 640px) {
    .sp {display: block;}

    form {
        width: 100%;
    }

    header #nav_btn {
        position: fixed;
        top: 0;
        right: 0;
        margin-top: 0;
        padding: 10px 20px;
        z-index: 9999;
        background: rgba(0, 0, 0, .5);
    }

    header #nav_btn img {
        width: 35px;
    }

    header .menu_btn0 {display: block;}
    header .menu_btn1 {display: none;}
    header.nav_open .menu_btn0 {display: none;}
    header.nav_opne .menu_btn1 {display: block;}

    header #gnav {
        float: none;
        position: fixed;
        width: 100%;
        padding: 20px 0;
        background: rgba(255, 255, 255, .6);
        z-index: 9998;
        display: none;
    }

    header nav ul.flex {
        display: block;
    }

    header nav a {
        padding: 20px;
        margin: 0;
        text-align: center;
    }

    footer nav {
        display: none;
    }

    .title {
        width: auto;
        margin: 0 auto;
        left: auto;
    }

    .title p {
        font-size: 20px;
    }

    #pagetop {
        bottom: 20px;
        right: 20px;
    }
    
}