/* body  */

.nugc {
    width: 100%;
    height: auto;
//    position: relative;
}

/*  1st  */

.nugc-1 {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
}

.nugc-button1 {
    background: none;
    font-size: inherit;
    color: black;
    border: none;
    font-family: inherit;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
    cursor: pointer;
    padding: 0;
}

.nugc-button1:hover {
    font-weight: bold;
}

/*  2nd  */

.nugc-2 {
    width: 100%;
    height: auto;
}

/*  3rd  */

.nugc-3 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.nugc-3-1 {
    width: 100%;
    height: auto;
}

.nugc-3-1-1 {
    width: 100%;
    height: auto;
}

.nugc-3-1-2 {
    width: 100%;
    height: auto;
}

.nugc-3-1-3 {
    width: 100%;
    height: auto;
}

.nugc-3-2 {
    width: 100%;
    height: auto;
}

    .nugc-3-2-1-1-1 {
        width: 100%;
        height: auto;
position: relative;
    }

    .nugc-3-2-1-1-2 {
        width: 100%;
        height: auto;
        display: table;
    }

    .nugc-3-2-1-1-2-a {
        width: 100%;
        height: auto;
        display: none;
    }

    .nugc-3-2-1-1-3 {
        width: 100%;
        height: auto;
        display: table;
    }

    .nugc-3-2-1-1-4 {
        width: 100%;
        height: auto;
    }

    .nugc-3-2-1-1-5 {
        width: 100%;
        height: auto;
    }

    .nugc-3-2-1-1-6 {
        width: 100%;
        height: auto;
    }

    .nugc-3-2-1-1-7 {
        width: 100%;
        height: auto;
    }

    .nugc-3-2-1-1-8 {
        width: 100%;
        height: auto;
    }

    .nugc-3-2-1-1-9 {
        width: 100%;
        height: auto;
    }

.nugc-button2 {
    background-color: #00698c; 
    color: white; 
    font-size: 1.125rem; // 18px;
    width: 18.75rem; // 300px;
    height: 2.5rem; // 40px;
    border: none;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.nugc-button2:hover {
    background-color: white;
    color: #00698c;
}

    .nugc-3-3 {
        width: 100%;
        height: auto;
    }

/*  4th  */

/*
.nugc-4 {
    width: 100%;
    height: auto;
}

.nugc-button3 {
    background-color: #1c1c1c; 
    color: white; 
    font-size: 1.125rem; // 18px;
    width: 100%;
    height: 2.5rem; // 40px;
    border: none;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.nugc-button3:hover {
    background-color: white;
    color: #1c1c1c;
}
*/



/*  back to top pc  */

.nugc-s-pc {
    width: auto;
    height: auto;
    position: fixed;
    right: 7.8%;
    bottom: 7.8%;
}

.nugc-s-1-pc {
    width 100%;
    height: 1.5625rem; // 25px;
    position: relative;
}

.nugc-s-1-img-pc {
    position: absolute;
    width: 2.5rem; // 40px;
    height: 1.5625rem; // 25px;
    left: -1.25rem; // -20px;
    margin-left: 50%;
    top: 0px;
}

.nugc-s-2-pc {
    width: 100%;
    height: auto;
}

.nugc-s-2-font-pc {
    width: fit-content;
    font-size: 1.125rem; // 18px;
    height: 0.75rem; // 12px;
    line-height: 0.75rem; // 12px;
    margin: 1.25rem 0px 0px 0px;
//    margin: 20px 0px 0px 0px;
}

/*  back to top m  */

.nugc-s-m {
    background: #00698C;
    border-radius: 50%;
    width: 5rem; // 80px;
    height: 5rem; // 80px;
    position: fixed;
    right: 5.333333%;
    bottom: 3.125rem; // 50px;  
    z-index: 1;
}

.nugc-s-img-m {
    position: absolute;
    width: 2.5rem; // 40px;
    height: 1.5625rem; // 25px;
    left: -1.25rem; // -20px;
    margin-left: 50%;
    top: 1.5625rem; // 25px;
}



/* hide scroll bar */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}



/*  slide  */

.carousel-container {
    width: 100%;
//    max-width: 800px;
//    margin: 20px auto;
    position: relative;
    overflow: auto;
//    border-radius: 8px;
//    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    -webkit-user-select: none; /* Safari 兼容 */
    user-select: none;
}

//.carousel-container:focus {
//    outline: none;
//}

.carousel {
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
//border: 1px solid red;
//    cursor: grab; /* 拖动时显示手型 */
//    user-select: none; /* 防止拖动时选中文本 */
//    -webkit-overflow-scrolling: touch; /* 启用 iOS 弹性滚动 */
//    will-change: transform; /* 提前告知浏览器会变化 */
    will-change: transform; /* 性能优化 */
//height: 100%;
//position: relative;
}

//.carousel * {
//    touch-action: manipulation;
//}

//.carousel:active {
//    cursor: grabbing; /* 拖动中手型变化 */
//}

.slide {
//width: 100%;
    min-width: 100%;
//    box-sizing: border-box;
//border: 1px solid red;
//flex-shrink: 0;
position: relative;
display: inline-block;
}

.slide img {
    width: 100%;
    display: block;
//border: 1px solid red;
    pointer-events: none; /* 防止图片干扰拖动 */
}

/* 指示器样式 */
.indicators {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
//border: 1px solid red;
//opacity: 1;
//z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    cursor: pointer;
    transition: background 0.3s;
//    opacity: 1;
//z-index: 1;
//position: absolute;
}

/* 拖动反馈样式 */
.carousel.grabbing {
    cursor: grabbing;
    transition: none;
}

.carousel.grab {
    cursor: grab;
}

.indicator.active {
    border-radius: 3px 0px;
    background: #00698C;
}



/*  enlarge and back to normal image  */

.zoom-btn {
    position: absolute;
//    bottom: 40px;
//    right: 40px;
    background: none;
//    color: #ffffff;
    border: none;
//    border-radius: 50%;
    width: 60px;
    height: 60px;
//    font-size: 20px;
    cursor: pointer;
//    display: flex;
//    align-items: center;
//    justify-content: center;
    transition: all 0.3s;
//    touch-action: auto;
}
        
.zoom-btn:hover {
//    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.2);
}
        
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    justify-content: center;
    align-items: center;
//    touch-action: auto;
}
        
.enlarged-img {
//    height: min(100vw, 100vh);
//    width: auto;
      height: 100vh;
      width: 100vh;
//    width: fit-content;
    max-height: 100vh;
//    object-fit: contain;
    position: relative;
    -webkit-user-drag: none;
    user-select: none;
}
        
.close-btn {
    position: absolute;
    width: 40px;
    height: 40px;
//    top: 40px;
//    right: 40px;
//    color: red;
//    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
//    padding: 10px;
    z-index: 1000;
    transition: all 0.3s;
//    touch-action: auto;
}
        
.close-btn:hover {
//    color: #ccc;
    transform: scale(1.2);
}



/*  paging  */

    .pagination {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 0;
//margin-top: 40px;
//margin-bottom: 100px;
    }

    .pagination li {
        margin: 0;
    }

    .pagination a, .pagination span {
        display: inline-block;
//        padding: 5px 10px;
//        border: 1px solid #ddd;
        text-decoration: none;
        color: #000000;
    }

//    .pagination a:hover {
//        background-color: #f5f5f5;
//    }

    .pagination .active {
        font-weight: bold;
//        background-color: #337ab7;
//        color: white;
//        border-color: #337ab7;
    }

    .pagination .disabled {
//        color: #ddd;
//        pointer-events: none;
        display: none;
    }