/* =========================================================
   COCOJUKU サイト共通 CSS（SWELL 子テーマ）
   色: 濃紺 #14264A / 薄い背景 #F4F6FA / LINE 緑 #06C755
   文字: 本文＝游ゴシック（SWELL 設定）、見出し・数字＝しっぽり明朝
   ========================================================= */
:root {
	--cj-navy: #14264A;
	--cj-navy-dark: #0E1B33;
	--cj-bg: #F4F6FA;
	--cj-line: #06C755;
	--cj-border: rgba(20, 38, 74, 0.12);
	--cj-serif: "Shippori Mincho", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}

/* 見出しは明朝 */
.post_content h1,
.post_content h2,
.post_content h3,
.c-pageTitle,
.cj-stat,
.cj-result__num,
.cj-num {
	font-family: var(--cj-serif);
}

/* ── ヘッダー ── */
.l-header__bar { display: none; }
.c-headLogo.-txt .c-headLogo__link { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; letter-spacing: .04em; color: var(--cj-navy); }
.c-headLogo.-txt .c-headLogo__link::before { content: ""; width: 34px; height: 34px; background: url(img/cocojuku-logo_bbdc1447.png) center / contain no-repeat; }
@media (min-width: 960px) {
	.c-gnav > .menu-item > a { padding: 0 14px; font-size: 14.5px; font-weight: 700; }
	.c-gnav > .menu-item.cj-header-cta { display: flex; align-items: center; margin-left: 12px; }
	.c-gnav > .menu-item.cj-header-cta > a {
		height: auto; display: flex; align-items: center; padding: 13px 26px; border-radius: 6px; line-height: 1;
		background: var(--cj-line); color: #fff !important;
	}
	.c-gnav > .menu-item.cj-header-cta > a .ttl { font-size: 15px; font-weight: 800; letter-spacing: .06em; color: #fff; }
	.c-gnav > .menu-item.cj-header-cta > a::after { display: none; }
	.c-gnav > .menu-item.cj-header-cta > a:hover { opacity: .9; }
}

/* ── 共通 ── */
.cj-label {
	margin-bottom: .4em !important;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	color: #6B7487;
}
.post_content .cj-label + h2.is-style-section_ttl { margin-top: 0 !important; }
.post_content h2.is-style-section_ttl { margin-bottom: 1.2em; font-size: clamp(24px, 3.2vw, 32px); letter-spacing: .06em; line-height: 1.5; }
.cj-lead { max-width: 760px; margin-left: auto !important; margin-right: auto !important; color: #4A5468; }
.cj-note { font-size: 13px; color: #6B7487; }
.post_content .swell-block-fullWide + .swell-block-fullWide { margin-top: 0; }
.swell-block-button.cj-btn-line .swell-block-button__link,
.wp-block-button.cj-btn-line .wp-block-button__link { background: var(--cj-line) !important; color: #fff !important; border-color: var(--cj-line) !important; }

/* ── ヒーロー ── */
.cj-hero .swell-block-fullWide__inner { max-width: 1120px; }
.cj-hero__eyebrow { font-size: 14px; letter-spacing: .2em; opacity: .85; }
.post_content h1.cj-hero__title {
	margin: .4em 0 .6em;
	padding: 0;
	background: none;
	border: 0;
	font-size: clamp(30px, 5vw, 54px);
	line-height: 1.45;
	letter-spacing: .06em;
	color: #fff;
}
.cj-hero__title::before, .cj-hero__title::after { display: none !important; }
.cj-hero__lead { max-width: 620px; line-height: 2; opacity: .92; }
.cj-hero__btns { margin-top: 2em; gap: 14px; }
.cj-hero__btns .wp-block-button__link { padding: .95em 2em; border-radius: 6px; font-weight: 700; }
.cj-hero__btns .cj-btn-ghost .wp-block-button__link { color: #fff; border: 1px solid rgba(255, 255, 255, .7); background: transparent; }
.cj-hero__stat { margin-top: 2.4em !important; font-size: 14px; opacity: .9; }
.cj-hero__stat strong { font-family: var(--cj-serif); font-size: 40px; margin-right: 2px; }
.cj-hero__stat span { display: block; font-size: 12px; opacity: .8; }

/* 帯や2列の中のラベルは左寄せ */
.cj-band .cj-label, .cj-guide .cj-label { text-align: left; }

/* ── 合格可能性診断（帯） ── */
.cj-band { border-top: 1px solid var(--cj-border); border-bottom: 1px solid var(--cj-border); }
.post_content h2.cj-band__title { margin: 0 0 .4em; padding: 0; background: none; border: 0; font-size: 26px; color: var(--cj-navy); }
.cj-band__title::before { display: none !important; }

/* ── お悩み ── */
.cj-worry li { position: relative; padding: 14px 16px 14px 2.8em !important; background: var(--cj-bg); border-radius: 6px; margin-bottom: 10px; }
.cj-worry li::before { left: 1em !important; top: 50% !important; transform: translateY(-50%); color: var(--cj-navy); }

/* ── 数字 ── */
.cj-stat { margin: 0 !important; font-size: 18px; }
.cj-stat strong { font-size: 54px; font-weight: 700; margin-right: 4px; }
.cj-stat__label { font-size: 13px; opacity: .78; }

/* ── カード ── */
.cj-cards .swell-block-column { background: #fff; border: 1px solid var(--cj-border); border-radius: 8px; padding: 0 0 24px !important; overflow: hidden; }
.cj-cards .swell-block-column > *:not(figure) { padding-left: 22px; padding-right: 22px; }
.cj-cards figure { margin: 0 0 18px !important; }
.cj-cards figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cj-num { margin: 0 0 4px !important; font-size: 28px; color: #B8C0CF; }
.post_content .cj-cards h3 { margin: 0 0 .6em; padding: 0; border: 0; background: none; font-size: 19px; color: var(--cj-navy); }
.post_content .cj-cards h3::before, .post_content .cj-cards h3::after { display: none; }
.cj-tag { display: inline-block; margin-bottom: 8px !important; font-size: 12px; font-weight: 700; color: var(--cj-navy); letter-spacing: .06em; }
.cj-meta { font-size: 12.5px; color: #6B7487; }

/* ── 合格実績 ── */
.cj-results .swell-block-column { background: #fff; border: 1px solid var(--cj-border); border-radius: 8px; padding: 22px 8px !important; }
.cj-result__num { margin: 0 !important; color: var(--cj-navy); }
.cj-result__num strong { font-size: 40px; margin-right: 2px; }
.cj-result__name { margin: 0 !important; font-size: 14px; font-weight: 600; }

/* ── ガイド ── */
.post_content h2.cj-guide__title { margin: 0 0 .6em; padding: 0; background: none; border: 0; font-size: 24px; line-height: 1.6; color: var(--cj-navy); }
.cj-guide__title::before { display: none !important; }

/* ── 代表メッセージ ── */
.cj-ceo img { border-radius: 8px; }
.cj-promise { padding: 18px 20px; background: var(--cj-bg); border-left: 3px solid var(--cj-navy); border-radius: 0 6px 6px 0; }
.cj-sign { text-align: right; font-size: 13px; color: #6B7487; }
.cj-sign strong { font-family: var(--cj-serif); font-size: 22px; color: var(--cj-navy); letter-spacing: .2em; }

/* ── 料金 ── */
.post_content h3.cj-price__ttl { max-width: 760px; margin: 2em auto .8em; font-size: 18px; }
.cj-table { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.cj-table table { background: #fff; }
.cj-table th, .cj-table td { padding: 14px 16px !important; border-color: var(--cj-border) !important; }
.cj-table thead th { background: var(--cj-navy) !important; color: #fff; font-weight: 600; }
.cj-table tbody th { background: #F8F9FC; font-weight: 600; text-align: left; }
.cj-table td { text-align: right; font-family: var(--cj-serif); font-size: 17px; }

/* ── 保護者 ── */
.cj-boxes .swell-block-column { border-top: 3px solid var(--cj-navy); background: var(--cj-bg); border-radius: 0 0 6px 6px; padding: 22px !important; }
.post_content .cj-boxes h3 { margin: 0 0 .5em; padding: 0; border: 0; background: none; font-size: 18px; color: var(--cj-navy); }
.post_content .cj-boxes h3::before, .post_content .cj-boxes h3::after { display: none; }

/* ── CTA ── */
.post_content h2.cj-cta__title { padding: 0; background: none; border: 0; color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cj-cta__title::before { display: none !important; }

@media (max-width: 599px) {
	.cj-stat strong { font-size: 44px; }
	.cj-result__num strong { font-size: 32px; }
	.cj-hero__btns { flex-direction: column; align-items: stretch; }
	.cj-hero__btns .wp-block-button { width: 100%; text-align: center; }
}

/* ── 下層ページ ── */
.post_content h2.cj-catch { margin: 0 0 .8em; padding: 0; background: none; border: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: .06em; color: var(--cj-navy); }
.post_content h2.cj-catch::before, .post_content h2.cj-catch::after { display: none !important; }
.cj-intro p { text-align: center; }
.cj-intro .swell-block-button { margin-top: 1.6em; }
.cj-tiles .swell-block-column, .cj-auto .swell-block-column { background: #fff; border: 1px solid var(--cj-border); border-radius: 8px; padding: 22px !important; }
.cj-auto .swell-block-column > figure { margin: -22px -22px 16px !important; }
.cj-auto .swell-block-column > figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px 8px 0 0; }
.post_content h3.cj-col-ttl { margin: 0 0 .5em; padding: 0; border: 0; background: none; font-size: 18px; color: var(--cj-navy); }
.post_content h3.cj-col-ttl::before, .post_content h3.cj-col-ttl::after { display: none; }
.swell-block-column .cj-label { text-align: left; color: var(--cj-navy); }
.cj-more-link { font-size: 14px; font-weight: 600; }
.cj-more summary { font-weight: 700; color: var(--cj-navy); cursor: pointer; }
.cj-cta .is-style-section_ttl, .cj-cta h2 { color: #fff !important; }
.cj-cta .cj-label { color: rgba(255, 255, 255, .7); }
.c-pageTitle__subTitle { font-size: 13px; letter-spacing: .14em; }

/* 写真の大きさをそろえる */
.post_content .swell-block-fullWide__inner > figure.cj-img { max-width: 560px; margin-left: auto; margin-right: auto; }
.post_content figure.cj-img img { border-radius: 8px; }
.cj-media { margin-bottom: 1.6em !important; padding: 20px; background: #fff; border: 1px solid var(--cj-border); border-radius: 8px; }
.cj-media .wp-block-media-text__media img { border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; }
.cj-media .wp-block-media-text__content { padding: 0 0 0 24px !important; }
@media (max-width: 599px) { .cj-media .wp-block-media-text__content { padding: 16px 0 0 !important; } .cj-media .wp-block-media-text__media img { aspect-ratio: 4 / 3; } }

/* 見出しの中央寄せ（ブロックの設定が効かない環境向け） */
.post_content h2.cj-cta__title, .post_content h2.is-style-section_ttl, .post_content h2.cj-catch { text-align: center; }
