@charset "utf-8";

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

html {
    font-size: 62.5%;
    overscroll-behavior: none;
}

body {
    font-family: "Shorai Sans StdN Medium", "Noto Sans JP Medium", "Noto Sans JP", sans-serif;
    background-color: #f7f9fb;
    color: #333333;
    overflow-x: hidden;
    overscroll-behavior: none;
    width: 100%;
}

/* ローディング画面のスタイル */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 2.0s ease, visibility 2.0s ease;
}

.loading-screen.is-loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-video {
    width: 80%;
    max-width: 600px;
    height: auto;
    border: none;
    outline: none;
    background-color: #ffffff;
    /* clip-path: inset(4px); */
    /* エンコードアーティファクト対策を以下の方法に変更 */
    transform: scale(1.02);
    mix-blend-mode: multiply;
    box-shadow: inset 0 0 0 3px #ffffff;
}

@media (min-width: 769px) {
    .loading-video {
        width: 65vw;
        max-width: 1200px;
    }
}

.wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3.2rem;
    text-align: center;
}

.page__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.card__list {
    width: 31%;
    margin: 0 auto;
    display: flex;
}

.card__item {
    display: flex;
    margin-bottom: 3.2rem;
    position: relative;
}

.card__title {
    font-size: 1.4rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    position: absolute;
    left: -70%;
}

.thumbnail__link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.thumbnail__link:hover {
    transform: translateY(-4px);
}

.thumbnail__inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.design__image {
    display: flex;
    flex-direction: column;
    gap: 6.4rem;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto;
}

.image-wrap,
.main-image,
.footer-image {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.image-wrap {

    clip-path: inset(-500px 0 -500px 0);
}

.main-image img,
.footer-image img {
    width: 100%;
    display: block;
}

.design__image img {
    width: 100%;
    display: block;
}

.character {
    width: 100%;
    max-width: 170px;
    position: absolute;
    top: 36%;
    left: 70%;
    transform: translate(-50%, -50%);
    z-index: 50;
}

@media (min-width: 769px) {
    .character {
        left: 86%;
        top: 43%;
        z-index: 51;
    }

}

.character-name {
    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    text-align: center;
    margin-left: 0;
    margin-top: 1.2rem;
}


.character.interaction,
.is-english .character.interaction {
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 89.9%;
    gap: 1.6rem 0;
    max-width: none;
    width: 44%;
}

.is-english .character.interaction {
    top: 89.4%;
}


.character.ride {
    top: 59%;
    left: 29%;
    max-width: 130px;
}

.is-english .character.ride {
    top: 56%;
    left: 29%;
    max-width: 130px;
}

@media (min-width: 769px) {

    .character.ride {
        top: 52%;

    }

    .is-english .character.ride {
        top: 56%;
    }
}


img.line-svg {
    position: absolute;
    top: 2.5%;
    left: 17.5%;
    width: 81.4%;
    z-index: 24;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.is-english img.line-svg {
    top: 2.9%;
    width: 79.6%;
}


@media screen and (min-width:769px) {
    img.line-svg {
        top: 7.5%;
        left: 28%;
        width: 73.5%;
        z-index: 50;
    }

    .is-english img.line-svg {
        top: 7.5%;
        width: 78%;
    }
}


img.line-svg.is-started {
    opacity: 1;
}

.interactive {
    position: absolute;
    top: 72%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1.6rem;
    padding: 13% 2rem;
    box-sizing: border-box;
    z-index: 2;
    width: 80%;
    overflow: hidden;
}

@media (min-width: 769px) {
    .interactive {
        padding: 7% 2rem;
    }
}

.interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
    transform: translateX(-100%);
}

.interactive.is-visible::before {
    transform: translateX(0);
    transition: transform 0.8s ease;
}

.is-english .interactive {
    top: 71%;
}

@media (min-width: 769px) {
    .is-english .interactive {
        top: 68.4%;
        width: 100%;
    }
}

.interactive-image {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.interactive-image img:not(.cursor-image) {
    border-radius: 1.2rem;
    display: block;
    width: 100%;
}

.interactive-image-txt {
    font-size: clamp(1.6rem, 0.5vw + 1.4rem, 2.0rem);
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin-top: 1.6rem;
}

@media (min-width: 769px) {
    .interactive-image-txt {
        font-size: clamp(1.6rem, 2.38vw - 0.23rem, 2.4rem);
    }

}

.background {
    background-color: #137371;
}

.background-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    background-color: #137371;
}

.background-txt {
    position: absolute;
    width: 80%;
    left: 10%;
    text-align: left;
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 0.5vw + 1.4rem, 2.0rem);
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
    z-index: 2;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.6);
}

.background-txt-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: block;
}

.background-txt.is-visible .background-txt-inner {
    opacity: 1;
    transform: translateY(0);
}

.background-txt-inner_bk {
    color: #000000;
    text-shadow: none;
}

p.background-txt:nth-of-type(1) {
    top: 1%;
    width: max-content;
}

.is-english p.background-txt:nth-of-type(1) {
    top: 2%;

}

@media (min-width: 769px) {
    p.background-txt:nth-of-type(1) {
        top: 4%;
    }

    .is-english p.background-txt:nth-of-type(1) {
        top: 4%;
        width: 90%;
    }

    .is-english .background.green .inner-container>p.background-txt:nth-of-type(1) {
        width: 100%;
        max-width: none;
    }
}



p.background-txt:nth-of-type(2) {
    top: 21%;
}

@media (min-width: 769px) {
    p.background-txt:nth-of-type(2) {
        top: 22%;
    }

    .background-txt {
        font-size: clamp(1.6rem, 2.38vw - 0.23rem, 2.4rem);
    }
}

.is-english p.background-txt:nth-of-type(2) {
    top: 13%;
}

.is-english .background-wrap p.background-txt:nth-of-type(2) {
    width: 64%;
    /* この特定のテキストのみ、軌道に被らないように横幅を狭める */
}

@media (min-width: 769px) {
    .is-english .background-wrap p.background-txt:nth-of-type(2) {
        width: 50%;
    }

    .is-english p.background-txt:nth-of-type(2) {
        top: 23%;
    }
}

p.background-txt:nth-of-type(3) {
    top: 45%;
}

.is-english p.background-txt:nth-of-type(3) {
    top: 40%;
}

@media (min-width: 769px) {
    p.background-txt:nth-of-type(3) {
        top: 30%;
    }

    .is-english p.background-txt:nth-of-type(3) {
        width: 73%;
    }

    .is-english p.background-txt:nth-of-type(3) {
        top: 33%;
    }

    /* キャラクター下のテキストを「Our theme is...」と同じ左端（10%）にピッタリ揃え、幅も合わせる */
    .is-english .background.green .inner-container>p.background-txt:nth-of-type(3) {
        top: 43%;
        left: 10%;
        transform: none;
        width: 100%;
        text-align: left;
    }
}

p.background-txt:nth-of-type(4) {
    top: 53%;
}

.is-english p.background-txt:nth-of-type(4) {
    top: 48%;
}

@media (min-width: 769px) {
    p.background-txt:nth-of-type(4) {
        top: 42%;
    }

    .is-english p.background-txt:nth-of-type(4) {
        width: 55%;
    }

    .is-english p.background-txt:nth-of-type(4) {
        top: 47%;
    }

}

p.background-txt:nth-of-type(5) {
    top: 63%;
}

.is-english p.background-txt:nth-of-type(5) {
    top: 60%;
    max-width: 350px;
}

@media (min-width: 769px) {

    p.background-txt:nth-of-type(5) {
        top: 58%;
    }

    .is-english p.background-txt:nth-of-type(5) {
        top: 60%;
        width: 57%;
    }
}

p.background-txt:nth-of-type(6) {
    top: 83.3%;
    text-align: center;
}

.is-english p.background-txt:nth-of-type(6) {
    top: 81%;
    width: 80%;
    text-align: center;
}

@media (min-width: 769px) {
    .is-english p.background-txt:nth-of-type(6) {

        top: 84%;
    }
}

p.background-txt:nth-of-type(7) {
    top: 95%;
}

.is-english p.background-txt:nth-of-type(7) {
    top: 95.6%;
    width: 80%;
}

@media (min-width: 769px) {
    .is-english p.background-txt:nth-of-type(7) {
        text-align: center;
        width: 100%;
        top: 96.7%;
    }
}

.interactive-green {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.2s ease;
}


.interactive-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.interactive-green.is-hidden {
    opacity: 0;
}

.interactive-red.is-visible {
    opacity: 1;
}

.design__btn {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.design__btn-back {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    background-color: #0067d6;
    width: 100%;
    padding: 2.4rem 0;
    margin-bottom: 6.4rem;
    border: none;
    border-radius: 0.8rem;
    transition: background-color 0.25s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.design__btn-back:hover {
    background-color: #01ad6e;
}

.sp-only {
    display: block;
}

.pc-only {
    display: none;
}

/* Media queries have been unified to min-width at the bottom of the file */

.design__image,
.image-wrap,
.main-image,
.footer-image {
    width: 100%;
}

.design__btn,
.design__btn-back {
    width: 100%;
}

/* PC rules moved to the bottom of the file */

.background.green {
    background-color: #137371;
    position: relative;
    padding-bottom: 6.4rem;
    margin-top: -1px;
    /* Ensure top spacing is maintained */
}

@media (min-width: 769px) {
    .background.green {
        padding-bottom: 6.4rem;
    }
}

.background.green .inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6.4rem;
}

.background.green .background-txt {
    position: static;
    width: 90%;
    text-align: left;
    margin: 0 auto;
    line-height: 2;
    text-shadow: none;
    /* override default */
}

@media screen and (min-width: 769px) {

    .background.green .background-txt {
        margin: 0;
        width: 100%;
    }
}

.background.green .intro-wrap {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
    width: 100%;
}

.background.green .intro-wrap .background-txt.pavilion {
    position: static;
    width: 80%;
    margin: 0 auto;
}

.background.green .title-logo {
    position: static;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    transform: none;
}

.background.green .title-logo img {
    width: 100%;
    display: block;
}

.background.green .character-logo {
    position: static;
    width: 180px;
    margin: 0 auto;
    transform: none;
}

.background.green .character-logo img {
    width: 100%;
    display: block;
}

.background-txt.ride {
    top: 0%;
    left: 0%;
    width: 100%;
}

.character-name {
    position: relative;
    z-index: 1;
    max-width: 280px;
    min-width: 200px;
    flex-shrink: 0;
}

.is-english .character-name {
    min-width: 250px;
}

.character-title {
    display: block;
    font-size: clamp(1.1rem, 1.2vw, 1.4rem);
    font-weight: normal;
    line-height: 1.4;
}

.character-name-inner {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: block;
    width: 100%;
}


.character-name.is-visible .character-name-inner {
    opacity: 1;
    transform: translateX(0px);
}

.character-mina {
    font-family: "Shorai Sans StdN Medium", "Noto Sans JP Medium", "Noto Sans JP", sans-serif;
}

.footer-custom {
    width: 100%;
}

.footer-custom-green {
    background-color: #137371;
    padding: 6.4rem 0 6.4rem;
    text-align: center;
}

.footer-custom-white {
    background-color: #ffffff;
    padding: 4.8rem 0 2.4rem;
    text-align: center;
}

.footer-custom p.footer-txt {
    text-align: center;
    font-weight: bold;
    margin: 0 auto;
    width: 80%;
    position: static;
    text-shadow: none;
}

.footer-custom-green p.footer-txt .background-txt-inner {
    color: #fff;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.footer-custom-white p.footer-txt .background-txt-inner {
    color: #000;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.footer-custom-logos {
    text-align: center;
    margin-top: 4.8rem;
}

.footer-custom .footer-custom-title {
    width: 260px;
    display: block;
    margin: 0 auto 1.6rem;
}

.footer-custom .footer-custom-character {
    width: 120px;
    display: inline-block;
}

.footer-expo-logo-wrap {
    margin-top: 4.8rem;
}

@media (min-width: 769px) {
    .footer-expo-logo-wrap {
        margin-top: 8rem;
    }
}

.footer-expo-logo-inner {
    display: block;
    position: relative;
    text-align: left;
    width: 80%;
    max-width: 340px;
    margin: 0 auto;
}

.footer-custom .footer-expo-logo {
    width: 100%;
    display: block;
}

.footer-copyright-main {
    display: block;
    font-size: 1rem;
    color: #000;
    margin-top: 1.6rem;
    line-height: 1;
}

.footer-expo-copyright {
    display: block;
    font-size: 1rem;
    color: #000;
    margin-top: 2.4rem;
    line-height: 1;
}

.footer-expo-copyright-sub {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.8rem;
    line-height: 1.4;
}

.footer-expo-date {
    color: #005aaa;
    font-weight: bold;
    font-size: 1.8rem;
    margin-top: 1.2rem;
    letter-spacing: 0.1em;
}

@media (min-width: 769px) {
    .footer-custom-green {
        padding: 8rem 0 8rem;
    }

    .footer-custom-white {
        padding: 6.4rem 0 2rem;
    }

    .footer-custom-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3.2rem;
        margin-top: 6.4rem;
    }

    .footer-custom .footer-custom-title {
        width: 280px;
        margin: 0;
    }

    .footer-custom .footer-custom-character {
        width: 140px;
        margin: 0;
    }

    .footer-expo-logo-inner {
        width: 60%;
        max-width: 640px;
    }

    .footer-copyright-main {
        font-size: 1.2rem;
        margin-top: 3.2rem;
    }

    .footer-expo-copyright {
        font-size: 1.2rem;
        margin-top: 4rem;
    }

    .footer-expo-copyright-sub {
        font-size: 1rem;
        margin-top: 1.2rem;
    }

    .footer-expo-date {
        font-size: 2.2rem;
    }
}


.page-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 100;
    padding: 1.6rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.8s ease-in-out;
}

.page-header.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.header-logo {
    margin: 0;
    text-align: left;
    max-width: 65%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    z-index: 100;
    flex-shrink: 0;
}

.lang-switch__item {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lang-switch__item:hover {
    color: #fff;
}

.lang-switch__item.is-active {
    color: #fff;
    pointer-events: none;
}

.lang-switch__sep {
    color: #999;
    font-weight: normal;
}

.header-logo img {
    max-width: 240px;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 12px 20px;
    /* 白背景が綺麗に見えるように少し余白を持たせます */
}

/* 英語版ロゴ画像の上下の余白（高さ）を日本語版と合わせるための調整 */
.is-english .header-logo img {
    padding: 15px 20px;
}

.footer-logo-link {
    display: block;
    margin: 0 auto 0.8rem;
    text-align: center;
}

.footer-custom .footer-logo-img {
    width: 80%;
    max-width: 340px;
    margin: 0 auto;
}

@media (min-width: 769px) {

    .footer-logo-link {
        margin: 0 auto 3.2rem;
    }

    .footer-custom .footer-logo-img {
        width: 60%;
        max-width: 640px;
    }
}

.inner-container {
    width: 100%;
    margin: 0 auto;
}

.abs-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* --- PC Layout (Desktop First -> Mobile First) --- */
@media (min-width: 769px) {
    h1 {
        font-size: 4.8rem;
    }

    .page-header {
        max-width: 1200px;
        width: 83.333%;
        padding-left: 0;
        padding-right: 0;
    }

    .card__title {
        font-size: 4rem;
    }

    .sp-only {
        display: none !important;
    }

    .pc-only {
        display: block !important;
    }

    .inner-container {
        max-width: 1200px;
        width: 83.333%;
    }

    .main-image {
        width: 100%;
        max-width: 100%;
    }

    .background-wrap {
        max-width: 1200px;
        width: 83.333%;
        margin: 0 auto;
    }

    .background-txt {
        left: 0;
        width: 100%;
    }

    /* The background-txt font-size now uses a fluid clamp() */

    .background-txt.ride {
        position: relative;
        width: 100%;
        margin-bottom: -10%;
    }

    .background.green .intro-wrap {
        align-items: center;
        width: 100%;
        margin: 0 auto;
        padding-top: 10%;
        gap: 4rem;
    }

    .background.green .intro-wrap .intro-text-col {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
        width: 100%;
    }

    .interactive {
        width: 80%;
        top: 65%;
    }

    .interactive-image {
        width: 80%;
        padding: 9% 0 0;
    }
}

p.background-txt:nth-of-type(6) {
    top: 83%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    text-align: left;
}

@media (min-width: 769px) {
    p.background-txt:nth-of-type(6) {
        top: 81%;
        text-align: center;
    }
}

@media (min-width: 769px) {

    .is-english .character.interaction {
        top: 92.5%;

    }

    .character.interaction {

        flex-direction: row;
        top: 88.8%;
        width: 30%;
        max-width: 260px;

    }

    .is-english .character.interaction {
        flex-direction: row;
        top: 92%;
        width: 30%;
        max-width: 260px;
    }

    .character-name {
        margin-left: 1.2rem;
        width: 25vw;
        max-width: 320px;
        min-width: 216px;
    }

    .character-name-inner {
        /* inherited width: 100% */
    }
}

.character-name {
    margin-top: 0;
}




p.background-txt:nth-of-type(7) {
    top: 95.4%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    text-align: center;

}

@media (min-width: 769px) {
    p.background-txt:nth-of-type(7) {
        top: 93.8%;

    }
}

.is-english .footer-image p.background-txt.footer-txt:nth-of-type(3) {
    width: 90%;
    max-width: 800px;
    left: 50%;
    transform: translateX(-50%);
}

.page-footer {
    padding: 1.6rem 0;
    text-align: center;
    background-color: #fff;
}

.page-footer .copyright {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 500;
}

/* --- Video Banner & Modal (Plan A) --- */
.background.green .video-banner-wrap {
    margin: 6.4rem auto 3.2rem;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.video-banner-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-banner-btn:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

.video-banner-btn img {
    width: 100%;
    display: block;
}

/* Modal Base */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    z-index: 10000;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.video-modal[aria-hidden="false"] .video-modal-content {
    transform: translateY(0);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.video-modal-iframe-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background-color: #000;
}

.video-modal-iframe-wrap video,
.video-modal-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 769px) {
    .background.green .video-banner-wrap {
        margin: 0;
        text-align: left;
        width: auto;
    }
}

.interactive .background-txt {
    position: static;
    transform: none;
    text-align: center;
    width: 100%;
    left: auto;
    top: auto;
}

/* Character Badge Styles */
.badge-container {
    position: relative;
    width: 100%;
}

.badge-bg {
    width: 100%;
    display: block;
}

.badge-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: "Shorai Sans StdN Demi", "Noto Sans JP", sans-serif;
    line-height: 1.3;
}

.badge-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0%;
    text-align: center;
}

.badge-name {
    font-size: 4.2rem;
    font-weight: 600;
}

@media (min-width: 769px) {
    .badge-title {
        font-size: clamp(1.4rem, calc(1.05rem + 0.36vw), 1.6rem);
    }

    .badge-name {
        font-size: clamp(4.2rem, calc(0.29rem + 5.1vw), 6.4rem);
    }
}