/*nav*/
header .main_menu .menu, header .main_menu .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header .main_menu .menu > li {
    display: inline-block;
    margin-left: 30px;
    line-height: 90px;
    padding-top: 5px;
    border-bottom: 4px #71795a solid;
}

header .main_menu .menu > li:hover,
header .main_menu .menu > li.current-menu-item,
header .main_menu .menu > li.current-menu-parent {
    border-bottom: 5px #8f0d22 solid;
}

header .main_menu .menu .menu-item-has-children {
    position: relative;
}

header .main_menu .menu .sub-menu {
    padding: 10px 0;
    background-color: #71795a;
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.15);
    position: absolute;
    left: 0;
    top: -1000px;
    opacity: 0;
    transition: opacity 0.33s;
}

header .main_menu .menu li:hover .sub-menu {
    top: 100px;
    opacity: 100%;
}

header .main_menu .menu .sub-menu li {
    line-height: 40px;
    white-space: nowrap;
}

header .main_menu .menu .sub-menu li a {
    display: block;
    padding: 0 20px;
}

header .main_menu .menu .sub-menu li a:hover,
header .main_menu .menu .sub-menu li.current-menu-item a {
    background-color: #fff;
    color: #71795a;
}

/*index Nav*/
.btn-nav {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    color: #fff;
    transition: all .5s ease;
    cursor: pointer;
    z-index: 9999;
}

.btn-nav div {
    line-height: 10px;
    font-size: 9px;
    font-weight: bold;
}

.btn-nav:focus {
    outline: 0;
}

.icon-bar {
    display: block;
    margin: 6px 0;
    width: 40px;
    height: 5px;
    background-color: #FFFFFF;
}

.btn-nav:hover {
    color: #8f0d22;
}

.btn-nav:hover .icon-bar {
    transition: all .33s ease;
    background-color: #8f0d22;
}

.animated {
    display: block;
}


.animated:focus {
    cursor: pointer;
    z-index: 9999;
}

.icon-bar {
    transition: all .33s ease;
}

.animated .top {
    transform: translateY(10px) rotateZ(45deg);
}

.animated .bottom {
    transform: translateY(-11px) rotateZ(-45deg);
}

.animated .middle {
    width: 0;
}

.nav-wrap {
    display: none;
    height: 100%;
    width: 100%;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    /*background: #71795a;*/
    background: url("images/mask_logo.png") center center;
    background-size: 60px;
    z-index: 8900;
}

.nav-wrap .overlay_menu {
    width: 100%;
    list-style: none;
}

.home .overlay_menu .menu {
    padding-right: 5vw;
    text-align: right;
}

.nav-wrap .overlay_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-wrap .overlay_menu ul .sub-menu {
    padding-bottom: 20px;
    display: none;
}

.nav-wrap .overlay_menu ul a {
    font-size: 22px;
    line-height: 150%;
    color: #f2f2f2;
}

.nav-wrap .overlay_menu ul a:hover {
    color: #8f0d22;
}

.nav-wrap .overlay_menu ul .sub-menu a {
    font-size: 16px;
}

/*VIS*/
.vis {
    height: 100vh;
}

.vis h1 {
    font-size: 32px;
}

.vis .mask_ll {
    width: 34vh;
    background: url("images/mask_ll.png") center right no-repeat;
    background-size: contain;
    z-index: 999;
    top: 0;
    right: 0;
}

.vis .mask_lr {
    width: 34vh;
    background: url("images/mask_lr.png") center left no-repeat;
    background-size: contain;
    top: 0;
    z-index: 999;
    pointer-events:none;
}

.vis .swiper-button-prev, .vis .swiper-button-next {
    z-index: 800;
}

.idx_slider_txt .swiper-slide {
    box-sizing: border-box;
    padding-left: 21vh;
}

.idx_slider_txt .swiper-slide .txt {
    width: 100%;
    max-width: 520px;
}

.vis .swiper-button-prev {
    left: 0;
}

.vis .swiper-button-next {
    left: 80px;
}

.logo_ani_wrap {
    display: flex;
    box-sizing: border-box;
    z-index: 8800;
}

.logo_ani_wrap img {
    width: 72%;
    max-width: 360px;
}

@media (max-width: 990px) {
    .vis > div {
        height: 50vh;
    }

    .idx_slider_txt .swiper-slide {
        padding-left: 11vh;
    }
}

@media (max-width: 768px) {
    .vis h1 {
        font-size: 24px;
    }
    .vis .swiper-button-next {
        left: 60px;
    }
}

/*idx_header idx_footer*/
#idx_header, #idx_footer {
    background-size: contain !important;
    position: fixed;
    right: 5vw;
    z-index: 9000;
}

#idx_header {
    height: 50px;
    /*padding-left: 220px;*/
    /*background: url("images/logo.png") left center no-repeat;*/
    top: 40px;
}

#idx_footer {
    height: 55px;
    padding-right: 55px;
    background: url("images/logo_gray.png") right center no-repeat;
    bottom: 20px;
}

#idx_footer p {
    margin-bottom: 0;
    line-height: 133%;
    font-size: 13px;
}

/*Header*/
header {
    height: 100px;
    border-bottom: 1px rgba(255, 255, 255, .15) solid;
    background: #71795a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9990;
}

.logo {
    width: 220px;
    height: 50px;
    background-image: url("images/logo.png");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

/*Footer*/
footer .qr img {
    width: 80px;
    height: auto;
}

footer h3 {
    font-size: 20px;
}

footer .bottom {
    height: 80px;
    border-top: 1px #9ca18c solid;
    font-size: 13px;
}

footer .bottom .logo, footer .bottom > div {
    opacity: 60%;
}

footer .bottom p {
    text-align: right;
    line-height: 150%;
    margin-bottom: 0;
}

footer .bottom .bg-contain {
    width: 36px;
    height: 100%;
    background-image: url("images/logo_gray.png");
}

@media (max-width: 768px) {
    #idx_header {
        top: 20px;
    }

    .logo {
        width: 160px;
        height: 36px;
    }

    .btn-nav {
        transform: scale(.8);
    }

    #idx_footer {
        height: 40px;
        padding-right: 40px;
    }

    #idx_footer p {
        font-size: 11px;
    }

    footer .qr {
        padding-bottom: 1rem;
        position: absolute;
        right: 0;
        bottom: 0;
    }

    a.post-edit-link {
        display: none;
    }
}