@charset "UTF-8";

/* ==========================================================================
   池袋囲碁サロン — front page styles
   基調色: 水色 #a8eff1（ロゴ背景と一致）、やさしい雰囲気
   ========================================================================== */

:root {
	/* Aqua base（ロゴと揃える） */
	--ikb-aqua-50:  #f1fbfc;
	--ikb-aqua-100: #dff6f7;
	--ikb-aqua-200: #c6f0f2;
	--ikb-aqua-base: #a8eff1;
	--ikb-aqua-400: #7ddde0;
	--ikb-aqua-500: #53c4c8;
	--ikb-aqua-600: #3aa8ac;
	--ikb-aqua-700: #2a8a8e;
	--ikb-aqua-800: #206b6e;
	--ikb-aqua-900: #174f52;

	/* アクセント：セージ */
	--ikb-sage-700: #7a9b7d;
	--ikb-sage-500: #a1bfa3;

	/* アクセント：ウォームゴールド */
	--ikb-gold-700: #c8a35d;
	--ikb-gold-500: #dcbf7a;

	/* 温かいクリーム */
	--ikb-cream:   #fdfaf3;
	--ikb-cream-2: #f6f1e4;

	/* テキスト（ロゴの黒に合わせる） */
	--ikb-ink: #1e2430;
	--ikb-sub: #5a6578;
	--ikb-line: #e3e8e5;

	--ikb-line-green: #43c173;
	--ikb-line-green-dark: #32a45c;
}

.ikb-main {
	color: var(--ikb-ink);
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.85;
	letter-spacing: 0.02em;
	background: var(--ikb-aqua-base);
}

.ikb-main img { max-width: 100%; height: auto; }

.ikb-pc-only { display: inline; }
.ikb-sp-only { display: none; }
@media (max-width: 767px) {
	.ikb-pc-only { display: none; }
	.ikb-sp-only { display: inline; }
}

/* ---------- SWELL default sections on home — hide ---------- */

.home #main_visual.p-mainVisual,
.home .p-postSlider,
.home #post_slider,
.home #sidebar.l-sidebar {
	display: none !important;
}

.home #content.l-content,
.home.-sidebar-on #content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.home.top #content { padding-top: 0 !important; }

/* SWELLのメイン領域上余白を抹消（ヘッダー〜ヒーロー間の隙間対策） */
.home main.l-mainContent,
.home .l-mainContent,
.home #main_contents,
.home #main_content,
.home #main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.home .ikb-main { margin-top: 0 !important; }

/* ---------- Header overrides (SWELL) — aqua base ---------- */

.home #header.l-header,
.home .l-fixHeader {
	background: var(--ikb-aqua-base) !important;
	border-bottom: 1px solid rgba(30, 100, 104, 0.1);
	box-shadow: 0 1px 12px rgba(30, 100, 104, 0.08);
}

/* Replace text logo with our image logo */
.home #header .c-headLogo,
.home .l-fixHeader .c-headLogo {
	max-width: min(320px, 46vw);
}

.home #header .c-headLogo__link,
.home .l-fixHeader .c-headLogo__link {
	display: inline-block !important;
	font-size: 0 !important;
	line-height: 0 !important;
	color: transparent !important;
	padding: 4px 0;
	background-image: var(--ikb-logo-url, url("../images/logo.png"));
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	width: min(260px, 46vw);
	height: 44px;
}

.home .l-fixHeader .c-headLogo__link {
	height: 36px;
	/* 固定ヘッダーは白背景になるので、ロゴは背景透過版に切り替え */
	background-image: url("../images/logo-transparent.png") !important;
}

@media (max-width: 599px) {
	.home #header .c-headLogo__link,
	.home .l-fixHeader .c-headLogo__link {
		height: 34px;
		width: clamp(128px, 38vw, 172px);
	}
}

/* Hide SWELL's top info bar on home */
.home .l-header__bar { display: none !important; }

.home #header .l-header__G-nav a,
.home .l-fixHeader .l-header__G-nav a {
	color: var(--ikb-ink) !important;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.home #header .l-header__G-nav a:hover,
.home .l-fixHeader .l-header__G-nav a:hover {
	color: var(--ikb-aqua-800) !important;
}

@media (min-width: 960px) {
	.home #header .l-header__G-nav li.menu-item:has(> a[href*="/gallery/"]),
	.home .l-fixHeader .l-header__G-nav li.menu-item:has(> a[href*="/gallery/"]),
	body:is(.page, .single) #header .l-header__G-nav li.menu-item:has(> a[href*="/gallery/"]),
	body:is(.page, .single) .l-fixHeader .l-header__G-nav li.menu-item:has(> a[href*="/gallery/"]),
	#gnav li.menu-item:has(> a[href*="/gallery/"]),
	#gnav li.menu-item:has(> a[href*="/school/"]),
	#gnav li.menu-item:has(> a[href*="/ikebukuro-igo-class-kids/"]),
	#gnav li.menu-item:has(> a[href*="/ikebukuro-igo-class-kids-hikaru-no-go/"]),
	.l-fixHeader__gnav li.menu-item:has(> a[href*="/gallery/"]),
	.l-fixHeader__gnav li.menu-item:has(> a[href*="/school/"]),
	.l-fixHeader__gnav li.menu-item:has(> a[href*="/ikebukuro-igo-class-kids/"]),
	.l-fixHeader__gnav li.menu-item:has(> a[href*="/ikebukuro-igo-class-kids-hikaru-no-go/"]),
	.home #header .l-header__G-nav a[href*="/gallery/"],
	.home .l-fixHeader .l-header__G-nav a[href*="/gallery/"],
	body:is(.page, .single) #header .l-header__G-nav a[href*="/gallery/"],
	body:is(.page, .single) .l-fixHeader .l-header__G-nav a[href*="/gallery/"],
	#gnav a[href*="/gallery/"],
	#gnav a[href*="/school/"],
	#gnav a[href*="/ikebukuro-igo-class-kids/"],
	#gnav a[href*="/ikebukuro-igo-class-kids-hikaru-no-go/"],
	.l-fixHeader__gnav a[href*="/gallery/"],
	.l-fixHeader__gnav a[href*="/school/"],
	.l-fixHeader__gnav a[href*="/ikebukuro-igo-class-kids/"],
	.l-fixHeader__gnav a[href*="/ikebukuro-igo-class-kids-hikaru-no-go/"] {
		display: none !important;
	}
}

/* Header CTAs */
.ikb-head-ctas {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	padding-left: 14px;
}

.ikb-head-ctas a,
.ikb-head-ctas button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	box-sizing: border-box;
	vertical-align: middle;
	font-family: inherit;
	border: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ikb-head-ctas a:hover,
.ikb-head-ctas button:hover { transform: translateY(-1px); }

.ikb-head-ctas .ikb-head-line {
	background: var(--ikb-line-green);
	color: #fff !important;
	box-shadow: 0 2px 0 rgba(50, 164, 92, 0.3);
}
.ikb-head-ctas .ikb-head-line:hover { background: var(--ikb-line-green-dark); }

.ikb-head-ctas .ikb-head-apply {
	background: var(--ikb-ink);
	color: #fff !important;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.ikb-head-ctas .ikb-head-apply:hover { background: #000; }

/* X (Twitter) 丸型アイコンボタン（縦幅は LINE ボタンと同じ） */
.ikb-head-ctas .ikb-head-x {
	width: 38px !important;
	height: 38px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--ikb-ink);
	color: #fff !important;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
	flex-shrink: 0;
}

/* ギャラリー丸型アイコンボタン */
.ikb-head-ctas .ikb-head-gallery {
	width: 42px !important;
	height: 42px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #b8761f !important;
	box-shadow: 0 3px 0 rgba(184, 118, 31, 0.28), 0 0 0 2px rgba(184, 118, 31, 0.08) inset;
	border: 1px solid rgba(184, 118, 31, 0.28);
	flex-shrink: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ikb-head-ctas .ikb-head-gallery:hover { background: #fff7ea !important; }
.ikb-head-ctas .ikb-head-gallery svg {
	width: 22px;
	height: 22px;
	display: block;
}
.ikb-head-gallery__frame,
.ikb-head-gallery__mountain {
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ikb-head-gallery__frame { fill: rgba(184, 118, 31, 0.08); }
.ikb-head-gallery__sun { fill: currentColor; }

/* カレンダー丸型アイコンボタン */
.ikb-head-ctas .ikb-head-cal {
	width: 42px !important;
	height: 42px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #d6452f !important;
	box-shadow: 0 3px 0 rgba(214, 69, 47, 0.28), 0 0 0 2px rgba(214, 69, 47, 0.08) inset;
	border: 1px solid rgba(214, 69, 47, 0.28);
	flex-shrink: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ikb-head-ctas .ikb-head-cal:hover { background: #fff5f3 !important; }
.ikb-head-ctas .ikb-head-cal svg {
	width: 20px;
	height: 20px;
	display: block;
}
.ikb-head-cal__sheet,
.ikb-head-cal__bar,
.ikb-head-cal__rings,
.ikb-head-cal__mark {
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ikb-head-cal__sheet { fill: rgba(255, 255, 255, 0.12); }
.ikb-head-cal__mark { stroke-width: 2.1; }

.ikb-head-ctas .ikb-head-x:hover {
	background: #000;
}

.ikb-head-ctas .ikb-head-x svg {
	width: 16px;
	height: 16px;
	display: block;
}

.ikb-head-ctas .ikb-head-label {
	display: none;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

@media (min-width: 960px) {
	.ikb-head-ctas .ikb-head-gallery,
	.ikb-head-ctas .ikb-head-cal {
		width: auto !important;
		min-width: 42px !important;
		padding: 0 13px 0 10px !important;
		border-radius: 999px !important;
		gap: 6px;
	}
	.ikb-head-ctas .ikb-head-label {
		display: inline-block;
	}
}

@media (max-width: 959px) {
	.ikb-head-ctas {
		flex: 0 0 auto;
		gap: 5px;
		max-width: calc(100vw - 150px);
		min-width: 0;
	}
	.ikb-head-ctas .ikb-head-label {
		display: none !important;
	}
	.ikb-head-ctas :is(.ikb-head-gallery, .ikb-head-cal, .ikb-head-x, .ikb-head-line) {
		flex: 0 0 auto;
	}
	.ikb-head-ctas .ikb-head-x,
	.ikb-head-ctas .ikb-head-gallery,
	.ikb-head-ctas .ikb-head-cal {
		width: 26px !important;
		height: 26px !important;
		min-width: 26px !important;
		min-height: 26px !important;
	}
	.ikb-head-ctas .ikb-head-cal {
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
		min-height: 30px !important;
	}
	.ikb-head-ctas .ikb-head-gallery {
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
		min-height: 30px !important;
	}
	.ikb-head-ctas .ikb-head-x svg { width: 12px; height: 12px; }
	.ikb-head-ctas .ikb-head-gallery svg { width: 18px; height: 18px; }
	.ikb-head-ctas .ikb-head-cal svg { width: 16px; height: 16px; }
	.ikb-head-ctas .ikb-head-line {
		height: 30px !important;
		min-height: 30px !important;
		padding: 0 9px !important;
		font-size: 10px !important;
		letter-spacing: 0.02em !important;
	}
	/* SP のみ：小さなヘッダー内でも白い縁でボタンを分離 */
	.ikb-head-ctas .ikb-head-gallery {
		box-shadow: 0 2px 0 rgba(184, 118, 31, 0.26), 0 0 0 2px rgba(184, 118, 31, 0.08) inset !important;
		border-color: rgba(184, 118, 31, 0.28) !important;
	}
	.ikb-head-ctas .ikb-head-cal {
		box-shadow: 0 2px 0 rgba(214, 69, 47, 0.26), 0 0 0 2px rgba(214, 69, 47, 0.08) inset !important;
		border-color: rgba(214, 69, 47, 0.28) !important;
	}

	/* スマホではハンバーガーを非表示 */
	body:is(.home, .page, .single) .l-header__menuBtn,
	body:is(.home, .page, .single) .l-fixHeader .l-header__menuBtn { display: none !important; }
}

@media (max-width: 599px) {
	.ikb-head-ctas {
		gap: 4px !important;
		max-width: calc(100vw - 142px);
	}
	.ikb-head-ctas .ikb-head-gallery,
	.ikb-head-ctas .ikb-head-cal {
		width: 28px !important;
		height: 28px !important;
		min-width: 28px !important;
		min-height: 28px !important;
	}
	.ikb-head-ctas .ikb-head-x {
		width: 24px !important;
		height: 24px !important;
		min-width: 24px !important;
		min-height: 24px !important;
	}
	.ikb-head-ctas .ikb-head-line {
		width: 38px !important;
		height: 28px !important;
		min-width: 38px !important;
		min-height: 28px !important;
		padding: 0 !important;
		font-size: 10px !important;
	}
	.ikb-head-ctas .ikb-head-gallery svg { width: 17px; height: 17px; }
	.ikb-head-ctas .ikb-head-cal svg { width: 15px; height: 15px; }
}

@media (max-width: 360px) {
	.ikb-head-ctas {
		gap: 3px !important;
		max-width: calc(100vw - 128px);
	}
	.home #header .c-headLogo__link,
	.home .l-fixHeader .c-headLogo__link,
	body:is(.page, .single) #header .c-headLogo__link,
	body:is(.page, .single) .l-fixHeader .c-headLogo__link {
		width: 118px;
	}
}

@media (max-width: 959px) {
	/* スマホ：通常ヘッダーを最初から fixed にして「ちょっと動く」挙動を抑止 */
	body.home #header.l-header,
	body.page-id-9 #header.l-header {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 100 !important;
		width: 100% !important;
		display: block !important;
		transform: none !important;
		transition: none !important;
		animation: none !important;
		will-change: auto !important;
	}

	/* ヘッダー上部のバー（PC 用検索エリア）を完全非表示：高さ変動の原因 */
	body.home .l-header__bar,
	body.page-id-9 .l-header__bar { display: none !important; }

	/* SWELL のスクロール後 fixHeader は非表示（固定ヘッダーが2つ出るのを防止） */
	body.home .l-fixHeader,
	body.page-id-9 .l-fixHeader {
		display: none !important;
	}

	/* SWELL の JS が body にスクロール状態クラスを付けても挙動を変えさせない */
	body.is-scrolled #header.l-header,
	body.is-fix-header #header.l-header,
	body.is-active-fix-header #header.l-header {
		position: fixed !important;
		top: 0 !important;
		transform: none !important;
	}

	/* スマホ：ロゴ ……… LINE ハンバーガー の順に並べる */
	.home #header .l-header__inner,
	.home .l-fixHeader__inner {
		display: flex !important;
		align-items: center !important;
		gap: 0 !important;
		position: relative;
	}

	/* ロゴを左端に固定（残りスペースを margin-auto で押し出して右側を寄せる） */
	.home #header .l-header__logo,
	.home .l-fixHeader .l-header__logo {
		order: 0;
		margin-right: auto !important;
		flex: 0 0 auto;
	}

	/* SWELL 標準の検索ボタン（LINE の裏でチラ見えしていた要素）を非表示 */
	.home .l-header__customBtn,
	.home .l-fixHeader .l-header__customBtn { display: none !important; }

	/* CTA は flex の自然位置に配置（absolute 解除） */
	.ikb-head-ctas {
		position: static !important;
		transform: none !important;
		order: 1;
		margin: 0 4px 0 0 !important;
		padding: 0 !important;
		gap: 5px;
	}
	.ikb-head-ctas a { height: 26px; min-height: 26px; padding: 0 9px; font-size: 10px; letter-spacing: 0.02em; }
	.ikb-head-ctas .ikb-head-apply { display: none !important; }

	/* ハンバーガーは最右 */
	.home .l-header__menuBtn,
	.home .l-fixHeader .l-header__menuBtn { order: 2; }
}

/* ---------- Hero ---------- */

.ikb-hero {
	position: relative;
	background:
		radial-gradient(900px 500px at 90% 100%, rgba(255, 255, 255, 0.5), transparent 60%),
		radial-gradient(1200px 600px at 10% 0%, rgba(255, 255, 255, 0.35), transparent 55%),
		linear-gradient(170deg, var(--ikb-aqua-200) 0%, var(--ikb-aqua-base) 60%, var(--ikb-aqua-400) 100%);
	color: var(--ikb-ink);
	padding: 90px 24px 100px;
	overflow: hidden;
	isolation: isolate;
}

.ikb-hero__deco {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.35;
	background-image:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.6) 0, transparent 45%),
		radial-gradient(circle at 10% 85%, rgba(122, 155, 125, 0.25) 0, transparent 45%);
	pointer-events: none;
}

.ikb-hero__inner {
	max-width: 1180px;
	margin: 0 auto;
	text-align: left;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.ikb-hero__text { min-width: 0; }

.ikb-hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ikb-hero__illust {
	width: 100%;
	max-width: 480px;
	height: auto;
	display: block;
	border-radius: 18px;
	box-shadow: 0 18px 36px rgba(30, 100, 104, 0.18);
	animation: ikb-hero-float 6s ease-in-out infinite;
}

@keyframes ikb-hero-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
	.ikb-hero__illust { animation: none; }
}

.ikb-hero__badge {
	display: inline-block;
	padding: 7px 18px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--ikb-aqua-600);
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: 0.3em;
	color: var(--ikb-aqua-800);
	margin-bottom: 32px;
	font-weight: 700;
	backdrop-filter: blur(4px);
}

.ikb-hero__title {
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-weight: 900;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.35;
	letter-spacing: 0.04em;
	margin: 0 0 36px;
	color: var(--ikb-ink);
}

.ikb-hero__title span {
	display: block;
	white-space: nowrap;
}

.ikb-hero__lead {
	font-size: clamp(14px, 1.25vw, 16px);
	line-height: 2.1;
	color: var(--ikb-sub);
	max-width: 680px;
	margin: 0 0 24px;
}

.ikb-hero__lead:last-of-type { margin-bottom: 44px; }

.ikb-hero__lead strong { color: var(--ikb-aqua-900); font-weight: 700; }

.ikb-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ---------- Buttons ---------- */

.ikb-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 10px 32px;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-shadow: 0 4px 12px rgba(30, 100, 104, 0.14);
}

.ikb-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30, 100, 104, 0.2); }
.ikb-btn:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(30, 100, 104, 0.2); }

.ikb-btn__label { font-size: 15.5px; }
.ikb-btn__sub { font-size: 11px; opacity: 0.85; letter-spacing: 0.18em; margin-top: 2px; }

.ikb-btn--primary {
	background: var(--ikb-ink);
	color: #fff;
}
.ikb-btn--primary:hover { background: #000; color: #fff; }

.ikb-btn--line {
	background: var(--ikb-line-green);
	color: #fff;
}
.ikb-btn--line:hover { background: var(--ikb-line-green-dark); color: #fff; }

.ikb-btn--lg { min-height: 68px; padding: 12px 40px; }
.ikb-btn--lg .ikb-btn__label { font-size: 17px; }

/* ---------- Intro ---------- */

.ikb-intro {
	padding: 110px 24px 90px;
	background: var(--ikb-cream);
	text-align: center;
}

.ikb-intro__inner { max-width: 820px; margin: 0 auto; }

.ikb-intro__eyebrow {
	font-size: 12px;
	letter-spacing: 0.4em;
	color: var(--ikb-aqua-700);
	font-weight: 700;
	margin: 0 0 14px;
}

.ikb-intro__title {
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 900;
	color: var(--ikb-ink);
	line-height: 1.55;
	letter-spacing: 0.08em;
	margin: 0 0 32px;
}

.ikb-intro__lead {
	font-size: 16px;
	line-height: 2.2;
	color: var(--ikb-sub);
	margin: 0 0 18px;
}

.ikb-intro__lead strong { color: var(--ikb-aqua-900); font-weight: 700; }
.ikb-intro__lead em {
	font-style: normal;
	color: var(--ikb-aqua-900);
	font-weight: 700;
	background: linear-gradient(transparent 62%, var(--ikb-aqua-base) 0%);
	padding: 0 4px;
}

.ikb-intro__note { font-size: 14px; color: var(--ikb-sub); margin: 0; }

.ikb-intro__gallery-link {
	margin: 26px 0 0;
	text-align: right;
}

.ikb-intro__gallery-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ikb-aqua-900) !important;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-decoration: none !important;
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
}

.ikb-intro__gallery-link a::after {
	content: ">";
	font-size: 13px;
	line-height: 1;
}

/* ---------- Section head ---------- */

.ikb-sec__head {
	text-align: center;
	margin-bottom: 60px;
}

.ikb-sec__eyebrow {
	font-size: 12px;
	letter-spacing: 0.4em;
	color: var(--ikb-aqua-700);
	font-weight: 700;
	margin: 0 0 12px;
}

.ikb-sec__title {
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 900;
	color: var(--ikb-ink);
	letter-spacing: 0.1em;
	margin: 0;
	line-height: 1.3;
}

.ikb-sec__title::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: var(--ikb-aqua-500);
	margin: 20px auto 0;
	border-radius: 2px;
}

.ikb-sec__desc {
	margin: 20px 0 0;
	font-size: 14px;
	color: var(--ikb-sub);
	letter-spacing: 0.08em;
}

.ikb-sec__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 18px 0 0;
	padding: 5px 13px;
	border-radius: 999px;
	background: #fff5f3;
	border: 1px solid rgba(214, 69, 47, 0.24);
	color: #d6452f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1;
}

/* ---------- Classes ---------- */

.ikb-classes {
	padding: 110px 24px 110px;
	background: var(--ikb-aqua-100);
}

.ikb-classes__inner { max-width: 1160px; margin: 0 auto; }

.ikb-classes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.ikb-class-card {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	border-radius: 22px;
	padding: 42px 30px 36px;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(30, 100, 104, 0.06);
}

.ikb-class-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--ikb-aqua-400), var(--ikb-aqua-600), var(--ikb-sage-500));
}

.ikb-class-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(30, 100, 104, 0.12);
	border-color: var(--ikb-aqua-400);
}

.ikb-class-card__head {
	border-bottom: 1px dashed var(--ikb-line);
	padding-bottom: 18px;
	margin-bottom: 20px;
}

.ikb-class-card__title {
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 26px;
	font-weight: 900;
	color: var(--ikb-ink);
	margin: 0 0 4px;
	letter-spacing: 0.08em;
}

.ikb-class-card__en {
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--ikb-aqua-700);
	font-weight: 700;
	margin: 0;
	text-transform: uppercase;
}

.ikb-class-card__lead {
	font-size: 15px;
	font-weight: 700;
	color: var(--ikb-aqua-900);
	margin: 0 0 12px;
	line-height: 1.7;
}

.ikb-class-card__body {
	font-size: 14px;
	color: var(--ikb-sub);
	line-height: 2;
	margin: 0 0 24px;
	flex-grow: 1;
}

.ikb-class-card__meta {
	margin: 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--ikb-line);
	display: grid;
	gap: 12px;
}

.ikb-class-card__meta > div {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 10px;
	align-items: start;
}

.ikb-class-card__meta dt {
	font-size: 11px;
	letter-spacing: 0.16em;
	color: var(--ikb-ink);
	font-weight: 700;
	background: var(--ikb-aqua-base);
	padding: 4px 8px;
	border-radius: 6px;
	text-align: center;
	line-height: 1.5;
	align-self: start;
	justify-self: start;
	white-space: nowrap;
}

.ikb-class-card__meta dd {
	font-size: 13px;
	color: var(--ikb-ink);
	margin: 0;
	line-height: 1.7;
	padding-top: 1px;
}

.ikb-classes__kids-link {
	margin: 24px 0 0;
	text-align: center;
}

.ikb-classes__kids-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 24px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(42, 138, 142, 0.22);
	box-shadow: 0 6px 16px rgba(30, 100, 104, 0.08);
	color: var(--ikb-aqua-900);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none !important;
}

.ikb-classes__kids-link a::after {
	content: ">";
	margin-left: 10px;
	font-size: 13px;
	line-height: 1;
}

/* ---------- News (Card style, horizontal scroll) ---------- */

.ikb-news {
	padding: 100px 24px 100px;
	background: var(--ikb-aqua-50);
}

.ikb-news__inner { max-width: 1524px; margin: 0 auto; }

.ikb-news__viewport {
	position: relative;
}

/* 最新 2 件の縦並び（スマホのみ表示） */
.ikb-news__featured {
	display: none;
}

@media (max-width: 959px) {
	.ikb-news__featured {
		display: flex;
		flex-direction: column;
		gap: 14px;
		margin-bottom: 18px;
	}
	.ikb-news-card--featured {
		width: 100%;
		flex: 0 0 auto;
	}
	/* 横スクロール側の先頭 2 件は featured と重複するので隠す */
	.ikb-news__cards > .ikb-news-card:nth-child(-n+2) {
		display: none !important;
	}
}

.ikb-news__cards {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	overflow-y: visible;
	padding: 8px 4px 28px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--ikb-aqua-400) transparent;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
}

/* 横スクロール用の矢印ボタン（PC のみ） */
.ikb-news__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.12);
	box-shadow: 0 6px 18px rgba(30, 100, 104, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	color: var(--ikb-ink);
	padding: 0;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ikb-news__nav:hover {
	background: var(--ikb-aqua-base);
	transform: translateY(-50%) scale(1.06);
	box-shadow: 0 8px 22px rgba(30, 100, 104, 0.24);
}

.ikb-news__nav:active { transform: translateY(-50%) scale(0.98); }

.ikb-news__nav svg { display: block; }

.ikb-news__nav--prev { left: -18px; }
.ikb-news__nav--next { right: -18px; }

.ikb-news__nav[hidden] { display: none; }

@media (max-width: 959px) {
	.ikb-news__nav { display: none !important; }
}

.ikb-news__cards::-webkit-scrollbar { height: 8px; }
.ikb-news__cards::-webkit-scrollbar-track {
	background: rgba(30, 100, 104, 0.06);
	border-radius: 4px;
}
.ikb-news__cards::-webkit-scrollbar-thumb {
	background: var(--ikb-aqua-400);
	border-radius: 4px;
}
.ikb-news__cards::-webkit-scrollbar-thumb:hover {
	background: var(--ikb-aqua-500);
}

.ikb-news-card {
	flex: 0 0 320px;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(30, 100, 104, 0.08);
	box-shadow: 0 8px 24px rgba(30, 100, 104, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	scroll-snap-align: start;
}

.ikb-news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(30, 100, 104, 0.14);
	border-color: var(--ikb-aqua-400);
}

.ikb-news-card__link {
	color: var(--ikb-ink);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ikb-news-card__link:hover { color: var(--ikb-aqua-900); }

.ikb-news-card__thumb {
	overflow: hidden;
	display: block;
	background: linear-gradient(135deg, var(--ikb-aqua-200), var(--ikb-aqua-base));
}

.ikb-news-card__img {
	width: 100%;
	height: auto;
	display: block;
}

/* プレースホルダー（アイキャッチ未設定）は 16:10 比率を維持 */
.ikb-news-card__placeholder { aspect-ratio: 16 / 10; }

.ikb-news-card:hover .ikb-news-card__img { transform: none; }

.ikb-news-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ikb-aqua-200), var(--ikb-aqua-base));
	display: flex;
	align-items: center;
	justify-content: center;
}

.ikb-news-card__placeholder svg {
	width: 58%;
	height: 58%;
	opacity: 0.9;
	filter: drop-shadow(0 4px 8px rgba(30, 100, 104, 0.15));
}

.ikb-news-card__body {
	padding: 22px 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.ikb-news-card__title { order: 1; }
.ikb-news-card__excerpt { order: 2; }

.ikb-news-card__date {
	order: 3;
	align-self: flex-end;
	margin-top: auto;
	padding-top: 12px;
	font-size: 12px;
	letter-spacing: 0.18em;
	color: var(--ikb-aqua-700);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ikb-news-card__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
	color: var(--ikb-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ikb-news-card__excerpt {
	font-size: 13px;
	line-height: 1.85;
	color: var(--ikb-sub);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ikb-news__empty {
	text-align: center;
	padding: 46px 20px;
	color: var(--ikb-sub);
	background: #fff;
	border: 1px dashed var(--ikb-line);
	border-radius: 18px;
	margin: 0;
}

/* ---------- Hours（営業時間・料金） ---------- */

.ikb-hours {
	padding: 100px 24px;
	background: var(--ikb-cream);
}

.ikb-hours__inner { max-width: 1080px; margin: 0 auto; }

/* 営業日・営業時間（フリーテキストの行） */
.ikb-hours__line {
	margin: 0 0 12px;
	padding: 14px 22px;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	border-radius: 10px;
	font-size: 15px;
	color: var(--ikb-ink);
	line-height: 1.7;
	display: flex;
	align-items: baseline;
	gap: 16px;
	flex-wrap: wrap;
	box-shadow: 0 6px 18px rgba(30, 100, 104, 0.05);
}
.ikb-hours__line strong {
	display: inline-block;
	background: var(--ikb-aqua-base);
	color: var(--ikb-ink);
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	white-space: nowrap;
}

/* 料金見出し */
.ikb-hours__price-heading {
	margin: 40px 0 22px;
	text-align: center;
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 900;
	color: var(--ikb-ink);
	letter-spacing: 0.08em;
}

/* 料金カード */
.ikb-hours__inner .wp-block-columns.ikb-hours__plans {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 344px));
	justify-content: center;
	gap: 22px;
	margin: 0;
}

.ikb-hours__inner .wp-block-columns.ikb-hours__plans > .wp-block-column.ikb-hours-plan {
	flex-basis: auto !important;
	width: auto !important;
	margin: 0 !important;
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	border-radius: 16px;
	padding: 32px 24px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	box-shadow: 0 8px 24px rgba(30, 100, 104, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ikb-hours-plan:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(30, 100, 104, 0.14) !important;
}

.ikb-hours-plan__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--ikb-ink);
	letter-spacing: 0.08em;
	display: flex;
	align-items: center;
	gap: 8px;
}
.ikb-hours-plan__title::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.ikb-hours-plan--day .ikb-hours-plan__title::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23c8a35d' d='M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z'/></svg>");
}
.ikb-hours-plan--night .ikb-hours-plan__title::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%235a3812' d='M21.64 13a9 9 0 1 1-10.63-10.6 1 1 0 0 1 1.07 1.4 7 7 0 0 0 9.16 9.16 1 1 0 0 1 1.4 1.04z'/></svg>");
}
.ikb-hours-plan--all .ikb-hours-plan__title::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%237a4f1a' d='M16 4c-2.21 0-4.12.84-5.5 2.16C9.12 4.84 7.21 4 5 4 2.24 4 0 6.24 0 9c0 2.76 2.24 5 5 5 2.21 0 4.12-.84 5.5-2.16C11.88 13.16 13.79 14 16 14c2.76 0 5-2.24 5-5s-2.24-5-5-5zM5 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm11 0a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/></svg>");
}

.ikb-hours-plan__time {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--ikb-sub);
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.ikb-hours-plan__price {
	margin: 0;
	font-size: clamp(34px, 4vw, 44px);
	font-weight: 900;
	color: var(--ikb-ink);
	letter-spacing: 0.02em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ikb-hours-plan__yen {
	font-size: 0.55em;
	font-weight: 700;
	color: var(--ikb-aqua-700);
	margin-right: 4px;
	vertical-align: middle;
}
.ikb-hours-plan__temp {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #fff5f3;
	border: 1px solid rgba(214, 69, 47, 0.24);
	color: #d6452f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	vertical-align: middle;
}

.ikb-fee-panel {
	width: min(100%, 760px);
	max-width: 760px;
	box-sizing: border-box;
	margin: 0 auto 22px;
	padding: 24px 30px 28px;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.1);
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(30, 100, 104, 0.07);
	color: var(--ikb-ink);
}

.ikb-fee-panel__head {
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ikb-ink);
}

.ikb-fee-panel__title {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 42px);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: 0.02em;
}

.ikb-fee-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	text-align: center;
	align-items: start;
}

.ikb-fee-item {
	min-width: 0;
}

.ikb-fee-item__icon {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 auto 8px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.ikb-fee-item--day .ikb-fee-item__icon {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'><g fill='%23c8a35d'><circle cx='48' cy='48' r='22'/><path d='M48 4l7 18H41L48 4zm0 88l-7-18h14l-7 18zM4 48l18-7v14L4 48zm88 0l-18 7V41l18 7zM17 17l18 8-10 10-8-18zm62 62l-18-8 10-10 8 18zM79 17l-8 18-10-10 18-8zM17 79l8-18 10 10-18 8z'/></g></svg>");
}

.ikb-fee-item--night .ikb-fee-item__icon {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'><path fill='none' stroke='%235a3812' stroke-width='7' stroke-linecap='round' stroke-linejoin='round' d='M64 14a33 33 0 1 0 16 50A27 27 0 0 1 64 14z'/><path fill='none' stroke='%235a3812' stroke-width='6' stroke-linejoin='round' d='m69 35 5 11 12 1-9 8 3 12-11-6-11 6 3-12-9-8 12-1z'/></svg>");
}

.ikb-fee-item--all .ikb-fee-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7a4f1a;
	font-size: 48px;
	font-weight: 900;
	line-height: 1;
}

.ikb-fee-item__title {
	margin: 0 0 4px;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.ikb-fee-item__time {
	margin: 0 0 10px;
	font-size: clamp(14px, 1.5vw, 17px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
	white-space: nowrap;
}

.ikb-fee-item__price,
.ikb-fee-students__price {
	margin: 0;
	font-size: clamp(32px, 3.6vw, 44px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}

.ikb-fee-item__price span,
.ikb-fee-students__price span {
	margin-left: 4px;
	font-size: 0.42em;
	font-weight: 700;
	vertical-align: baseline;
}

.ikb-fee-students {
	margin-top: 22px;
	padding: 14px 18px 16px;
	border: 2px solid var(--ikb-ink);
	text-align: center;
}

.ikb-fee-students__label {
	margin: 0 0 12px;
	font-size: clamp(18px, 2.1vw, 25px);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.ikb-fee-students__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: end;
}

.ikb-open-panel {
	width: min(100%, 760px);
	max-width: 760px;
	box-sizing: border-box;
	margin: 0 auto 12px;
	padding: 24px 30px 26px;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.1);
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(30, 100, 104, 0.07);
	color: var(--ikb-ink);
}

.ikb-open-panel__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ikb-ink);
}

.ikb-open-panel__title {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 42px);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: 0.02em;
}

.ikb-open-panel__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ikb-aqua-100);
	color: #17109b;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.2;
	white-space: nowrap;
}

.ikb-open-table {
	display: grid;
	grid-template-columns: 116px repeat(7, minmax(0, 1fr));
	border: 1px solid rgba(30, 36, 48, 0.2);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.ikb-open-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 6px;
	border-right: 1px solid rgba(30, 36, 48, 0.14);
	border-bottom: 1px solid rgba(30, 36, 48, 0.14);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.ikb-open-cell:nth-child(8n) {
	border-right: 0;
}

.ikb-open-cell:nth-last-child(-n+8) {
	border-bottom: 0;
}

.ikb-open-cell--head {
	min-height: 42px;
	background: #f8fbfb;
	font-size: 18px;
}

.ikb-open-cell--time {
	justify-content: flex-start;
	padding-left: 12px;
	background: #fdfaf3;
	color: var(--ikb-sub);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	white-space: nowrap;
}

.ikb-open-cell--sat {
	color: #4f6fff;
}

.ikb-open-cell--sun {
	color: #ef4d4d;
}

.ikb-open-cell--open {
	font-size: 25px;
	color: var(--ikb-ink);
}

.ikb-open-cell--lesson {
	color: #17109b;
	font-size: 21px;
}

.ikb-open-cell--closed {
	color: #2b303a;
	font-size: 20px;
}

.ikb-open-panel__note {
	margin: 12px 0 0;
	color: var(--ikb-sub);
	font-size: 12px;
	line-height: 1.7;
}

@media (max-width: 767px) {
	.ikb-hours { padding: 80px 16px; }
	.ikb-hours__inner .wp-block-columns.ikb-hours__plans {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 14px;
		width: min(100%, 344px) !important;
		max-width: 344px;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.ikb-hours__inner .wp-block-columns.ikb-hours__plans > .wp-block-column.ikb-hours-plan {
		width: 100% !important;
		max-width: 344px;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 24px 20px;
	}
	.ikb-hours__line { font-size: 14px; padding: 12px 16px; }
	.ikb-fee-panel {
		width: min(100%, 344px);
		margin-left: auto;
		margin-right: auto;
		padding: 20px 14px 22px;
		border-radius: 16px;
	}
	.ikb-fee-panel__head {
		margin-bottom: 18px;
		padding-bottom: 8px;
		border-bottom-width: 2px;
	}
	.ikb-fee-panel__title {
		font-size: 40px;
	}
	.ikb-fee-grid {
		gap: 8px;
	}
	.ikb-fee-item__icon {
		width: 46px;
		height: 46px;
		margin-bottom: 8px;
	}
	.ikb-fee-item--all .ikb-fee-item__icon {
		font-size: 48px;
	}
	.ikb-fee-item__title {
		font-size: clamp(14px, 4.2vw, 17px);
		letter-spacing: 0.02em;
	}
	.ikb-fee-item__time {
		margin-bottom: 10px;
		font-size: clamp(12px, 3.2vw, 13px);
	}
	.ikb-fee-item__price,
	.ikb-fee-students__price {
		font-size: clamp(25px, 7.6vw, 32px);
		letter-spacing: 0;
	}
	.ikb-fee-item__price span,
	.ikb-fee-students__price span {
		margin-left: 2px;
	}
	.ikb-fee-students {
		margin-top: 18px;
		padding: 11px 8px 12px;
		border-width: 2px;
	}
	.ikb-fee-students__label {
		margin-bottom: 9px;
		font-size: 18px;
	}
	.ikb-fee-students__grid {
		gap: 8px;
	}
	.ikb-open-panel {
		width: min(100%, 344px);
		margin-left: auto;
		margin-right: auto;
		padding: 20px 14px 22px;
		border-radius: 16px;
	}
	.ikb-open-panel__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin-bottom: 14px;
		padding-bottom: 8px;
	}
	.ikb-open-panel__title {
		font-size: 32px;
	}
	.ikb-open-panel__badge {
		min-height: 26px;
		padding: 3px 10px;
		font-size: 12px;
	}
	.ikb-open-table {
		grid-template-columns: 82px repeat(7, minmax(0, 1fr));
		border-radius: 10px;
	}
	.ikb-open-cell {
		min-height: 40px;
		padding: 6px 3px;
	}
	.ikb-open-cell--head {
		min-height: 34px;
		font-size: 15px;
	}
	.ikb-open-cell--time {
		padding-left: 6px;
		font-size: 11px;
	}
	.ikb-open-cell--open {
		font-size: 21px;
	}
	.ikb-open-cell--lesson,
	.ikb-open-cell--closed {
		font-size: 17px;
	}
	.ikb-open-panel__note {
		font-size: 11px;
	}
}

/* ---------- Schedule ---------- */

.ikb-schedule {
	padding: 110px 8px;
	background: var(--ikb-cream);
}

.ikb-schedule__inner { max-width: 1440px; margin: 0 auto; }

.ikb-schedule__body {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	border-radius: 0;
	padding: 6px;
	box-shadow: 0 10px 30px rgba(30, 100, 104, 0.06);
}

.ikb-schedule__body > p:first-child {
	font-size: 14px;
	color: var(--ikb-sub);
	text-align: center;
	margin: 0 0 22px;
	line-height: 1.8;
}

.ikb-schedule__body > p:first-child strong {
	color: var(--ikb-aqua-900);
	font-weight: 700;
	background: linear-gradient(transparent 60%, var(--ikb-aqua-200) 0%);
	padding: 0 4px;
}

.ikb-schedule__body > p:last-child {
	font-size: 13px;
	color: var(--ikb-sub);
	text-align: center;
	margin: 22px 0 0;
}

.ikb-schedule__body > p:last-child a {
	color: var(--ikb-aqua-800);
	text-decoration: underline;
}

/* Flexible Table Block ラッパー：横スクロール（矩形・角丸なし） */
.ikb-schedule__body .wp-block-flexible-table-block-table {
	margin: 0;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--ikb-line);
	border-radius: 0;
	scrollbar-width: thin;
	scrollbar-color: var(--ikb-aqua-400) transparent;
}

.ikb-schedule__body .wp-block-flexible-table-block-table::-webkit-scrollbar { height: 8px; }
.ikb-schedule__body .wp-block-flexible-table-block-table::-webkit-scrollbar-track {
	background: rgba(30, 100, 104, 0.06);
	border-radius: 4px;
}
.ikb-schedule__body .wp-block-flexible-table-block-table::-webkit-scrollbar-thumb {
	background: var(--ikb-aqua-400);
	border-radius: 4px;
}

/* table 自体には overflow / border-radius を設定しない（sticky を妨げるため） */
.ikb-schedule__body table {
	width: 100%;
	min-width: 880px;
	border-collapse: separate;
	border-spacing: 0;
	border: none;
	background: #fff;
}

.ikb-schedule__body th,
.ikb-schedule__body td {
	border: 1px solid var(--ikb-line);
	padding: 14px 10px;
	text-align: center;
	font-size: 13px;
	line-height: 1.6;
	vertical-align: middle;
	color: var(--ikb-ink);
}

.ikb-schedule__body thead th {
	background: var(--ikb-aqua-base);
	color: var(--ikb-ink);
	font-weight: 700;
	letter-spacing: 0.05em;
	font-size: 13px;
}

.ikb-schedule__body tbody th {
	background: var(--ikb-aqua-100);
	font-weight: 700;
	color: var(--ikb-ink);
	font-size: 12px;
	white-space: nowrap;
	letter-spacing: 0.04em;
}

.ikb-schedule__body td:empty::before {
	content: "—";
	color: rgba(30, 100, 104, 0.25);
	font-size: 14px;
}

/* イベントデイなどの結合セルを少し目立たせる */
.ikb-schedule__body td[rowspan],
.ikb-schedule__body td[colspan] {
	background: linear-gradient(135deg, var(--ikb-aqua-50), var(--ikb-cream));
	font-weight: 700;
}

/* 休み（月曜・水曜の縦長セル） */
.ikb-schedule__body td.ikb-cell-off {
	background: repeating-linear-gradient(
		135deg,
		rgba(30, 36, 48, 0.04),
		rgba(30, 36, 48, 0.04) 8px,
		rgba(30, 36, 48, 0.07) 8px,
		rgba(30, 36, 48, 0.07) 16px
	);
	color: var(--ikb-sub);
	font-weight: 700;
	letter-spacing: 0.2em;
	font-size: 14px;
}

.ikb-schedule__body td strong {
	color: var(--ikb-aqua-900);
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	letter-spacing: 0.06em;
}

.ikb-schedule__more {
	text-align: center;
	margin: 28px 0 0;
}

.ikb-schedule__more a {
	display: inline-block;
	color: var(--ikb-aqua-800);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid var(--ikb-aqua-400);
	padding-bottom: 3px;
	letter-spacing: 0.06em;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.ikb-schedule__more a:hover {
	color: var(--ikb-aqua-900);
	border-bottom-color: var(--ikb-aqua-700);
}

/* 1列目（時間）を sticky 固定（PC・SP 共通：横スクロール時に常に見える） */
.ikb-schedule__body table tbody tr > th:first-child,
.ikb-schedule__body table thead tr > th:first-child {
	position: sticky !important;
	left: 0 !important;
	z-index: 2;
	background: var(--ikb-aqua-100);
	box-shadow: 4px 0 8px rgba(30, 100, 104, 0.12);
}

.ikb-schedule__body table thead tr > th:first-child {
	background: var(--ikb-aqua-base);
	z-index: 3;
}


@media (max-width: 767px) {
	.ikb-schedule { padding: 80px 4px; }
	.ikb-schedule__body { padding: 4px; }
	.ikb-schedule__body th,
	.ikb-schedule__body td {
		padding: 10px 6px;
		font-size: 12px;
	}
	.ikb-schedule__body tbody th { font-size: 11px; }
}

/* ---------- Gallery ---------- */

.ikb-gallery {
	padding: 130px 18px 96px;
	background: linear-gradient(180deg, var(--ikb-aqua-50) 0%, #fff 36%, var(--ikb-cream) 100%);
}

.ikb-gallery__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.ikb-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.ikb-gallery__item {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.1);
	box-shadow: 0 8px 22px rgba(30, 100, 104, 0.08);
	aspect-ratio: 4 / 3;
}

.ikb-gallery__item:first-child,
.ikb-gallery__item:nth-child(6) {
	grid-column: span 2;
	grid-row: span 2;
}

.ikb-gallery__img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ikb-gallery__item:hover .ikb-gallery__img {
	transform: scale(1.04);
}

.ikb-gallery__back {
	margin: 34px 0 0;
	text-align: center;
}

.ikb-gallery__back a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--ikb-ink);
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none !important;
}

.ikb-gallery__back a::before {
	content: "<";
	margin-right: 8px;
	font-size: 13px;
	line-height: 1;
}

body.ikb-gallery-lightbox-open {
	overflow: hidden;
}

.ikb-gallery-lightbox[hidden] {
	display: none !important;
}

.ikb-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 18, 28, 0.88);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.ikb-gallery-lightbox.is-active {
	opacity: 1;
}

.ikb-gallery-lightbox__viewport {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	touch-action: none;
	cursor: grab;
}

.ikb-gallery-lightbox__viewport:active {
	cursor: grabbing;
}

.ikb-gallery-lightbox__img {
	max-width: min(92vw, 1240px);
	max-height: 84vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 22px 58px rgba(0, 0, 0, 0.36);
	user-select: none;
	-webkit-user-drag: none;
	will-change: transform;
	transform-origin: center center;
}

.ikb-gallery-lightbox__close,
.ikb-gallery-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ikb-ink);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.ikb-gallery-lightbox__close {
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	font-size: 32px;
	line-height: 1;
}

.ikb-gallery-lightbox__nav {
	top: 50%;
	width: 48px;
	height: 48px;
	transform: translateY(-50%);
	line-height: 1;
}

.ikb-gallery-lightbox__nav span {
	display: block;
	width: 15px;
	height: 15px;
	border-top: 3px solid currentColor;
	border-right: 3px solid currentColor;
	font-size: 0;
	line-height: 0;
}

.ikb-gallery-lightbox__nav--prev span {
	transform: translateX(2px) rotate(-135deg);
}

.ikb-gallery-lightbox__nav--next span {
	transform: translateX(-2px) rotate(45deg);
}

.ikb-gallery-lightbox__nav--prev { left: 18px; }
.ikb-gallery-lightbox__nav--next { right: 18px; }

.ikb-gallery-lightbox__count {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 2;
	transform: translateX(-50%);
	margin: 0;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ikb-ink);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

@media (max-width: 959px) {
	.ikb-gallery {
		padding: 104px 12px 76px;
	}
	.ikb-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.ikb-gallery__item:first-child,
	.ikb-gallery__item:nth-child(6) {
		grid-column: span 2;
		grid-row: span 1;
	}
}

@media (max-width: 520px) {
	.ikb-gallery__grid {
		grid-template-columns: 1fr;
	}
	.ikb-gallery__item,
	.ikb-gallery__item:first-child,
	.ikb-gallery__item:nth-child(6) {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 4 / 3;
	}
	.ikb-gallery-lightbox__img {
		max-width: 94vw;
		max-height: 78vh;
	}
	.ikb-gallery-lightbox__close {
		top: 12px;
		right: 12px;
		width: 40px;
		height: 40px;
	}
	.ikb-gallery-lightbox__nav {
		width: 42px;
		height: 42px;
	}
	.ikb-gallery-lightbox__nav span {
		width: 13px;
		height: 13px;
		border-width: 3px;
	}
	.ikb-gallery-lightbox__nav--prev { left: 10px; }
	.ikb-gallery-lightbox__nav--next { right: 10px; }
}

/* /gallery/ ページ専用：SWELL 標準装飾を抑えてギャラリーを全幅表示 */
body.page-template-page-gallery #sidebar.l-sidebar,
body.page-template-page-gallery #breadcrumb,
body.page-template-page-gallery .p-relatedPosts,
body.page-template-page-gallery .p-postPager,
body.page-template-page-gallery .c-postMeta,
body.page-template-page-gallery .c-postTitle,
body.page-template-page-gallery .p-articleThumb,
body.page-template-page-gallery .l-header__bar { display: none !important; }

body.page-template-page-gallery #content.l-content,
body.page-template-page-gallery.-sidebar-on #content,
body.page-template-page-gallery .l-mainContent {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

body.page-template-page-gallery #content.l-content.l-container {
	position: relative !important;
	left: 50% !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: -50vw !important;
	margin-right: 0 !important;
}

body.page-template-page-gallery main.l-mainContent,
body.page-template-page-gallery #main_contents,
body.page-template-page-gallery #main_content,
body.page-template-page-gallery #main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.page-template-page-gallery #ikb-main {
	width: 100vw !important;
	max-width: 100vw !important;
	margin: 0 !important;
}

body.page-template-page-gallery .ikb-gallery {
	width: 100% !important;
}

/* ---------- /schedule/ 固定ページ：SWELL 標準装飾を抑えて、トップと同じ見た目に ---------- */

body.page-id-9 #sidebar.l-sidebar,
body.page-id-9 .p-relatedPosts,
body.page-id-9 .p-postPager,
body.page-id-9 .c-postMeta,
body.page-id-9 .c-postTitle,
body.page-id-9 .p-articleThumb,
body.page-id-9 .l-header__bar { display: none !important; }

body.page-id-9 #content.l-content,
body.page-id-9.-sidebar-on #content,
body.page-id-9 .l-mainContent {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

body.page-id-9 main.l-mainContent,
body.page-id-9 #main_contents,
body.page-id-9 #main_content,
body.page-id-9 #main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.page-id-9 .ikb-main { margin-top: 0 !important; }

/* SWELL のヘッダー色を home と同じ水色に */
body.page-id-9 #header.l-header,
body.page-id-9 .l-fixHeader {
	background: var(--ikb-aqua-base) !important;
	border-bottom: 1px solid rgba(30, 100, 104, 0.1);
	box-shadow: 0 1px 12px rgba(30, 100, 104, 0.08);
}

body.page-id-9 .l-fixHeader {
	background: #ffffff !important;
}

/* /schedule/ ページのヒーロー部分は無いので、上に余白を確保 */
body.page-id-9 .ikb-schedule {
	padding-top: 130px;
}

@media (max-width: 767px) {
	body.page-id-9 .ikb-schedule { padding-top: 100px; }
}

/* ---------- Calendar ---------- */

.ikb-calendar {
	padding: 100px 8px;
	background: var(--ikb-aqua-50);
}

.ikb-calendar__inner { max-width: 1440px; margin: 0 auto; }

.ikb-calendar__anchor {
	display: block;
	height: 0;
	scroll-margin-top: 74px;
}

.ikb-calendar__placeholder {
	background: #fff;
	border: 1px dashed var(--ikb-line);
	padding: 40px 24px;
	text-align: center;
	color: var(--ikb-sub);
	border-radius: 8px;
}

/* 月カレンダー（PC） */
.ikb-calendar__month {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	padding: 20px;
	box-shadow: 0 10px 30px rgba(30, 100, 104, 0.06);
}

.ikb-calendar__month-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.ikb-calendar__month-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--ikb-ink);
	margin: 0;
	letter-spacing: 0.05em;
}

.ikb-calendar__month-nav {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.12);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--ikb-ink);
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.ikb-calendar__month-nav:hover:not(:disabled) {
	background: var(--ikb-aqua-base);
	transform: scale(1.05);
}
.ikb-calendar__month-nav:disabled { opacity: 0.3; cursor: default; }

.ikb-calendar__grid-head {
	display: grid;
	grid-template-columns: repeat(5, 1fr) 1.3fr 1.3fr;
	gap: 1px;
	background: var(--ikb-line);
	border: 1px solid var(--ikb-line);
	margin-bottom: 0;
	border-bottom: 0;
}
.ikb-calendar__wd {
	background: var(--ikb-aqua-100);
	text-align: center;
	padding: 10px 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ikb-ink);
}
.ikb-calendar__wd.is-sun { color: #c04a4a; }
.ikb-calendar__wd.is-sat { color: #3a6a9e; }

.ikb-calendar__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr) 1.3fr 1.3fr;
	grid-auto-rows: minmax(140px, auto);
	gap: 1px;
	background: var(--ikb-line);
	border: 1px solid var(--ikb-line);
}

.ikb-calendar__cell {
	background: #fff;
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-height: 140px;
	min-width: 0; /* grid 列幅を content で広げないためのキー */
	overflow: hidden;
}

.ikb-calendar__cell-month {
	font-size: 10px;
	color: var(--ikb-aqua-800);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-right: 4px;
}
.ikb-calendar__cell.is-empty { background: #f7f9f9; }
.ikb-calendar__cell.is-past { background: #f4f6f6; color: rgba(30, 36, 48, 0.4); }
.ikb-calendar__cell.is-today { background: var(--ikb-aqua-50); outline: 2px solid var(--ikb-aqua-500); outline-offset: -2px; }

/* 終日設定（=休み）のセル：基本スケジュールの「休み」と同じストライプ柄 */
.ikb-calendar__cell.is-allday-only:not(.is-past):not(.is-empty) {
	background: repeating-linear-gradient(
		135deg,
		rgba(30, 36, 48, 0.04),
		rgba(30, 36, 48, 0.04) 8px,
		rgba(30, 36, 48, 0.07) 8px,
		rgba(30, 36, 48, 0.07) 16px
	);
}
.ikb-calendar__cell-ev.is-allday {
	background: rgba(30, 36, 48, 0.10);
	color: var(--ikb-sub);
	font-weight: 700;
	letter-spacing: 0.06em;
}
.ikb-calendar__cell-ev.is-allday .ikb-calendar__cell-time {
	color: var(--ikb-sub);
}

/* SP：終日のみの日 = 休みデザイン */
.ikb-calendar__sp-day.is-day-off {
	background: repeating-linear-gradient(
		135deg,
		rgba(30, 36, 48, 0.04),
		rgba(30, 36, 48, 0.04) 8px,
		rgba(30, 36, 48, 0.07) 8px,
		rgba(30, 36, 48, 0.07) 16px
	);
}
.ikb-calendar__sp-day.is-day-off .ikb-calendar__sp-day__head {
	background: rgba(30, 36, 48, 0.12);
	color: var(--ikb-sub);
}
.ikb-calendar__sp-day.is-day-off .ikb-calendar__sp-day__ev {
	background: rgba(30, 36, 48, 0.08);
	color: var(--ikb-sub);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: center;
}
.ikb-calendar__sp-day.is-day-off .ikb-calendar__sp-day__time {
	color: var(--ikb-sub);
}
.ikb-calendar__cell.is-out { background: #f7f9f9; color: rgba(30, 36, 48, 0.3); }
.ikb-calendar__cell.is-sun .ikb-calendar__cell-head { color: #c04a4a; }
.ikb-calendar__cell.is-sat .ikb-calendar__cell-head { color: #3a6a9e; }

.ikb-calendar__cell-head {
	font-size: 14px;
	font-weight: 700;
}

.ikb-calendar__cell-events {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	overflow: hidden;
	min-width: 0;
}

.ikb-calendar__cell-ev {
	font-size: 12px;
	line-height: 1.5;
	background: var(--ikb-aqua-100);
	color: var(--ikb-ink);
	padding: 3px 7px;
	border-radius: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ikb-calendar__cell-time {
	font-weight: 700;
	color: var(--ikb-aqua-800);
	margin-right: 4px;
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}

.ikb-calendar__cell.is-past .ikb-calendar__cell-ev {
	background: rgba(30, 36, 48, 0.05);
	color: rgba(30, 36, 48, 0.5);
}
.ikb-calendar__cell.is-past .ikb-calendar__cell-time { color: rgba(30, 36, 48, 0.5); }

/* PC 月ヘッダー（前月/月名/次月） */
.ikb-calendar__month-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.ikb-calendar__month-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--ikb-ink);
	margin: 0;
	letter-spacing: 0.05em;
}
.ikb-calendar__month-nav {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.12);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--ikb-ink);
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.ikb-calendar__month-nav:hover:not(:disabled) {
	background: var(--ikb-aqua-base);
	transform: scale(1.05);
}
.ikb-calendar__month-nav:disabled { opacity: 0.3; cursor: default; }

/* SP：日付列の横スライド（時間ベース、コマなし） */
.ikb-calendar__sptable-wrap {
	display: none;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	box-shadow: 0 10px 30px rgba(30, 100, 104, 0.06);
	padding: 0;
}

.ikb-calendar__sptable-body {
	display: flex;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--ikb-aqua-400) transparent;
}

.ikb-calendar__sp-day {
	flex: 0 0 144px;
	border-right: 1px solid var(--ikb-line);
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 460px;
	position: relative;
}
.ikb-calendar__sp-day:last-child { border-right: 0; }
.ikb-calendar__sp-day.is-today {
	background: var(--ikb-aqua-50);
	box-shadow:
		inset 0 0 0 2px var(--ikb-aqua-600),
		0 0 0 1px rgba(58, 168, 172, 0.12);
	z-index: 2;
}

.ikb-calendar__sp-day__head {
	padding: 12px 10px 10px;
	text-align: center;
	background: var(--ikb-aqua-base);
	border-bottom: 1px solid var(--ikb-line);
	position: sticky;
	top: 0;
	z-index: 1;
}
.ikb-calendar__sp-day.is-sun .ikb-calendar__sp-day__head { color: #c04a4a; }
.ikb-calendar__sp-day.is-sat .ikb-calendar__sp-day__head { color: #3a6a9e; }
.ikb-calendar__sp-day.is-today .ikb-calendar__sp-day__head {
	background: var(--ikb-aqua-400);
	border-bottom: 1px solid var(--ikb-aqua-600);
}
.ikb-calendar__sp-day__date {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-size: 17px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}
.ikb-calendar__sp-day__today {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 16px;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	color: var(--ikb-aqua-900);
	border: 1px solid rgba(42, 138, 142, 0.28);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.06em;
}
.ikb-calendar__sp-day__dow {
	display: block;
	font-size: 11px;
	font-weight: 700;
	margin-top: 4px;
	opacity: 0.85;
}

.ikb-calendar__sp-day__events {
	list-style: none;
	margin: 0;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ikb-calendar__sp-day__ev {
	background: var(--ikb-aqua-100);
	color: var(--ikb-ink);
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.5;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}
.ikb-calendar__sp-day__ev:hover { background: var(--ikb-aqua-200); transform: translateY(-1px); }
.ikb-calendar__sp-day__time {
	display: block;
	color: var(--ikb-aqua-800);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}
.ikb-calendar__sp-day.is-today .ikb-calendar__sp-day__date {
	font-weight: 800;
}
.ikb-calendar__sp-day__title {
	display: block;
	color: var(--ikb-ink);
	margin-top: 3px;
}
.ikb-calendar__sp-day.is-today .ikb-calendar__sp-day__events {
	background: rgba(241, 251, 252, 0.65);
}
.ikb-calendar__sp-day.is-today .ikb-calendar__sp-day__empty {
	color: var(--ikb-ink);
	font-weight: 700;
}

.ikb-calendar__sp-day__empty {
	color: var(--ikb-sub);
	text-align: center;
	font-size: 12px;
	padding: 12px 4px;
}

@media (max-width: 959px) {
	.ikb-calendar { padding: 80px 10px; }
	.ikb-calendar__anchor { scroll-margin-top: 62px; }
	.ikb-calendar__month { display: none; }
	.ikb-calendar__sptable-wrap { display: block; }
	.ikb-calendar__sp-controls { display: flex !important; }

	/* SP モード = 月間：1ヶ月分の月表を表示し、丸ボタンで月移動 */
	.ikb-calendar.is-sp-month .ikb-calendar__sptable-wrap { display: none !important; }
	.ikb-calendar.is-sp-month .ikb-calendar__month { display: none !important; }
	.ikb-calendar.is-sp-month .ikb-calendar__sp-months { display: block !important; }
	.ikb-calendar.is-sp-month .ikb-calendar__sp-dows { display: none !important; }
}

/* SP 月間：1ヶ月表示、月移動は左右の丸ボタン */
.ikb-calendar__sp-months {
	display: none;
	overflow: visible;
}

.ikb-calendar__sp-month {
	padding: 12px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--ikb-aqua-400) transparent;
}

.ikb-calendar__sp-month-top {
	display: grid;
	grid-template-columns: 44px minmax(160px, 1fr) 44px;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: min(100%, 420px);
	margin: 0 0 10px;
	position: sticky;
	left: 0;
	z-index: 3;
}

.ikb-calendar__sp-month-title {
	text-align: center;
	font-weight: 700;
	font-size: 16px;
	margin: 0;
	color: var(--ikb-ink);
	letter-spacing: 0.04em;
}

.ikb-calendar__sp-month-nav {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(30, 100, 104, 0.14);
	background: #fff;
	color: var(--ikb-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 4px 12px rgba(30, 100, 104, 0.12);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.ikb-calendar__sp-month-nav--prev { justify-self: start; }
.ikb-calendar__sp-month-nav--next { justify-self: end; }
.ikb-calendar__sp-month-nav:hover:not(:disabled) {
	background: var(--ikb-aqua-base);
	transform: scale(1.05);
}
.ikb-calendar__sp-month-nav:disabled {
	opacity: 0.32;
	cursor: default;
	box-shadow: none;
}
.ikb-calendar__sp-month-nav svg { display: block; }

.ikb-calendar__sp-month-head {
	display: grid;
	grid-template-columns: repeat(7, 140px);
	width: max-content;
	gap: 1px;
	background: var(--ikb-line);
	border: 1px solid var(--ikb-line);
	border-bottom: 0;
}

.ikb-calendar__sp-month-wd {
	background: var(--ikb-aqua-100);
	text-align: center;
	padding: 6px 0;
	font-size: 11px;
	font-weight: 700;
	color: var(--ikb-ink);
	letter-spacing: 0.05em;
}
.ikb-calendar__sp-month-wd.is-sat { color: #3a6a9e; }
.ikb-calendar__sp-month-wd.is-sun { color: #c04a4a; }

/* 月表本体：列幅を固定して 7 列、画面より広い分は横スクロール（基本スケジュールと同じ挙動） */
.ikb-calendar__sp-month-grid.ikb-calendar__sp-month-grid {
	display: grid !important;
	grid-template-columns: repeat(7, 140px) !important;
	grid-auto-rows: minmax(90px, auto) !important;
	width: max-content;
	gap: 1px;
	background: var(--ikb-line);
	border: 1px solid var(--ikb-line);
}

.ikb-calendar__sp-month-grid .ikb-calendar__cell {
	min-height: 60px;
	padding: 4px 5px;
	gap: 2px;
}
.ikb-calendar__sp-month-grid .ikb-calendar__cell-head { font-size: 11px; }
.ikb-calendar__sp-month-grid .ikb-calendar__cell-events { gap: 2px; }
.ikb-calendar__sp-month-grid .ikb-calendar__cell-ev {
	font-size: 9.5px;
	padding: 2px 4px;
	border-radius: 3px;
	line-height: 1.3;
}
.ikb-calendar__sp-month-grid .ikb-calendar__cell-time {
	font-size: 9px;
	margin-right: 2px;
}

/* SP コントロールバー：曜日フィルター + 月間切替 */
.ikb-calendar__sp-controls {
	display: none;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
}

.ikb-calendar__sp-dows {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}

.ikb-calendar__sp-dow {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--ikb-line);
	background: #fff;
	color: var(--ikb-sub);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.ikb-calendar__sp-dow.is-active {
	background: var(--ikb-aqua-base);
	color: var(--ikb-ink);
	border-color: var(--ikb-aqua-500);
}
.ikb-calendar__sp-dow.is-active.is-sun { color: #c04a4a; }
.ikb-calendar__sp-dow.is-active.is-sat { color: #3a6a9e; }
.ikb-calendar__sp-dow:hover { transform: scale(1.05); }

.ikb-calendar__sp-mode {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	background: #fff;
	border: 1px solid var(--ikb-line);
	border-radius: 999px;
	color: var(--ikb-ink);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.ikb-calendar__sp-mode:hover { background: var(--ikb-aqua-50); }
.ikb-calendar.is-sp-month .ikb-calendar__sp-mode { background: var(--ikb-aqua-base); }

/* ==========================================================================
   イベント詳細モーダル
   ========================================================================== */

.ikb-calendar__modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ikb-calendar__modal.is-open { display: flex; }

.ikb-calendar__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(30, 36, 48, 0.5);
}

.ikb-calendar__modal-panel {
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 28px 30px;
	max-width: 540px;
	width: 100%;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	z-index: 1;
}

.ikb-calendar__modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	color: var(--ikb-ink);
	border-radius: 50%;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ikb-calendar__modal-close:hover { background: rgba(30, 36, 48, 0.08); }

.ikb-calendar__modal-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ikb-ink);
	margin: 0 0 20px;
	padding-right: 32px;
	line-height: 1.5;
}

.ikb-calendar__modal-meta {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ikb-calendar__modal-row {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	align-items: baseline;
	font-size: 14px;
	line-height: 1.6;
}
.ikb-calendar__modal-row[hidden] { display: none !important; }
.ikb-calendar__modal-row dt {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ikb-aqua-700);
}
.ikb-calendar__modal-row dd {
	margin: 0;
	color: var(--ikb-ink);
	white-space: pre-line;
}
.ikb-calendar__modal-row--description dd {
	font-size: 13px;
	line-height: 1.85;
}

.ikb-calendar__modal-row dd a,
.ikb-calendar__modal-url a {
	color: var(--ikb-aqua-800);
	text-decoration: underline;
	word-break: break-all;
}
.ikb-calendar__modal-row dd a:hover,
.ikb-calendar__modal-url a:hover { color: var(--ikb-aqua-900); }

@media (max-width: 599px) {
	.ikb-calendar__modal-panel { padding: 24px 22px; }
	.ikb-calendar__modal-row { grid-template-columns: 52px 1fr; font-size: 13px; }
}

/* ---------- Guidance Game ---------- */

.ikb-guidance {
	padding: 100px 24px;
	background:
		linear-gradient(180deg, var(--ikb-aqua-50) 0%, var(--ikb-cream) 100%);
}

.ikb-guidance__inner {
	max-width: 1080px;
	margin: 0 auto;
}

.ikb-guidance__head-row {
	display: flex;
	justify-content: flex-end;
	margin: -18px 0 20px;
}

.ikb-guidance__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 16px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.1);
	color: var(--ikb-aqua-800);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.12em;
	box-shadow: 0 6px 16px rgba(30, 100, 104, 0.06);
}

.ikb-guidance__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.ikb-guidance-card,
.ikb-guidance-intro {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.1);
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(30, 100, 104, 0.07);
}

.ikb-guidance-card {
	padding: 28px 30px 26px;
	text-align: center;
}

.ikb-guidance-card__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--ikb-aqua-100);
	color: var(--ikb-aqua-800);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0.08em;
}

.ikb-guidance-card__title {
	margin: 0 0 20px;
	color: var(--ikb-ink);
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0.04em;
}

.ikb-guidance-card__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 14px;
	margin: 0;
}

.ikb-guidance-card__unit {
	color: var(--ikb-sub);
	font-size: clamp(18px, 1.8vw, 24px);
	font-weight: 800;
	white-space: nowrap;
}

.ikb-guidance-card__amount {
	color: var(--ikb-ink);
	font-size: clamp(42px, 5vw, 64px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ikb-guidance-card__amount span {
	margin-left: 4px;
	font-size: 0.42em;
	font-weight: 800;
}

.ikb-guidance-card__note {
	margin: 16px 0 0;
	color: var(--ikb-sub);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.6;
}

.ikb-guidance-intro {
	margin-top: 22px;
	padding: 28px 30px 30px;
}

.ikb-guidance-intro__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 22px;
	padding-bottom: 14px;
	border-bottom: 2px solid rgba(30, 36, 48, 0.16);
}

.ikb-guidance-intro__eyebrow {
	margin: 0 0 4px;
	color: var(--ikb-aqua-800);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0.12em;
}

.ikb-guidance-intro__title {
	margin: 0;
	color: var(--ikb-ink);
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: 0.06em;
}

.ikb-guidance-intro__badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.ikb-guidance-intro__badges span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--ikb-cream);
	border: 1px solid rgba(200, 163, 93, 0.28);
	color: #7a4f1a;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.ikb-guidance-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.ikb-guidance-step {
	min-width: 0;
	padding: 16px 10px 18px;
	border-radius: 12px;
	background: #fff8ef;
	border: 1px solid rgba(200, 163, 93, 0.22);
	text-align: center;
}

.ikb-guidance-step--first {
	background: var(--ikb-aqua-50);
	border-color: rgba(42, 138, 142, 0.18);
}

.ikb-guidance-step__count {
	display: block;
	margin: 0 0 8px;
	color: var(--ikb-sub);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: 0.08em;
}

.ikb-guidance-step__price {
	display: block;
	color: var(--ikb-ink);
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ikb-guidance-step--first .ikb-guidance-step__price {
	color: var(--ikb-aqua-800);
}

.ikb-guidance-step__price span {
	margin-left: 2px;
	font-size: 0.42em;
	font-weight: 800;
	color: var(--ikb-ink);
}

@media (max-width: 959px) {
	.ikb-guidance {
		padding: 80px 20px;
	}
	.ikb-guidance__head-row {
		justify-content: center;
		margin-top: -8px;
	}
	.ikb-guidance__cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.ikb-guidance-card,
	.ikb-guidance-intro {
		max-width: 620px;
		margin-left: auto;
		margin-right: auto;
	}
	.ikb-guidance-intro__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
	.ikb-guidance-intro__badges {
		justify-content: flex-start;
	}
	.ikb-guidance-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.ikb-guidance-card,
	.ikb-guidance-intro {
		border-radius: 14px;
	}
	.ikb-guidance-card {
		padding: 24px 18px 22px;
	}
	.ikb-guidance-card__title {
		font-size: 22px;
	}
	.ikb-guidance-card__price {
		gap: 10px;
	}
	.ikb-guidance-card__unit {
		font-size: 16px;
	}
	.ikb-guidance-card__amount {
		font-size: 42px;
	}
	.ikb-guidance-card__note {
		font-size: 13px;
	}
	.ikb-guidance-intro {
		padding: 24px 18px 22px;
	}
	.ikb-guidance-intro__title {
		font-size: 24px;
	}
	.ikb-guidance-steps {
		gap: 8px;
	}
	.ikb-guidance-step {
		padding: 13px 8px 14px;
	}
	.ikb-guidance-step__count {
		font-size: 12px;
	}
	.ikb-guidance-step__price {
		font-size: 26px;
	}
}

/* ---------- Access ---------- */

.ikb-access {
	padding: 110px 24px 110px;
	background: var(--ikb-aqua-100);
}

.ikb-access__inner { max-width: 1080px; margin: 0 auto; }

.ikb-access__grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) 1.3fr;
	gap: 40px;
	align-items: start;
}

.ikb-access__info {
	margin: 0;
	padding: 0;
	display: grid;
	gap: 22px;
}

.ikb-access__info > div {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	border-radius: 16px;
	padding: 22px 24px;
	box-shadow: 0 6px 18px rgba(30, 100, 104, 0.05);
}

.ikb-access__info dt {
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--ikb-aqua-700);
	font-weight: 700;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.ikb-access__info dd {
	margin: 0;
	font-size: 15px;
	color: var(--ikb-ink);
	line-height: 1.9;
}

.ikb-access__info dd strong { color: var(--ikb-aqua-900); }

.ikb-access__info a {
	color: var(--ikb-aqua-800);
	text-decoration: underline;
	word-break: break-all;
}

.ikb-access__info a:hover { color: var(--ikb-aqua-900); }

/* 連絡先カード内の LINE ボタン */
.ikb-access__line-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	background: var(--ikb-line-green);
	color: #fff !important;
	padding: 11px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none !important;
	letter-spacing: 0.05em;
	box-shadow: 0 4px 10px rgba(50, 164, 92, 0.25);
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	margin: 4px 0 6px;
	word-break: normal !important;
}

.ikb-access__line-btn:hover {
	background: var(--ikb-line-green-dark);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(50, 164, 92, 0.32);
}

.ikb-access__line-icon {
	flex-shrink: 0;
	color: #fff;
}

.ikb-access__line-note {
	display: block;
	margin: 6px 0 0;
	font-size: 11px;
	color: var(--ikb-aqua-700);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
}

.ikb-access__email {
	display: inline-block;
	font-size: 13px;
}

.ikb-access__map {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(30, 100, 104, 0.08);
	box-shadow: 0 12px 30px rgba(30, 100, 104, 0.1);
}

.ikb-access__map iframe {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	border: 0;
}

/* ---------- CTA ---------- */

.ikb-cta {
	padding: 110px 24px 120px;
	background:
		radial-gradient(900px 500px at 90% 110%, rgba(255, 255, 255, 0.55), transparent 60%),
		radial-gradient(900px 500px at 10% -10%, rgba(255, 255, 255, 0.35), transparent 55%),
		linear-gradient(160deg, var(--ikb-aqua-200), var(--ikb-aqua-base) 55%, var(--ikb-aqua-400));
	color: var(--ikb-ink);
	text-align: center;
}

.ikb-cta__inner { max-width: 880px; margin: 0 auto; }

.ikb-cta__lead {
	font-size: 13px;
	letter-spacing: 0.4em;
	color: var(--ikb-aqua-800);
	margin: 0 0 16px;
	font-weight: 700;
}

.ikb-cta__title {
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: clamp(22px, 2.8vw, 34px);
	font-weight: 900;
	color: var(--ikb-ink);
	line-height: 1.65;
	letter-spacing: 0.08em;
	margin: 0 0 40px;
}

.ikb-cta__title strong {
	color: var(--ikb-aqua-900);
	font-size: 1.2em;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.ikb-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.ikb-cta__note {
	margin: 34px 0 0;
	font-size: 13px;
	letter-spacing: 0.12em;
	color: var(--ikb-sub);
}

/* ---------- Responsive ---------- */

@media (max-width: 959px) {
	.ikb-hero { padding: 70px 20px 80px; }
	.ikb-hero__inner {
		display: flex;
		flex-direction: column;
		grid-template-columns: 1fr;
		gap: 22px;
		text-align: center;
	}
	/* .ikb-hero__text を透過して、子要素を .ikb-hero__inner の直接子として並べる */
	.ikb-hero__text { display: contents; }
	.ikb-hero__badge  { order: 1; align-self: center; margin-bottom: 6px; }
	.ikb-hero__title  { order: 2; }
	.ikb-hero__visual { order: 3; }
	.ikb-hero__lead   { order: 4; }
	.ikb-hero__ctas   { order: 5; }
	.ikb-hero__illust { max-width: 360px; margin: 0 auto; }
	.ikb-hero__title span { white-space: normal; }
	.ikb-hero__ctas { flex-direction: column; align-items: stretch; }
	.ikb-btn { width: 100%; }

	.ikb-intro,
	.ikb-classes,
	.ikb-news,
	.ikb-access,
	.ikb-cta { padding: 80px 20px; }

	.ikb-classes__grid { grid-template-columns: 1fr; gap: 20px; }

	.ikb-news__cards {
		gap: 16px;
		padding: 8px 4px 24px;
		margin: 0 -20px;
		padding-left: 20px;
		padding-right: 20px;
	}
	.ikb-news-card { flex: 0 0 280px; }

	.ikb-access__grid { grid-template-columns: 1fr; gap: 26px; }

	.ikb-cta__buttons { flex-direction: column; }
}

@media (min-width: 960px) and (max-width: 1100px) {
	.ikb-classes__grid { gap: 18px; }
	.ikb-class-card { padding: 32px 22px 28px; }
}

@media (max-width: 599px) {
	/* スマホでも 2 枚見えるサイズに（残りはスワイプで確認） */
	.ikb-news-card { flex: 0 0 calc(50% - 8px); }
	.ikb-news-card__body { padding: 14px 14px 18px; gap: 8px; }
	.ikb-news-card__title { font-size: 14px; }
	.ikb-news-card__excerpt { font-size: 12px; line-height: 1.7; }
}

/* ============================================================
   投稿ページ・固定ページ全般：トップと同じヘッダー＆SWELL装飾を抑制
   ============================================================ */

body:is(.page, .single) #main_visual.p-mainVisual,
body:is(.page, .single) #sidebar.l-sidebar,
body:is(.page, .single) .p-breadcrumb,
body:is(.page, .single) .c-breadcrumb,
body:is(.page, .single) .p-singleHeader__breadcrumbs,
body:is(.page, .single) .c-postMeta,
body:is(.page, .single) .p-postMeta,
body:is(.page, .single) .c-postTimes,
body:is(.page, .single) .p-postTimes,
body:is(.page, .single) .c-postCategories,
body:is(.page, .single) .p-postCategories,
body:is(.page, .single) .c-postCats,
body:is(.page, .single) .p-postCats,
body:is(.page, .single) .p-postPager,
body:is(.page, .single) .p-relatedPosts,
body:is(.page, .single) .p-postList__date,
body:is(.page, .single) .p-postList__cats,
body:is(.page, .single) .l-header__bar,
body:is(.page, .single) .p-articleFoot,
body:is(.page, .single) .p-articleMetas,
body:is(.page, .single) .c-categoryList,
body:is(.page, .single) .c-categoryList__link { display: none !important; }

/* メイン領域のサイドバー解除＆全幅化 */
body:is(.page, .single) #content.l-content,
body:is(.page, .single).-sidebar-on #content {
	width: 100% !important;
	max-width: none !important;
}

body:is(.page, .single) main.l-mainContent,
body:is(.page, .single) #main_contents,
body:is(.page, .single) #main_content,
body:is(.page, .single) #main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* ヘッダー色（最初は水色、固定ヘッダーは白） */
body:is(.page, .single) #header.l-header {
	background: var(--ikb-aqua-base) !important;
	border-bottom: 1px solid rgba(30, 100, 104, 0.1);
	box-shadow: 0 1px 12px rgba(30, 100, 104, 0.08);
}

body:is(.page, .single) .l-fixHeader {
	background: #ffffff !important;
}

/* ロゴ画像置換 */
body:is(.page, .single) #header .c-headLogo,
body:is(.page, .single) .l-fixHeader .c-headLogo {
	max-width: min(320px, 46vw);
}

body:is(.page, .single) #header .c-headLogo__link,
body:is(.page, .single) .l-fixHeader .c-headLogo__link {
	display: inline-block !important;
	font-size: 0 !important;
	line-height: 0 !important;
	color: transparent !important;
	padding: 4px 0;
	background-image: url("../images/logo.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	width: min(260px, 46vw);
	height: 44px;
}

body:is(.page, .single) .l-fixHeader .c-headLogo__link {
	height: 36px;
	background-image: url("../images/logo-transparent.png") !important;
}

@media (max-width: 599px) {
	body:is(.page, .single) #header .c-headLogo__link,
	body:is(.page, .single) .l-fixHeader .c-headLogo__link {
		height: 34px;
		width: clamp(128px, 38vw, 172px);
	}
}

/* グローバルナビ色 */
body:is(.page, .single) #header .l-header__G-nav a,
body:is(.page, .single) .l-fixHeader .l-header__G-nav a {
	color: var(--ikb-ink) !important;
	font-weight: 600;
	letter-spacing: 0.1em;
}

body:is(.page, .single) #header .l-header__G-nav a:hover,
body:is(.page, .single) .l-fixHeader .l-header__G-nav a:hover {
	color: var(--ikb-aqua-800) !important;
}

/* スマホ：ヘッダー固定 */
@media (max-width: 959px) {
	body:is(.page, .single) #header.l-header {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 100 !important;
		width: 100% !important;
		display: block !important;
		transform: none !important;
		transition: none !important;
	}
	body:is(.page, .single) .l-fixHeader { display: none !important; }
	body:is(.page, .single) #header .l-header__inner {
		display: flex !important;
		align-items: center !important;
		gap: 0 !important;
		position: relative;
	}
	body:is(.page, .single) #header .l-header__logo {
		order: 0;
		margin-right: auto !important;
		flex: 0 0 auto;
		min-width: 0;
	}
	body:is(.page, .single) .l-header__customBtn { display: none !important; }
	body:is(.page, .single) .l-header__menuBtn { order: 2; }
}

/* 投稿ページ全体（タイトル含む）の上下余白：ヘッダーに被らないように */
body:is(.page, .single) article.l-mainContent__inner {
	padding-top: 130px;
	padding-bottom: 80px;
}

body:is(.page, .single) .post_content,
body:is(.page, .single) .l-articleBody {
	padding-top: 0;
	padding-bottom: 0;
}

/* SWELL の外側コンテナの幅制約をリセット → 子テーマ側で純粋に中央揃え */
body.single #content.l-content,
body.single main.l-mainContent,
body.single main.l-mainContent.l-article,
body.single article.l-mainContent__inner {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* 記事のタイトル・アイキャッチ・本文を同じ幅で揃えて中央配置 */
body.single .p-articleHead,
body.single .c-postTitle,
body.single .p-articleThumb,
body.single .post_content,
body.single .l-articleBody {
	max-width: 800px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

body.single .p-articleHead,
body.single .c-postTitle {
	margin-bottom: 24px;
}

body.single .p-articleThumb {
	margin-bottom: 32px;
}

body.single .p-articleThumb__img,
body.single img.p-articleThumb__img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}

/* 本文内の画像も画面幅を超えないように */
body:is(.page, .single) .post_content img,
body:is(.page, .single) .l-articleBody img {
	max-width: 100%;
	height: auto;
}

/* スマホ時は左右 16px 内側余白 */
@media (max-width: 831px) {
	body.single .p-articleHead,
	body.single .c-postTitle,
	body.single .p-articleThumb,
	body.single .post_content,
	body.single .l-articleBody {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 959px) {
	body:is(.page, .single) article.l-mainContent__inner {
		padding-top: 80px;
		padding-bottom: 60px;
	}
	body:is(.page, .single) .post_content,
	body:is(.page, .single) .l-articleBody {
		padding-top: 0;
		padding-bottom: 0;
	}
}

/* /schedule/ ページはテンプレートで上余白制御するので、上記の汎用余白を打ち消す */
body.page-id-9 .post_content,
body.page-id-9 .l-articleBody {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ============================================================
   Gutenberg で差し込まれたブロック構造 → 既存レイアウトに合わせる
   ============================================================ */

/* クラス紹介：wp-block-columns を 3列 grid に */
.ikb-classes__inner .wp-block-columns.ikb-classes__grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 0;
}

.ikb-classes__inner .wp-block-columns.ikb-classes__grid > .wp-block-column {
	flex-basis: auto !important;
	width: auto !important;
	margin: 0 !important;
	min-width: 0;
}

@media (max-width: 959px) {
	.ikb-classes__inner .wp-block-columns.ikb-classes__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* クラスカードの meta（ul ベース） */
ul.ikb-class-card__meta {
	list-style: none;
	margin: 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--ikb-line);
	display: grid;
	gap: 12px;
}

ul.ikb-class-card__meta li {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 10px;
	align-items: start;
	font-size: 13px;
	color: var(--ikb-ink);
	line-height: 1.7;
	margin: 0;
}

ul.ikb-class-card__meta li strong {
	font-size: 11px;
	letter-spacing: 0.16em;
	color: var(--ikb-ink);
	font-weight: 700;
	background: var(--ikb-aqua-base);
	padding: 4px 8px;
	border-radius: 6px;
	text-align: center;
	line-height: 1.5;
	align-self: start;
	justify-self: start;
	white-space: nowrap;
	display: inline-block;
	width: fit-content;
}

/* アクセス情報：h3/p ベース（固定ページ経由） */
.ikb-access__info {
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.08);
	border-radius: 16px;
	padding: 28px 30px;
	box-shadow: 0 6px 18px rgba(30, 100, 104, 0.05);
	display: block;
	gap: 0;
}

.ikb-access__info > div {
	background: none;
	border: none;
	padding: 0;
	box-shadow: none;
	border-radius: 0;
}

.ikb-access__info h3,
.ikb-access__info .ikb-access__label {
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--ikb-aqua-700);
	font-weight: 700;
	margin: 18px 0 6px;
	text-transform: uppercase;
	line-height: 1.6;
}

.ikb-access__info h3:first-of-type,
.ikb-access__info .ikb-access__label:first-of-type { margin-top: 0; }

.ikb-access__info p,
.ikb-access__info .ikb-access__value {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--ikb-ink);
	line-height: 1.9;
}

.ikb-access__info p a,
.ikb-access__info .ikb-access__value a {
	color: var(--ikb-aqua-800);
	text-decoration: underline;
	word-break: break-all;
}

.ikb-access__info strong { color: var(--ikb-aqua-900); }

/* 連絡先（LINE）ブロック */
.ikb-access__contact {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px dashed var(--ikb-line);
}

/* LINE ボタンと推奨テキストを同じ幅で縦積み（テキストはボタン幅の中で中央揃え） */
.ikb-access__line-wrap {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 14px;
}

/* お問い合わせフォーム（Google Form へのリンクボタン） */
.ikb-access__form-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: var(--ikb-ink);
	color: #fff !important;
	padding: 6px 13px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 12px;
	text-decoration: none !important;
	letter-spacing: 0.05em;
	box-shadow: 0 4px 10px rgba(30, 100, 104, 0.22);
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	margin-top: 14px;
	word-break: normal !important;
}

.ikb-access__form-btn:hover {
	background: #000;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(30, 100, 104, 0.28);
}

.ikb-access__form-icon {
	flex-shrink: 0;
	color: #fff;
	width: 14px;
	height: 14px;
}

/* Intro title の h2 本体 + heading-block から吐かれる class を両対応 */
.ikb-intro h2.ikb-intro__title { margin: 0 0 32px; }

/* ヒーロー title：Gutenberg h1 として出力されても span 改行が効くように */
.ikb-hero__title { display: block; }
.ikb-hero__title span { display: block; }

body.page-id-68 #content.l-content,
body.page-id-68.-sidebar-on #content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	margin: 0 auto !important;
}

body.page-id-68 main.l-mainContent,
body.page-id-68 #main_contents,
body.page-id-68 #main_content,
body.page-id-68 #main {
	width: 100% !important;
	max-width: 880px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-top: 86px !important;
}

body.page-id-68 .l-articleBody,
body.page-id-68 .post_content {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-68 .c-pageTitle {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

body.page-id-68 .post_content p,
body.page-id-68 .post_content li {
	line-height: 2;
}

body.page-id-68 .ikb-seo-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 34px auto 44px;
}

body.page-id-68 .ikb-seo-photo-card {
	margin: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.14);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(25, 42, 52, 0.08);
}

body.page-id-68 .ikb-seo-photo-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

body.page-id-68 .ikb-seo-photo-card figcaption {
	margin: 0;
	padding: 10px 12px 12px;
	color: var(--ikb-sub);
	font-size: 12px;
	line-height: 1.75;
}

body.page-id-68 .ikb-seo-map {
	overflow: hidden;
	margin: 30px 0 42px;
	aspect-ratio: 16 / 9;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.14);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(25, 42, 52, 0.08);
}

body.page-id-68 .ikb-seo-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 767px) {
	body.page-id-68 .ikb-seo-photo-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin: 28px auto 38px;
	}

	body.page-id-68 .ikb-seo-map {
		aspect-ratio: 4 / 3;
	}
}

#breadcrumb:has(+ #content[data-postid="75"]),
body.page-id-75 #breadcrumb,
body.page-id-75 .p-breadcrumb,
#content[data-postid="75"] .c-pageTitle,
body.page-id-75 .c-pageTitle,
body.page-id-75 .p-articleFoot,
body.page-id-75 .p-postPager,
body.page-id-75 .p-relatedPosts,
body.page-id-75 .c-postMeta {
	display: none !important;
}

#content[data-postid="75"].l-content,
body.page-id-75 #content.l-content,
body.page-id-75.-sidebar-on #content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding: 0 18px !important;
	background: #fffdf2;
}

#content[data-postid="75"] main.l-mainContent,
body.page-id-75 main.l-mainContent,
body.page-id-75 #main_contents,
body.page-id-75 #main_content,
body.page-id-75 #main {
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding-top: 0 !important;
}

#content[data-postid="75"] article.l-mainContent__inner,
body.page-id-75 article.l-mainContent__inner {
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding: 124px 0 72px !important;
}

#content[data-postid="75"] .post_content,
#content[data-postid="75"] .l-articleBody,
body.page-id-75 .l-articleBody {
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.ikb-kids-lp {
	max-width: 1120px;
	margin: 0 auto;
	color: #5b3a24;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	letter-spacing: 0;
}

.ikb-kids-lp * {
	box-sizing: border-box;
}

.ikb-kids-lp :is(h1, h2, h3) {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit;
}

.ikb-kids-lp :is(h1, h2, h3)::before,
.ikb-kids-lp :is(h1, h2, h3)::after {
	display: none !important;
	content: none !important;
}

.ikb-kids-hero {
	position: relative;
	overflow: hidden;
	padding: 44px 34px 30px;
	background:
		radial-gradient(circle at 8% 18%, rgba(255, 224, 110, 0.34) 0 70px, transparent 72px),
		radial-gradient(circle at 92% 18%, rgba(163, 213, 122, 0.32) 0 76px, transparent 78px),
		linear-gradient(180deg, #fffaf0 0%, #fff5d9 56%, #dff19e 100%);
	border: 1px solid rgba(142, 171, 66, 0.34);
	border-radius: 18px;
	box-shadow: 0 16px 42px rgba(71, 93, 48, 0.12);
	text-align: center;
}

.ikb-kids-hero::before,
.ikb-kids-hero::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
}

.ikb-kids-hero::before {
	left: -80px;
	bottom: -120px;
	width: 320px;
	height: 220px;
	background: rgba(108, 190, 85, 0.18);
}

.ikb-kids-hero::after {
	right: -70px;
	top: 74px;
	width: 240px;
	height: 240px;
	background: rgba(255, 180, 80, 0.12);
}

.ikb-kids-hero__notes {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
	color: #619125;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.55;
}

.ikb-kids-hero__notes span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	max-width: 230px;
	padding: 10px 18px;
	background: rgba(255, 255, 255, 0.72);
	border: 2px solid rgba(155, 199, 74, 0.34);
	border-radius: 999px;
}

.ikb-kids-hero__cloud {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto 22px;
	padding: 22px 28px 26px;
	background: rgba(255, 255, 255, 0.92);
	border: 5px solid #b6d66b;
	border-radius: 58px;
	box-shadow: 0 12px 26px rgba(126, 150, 67, 0.12);
}

.ikb-kids-hero__lead {
	margin: 0 0 6px;
	color: #39a654;
	font-size: 32px;
	font-weight: 900;
	line-height: 1.4;
}

.ikb-kids-hero__title {
	margin: 0;
	color: #7b4826;
	font-size: 62px;
	font-weight: 900;
	line-height: 1.12;
}

.ikb-kids-hero__title span {
	display: inline-block;
	margin-right: 10px;
}

.ikb-kids-hero__title strong {
	color: #3aa24b;
	font-size: 1.18em;
	font-weight: 900;
}

.ikb-kids-hero__ribbon {
	display: inline-block;
	margin: 16px 0 0;
	padding: 8px 24px;
	color: #fff;
	background: #ee8145;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 900;
	line-height: 1.45;
}

.ikb-kids-hero__scene {
	position: relative;
	z-index: 1;
	width: min(900px, 100%);
	margin: 0 auto 18px;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 14px 30px rgba(126, 150, 67, 0.14);
}

.ikb-kids-hero__illust {
	display: block;
	width: 100%;
	height: auto;
}

.ikb-kids-hero__tagline {
	position: relative;
	z-index: 1;
	margin: 0 0 28px;
	color: #6b4325;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.55;
	letter-spacing: 0.05em;
}

.ikb-kids-benefits {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.ikb-kids-benefit {
	min-height: 174px;
	padding: 20px 14px 18px;
	background: rgba(255, 255, 255, 0.88);
	border: 3px solid rgba(255, 202, 96, 0.72);
	border-radius: 999px 999px 34px 34px;
	box-shadow: 0 10px 20px rgba(83, 113, 38, 0.08);
}

.ikb-kids-benefit:nth-child(2) { border-color: rgba(84, 170, 222, 0.5); }
.ikb-kids-benefit:nth-child(3) { border-color: rgba(236, 145, 159, 0.5); }
.ikb-kids-benefit:nth-child(4) { border-color: rgba(239, 180, 65, 0.58); }

.ikb-kids-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 8px;
	color: #fff;
	background: #72b847;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 900;
}

.ikb-kids-benefit:nth-child(2) .ikb-kids-benefit__icon { background: #4fa2d9; }
.ikb-kids-benefit:nth-child(3) .ikb-kids-benefit__icon { background: #e98199; }
.ikb-kids-benefit:nth-child(4) .ikb-kids-benefit__icon { background: #edae37; }

.ikb-kids-benefit h2 {
	margin: 0 0 8px;
	color: #3f9e45;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.35;
}

.ikb-kids-benefit:nth-child(2) h2 { color: #2f84bd; }
.ikb-kids-benefit:nth-child(3) h2 { color: #d95f7a; }
.ikb-kids-benefit:nth-child(4) h2 { color: #cf8422; }

.ikb-kids-benefit p {
	margin: 0;
	color: #5f604f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
}

.ikb-kids-info,
.ikb-kids-access,
.ikb-kids-cta {
	margin-top: 26px;
	background: #fff;
	border: 1px solid rgba(142, 171, 66, 0.24);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(71, 93, 48, 0.08);
}

.ikb-kids-info {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
	gap: 24px;
	padding: 34px;
	align-items: center;
}

.ikb-kids-info__eyebrow,
.ikb-kids-photos__head p,
.ikb-kids-access__eyebrow,
.ikb-kids-cta p {
	margin: 0 0 8px;
	color: #3f9e45;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.18em;
}

.ikb-kids-info h2,
.ikb-kids-photos__head h2,
.ikb-kids-access h2,
.ikb-kids-cta h2 {
	margin: 0 0 18px;
	color: #6b4325;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.45;
}

.ikb-kids-info p,
.ikb-kids-access p {
	margin: 0 0 12px;
	color: #665947;
	font-size: 15px;
	line-height: 1.95;
}

.ikb-kids-info__card {
	padding: 22px;
	background: #fffdf4;
	border: 2px solid #f1d56d;
	border-radius: 14px;
}

.ikb-kids-info__list {
	display: grid;
	gap: 10px;
	margin: 0;
}

.ikb-kids-info__list div {
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 12px;
	align-items: start;
}

.ikb-kids-info__list dt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 5px 10px;
	color: #fff;
	background: #75b94b;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
}

.ikb-kids-info__list dd {
	margin: 0;
	color: #4c4a40;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.75;
}

.ikb-kids-photos {
	margin-top: 26px;
	padding: 34px;
	background: #f1fbfc;
	border-radius: 16px;
}

.ikb-kids-photos__head {
	text-align: center;
}

.ikb-kids-photos__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ikb-kids-photos figure {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(25, 42, 52, 0.1);
}

.ikb-kids-photos img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ikb-kids-access {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 24px;
	padding: 34px;
	align-items: center;
}

.ikb-kids-access__map {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #fff;
	border: 1px solid rgba(30, 100, 104, 0.14);
	border-radius: 12px;
}

.ikb-kids-access__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.ikb-kids-cta {
	padding: 34px 24px 38px;
	text-align: center;
	background: #fff7d9;
}

.ikb-kids-cta h2 {
	margin-bottom: 24px;
	color: #ee8145;
	font-size: 34px;
}

.ikb-kids-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.ikb-kids-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px;
	border-radius: 999px;
	color: #fff !important;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.35;
	text-decoration: none !important;
	box-shadow: 0 6px 14px rgba(30, 100, 104, 0.14);
}

.ikb-kids-btn--primary { background: #ee8145; }
.ikb-kids-btn--line { background: var(--ikb-line-green); }

@media (max-width: 959px) {
	body.page-id-75 #content.l-content,
	body.page-id-75.-sidebar-on #content {
		padding: 0 12px !important;
	}

	body.page-id-75 article.l-mainContent__inner {
		padding: 104px 0 52px !important;
	}

	.ikb-kids-hero {
		padding: 26px 16px 22px;
		border-radius: 14px;
	}

	.ikb-kids-hero__notes {
		justify-content: center;
		flex-wrap: wrap;
		gap: 8px;
		font-size: 12px;
	}

	.ikb-kids-hero__notes span {
		min-height: 42px;
		max-width: none;
		padding: 8px 13px;
	}

	.ikb-kids-hero__cloud {
		padding: 18px 16px 20px;
		border-width: 4px;
		border-radius: 34px;
	}

	.ikb-kids-hero__lead {
		font-size: 21px;
	}

	.ikb-kids-hero__title {
		font-size: 42px;
	}

	.ikb-kids-hero__title span {
		display: block;
		margin-right: 0;
	}

	.ikb-kids-hero__ribbon {
		padding: 8px 14px;
		font-size: 13px;
	}

	.ikb-kids-hero__scene {
		width: 100%;
		margin-bottom: 14px;
		border-radius: 14px;
	}

	.ikb-kids-hero__tagline {
		margin-bottom: 20px;
		font-size: 16px;
		letter-spacing: 0;
	}

	.ikb-kids-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ikb-kids-benefit {
		min-height: 154px;
		padding: 16px 10px 14px;
		border-radius: 28px;
	}

	.ikb-kids-benefit h2 {
		font-size: 15px;
	}

	.ikb-kids-benefit p {
		font-size: 12px;
	}

	.ikb-kids-info,
	.ikb-kids-access {
		grid-template-columns: 1fr;
		padding: 24px 18px;
	}

	.ikb-kids-info h2,
	.ikb-kids-photos__head h2,
	.ikb-kids-access h2 {
		font-size: 24px;
	}

	.ikb-kids-info__list div {
		grid-template-columns: 74px 1fr;
		gap: 9px;
	}

	.ikb-kids-info__list dt,
	.ikb-kids-info__list dd {
		font-size: 12px;
	}

	.ikb-kids-photos {
		padding: 24px 18px;
	}

	.ikb-kids-photos__grid {
		grid-template-columns: 1fr;
	}

	.ikb-kids-cta h2 {
		font-size: 26px;
	}

	.ikb-kids-cta__buttons {
		flex-direction: column;
	}
}
