@charset "UTF-8";

/*--- base ---*/
html {
	width: 100%;
	overflow: hidden;
}
body {
	width: 100%;
	min-height: 100vh;
	margin: 0;
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	color: #000;
}
* {
	box-sizing: border-box;
	overflow-wrap: break-word;
}
img {
	width: 100%;
}
a {
	color: #000;
}
a:link,
a:visited,
a:active,
a:hover {
	outline: none;
}
a:hover {
	cursor: pointer;
}
/*.pc-only {
	display: none;
}
.sp-only {
	display: inline;
}*/







/* ==========================================================================
   1. Base Settings (基本設定)
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold-main: #d4af37;
    --gold-light: #f1e5ac;
    --anim-speed: 2s;
    --font-en: 'Playfair Display', serif;
    --font-jp: 'Noto Serif JP', serif;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    font-family: var(--font-jp);
    overflow: hidden;
}

.sp-only {
    display: none;
}

/* ==========================================================================
   2. Theatrical Opening (オープニング演出)
   ========================================================================== */
.theatrical-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100;
    pointer-events: none;
    animation: gateOpen var(--anim-speed) cubic-bezier(0.85, 0, 0.15, 1) forwards;
}

.theatrical-gate::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scaleX(0);
    animation: 
        lineExtend 0.8s ease-out forwards, 
        lineFade var(--anim-speed) ease-in forwards;
}

@keyframes gateOpen {
    0%, 40% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; visibility: hidden; }
}

@keyframes lineExtend {
    0% { transform: translateY(-50%) scaleX(0); }
    100% { transform: translateY(-50%) scaleX(1); }
}

@keyframes lineFade {
    0%, 50% { opacity: 1; }
    100% { opacity: 0; }
}

/* ==========================================================================
   3. Background & Layout (背景動画)
   ========================================================================== */
.enter-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    text-align: center;
}

/* ==========================================================================
   4. Typography (タイポグラフィ)
   ========================================================================== */
.logo-area {
    margin-bottom: 90px;
}

/* 修正：メインフレーズのスタイル調整 */
.company-name.main-phrase {
    font-family: "Lexend", sans-serif;
    font-size: 6.5rem; /* フレーズが長いため少しだけ調整 */
    margin-right: -0.15em;
    color: #fff;
	line-height: 1;
}

/* 修正：&の明朝体指定をメインにも適用 */
.ampersand {
    font-family: "Lexend", sans-serif;
    margin: 0 0.1em;
    font-style: normal;
}

.sub-copy {
    margin-top: 25px;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   5. Navigation (ロゴ画像ナビゲーション)
   ========================================================================== */
.dual-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.nav-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 120px;
    text-decoration: none;
}

.nav-logo {
    max-width: 220px;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(1);
}


@media(min-width: 769px) {
    .nav-item:hover .nav-logo {
        transform: scale(1.1);
        filter: brightness(1.2) drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    }
}

/* ==========================================================================
   6. Circle Ring Animation (円形アニメーション)
   ========================================================================== */
.circle-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 260px;
    border: 3px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    will-change: transform, opacity, clip-path;
    z-index: -1;
    
    animation: drawCircle 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 2.0s;
    transition: 
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
        opacity 0.6s ease, 
        box-shadow 0.8s ease;
}

@keyframes drawCircle {
    0% { opacity: 1; clip-path: inset(0 0 100% 0); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

@media(min-width: 769px) {
    .nav-item:hover .circle-ring {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    }
}

/* ==========================================================================
   7. Separator (区切り線)
   ========================================================================== */
.separator {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--gold-main), transparent);
    opacity: 0;
}

.anim-stretch {
    animation: stretchVertical 0.8s ease-out forwards 1.8s;
}

@keyframes stretchVertical {
    to { height: 100px; opacity: 0.3; }
}

/* ==========================================================================
   8. Entrance Motion (各要素の登場)
   ========================================================================== */
@keyframes dynamicReveal {
    0% { opacity: 0; transform: translateZ(150px) translateY(20px); filter: blur(15px); }
    100% { opacity: 1; transform: translateZ(0) translateY(0); filter: blur(0); }
}

.entrance-anim-main {
    opacity: 0;
    animation: dynamicReveal 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.0s;
}

.entrance-anim-sub {
    opacity: 0;
    animation: dynamicReveal 2.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.4s;
}

.entrance-anim-delay {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 2.2s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.footer-copy {
    position: absolute;
    bottom: 30px;
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   10. Media Queries (Mobile Response)
   ========================================================================== */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .dual-nav {
        flex-direction: column;
        gap: 20px; 
    }

    .company-name.main-phrase {
        font-size: 4rem;
        letter-spacing: 0.05em;
    }

    .sub-copy {
        font-size: 0.95rem;
        padding: 0 20px;
        letter-spacing: 0.15em;
        line-height: 1.8;
    }

    .nav-item {
        width: 100%;
        height: 100px;
    }

    .nav-logo {
        max-width: 180px;
    }

    .circle-ring {
        width: 600px;
        height: 200px;
        transform: translate(-50%, -50%) scale(0.45);
		background: rgba(212, 175, 55, 0.6);
        border-radius: 100px;
        animation: drawCircleL 1.2s cubic-bezier(0.1, 0, 0.2, 1) forwards 2.0s;
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, box-shadow 0.8s ease;
    }
    .nav-item:nth-of-type(2) .circle-ring {
        animation: drawCircleR 1.2s cubic-bezier(0.1, 0, 0.2, 1) forwards 2.0s;
    }
    @keyframes drawCircleL {
        0% { opacity: 1; clip-path: inset(0 100% 0 0); }
        100% { opacity: 1; clip-path: inset(0 0 0 0); }
    }
    @keyframes drawCircleR {
        0% { opacity: 1; clip-path: inset(0 0 0 100%); }
        100% { opacity: 1; clip-path: inset(0 0 0 0); }
    }
    .separator {
        width: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--gold-main), transparent);
    }

    @keyframes stretchHorizontal {
        to { width: 80%; opacity: 0.4; }
    }


    .anim-stretch {
        animation: stretchHorizontal 0.8s ease-out forwards 1.8s;
    }

    
}

@media(min-width: 769px) {
    .nav-item:hover .circle-ring {
        transform: translate(-50%, -50%) scale(1.1);
    }
}