/* ページ内ジャンプ */
.jisseki-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 28px 0 40px;
}

.jisseki-nav-btn {
	display: block;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 14px;
	padding: 18px;
	text-decoration: none;
	color: #222;
	box-shadow: 0 3px 12px rgba(0,0,0,0.05);
	transition: 0.2s;
}

.jisseki-nav-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
	border-color: #1e73be;
}

.jisseki-nav-title {
	display: block;
	font-size: 1.08rem;
	font-weight: bold;
	margin-bottom: 8px;
	color: #1e73be;
}

.jisseki-nav-desc {
	display: block;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #555;
}

/* 実績の生徒のストーリー */
.jisseki-story-box {
	background: #f7fbff;
	border: 1px solid #cfe3f5;
	border-radius: 14px;
	padding: 18px 22px;
	margin: 24px 0;
}

.jisseki-story-list {
	margin: 0;
	padding-left: 1.4em;
}

.jisseki-story-list li {
	margin-bottom: 12px;
	line-height: 1.9;
	font-weight: 500;
}

.jisseki-story-list li:last-child {
	margin-bottom: 0;
}

/* 実績の生徒のストーリー詳細 */
.jisseki-case-box {
	background: #f7fbff;
	border: 1px solid #d9e8f5;
	/* border-left: 6px solid #1e73be; */
	border-radius: 14px;
	padding: 24px;
	margin: 32px 0;
	box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

.jisseki-case-box h3 {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 1.35rem;
	line-height: 1.5;
}

.jisseki-case-box ul {
	background: #ffffff;
	border-radius: 10px;
	padding: 18px 18px 18px 2em;
	margin: 0 0 20px;
}

.jisseki-case-box li {
	margin-bottom: 10px;
	line-height: 1.9;
}

.jisseki-case-box p {
	margin-bottom: 0;
	line-height: 2;
}


/* 最初に戻る */
.case-back {
	margin-top: 20px;
	text-align: right;
}

.case-back a {
	display: inline-block;
	text-decoration: none;
	font-size: 0.92rem;
	color: #1e73be;
	background: rgba(255,255,255,0.7);
	padding: 6px 12px;
	border-radius: 999px;
	transition: 0.2s;
}

.case-back a:hover {
	background: #1e73be;
	color: #fff;
}

/* 点数変化 */
.jr1-score-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.jr1-score-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* 学校名＋科目 */
.jr1-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.jr1-school {
	font-size: 1.08rem;
	font-weight: bold;
	padding-left: 10px;
	border-left: 5px solid #1e73be;
	line-height: 1.3;
}

.jr1-subject {
	display: inline-block;
	background: #f1f5f9;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 0.84rem;
	font-weight: bold;
	line-height: 1.2;
}

/* 点数変化 */
.jr1-change {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.jr1-before,
.jr1-after {
	border-radius: 12px;
	padding: 12px 10px;
	text-align: center;
	min-width: 0;
}

.jr1-before {
	background: #f6f6f6;
}

.jr1-after {
	background: #fff4f4;
	border: 2px solid #d94a4a;
}

.jr1-score-main {
	display: block;
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1.2;
	word-break: break-word;
}

.jr1-after .jr1-score-main {
	color: #d93c3c;
}

.jr1-score-note {
	display: block;
	margin-top: 4px;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #555;
	word-break: break-word;
}

.jr1-arrow {
	font-size: 1.5rem;
	font-weight: bold;
	color: #1e73be;
}




/* 実績の開閉 */
.js-accordion-trigger {
	cursor: pointer;
	position: relative;
	padding-right: 1.2em;
}

.js-accordion-trigger::after {
	content: "＋";
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
	font-weight: bold;
}

.js-accordion-trigger.is-open::after {
	content: "－";
}

/* アコーディオン表示制御：必ずCSSの一番下に置く */
.exam-section.js-accordion-content,
.score-section.js-accordion-content,
.jr1-score-grid.js-accordion-content {
	display: none;
}

.exam-section.js-accordion-content.is-open,
.score-section.js-accordion-content.is-open {
	display: block;
}

.jr1-score-grid.js-accordion-content.is-open {
	display: grid;
}