/* --- Base Settings --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000;       
    --accent-color: #ffffff;   
    --text-main: #e0e0e0;      
    --text-sub: #888888;       
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    /* overflow: hidden; */
    /* font-family: var(--font-s); */
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
.body-en{
    font-family: sans-serif;
    text-align: justify;
    word-wrap: break-word;
}
img{
    max-width: 100%;
}
ul, ol {
    list-style-type: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
a,a:visited,a:active,a:focus{
    color: #FFF;
}
/* --- Layout --- */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: #000;
}
.bg-fixed-img {
    position: absolute;
    inset: 0;
    background: url('../img/main_c.png') no-repeat left top/contain;
    transition: opacity 0.5s ease;
    overflow: hidden;
    max-width: 53%;
    }
@media screen and (max-width: 1024px) and (orientation: portrait) {
    .bg-fixed-img {
        /* background-size: 80%;     */
        max-width: 100%;
        max-height: 68vh;
    }
}
.bg-swiper {
    position: absolute;
    inset: 0;
    height: 100vh; 
    z-index: 3!important;  /*bg-overlay より上にする */
    clip-path: inset(100% 0 0 0);
    transition: opacity 0.8s ease, clip-path 0s;
}
.bg-swiper.is-active {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
}
.bg-swiper.is-remove {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
}
/* 暗転用オーバーレイ */
.bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 1);
    opacity: 0;
    /* スクロールに合わせて上げる */
    pointer-events: none;
    z-index: 2;
}
/* コンテンツの高さ確保 */
.spacer {
    height: 100vh;
    display: grid;
    place-items: center;
    color: white;
    /* font-size: 2rem; */
}
.content-box {
    height: 100vh;
    display: grid;
    place-items: center;
    /* background: rgba(255, 255, 255, 0.1); */
    /* border: 2px solid white; */
    color: white;
}
/* PVサムネ */
/* 画像を包むコンテナ */
.video-thumb-container {
    position: relative;
    display: inline-block;
    line-height: 0;
    overflow: hidden;
    box-shadow: 0 0 5px #D31B1A;
}
/* 画像自体の設定 */
.video-thumb-container img {
    width: 100%;
    /* コンテナに追従 */
    height: auto;
    display: block;
}
/* 縞模様レイヤー */
.video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* 下の画像操作を邪魔しない */
    /* 横線縞模様（スキャンライン） */
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.2) 0px,
            rgba(0, 0, 0, 0.2) 1px,
            transparent 1px,
            transparent 3px);
    background-size: 100% 3px;
}
/* 再生ボタン（中央配置） */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 2px solid #D31B1A;
    border-radius: 50%;
}
/* 再生ボタンの三角形 */
.play-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 20px 0 20px 36px;
    border-color: transparent transparent transparent #D31B1A;
}
/* マウスホバーで少し明るくする演出（任意） */
.video-thumb-container:hover .video-overlay {
    background-color: rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}
.video-thumb-container  img {
    transition: all 0.25s ease;
}
.video-thumb-container:hover img {
    transform: scale(1.05);
    cursor: pointer;
    
}

/* タイトルロゴ */
.title-container {
    display: flex;
    width: 100%;
}
.title-container .item-1 {
    flex: 827;
}
.title-container .item-2 {
    flex: 891;
}
.title-container .item-3 {
    flex: 203;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
    .title-container {
    flex-flow: column;
        bottom: 9%;
        position: absolute;
        /* margin: 0%; */
        /* max-width: 50%; */
        left: auto;
        right: 0;
            }
    .title-container .item-2{
        padding: 0 10%;
    }
}


.gradient-bg {
    width: 100%;
    /* height: 300px; */
    /* 任意の高さ */
    /* 下から上へ、黒(100%)から透明(0%)へ */
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    padding: 5rem 0;
    text-align: center;
}

/* 画像を包むコンテナ（はみ出しを隠す） */
.swiper-slide {
    overflow: hidden;
}
/* 画像自体の設定 */
.swiper-slide img,
.swiper-slide-bg {
    /* 背景画像として扱う場合 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 初期状態 */
    transform: scale(1);
}
/* アクティブなスライド（表示中）の画像にアニメーションを適用 */
.swiper-slide-active img,
.swiper-slide-active .swiper-slide-bg {
    animation: slowZoom 8s linear infinite alternate;
}
/* ズームアニメーションの定義 */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
        /* 1.1倍〜1.2倍くらいが自然 */
    }
}
.sec-text{
    max-width: 920px;
}
.mb-spacer-50{
    margin-bottom: 50vh;
}
.mb-spacer-25{
    margin-bottom: 25vh;
}
.mb-spacer-10{
    margin-bottom: 10vh;
}
.cap-ttl img{
    max-height: 3.7rem;
    width: auto;
}


/* ---ノイズアニメーション */
/* 削除 */
/*  --- ふわっと表示 */
/* 最初は透明、少し下にずらしておく（任意） */
.title-container img, .bg-container {
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
}
/* 表示用クラス */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
/* 背景は少し遅らせて、かつゆっくり表示させるとエモい */
.bg-container {
    transition-duration: 0.8s;
    /* 背景はよりゆっくり */
}

.title-container img {
    transform: scale(1.05);
    /* 最初は少し大きく */
}
/* is-visibleがつくと scale(1) に戻りつつ表示される */


/* --- 順番表示 */

/* 待機状態：透明で、少し下に配置 */
.fade-in {
    opacity: 0;
    /* transform: translateY(30px); */
    transition: opacity 1.2s ease, transform 1.2s ease;
}
/* 画面に入った時の状態 */
.fade-in.active {
    opacity: 1;
    /* transform: translateY(0); */
}


/* --- フレーム */
.frame-w{
    position: relative;
    padding: 3rem;
}

.frame-w::before, .frame-w::after {
    content: "";
    position: absolute;
    width: 80%;
    min-height: 250px;
    background: url('../img/corner.png') no-repeat left;
    z-index: 10;
    pointer-events: none;
    background-position: left top;
}
/* 左上 */
.frame-w::before {
    top: 10px;
    left: 10px;
}
/* 右下 */
.frame-w::after {
    bottom: 10px;
    right: 10px;
    transform: rotate(180deg);
}

/* --- Hex */

.hexagon-simple {
    display: inline-block;
    width: 20px;
    height: 22px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-bottom: -4px;
    margin-right: 0.5rem;
}
.hexagon-h3 {
    display: inline-block;
        width: 25px;
        height: 27px;
        background: #ffffff;
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        margin-bottom: -1px;
        margin-right: 0.5rem;
}

/* --- ラインtable */
.tbl-lin-r {
    font-size: 18px;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.tbl-lin-r tr {
    position: relative;
    display: table-row;
}
.tbl-lin-r::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            rgba(211, 27, 26, 0.8) 50%,
            transparent);
    pointer-events: none;
}

.tbl-lin-r tr {
    background: linear-gradient(to right,
            transparent,
            rgba(211, 27, 26, 0.8) 50%,
            transparent);
    pointer-events: none;
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
}
.tbl-lin-r th{
    text-align: end;
    padding: 0.8rem;
    width: 40%;
}
.tbl-lin-r td{
    text-align: start;
    width: 60%;
}
.tbl-lin-r th,
.tbl-lin-r td{
    padding: 0.8rem;
    box-sizing: border-box;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
    .tbl-lin-r th,
    .tbl-lin-r td {
        width: 100%;
        display: block;
        text-align: center;
    }
    .tbl-lin-r th{
        padding-bottom: 0rem;

    }
    .tbl-lin-r td{
        padding-top: 0rem;

    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 35px;
    height: 35px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.back-to-top.is-show {
    opacity: 0.65;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: scale(1.1);
    opacity: 1;
}
.hex-bg {
    position: absolute;
    inset: 0;
    background-color: #FFF;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s ease;
}
.back-to-top:hover .hex-bg {
    transform: scale(1.1) ;
}
.arrow {
    position: relative;
    color: #fff;
    font-size: 20px;
    z-index: 1;
}
.ul-sns {
    font-size: 2rem;
    display: flex;
    justify-content: center;
    margin: 0rem auto 2rem;
}
.ul-sns li {
    padding: 0 1rem 0;
}
.ul-sns li i {
    padding: 0.5rem;
}
.footer-copy{
    font-size: 12px;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
    footer{
        padding-bottom: 2rem;
    }
    .footer-copy {
        font-size: min( 12px, 2.5vw);
    }
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    position: fixed;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    background-color: #000;
    padding: 0.4rem 0.8rem;
    z-index: 10;
}
.lang-switcher.is-show {
    opacity: 0.65;
    visibility: visible;
    transform: translateY(0);
}
.lang-btn {
    text-decoration: none;
    color: #aaa;
    transition: color 0.2s ease;
}
.lang-btn:not(.is-active):hover {
    color: #FFF;
}
.lang-btn.is-active {
    color: #aaa;
    font-weight: 700;
    pointer-events: none;
    cursor: default;
}
.divider {
    color: #ccc;
    user-select: none;
}
.shadow-w{
    filter: drop-shadow(rgba(255, 255, 255, 1) 0px 0px 2.20287px) drop-shadow(rgba(255, 255, 255, 0.333) 0px 0px 5.71006px) drop-shadow(rgba(255, 255, 255, 0.04) 0px 0px 1.82587px);
}
.box-logo{
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}