* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    line-height: 1.8;
    letter-spacing: 0.08em;
    overflow-x: hidden;
}



/* ===================================================
   スプラッシュスクリーン（ローディング）のスタイル
=================================================== */
.main-copy, .body-text:first-of-type {
    opacity: 0;
}

.bg-fixed-area {
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

/* 背景画像レイヤー：最初はぼかし、スプラッシュフェード中に鮮明化 */
.bg-fixed-area::before {
    content: "";
    position: absolute;
    inset: -10px; /* blur の端切れ防止 */
    background-image: url('../images/main_bg.png');
    background-size: cover;
    background-position: center bottom;
    filter: blur(10px);
    transform: scale(1.02);
    transition: filter 2.5s ease, transform 2.5s ease;
    pointer-events: none;
}

/* 背景画像の明るさ調整レイヤー */
.bg-fixed-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

body.splash-fadeout .bg-fixed-area::before {
    filter: blur(0);
    transform: scale(1);
}

.main-copy.show-title, .body-text.show-text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

#wrapper {
    opacity: 1;
    visibility: visible;
    transition: none;
    height: 100vh;
    overflow: hidden;
}

/* 読み込み完了後のコンテンツの状態 */
body.loaded #wrapper {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
}

/* スプラッシュ中は本文などのコンテンツ層を隠す。背景だけ見せる */
.content-overlay {
    opacity: 0;
    visibility: hidden;
}

body.loaded .content-overlay {
    opacity: 1;
    visibility: visible;
}

/* スプラッシュスクリーンの本体 */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
    transition: opacity 2.5s ease, visibility 0s linear 2.5s;
    overflow: hidden;
    background-color: #fff;
}

body.splash-fadeout #splash {
    opacity: 0;
}

body.loaded #splash {
    pointer-events: none;
    box-shadow: 0 0 0 3000px rgba(92, 120, 133, 0);
    visibility: hidden;
    opacity: 0;
}

.splash-logo {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 220px;
    opacity: 0;
}
body.splash-start .splash-logo {
    animation: splashFadeIn 1.5s ease forwards;
}
.splash-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.logo-white {
    opacity: 1;
}
/* ロゴのフェードインアニメーション定義 */
@keyframes splashFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通常時はスクロールバーのズレを防止 */
html {
    scrollbar-gutter: stable;
    background-color: #f1f1f1;
}

body:not(.loaded) {
    overflow: hidden;
}

.page-wrapper {
    position: relative;
    width: 100%;
}

/* 背景の上に重なる透明なコンテンツ層 */
.content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 30px 600px 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.main-copy {
    transform:translateY(30px);
    transform-origin: left center;
    transition:all 1.2s ease;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 0;
    flex: 1;
}
.main-copy-text {
    display: inline-block;
    transform: scaleX(1);　/* 長体 */
    transform-origin: left center;
    letter-spacing: 0.12em
}
.right-img {
    display: block;
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

.body-text {
    font-size: 1.2rem;
    margin-bottom: 60px;
    font-weight: 600;
    letter-spacing: 0.15em
}
.body-text p {
    margin-bottom: 32px;
}
.highlight-text {
    font-size: 2.0rem;
    font-weight: 800;
    margin-top: 60px;
    margin-bottom: 0px;
    line-height: 1.6;
    letter-spacing: 0.15em
}

/* コラム */
.column {
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.6
}

/* --- [後半層] メッセージの終わりで背景も一緒にスクロールさせるセクション --- */
.scroll-out-section {
    position: relative;
    z-index: 3;
    padding: 160px 24px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.final-announcement {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* --- フェードイン（ lazy-trigger ）の設定 --- */
.lazy-trigger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
}
.lazy-trigger.is-active {
    opacity: 1;
    transform: translateY(0);
}


/* ===================================================
   フッター
=================================================== */
.site-footer {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 100svh;
    background-color: rgba(214, 62, 53, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    /*overflow: hidden;*/
}

.footer-inner {
    position: relative;
    z-index: 6;
    text-align: center;
    width: 100%;

    opacity: 0;
    transform: translateY(120px);
    will-change: transform, opacity;
        backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.footer-message {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.12em;
    margin-bottom: 40px;
}

.footer-logo {
    width: 200px;
    /*max-width: 600vw;*/
    height: auto;
    margin: 0 auto;
}
.copyright {
    margin-top: 60px;
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.sp-br {
	display: none;
}

.pc-br {
	display: block;
}

/* ===================================================
   レスポンシブ（スマホ対応） 
=================================================== */
/* */
@media (max-width: 768px) {
	.splash-logo {
		max-width: 200px;
	}
	.bg-fixed-area::before {
		background-image: url('../images/main_bg.jpg');
		background-position: 90% bottom;
	}
	.main-copy { 
		font-size: 2.0rem; 
		margin-bottom: 0;
	}
	.body-text {
		font-size: 0.9rem;
		letter-spacing: 0.1em;
                font-weight: 400;
                margin-bottom: 30px;
	}
        .body-text p {
                margin-bottom: 30px;
        }
	.highlight-text {
		font-size: 1.2rem;
		letter-spacing: 0.1em
	}
	.container {
		/*padding-top: 60px;
		padding-bottom: 200px;
		padding-right: 0px;*/
		
		padding: 60px 25px 200px 25px;
	}
	.scroll-out-section {
		padding: 100px 24px;
	}
	.right-img {
		display: block;
		margin-left: auto;
		max-width: 120px;
		height: auto;
		object-fit: contain;
	}
	.footer-message {
		font-size: 1.2rem;
		line-height: 1.8;
	}
	.footer-logo {
		width: 150px;
	}
	.sp-br {
		display: block;
	}
        .pc-br {
	display: none;
        }
}


/* ===================================================
   ホバーアニメーション
=================================================== */
.column a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background: #333;
    width: 200px;
    height: 60px;
    text-align: center;
    line-height: 55px;
    border: 3px solid #333;
    border-radius: 4px;
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    transition: color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}
.column a::before {
    content: "";
    width: 100%;
    position: absolute;
    top: 0;
    right: -60px;
    z-index: -1;
    border-right: 60px solid transparent;
    border-bottom: 60px solid #fff;
    transform: translateX(-100%);
    transition: transform ease 0.3s;
}
.column a:hover {
    color: #000;
    border-color: #333;
}
.column a:hover::before {
  transform: translateX(0);
}