@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    background-color: rgb(220, 218, 204);
    display: none;
    font-family: "Lato", "Open Sans", "Noto Serif", sans-serif;
}

img {
    max-width: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

a:hover {
    opacity: 0.6;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.header-list .current {
    opacity: 0.5;
}

/* ページトップボタン */
.page-top a span {
    display: block;
    width: 100%;
    height: 50px;
    background-color: #4f4c45;
    position: relative;
}

.page-top a span::before {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    border-top: 4px solid #cecece;
    border-right: 4px solid #cecece;
    transform: rotate(-45deg);
    bottom: 5px;
    right: 50%;
}

/*ーーーーーーーーーーーーーーーーー
ヘッダー 
ーーーーーーーーーーーーーーーーー*/
header {
    max-width: 1200px;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

header .header-logo {
    font-size: 1.2rem;
}

header .header-list {
    display: flex;
}

header .header-list li {
    margin: 0 15px;
    font-size: 0.9rem;
}

/*ーーーーーーーーーーーーーーーーー 
メインビジュアル 
ーーーーーーーーーーーーーーーーー*/
.mainvisual {
    width: 100%;
    height: 80vh;
}

.mainvisual .flex-item {
    height: 80vh;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.mainvisual .flex-item .text {
    width: 40%;
}

.mainvisual .flex-item .img {
    width: 40%;
}

.mainvisual .flex-item .img img {
    border-radius: 50%;
    width: 300px;
    height: 300px;
}

/*ーーーーーーーーーーーーーーーー
works
ーーーーーーーーーーーーーーーー*/
.grid-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.item img {
    border: 1px solid #bdbdbd;
}

.grid-item .item h3 {
    font-size: 0.9rem;
}

.grid-item .item p {
    font-size: 0.9rem;
}

/*ーーーーーーーーーーーーーーーー 
フッター 
ーーーーーーーーーーーーーーーー*/
footer {
    text-align: center;
    background-color: #222222;
    color: #ccc;
    padding: 30px 0;
}

/* スマートフォン */
@media (max-width:760px) {
    header {
        margin-bottom: 50px;
    }
    header .header-logo {
        font-size: 1rem;
    }

    header .header-list li {
        margin: 0 5px;
        font-size: 0.8rem;
    }

    .mainvisual .flex-item {
        flex-direction: column;
        height: 50vh;
    }

    .mainvisual {
        height: 50vh;
    }

    .mainvisual .flex-item .text {
        width: 100%;
        margin-bottom: 50px;
    }

    .mainvisual .flex-item .img {
        width: 100%;
        margin-bottom: 50px;
    }

    .mainvisual .flex-item .img img {
        width: 200px;
        height: 200px;
    }

    .grid-item {
        grid-template-columns: 1fr;
    }

}