/* Hello Kitty 50週年特展 - 自訂樣式 */

/* 字體定義 - GenJyuu (源柔體) */
@font-face {
    font-family: 'GenJyuu';
    src: url('../fonts/300.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GenJyuu';
    src: url('../fonts/400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GenJyuu';
    src: url('../fonts/500.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GenJyuu';
    src: url('../fonts/700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GenJyuu';
    src: url('../fonts/900.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Q&A 區塊樣式 */
.qa-text-block {
    font-size: calc(1rem - 1.5pt);
}

.qa-text-block p {
    line-height: calc(1.625 + 2px);
}

@media (min-width: 768px) {
    .qa-text-block {
        font-size: calc(1rem + 0.5pt);
    }

    .qa-text-block p {
        line-height: calc(1.625 + 7px);
    }
}

/* 注意事項區塊樣式 */
.notice-text-block {
    font-size: calc(1rem - 2.25pt);
}

@media (min-width: 768px) {
    .notice-text-block {
        font-size: calc(1rem - 0.25pt);
    }
}

/* 平滑滾動 */
html {
    scroll-behavior: smooth;
}

/* 選單動畫 */
#mobileMenu {
    transition: opacity 300ms ease-in-out;
}

#mobileMenu.show {
    display: block !important;
    opacity: 1 !important;
}

/* 確保影片在所有瀏覽器正常播放 */
video {
    object-fit: cover;
}
