/* ==================================================
   Header（Mobile Small）
================================================== */

@media (max-width:430px){

/* ==================================================
   Header
================================================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:#fff;

    z-index:999;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

/* ==================================================
   Header Main
================================================== */

.header-main{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    padding:8px 0;

}

/* ==================================================
   Logo
================================================== */

.header-logo{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:6px;

    animation:none;

    opacity:1;

    transform:none;

}

.header-logo img{

    display:block;

    height:42px;

    width:auto;

}

header.shrink .header-logo img{

    height:38px;

}

/* ==================================================
   Menu 1
================================================== */

.header-menu-1{

    display:flex;

    justify-content:space-evenly;

    align-items:center;

    width:100%;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;

}

/* ==================================================
   Menu Button
================================================== */

.menu-btn{

    position:relative;

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    height:42px;

    padding:0;

    background:none;

    border:none;

    color:#333;

    text-decoration:none;

    font-size:11px;

    font-weight:600;

    white-space:nowrap;

    cursor:pointer;

    transition:.3s;

}

.menu-btn:hover{

    color:#0077ff;

}

.menu-btn.active{

    color:#0077ff;

}

.menu-btn::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:7px;

    width:0;

    height:2px;

    background:#0077ff;

    transform:translateX(-50%);

    transition:.3s;

}

.menu-btn:hover::after,
.menu-btn.active::after{

    width:60%;

}

/* ==================================================
   Menu 2
================================================== */

.header-menu-2{

    width:100%;

    background:#f4f4f4;

    overflow-x:auto;

    -webkit-overflow-scrolling:touch;

}

.header-menu-2::-webkit-scrollbar{

    display:none;

}

/* ==================================================
   Sub Navigation
================================================== */

.sub-nav{

    display:flex;

    flex-wrap:nowrap;

    align-items:center;

    justify-content:flex-start;

    gap:18px;

    padding:0 12px;

    overflow-x:auto;

    overflow-y:hidden;

    white-space:nowrap;

    max-height:0;

    opacity:0;

    transition:
        max-height .35s,
        opacity .35s,
        padding .35s;

}

.sub-nav.show{

    max-height:60px;

    padding:8px 12px;

    opacity:1;

}

.sub-nav.hide{

    max-height:0;

    padding:0 12px;

    opacity:0;

}

.sub-nav::-webkit-scrollbar{

    display:none;

}

.sub-nav a{

    flex:0 0 auto;

    display:flex;

    flex-direction:column;

    align-items:center;

    color:#333;

    text-decoration:none;

    font-size:11px;

    transition:.3s;

}

.sub-nav a:hover{

    color:#0077ff;

}

.sub-nav a::after{

    display:none;

}

.icon{

    display:block;

    font-size:16px;

    margin-bottom:2px;

}

/* ==================================================
   TOP Button
================================================== */

#topBtn{

    right:12px;

    bottom:12px;

}

#topBtn img{

    width:50px;

    height:50px;

}

}