* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', serif;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	color: #ffffff;
	overflow-x: hidden;
	height: 100vh;
	position: relative;
}

/* 微細なノイズテクスチャ */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
	background-size: 40px 40px, 60px 60px;
	z-index: -1;
}

@font-face {
  font-family: 'YujiBoku';
  src: url('/fonts/YujiBoku-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'YujiMai';
  src: url('/fonts/YujiMai-Regular.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'YujiSyuku';
  src: url('/fonts/YujiSyuku-Regular.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'ZenAntiqueSoft';
  src: url('/fonts/ZenAntiqueSoft-Regular.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'ZenAntique';
  src: url('/fonts/ZenAntique-Regular.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'ShipporiAntiqueB1';
  src: url('/fonts/ShipporiAntiqueB1-Regular.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'MochiyPopOne';
  src: url('/fonts/MochiyPopOne-Regular.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

/* 滑らかなカーソルエフェクト */
.cursor-trail {
	position: fixed;
	width: 6px;
	height: 6px;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transition: all 0.1s ease;
}


/* ヘッダー */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 2rem;
	z-index: 100;
	transform: translateY(-50px);
	opacity: 0;
	animation: fadeInDown 1s ease 0.3s forwards;
}

@keyframes fadeInDown {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.logo {
	font-family: 'Crimson Text', serif;
	font-size: 2em;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #ffffff;
	opacity: 0.8;
}

/* メインコンテナ */
.container {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

/* メインタイトル */
.main-title {
	text-align: center;
	margin-bottom: 4rem;
	font-family: 'YujiSyuku', sans-serif;
	display: flex;
}

.title-line {
	font-size: clamp(3.5rem, 8vw, 6rem);
	font-weight: 900;
	letter-spacing: 0.1em;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	color: #ffffff;
	transform: translateX(-100vw);
	animation: slideInFromLeft 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
	margin-bottom:0;
}

.title-support {
	animation-delay: 0.5s;
}

.title-wo {
	animation-delay: 0.8s;
}

.title-tsukuru {
	animation-delay: 1.1s;
}

@keyframes slideInFromLeft {
	0% {
		transform: translateX(-100vw);
		opacity: 0;
	}
	70% {
		transform: translateX(20px);
		opacity: 1;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

/* プロジェクトセクション */
.project-section {
	width: 100%;
	max-width: 600px;
	transform: translateX(100vw);
	animation: slideInFromRight 1.2s cubic-bezier(0.23, 1, 0.32, 1) 1.4s forwards;
}

@keyframes slideInFromRight {
	0% {
		transform: translateX(100vw);
		opacity: 0;
	}
	70% {
		transform: translateX(-20px);
		opacity: 1;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

.project-card {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	padding: 3rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.project-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
	transition: left 0.8s ease;
}

.project-card:hover::before {
	left: 100%;
}

.project-card:hover {
	border-color: rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.12);
	transition: all 0.3s ease;
}

.project-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	margin-bottom: 2rem;
	color: #ffffff;
	letter-spacing: 0.1em;
}

.project-link {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	text-decoration: none;
	font-family: 'Crimson Text', serif;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 14px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.project-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	transition: left 0.3s ease;
}

.project-link:hover {
	border-color: rgba(255, 255, 255, 0.8);
	transform: translateY(-2px);
}

.project-link:hover::before {
	left: 0;
}

/* フッター */
.footer {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Crimson Text', serif;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	opacity: 0;
	animation: fadeIn 1s ease 2s forwards;
	width: 100%;
}
.footer a {
	color:#fff;
	text-decoration:none;
}


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


/* 微細なパーティクル */
.particle {
	position: absolute;
	width: 2px;
	height: 2px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
	0% {
		transform: translateY(100vh) translateX(0);
		opacity: 0;
	}
	10%, 90% {
		opacity: 1;
	}
	100% {
		transform: translateY(-10vh) translateX(50px);
		opacity: 0;
	}
}

/* レスポンシブ */
@media (max-width: 768px) {
	.container {
		padding: 1rem;
	}
	
	.main-title {
		margin-bottom: 3rem;
		display:block;
	}
	
	.title-line {

	}
	
	.project-card {
		padding: 2rem;
	}
	
	.header {
		padding: 1rem;
	}

	.project-title {
	    font-size: 1.5em;
	}

}
