
.sp-show {
    display: none;
}
.header__nav_sp {
    display: none;
}


/*============
nav
=============*/

nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
}

.open nav {
    left: 0;
    opacity: 1;
}

nav .inner {
    padding: 25px;
    margin-top: 45px;
}

nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #333;
}

nav .inner ul li:first-child {
    border-top: 1px solid #333;
}

nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
}

nav .inner ul li a:hover {
    background: var(--color-green2);
}

@media screen and (max-width: 767px) {
    nav {
        left: -100vh;
        width: 100%;
    }
}


/*============

  .toggle_btn

  =============*/

.toggle_btn {
    display: block;
    position: fixed;
    top: 17px;
    right: 30px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 3;
}

.toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all .5s;
}

.toggle_btn span:nth-child(1) {
    top: 4px;
}

.toggle_btn span:nth-child(2) {
    top: 14px;
}

.toggle_btn span:nth-child(3) {
    bottom: 4px;
}

.open .toggle_btn span {
    background-color: #000;
}

.open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
    opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
}


/*============
  #mask
  =============*/

#mask {
    display: none;
    transition: all .5s;
}

.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
}



/*============
PC headerf
  =============*/
#header {
    box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
    position: fixed;
    top: 0;
    background-color: #FFF;
    width: 100%;
    z-index: 999;
    height: 80px;
}

.header__wrap {
    max-width: 1860px;
    width: 100%;
    margin: 0 auto;
    height: 120px;
}

.header__logo {
    min-width: 223px;
    margin-right: 35px;
   /* -webkit-flex-basis: 405px;*/
    /*flex-basis: inherit;*/
}

.headerLeft .header__logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 30px;
}

.header__nav.header__nav_pc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.headerLeft {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.headerRight {
    width: calc(100% - 995px);
    height: 100%;
}

.header__nav__list {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    text-decoration: none;
    list-style: none;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 600;
    width: 70%;
    max-width: 1300px;
    flex:1;
}

.headerLeft .header__nav__list {
    align-items: center;
}

.headerRight.header__nav__list {
    align-items: flex-start;
}

.headerRight.header__nav__list .header__nav__list__item a {
    margin-top: 27px;
    display: flex;
    align-items: center;
    display: block;
    height: 100%;
    background-color: var(--color-main);
    text-align: center;
    font-weight: normal;
}

.header_world {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    margin-bottom: 3px;
}

.header__nav__list__item {
    /*margin-right: 40px;*/
    /* position: relative; */
    height: 100%;
    width: 25%;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--color-green3);
}

.header__nav__list__item a{
    color: #fff;
    background-color: var(--color-main);
    width: 100%;
    height: 100%;
    text-align: center;
    display: inline-flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
}

.header__nav__list__item a:hoveR{
    background-color: var(--color-green1);
}

.headerUnderline {
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    padding: 15px;
}

.headerUnderline:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: 0.5s ease-in-out;
}

.headerUnderline:before {
    right: -50px;
    /* border-right: 50px solid transparent; */
    border-bottom: 3px solid var(--color-main);
    transform: translateX(-100%);
    z-index: -1;
}

.headerUnderline:hover:before {
    transform: translateX(0%);
    transition: 0.3s ease-in-out;
}

.header__logo__img {
    width: 100%;
}


@media screen and (max-width: 1380px) {
    .headerLeft .header__logo{
        width: 350px;
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media screen and (max-width: 991px) {
    .sp-show {
        display: block;
    }
    .header__nav_sp {
        display: block;
    }
    .header__nav.header__nav_pc {
        display: none;
    }
    .header__wrap {
        height: 60px;
        align-items: center;
        display: flex;
    }

    .headerLeft .header__logo{
        width: 350px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .header__logo {
        max-width: 400px;
        width: 79%;
        padding-left: 20px;
        height: 80px;
    }
    .header__logo__img {
        width: 100%;
        margin: auto;
        display: inline-flex;
        align-items: center;
        height: 100%;
    }
}

@media screen and (max-width: 500px) {
    .header__logo{
        padding-left: 10px
    }
    .toggle_btn{
        top: 25px;
        right: 20px;
    }
}