@charset "UTF-8";

/* ========================================
   放課後キッズクラブ施設 個別ページ
   カラーパレット:
   - Primary: #00a0c1 (teal)
   - Hover: #e0f7fa
   - Dark: #0097a7 / #0097ba
   - Light BG: #e0f5f9 / #d0f5f7
======================================== */

/* --- ヘッダー上書き --- */
.afterschool-header-wrap .header-logo {
	height: 35px;
	width: auto;
}

.afterschool-header-wrap #main-menu {
	margin-left: auto;
	margin-right: 0;
}

.afterschool-header-wrap #main-menu .menu ul li a {
	color: #0090b2;
	padding: 0 20px;
	transition: background-color 0.3s, color 0.3s;
}

.afterschool-header-wrap #main-menu .menu ul li a:hover {
	background-color: #0090b2;
	color: #fff;
}

/* --- パンくずリスト上書き --- */
.afterschool-breadcrumb {
	color: #0090b2;
	font-size: 1.0rem;
	font-weight: 700;
	margin-top: 15px;
}

.afterschool-breadcrumb a {
	color: #0090b2;
}

.afterschool-breadcrumb a:hover {
	opacity: 0.7;
}

.afterschool-breadcrumb .container {
	word-spacing: 0.2em;
}

/* --- ページ全体 --- */
#afterschool-facility-page {
	overflow-x: hidden;
}

/* ========================================
   ファーストビュー（画像エリア）
======================================== */
.af-single-fv {
	position: relative;
	width: 100%;
}

.af-single-fv-image {
	position: relative;
	width: 100%;
}

.af-single-fv-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	color: #0090b2;
	font-size: 2.4rem;
	font-weight: 700;
	font-family: "M PLUS Rounded 1c", sans-serif;
	white-space: nowrap;
	-webkit-text-stroke: 6px #fff;
	paint-order: stroke fill;
}

.af-single-fv-image img {
	display: block;
	width: 100%;
	min-width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: center;
}

.af-single-fv-image img.af-single-fv-image-sp {
	display: none;
}

/* ========================================
   セクション共通
======================================== */
.af-single-section-heading {
	font-size: 2rem;
	font-weight: 700;
	color: #4d4d4d;
	margin: 0 0 10px;
	font-family: "M PLUS Rounded 1c", sans-serif;
}

.af-single-section-separator {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 40px;
}

/* ========================================
   施設お知らせ
======================================== */
.af-single-news {
	padding: 60px 0;
}

.af-single-news-card {
	background-color: #e8f6f8;
	border-radius: 12px;
	padding: 10px 40px;
}

/* お知らせアイテム */
a.af-single-news-item,
div.af-single-news-item {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 2px dashed #b8dde3;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s;
}

a.af-single-news-item:last-child,
div.af-single-news-item:last-child {
	border-bottom: none;
}

a.af-single-news-item:hover {
	opacity: 0.7;
}

/* 日付 */
.af-single-news-date {
	font-size: 1.1rem;
	font-weight: 700;
	color: #00a0c1;
	white-space: nowrap;
	flex-shrink: 0;
}

/* タイトル */
.af-single-news-title {
	flex: 1;
	font-size: 1.05rem;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
}

/* 矢印アイコン */
.af-single-news-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #00a0c1;
	color: #00a0c1;
	font-size: 1.0rem;
	flex-shrink: 0;
}

/* ========================================
   入会のご案内
======================================== */
.af-single-enrollment {
	position: relative;
	z-index: 1;
	padding: 60px 0;
	background-image: url("../img/afterschool_facility/kids-club-background1.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}

.af-single-enrollment-content {
	display: flex;
	gap: 30px;
}

.af-single-enrollment-col {
	flex: 1;
	border-radius: 16px;
	padding: 30px;
	text-align: center;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	display: flex;
	flex-direction: column;
}

.af-single-enrollment-col:first-child {
	background-image: url("../img/afterschool_facility/kids-club-contents-background1.svg");
}

.af-single-enrollment-col:last-child {
	background-image: url("../img/afterschool_facility/kids-club-contents-background2.svg");
}

.af-single-enrollment-col-title {
	background-color: #fff;
	color: #0090b2;
	font-size: 1.4rem;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 20px;
	position: relative;
	display: inline-block;
	margin: 0 0 -20px;
	font-family: "M PLUS Rounded 1c", sans-serif;
}

.af-single-enrollment-col-title::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #fff;
}

/* 写真エリア */
.af-single-enrollment-photo {
	width: 100%;
	max-width: 300px;
	margin: auto;
	border-radius: 12px;
}

.af-single-enrollment-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* PDFリンク */
.af-single-enrollment-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #23bee2;
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 700;
	padding: 12px 30px;
	border-radius: 50px;
	transition: opacity 0.3s;
	margin-top: auto;
}

.af-single-enrollment-link:hover {
	opacity: 0.7;
}

/* QRコードエリア */
.af-single-enrollment-qr-wrap {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: auto;
}

.af-single-enrollment-qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex: 1;
}

.af-single-enrollment-qr-img {
	width: 120px;
	height: 120px;
	object-fit: contain;
}

.af-single-enrollment-qr-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #23bee2;
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 700;
	padding: 12px 30px;
	border-radius: 50px;
	transition: opacity 0.3s;
	margin-top: 10px;
}

.af-single-enrollment-qr-link:hover {
	opacity: 0.7;
}

/* ========================================
   放課後の過ごし方
======================================== */
.af-single-activity {
	margin-top: -20px;
	padding: 80px 0;
	background-image: url("../img/afterschool_facility/kids-club-background2.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}

.af-single-activity-heading {
	font-size: 2rem;
	font-weight: 500;
	color: #4d4d4d;
	margin: 0 0 10px;
	font-family: "M PLUS Rounded 1c", sans-serif;
}

/* アクティビティ枠 */
.af-single-activity-item {
	margin-top: 30px;
}

/* タイトル（ピル型見出し） */
.af-single-activity-title-wrap {
	text-align: center;
	margin-bottom: 20px;
}

.af-single-activity-title {
	display: block;
	margin: 0;
	font-size: 1.9rem;
	font-weight: 700;
	color: #0092b4;
	background-image: url("../img/afterschool_facility/kids-club-text-background.png");
	background-repeat: no-repeat;
	background-position: center center;
	padding: 20px 0;
	font-family: "M PLUS Rounded 1c", sans-serif;
}

/* ドットセパレーター */
.af-single-activity-dot-separator {
	display: block;
	width: 100%;
	height: auto;
	margin: 40px 0;
}

/* サブタイトル */
.af-single-activity-subtitle {
	text-align: left;
	font-size: 1.5rem;
	font-weight: 700;
	color: #333;
	margin: 0 0 20px;
	font-family: "M PLUS Rounded 1c", sans-serif;
}

.af-single-activity-subtitle::before {
	content: "● ";
	color: #23bee2;
}

.af-single-activity-subtitle::after {
	content: " ●";
	color: #23bee2;
}

/* サブアイテム */
.af-single-activity-sub {
	margin-bottom: 30px;
}

.af-single-activity-sub:last-child {
	margin-bottom: 0;
}

/* フリースペース（白枠） */
.af-single-activity-content {
	background-color: #fff;
	border: 2px dashed #b8e8f0;
	border-radius: 12px;
	padding: 30px;
	font-size: 1rem;
	font-weight: 500;
	color: #666;
	line-height: 1.8;
}

/* 画像グリッド */
.af-single-activity-images {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 20px;
}

.af-single-activity-image {
	border-radius: 8px;
	overflow: hidden;
}

.af-single-activity-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ========================================
   施設概要
======================================== */
.af-single-overview {
	padding: 60px 0;
	background-color: #fff;
}

.af-single-overview-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.af-single-overview-table th,
.af-single-overview-table td {
	padding: 16px 24px;
	font-size: 1rem;
	font-weight: 500;
	text-align: left;
	border-bottom: 1px solid #b3b3b3;
}

.af-single-overview-table th {
	background-color: #0097ba;
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
	min-width: 180px;
	width: 200px;
}

.af-single-overview-table td {
	background-color: #fff;
	color: #666;
}

.af-single-overview-table td a {
	color: #00a0c1;
	font-weight: 700;
	text-decoration: none;
}

.af-single-overview-table td a:hover {
	text-decoration: underline;
}

.af-single-overview-map-link {
	display: inline-block;
	margin-top: 4px;
	text-decoration: underline;
}

/* その他連絡先 */
.af-single-overview-contact-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 4px 0;
}

.af-single-overview-contact-phone a {
	white-space: nowrap;
}

.af-single-overview-contact-phone .fa-phone {
	font-size: 0.75em;
	margin-right: 4px;
}

/* Googleマップ */
.af-single-overview-map {
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.af-single-overview-map iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

/* ========================================
   求人バナー（画像エリア）
======================================== */
.af-single-jobnet {
	padding: 60px 0;
}

.af-single-jobnet-image {
	width: 100%;
}

.af-single-jobnet-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* ========================================
   放課後支援事業リンク
======================================== */
.af-single-links {
	padding: 60px 0;
}

.af-single-links-heading {
	font-size: 2rem;
	font-weight: 500;
	color: #0092b4;
	margin: 0 0 30px;
	font-family: "M PLUS Rounded 1c", sans-serif;
}

.af-single-links-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 30px;
	background-color: #f7f7f7;
	border-radius: 12px;
	padding: 30px 40px;
}

.af-single-links-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #23bee2;
	color: #fff;
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: 50px;
	transition: opacity 0.3s;
}

.af-single-links-btn:hover {
	opacity: 0.75;
}

.af-single-links-arrow {
	font-size: 1.0rem;
}

/* ========================================
   お問い合わせ
======================================== */
.af-single-contact {
	padding: 60px 0;
	background-image: url("../img/afterschool_facility/kids-club-background3.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}

.af-single-contact-heading {
	font-size: 2rem;
	font-weight: 500;
	color: #0092b4;
	margin: 0 0 30px;
	font-family: "M PLUS Rounded 1c", sans-serif;
}

.af-single-contact-card {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	background-color: #fff;
	border-radius: 12px;
	padding: 28px 50px;
}

.af-single-contact-phone {
	flex: 1;
	text-align: center;
}

.af-single-contact-phone-number {
	display: block;
	font-size: 2.4rem;
	font-weight: 700;
	color: #23bee2;
	text-decoration: none;
	font-family: "M PLUS Rounded 1c", sans-serif;
	line-height: 1.2;
}

.af-single-contact-phone-number:hover {
	opacity: 0.7;
}

.af-single-contact-phone-hours {
	margin: 12px 0 0;
	font-size: 1.0rem;
	font-weight: 500;
	color: #666;
}

.af-single-contact-form {
	flex: 1;
}

.af-single-contact-form-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #23bee2;
	color: #fff;
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 700;
	padding: 20px 50px;
	border-radius: 50px;
	transition: opacity 0.3s;
	width: 100%;
}

.af-single-contact-form-btn:hover {
	opacity: 0.8;
}

/* ========================================
   レスポンシブ（SP）
======================================== */
@media screen and (max-width: 1023px) {
	/* FV */
	.af-single-fv-image img.af-single-fv-image-pc {
		display: none;
	}

	.af-single-fv-image img.af-single-fv-image-sp {
		display: block;
	}

	/* 共通 */
	.af-single-section-heading {
		font-size: 1.4rem;
	}

	/* お知らせ */
	.af-single-news-card {
		padding: 5px 20px;
	}

	a.af-single-news-item,
	div.af-single-news-item {
		flex-wrap: wrap;
		gap: 4px 16px;
		padding: 18px 0;
	}

	.af-single-news-date {
		font-size: 1.0rem;
	}

	.af-single-news-title {
		width: 100%;
		font-size: 1.0rem;
	}

	.af-single-news-arrow {
		width: 30px;
		height: 30px;
		font-size: 1.0rem;
	}

	/* 入会のご案内 */
	.af-single-enrollment-content {
		flex-direction: column;
	}

	.af-single-enrollment-col {
		padding: 20px;
	}

	.af-single-enrollment-photo {
		width: 140px;
		height: 140px;
	}

	.af-single-enrollment-qr-img {
		width: 100px;
		height: 100px;
	}

	/* 放課後の過ごし方 */
	.af-single-activity-heading {
		font-size: 1.4rem;
	}

	.af-single-activity-title {
		font-size: 1.1rem;
		padding: 8px 30px;
	}

	.af-single-activity-subtitle {
		font-size: 1rem;
	}

	.af-single-activity-content {
		padding: 20px;
	}

	.af-single-activity-images {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	/* 施設概要 */
	.af-single-overview-table th,
	.af-single-overview-table td {
		display: block;
		width: 100%;
		min-width: unset;
	}

	.af-single-overview-table th {
		border-bottom: none;
	}

	.af-single-overview-map iframe {
		height: 280px;
	}

	/* 求人バナー */
	.af-single-jobnet {
		padding: 40px 0;
	}

	.af-single-jobnet-image {
		min-height: 100px;
	}

	/* 放課後支援事業リンク */
	.af-single-links-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	/* お問い合わせ */
	.af-single-contact-heading {
		font-size: 1.4rem;
	}

	.af-single-contact-card {
		flex-direction: column;
		gap: 24px;
		text-align: center;
		padding: 30px 20px;
	}

	.af-single-contact-phone-number {
		font-size: 1.8rem;
	}

	.af-single-contact-form-btn {
		padding: 16px 30px;
		font-size: 1rem;
	}
}

/* ========================================
   フッター（施設個別ページ用）
======================================== */
.af-facility-footer {
	background-color: #0097ba;
	color: #fff;
	padding: 80px 0 0 0;
}

/* 施設情報エリア */
.af-facility-footer-info-area {
	padding: 40px 0;
}

.af-facility-footer-info-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

/* ロゴ＋施設名 */
.af-facility-footer-logo-name {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.af-facility-footer-logo {
	width: 140px;
	height: auto;
}

.af-facility-footer-facility-name {
	font-size: 1.4rem;
	font-weight: 700;
	font-family: "M PLUS Rounded 1c", sans-serif;
	white-space: nowrap;
}

/* 施設詳細 */
.af-facility-footer-details p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.8;
	font-weight: 700;
}

.af-facility-footer-details a {
	color: #fff;
	text-decoration: none;
}

.af-facility-footer-details a:hover {
	opacity: 0.7;
}

/* 区切り線 */
.af-facility-footer-divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.4);
	margin: 0;
}

/* ブランドエリア */
.af-facility-footer-brand {
	padding: 30px 0;
}

.af-facility-footer-brand-inner {
	display: flex;
	justify-content: center;
	align-items: center;
}

.af-facility-footer-brand-logo {
	width: 400px;
	height: auto;
	margin-bottom: 12px;
}

/* コピーライト */
.af-facility-footer-copyright {
	background-color: #1eb8d1;
	padding: 15px 0;
}

.af-facility-footer-copyright p {
	margin: 0;
	font-size: 0.8rem;
	color: #fff;
	text-align: center;
	font-weight: 700;
}

/* --- フッター レスポンシブ --- */
@media screen and (max-width: 1023px) {
	.af-facility-footer-info-inner {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.af-facility-footer-logo-name {
		flex-direction: column;
		gap: 10px;
	}

	.af-facility-footer-facility-name {
		font-size: 1.2rem;
		white-space: normal;
	}

	.af-facility-footer-brand-logo {
		width: 200px;
	}
}
