.sg-label { color: #9f263e; font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.sg-hero { padding: 12px 0 30px; }
.sg-hero h1 { margin: 16px 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.22; letter-spacing: -.045em; word-break: keep-all; }
.sg-hero p { line-height: 1.8; }
.sg-hero .sg-lead { font-size: 22px; font-weight: 750; margin-bottom: 8px; }
.sg-date, .sg-note { font-size: 13px; color: #68676d; line-height: 1.8; }
.sg-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.sg-nav a { padding: 10px 17px; border: 1px solid #cfcbc6; border-radius: 8px; background: #fff; color: #28272b; font-size: 14px; font-weight: 750; text-decoration: none; }
.sg-nav a:hover { border-color: #9f263e; color: #9f263e; }
.sg-common { padding: 24px 28px; background: #f5eae8; border-left: 4px solid #9f263e; border-radius: 8px; }
.session-guide-page h2 { font-size: 24px; margin: 0 0 18px; }
.sg-common ul, .sg-card ul { padding-left: 21px; }
.sg-common li { margin: 8px 0; font-size: 15px; line-height: 1.85; }
.session-guide-page a { text-underline-offset: 4px; }
.sg-common a, .sg-table a { color: #8d1f35; }
.sg-schedule, .sg-group { margin-top: 42px; scroll-margin-top: 24px; }
.sg-table { overflow-x: auto; border: 1px solid #d5d0ca; border-radius: 10px; }
.sg-table table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.sg-table th, .sg-table td { padding: 13px 16px; border-bottom: 1px solid #e2ded8; line-height: 1.6; }
.sg-table thead { background: #ede9e3; }
.sg-table tbody { background: #fff; }
.sg-table th, .sg-table td:nth-child(2), .sg-table td:nth-child(4) { white-space: nowrap; }
.sg-table tbody tr:last-child > * { border-bottom: 0; }
.sg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sg-card { min-width: 0; padding: 26px; border: 1px solid #d5d0ca; border-radius: 12px; background: #fff; scroll-margin-top: 24px; }
.sg-card:target { outline: 2px solid #9f263e; outline-offset: 3px; }
.sg-card header p { margin: 0 0 6px; }
.sg-card h3 { margin: 0 0 20px; font-size: 27px; }
.sg-card h3 span { font-size: 13px; font-weight: 500; color: #777; }
.sg-card dl { margin: 0; padding: 14px 16px; background: #f5f3ef; border-radius: 8px; font-size: 14px; line-height: 1.7; }
.sg-card dl div { display: grid; grid-template-columns: 35px 1fr; gap: 8px; margin: 4px 0; }
.sg-card dt { color: #777; }.sg-card dd { margin: 0; font-weight: 650; }
.sg-card h4 { margin: 22px 0 8px; font-size: 15px; }
.sg-card p, .sg-card li { font-size: 15px; line-height: 1.85; }
.sg-card li { margin: 8px 0; }.sg-card li strong { display: block; }
.sg-card details { margin-top: 22px; padding-top: 16px; border-top: 1px solid #e2ded8; }
.sg-card summary { cursor: pointer; font-size: 14px; font-weight: 750; color: #8d1f35; }
.sg-ending { margin-top: 40px; padding: 28px; text-align: center; border-top: 1px solid #cbc9c5; }
.sg-ending p { line-height: 1.8; font-size: 14px; }
.session-guide-page a:focus-visible, .session-guide-page summary:focus-visible, .sg-table:focus-visible { outline: 3px solid #9f263e; outline-offset: 3px; }
.education-guide-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding: 20px; border: 1px solid #cbc9c5; border-radius: 8px; background: #fff; }
.education-guide-link p { margin: 6px 0 0; color: #68676d; font-size: 13px; line-height: 1.7; }
.education-guide-link a { flex-shrink: 0; }
.education-course-guide { display: inline-block; margin-top: 12px; color: #8d1f35; font-size: 12px; font-weight: 750; text-underline-offset: 3px; }
@media (max-width: 680px) { .sg-grid { grid-template-columns: 1fr; }.sg-card { padding: 22px; }.sg-common { padding: 20px; }.sg-table th, .sg-table td { padding: 12px; }.education-guide-link { align-items: flex-start; flex-direction: column; }.sg-table table { min-width: 550px; } }
@media print { .education-topbar, .sg-nav, .sg-ending { display: none; }.education-shell { width: 100%; padding: 0; }.sg-grid { display: block; }.sg-card { margin-bottom: 16px; break-inside: avoid; }.sg-table { overflow: visible; } }

.education-server-clock { position: sticky; top: 0; z-index: 50; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 12px 16px; color: #383439; background: #fff; border-bottom: 1px solid #d5d0ca; font-size: 15px; }
.education-server-clock time { font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.education-server-clock small { color: #777078; font-size: 12px; }
.education-server-clock [data-stale="true"] { color: #9f263e; }
@media (max-width: 420px) { .education-server-clock > small { flex-basis: 100%; text-align: center; } }

.education-apply-info { margin: 0 0 24px; padding: 22px 24px; border: 1px solid #cbc9c5; border-radius: 10px; background: #f5f4f1; text-align: left; word-break: keep-all; overflow-wrap: anywhere; }
.education-apply-info h2 { margin: 0 0 16px; font-size: 18px; line-height: 1.4; }
.education-apply-period { margin: 0 0 20px; padding: 12px 14px; border-radius: 6px; background: #eae7e2; font-size: 14px; line-height: 1.6; }
.education-apply-period > div { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.education-apply-period > div + div { margin-top: 6px; }
.education-apply-period dt { color: #68676d; }
.education-apply-period dd { margin: 0; font-weight: 700; }
.education-apply-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.education-apply-columns h3 { margin: 0 0 8px; font-size: 13px; color: #8d1f35; }
.education-apply-columns ul, .education-apply-columns ol { margin: 0; padding-left: 20px; color: #535158; font-size: 14px; line-height: 1.65; }
.education-apply-columns li + li { margin-top: 6px; }
@media (max-width: 680px) {
  .education-apply-info { padding: 20px 18px; }
  .education-apply-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.education-course-details { margin-top:12px; font-size:14px; line-height:1.65; }
.education-course-details summary { cursor:pointer; color:#8d1f35; font-weight:700; }
.education-course-details p { white-space:pre-line; overflow-wrap:anywhere; margin:12px 0; font-weight:400; }
