@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

#mainBlock {
    background-color: black;
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}

#mainBlock * {
    box-sizing: content-box !important;
}

.tab-content ul {
    padding: 0 !important;
    margin: 0 !important;
}

a {
    text-decoration: none !important;
}

button {
    border: 0;
    background: transparent;
}

div.header {
    width: 100%;
    height: 100vh;
    background: url(../../../../images/ja/main/pc/header_bg.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    position: fixed;
    top: 45px;
    left: 5%;
    width: 15%;
    max-width: 200px;
    z-index: 999;
}

.icon_12 {
    position: absolute;
    left: 4px;
    bottom: 4px;
    width: 3vw;
}

.nav_sns {
    position: fixed;
    right: 3%;
    top: 30vh;
    width: 5vw;
    z-index: 99;
}

.nav_sns img {
    width: 100%;
    margin: 5% 0;
    filter: drop-shadow(0 0 2px white) drop-shadow(0 0 6px white) drop-shadow(0 0 10px white);
    transition: all 0.3s ease;
    /* 平滑動畫 */
}

.nav_sns img:hover {
    transform: translateY(-3px);
    /* 向上位移一點 */
}

.nav_bar {
    position: fixed;
    width: 90%;
    padding: 1% 5%;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    font-style: normal;
    color: white;
    display: flex;
    justify-content: flex-end;
    font-size: 1.5rem;
    z-index: 99;
}

.nav_bar img {
    height: 2vw;
    padding: 0 0.5%;
}

.nav_bar ul {
    display: flex;
    padding-right: 1%;
}

.nav_bar li {
    transition: all 0.3s ease;
    /* 平滑動畫 */
    display: flex;
    align-items: center;
}

.nav_bar a {
    color: #ffffff;
    transition: all 0.3s ease;
    /* 平滑動畫 */
    display: inline-block;
}

.nav_bar a:hover {
    color: #6988c0;
    transform: translateY(-3px);
    /* 向上位移一點 */
}

.nav_bar ul {
    margin-bottom: 0;
}

.noshow {
    display: none;
}

.header_dl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35%;
    margin: 0 0 2%;
}

.header_dl a img {
    width: 95%;
    margin: 0 2%;
}

.header_dl img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.header_dl img:hover {
    animation: pop-hover 0.5s ease forwards;
}

.header_logo {
    width: 30%;
}

@keyframes pop-hover {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
        /* 先縮小 */
    }

    100% {
        transform: scale(1.05);
        /* 再放大一點點 */
    }
}

.news {
    width: 100%;
    height: 110vh;
    background: url(../../../../images/ja/main/pc/news_bg.jpg)center center no-repeat;
    background-size: cover;
    position: relative;
}

.news_title {
    width: 20%;
    margin: 0 auto;
    padding: 5% 0 0;
    display: block;
}

.news_block {
    width: 36%;
    padding: 1% 2%;
    background-color: #073966;
    border: #ffffff 1px solid;
    position: absolute;
    left: 10%;
    top: 40vh;
    color: #ffffff;
    font-weight: 300;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.news_block li {
    font-size: 1vw;
    line-height: 2vw;
    border-bottom: 1px solid lightblue;
    padding: 2px 0;
    /* 讓底線和文字之間有點間距 */
}

.tabs {
    display: flex;
    gap: 5px;
    width: 100%;
    justify-content: flex-end;
}

.tab {
    border: #ffffff 1px solid;
    background-color: #012142;
    color: #ffffff;
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    font-style: normal;
    padding: 1% 2%;
    cursor: pointer;
}

span.news_t {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    cursor: pointer;
    width: 70%;
    line-height: 3vw;
}

.news_block li a {
    display: flex;
    align-items: center;
    /* 垂直置中 */
}

.tab img {
    width: 100%;
}

.tab-content a {
    color: #ffffff;
}

.tab-content a:hover {
    color: #f4feb1;
}

a.news_pager_now span {
    color: #f9ff43;
}

/* 預設亮色 */
/*.tab1 {
    background-image: url('../../../../images/ja/main/pc/news_tag_1.png');
}

.tab2 {
    background-image: url('../../../../images/ja/main/pc/news_tag_2.png');
}

.tab3 {
    background-image: url('../../../../images/ja/main/pc/news_tag_3.png');
}

.tab4 {
    background-image: url('../../../../images/ja/main/pc/news_tag_4.png');
}*/

/* Hover 狀態（只有不是 active 才套用） */
.tab:not(.active):hover {
    background: #16568b;
}

/* Active 狀態固定暗色 */
.tab.active {
    background: #16568b;
}

/* 內容淡入淡出 */
.tab-content {
    margin-top: 2%;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.c_1 {
    color: #00deff;
}

.c_2 {
    color: #f989ff;
}

.c_3 {
    color: #97ff89;
}

.news_dot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1vw;
    font-size: 1.2rem;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.dot_arrow {
    width: 10%;
}

.news_dot img {
    width: 100%;
}

.news_dot span {
    color: #ffffff;
    margin: 0 0.4vw;
}

.news_dot span:hover {
    color: #f9ff43;
}

.story {
    width: 100%;
    height: 110vh;
    background: url(../../../../images/ja/main/pc/story_bg.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.story_in,
.battle_in,
.event_in,
.char_in {
    width: 100%;
    /* 可以調整大小，例如 80% 視窗寬度 */
    aspect-ratio: 16 / 8;
    position: relative;
}

.story_title {
    width: 23%;
    margin: 0 auto;
    padding: 5% 0 0;
    display: block;
}

.story_content {
    width: 45%;
    position: relative;
    margin-left: 5%;
    z-index: 10;
}

.story_pic_1 {
    position: absolute;
    width: 25%;
    left: 5%;
    top: 60%;
}

.story_pic_2,
.story_pic_3,
.story_pic_4 {
    position: absolute;
    width: 25%;
}

.story_pic_2 {
    top: 60%;
    z-index: 5;
    left: 33%;
}

.story_pic_3 {
    top: 45%;
    z-index: 4;
    left: 55%;
}

.story_pic_4 {
    top: 18%;
    z-index: 3;
    left: 65%;
}

.battle {
    width: 100%;
    height: 100vh;
    background: url(../../../../images/ja/main/pc/battle_bg.jpg)center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.battle_char {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}

.battle_content {
    width: 50%;
    position: relative;
    display: block;
    margin: 0 auto;
    z-index: 10;
}

.event {
    width: 100%;
    height: 100vh;
    background: url(../../../../images/ja/main/pc/event_bg.jpg)center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.event_char {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}

.event_char_2 {
    position: absolute;
    bottom: 5%;
    right: 38%;
    width: 25%;
    z-index: 2;
}

.event_content {
    width: 50%;
    position: relative;
    display: block;
    margin: 0 auto;
    z-index: 10;
}

.char {
    width: 100%;
    height: 100vh;
    background: url(../../../../images/ja/main/pc/char_bg.jpg)center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.char_title {
    width: 26%;
    margin: 0 auto;
    padding: 5% 0 0;
    display: block;
}

.char_slick {
    width: 50%;
    display: block;
    margin: 0 auto;
}

.char_slick img {
    width: 100%;
}

/* 共用樣式 */
.custom-arrow {
    position: absolute;
    top: 30%;
    width: 5vw;
    padding-bottom: 4vw;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
}

/* 左箭頭 */
.slick-prev {
    left: -50px;
    /* 視需要調整位置 */
    background: url(../../../../images/ja/main/pc/arrow_left.png);
    background-size: cover;
}

/* 右箭頭 */
.slick-next {
    right: -50px;
    /* 視需要調整位置 */
    background: url(../../../../images/ja/main/pc/arrow_right.png);
    background-size: cover;
}

/* hover 效果 */
.custom-arrow:hover {
    opacity: 1;
}

.reveal {
    opacity: 0;
    filter: blur(10px);
    transition: all 1s ease;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.5s;
}

.delay-2 {
    transition-delay: 1s;
}

.delay-3 {
    transition-delay: 1.5s;
}

.language_dropdown {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 999;
    font-style: normal;
    color: white;
}

.dropdown_toggle {
    all: unset;
    /* 把 button 的預設樣式全部清掉 */
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
/*    font-size: 1.6vw;*/
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    margin: 0;
    padding: 0;
}

ul.dropdown_menu {
    display: none;
    flex-direction: column; /* 主軸垂直（由上到下） */
    flex-wrap: wrap;        /* 允許換行（這裡是向右換行） */
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #222;
    border-radius: 6px;
    min-width: 140px;
    padding: 5px 0;
    z-index: 1000;
}

.dropdown_menu li {
    list-style: none;
}

.dropdown_menu li a {
    display: block;
    padding: 8px 12px;
    color: #fff;
    font-size: 1rem;
}

.dropdown_menu li a:hover {
    background-color: #444;
}