/* Base Styles */
:root {
    --text-color: #fff;
    --bg-color: #000;
    --accent-color: #BC192E;
    /* Red theme color */
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

/*---------Common---------------*/
* {
	box-sizing: border-box;
	position: relative;
}

.aplha {
	-ms-filter: "alpha( opacity=0 )";
	filter: alpha(opacity=0);
	opacity: 0.0;
}

.onalpha {
	-ms-filter: "alpha( opacity=100 )";
	filter: alpha(opacity=100);
	opacity: 1.0;
	transition: 0.2s;
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	cursor: default;
}

.onalpha:hover {
	-ms-filter: "alpha( opacity=80 )";
	filter: alpha(opacity=80);
	opacity: 0.8;
	transition: 0.2s;
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	cursor: pointer;
}


.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

a:focus,
*:focus {
	outline: none;
}


.sp,
.sp_b {
	display: none;
}

.pc {
	display: inline-block;
}

.pc_b {
	display: block;
}

/*-----Loading-------*/
#loading {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 9999;
	background: #000;
	text-align: center;
	color: #fff;
	display: none;
}

#loading_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


/* Header */
.header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.header-right {
    display: flex;
    align-items: flex-start;
    pointer-events: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    height: 50px;
    margin-right: 20px;
}

.social-icons a {
    display: inline-block;
    color: var(--accent-color);
    transition: transform 0.3s, color 0.3s;
}

.social-icons .icon12 {
    font-size: 24px;
    color: var(--accent-color);
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover .icon12 {
    transform: scale(1.1);
    color: #ff334b;
}

/* Hamburger */
.hamburger {
    background-color: var(--accent-color);
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1001;
    padding: 0;
    transition: background-color 0.3s;
}

.hamburger .bar {
    position: absolute;
    left: 50%;
    margin-left: -14px;
    width: 28px;
    height: 2px;
    background-color: #000;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger .bar:nth-child(1) {
    top: 15px;
}

.hamburger .bar:nth-child(2) {
    top: 50%;
    margin-top: -1px;
}

.hamburger .bar:nth-child(3) {
    bottom: 15px;
}

/* Hamburger active */
.hamburger.active {
    background-color: transparent;
}

.hamburger.active .bar {
    background-color: #fff;
    margin-left: -14px;
}

.hamburger.active .bar:nth-child(1) {
    top: 50%;
    margin-top: -1px;
    transform: rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    bottom: auto;
    top: 50%;
    margin-top: -1px;
    transform: rotate(-45deg);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -50vw;
    /* Hidden off-screen right matching its width */
    width: 50vw;
    /* PC: half screen */
    height: 100vh;
    background-color: rgba(14, 0, 0, 0.95);
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.side-menu.active {
    right: 0;
}

.menu-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.menu-links li a {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    letter-spacing: 4px;
    color: #fff;
    transition: color 0.3s, text-shadow 0.3s;
    font-weight: 700;
}

.menu-links li a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(209, 18, 42, 0.5);
}

.menu-logo {
    text-align: center;
}

.menu-logo img {
    max-width: 80%;
    max-height: 15vh;
    height: auto;
    object-fit: contain;
}

/* Overlay for outside menu clicking */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Top Section */
.top-section {
    position: relative;
    width: 100%;
    min-width: 1300px;
    /* height: 100vh; */
    overflow: hidden;
}



.top-images {
    width: 100%;
    /* height: 100%; */
    position: relative;
}

.top-images.pc-only {
    width: 1000px;
    margin: 0 auto;
}

.top_bg {
	width: 100%;
	height: auto;
	margin-top: 0px;
	margin-left: 0px;
	display: block;
	z-index: 10;
}


.top-images img.top-layer {
    position: absolute;
    margin-top: 0;
    margin-left: 0;
    width: 100%;
    height: auto;
    z-index: 20;
}


.top-banner-fixed {
    /* position: absolute; */
    /* bottom: 20px; */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 30;
    margin-top: -90px;
    /* border: 1px #fff solid; */
}

.top-banner-fixed img {
    max-width: 280px;
    transition: transform 0.3s ease;
}

.top-banner-fixed a:hover img {
    transform: scale(1.05);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.placeholder-section {
    height: 100vh;
}

/* Common Section Title */
.section-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--accent-color);
    letter-spacing: 16px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-indent: 16px;
}

/* TRAILER Section */
.trailer-section {
    position: relative;
    width: 100%;
    min-width: 1300px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.trailer-content{
	width: 974px;
    margin: 0 auto;
}

.trailer-section iframe.yokoku_sp {
	width: 974px;
	height: calc(974px * 9 / 16);
	margin: 0 auto;
    
}

.movie_nav {
	width: 974px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 7px auto 100px;
	padding: 0;
}

.movie_nav_box4 {
	width: 25%;
	padding: 1px;
}

.movie_nav_box3 {
	width: 33%;
	padding: 1px;
}

.movie_nav_box2 {
	width: 50%;
	padding: 1px;
}

.movie_nav_box1 {
	width: 100%;
	padding: 1px;
}


.movie_nav_btn {
	display: block;
	letter-spacing: 0;
	padding: 7px 0;
	text-align: center;
	text-decoration: none;
	background-color: #b5b5b5;
	font-size: 11pt;
	border: 1px #b5b5b5 solid;
	/*  font-family: 'Noto Sans JP', serif;*/
}

.movie_nav_btn.selected {
	background-color: #bc192e;
	border: 1px #bc192e solid;
}

a.movie_nav_btn:link,
a.movie_nav_btn:visited {
	color: #000;
}

a.movie_nav_btn.selected:link,
a.movie_nav_btn.selected:visited {
	color: #fff;
}













/* INTRODUCTION Section */
.intro-section {
    position: relative;
    width: 100%;
    min-width: 1300px;
    background-image: url('../images/intro_bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-content {
    width: 1000px;
    padding: 0 13px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 2.2;
    text-align: justify;
    text-shadow: 0px 0px 3px #000000, 0px 0px 6px #000000, 0px 0px 6px #000000, 0px 0px 6px #000000;

}

.intro-content p {
    margin-bottom: 30px;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* STORY Section */
.story-section {
    position: relative;
    width: 100%;
    min-width: 1300px;
    background-image: url('../images/story_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-content {
    width: 1000px;
    padding: 0 13px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 2.2;
    text-align: center;
}

.story-content p {
    margin: 0;
}

/* CAST Section */
.cast-section {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.cast-slider {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px;
    box-sizing: border-box;
}

.cast-item {
    text-align: center;
    padding: 0 10px;
    outline: none;
    cursor: pointer;
}

.cast-img-wrap {
    position: relative;
    display: block;
}

.cast-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.cast-item:hover .cast-img-wrap img {
    filter: grayscale(100%);
}

.cast-img-wrap .icon12 {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 45px;
    pointer-events: none;
}

.cast-text {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 2px;
    text-align: center;
}

/* GALLERY Section */
.gallery-section {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.gallery-slider {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px;
    box-sizing: border-box;
}

.gallery-item {
    text-align: center;
    padding: 0 10px;
    outline: none;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slick Customizations */
.slick-prev,
.slick-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

/* Perfect vertical centering for gallery since it has no text underneath */
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
    top: 50%;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev img,
.slick-next img {
    width: 50px;
    height: auto;
}

.slick-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.slick-dots li {
    display: block;
}

.slick-dots li button {
    font-size: 0;
    width: 12px;
    height: 12px;
    background-color: #555;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
}

.slick-dots li.slick-active button {
    background-color: var(--accent-color);
}

/* Cast Modal */
.cast-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
}

.cast-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cast-modal-inner {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    border: 1px solid var(--accent-color);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 60px 40px 40px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.cast-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    z-index: 10000;
}

.cast-modal-close::before,
.cast-modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.cast-modal-close::before {
    transform: rotate(45deg);
}

.cast-modal-close::after {
    transform: rotate(-45deg);
}

.cast-modal-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.cast-modal-title .highlight {
    color: var(--accent-color);
}

.cast-modal-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.cast-modal-left {
    flex: 0 0 45%;
}

.cast-modal-left img {
    width: 100%;
    height: auto;
    display: block;
}

.cast-modal-right {
    flex: 1;
    text-align: left;
}

.cast-modal-section {
    margin-bottom: 30px;
}

.cast-modal-section h4 {
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: 500;
}

.cast-modal-section p {
    font-size: 15px;
    line-height: 2;
    margin: 0;
    letter-spacing: 1px;
}

/* CREDIT Section */
.credit-section {
    width: 100%;
    margin-top: 60px;
    text-align: center;
    padding-bottom: 50px;
}

.credit-section img {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* FOOTER */
footer {
    background-color: var(--accent-color);
    color: #000;
    text-align: center;
    padding: 60px 20px;
}

#ftr_naka {
    max-width: 1000px;
    margin: 0 auto;
}

#ftr_naka a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    margin: 0 5px;
}

#ftr_naka a:hover {
    text-decoration: underline;
}

.copy {
    margin-top: 30px;
    font-size: 14px;
    /* letter-spacing: 1px; */
}

#ftr_naka p {
    margin-top: 60px;
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 3px;
    font-family: var(--font-en);
}

.btn_tw {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.btn_tw:hover {
    opacity: 0.7;
}

.btn_tw i {
    font-size: 30px;
}

