@charset "UTF-8";

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box;   box-sizing: border-box; }

html { width:100%; height:100%; }
html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -o-text-size-adjust: 100%; text-size-adjust: 100%;}
body { line-height:1.0; margin:0; padding:0;  width:100%; height:100%; background-color:#968B7C; overflow-x:hidden; overflow-y:auto; }
body { font-family: mp,"游ゴシック","YuGothic", "Yu Gothic", "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic" !important; text-align: center; }


:root {
	--head_color: #524C42;
	--back_color: #706C65;
	--pop_color: #D6C6A9;
	--tab_color: #AEAEAE;
	--font_light_color: #D7D7D7;
	--btn_perple_color: #9F58B1;
	--white: #ffffff;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; cursor: none; /* カスタムカーソル */ }
body { font-family: 'Noto Sans JP', sans-serif; background-color: var(--head_color); color: var(--font_light_color); height: 100vh; display: flex; flex-direction: column; overflow: hidden; /* スクロールなし */ }
a { text-decoration: none; color: inherit; }

/* * CUSTOM CURSOR */
.cursor-dot, .cursor-outline 	{ position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; }
.cursor-dot 					{ width: 8px; height: 8px; background-color: var(--pop_color); }
.cursor-outline 				{ width: 40px; height: 40px; border: 1px solid var(--pop_color); transition: width 0.2s, height 0.2s, background-color 0.2s; }
body.hovering .cursor-outline 	{ width: 60px; height: 60px; background-color: rgba(214, 198, 169, 0.2); border-color: transparent; }

/* * LAYOUT */
.container { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-content: center; max-width: 1200px; width: 90%; margin: 0 auto; position: relative; }

/* * CONTENT LEFT (Text) */
.text-area 	{ z-index: 2; }
.error-code { font-family: 'Montserrat', sans-serif; font-size: 10rem; font-weight: 900; line-height: 0.8; color: rgba(255, 255, 255, 0.05); /* 背景に溶け込ませる */ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; white-space: nowrap; }

h1 			{ font-family: 'Montserrat', sans-serif; font-size: 3.5rem; color: var(--white); margin-bottom: 20px; line-height: 1.1; }
h1 span 	{ color: var(--pop_color); display: block; font-size: 1.5rem; font-weight: 400; margin-bottom: 10px; letter-spacing: 0.1em; }
p 			{ font-size: 1rem; color: var(--tab_color); margin-bottom: 40px; max-width: 400px; line-height: 1.8; }
.home-btn 	{ display: inline-block; background-color: var(--btn_perple_color); color: #fff; padding: 15px 40px; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: transform 0.3s, box-shadow 0.3s; }
.home-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(159, 88, 177, 0.4); }

/* * CONTENT RIGHT (Image) */
.img-area { display: flex; justify-content: center; align-items: center; position: relative; }
.sory-img { max-width: 100%; width: 450px; /* 画像サイズ調整 */ height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); animation: float 4s ease-in-out infinite; }

/* 画像が少し浮いているようなアニメーション */
@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-15px); }
}

/* * RESPONSIVE */
@media (max-width: 900px) {
	.container 		{ grid-template-columns: 1fr; text-align: center; padding: 40px 0; }
	.text-area 		{ order: 2; margin-top: 20px; }
	.img-area 		{ order: 1; margin-bottom: 20px; }
	.error-code 	{ font-size: 20vw; }
	p 				{ margin: 0 auto 40px; }
	.sory-img 		{ width: 60%; max-width: 300px; }

	/* スマホではカーソル非表示 */
	.cursor-dot, .cursor-outline { display: none; }
	*, *::before, *::after 		{ cursor: auto; }
}