body {
	margin: 0;
	font-family: "Segoe UI", "ヒラギノ角ゴ ProN", sans-serif;
	background: #f5f5f5;
	color: #333;
}

.container {
	display: flex;
	height: 100vh;
}

.sidebar {
	width: 260px; /* 240px → 少し広げる */
	background-color: #2c2c2c;
	color: #fff;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	padding: 20px;
	overflow-y: auto;
}

	.sidebar h1 {
		font-size: 18px;
		margin-bottom: 5px;
	}

	.sidebar h2 {
		font-size: 22px;
		margin-bottom: 20px;
		line-height: 1.4; /* 読みやすさ確保 */
		word-break: keep-all; /* 不要な改行を防ぐ */
		white-space: nowrap; /* 強制的に一行にする */
	}

	.sidebar .version {
		font-size: 14px;
		margin-bottom: 15px;
		color: #bbb;
	}

.download a {
	display: block;
	text-align: center;
	margin: 15px 0 5px 0;
	padding: 12px;
	background: #e85c5c;
	color: white;
	font-weight: bold;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
	transition: background 0.2s, transform 0.1s;
}

	.download a:hover {
		background: #d84b4b;
		transform: scale(1.03);
	}

.download .price {
	font-size: 14px;
	color: #ccc;
	text-align: center;
}

.sidebar h3 {
	margin-top: 20px;
	font-size: 16px;
	border-bottom: 1px solid #444;
	padding-bottom: 4px;
}

.sidebar ul {
	list-style: none;
	padding: 0;
}

	.sidebar ul li {
		margin: 8px 0;
	}

		.sidebar ul li a {
			color: #bbb;
			text-decoration: none;
			display: block; /* ← クリック範囲を行全体に拡張 */
			padding: 6px 8px; /* ← 見やすくするための余白 */
			border-radius: 4px;
			transition: background 0.2s, color 0.2s;
			cursor: pointer; /* ← カーソルをポインターに */
		}

			.sidebar ul li a:hover {
				color: #fff;
				background: #333; /* ← ホバー時に背景を強調 */
			}

			.sidebar ul li a.active-link {
				color: #fff;
				background: #444; /* ← アクティブ時の背景色 */
			}

.content {
	flex: 1;
	padding: 30px;
	overflow-y: auto;
	margin-left: 300px; /* ← サイドバーの幅+40px */
}

.content-section {
	display: none;
}

	.content-section.active {
		display: block;
	}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(640px, 1fr));
	gap: 15px;
}

.gallery2 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 15px;
}

	.gallery img,
	.gallery2 img {
		width: 100%;
		border-radius: 8px;
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	}