@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* 全体設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
    color: rgb(51, 51, 51);
}

html {
    font-size: 100%;
}

li {
    list-style: none;


}

a {
    text-decoration: none;
}

img {
    width: 100%;
}

body {
    background-color: #ffffff;
}

.wrapper {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 150px;
}

header .wrapper {
    margin-bottom: 0;
}

.section-title {
    display: inline-block;
    font-size: 2rem;
    color: #3a2212;
    /* margin-bottom: 30px; */
    /* border-bottom: 1px solid rgb(48, 31, 0); */
}

.sub_title {
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: #3a2212;
    text-align: center;
}


.content-title {
    font-size: 1.2rem;
    margin: 10px 10px;
    color: #3a2212;
}


/* ヘッダー設定 */

header {
    position: fixed;
    background-color: rgba(255, 255, 255, .5);
    top: 0;
    left: 0;
    right: 0;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

header h1 a {
    color: #fafafa;
    /* padding: 0 1rem; */
}

header h1 img {
    /* display: block; */
    width: 200px;
    /* margin-top: 10px; */
}

header nav ul {
    display: flex;
    padding: 10px 10px;
}

header li {
    margin-left: 30px;
}

header li a {
    color: rgb(117, 77, 1);
    font-weight: 700;
}

header li a:hover {
    opacity: 0.7;
}

/* メインビジュアル */
main {
    margin-top: 100px;
}

#mainvisual {
    margin-bottom: 90px;
}

#mainvisual img {
    display: block;
    width: 100%;
    height: 600px;
    /* はみ出た部分はトリミング */
    object-fit: cover;

}



/* ABOUT */

#about .content {
    display: flex;
    justify-content: center;
    align-items: center;

}

#about img {
    width: 250px;
    height: 250px;
    /* 丸く切り抜く */
    border-radius: 50%;
    /* 画像の右側に余白を置き、テキストとの距離を保つ */
    margin-right: 100px;
    object-fit: cover;
}

#about .text {
    text-align: left;
}

/* favorite */

#favorite ul {
    display: flex;
    justify-content: space-between;
}

#favorite li {
    width: 32%;

}

#favorite ul li p {
    text-align: justify;
}



/* WORKS */

/* #works ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

#works li {
    width: 49%;

} */

/* #works ul li p {
    text-align: justify;

} */

.slide-items {
    width: 100%;
    height: 100%;
}

.slide-items img {
    margin: auto;
    display: block;
    width: auto;
    height: 300px;
    object-fit: cover;
}

/* WEBSITE */
#website ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;

}

#website li {
    width: 49%;
    /* margin: 10px; */
}

#website ul li p {
    text-align: justify;
    /* margin: 10px; */
}



/* フッター */
footer {
    padding: 10px 0;
    text-align: center;
}


/*ハンバーガーメニュー*/

.site-header-navbtn {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    z-index: 1;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
    width: 30px;
    height: 1.5px;
    background-color: rgb(117, 77, 1);
    position: absolute;
    top: 50%;
    left: 5px;
    transition: transform .4s;
}

.site-header-navbtn::before,
.site-header-navbtn::after {
    content: '';
}

.site-header-navbtn::before {
    transform: translateY(-8px);
}

.site-header-navbtn::after {
    transform: translateY(8px);
}

body.is-nav-open .site-header-navbtn span {
    transform: scaleX(0);
}

body.is-nav-open .site-header-navbtn::before {
    transform: translateX(0) rotate(45deg);
}

body.is-nav-open .site-header-navbtn::after {
    transform: translateX(0) rotate(-45deg);
}

/* SP */
@media screen and (max-width: 767px) {
    .wrapper {
        margin-bottom: 100px;
    }

    header .wrapper,
    .wrapper p {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #mainvisual img {
        height: calc(100vh - 60px);
    }

    #about .content {
        flex-direction: column;
    }

    #about img {
        margin-right: 0;
        margin-bottom: 3rem;
    }

    #about .text {
        text-align: center;
    }

    #favorite ul {
        flex-direction: column;
    }

    #favorite li {
        width: 100%;
        margin-bottom: 2rem;
    }

    #works ul {
        flex-direction: column;

    }

    #works li {
        width: 100%;
        margin-bottom: 2rem;

    }

    #works p {
        margin-right: 15%;
        margin-left: 15%;
    }

    #website ul {
        flex-direction: column;

    }

    #website li {
        width: 100%;
        margin-bottom: 2rem;

    }

    #website p {
        margin-right: 15%;
        margin-left: 15%;
    }

    .site-header-navbtn {
        display: block;
    }

    .site-header-nav {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: rgb(255, 255, 255, .7);
        transform: translateX(-100%);
        transition: transform .6s;
    }

    body.is-nav-open .site-header-nav {
        transform: translateX(0);
    }

    .site-header-nav ul {
        display: flex;
        list-style: none;
    }

    .site-header-nav ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 1.5em;
    }

    .site-header-nav ul li a {
        text-decoration: none;
        font-size: 2.0rem;
        color: rgb(117, 77, 1);
        position: reletive;
    }

    .site-header-nav ul {
        height: 100%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}