/* WordPress Theme Styles */

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: Inter, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", sans-serif;
	display: flex;
	flex-direction: column;
}

.wrapper {
	flex: 1;
}

.header {
	padding: 5px 0;
	display: flex;
	align-items: center;
	justify-content: flex-start; /* 左寄せ */
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: flex-start; /* 左寄せ */
}

.footer {
	background-color: #333;
	color: white;
	padding: 20px;
	text-align: center;
	margin-top: auto;
}

.hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 90vh;
	/* PCでは最低90%の高さを確保 */
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 背景をトリミングしてフィット */
}

.hero .container {
	position: relative;
	z-index: 1;
}

/* PC用：左寄せで左右に並べる */
@media (min-width: 769px) {
	.hero .row {
		justify-content: flex-start;
		/* 左寄せ */
		display: flex;
		flex-wrap: nowrap;
	}

	.hero .col-md-7 {
		display: flex;
		justify-content: flex-start;
		/* 左寄せ */
		align-items: center;
		gap: 20px;
		/* 左右の要素間の余白 */
	}

	.hero .cityLogo.left {
		flex: 1;
	}

	.hero .cityLogo.right {
		flex: 1;
	}
}

/* スマホ用：中央寄せで左右に並べる */
@media (max-width: 768px) {
	.hero {
		min-height: 80vh;
	}

	.hero .row {
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
	}

	.hero .col-md-7 {
		display: flex;
		flex-direction: row;
		/* 左右並びを維持 */
		align-items: center;
		justify-content: center;
		gap: 10px;
		/* 左右の要素間の余白 */
	}

	.hero .cityLogo.left,
	.hero .cityLogo.right {
		flex: 1;
	}

	.cityLogo.left img,
	.cityLogo.right img {
		height: auto;
	}
}

section {
	width: 77%;
	margin: 0 auto;
	padding: 25px 0;
/*	border-bottom: 1px solid #eee;*/
}

@media (max-width: 768px) {

	section {
		width: 100%;
		margin: 0 auto;
	}
}

section.cContainer .container {
	padding: 50px 20px;
	position: relative;
}
section.cContainer .container.before:before {
	content: "";
	display: block;
	position: absolute;
	top: -1px;
	right: -1px;
	border-style: solid;
	border-width: 0 calc(60em / 16) calc(66em / 16) 0;
}

section.wpContainer .container {
	padding: 50px 20px;
	position: relative;
}
section.wpContainer .container.before:before {
	content: "";
	display: block;
	position: absolute;
	top: -1px;
	right: -1px;
	border-style: solid;
	border-width: 0 calc(60em / 16) calc(66em / 16) 0;
}

.cTitle {
	text-align: center; /* 全体を中央配置 */
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 20px 0; /* 上下の余白 */
}

#movie {
	text-align: center; /* 動画を中央配置 */
}

.movie-container {
	position: relative;
	width: 100%; /* PCでは80%の幅 */
	/* max-width: 800px; 最大幅800px */
	margin: 0 auto; /* 中央配置 */
	padding-top: 56.25%; /* 16:9のアスペクト比を維持 */
}

.movie-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* スマホ対応 */
@media (max-width: 768px) {
	.movie-container {
		width: 100%; /* スマホ時は90%の幅 */
	}
}

.point {
	display: flex;
	align-items: center;
	justify-content: center; /* 全体を中央揃え */
	padding: 20px 0;
	text-align: center;
	flex-direction: column; /* スマホ時のためにデフォルトは縦配置 */
}

/*#member*/

/* タイトル部分の配置調整 */

/* メインタイトルを左上 */

#member .cBody {
    position: relative; 
    z-index: 1; /* 前面（数字を高く） */
}

/* メンバーリスト */
#member .cBody ul {
	display: flex;
	flex-wrap: wrap;
	/* 幅いっぱい使わず、任意の最大幅に抑えたいなら: */
	max-width: 1200px;
	margin: 0 auto; /* 左右中央寄せ */
	padding: 0;
}

#member .cBody li {
	list-style: none;
	padding: 10px;
}

#member .member-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 10px;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
	.title-team {
		width: 140px;
	}

	.title-member {
		width: 120px;
	}

	.title-text {
		font-size: 1.5rem;
	}

	#member .title-member {
		position: absolute;
		top: 30px;
		left: 0px;
	}
}

/*#blog*/

/*.gallery*/

/*#town*/

#town {
	display: flex;
	align-items: stretch; /* コンテンツの高さに画像を合わせる */
	background-color: #fff; /* 背景色 */
	flex-wrap: wrap; /* スマホ時の折り返し */
	flex-direction: row-reverse; /* 画像を左、テキストを右に */
}

/* 左側（画像） */
#town .cImage {
	flex: 0 0 40%; /* 左側の幅を40% */
	max-width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	padding: 0; /* 余白なし */
	background-color: #eee; /* 背景色 */
}

#town .cImage img {
	width: 100%;
	height: 100%;
	min-height: 450px;
	object-fit: cover; /* 画像をトリミングして中央表示 */
}

/* 右側（テキスト） */
#town .cBody {
	flex: 0 0 60%; /* 右側の幅を60% */
	max-width: 60%;
	padding: 20px;
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start; /* 上部配置 */
	justify-content: flex-start; /* 上部揃え */
	background-color: #f9f9f9; /* 背景色 */
}

/* スマホ対応（画像が上、テキストが下） */
@media (max-width: 768px) {
	#town {
		flex-direction: column;
		text-align: center;
		flex-direction: column-reverse; /* スマホ時に画像を上に */
	}

	#town .cImage {
		flex: 1 1 auto;
		max-width: 100%;
		max-height: 250px;
		height: auto;
	}

	#town .cBody {
		flex: 1 1 auto;
		max-width: 100%;
		text-align: center;
		padding: 20px;
	}
}

/*#sponsor*/

.sponsor-title {
	font-size: 1.4rem; /* 大きめのサイズ */
	font-weight: 900; /* 超極太 */
	text-align: center;
	margin-bottom: 2rem;
}

.sponsor-list {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px; /* 画像の間隔 */
	flex-wrap: wrap; /* スマホで折り返し */
}

.sponsor-list li {
	display: flex;
}

.sponsor-list img {
	max-width: 100px; /* 最大幅200px */
	width: 100%; /* 小さい画面では自動調整 */
	height: auto;
}

.sponsor-text {
	font-size: 0.875rem; /* 小さめ */
	color: #6c757d; /* Bootstrapのtext-muted相当 */
	text-align: center;
	margin-top: 1rem;
}