@charset "utf-8";
/* ===== 초중등 커리큘럼 공용 스타일 (2026-11-30~) =====
   이미지는 /images/curri_m/ 폴더 사용 (파일 이름 앞에 m1_, m2_ ... 학년 표시) */

/* --- 교재 카드: 표지 그림만 이미지, 회색 배경·그림자·책 이름은 코드 --- */
.curri_con .m_book {
	background: #efeeec;
	padding: 12% 0 9%;
	text-align: center;
}
/* 표지 틀: 그림자 + 왼쪽 책 두께(접히는 부분) 음영 */
.curri_con .m_book .m_cover_wrap {
	position: relative;
	display: block;
	width: 39%;            /* 예전 통이미지와 같은 비율 */
	max-width: 230px;
	margin: 0 auto;
	box-shadow: -6px 7px 12px rgba(0, 0, 0, 0.35);   /* 왼쪽 아래로 지는 그림자 */
}
.curri_con .m_book .m_cover_wrap::before {   /* 책 두께 표현 (고3 교재와 같은 방식) */
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 5%;
	background: linear-gradient(to right, rgba(0,0,0,.28), rgba(0,0,0,.05) 60%, rgba(255,255,255,.25));
	pointer-events: none;
}
.curri_con .m_book img.m_cover {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
}
.curri_con .m_book .m_name {
	display: block;
	margin-top: 7%;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
	color: #1e1c1d;
	letter-spacing: -0.5px;
}
.curri_con .m_book .m_desc {
	display: block;
	margin-top: 10px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	color: #222;
}

@media (max-width: 768px) {
	.curri_con .m_book .m_name { font-size: 22px; }
	.curri_con .m_book .m_desc { font-size: 14px; margin-top: 6px; }
}
/* --- 목록 아래 구분선 (중3 정규수업 문학/문법, 2026-11-30): 이 목록 아래에 가는 선 --- */
.curri_con ul.m_line_bottom { overflow: hidden; padding-bottom: 10px; border-bottom: 1px solid #dcdcdc; }
/* --- 중3 연간 학습 계획(year_plan3) 아래 추가 줄: 왼쪽 정렬 --- */
.curri_con table.year_plan3 td.year_list { text-align: left; padding: 20px 40px; }
.curri_con table.year_plan3 td.year_list .ul_type3 { display: block; }
/* --- 표지 3권 나란히 (내신비법서, 2026-11-30): 각 표지에 같은 그림자·두께 --- */
.curri_con .m_book .m_trio { display: flex; justify-content: center; gap: 3%; padding: 0 8%; }
.curri_con .m_book .m_trio .m_cover_wrap { flex: 0 1 30%; width: auto; max-width: 168px; margin: 0; }
/* --- 클리닉 안내 표 (내신수업, 2026-11-30) --- */
.curri_con table.m_clinic { table-layout: fixed; word-break: keep-all; }
.curri_con table.m_clinic th { width: 20%; }
.curri_con table.m_clinic td { line-height: 1.5; }
@media (max-width: 768px) { .curri_con table.m_clinic th, .curri_con table.m_clinic td { padding: 12px 10px; font-size: 13px; } }
/* --- 교재 1권 가로 배치 (내신비법서, 2026-11-30): 왼쪽 표지, 오른쪽 책 이름·설명 --- */
.curri_con .m_book.m_book_row { display: flex; align-items: center; gap: 5%; padding: 50px 6%; text-align: left; }
.curri_con .m_book.m_book_row .m_trio { flex: 0 0 50%; padding: 0; }
.curri_con .m_book.m_book_row .m_row_txt { flex: 1; }
.curri_con .m_book.m_book_row .m_name { margin-top: 0; }
.curri_con .m_book .m_row_list { margin: 22px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid #d6d4d1; }
.curri_con .m_book .m_row_list li { position: relative; padding-left: 16px; margin: 0 0 8px; font-size: 17px; line-height: 1.6; color: #333; word-break: keep-all; }
.curri_con .m_book .m_row_list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #c52229; }
@media (max-width: 768px) {
	.curri_con .m_book.m_book_row { flex-direction: column; gap: 26px; padding: 36px 20px; }
	.curri_con .m_book.m_book_row .m_trio { flex: none; width: 100%; }
	.curri_con .m_book.m_book_row .m_row_txt { text-align: center; }
	.curri_con .m_book .m_row_list { display: inline-block; text-align: left; margin-top: 16px; padding-top: 14px; }
	.curri_con .m_book .m_row_list li { font-size: 14px; margin-bottom: 6px; }
}
/* --- 내신 대비 프로그램 표 (이미지 → 코드, 2026-11-30) --- */
.curri_con table.m_naesin_plan { table-layout: fixed; word-break: keep-all; }
.curri_con table.m_naesin_plan thead th:first-child, .curri_con table.m_naesin_plan tbody th { width: 11%; }
.curri_con table.m_naesin_plan thead th:last-child { width: 13%; }
.curri_con table.m_naesin_plan thead th { font-weight: 500; }
.curri_con table.m_naesin_plan td { padding: 20px 6px; line-height: 1.6; vertical-align: middle; }
.curri_con table.m_naesin_plan td.m_gray { background: #f7f7f7; }
/* 좁은 화면: 옆으로 밀지 않고 화면 폭에 맞춰 글씨·여백을 줄임 */
@media (max-width: 768px) {
	.curri_con table.m_naesin_plan { word-break: keep-all; }
	.curri_con table.m_naesin_plan thead th { font-size: 12px; line-height: 1.4; padding: 10px 2px; }
	.curri_con table.m_naesin_plan tbody th, .curri_con table.m_naesin_plan td { font-size: 11px; line-height: 1.5; padding: 10px 2px; letter-spacing: -0.5px; }
	.curri_con table.m_naesin_plan thead th:first-child, .curri_con table.m_naesin_plan tbody th { width: 13%; }
	.curri_con table.m_naesin_plan thead th:last-child { width: 14%; }
}
/* --- 교재 카드 회색 상자 높이 맞춤 (2026-12-01): 설명이 1줄이어도 2줄 높이를 차지해 옆 카드와 끝선이 같음 --- */
/* 두 권이 나란히 놓이는 넓은 화면(992px 이상)에서만 적용 */
@media (min-width: 992px) { .curri_con .m_book .m_desc { min-height: 2.8em; } .curri_con .m_book.m_book_row .m_desc { min-height: 0; } }
/* --- 표 칸 안 목록: 글은 왼쪽 정렬, 목록 덩어리는 칸 가운데 (중3 연간 계획 1~9월, 2026-12-01) --- */
.curri_con table td.m_center_list { text-align: center; }
.curri_con table td.m_center_list .ul_type3 { display: inline-block; text-align: left; }
.curri_con table td.m_center_list .ul_type3 li { float: none; width: auto; }
/* --- 수업 안내 동그라미 1개짜리: 글 묶음을 원 정가운데로 (초5, 2026-12-03, 고1 페이지 참고) --- */
.curri_con .curri_ring_type1.m_ring_center .curri_ring_l { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.curri_con .curri_ring_type1.m_ring_center .curri_ring_l h1 { padding-top: 0; margin: 0 0 6px; }
.curri_con .curri_ring_type1.m_ring_center .curri_ring_l h4 { margin: 0; }
.curri_con .curri_ring_type1.m_ring_center .curri_ring_l p { margin: 40px 0 0; }
@media (max-width: 480px) { .curri_con .curri_ring_type1.m_ring_center .curri_ring_l p { margin-top: 24px; } }

/* ===== 고1·고2 2027 업데이트 (2026-12-03): 고등 페이지도 이 파일을 함께 씀. 이미지는 /images/curri_h/ ===== */
/* --- 수업 구성 표 (고1·고2 정규수업): 왼쪽 영역 이름, 오른쪽 ①②③ 내용 --- */
.curri_con table.h_compose { table-layout: fixed; word-break: keep-all; border-top: 2px solid #b21e27; }   /* 위 빨간 줄 (중등 표와 같게) */
.curri_con table.h_compose tbody th { width: 20%; padding: 18px 10px; font-size: 18px; color: #222; }
.curri_con table.h_compose tbody th small { display: block; margin-top: 4px; font-size: 13px; color: #888; }
.curri_con table.h_compose td { text-align: left; padding: 18px 30px; line-height: 1.8; }
/* 수업 구성 위 요약 3줄 (고2): 빨간 점 목록을 가운데에 */
.curri_con .h_point_wrap { text-align: center; margin: -10px 0 0; }
.curri_con ul.h_point_list { display: inline-block; margin: 0; padding: 0; list-style: none; text-align: left; }
.curri_con ul.h_point_list li { position: relative; padding-left: 16px; margin: 0 0 6px; font-size: 18px; line-height: 1.6; color: #333; word-break: keep-all; }
.curri_con ul.h_point_list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #c52229; }
@media (max-width: 768px) {
	.curri_con table.h_compose tbody th { width: 24%; padding: 12px 4px; font-size: 14px; }
	.curri_con table.h_compose tbody th small { font-size: 11px; }
	.curri_con table.h_compose td { padding: 12px 12px; font-size: 13px; line-height: 1.7; }
	.curri_con ul.h_point_list li { font-size: 14px; }
}
/* --- 수업 안내 동그라미 (고1·고2): 설명 줄을 위 (주 1회·N시간)에 조금 더 붙임 (2026-12-03 사용자 요청) ---
   고2 오른쪽 원(.h_ring_time)은 (주 1회·2시간)이 있어 왼쪽 원과 같은 구조 → 설명·버튼이 왼쪽 원 설명과 같은 높이 */
.curri_ring.h_ring_tight .curri_ring_l p, .curri_ring .curri_ring_r.h_ring_time p { margin-top: 35px; }
@media (max-width: 991px) { .curri_ring.h_ring_tight .curri_ring_l p, .curri_ring .curri_ring_r.h_ring_time p { margin-top: 20px; } }
@media (max-width: 540px) { .curri_ring.h_ring_tight .curri_ring_l p, .curri_ring .curri_ring_r.h_ring_time p { margin-top: 14px; } }
@media (max-width: 420px) { .curri_ring.h_ring_tight .curri_ring_l p, .curri_ring .curri_ring_r.h_ring_time p { margin-top: 20px; } }

/* 고1 오른쪽 원: (주 1회·N시간) 줄이 없어서, 그 줄 높이만큼 더 띄워 설명 시작 높이를 왼쪽 원과 맞춤 (화면 폭마다 실제로 재서 맞춘 값) */
.curri_ring .curri_ring_r.h_ring_noh4 p { margin-top: 67px; }
@media (max-width: 991px) { .curri_ring .curri_ring_r.h_ring_noh4 p { margin-top: 48.7px; } }
@media (max-width: 540px) { .curri_ring .curri_ring_r.h_ring_noh4 p { margin-top: 39.4px; } }
@media (max-width: 420px) { .curri_ring .curri_ring_r.h_ring_noh4 p { margin-top: 35.4px; } }

/* --- 연간 학습 계획 표 (고1·고2): 사이트 다른 표와 같은 모양(위 빨간 줄 + 회색 머리칸) ---
   반 달 단위 24칸으로 나눠 "3월 중순까지 정규"처럼 달 중간에서 끝나는 기간도 표시.
   넓은 화면은 1~12월 한 표(.h_y_full), 좁은 화면(991px 이하)은 4개월씩 세 표(.h_y_part) */
.curri_con table.h_year { table-layout: fixed; word-break: keep-all; }
.curri_con table.h_year col.h_y_label { width: 8%; }
.curri_con table.h_year thead th { line-height: 1.4; padding: 16px 2px; }
/* 둘째 줄(정규·내신 대비 기간): 빨간 줄·회색 음영 없이 흰 바탕 */
.curri_con table.h_year thead tr.h_y_term th { border-top: 1px solid #dddddd; background: #fff; line-height: 1.5; padding: 12px 2px; }
.curri_con table.h_year tbody th { padding: 14px 2px; line-height: 1.5; }
.curri_con table.h_year td { padding: 16px 4px; font-size: 14px; line-height: 1.7; vertical-align: middle; }
.curri_con table.h_year td b { font-weight: 500; color: #333; }
.curri_con table.h_year .h_y_special { font-size: 12px; color: #c52229; }
.curri_con table.h_year.h_y_part { display: none; }
@media (max-width: 991px) {
	.curri_con table.h_year.h_y_full { display: none; }
	.curri_con table.h_year.h_y_part { display: table; }
	.curri_con table.h_year.h_y_part + table.h_year.h_y_part { margin-top: 24px; }
	.curri_con table.h_year col.h_y_label { width: 15%; }
	.curri_con table.h_year thead th { font-size: 14px; padding: 10px 2px; }
	.curri_con table.h_year tbody th { font-size: 13px; }
	.curri_con table.h_year td { font-size: 12px; line-height: 1.6; padding: 10px 3px; letter-spacing: -0.3px; }
	.curri_con table.h_year .h_y_special { font-size: 11px; }
}
/* --- 고2 커리큘럼 2027 학습 계획 (2칸: 문학 & 문법 / 독서 & 작문 & 화법) --- */
/* 책 제목 칸 색: 교재 표지처럼 하늘색 (1권 유형편 옅게, 2권 적용편 조금 진하게) */
.curri_con table.h_plan2 thead th.h_book1 { background: #e3eef8; color: #000; }
.curri_con table.h_plan2 thead th.h_book2 { background: #bed6ec; color: #000; }
.curri_con table.h_plan2 { table-layout: fixed; word-break: keep-all; }
.curri_con table.h_plan2 col.h_p_no { width: 12%; }
.curri_con table.h_plan2 td { text-align: left; padding: 14px 24px; line-height: 1.8; }
@media (max-width: 768px) {
	.curri_con table.h_plan2 col.h_p_no { width: 16%; }
	.curri_con table.h_plan2 tbody th { padding: 12px 4px; font-size: 13px; }
	.curri_con table.h_plan2 td { padding: 10px 8px; font-size: 12px; line-height: 1.6; }
	.curri_con table.h_plan2 thead th { font-size: 14px; line-height: 1.4; padding: 12px 4px; }
}
