html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}
* {
    -webkit-tap-highlight-color: transparent;
}  
body {
    background: url("./images/bg.png");
    background-position: center;
    overscroll-behavior: none;
    background-size: cover;
    width: 100%;
    height: max-content;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    font-family: "Helvetica Neue", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo UI", "Meiryo", "sans-serif";
    margin: 0;
    padding: 0;

    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation; /* 禁用双指缩放 */
    -webkit-text-size-adjust: 100%;
    overscroll-behavior: none;
}

.toolbars {
    position: fixed;
    right: 76px;
    top: 51px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 100px);
    width: 220px;
}

.toolbars .item {
    position: relative;
}
.toolbars .item h1 {
    color: #FFF;
    text-align: right;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    justify-content: flex-end;
}
.toolbars .item h1:first-child {
    font-style: italic;
    font-size: 28px;
}
.toolbars .item:hover h1:first-child{
    background: linear-gradient(90deg, #6034FF 0%, #E9A0FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.toolbars .item.active h1:first-child {
    background: linear-gradient(90deg, #6034FF 0%, #E9A0FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.main {
    width: 465px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}
.main img {
    object-fit: cover;
    width: 100%;
    height: auto;
    line-height: 0;
    font-size: 0;
    display: block;
    margin: 0;
    padding: 0;
}
.toolbars .share-view {
    background-image: url("./images/share_bg.svg");
    width: 200px;
    height: 80px;
    position: absolute;
    right: 50px;
    top: -15px;
    
    filter: drop-shadow(0px 1px 8px 0px rgba(0, 0, 0, 0.15));
}
.toolbars .share-view {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 46px 0 24px;
    box-sizing: content-box;
    display: none;
}
.toolbars .share-view div.button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 100%;
    gap: 4px;
}
.toolbars .share-view div.button:hover span {
    color: #FD502A;
}
.toolbars .share-view div.button {
    color: #666;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    cursor: pointer;
}
.toolbars .share-view div.button span.icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toolbars .share-view div.button img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
}
.toolbars .share-view div.twitter span.icon {
    background: #000;
}
.toolbars .share-view div.twitter img {
    width: 24px;
    height: 24px;
}
.toolbars .share-view div.line span.icon {
    background: #00B900;
}
.toolbars .share-view div.line img {
    width: 20px;
    height: 20px;
}
.toolbars .share-view div.link span.icon {
    background: #FD502A;
}
.toolbars .share-view div.link img {
    width: 20px;
    height: 20px;
}
.toolbars .share:hover .share-view {
    display: flex;
}
.toolbars .share-view:hover {
    display: flex;
}
.hidden {
    display: none;
}

.header {
    display: none;
}

.neopage.first {
    position: fixed;
    width: calc(50vw - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh);
}
.neopage.first img {
    width: 274px;
    height: 205px;
}

section.main .wrap {
    position: relative;
    width: 100%;
    height: auto;
    display: inline-block;
    z-index: 1;
    font-size: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
}
section.main .hotspot {
    position: absolute;
    width: 70%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    bottom: 16.5%;
    left: 50%;
    transform: translateX(-50%);
    /* background: red; */
    opacity: 0.3;
}
section.main #news .hotspot.text {
    bottom: 14%;
    width: 75%;
    aspect-ratio: 16 / 2;
}
section.main #new_release .hotspot.banner-1 {
    width: 87%;
    bottom: 73%;
}
section.main #new_release .hotspot.banner-2 {
    width: 87%;
    bottom: 41%;
}
section.main #new_release .hotspot.banner-3 {
    width: 87%;
    bottom: 9%;
}
section.main #message .hotspot.banner-1 {
    width: 80%;
    bottom: 39%;
    aspect-ratio: 22 / 3;
}
section.main #special_gift .hotspot.banner-1 {
    width: 80%;
    bottom: 14%;
    aspect-ratio: 27 / 4;
}
section.main .media {
    background: url('./images/media.png');
    background-position: center center;
    background-size: cover;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}
section.main #event .tabs {
    display: flex;
    align-items: center;
    cursor: pointer;
}
section.main #event .hotspot.banner-1 {
    width: 86%;
    bottom: 7%;
}
section.main #event .hotspot.banner-2 {
    width: 86%;
    bottom: 23%;
}

.share-view.mobile {
    display: none;
}



body.disable-scroll {
    overflow: hidden!important;
}

.backtotop {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 665px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 100;
    pointer-events: none;
    display: none;
}
.backtotop img {
    width: 54px;
    height: 54px;
    pointer-events: visible;
    cursor: pointer;
    margin: 24px;
}

@media (max-width: 1099px) { 
    .toolbars, .neopage.first {
        display: none;
    }
    .main {
        width: 100%;
    }
    .header {
        display: flex;
        position: fixed;
        top: 0;
        max-width: 100%;
        width: 100%;
        max-width: 465px;
        height: 48px;
        display: flex;
        align-items: center;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }
    .header img.neopage {
        width: 92px;
        height: 24px;
        left: 16px;
        top: 13px;
        position: absolute;
    }
    .header img.menu {
        right: 16px;
        position: absolute;
        top: 10px;
    }
    .header img.share {
        right: 62px;
        position: absolute;
        top: 10px;
    }
    section.main {
        margin-top: 48px;
        max-width: 465px;
    }
    .header .menus {
        
        position: fixed;
        top: 0;
        max-width: 100%;
        width: 100%;
        height: calc(100vh);
        align-items: center;
        left: 50%;
        background: rgba(22, 25, 43, 0.85);
        backdrop-filter: blur(2px);
        padding: 50px 53px;
        box-sizing: border-box;

        transform: translateX(-50%) scale(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        opacity: 0;
        touch-action: none; /* 防止 iOS 弹性滚动 */
    }
    .header .menus.show {
        display: flex;
        opacity: 1;
        transform: translateX(-50%) scale(1);
        pointer-events: auto;
    }
    .header .menus {
        align-items: flex-end;
        flex-direction: column;
        gap: 26px;
    }
    .header .menus h1,
    .header .menus h2 {
        margin: 0;
    }
    .header .menus h1 {
        color: #FFF;
        font-size: 28px;
        font-style: italic;
        font-weight: 400;
        line-height: 150%;
    }
    .header .menus h2 {
        color: #FFF;
        font-size: 12px;
        font-style: normal;
        font-weight: 300;
        line-height: 150%;
        text-align: right;
    }
    .header .menus img.close {
        position: absolute;
        right: 24px;
        top: 24px;
    }
    .share-view.mobile {
        position: fixed;
        max-width: 100%;
        width: calc(100vw);
        /* top: 0; */
        background: #FFF;
        height: 100px;
        border-radius: 6px;
        left: 50%;

        background: rgba(22, 25, 43, 0.85);
        backdrop-filter: blur(2px);
        /* position: absolute; */
        width: calc(100vw);
        height: calc(100vh);
        box-sizing: border-box;
        left: 50%;
        opacity: 0;
        bottom: 0;
        top: unset;
        /* display: none; */

        transform: translateX(-50%);
        /* transition: transform 0.3s ease; */
        backdrop-filter: none;
        display: none;
        /* display: flex; */
        /* opacity: 1; */
        /* inset: 0; */
    }
    .share-view.mobile.show {
        opacity: 1;
        display: flex;
        transform: translateX(-50%);
        box-sizing: border-box;
        /* border: 2px solid red; */
        position: fixed;
        bottom: 0;
        top: unset;
        z-index: 1000;
        max-width: 465px;
        /* height: calc(100vh - 62px); */
    }
    .share-view.mobile .mask {
        /* position: absolute; */
        width: 100%;
        height: calc(100vh);
        left: 0;
        /* transform: translateX(-50%); */
        /* top: -100px; */
        z-index: -1;
        opacity: 0;
        touch-action: none; /* 防止 iOS 弹性滚动 */
        /* transition: opacity 0.3s ease; */
        /* display: inline-block; */
    }
    .share-view.mobile .mask.show {
        opacity: 1;
        display: block;
    }
    .share-view.mobile {
        box-sizing: content-box;
        z-index: 100;
        /* display: none; */

        /* transform: translateX(-50%) scale(0); */
        /* transition: opacity 0.3s ease, transform 0.3s ease; */
    }
    .share-view.mobile .share-content {
        background: #FFF;
        width: 100%;
        height: 237px;
        position: absolute;
        /* top: calc(50vh); */
        bottom: 0;
        /* bottom: env(safe-area-inset-bottom, 0); */
        border-radius: 20px 20px 0px 0px;
        opacity: 0;
        transition: transform 0.3s ease;
        transform: translateY(100%);
        box-sizing: border-box;
        /* inset: 0; */
        /* outline: none; */
    }
    .share-view.mobile.show .share-content {
        transform: translateY(0%);
        opacity: 1;
    }
    .share-view.mobile .buttons {
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 100;
        max-width: 100%;
        width: 465px;
        background: #FFF;
        margin: 20px auto;
        height: 80px;
        border-radius: 4px;
        box-sizing: border-box;
        /* position: absolute; */
        /* left: 50%; */
        /* transform: translateX(-50%); */
        /* top: 20px; */
        filter: drop-shadow(0px 1px 8px 0px rgba(0, 0, 0, 0.15));
        
    }
    .share-view.mobile div.button {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border-radius: 100%;
        gap: 10px;
        width: 100%;
    }
    .share-view.mobile div.title {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        height: 26px;
        color: #666;
        font-size: 14px;
        font-weight: 700;
    }
    .share-view.mobile div.close {
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: none;
        color: #666;
        font-size: 14px;
        font-weight: 400;
        border-top: 1px solid rgba(0,0,0,.05);
        border-radius: 0;
    }
    .share-view.mobile div.button {
        color: #666;
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        cursor: pointer;
    }
    .share-view.mobile div.button span.icon {
        width: 48px;
        height: 48px;
        display: inline-block;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .share-view.mobile div.button img {
        width: 48px;
        height: 48px;
        border-radius: 100%;
    }
    .share-view.mobile div.twitter span.icon {
        background: #000;
    }
    .share-view.mobile div.twitter img {
        width: 24px;
        height: 24px;
    }
    .share-view.mobile div.line span.icon {
        background: #00B900;
    }
    .share-view.mobile div.line img {
        width: 20px;
        height: 20px;
    }
    .share-view.mobile div.link span.icon {
        background: #FD502A;
    }
    .share-view.mobile div.link img {
        width: 20px;
        height: 20px;
    }
    .backtotop {
        width: 465px;
        max-width: 100%;
    }
}