@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');



/* 網頁捲軸【寬度】 */
::-webkit-scrollbar {
    width: 10px;
}

/* 網頁捲軸【背景】顏色 */
::-webkit-scrollbar-track {
    background: #383838;
}

/* 網頁捲軸【把手】顏色 */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #ec5031;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* background: url(../images/web.jpg) no-repeat; */
    /* background-size: 100% auto; */
    background-color: #000000;
    font-family: "Noto Sans JP", sans-serif;
    user-select: none;
    word-wrap: break-word;
    z-index: -2 !important;

}

img {
    padding: 0;
    margin: 0;
    border: 0;
}


.section_top {
    position: relative;
    width: 100vw;
    height: 49vw;
    background: url(../images/topBg.jpg) no-repeat;
    background-size: 100% auto;
    overflow: hidden;
    z-index: 0;
}

#navbar {
  width: 100vw;
  padding: 0 1.5vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: transparent;
  color: black;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}

/* 滾動後變黑底 + 陰影 */
#navbar.scrolled {
  background-color: black;
  color: white;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.3); */
  opacity: .7;
}

.navbar {
    width: 35%;
    float: right;
}



.hover-text {
    position: relative;
    font-size: 1vw;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(to left, rgb(255, 255, 255) 50%, #ff8800 50%);
    background-size: 200% 100%;
    background-position: right;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position .5s ease;
}

.hover-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: #ff8800;
    transition: width .5s ease;
    opacity: 0;
}

.hover-text:hover {
    background-position: left;
}

.hover-text:hover::after {
    width: 100%;
    opacity: 1;
}

.topCharacter {
    position: absolute;
    margin: 0 0 0 1vw;
}

.topC01 {
    position: absolute;
    width: 61vw;
    height: 49.2vw;
    top: 0.1vw;
    left: -1vw;
    background: url(../images/topC01.png) no-repeat;
    background-size: 100% auto;
    animation: breathing 5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    transform-origin: bottom center;
}

.topC02 {
    position: absolute;
    width: 39vw;
    height: 47.45vw;
    background: url(../images/topC02.png) no-repeat;
    background-size: 100% auto;
    left: 60vw;
    top: 1.7vw;
    animation: breathing 5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    transform-origin: bottom center;
}

.topC03 {
    position: absolute;
    width: 46.7vw;
    height: 41.4vw;
    background: url(../images/topC03.png) no-repeat;
    background-size: 100% auto;
    left: 46vw;
    top: 7.8vw;
    animation: breathing 6s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    transform-origin: bottom center;
}

.topFile {
    position: absolute;
    top: 8vw;
    left: 24.3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topCards {
    width: 19vw;
    height: 22.4vw;
    background: url(../images/topCards.png) no-repeat;
    background-size: 100% auto;
}

.topTitle {
    width: 47vw;
    height: 10.8vw;
    background: url(../images/topTitle.png) no-repeat;
    background-size: 100% auto;
    margin-top: -2.5vw;
    margin-left: 3.4vw;
}

.topSubtitle {
    width: 40.6vw;
    height: 3.4vw;
    background: url(../images/topSubtitle.png) no-repeat;
    background-size: 100% auto;
}

.topLogo {
    width: 44.6vw;
    height: 6.8vw;
    background: url(../images/topLogo.png) no-repeat;
    background-size: 100% auto;
}

.sectionStory {
    position: relative;
    width: 100vw;
    height: 49vw;
    background: url(../images/storyBg.jpg) no-repeat;
    background-size: 100% auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.storyBox {
    background-color: rgba(0, 0, 0, .85);
    width: 35vw;
    height: 30vw;
    color: #ffffff;
    padding: 0 4vw;
    /* text-align: center; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.storyBox h1 {
    font-size: 1.16vw;
    font-weight: 600;
}

.storyBox p {
    font-size: .96vw;
    font-weight: 300;
}


.sectionCharacter {
    position: relative;
    width: 100vw;
    height: 49vw;
    z-index: 2;
    /* overflow: hidden; */
}

.page {
    display: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.page.active {
    display: block;
}

.page.fade-out {
  opacity: 0;
}

.page.fade-in {
  opacity: 0;
  animation: fadeIn 0.2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.characterBox01 {
    position: absolute;
    width: 100vw;
    height: 49.1vw;
    background: url(../images/characterBg01.jpg) no-repeat;
    background-size: 100% auto;
    color: #fcecbe;
}

.characterBox02 {
    position: absolute;
    width: 100vw;
    height: 49.1vw;
    background: url(../images/characterBg02.jpg) no-repeat;
    background-size: 100% auto;
    color: #ffdce0;
}

.characterBox03 {
    position: absolute;
    width: 100vw;
    height: 49.1vw;
    background: url(../images/characterBg03.jpg) no-repeat;
    background-size: 100% auto;
    color: #e7eefe;
}

.eName01 {
    position: absolute;
    left: 28.2vw;
    top: 3.8vw;
    width: 72.4vw;
    height: 25.5vw;
    background: url(../images/eName01.png) no-repeat;
    background-size: 100% auto;
    filter: sepia(100%);
    opacity: .5;
}

.eName02 {
    position: absolute;
    left: 36vw;
    top: 4.5vw;
    width: 63.5vw;
    height: 22.5vw;
    background: url(../images/eName02.png) no-repeat;
    background-size: 100% auto;
    filter: sepia(10%);
    z-index: 1;
}

.eName03 {
    position: absolute;
    left: 44vw;
    top: 3.5vw;
    width: 49vw;
    height: 20.5vw;
    background: url(../images/eName03.png) no-repeat;
    background-size: 100% auto;
    filter: sepia(10%);
    z-index: 1;
}

.name01 {
    position: absolute;
    left: 33.8vw;
    top: 3vw;
    width: 37.4vw;
    height: 12.5vw;
    background: url(../images/name01.png) no-repeat;
    background-size: 100% auto;
}

.name02 {
    position: absolute;
    left: 38vw;
    top: 5.8vw;
    width: 27.4vw;
    height: 9.5vw;
    background: url(../images/name02.png) no-repeat;
    background-size: 100% auto;
    z-index: 1;
}

.name03 {
    position: absolute;
    left: 37.5vw;
    top: 5.6vw;
    width: 26.4vw;
    height: 9.5vw;
    background: url(../images/name03.png) no-repeat;
    background-size: 100% auto;
    z-index: 1;
}

.character01 {
    position: absolute;
    left: 4.6vw;
    top: 1.2vw;
    width: 47.8vw;
    height: 47.5vw;
    background: url(../images/character01.png) no-repeat;
    background-size: 100% auto;
    animation: breathing 3.5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
}

.character02 {
    position: absolute;
    left: -1vw;
    top: 0vw;
    width: 77.5vw;
    height: 48.5vw;
    background: url(../images/character02.png) no-repeat;
    background-size: 100% auto;
    animation: breathing 3.5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    z-index: -1;
}

.character03 {
    position: absolute;
    left: -0.4vw;
    top: 0.5vw;
    width: 56.8vw;
    height: 47.5vw;
    background: url(../images/character03.png) no-repeat;
    background-size: 100% auto;
    animation: breathing 3.5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    z-index: -1;
}

@keyframes breathing {
    0% {
        -webkit-transform: scale(0.98);
        -ms-transform: scale(0.98);
        transform: scale(0.98);
    }

    60% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.98);
        -ms-transform: scale(0.98);
        transform: scale(0.98);
    }
}

.leftText {
    position: absolute;
    left: 4vw;
    top: 3vw;
    writing-mode: vertical-rl;
    text-align: center;
    letter-spacing: 0.15vw;
    font-family: "Noto Serif JP", serif;
    font-weight: 800;
    font-size: 2vw;
    text-shadow: 0vw .5vw .5vw #000, 0 0 .5vw #000, 0 .5vw 0.5vw #000, 0vw .5vw .5vw #000, 0 0 .5vw #000, 0 0 0.5vw #000;
}

.rightText {
    position: absolute;
    left: 45.3vw;
    width: 43vw;
    z-index: 2;
}

.rightText01 {
    top: 15vw;
}

.rightText02 {
    top: 17vw;
}

.rightText03 {
    top: 17vw;
}

.outline {
    font-weight: 400;
    font-size: 1.4vw;
    text-shadow: 0vw 0vw .5vw #000, 0 0 .5vw #000, 0 0 0.5vw #000;

}

.skillTitle {
    margin-top: 4vw;
    margin-left: 6.7vw;
    width: 16.5vw;
    height: 2.5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5vw;
    font-weight: 400;
}

.skillTitle01 {
    background: url(../images/skillTitleBg01.jpg) no-repeat;
    background-size: 100% auto;
}

.skillTitle02 {
    background: url(../images/skillTitleBg02.jpg) no-repeat;
    background-size: 100% auto;
}

.skillTitle03 {
    background: url(../images/skillTitleBg03.jpg) no-repeat;
    background-size: 100% auto;
}

.skill {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .75);
    margin-left: 3vw;
    padding: .5vw 1vw;
}

.skillicon {
    height: 8vw;
    margin-right: .8vw;
}

.skill p {
    font-size: .75vw;
    font-weight: 300;
    line-height: 1vw;
}

.adorn01 {
    position: absolute;
    top: -2.5vw;
    width: 100vw;
    height: 59vw;
    background: url(../images/adorn01.png) no-repeat;
    background-size: 100% auto;
    animation: adorn 5s infinite alternate;
    z-index: 1;
}

.adorn02 {
    position: absolute;
    top: -0.5vw;
    width: 100vw;
    height: 59vw;
    background: url(../images/adorn02.png) no-repeat;
    background-size: 100% auto;
    animation: adorn 5s infinite alternate;
    z-index: 1;
}

.adorn03 {
    position: absolute;
    top: -2vw;
    width: 100vw;
    height: 52.5vw;
    background: url(../images/adorn03.png) no-repeat;
    background-size: 100% auto;
    animation: adorn 5s infinite alternate;
    z-index: 1;
}

@keyframes adorn {
    0% {
        transform: translateY(1vw);
    }

    50% {
        transform: translateY(2vw);
    }

    100% {
        transform: translateY(1vw);
    }
}

.characterBtn {
    position: absolute;
    right: 3vw;
    top: 10vw;
    /* transform: translateY(-50%); */
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    /*flex間距*/
}

.characterBtn button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.characterBtn button img {
    width: 5vw;
    height: 5vw;
    filter: brightness(0.4);
    /* 預設暗 */
    transition: filter 0.3s ease;
}

.characterBtn button.active-btn img {
    filter: brightness(1);
    /* 被選的變亮 */
}

.sectionCampaign {
    position: relative;
    width: 100vw;
    height: 49vw;
    background: url(../images/campaignBg.jpg) no-repeat;
    background-size: 100% auto;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.campaignTop {
    display: flex;
    height: 20vw;
}

.topText {
    width: 43vw;
    height: 21vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2.6vw;
}

.webTopTextH1{
    display: block;
}

.mTopTextH1{
    display: none;
}

.topText h1 {
    height: 4.2vw;
    color: #ec693a;
    font-size: 2.3vw;
    font-weight: 600;
}

.topText p {
    height: 8.2vw;
    color: #fff;
    font-size: 2vw;
    text-align: center;
    line-height: 3vw;
}

.goXBtn {
    margin-top: -1vw;
    z-index: 2;
}

.goX {
    animation: moveBtn 1.6s linear infinite;
    width: 22vw;
    height: 4vw;
    margin-top: -1vw;
    z-index: 2;
}

@keyframes moveBtn {
    0% {
        transform: translate(-.2vw);
    }

    25%,
    75% {
        transform: translate(.2vw);
    }

    50%,
    100% {
        transform: translate(-.2vw);
    }
}

.campaignC {
    width: 20.6vw;
    height: 26vw;
    background: url(../images/campaignC.png) no-repeat;
    background-size: 100% auto;
    animation: breathing 2s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    transform-origin: bottom center;
    z-index: -1;
}

.campaignBottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 20vw;
    margin-top: 2.5vw;
    z-index: 5;
}

.giftBox {
    width: 60vw;
    height: 15vw;
    display: flex;
}

.campaignG {
    margin: 0 .5vw;
    height: 14.6vw;
}

.campaignG:nth-child(1) {
    background: url(../images/campaignG500.png) no-repeat;
    background-size: 100% auto;
    width: 15vw;
}

.campaignG:nth-child(2) {
    background: url(../images/campaignG1000.png) no-repeat;
    background-size: 100% auto;
    width: 15vw;
}

.campaignG:nth-child(3) {
    background: url(../images/campaignG1500.png) no-repeat;
    background-size: 100% auto;
    width: 35.6vw;
}

.storeBox {
    display: flex;
    z-index: 2
}

.googleB,
.appB {
    width: 15vw;
    height: 4.5vw;
    margin: 2vw .5vw;
}

.googleB {
    background: url(../images/storeBgoogle.png) no-repeat;
    background-size: 100% auto;
}

.appB {
    background: url(../images/storeBapp.png) no-repeat;
    background-size: 100% auto;
}

.sectionVideo {
    position: relative;
    width: 100vw;
    /* height: 49.4vw; */
    /* overflow: hidden; */
}

.mask-image {
    width: 100vw;
    display: block;
    z-index: 1;
}

.Mmask-image {
    display: none;
}

.youtube-frame {
    position: absolute;
    right: 0;
    bottom: 0%;
    width: 74vw;
    height: 49vw;
    padding-bottom: .5vw;
    z-index: -1;
    filter: brightness(80%);
    aspect-ratio: 16 / 9;
}

.youtube-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.videoC {
    position: absolute;
    width: 55.7vw;
    height: 51.4vw;
    background: url(../images/videoC.png) no-repeat;
    background-size: 100% auto;
    bottom: 0;
    animation: breathing 6s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    transform-origin: bottom center;
    z-index: 2;
}

.videoCcover {
    display: block;
    width: 98.6vw;
    /* height: 5vw; */
    position: absolute;
    right: 0;
    bottom: 0vw;
    z-index: 3;
}

.ytBtn {
    position: absolute;
    top: 3vw;
    left: 29vw;
    width: 7vw;
    height: 7vw;
    background: url(../images/ytBtn.png) no-repeat;
    background-size: 100% auto;
    animation: breathing .5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
    z-index: 2;
}