@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    font-family: "BIZ UDGothic", sans-serif;
    width: 100%;
}

img {
    max-width: 100%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.contain {
    background-color: #f9fdee;
}

.container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 1000px;
}

/*---------------------------
ヘッダー
-----------------------------*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background-color: #baeb75;
}

.header__logo {
    width: 200px;
    line-height: 0;
    margin: 10px 0;
}

/*---------------------------
ナビゲーション
-----------------------------*/
.header__nav__menu {
    display: flex;
    margin-right: 50px;
}

.header__nav__menu__list {
    padding-right: 40px;
}

.header__nav__menu__list:last-child {
    padding-right: 0;
}

.header__nav__menu__list__item {
    line-height: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    vertical-align: bottom;
}

.header__nav__menu__list__item::after {
    background-color: #98a478;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
    width: 100%;
    top: 100%;
    margin-top: 4px;
}

.header__nav__menu__list__item__image {
    transition: all 0.2s;
}

.header__nav__menu__list__item__image:hover {
    transform: scale(1.3, 1.3);
}

.header__nav__menu__list__item:hover::after {
    transform: scale(1.3, 1.3);
}

.fa-x-twitter {
    color: #000;
    transition: all 0.2s;
    padding-bottom: 3px;
}

.fa-x-twitter:hover {
    transform: scale(1.3, 1.3);
}

/*---------------------------
フッター
-----------------------------*/
.footer {
    background-color: #baeb75;
    text-align: center;
}

.footer__copy {
    padding: 30px 0;
}

.footer__image {
    display: flex;
    justify-content: center;
}

/*---------------------------
タブレット
-----------------------------*/
@media screen and (max-width: 768px) {
    .container {
        padding-bottom: 800px;
    }

    /*---------------------------
    ヘッダー
    -----------------------------*/
    .header {
        max-width: 100%;
    }

    .header__logo {
        margin: 10px auto;
    }

    .header__logo__a__img {
        margin-left: 20px;
    }

    /*---------------------------
    ハンバーガーメニュー
    -----------------------------*/
    .header__hamburger {
        width: 50px;
        height: 50px;
        background-color: #98a478;
        border-radius: 10px;
        position: relative;
        top: -30px;
        right: 50px;
        z-index: 50;
    }

    .header__hamburger__item {
        width: 30px;
        height: 2px;
        background-color: #fff;
        border-radius: 1px;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.4s;
    }

    .header__hamburger__item:nth-of-type(1) {
        top: 16px;
    }

    .header__hamburger__item:nth-of-type(2) {
        top: 25px;
    }

    .header__hamburger__item:nth-of-type(3) {
        top: 34px;
    }

    .header__hamburger__item--active:nth-of-type(1) {
        top: 24px;
        transform: rotate(-45deg);
    }

    .header__hamburger__item--active:nth-of-type(2) {
        opacity: 0;
    }

    .header__hamburger__item--active:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }

    .header__nav {
        width: 80%;
        height: 200vh;
        background-color: #fff;
        position: fixed;
        top: 0;
        right: -80%;
        z-index: 40;
        transition: all 0.6s;
    }

    .header__nav--active {
        right: 0;
    }

    .header__nav__menu {
        width: 80%;
        height: 100vh;
        margin-top: 30px;
        padding: 80px 0;
        overflow: auto;
        flex-direction: column;
        text-align: center;
    }

    .header__nav__menu__list {
        margin-bottom: 20px;
    }

    .header__nav__menu__list:last-child {
        padding-right: 40px;
    }

}

/*---------------------------
SP
-----------------------------*/
@media screen and (max-width: 480px) {
    .container {
        width: 360px;
    }
}
