@charset "utf-8";


.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    filter: drop-shadow(3px 3px 3px rgba(0, 44, 12, 0.2));
    background-color: #fff;
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    margin: 0;
}
.header-logo {
    width: 30%;
    margin: 0 0 0 50px;
}
.header-logo > a {
    display: block;
}
.header-logo > a img {
    max-width: 260px;
}
.header__list-wrap .list {
    margin: 0;
    display: flex;
    justify-content: space-between;
    font-size: 1rem;/* 16px */
    align-items: center;
}
.header__list-wrap li.list__item > a {
    display: block;
    position: relative;
    padding: 20px 20px 5px 20px;
    margin-bottom: 10px;
    color: #707070;
    text-decoration: none;
    transition: all .3s;
}
@media (hover: hover) {
    .header__list-wrap li.list__item > a:hover {
        color: #328451;
    }
}
@media (hover: none) {
    .header__list-wrap li.list__item > a:active {
        color: #328451;
    }
}

/* =====================
　お問い合わせバナー
===================== */
.heade__bnr {
    display: flex;
    height: 70px;
    margin: 0;
}
.heade__bnr a {
    display: block;
    height: 70px;
    padding: 20px 50px 20px 20px;
    background-color: #328451;
    transition: all .3s;
}
.heade__bnr img {
    width: auto;
    height: 100%;
}
@media (hover: hover) {
    .heade__bnr a:hover {
        background-color: #3CAB5C;
    }
}
@media (hover: none) {
    .heade__bnr a:active {
        background-color: #3CAB5C;
    }
}
/* =====================
　End お問い合わせバナー
===================== */


@media screen and (max-width: 1090px) {
    .header-logo {
        margin: 0 0 0 40px;
    }
    .header__list-wrap li.list__item > a {
        padding: 20px 15px 5px 15px;
    }
}
@media screen and (max-width: 1030px) {
    .header-logo {
        width: 230px;
        margin: 0;
    }
    .heade__bnr-pc--show{
        display: none;
    }
    .sp--header-logo {
        height: 70px;
        background-color: #fff;
    }
    .header__list-wrap .sp--show {
        display: block;
    }
    .header__list-wrap{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        /*ナビのスタート位置と形状*/
        top:0;
        right: -120%;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:#333;
        /*動き*/
        transition: all 0.6s;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*アクティブクラスがついたら位置を0に*/
    .header__list-wrap.panelactive{
        right: 0;
    }

    /*ナビゲーション*/
    .header__list-wrap .list {
        /*ナビゲーション天地中央揃え*/
        display: block;
        position: static;
        z-index: 999;
        padding: 2rem 1rem;
        background-color: #328451;
    }

    /*リストのレイアウト設定*/
    .header__list-wrap li {
        list-style: none;
        text-align: left;
        border-bottom: 1px dotted #fff;
    }
    .header__list-wrap li:first-child{
        border-top: 1px dotted #fff;
    }

    .header__list-wrap li:last-child > a {
    margin-left: 0;
    padding: 20px;
    border-radius: 0;
    filter: none;
    }
    .header__list-wrap li.list__item > a {
        transition: all .3s;
        padding: .7rem;
        margin-bottom: 0;
        color: #fff;
    }
    @media (hover: hover) {
        .header__list-wrap li.list__item > a:hover {
            color: #fff;
            background-color: #22cc6e;
        }
    }
    @media (hover: none) {
        .header__list-wrap li.list__item > a:active {
            color: #fff;
            background-color: #22cc6e;
        }
    }


    /* =====================
    　矢印設定
    ===================== */
    .header__list-wrap li.list__item--icon > a::after{
        content: '';
        border: 0;
        border-top: solid 1px #fff;
        border-right: solid 1px #fff;
        display: inline-block;
        width: .7rem;
        height: .7rem;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%) rotate(45deg);
    }
    /* =====================
    　End 矢印設定
    ===================== */

    /* =====================
    　×ボタン設定
    ===================== */
    .openbtn1{
        position:fixed;
        z-index: 9999;/*ボタンを最前面に*/
        right: -30px;
        cursor: pointer;
        width: 100px;
        height:50px;
    }
    /*×に変化*/
    .openbtn1 span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 2px;
        background-color: #328451;
        width: 30%;
    }
    .openbtn1 span:nth-of-type(1) {
        top:15px;
    }
    .openbtn1 span:nth-of-type(2) {
        top:23px;
    }
    .openbtn1 span:nth-of-type(3) {
        top:31px;
    }
    .openbtn1.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn1.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn1.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    /* =====================
    　End ボタン設定
    ===================== */
}

@media screen and (max-width: 768px) {
    .header-main {
        margin: 0 auto;
    }
    .header-logo {
        width: 50%;
        min-width: 200px;
        margin-left: 10px;
    }
}
