@charset "UTF-8";

html {
    font-family: "Helvetica", "Kosugi Maru", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    color: #4d4d4d;
    vertical-align: baseline;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
    outline: none;
    transition: all .3s;
    box-sizing: border-box;
}

.header_logo {
    text-align: center;
    /* 親要素で中央揃え */
}


.header_logo img {
    display: inline-block;
    width: 200px;
    padding: 26px 10px;
}

/* ページTOP */
.scroll-to-top {
    position: fixed;
    bottom: 150px;
    right: 60px;
    cursor: pointer;
    width: 70px;
    z-index: 11;
    /* display: none;
    justify-content: center;
    align-items: center; */
}

/* .scroll-to-top img:hover {
    opacity: 0.7;
} */

/* ヘッダー */
header {
    height: 80px;
    background-color: #f5f5f5;
}

/* グローバルナビゲーション */
.navigation_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    background-color: #fff;
}

.navigation_list li {
    color: #4d4d4d;
    font-size: 0.95rem;
    letter-spacing: 0.15rem;
    margin: auto;
    text-align: center;
    position: relative;
    padding-bottom: 2.5px;
    background: #fff;
}

.navigation_list li:hover {
    color: #519768;
}

/* navの下線の設定 */
.nav_link::before,
.nav_link::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transition: all 0.3s ease-in-out;
}

.nav_link::after {
    width: 0;
    background: #519768;
}

.nav_link:hover::after {
    width: 100%;
}


/* フッター
------------------------------------------- */
footer {
    background-color: #f5f5f5;
}

.footer_content {
    width: 80%;
    margin: auto;
    font: inherit;
    padding: 30px 10px;
}

/* footer ロゴ設定 */
.footer_logo {
    width: 200px;
    padding: 25px;
}

/* footer nav設定 */
.footer_content_nav_list {
    display: flex;
    width: 100%;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    letter-spacing: 0.15rem;
    color: #4d4d4d;
    text-align: center;
    align-items: center;
}

.list_item {
    flex: 1 1 auto;
}

.list_item a:hover {
    color: #519768;
}


/* 著作権 */
.copyright {
    text-align: center;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.65rem;
    color: #4d4d4d;
    margin-top: 80px;
}

.nav-list {
    visibility: hidden;
    height: 0;
    margin: 0;
}

.text-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.text-visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ */
@media screen and (max-width: 1000px) {
    header {
        font-size: 0.5rem;
    }

    /* ハンバーガーメニューの追加のスタイル */
    #btn {
        display: block;
        position: fixed;
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        cursor: pointer;
        background-color: #333;
        color: #fff;
        padding: 5px;
        border-radius: 8%;
    }

    #btn span {
        display: block;
        background-color: #fff;
        width: 22px;
        height: 1.5px;
        transition: all 0.5s ease;
    }

    #btn.on span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg);
    }

    #btn.on span:nth-of-type(2) {
        transform: scale(0);
    }

    #btn.on span:nth-of-type(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .navigation_list {
        display: none;
    }

    .nav-list.active {
        visibility: visible;
        opacity: 0.9;
        transform: translateY(0);
        transition-delay: 0s;
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        width: 100%;
        position: fixed;
        padding: 8rem 2rem 2rem;
        height: 100vh;
        background-color: #0d0d0d;
        margin-top: 0;
    }

    .nav-list {
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.5s ease, visibility 0s linear 0.5s;
        transform: translateY(-20px);
    }

    .nav-list.active li {
        font-size: 1.3rem;
        letter-spacing: 0.18rem;
        color: #fff;
        text-align: center;
        padding: 20px 0;
    }

    /* footerレスポンシブ */
    .footer_content {
        width: 100%;
        padding: 30px 0;
    }

    .footer_logo {
        display: block;
        margin: auto;
        padding: 0;
        padding-bottom: 20px;
        width: 150px;
    }

    .scroll-to-top {
        display: none;
    }

    .footer_content_nav_list {
        width: 100%;
        flex-direction: column;
        display: inline;
    }

    .list_item {
        font-size: 0.9rem;
        letter-spacing: 0.18rem;
        padding: 5px;
        margin: 20px auto;
    }

    .list_item a img {
        width: 45px;
        height: 45px;
    }
}