@charset "UTF-8";

/* =========================================
   1. Variables (変数定義)
========================================= */
:root {
    --color-text: #222222;
    --color-text-light: #555555;
    --color-text-white: #ffffff;
    --color-bg: #ffffff;
    --color-bg-gray: #f7f7f7;
    --color-primary: #1a2b4c;
    --color-accent: #8ba4b4;
    --color-border: #dddddd;

    --font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
    --font-sans: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --font-en: 'Cormorant Garamond', serif;

    --z-index-back: -1;
    --z-index-base: 1;
    --z-index-overlay: 50;
    --z-index-header: 100;
    --z-index-modal: 1000;
    --z-index-loading: 9999;
}

/* =========================================
   2. Reset & Base (初期化とベース設定)
========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img,
picture,
video,
iframe {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* =========================================
   3. Utilities & Animations
========================================= */
.wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section {
    position: relative;
    background-color: var(--color-bg);
    z-index: var(--z-index-base);
}

.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-reveal.is-active {
    opacity: 1;
    transform: translateY(0);
}

.js_fadein {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.js_fadein.is-active {
    opacity: 1;
}

/* =========================================
   4. Loading Screen
========================================= */
.loading {
    position: fixed;
    inset: 0;
    background-color: var(--color-primary);
    z-index: var(--z-index-loading);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.loading.is-loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading__inner {
    text-align: center;
    color: var(--color-text-white);
}

.loading__text {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    animation: pulse 2s infinite ease-in-out;
}

.loading__line {
    display: block;
    width: 0;
    height: 1px;
    background-color: var(--color-text-white);
    margin: 0 auto;
    animation: expandLine 1.5s forwards cubic-bezier(0.8, 0, 0.2, 1);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes expandLine {
    0% {
        width: 0;
    }

    100% {
        width: 80px;
    }
}

/* =========================================
   5. Global Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-index-header);
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 40px;
}

.header__nav {
    display: flex;
    gap: 30px;
}

.header__nav-link {
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-text);
}

body[data-scroll="top"] .header__nav-link,
body[data-scroll="top"] .header__sns-icon {
    color: var(--color-text-white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__sns {
    display: flex;
    gap: 15px;
}

.header__sns-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

.menu-button__icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.menu-button__icon span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

body[data-scroll="top"] .menu-button__icon span {
    background-color: var(--color-text-white);
}

/* =========================================
   6. Section Titles
========================================= */
.section__header {
    margin-bottom: 60px;
}

.section__header--center {
    text-align: center;
}

.section__title-wrap {
    margin-bottom: 10px;
}

.section__title-img {
    height: 30px;
    width: auto;
}

.section__header--center .section__title-img {
    margin: 0 auto;
}

.section__title-ja {
    display: block;
    font-size: 1.2rem;
    color: var(--color-text-light);
    letter-spacing: 0.2em;
}

/* =========================================
   7. Background Video
========================================= */
.mv_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: var(--z-index-back);
    overflow: hidden;
}

.footer__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-index-back);
    overflow: hidden;
}

.mv_bg::after,
.footer__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(255, 255, 255, 1) 100%);
}

.mv_bg video,
.footer__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   8. Main Visual (.sec__mv)
========================================= */
.sec__mv {
    height: 100vh;
    position: relative;
    background: transparent;
}

.sec__mv--wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px;
}

.sec__mv--box {
    width: auto;
    text-align: left;
    margin-bottom: 25px;
    z-index: 10;
}

.copy {
    color: var(--color-text-white);
    font-size: 2.2rem;
    line-height: 2.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    text-align: left;
    margin: 0;
}

.copy span {
    display: inline-block;
}

.logo {
    width: 100%;
    max-width: 380px;
    margin: 0;
    z-index: 10;
}

.sec__mv--releasebnr {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 200px;
    z-index: 10;
}

.sec__mv--releasebnr img {
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.sec__mv--releasebnr a:hover img {
    transform: translateY(-3px);
}

/* =========================================
   9. News Section & Others
========================================= */
.sec__news {
    background-color: var(--color-bg);
}

.news__list {
    border-top: 1px solid var(--color-border);
}

.news__item {
    display: flex;
    align-items: baseline;
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}

.news__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 220px;
    flex-shrink: 0;
}

.news__date {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

.news__category {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 4px 10px;
    border: 1px solid var(--color-text);
    border-radius: 20px;
}

.news__category--cf {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.news__title {
    font-size: 1.5rem;
    font-weight: 400;
}

.news__title a {
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.3s;
}

.news__title a:hover {
    text-decoration-color: currentColor;
}

.sec__bnr {
    padding: 0;
}

.sec__bn--card {
    position: relative;
    padding: 60px 40px;
    background-color: var(--color-bg-gray);
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
}

.sec__bn--badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

.sec__bn--title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sec__bn--lead {
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.sec__bn--btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 15px 40px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sec__bn--btn:hover {
    background-color: #111d33;
    transform: translateY(-2px);
    opacity: 1;
}

.sec__bn--arrow {
    width: 16px;
    height: 16px;
}

.trailer__box {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trailer__thumbnail {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.trailer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.trailer__box:hover .trailer__overlay {
    background: rgba(0, 0, 0, 0.1);
}

.trailer__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-white);
    z-index: 2;
}

.trailer__play-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 2rem;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.trailer__box:hover .trailer__play-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.4);
}

.trailer__play-text {
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
}

.intro__title-banner,
.story__title-banner {
    text-align: center;
    margin-bottom: 60px;
}

.intro__title-banner img,
.story__title-banner img {
    max-width: 600px;
    margin: 0 auto;
}

.intro__catch-title,
.story__main-phrase {
    font-size: 2.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
}

.intro__body-prose p,
.story__paragraph {
    margin-bottom: 2em;
}

.intro__statement-card {
    background-color: var(--color-bg-gray);
    padding: 60px;
    border-radius: 4px;
    margin: 60px 0;
}

.intro__quote-highlight {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.intro__quote-desc {
    font-size: 1.4rem;
    color: var(--color-text-light);
}

.intro__director-credit {
    margin-top: 30px;
    text-align: right;
}

.story__climax-box {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.cast__card {
    cursor: pointer;
}

.cast__card-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--color-bg-gray);
}

.cast__card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cast__card:hover .cast__card-overlay {
    opacity: 1;
}

.cast__card-info {
    text-align: center;
}

.cast__card-role {
    display: block;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

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

.modal,
.cast-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-index-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.is-open,
.cast-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__background,
.cast-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal__content,
.cast-modal__dialog {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.cast-modal__content {
    background: var(--color-bg);
    display: flex;
    border-radius: 8px;
    overflow: hidden;
}

.cast-modal__thumb {
    width: 40%;
}

.cast-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-modal__detail {
    width: 60%;
    padding: 40px;
}

.modal__close,
.cast-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--color-text-white);
    font-size: 3rem;
    line-height: 1;
}

.modal__video {
    aspect-ratio: 16 / 9;
    background: #000;
}

.modal__video iframe {
    width: 100%;
    height: 100%;
}

.staff__card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-gray);
    padding: 60px;
    border-radius: 4px;
}

.staff__director {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.staff__director-tag {
    display: block;
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.staff__director-name {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.staff__director-name span {
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-left: 10px;
}

.staff__credits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.staff__credit-item {
    display: flex;
    flex-direction: column;
}

.staff__credit-label {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.staff__credit-val {
    font-size: 1.6rem;
    font-weight: 400;
}

.crowdfunding__box {
    text-align: center;
}

.crowdfunding__tag {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
}

.crowdfunding__title {
    font-size: 2rem;
    margin-bottom: 40px;
}

.crowdfunding__widget {
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.footer {
    position: relative;
    padding: 100px 20px 40px;
    color: var(--color-text-white);
    text-align: center;
    background: transparent;
}

.footer__credit {
    margin-bottom: 40px;
}

.footer__credit img {
    margin: 0 auto;
}

.footer__share {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-index-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    opacity: 1;
}