@charset "utf-8";

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
	background: #ffffff;
	color: #333;
}

/* ヘッダー */
header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	border-bottom: 2px solid #1976d2;
}

.logo-img {
	width: 36px;
	height: 36px;
}

.logo-text {
	font-size: 18px;
	font-weight: bold;
	color: #1976d2;
}

/* ヒーロー */
.hero {
	position: relative;
	height: 320px;
	overflow: hidden;
}

.hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(65%);
}

.hero-text {
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translateY(-50%);
	color: white;
}

.hero-text h1 {
	font-size: 32px;
	margin-bottom: 10px;
}

.hero-text p {
	font-size: 16px;
}

/* スクロールヒント */
.scroll-hint {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	color: #333;
	font-size: 24px;
	animation: bounce 1.5s infinite;
}

.scroll-hint.hide {
	opacity: 0;
	pointer-events: none;
}

@keyframes bounce {
	0%,100% { transform: translate(-50%,0);}
	50% { transform: translate(-50%,8px);}
}

/* コンテナ */
.container {
	max-width: 900px;
	margin: auto;
	padding: 40px 20px;
}

/* セクション */
.section {
	margin-bottom: 60px;
}

.section-flex {
	display: flex;
	gap: 30px;
	align-items: center;
}

.section-flex.reverse {
	flex-direction: row-reverse;
}

.section img {
	width: 45%;
	border-radius: 10px;
}

.section-content {
	width: 55%;
}

h2 {
	border-left: 5px solid #1976d2;
	padding-left: 10px;
	margin-bottom: 20px;
}

/* リスト */
ul {
	padding-left: 20px;
}

/* フェードイン */
.fade {
	opacity: 0;
	transform: translateY(20px);
	transition: 0.6s;
}

.fade.show {
	opacity: 1;
	transform: translateY(0);
}

/* フッター */
footer {
	text-align: center;
	padding: 20px;
	border-top: 1px solid #ddd;
	font-size: 14px;
	color: #666;
}

/* スマホ */
@media (max-width: 768px) {
	.section-flex,
	.section-flex.reverse {
	  flex-direction: column;
	}

	.section img,
	.section-content {
	  width: 100%;
	}

	.hero-text {
	  left: 5%;
	}

	.hero-text h1 {
		font-size: 28px;
		margin-bottom: 10px;
	}

	.hero-text p {
		font-size: 14px;
	}
}
