/* -- 頁尾 footer ------------------------------------------------------------------------------------- */
.footer-custom {
    
    margin:0;
    background:#fff;
    color: #333;
    border-top: 1px solid #333;
}
.footer-custom>.row {
    padding: 40px 8% 20px;
    margin:0;
    background:#fff;
    color: #333;
}
.footer-custom a {
    color: #333;
}
.footer-custom a:hover {
    opacity:0.7;
}
.footer-custom .left {
    padding:0 20px 0 0;
}
.footer-custom .right {
    padding:0;
    text-align: center;
}

/* LOGO */
.footer-custom .logo {
    height: 160px;
    padding:0 0 15px;
    text-align: center;
}
.footer-custom .logo a {
}

/* copyright */
.footer-custom .copyright {
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    background: #dcba97;
    color: #fff;
}

/* info */
.footer-custom .info {
    padding-bottom:10px;
}
.footer-custom .info li {
    margin-bottom:4px;
    line-height:1.4;
}
.footer-custom .info li:last-child {
    margin-bottom:0;
}
.footer-custom .info li svg {
    width:25px;
    text-align:center;
    margin-right:5px;
}

/* social */
.footer-custom .social {
    margin-bottom:10px;
}
.footer-custom .social ul {
    margin: 0 auto;
    padding: 5px;
}
.footer-custom .social li {
    margin-right: 5px;
    list-style: none;
    display: inline-block;
    line-height:40px;
}
.footer-custom .social li>a {
    position:relative;
    display: block;
    width: 40px;
    height: 40px;
    text-align:center;
    color: #333;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 50%;*/
    overflow:hidden;
    padding-top:3px;
}
.footer-custom .social svg {
    font-size: 1.5rem;
    text-align: center;
}

/* link */
.footer-custom .link {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 0;
}
.footer-custom .link a{
    color:#333;
    font-size: 1.05rem;
}
.footer-custom .link li {
    display: inline-block;
    padding-right: 15px;
    margin-right: 15px;
    border-right: 1px solid #999;
}
.footer-custom .link li:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
}
a:focus {
    text-decoration:none;
}
footer .fax {
    display: inline-block;
    padding-left: 10px;
}
@media only screen and (max-width: 991px) {
    .footer-custom {
        padding: 20px 0 0;
    }
    .footer-custom>.row {
        padding: 0;
        margin: 0;
    }
    .footer-custom .logo {
        height: 120px;
        padding:0 0 10px;
        text-align: center;
    }
    .footer-custom .left {
        padding:0 0 10px;
        text-align: center;
    }
    .footer-custom .right {
        padding:0;
        border: none;
        text-align: center;
    }
    .footer-custom .info {
        padding-bottom: 10px;
        font-size: 1rem;
    }
    .footer-custom .copyright {
        text-align: center;
        font-size: 0.85rem;
        /*padding-bottom: 60px;*/
    }
    footer .fax {
        display: block;
        padding-left: 0px;
    }
}

 /* -- 常駐選單 --------------------------------------------------------------------------------- */
.sidebar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    filter: drop-shadow(0px 3px 2px rgba(0, 0, 0, 0.4));
}

.media-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
    width: 48px;
    margin-bottom: 10px;
}

.media-link a {
    text-decoration: none;
}

.go-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
}

.media-link,
.go-top {
    background: #c72d33;
}

.tab-opt a {
    position: relative;
    text-align: center;
    text-decoration: none;
    padding: 10px 0px;
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 0px;
    filter: drop-shadow( inset 2px 3px 5px rgba(0, 0, 0, 0.5));
    transition: 0.3s;
}

.tab-opt a:hover {
    color: #333;
    text-decoration: none;
}

.media-link a::after {
    content: '';
    width: 100%;
    height: 100%;
    border-width: 0;
    border-right: 1px solid;
    border-image: linear-gradient(rgba(255, 255, 255, 0), #fff, rgba(255, 255, 255, 0)) 1 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transform: rotateZ(-90deg);
}

.media-link a:first-of-type::after {
    display: none;
}

.media-link a span {
    display: none;
}

@media screen and (max-width: 1000px) {
    .sidebar {
        top: unset;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 999;
        filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
        transform: translateY(0%);
    }
    .media-link {
        flex-direction: row;
        justify-content: space-around;
        align-self: center;
        border-radius: 0px;
        width: 100%;
        margin-bottom: 0px;
    }
    .media-link a {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .media-link a span {
        display: inline;
        font-size: 12px;
        margin-top: 6px;
    }
    .media-link .icon-arrow-up {
        display: block;
    }
    .go-top {
        display: none;
    }
    .media-link a::after {
        transform: rotateZ(180deg);
    }
    .media-link,
    .go-top {
        background-color: rgba(0,0,0,0.7);
    }
}

.num {
    writing-mode: horizontal-tb;
    transform: translate(-10px, 5px);
}

@media screen and (max-width:375px) {
    .num {
        display: contents;
    }
}
.pc {
    display: block;
}
.mb {
    display: none;
}
@media screen and (max-width:1000px) {
    .pc {
        display: none !important;
    
    }
    .mb {
        display: block;
    }
}

/*-- 常駐選單 ------------------------------------------------------*/
.nav-list {
    position: fixed;
    /* top: 40%; */
    bottom: 30px;
    right: 20px;
    z-index: 999;
    filter: drop-shadow(0px 3px 2px rgba(0, 0, 0, 0.4));
}

.media-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
    width: 48px;
    margin-bottom: 10px;
}

.media-link a {
    text-decoration: none;
}

.go-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
    width: 50px;
}

.tab-opt a {
    position: relative;
    text-align: center;
    padding: 10px 0px;
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 0px;
    filter: drop-shadow( inset 2px 3px 5px rgba(0, 0, 0, 0.5));
    transition: 0.3s;
}

.media-link a::after {
    content: '';
    width: 100%;
    height: 100%;
    border-width: 0;
    border-right: 1px solid;
    border-image: linear-gradient(rgba(255, 255, 255, 0), #fff, rgba(255, 255, 255, 0)) 1 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transform: rotateZ(-90deg);
}

.media-link a:first-of-type::after {
    display: none;
}

.media-link a span {
    display: none;
}

.media-link,
.go-top {
    background: #dcba97;
}

.tab-opt a {
    color: #fff;
}
.tab-opt a:hover {
    color: #fff;
}



@media screen and (max-width: 600px) {
    .nav-list {
        top: unset;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 999;
        filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
        transform: translateY(0%);
    }
    .media-link {
        flex-direction: row;
        justify-content: space-around;
        align-self: center;
        border-radius: 0px;
        width: 100%;
        margin-bottom: 0px;
    }
    .media-link a {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .media-link a span {
        display: inline;
        font-size: 12px;
        margin-top: 6px;
    }
    .media-link .icon-arrow-up {
        display: block;
    }
    .go-top {
        display: none;
    }
    .media-link a::after {
        transform: rotateZ(180deg);
    }
    .svg-inline--fa.fa-w-16,
    .svg-inline--fa.fa-w-9,
    .svg-inline--fa.fa-w-12{width:unset;}
}

.num {
    writing-mode: horizontal-tb;
    transform: translate(-10px, 5px);
}

@media screen and (max-width:375px) {
    .num {
        display: contents;
    }
}

@media screen and (max-width: 768px){
    .navbar-default .navbar-collapse, .navbar-default .navbar-form{ border:unset;}
    .navbar-collapse{
        box-shadow:unset;
        -webkit-box-shadow:unset;
        left:0;
    }
}

.navbar-collapse.in{
    overflow-y:unset !important;
}


@media screen and (max-width: 600px) {
    .media-link, .go-top {
        background: #0000009e;
    }
    .tab-opt a:hover {
        color: #f5a445;
    }
}
/*-- 常駐選單 end --------------------------------------------- */