header {
    width: 100%;
    margin: 0px auto;
    position: fixed;
    top: 0px;
    z-index: 2;
    
}

header .header-contents {
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0px auto;
    top: 0px;
    left: 0px;
}

header .head-logo {
    width: 100%;
    max-width: 400px;
}

header .head-logo a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    flex-wrap: wrap;
    padding: 2%;
    margin: 0px auto;
}

header .head-logo a .logo-tx {
    width: 50%;
    font-weight: normal;
    text-align: center;
    color: rgb(255, 255, 255);
}

header .head-logo a .img-box {
    width: 50%;
    margin: 0px auto;
}

header .head-logo a img {
    width: 100%;
    max-width: 150px;
}

@media screen and (max-width: 600px) {
    header .head-logo {
        width: 100%;
        max-width: 180px;
    }

    header .head-logo a .img-box {
        width: 100%;
    }

    header .head-logo a .logo-tx {
        width: 100%;
        text-align: left;
    }
}

.overlay-contents {
    width: calc(100% - 88px);
}

.menu-content {
    width: 100%;
}
.menu-content ul.dr-menu {
    border: 0px;
    margin: 20px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.menu-content ul.dr-menu li {
    width: 14.25%;
    line-height: 1.2em;
    text-decoration:none;
}

.menu-content ul.dr-menu li a {
    border: 0px;
    padding: 0px;
    display: block;
    text-align: center;
    color:#000;
    font-size: 0.9em;
    text-decoration: none;
    font-weight:bold;
}
.menu-content ul.dr-menu li a span{
    display:block;
  color:#FF0000;
  font-size:0.6em;
}
.menu-content ul.dr-menu li a span.mini{
    display:block;
  color:#000;
  font-size:1.0em;
     letter-spacing: -0.02em;
}
.menu-content ul.dr-menu li:last-child {
    box-sizing: border-box;
}

@media screen and (max-width:900px) {
header .header-contents {
    width: 95%;
    height:100px;
background:#fff;
}
    .openbtn {
        position: absolute;
        top: 8%;
        right: 2%;
        cursor: pointer;
        width: 55px;
        height: 55px;
        background: rgb(242, 143, 0);
        z-index: 11;
    }

    .openbtn span {
        display: inline-block;
        transition: 0.4s;
        position: absolute;
        left: 14px;
        height: 1px;
        background: rgb(255, 255, 255);
        width: 50%;
    }

    .openbtn span:nth-of-type(1) {
        top: 22px;
    }

    .openbtn span:nth-of-type(2) {
        top: 29px;
    }

    .openbtn span:nth-of-type(3) {
        top: 36px;
    }

    .openbtn span:nth-of-type(3)::after {
        content: "Menu";
        position: absolute;
        top: 18px;
        left: 50%;
        margin-left: -25px;
        text-transform: uppercase;
        color: rgb(242, 143, 0);
    }

    .openbtn.active span:nth-of-type(1) {
        top: 22px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 34px;
        left: 19px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        transform: translateY(0px) rotate(-45deg);
        position: absolute;
        top: 18px;
        left: 50%;
        margin-left: 0px;
        color: rgb(242, 143, 0);
    }

    .overlay {
        position: fixed;
        top: 0px;
        left: -99999px;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0);
        z-index: -1;
        transition: background-color 1s, z-index 1s;
    }

    .menu-content {
        position: fixed;
        top: 0px;
        right: -300px;
        width: 280px;
        height: 100%;
        background-color: rgb(255, 255, 255);
        z-index: 10;
        overflow-y: auto;
        transition: right 0.8s ease-in-out;
    }

    .menu-content.show {
        right: 0px;
    }

    .overlay.show {
        left: 0px;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 10;
        transition: background-color 1s, z-index;
    }

    .menu-content .head-rogo {
        width: 220px;
        margin: 20px auto;
    }

    .menu-content .head-rogo a {
        display: block;
        width: 220px;
    }

    .menu-content ul {
        margin: 20px;
        font-size: 90%;
    }

    .menu-content ul.dr-menu li {
        width: 90%;
        line-height: 1.3em;
        text-align: left;
        margin: 0px auto 1.5rem;
        padding:0 0 1.5rem;
        border-bottom:1px dashed #ececec;
    }

    .menu-content ul.dr-menu li a {
        display: block;
        text-align: left;
        padding: 5px 0px;
        color: rgb(51, 51, 51);
    }

    .menu-content ul.dr-menu li:last-child a {
        display: block;
        background: rgb(255, 255, 255);
        border: 1px solid rgb(255, 255, 255);
        border-radius: 15px;
        color: rgb(51, 51, 51);
        padding: 5px 0px;
    }

    .menu-content ul.overlay-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        width: 90%;
        margin: 5% auto 20%;
    }

    .overlay-menu li {
        width: 30%;
        margin: 1.666%;
    }
}

@media screen and (max-width: 700px) {
    .openbtn span:nth-of-type(3)::after {
        position: absolute;
        top: 22px;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        transform: translateY(0px) rotate(-45deg);
        top: 12px;
        left: 16px;
    }
}

@media screen and (max-width: 600px) {
    .overlay-menu li {
        width: 44%;
        margin: 2% 3%;
        font-size: 85%;
        line-height: 1.5em;
    }

    .menu-content ul.overlay-privacy li {
        width: 100%;
    }

    .menu-content ul.overlay-privacy li:first-child {
        padding: 0px 0px 10px;
        border-right: 0px solid;
        margin-right: 0%;
    }

    .menu-content ul.overlay-privacy li:last-child {
        line-height: 1.5em;
    }
}

@media only screen and (max-width: 480px) {
    .overlay-menu li {
        width: 100%;
        margin: 0%;
        font-size: 85%;
        line-height: 1.5em;
    }

    .menu-content li a {
        padding: 15px 10px;
    }

    .overlay-news li {
        width: 30%;
        margin: 1.66%;
        line-height: 1.5em;
    }
}

@media only screen and (max-width: 400px) {
    .menu-content .head-logo {
        width: 180px;
        margin: 20px 0px 20px 20px;
    }
}
