/* 群馬県の高校受験ガイド（保護者向け特集）：flow・aboutと同じ配色と文字組み */
#gkc-hub{--hub-green:#2e8b57;--hub-dark:#246b43;--hub-pale:#f1f9ee;--hub-line:#d5e3d1;background:#fff;color:#333;font:16px/1.9 "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;letter-spacing:normal}
#gkc-hub *{box-sizing:border-box}
#gkc-hub p{margin:0 0 16px;letter-spacing:normal}
#gkc-hub h1,#gkc-hub h2,#gkc-hub h3{font-weight:700;line-height:1.6;letter-spacing:normal;color:#333;background:none;border:0;padding:0}
#gkc-hub h1{font-size:30px;margin:14px 0 8px}
#gkc-hub h2{font-size:23px;margin:0 0 14px}
#gkc-hub a{color:var(--hub-dark)}
#gkc-hub a:focus-visible{outline:3px solid #28754c;outline-offset:4px}
#gkc-hub ul{margin:0;padding:0;list-style:none}
#gkc-hub li{list-style:none}

#gkc-hub .hub-title{background:#cbffd3;padding:28px 30px 32px}
#gkc-hub .hub-title-inner{max-width:860px;margin:auto}
#gkc-hub .hub-title p{margin:0}
#gkc-hub .hub-crumb{font-size:12px;color:#3e5844}
#gkc-hub .hub-crumb a{color:inherit;text-decoration:underline}
#gkc-hub main{max-width:920px;margin:auto;padding:40px 30px;display:block;width:100%;float:none}
#gkc-hub section{margin-bottom:48px;scroll-margin-top:25px}
#gkc-hub .hub-eyebrow{font-size:14px;color:#a85421;font-weight:700;margin-bottom:6px}

/* 日程 */
#gkc-hub .hub-dates{background:var(--hub-pale);border-radius:14px;padding:26px 28px}
#gkc-hub .hub-dates h2{font-size:20px}
#gkc-hub .hub-timeline li{display:grid;grid-template-columns:200px 1fr;gap:14px;padding:11px 0;border-bottom:1px dashed #c9dcc4}
#gkc-hub .hub-timeline li:last-child{border-bottom:0}
#gkc-hub .hub-date{font-weight:700;color:var(--hub-dark)}
#gkc-hub .hub-note{font-size:12px;color:#5b665c;margin:12px 0 0}

/* 目次 */
#gkc-hub .hub-toc{margin-bottom:48px}
#gkc-hub .hub-toc h2{font-size:18px}
#gkc-hub .hub-toc ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
#gkc-hub .hub-toc a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;border:1px solid var(--hub-line);border-radius:10px;text-decoration:none;font-weight:700;background:#fff}
#gkc-hub .hub-toc a span{font-size:12px;font-weight:400;color:#5b665c;flex-shrink:0}
#gkc-hub .hub-toc a:hover{background:var(--hub-pale)}

/* セクション */
#gkc-hub .hub-section h2{border-left:5px solid #e6a260;padding-left:14px}
#gkc-hub .hub-lead{color:#454e46}
#gkc-hub .hub-cards{display:grid;grid-template-columns:1fr;gap:12px}
#gkc-hub .hub-card a{display:flex;flex-direction:row;align-items:stretch;height:100%;border:1px solid var(--hub-line);border-radius:12px;overflow:hidden;text-decoration:none;color:#333;background:#fff;transition:background .15s}
#gkc-hub .hub-card a:hover{background:#f7fbf5}
#gkc-hub .hub-card-thumb{display:block;flex:0 0 210px;aspect-ratio:16/9;background:var(--hub-pale);overflow:hidden}
#gkc-hub .hub-card-thumb img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
#gkc-hub .hub-card-body{display:flex;flex-direction:column;gap:4px;padding:12px 18px;flex:1;min-width:0}
#gkc-hub .hub-card-badge{align-self:flex-start;font-size:12px;font-weight:700;color:#fff;background:#d77b37;border-radius:20px;padding:1px 10px}
#gkc-hub .hub-card-title{font-weight:700;line-height:1.6;color:var(--hub-dark)}
#gkc-hub .hub-card-text{font-size:13px;line-height:1.75;color:#555}
#gkc-hub .hub-card-date{font-size:12px;color:#6b746c;margin-top:auto}
#gkc-hub .hub-card.is-featured{grid-column:1/-1}
#gkc-hub .hub-card.is-featured a{flex-direction:row;border-color:#9ccb9f;background:#fbfef9}
#gkc-hub .hub-card.is-featured .hub-card-thumb{flex:0 0 40%;aspect-ratio:auto;min-height:170px}
#gkc-hub .hub-card.is-featured .hub-card-body{padding:16px 20px}

/* 相談 */
#gkc-hub .hub-cta{background:var(--hub-pale);border-radius:16px;padding:30px;text-align:center}
#gkc-hub .hub-cta p:not(.hub-eyebrow){text-align:left}
#gkc-hub .hub-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:8px 0 16px}
#gkc-hub .hub-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:10px 26px;border-radius:30px;background:#d77b37;color:#fff;font-weight:700;text-decoration:none}
#gkc-hub .hub-button.hub-line{background:var(--hub-green)}
#gkc-hub .hub-button:hover{filter:brightness(.94)}
#gkc-hub .hub-text-link{font-size:14px;text-decoration:underline;text-underline-offset:4px}

@media(min-width:600px){#gkc-hub .hub-sp{display:none}}
@media(max-width:599px){
 #gkc-hub .hub-pc{display:none}
 #gkc-hub .hub-title{padding:22px 16px 24px}
 #gkc-hub h1{font-size:24px}
 #gkc-hub h2{font-size:20px}
 #gkc-hub main{padding:28px 16px}
 #gkc-hub section{margin-bottom:40px}
 #gkc-hub .hub-dates{padding:20px 16px}
 #gkc-hub .hub-timeline li{grid-template-columns:1fr;gap:0}
 #gkc-hub .hub-cards{grid-template-columns:1fr}
 #gkc-hub .hub-cards{gap:10px}
 #gkc-hub .hub-card a{flex-direction:row;align-items:stretch}
 #gkc-hub .hub-card-thumb{flex:0 0 112px;aspect-ratio:auto}
 #gkc-hub .hub-card-body{padding:10px 12px;gap:4px}
 #gkc-hub .hub-card-title{font-size:14px;line-height:1.55}
 #gkc-hub .hub-card-text{display:none}
 #gkc-hub .hub-card.is-featured a{flex-direction:column}
 #gkc-hub .hub-card.is-featured .hub-card-thumb{flex:none;aspect-ratio:16/9;min-height:0}
 #gkc-hub .hub-card.is-featured .hub-card-text{display:block}
 #gkc-hub .hub-cta{padding:24px 16px}
 #gkc-hub .hub-button{width:100%}
}
