@charset "UTF-8";
/* CSS Document */
/**************************基本**************************/
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 100;
    transition: 0.3s;
}
header.fixed{
    top: 0;
}

header .header_inner {
    margin: 0 auto;
    max-width: 1240px;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #fff;
}

header .menu_btn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--pink);
    border-radius: 50%;
}

header .menu_btn span:not(.txt) {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 2px 0;
}

header .menu_btn .txt {
    font-size: 12px;
    margin-top: 5px;
    color: #fff;
}

.uk-offcanvas-bar {
    background: var(--main-gradient);
    width: 300px;
    overflow-x: hidden;
    padding: 0;
}

.uk-offcanvas-bar ul {
    border-top: 1px solid #fff;
}
.uk-offcanvas-bar ul li:not(.back_button) a{
    color: #333!important;
    font-size: 1.6rem;
    padding: 15px 20px;
    border-bottom: 1px solid #fff;
    position: relative;
}
.uk-offcanvas-bar ul li.slide_right a:after{
    content: "\f105";
    font-family: "FontAwesome";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120%;
    color: var(--pink);
}

.uk-offcanvas-bar ul li.back_button{
    color: #fff!important;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fff;
    background: var(--pink);
}
.uk-offcanvas-bar ul li.back_button a{
    color: #fff!important;
    font-size: 1.6rem;
    padding: 15px 20px;
    border-right: 1px solid #fff;
}
.uk-offcanvas-bar ul li.back_button .title{
    font-size: 1.6rem;
    margin-left: 20px;
}


header .menu_container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header_menu_container .main_menu,
.header_menu_container .menu_secondary {
    padding: 80px 0 0;
}

.header_menu_container .close_btn{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--pink);
    border-radius: 50%;
}

.header_menu_container .close_btn svg{
    color: #fff;
    transform: scale(1.4);
}

.menu_level {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.menu_secondary {
    transform: translateX(100%);
}

#main_menu {
    transform: translateX(0);
}


footer{
    background: var(--gray);
}

body:not(.top) footer{
    margin-top: 100px;
}

footer .footer_container{
    display: flex;
    justify-content: space-between;
    
}


footer .footer_links u.upperl{
    justify-content: flex-end;
}

footer .footer_links .upper li a{
    color: var(--black);
    font-size: 110%;
    text-decoration: none;
}


/*---------------screen and (max-width:959px) - START ---------------*/
@media screen and (max-width:959px) {

    footer .footer_container{
        flex-direction: column;
    }

    footer .footer_links .upper{
        justify-content: flex-start;
    }
    
}
/*---------------screen and (max-width:959px) - END ---------------*/



/*---------------screen and (max-width:640px) - START ---------------*/
@media screen and (max-width:640px) {
    header{
        top: 10px;
    }
    header .logo{
        max-width: calc(100% - 100px);
    }

    header .menu_btn{
        width: 50px;
        height: 50px;
    }

    header .menu_btn .txt{
        margin-top: 3px;
    }

    footer .footer_links .lower{
        justify-content: flex-start;
    }


    footer .footer_links .lower li,
    footer .footer_links .lower li a{
        width: 100%;
    }

}
/*---------------screen and (max-width:640px) - END ---------------*/