@charset "utf-8";

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.6rem;
    color: #28170b;
    background-color: #fff;
}
a {
    color: #28170b;
}
h1, h2, h3 {
    font-family: 'M PLUS 1p', sans-serif;
}
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
section {
    min-height: 100vh;
}
.section-title {
    font-size: 3.0rem;
    text-transform: capitalize;
} 
/*header*/
.logo img {
    width: 100px;
}
.menu-btn img {
    width: 90px;
    cursor: pointer;
}
header {
    padding: 2%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;  
}
.header-contents {
    display: flex;
    justify-content: space-between;
}
.main-nav-responsive {
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    z-index: 20;
    height: 100vh;
    display: none;
}
.main-nav-responsive ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.main-nav-responsive li {
    list-style-type: none;
}
.main-nav-responsive li:not(:last-child) {
    margin-bottom: 50px;
}
.main-nav-responsive a {
    text-decoration: none;
    text-transform: capitalize;
    display: inline-block;
    font-size: 2.0rem;
}
.close-btn {
    font-size: 2.0rem;
    text-transform: capitalize;
    cursor: pointer;
}
/*main-visual*/
.main-visual-area {
    background-image: url(../images/MainVisual.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}
/*about*/
#about {
    display: flex;
    justify-content: center;
    align-items: center;
}
#about div {
    text-align: center;
}
#about p {
    line-height: 2.0;
    margin-top: 20px;
}
/*gallery*/
#gallery {
    padding: 5%;
    text-align: center;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    grid-gap: 50px;
    justify-content: center;
    margin-top: 50px;
}
.grid-item {
    width: 250px;
    height: 150px;
    cursor: pointer;
    overflow: hidden;
}
.grid-item:hover img {
    transform: scale(1.5);
    filter: grayscale(0);
}
.grid-item img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    object-fit: cover;
    transition: all 1s;
}
/*web*/
#web {
    padding: 5%;
    text-align: center;
}
.grid-web-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 500px);
    grid-gap: 100px;
    justify-content: center;
    margin-top: 50px;
}
.item-inner {
    width: 500px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 20px;
}
.item-inner:hover img {
    transform: scale(1.5);
    filter: grayscale(0);
}
.item-inner img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    object-fit: cover;
    transition: all 1s;
}
.item-title {
    font-size: 2.0rem;   
    font-weight: normal;
}
.web-item p {
    margin: 10px;
}
.site-btn {
    text-decoration: none;
    border-bottom: 2px solid #28170b;
    padding-bottom: 5px;
}
/*img-page*/
.img-page {
    background-color: #fff;
    width: 100vw;
    min-height: 100vh;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 20;
    position: fixed;
    overflow-y: auto;
    overflow-y: scroll;
    display: none;
}
.img-page-contents {
    height: 100%;
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-page-wrapper {
    margin: 0 auto;
    width: 50%;
}
.img-page-wrapper img {
    width: 100%;
    margin-bottom: 10px;
}
.img-close-btn {
    text-align: center;
    padding-bottom: 5px;
    cursor: pointer;
}
/*footer*/
footer {
    color: #fff;
    background-color: #28170b;
    text-align: center;
    padding: 5%;
}

@media(max-width:760px) {
    header {
        padding: 5%;
    }
    #about {
        padding-left: 2%;
        padding-right: 2%;
    }
    .grid-web-container {
        grid-template-columns: repeat(auto-fit, 300px);
    }
    .item-inner {
        width: 300px;
    }
    footer {
        margin-top: 50px;
    }
    .img-page-wrapper {
        margin: 0 auto;
        width: 90%;
    }
}