@charset "utf-8";
/* body{
    overflow-x: hidden;
} */
.hide{display: none;}

#header_embed.is-menu-open {
    z-index: 999 !important;
    background: #fff;
}

.game_manual #header_embed {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    align-self: stretch;
    flex: 0 0 auto;
    background: #fff;
}

#header_embed .btn_burger_block .burger {
       width: 40px; height: 40px;
    z-index: 1000 !important;

}
/* 修正手機版導覽列的吸附感 */
@media (max-width: 900px) {
    #header_embed:has(.checkbox_menu:checked) .nav_list {
        position: absolute;
        top: 0;
        left: 0; 
        z-index: 3;
    }

    #header_embed:has(.checkbox_menu:checked) .btn_burger_block{
         position: relative;
         z-index: 1001;
         isolation: isolate;
    }

    #header_embed:has(.checkbox_menu:checked) .btn_burger_block label{
         position: relative;
         z-index: 1001;
    }

    #header_embed:has(.checkbox_menu:checked) .btn_burger_block .burger{
         position: absolute;
         left: 0;
         top: 0;
         z-index: 1001 !important;
    }
}

#gm-header_embed {
    /* z-index: 600; */
}

.game_manual main {
    width: 100%;
    position: relative;
    z-index: 1;
}

.game_manual:not(.index) #gm-header_embed,
.game_manual:not(.index) .gm-breadcrumb__wrapper,
.game_manual:not(.index) main {
    overflow-x: clip;
}

.game_manual main .gm-top__links a.coming_soon {
    pointer-events: auto;
    border-radius: inherit;
}

.game_manual main .gm-top__links__list .coming_soon {
    border-radius: 8px;
    overflow: hidden;
}

.game_manual main .coming_soon::after {
    background: rgba(0, 0, 0, 0.7);
}

.game_manual .gm-navi__link dd.coming_soon {
    position: relative;
    cursor: default;
    /* border-radius: 6px; */
    overflow: hidden;
}

.game_manual .gm-navi__link dd.coming_soon>a {
    pointer-events: none;
    border-radius: inherit;
}

.game_manual .gm-navi__link dd.coming_soon::after {
    content: "敬請期待";
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #fff;
    /* font-size: 0.8rem; */
    /* font-weight: 500; */
    letter-spacing: 0.12rem;
    background: rgba(120, 120, 120, 0.78);
    text-shadow: 0 0 3px rgba(60, 60, 60, 0.8), 0 0 12px rgba(66, 66, 66, 0.9);
    border-radius: inherit;
    opacity: 0;
    transition: var(--nav-transition);
}

.gm-top__list li {
    border-radius: 8px;
}

.gm-header img.s {
    display: none;
}

img.gm-img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.gm-column {
    max-width: var(--max-width-content);
    display: flex;
    justify-content: space-between;
    padding: clamp(0.2rem, 1vw, 0.8rem) 0;
    /* text-align: justify; */
}


.gm-detail span>span.space{
    margin: 0 0.5rem;
}
.gm-detail span>span{
    display: inline-block;
}
@media screen and (min-width: 500px) {/*畫面大於500px以上的設定*/
/*view頁面的表格設定*/

.view .gm-table--normal tr th{
 width: 25%;
}
.view .gm-table--row.style1 tr th{
    width: 50%;
}
.view .gm-table--row.style1 tr th img.gm-img{
 max-width: 100%;
}

/*icon類*/
.view .gm-table--normal.icon th img{
   width:clamp(28px, 5vw, 32px);
}

/*一般類*/
.view .gm-table--normal th {
    padding:8px;
}

/*跳出文字類*/
.view .gm-table--row th{
    width: 30%;
}
.view .gm-table--row th img{
   /* width:clamp(110px, 15vw, 220px); */
   width: auto;
}

/*dutysupport頁面的表格設定*/

.duty_support .gm-table--normal tr th{
 width: 75%;
}
}
.view .gm-table--normal.icon th{
 width: 12%; min-width: 85px; text-align: center;
}

/*pp頁面表格設定*/
.pp .gm-table--normal th span{
    display: inline-block;
}
@media(hover) {

    .game_manual main .coming_soon:hover::after {
        opacity: 1;
    }

    .game_manual .gm-navi__link dd.coming_soon:hover::after {
        opacity: 1;
    }

    .game_manual .gm-navi__link dd.coming_soon:hover>a {
        filter: brightness(0.88);
    }
}

@media (max-width:1000px) {
    .gm-top__list {
        --list_gap: calc(var(--block-margins-s) * 1.4);
    }
}

@media (max-width:959px) {
    .l__footer {
        min-width: 0;
        width: 100%;
    }

    .l__footer__inner {
        width: auto;
        max-width: 960px;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }
}

@media (max-width:767px) {
    :root {
        --normal-txt-size: clamp(0.9rem, 1vw, 1rem) !important;
    }

    .game_manual .gm-navi__link dd.coming_soon::after {
    opacity: 1;
}
}

@media (max-width:600px) {
    .gm-header img.topic {
        width: 80%;
        max-width: 250px;
    }

    .gm-header img.l {
        display: none;
    }

    .gm-header img.s {
        display: block;
    }

    .gm-column {
        max-width: 550px;
        flex-direction: column;
        align-items: center;
    }

    img.gm-img {
        margin: 0 auto;
        margin-bottom: 0;

    }

    .gm-column--50 {
        width: 100%;
        margin: 0 auto 1rem !important;
    }
}

@media (max-width:499px) {
 
.gm-header__link {
    width: 98%;
}
/*跳出文字類*/
.view .gm-table--row th{
    border: none;
}
/* 
.gm-box {
    width: 100%;
} */
    /*首頁設定 搜尋bar換到內容的最上方*/
    .game_manual.index .gm-index {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .gm-top__search__wrapper {
        order: 1;
        background: #0e438c;
        padding: 8px 10px;
        margin-bottom: 12px;
    }

    .game_manual.index .gm-index .gm-top__search {
        width: 100%; margin: 0.5rem auto;
    }

    .game_manual.index .gm-index .foreword_box {
        order: 2; width: 90%;  
        margin: 0 auto;
    }

    .game_manual.index .gm-index .list_box {
        order: 3; width: 90%;  
        margin: 0 auto;
    }

    .game_manual.index .gm-index .gm-top__links {
        order: 4; width: 90%;  
        margin: 0 auto;
    }

    #gm-header_embed {
        z-index: 100;
    }
    .gm-header img.topic {
    max-width: 250px;
    height: auto;
   aspect-ratio: 277/143;
}

.gm-title {
    text-align: left;
}

    /*小版時內頁更換順序*/
    .game_manual #header_embed {
        order: 1;
    }

    #gm-header_embed,
    .game_manual.index .gm-header {
        order: 3;
    }

    .gm-breadcrumb__wrapper {
        order: 2;
    }

    .game_manual main {
        order: 4;
    }
 #go_top_embed{
        order: 7;
 }
    #sns_embed {
        order: 5;
    }

    footer.block_content {
        order: 6;
    }

    .gm-breadcrumb__inner {
        opacity: 1;
    }

    .gm-main {
        padding-top: 0;
    }

    .gm-top__list li,
    .gm-top__links__list li {
        width: 100%
    }
}
@media (max-width:380px) {
    .gm-platform dt{display: none;}
}
@media (max-width:320px) {
/*pp頁面表格設定*/
/* .pp .gm-table--normal th span{
    display: inline;
} */
.pp .gm-table--normal th{
    border-right: 0; background-color: #e6e6e6;
}
.pp .gm-table--normal tr:last-child th{
    border-bottom: 1px solid #404040;
}
/* .pp .gm-table--normal{
    border-left: 1px solid #404040;
    border-top: 1px solid #404040;
} */
.pp .gm-table--normal th, .pp .gm-table--normal td{
width: 100%; display: block;
}
}
