body {
	margin: 0;
}

.main-title-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.main-title {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.0em;
	font-weight: 800;
	color: #222;
	background: #fff;
	letter-spacing: 0.08em;
	width: 100%;
	padding: 0.5em 1.2em;
	gap: 10px;
	font-size: 2em;
}


.logo {
	margin-top: 0.5ex;
	width: 48px;
	height: auto;
}

.siteHeader {
	width: 100%;
	position: relative;
	z-index: 1000;
	top: 0;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
	margin-bottom: 0;
	min-height: 46px;
	border: none;
}

/* 細いヘッダー */
.thin-header {
	width: 100%;
	height: 60px;
	background: #f8f8f8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border-bottom: 1px solid #ddd;
	gap: 0px;
	padding-left: 0;
}

	.thin-header img {
		height: 50px;
		width: auto;
	}

.thin-title {
	font-size: 1.2em;
	font-weight: 300;
	color: #222;
	min-width: 0;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* フェード画像スライダー */
.slider-container {
	width: 100%;
	max-width: 100vw;
	height: 500px;
	position: relative;
	overflow: hidden;
	background: #eee;
}

.slider-image {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transition: opacity 1s;
	z-index: 1;
}

	.slider-image.active {
		opacity: 1;
		z-index: 2;
	}

	.slider-image.fade-out {
		opacity: 0;
	}


.scrolling-text-area-title {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right:10px;
}

.dia-line {
	opacity: 0;
	transition: opacity 0.7s;
}

	.dia-line.visible {
		opacity: 1;
	}

	.dia-line.empty {
		margin-bottom: 2em; /* 空行は大きめの隙間 */
		min-height: 1em;
	}

#dia-info-slider {
	transition: opacity 0.7s;
}


/* .role-icons と .link-icons の重複を共通化推奨 */
.link-icons,
.role-icons,
.icon-group {
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 32px 0;
}

	.link-icons img,
	.role-icons img,
	.icon-group img {
		width: 100px;
		height: 48px;
		object-fit: contain;
		cursor: pointer;
		transition: transform 0.2s;
		text-align: center;
	}

		.link-icons img:hover,
		.role-icons img:hover,
		.icon-group img:hover {
			transform: scale(1.1);
		}

.link-icon {
	width: 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-right: 1em;
	margin-left: 1em;
	pointer-events: auto;

}

	.link-icon a {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-decoration: none;
	}

.icon-label {
	margin-top: 8px;
	font-size: 0.95em;
	color: #333;
	text-align: center;
	font-weight: 500;
	letter-spacing: 0.05em;
}

/* dia-line: 1行ずつフェードイン用 */
.dia-line {
	opacity: 0;
	transition: opacity 0.7s;
	display: block;
	margin-bottom: 0.7em;
}

	.dia-line.visible {
		opacity: 1;
	}

	.dia-line.empty {
		margin-bottom: 2em; /* 空行は大きめの隙間 */
		min-height: 1em;
	}

/* 画像スライダー・role-iconsのフェードイン */
#dia-info-slider,
#role-icons {
	transition: opacity 0.7s;
}


#role-icons {
	display: none;
	opacity: 0;
	transition: opacity 0.7s;
}

#role-icons.visible {
	display: flex !important;
	opacity: 1 !important;
}

/* 役割説明テキスト */
.role-detail-lines {
	margin-top: 1.5em;
	font-size: 1.2em;
	color: #222;
	text-align: center;
	align-items: center;
}

/* 役割説明エリア */
#role-info-content {
	display: none;
	opacity: 0;
	transition: opacity 0.7s;
	margin-top: 80px;
	margin-left: 50px;
	margin-bottom: 10em;
	pointer-events: none;
}

	#role-info-content.visible {
		display: block;
		opacity: 1;
	}

#role-info-image-area img {
	width: 120px;
	height: auto;
	margin: 0 auto;
	display: block;
}

#role-detail-title {
	font-size: 1.2em;
	font-weight: 700;
	color: #222;
	margin-top: 60px;
	margin-bottom: 12px;
	letter-spacing: 0.05em;
	line-height: 1.3;
	opacity: 0;
	transition: opacity 0.7s;
	display: none;
	text-align: center;
	align-items: center;
}

	#role-detail-title.visible {
		opacity: 1;
		display: block;
	}

#role-info-text {
	font-size: 1.1em;
	color: #222;
	border-radius: 8px;
	padding: 18px 20px;
	margin-bottom: 24px;
	line-height: 1.7;
	opacity: 0;
	transition: opacity 0.7s;
	display: none;
}

	#role-info-text.visible {
		opacity: 1;
		display: block;
	}

#role-detail-lines .dia-line {
	color: #222; /* 文字色 */
	line-height: 1.7; /* 行の高さ */
	text-align: left; /* 左寄せ */
	transition: opacity 0.7s;
	opacity: 0;
	display: block;
	text-align: center;
	align-items: center;
}

	#role-detail-lines .dia-line.visible {
		opacity: 1;
	}

	#role-detail-lines .dia-line.empty {
		background: none;
		padding: 0;
		margin-bottom: 2em;
		min-height: 1em;

	}
#dia-info,
#dia-info-lines {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}