button {
    background: none;
    border: 0;
    cursor: pointer;
    overflow: visible;
    white-space: nowrap;
    outline: none;
}

.blind {
    overflow: hidden;
    padding: 0;
    border: 0;
    color: #ffffff;
}

#content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 200;
}

#weaponThum {
    position: relative;
    height: 410px;
    margin: 2% 0;
}

#thumList [data-idx] {
    position: absolute;
    left: 0px;
    right: 0;
    opacity: 0 !important;
    width: 100%;
    transition: all 0.45s ease-out;
}

#thumList [data-idx].active {
    opacity: 1 !important;
}

#thumList [data-idx] .thum {
    display: block;
    margin: 0 auto;
}

#thumList [data-idx][data-idx="0"] .thum {
    opacity: 0;
}

#weaponSpec {
    transform: translateY(-10%);
    z-index: 200;
}

.able {
    position: relative;
    background-color: #000000b3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 216px;
}

#weaponSpec .discription {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    color: #ffffff;
    line-height: 1.5em;
    text-align: center;
    text-shadow: 0 3px black;
    padding: 30px 0px 0px 0px;
}

/* 梯形底 */
#weaponSpec .discription::before {
    content: '';
    position: absolute;
    max-width: 1050px;
    margin: 0 auto;
    top: 0;
    right: 0;
    bottom: 216px;
    left: 0;
    z-index: -1;
    background: #000000b3;
    transform: perspective(10em) rotateX(4deg);
    /* 將變形的軸設在圖形的底部 */
    transform-origin: bottom;
}


#weaponSpec .discription span {
    color: #00d2ff;
    font-weight: bold;
}

#specA,
#specB {
    width: 36%;
}

#weaponSpec .weaponName {
    width: 28%;
    max-width: 216px;
}

#weaponSpec .weaponName::before {
    content: url(../image/formula_able.png);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#weaponSpec .weaponName .txt {
    color: #ffffff;
    font-size: 24px;
    font-family: 'Overpass', sans-serif;
    font-weight: 700;
    vertical-align: middle;
    line-height: 28px;
    font-style: normal;
}

#specA .count,
#specB .count {
    margin: 0px 3px;
    min-width: 36px;
    font-family: 'Quantico', sans-serif;
    font-weight: bolder;
    line-height: 25px;
    font-size: 14px;
    color: #00d2ff;
    font-style: normal;
}

#specA .count {
    text-align: right;
}

#specA .gauge,
#specB .gauge {
    background-color: #ffffff7a;
}

#specB>li {
    justify-content: flex-end;
}

#weaponInfomation .spec [data-type] {
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
}

#weaponInfomation .spec [data-type] .gauge {
    width: 290px;
    height: 8px;
}

#weaponInfomation .spec [data-type] .gauge .bar {
    display: block;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    transition: width 0.45s ease-in-out;
}

#specA .gauge .bar {
    float: right;
}

.spec .gauge .bar {
    background-color: #00d2ff;
}

.control {
    width: 100%;
    position: absolute;
    top: 20%;
}

.btn_prev {
    position: absolute;
    left: -10%;
    z-index: 200;
    display: block;
}

.btn_next {
    position: absolute;
    right: -10%;
    z-index: 200;
    display: block;
}

.btn_prev:hover,
.btn_next:hover {
    filter: brightness(1.5);
}

/* RWD */
@media (max-width: 1440px) {

    /* #weaponSpec {
        transform: translateY(-26%);
    } */

    #weaponInfomation .spec [data-type] .gauge {
        width: 60%;
    }
}

@media (max-width: 1024px) {

    .btn_prev {
        left: 0%;
    }

    .btn_next {
        right: 0%;
    }

    .able {
        height: 216px;
    }
}

@media (max-width: 768px) {

    #weaponThum {
        width: 80%;
        height: 34.2vw;
        margin: 0 auto;
    }

    .control {
        top: 6%;
    }

    .control button {
        width: 14%;
    }

    #weaponSpec .weaponName {
        width: 22%;
    }

    #weaponSpec .weaponName .txt {
        font-size: 20px;
        line-height: 20px;

    }

    #weaponInfomation .spec [data-type] .gauge {
        width: 48%;
    }
}

@media (max-width: 425px) {

    .titleBox {
        margin-top: 10%;
    }

    .able {
        height: 120px;
    }

    #specA .gauge,
    #specB .gauge,
    #special {
        display: none;
    }

    #weaponSpec .discription {
        font-size: 12px;
    }

    #weaponSpec .discription::before {
        bottom: 120px;
    }

    #weaponSpec .weaponName::before {
        content: '';
        width: 100%;
        background: url(../image/formula_able.png) no-repeat center;
        height: 100%;
        background-size: contain;
    }

    #weaponSpec .weaponName .txt {
        font-size: 14px;
        line-height: 14px;
    }

    #weaponInfomation .spec [data-type] {
        height: 16px;
    }

    #weaponInfomation .spec [data-type] .gauge {
        width: 40%;
    }

    .blind {
        font-size: 12px;
    }

    #specA .count,
    #specB .count {
        text-shadow: 1px 0px 0 #fff;
    }
}

@media (max-width: 375px) {

    #weaponSpec .discription {
        font-size: 14px;
    }

    #specA,
    #specB {
        width: 40%;
    }

    #weaponSpec .weaponName {
        width: 16%;
    }

    #weaponSpec .weaponName .txt {
        font-size: 12px;
        line-height: 0px;
    }

    #weaponInfomation .spec [data-type] {
        height: 14px;
    }

}