@charset "utf-8";

/*【全般設定】*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
	font-weight: normal;
}

/* --- 基本設定 --- */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* 動画読み込み前のベースカラー */
    color: #fff;
    overflow: hidden;
    font-family: "Yu Mincho", "Noto Serif JP", serif;
}

/* --- 背景動画のレスポンシブ制御 --- */
.video-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    background-color: #000000;
}


/* 820px ブレイクポイント */
.pc-video { display: block; }
.sp-video { display: none; }

@media screen and (max-width: 820px) {
    .pc-video { display: none; }
    .sp-video { display: block; }
}

.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45); /* ロゴを引き立てるための暗さ */
}

/* --- ロゴと言語選択のレイアウト --- */
#entrance-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.entrance-inner {
    text-align: center;
}

/* ロゴのアニメーション */
.main-logo {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInEntrance 2.5s forwards ease-out;
}

.main-logo img {
    width: 280px; /* ロゴのサイズは適宜調整してください */
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); /* 映像に埋もれないよう僅かに影を付与 */
}

@media screen and (max-width: 820px) {
    .main-logo img {
        width: 200px; /* スマホでは少し小さめに */
    }
}

/* 言語選択のアニメーション */
.language-nav {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInEntrance 1.8s forwards ease-out;
    animation-delay: 2.2s; /* ロゴがしっかり出てから表示 */
}

.lang-btn {
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    transition: opacity 0.5s, letter-spacing 0.5s;
    padding: 10px 15px;
}


.lang-btn:first-child {
    font-family: "Yu Mincho", "Noto Serif JP", serif;
    font-weight: 400;
}


.lang-btn:last-child {
    font-family: "Garamond", "Georgia", serif;
    letter-spacing: 0.22em;

}

.lang-btn:hover {
    opacity: 0.5;
    transform: translateY(-2px);
}

.divider {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
}

/* フェードインの定義 */
@keyframes fadeInEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
