* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.opacity-0{
    opacity: 0;
}
body {
    width: 100%;
    font-size: 14px;
    font-family: "Noto San TC", "New Microsoft JhengHei", sans-serif;
    letter-spacing: .04rem;
    color: #4a4a4a;
    background-color: #f7f7fb;
    overflow-x: hidden;

}
.mr-2{
    margin-right: .5rem !important;
}
/* Header 導航欄樣式 */
.main-header {
    background-color: #bb641e;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
}

/* 品牌標誌 */
.brand-logo {
    height: 100%;
}
.brand-logo a{
    height: 100%;
    align-items: center;
    display: flex;
}
.logo-image {
    width: 160px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: white;
    font-family: 'Arial', sans-serif;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 12px;
    color: white;
    margin-top: 2px;
    font-weight: 400;
}

/* 導航選單 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 下拉選單樣式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    width: 150px;
    color: #333;
    background: #fff;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: flex;
    gap: 30px;
}

.dropdown-column {
    flex: 1;
}


.dropdown-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-item {
    position: relative;
}

.dropdown-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    padding: 11px 8px;
    color: #363636;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
}

.dropdown-item a:hover {
    color: #8B4513;
}

.submenu-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.has-submenu:hover .submenu-arrow {
    transform: rotate(90deg);
}

/* 子選單樣式 */
.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.submenu a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    padding: 11px 8px;
    display: block;
    transition: all 0.3s ease;
}

.submenu a:hover {
    color: #8B4513;
}

/* 工具圖標 */
.header-utils {
    display: flex;
    align-items: center;
    gap: 12px;
}

.util-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.util-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.user-btn {
    width: 36px;
    height: 36px;
}

.info-btn {
    width: 36px;
    height: 36px;
}

/* 導航欄樣式 */
.navbar {
    background: linear-gradient(135deg, #d4721c, #b8601a);
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* 主要背景區域 */
.hero-section {
    height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    color: white;
    padding: 15px 40px;
    font-size: 3rem;
    border-radius: 8px;
    font-weight: bold;
    margin: 0;
    z-index: 2;
    text-align: center;
    transition: transform 0.3s, opacity 0.3s;
}

/* 極光預測儀表板 */
.aurora-dashboard {
    background: #f8f9fa;
    padding: 3rem 0;
    position: relative;
}

.aurora-dashboard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1160px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #20b2aa, #8a2be2, #ff6b35);
}

.dashboard-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 20px;
}

.dashboard-grid[style*="display: none"] {
    display: none !important;
}
.dashboard-grid .dashboard-item:first-child::after{

    position: absolute;
    content: '今晚';
    top: -15px;
    left: -8px;
    background-color: #ff9800;
    padding: 4px 8px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
}
/* .dashboard-grid .dashboard-item:first-child::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background: transparent;
    border-radius: 6px;
    border: 3px solid #bb641e;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
} */
.dashboard-item {
    background: white;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.dashboard-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.dashboard-item h4 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #666;
}

/* 儀表板指針 */
.gauge {
    width: 150px;
    height: 75px;
    margin: 0 auto 1.5rem;
    position: relative;
    background: conic-gradient(from 180deg, #ff0000 0deg, #ff8800 100deg, #ffff00 180deg, #88ff00 240deg, #2b9c2b 300deg);
    border-radius: 150px 150px 0 0;
    overflow: hidden;
    transition: background 0.5s ease-in-out;
}

.gauge::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10px;
    right: 20px;
    bottom: 0;
    background: white;
    border-radius: 150px 150px 0 0;
}

.gauge-pointer {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(-90deg);
    width: 3px;
    height: 50px;
    background: #333;
    border-radius: 3px;
    z-index: 10;
    transition: transform 0.8s ease-in-out;
}

.gauge-pointer::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

/* 不同活動等級的指針樣式 */
.gauge-pointer.type-1 {
   transform: translateX(-50%) rotate(-90deg);
}

.gauge-pointer.type-2 {
    transform: translateX(-50%) rotate(-72deg)
}

.gauge-pointer.type-3 {
    transform: translateX(-50%) rotate(-55deg)
}

.gauge-pointer.type-4 {
    transform: translateX(-50%) rotate(-33deg)
}

.gauge-pointer.type-5 {
    transform: translateX(-50%) rotate(-10deg)
}

.gauge-pointer.type-6 {
    transform: translateX(-50%) rotate(12deg)
}

.gauge-pointer.type-7 {
    transform: translateX(-50%) rotate(30deg)
}

.gauge-pointer.type-8 {
    transform: translateX(-50%) rotate(52deg)
}
.gauge-pointer.type-9 {
    transform: translateX(-50%) rotate(71deg)
}
.gauge-pointer.type-10 {
    transform: translateX(-50%) rotate(90deg)
}

.dashboard-item p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

/* 行程區域 */
.tours-section {
    padding: 3rem 0 5rem;
    background: #f8f9fa;
    position: relative;
}


.premium-tours-section {
    padding: 3rem 0;
    background: #f8f9fa;
    position: relative;
}
.articles-section:after,
.premium-tours-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1160px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #20b2aa, #8a2be2, #ff6b35);
}


.premium-tours-section {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    background: linear-gradient(135deg, #4a90e2, #20b2aa);
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1.5rem;
}

.tours-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 20px;
}

.tours-grid[style*="display: none"] {
    display: none !important;
}

.tour-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 280px;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tour-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tour-link:hover {
    text-decoration: none;
    color: inherit;
}

.tour-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(45deg, #20b2aa, #4a90e2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-code {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tour-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.tour-days {
    background: #ff9800;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tour-price {
    font-weight: bold;
    color: #2196f3;
    font-size: 1rem;
}

/* Loading狀態 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    font-size: 1rem;
    margin: 0;
}

/* 文章區域 */
.articles-section {
    background: #f8f9fa;
    padding: 3rem 0;
    position: relative;
}


.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.articles-container[style*="display: none"] {
    display: none !important;
}
.articles-container .article-link:last-child .article-card{
    margin-bottom: 0;
}

.article-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-link:hover {
    text-decoration: none;
    color: inherit;
}

.article-image {
    width: 300px;
    background: linear-gradient(45deg, #8a2be2, #20b2aa);
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 2rem;
    flex: 1;
}

.article-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.gauge-line { 
    background: #fff;
    position: absolute;
    width: 4px;
    height: 20px;
}
.gauge-line:first-child {
    top: 50px;
    left: 9px;
    transform: rotate(275deg);
}
.gauge-line:nth-child(2) {
    top: 30px;
    left: 12px;
    transform: rotate(300.5deg);
}
.gauge-line:nth-child(3) {
    top: 14px;
    left: 29px;
    transform: rotate(325deg);
}
.gauge-line:nth-child(4) {
    top: 3px;
    left: 50px;
    transform: rotate(347.5deg);
}
.gauge-line:nth-child(5) {
    top: 0px;
    left: 73px;
    transform: rotate(360deg);
}
.gauge-line:nth-child(6) {
    top: 3px;
    right: 50px;
    transform: rotate(372.5deg);
}
.gauge-line:nth-child(7) {
    top: 15px;
    right: 30px;
    transform: rotate(395deg);
}
.gauge-line:nth-child(8) {
    top: 32px;
    right: 17px;
    transform: rotate(419.5deg);
}
.gauge-line:nth-child(9) {
    top: 48px;
    right: 9px;
    transform: rotate(442.5deg);
    height: 22px;
}

/* 手機版漢堡選單按鈕 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 手機版導航選單 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #f5f5f5;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    background: #bb641e;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.mobile-menu-title {
    font-size: 16px;
    font-weight: bold;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-section {
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #e7e7e7;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #363636;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.mobile-menu-link:hover {
    background-color: rgba(187, 100, 30, 0.1);
    color: #8B4513;
}

.mobile-menu-item.has-submenu .mobile-menu-link i {
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-menu-item.has-submenu.active .mobile-menu-link i {
    transform: rotate(90deg);
}

.mobile-submenu {
    background: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu-item.has-submenu.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu-link {
    display: block;
    padding: 12px 40px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #e7e7e7;
    transition: color 0.3s;
}

.mobile-submenu-link:hover {
    color: #8B4513;
    background-color: rgba(187, 100, 30, 0.05);
}

.mobile-submenu-link:last-child {
    border-bottom: none;
}

/* 響應式設計 */
@media (max-width: 768px) {
    /* Header 響應式 */
    .header-container {
        padding: 0 15px;
        height: 60px;
    }
    .hero-section{
        height: 250px;
    }
    .hero-title{
        font-size: 1.75rem;
    }
    /* 顯示手機版漢堡選單按鈕 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 手機版下拉選單 */
    .dropdown-menu {
        min-width: 300px;
        padding: 15px;
    }
    
    .dropdown-content {
        gap: 20px;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        margin-top: 8px;
        padding: 10px;
    }
    
    .has-submenu:hover .submenu {
        transform: none;
    }
    
    .main-nav {
        display: none; /* 在手機上隱藏導航選單 */
    }
    
    .header-utils {
        gap: 8px;
    }
    
    .util-btn {
        width: 32px;
        height: 32px;
    }
    
    body {
        padding-top: 60px; /* 調整手機版的 padding */
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-grid,
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 160px;
    }
}
.nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.footer {
    font-size: 14.4px;
    color: #fff;
    background: #bb641e
}

.footer a {
    padding: .125rem 0;
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    background: transparent;
    text-decoration: underline;
}

.footer .footer__box {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    padding-right: .75rem;
    padding-left: .75rem;
    margin: auto;
    padding-top: 1rem;
    padding-bottom: 1rem
}

@media(min-width: 576px) {
    .footer .footer__box {
        max-width:540px
    }
}

@media(min-width: 768px) {
    .footer .footer__box {
        max-width:720px
    }
}

@media(min-width: 992px) {
    .footer .footer__box {
        max-width:960px
    }
}

@media(min-width: 1200px) {
    .footer .footer__box {
        max-width:1140px
    }
}

@media(min-width: 1400px) {
    .footer .footer__box {
        max-width:1320px
    }
}

@media(max-width: 767.98px) {
    .footer .footer__box {
        -webkit-box-pack:center;
        -ms-flex-pack: center;
        justify-content: center
    }
}

.footer .footer__box-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1.25rem
}

@media(min-width: 768px) {
    .footer .footer__box-item {
        text-align:left
    }
}

.footer .footer__box-item:first-child {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%
}

@media(max-width: 991.98px) {
    .footer .footer__box-item:first-child {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
}

.footer .footer__box-item:nth-child(2) {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto
}

@media(min-width: 768px) {
    .footer .footer__box-item:nth-child(2) {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex
    }
}

@media(max-width: 991.98px) {
    .footer .footer__box-item:nth-child(2) {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
}

@media(min-width: 768px) {
    .footer .footer__box-item:nth-child(2) .footer__box-item-menu {
        -webkit-box-flex:1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto
    }
}

@media(min-width: 768px) {
    .footer .footer__box-item:nth-child(2) .footer__box-item-menu:not(:first-child) {
        padding:0 1rem
    }
}

@media(min-width: 992px) {
    .footer .footer__box-item:nth-child(2) .footer__box-item-menu:not(:last-child) {
        border-right:2px solid rgba(255,255,255,.5)
    }
}

@media(max-width: 991.98px) {
    .footer .footer__box-item:nth-child(2) .footer__box-item-menu:not(:last-child) {
        padding-bottom:.5rem;
        border-bottom: 2px solid rgba(255,255,255,.5)
    }
}

.footer .footer__box-item:nth-child(2) .nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

@media(max-width: 991.98px) {
    .footer .footer__box-item:nth-child(2) .nav {
        -webkit-box-pack:center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center
    }
}

@media(min-width: 768px) {
    .footer .footer__box-item:nth-child(3) {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 80%;
        flex: 1 1 80%;
        justify-content: center;
    }

    .footer .footer__box-item:nth-child(3) .footer__link {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto
    }
}

.footer .footer__sns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: .5rem
}

@media(min-width: 768px) {
    .footer .footer__sns {
        -webkit-box-flex:1;
        -ms-flex: 1 1 20%;
        flex: 1 1 20%;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end
    }
}

.footer .footer__sns .footer__box-item-menu {
    margin-left: .5rem;
    width: 50px;
    height: 50px
}
.footer .footer__box-item:nth-child(3) {
    justify-content: center;
}

.footer .footer__sns img {
    width: 50px;
    height: 50px
}

@media(min-width: 992px) {
    .footer .footer__box-item-menu a:hover {
        text-decoration:underline;
        color: rgba(255,255,255,.8)
    }
}

.footer .footer__brand-icon {
    display: block;
    margin-bottom: 1rem
}

@media(max-width: 767.98px) {
    .footer .footer__brand-icon {
        text-align:center
    }
}

.footer .footer__brand-icon img {
    height: 120px;
    -o-object-fit: contain;
    object-fit: contain
}

.footer .footer__info-companyName {
    margin-bottom: .25rem;
    font-size: 18px
}

.footer .footer__link {
    display: none
}

.footer .footer__link-custom {
    padding: .5rem .25rem;
    background: #bb641e
}

.footer .footer__link-custom-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none
}

.footer .footer__link-custom-item {
    position: relative;
    color: #ccc
}

.footer .footer__link-custom-item:not(:last-child)::after {
    content: " | ";
    position: relative;
    display: inline-block;
    padding: 0 8px;
    color: #ccc
}

.footer .footer__link-custom-item a {
    font-weight: bold
}

.footer .footer__link-custom-item a:hover {
    color: rgba(255,255,255,.8)
}

.footer .footer__line-service {
    display: inline-block;
    margin-top: 5px
}

.footer .footer__line-service img {
    width: auto;
    height: 26px
}

@media(max-width: 991.98px) {
    .footer .footer__line-service img {
        width:auto;
        height: 40px
    }
}

.footer .sns-icon {
    margin-right: .5rem;
    width: 40px;
    height: 40px;
    font-size: 40px
}

.footer .sns-icon .fa-instagram,.footer .sns-icon .fa-facebook-f {
    margin-left: .5rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 40px;
    text-align: center;
    color: #bb641e;
    background: #fff;
    border-radius: 50%
}

.footer .sns-icon:hover {
    color: #eee
}

.footer__copy-right {
    position: relative;
    padding: 8px;
    font-size: .75rem;
    font-weight: 400;
    text-align: center;
    color: #ddd;
    background: #000;
    border-top: 1px solid #2a2a2a
}

.footer__copy-right .tech {
    position: absolute;
    left: 30px;
    color: inherit
}

@media(max-width: 767.98px) {
    .footer__copy-right .tech {
        position:relative;
        left: 0;
        display: block;
        margin: 5px auto
    }
}

.footer__copy-right .tech i {
    padding-right: 4px;
    font-size: 14px
}
.fixed_right {
    position: fixed;
    right: 26px;
    bottom: 180px;
    z-index: 10;
}
#back-to-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    border-radius: 50%;
    cursor: pointer;
}
.mx-2 {
    margin-right: .5rem !important;
    margin-left: .5rem !important;
}