@charset "UTF-8";

/* =========================================
   1. Layout & Utilities (Mobile)
========================================= */
.section__inner {
    width: 100%;
    padding: 60px 20px;
}

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

.show-sp {
    display: block !important;
}

.show-pc {
    display: none !important;
}

/* =========================================
   2. Main Visual (Mobile)
========================================= */
.sec__mv--wrapper {
    padding: 25px 20px;
}

.sec__mv--box {
    margin-bottom: 15px;
}

.copy {
    font-size: 1.6rem;
    line-height: 2.2;
}

.logo {
    max-width: 50%;
}

.sec__mv--releasebnr {
    bottom: 25px;
    right: 20px;
    width: 35%;
    max-width: 140px;
}

/* =========================================
   3. Header & Hamburger Menu (Mobile)
========================================= */
/* ヘッダー全体をモバイルメニューより最前面に固定 */
.header {
    z-index: calc(var(--z-index-header) + 1) !important;
}

/* メニュー展開中はヘッダーの白背景を透明化し、メニューを隠さないようにする */
.header.is-menu-open {
    background-color: transparent !important;
    box-shadow: none !important;
}

.header__inner {
    padding: 15px 20px;
}

.header.is-scrolled {
    padding: 10px 20px;
}

#pcNav,
.header__sns {
    display: none !important;
}

.menu-button {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    /* ヘッダー自体が最前面に来るため、ここでのz-index操作は不要になります */
}

.menu-button__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
    background-color: var(--color-text-white);
}

.menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: var(--color-text-white);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(26, 43, 76, 0.98);
    backdrop-filter: blur(10px);
    z-index: var(--z-index-header);
    /* ヘッダーの1つ下の階層に配置 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    text-align: center;
    width: 100%;
    padding: 20px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.mobile-menu__link {
    font-family: var(--font-en);
    font-size: 1.8rem;
    color: var(--color-text-white);
    letter-spacing: 0.15em;
}

.mobile-menu__sns {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.mobile-menu__sns-icon {
    width: 24px;
    height: 24px;
    color: var(--color-text-white);
}

/* =========================================
   4. News Section (Mobile)
========================================= */
.news__item {
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
}

.news__meta {
    width: 100%;
}

.news__title {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* =========================================
   5. Banner (Mobile)
========================================= */
.sec__bn--card {
    padding: 40px 20px;
}

.sec__bn--title {
    font-size: 1.8rem;
}

.sec__bn--btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.3rem;
}

/* =========================================
   6. Introduction & Story (Mobile)
========================================= */
.intro__hero-block,
.story__split-view {
    flex-direction: column;
    gap: 40px;
}

.intro__hero-visual,
.intro__hero-text,
.story__visual-column,
.story__prose-column {
    width: 100%;
}

.intro__catch-title,
.story__main-phrase {
    font-size: 1.8rem;
    text-align: left;
}

.intro__statement-card {
    padding: 40px 20px;
    margin: 40px 0;
}

.intro__quote-highlight {
    font-size: 1.6rem;
}

.intro__collage {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

/* SPでの重なりを完全に防止 */
.intro__collage-item,
.intro__photo-frame.frame--sub,
.story__scene-card.scene--sub {
    position: static !important;
    width: 100%;
    box-shadow: none;
    border: none;
}

.story__scene-card.scene--sub {
    margin-top: 20px;
}

/* =========================================
   7. Cast & Modal (Mobile)
========================================= */
.cast__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cast__card-name {
    font-size: 1.4rem;
}

.cast-modal__content {
    flex-direction: column;
    max-height: 80vh;
    overflow-y: auto;
}

.cast-modal__thumb,
.cast-modal__detail {
    width: 100%;
}

.cast-modal__detail {
    padding: 25px 20px;
}

.modal__close,
.cast-modal__close {
    top: -35px;
    right: 5px;
    font-size: 2.4rem;
}

/* =========================================
   8. Staff & Crowdfunding (Mobile)
========================================= */
.staff__card {
    padding: 40px 20px;
}

.staff__director-name {
    font-size: 2rem;
}

.staff__credits-grid {
    flex-direction: column;
    gap: 20px;
}

.crowdfunding__title {
    font-size: 1.6rem;
}