@charset "cft-8";

body {
    font-size: 16px;
    font-family: "Noto Sans JP",
        "ヒラギノ角ゴシック",
        "メイリオ",
        "游ゴシック";
    color: #3C3C3C;
    background-color: #FAFAFA;
    margin: 0;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}


/* 共通クラス */
.wrapper {
    width: 90%;
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

.wrap {
    width: 85%;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}



/* ヘッダー */

.header {
    position: absolute;
    top: 5%;
    width: 100%;
    z-index: 1;
}

.header_list {
    display: flex;
    justify-content: flex-end;
}

.header_item {
    color: #FFFFFF;
    font-size: 1.3em;
    margin-right: 50px;
    transition: opacity 0.4s;
}

.header_item:hover {
    opacity: 0.6;
}

.header_item:nth-child(4) {
    margin-right: 0;
}


/* フッター */
.footer_container {
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    background-image: url(../img/footer_img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.footer_copylight {
    font-size: 14px;
    text-transform: capitalize;
}

/* レスポンシブ */
@media (max-width:768px) {
    body {
        font-size: 14px;
    }

    /* 横並びのパーツ */
    .header_list {
        flex-direction: column;
    }

    /* ヘッダー */
    .header {
        top: 60px;
    }

    /* ハンバーガメニュー */
    .hamburger {
        display: block;
        position: fixed;
        z-index: 3;
        right: 23px;
        top: 60px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #3C3C3C;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }

    .hamburger span:nth-child(2) {
        top: 20px;
    }

    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* ナビ開いてる時のボタン */
    .hamburger.active span:nth-child(1) {
        top: 16px;
        left: 6px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 16px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }

    .header_list {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        color: #3C3C3C;
        background: #FAFAFA;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        transform: translateX(100%);
        transition: all 0.6s;
        justify-content: center;
    }



    .header_list li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        transition: 0.4s;
    }

    .header_list li:hover {
        transform: scale(1.1);
    }

    .header_list li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .header_list li a {
        display: block;
        color: #3C3C3C;
        padding: 1em 0;
        text-decoration: none;
    }

    .header_list.active {
        transform: translateX(0%);
    }




    /* フッター */
    .footer_container {
        margin-top: 60px;
        width: 100%;
        height: 70px;
    }

}