/* Empty legacy cells retain their DOM text but no longer reserve a column. */
.school-section>table{table-layout:fixed}
.school-section>table th:first-child{width:100%;padding:20px 54px 20px 22px}
.school-section>table th+th{display:none}
.school-section>table .enhance-trigger:after{right:24px}
.school-panel>table{min-width:0;width:100%;table-layout:fixed}
.school-panel td:first-child{display:none}
.school-panel td+td{width:100%;min-width:0;padding:14px 22px;overflow-wrap:anywhere}
.school-panel{overflow-x:hidden}
/* Text sits on opaque paper beneath imagery, including current-page cards. */
#hpb-nav li>a{height:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative;padding:0 20px 20px;gap:7px}
#hpb-nav li>a:before{content:'';display:block;order:0;flex-shrink:0;height:132px;margin:0 -20px 12px;background:linear-gradient(135deg,#e5ede7,#f7f3e9);border-bottom:1px solid var(--line)}
#hpb-nav li>a[href="index.html"]:before{background:none center/cover}
#hpb-nav li>a[href="news.html"]:before{background:none center/cover}
#hpb-nav li>a[href="seminar.html"]:before{background:none center/cover}
#hpb-nav li>a[href="information.html"]:before{background:#fff none center/contain no-repeat}
#hpb-nav li>a:is([href="profile.html"],[href="data.html"]):after{content:'';position:absolute;top:37px;left:calc(50% - 22px);width:44px;height:54px;border:2px solid var(--teal);border-radius:4px;background:repeating-linear-gradient(to bottom,transparent 0 8px,#92afa1 8px 10px,transparent 10px 16px) center/24px 35px no-repeat;transform:rotate(-5deg)}
#hpb-nav li>a[href="profile.html"]:after{width:54px;left:calc(50% - 27px);transform:none;border-radius:50% 50% 6px 6px;background:linear-gradient(90deg,transparent 42%,#92afa1 42% 58%,transparent 58%) center/32px 32px no-repeat}
body[data-page=index] .service-card[href="seminar.html"]{padding-top:190px}
body[data-page=index] .service-card[href="seminar.html"]:before{content:'';position:absolute;inset:0 0 auto;height:160px;border-radius:9px 9px 0 0;background:none center/cover}
body[data-page=index] .service-card[href="seminar.html"]:after{background:#fff;padding:4px 9px;border-radius:4px;color:#735628}
.record-thumbnail{display:block;width:100%;height:156px;object-fit:cover;border-radius:7px;margin:0 0 18px}
body[data-page=news] #schedule-cont>h4:has(.record-thumbnail){padding-top:16px}
body[data-page=seminar] .table-scroll>.record-thumbnail{width:calc(100% - 36px);margin:0 18px 18px;height:190px}
@media(max-width:760px){
 .school-section>table th:first-child{padding:17px 48px 17px 16px}
 .school-panel td+td{padding:13px 16px;font-size:13px;line-height:1.9}
 #hpb-nav li>a{padding:0 13px 16px}
 #hpb-nav li>a:before{height:100px;margin:0 -13px 8px}
 #hpb-nav li>a:is([href="profile.html"],[href="data.html"]):after{top:22px}
 .record-thumbnail{height:130px}
}
@media print{.record-thumbnail{display:none}}
