/* サービスの流れ：aboutと共通の読みやすい地域密着デザイン */
#gkc-exam{--flow-green:#2e8b57;background:#fff;color:#333;font:16px/1.9 "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;letter-spacing:normal}
#gkc-exam *{box-sizing:border-box}
#gkc-exam p{margin:0 0 18px;letter-spacing:normal}
#gkc-exam h1,#gkc-exam h2,#gkc-exam h3{font-weight:700;line-height:1.6;letter-spacing:normal}
#gkc-exam h1{font-size:30px;margin:14px 0 8px}
#gkc-exam h2{font-size:23px;margin:0 0 18px}
#gkc-exam h3{font-size:17px;margin:0 0 10px}
#gkc-exam a:focus-visible{outline:3px solid #28754c;outline-offset:4px}
#gkc-exam strong{font-weight:700}
#gkc-exam .flow-title{background:#cbffd3;padding:28px 30px 32px}
#gkc-exam .flow-title-inner{max-width:860px;margin:auto}
#gkc-exam .flow-title p{margin:0}
#gkc-exam .flow-crumb{font-size:12px;color:#3e5844}
#gkc-exam .flow-crumb a{color:inherit;text-decoration:underline}
#gkc-exam main{max-width:920px;margin:auto;padding:40px 30px;display:block;width:100%;float:none}
#gkc-exam section{margin-bottom:46px;scroll-margin-top:25px}
#gkc-exam .flow-eyebrow{font-size:14px;color:#a85421;font-weight:700;margin-bottom:8px}
#gkc-exam .flow-time{display:inline-block;background:#fff4df;padding:9px 15px;border-radius:7px;font-size:14px}
#gkc-exam .flow-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:12px 0 0;padding:0;list-style:none}
#gkc-exam .flow-summary li{list-style:none;min-width:0}
#gkc-exam .flow-summary a{display:block;height:100%;padding:18px 14px;background:#f1f9ee;border-radius:10px;color:inherit;text-decoration:none}
#gkc-exam .flow-summary a:hover{background:#e3f2df}
#gkc-exam .flow-step-label{font-size:13px;font-weight:700;color:#28754c}
#gkc-exam .flow-summary img{display:block;width:100%;height:100px;object-fit:contain;margin:10px auto 14px}
#gkc-exam .flow-summary h3{font-size:16px;color:#246b43}
#gkc-exam .flow-summary p{font-size:14px;margin:0}
#gkc-exam .flow-detail{border-top:1px solid #d8e7d7;padding-top:30px}
#gkc-exam .flow-detail-heading{display:flex;gap:15px;align-items:center;margin-bottom:20px}
#gkc-exam .flow-detail-heading h2{margin:0}
#gkc-exam .flow-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:46px;background:#2e8b57;color:#fff;border-radius:50%;font-size:20px;font-weight:700}
#gkc-exam .flow-list{background:#f3f9ef;border-radius:9px;padding:18px 20px 18px 42px;margin:0 0 20px;list-style:disc}
#gkc-exam .flow-list li{list-style:disc;margin:0 0 9px}
#gkc-exam .flow-list li:last-child{margin-bottom:0}
#gkc-exam .flow-list li::marker{color:#2e8b57}
#gkc-exam .flow-actions{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0}
#gkc-exam .flow-button{display:inline-flex;justify-content:center;align-items:center;padding:13px 25px;background:linear-gradient(#3cb371,#2e8b57);border:1px solid #2e8b57;border-radius:40px;box-shadow:0 3px 0 #267348;color:#fff;text-decoration:none;font-size:15px;font-weight:700}
#gkc-exam .flow-button.flow-line{background:#fff;color:#28754c;box-shadow:none}
#gkc-exam .flow-button:hover{filter:brightness(.95)}
#gkc-exam .flow-note{padding:16px 20px;background:#fff6e8;border-radius:8px;font-size:14px}
#gkc-exam .flow-trial{list-style:none;padding:0;margin:0 0 20px;counter-reset:trial}
#gkc-exam .flow-trial li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #dce8d8;list-style:none;counter-increment:trial}
#gkc-exam .flow-trial li:before{content:counter(trial);color:#28754c;font-weight:700}
#gkc-exam .flow-trial small{margin-left:auto;font-size:14px;white-space:nowrap}
#gkc-exam .flow-promises{padding:22px;background:#fff8e9;border-radius:12px}
#gkc-exam .flow-promises .flow-list{padding-top:0;padding-bottom:0;margin:0;background:transparent}
#gkc-exam .flow-after{background:#f1f9ee;padding:26px;border-radius:12px}
#gkc-exam .flow-after h2{border-left:5px solid #2e8b57;padding-left:14px}
#gkc-exam .flow-after-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
#gkc-exam .flow-after-grid h3{color:#246b43}
#gkc-exam .flow-after-grid p{font-size:14px}
#gkc-exam .flow-text-link,#gkc-exam .flow-notice a{color:#246b43;text-decoration:underline;text-underline-offset:4px;font-weight:700}
#gkc-exam .flow-contact{border-top:4px solid #2e8b57;padding-top:28px}
#gkc-exam .flow-notice{background:#fff6e8;padding:16px 20px;border-radius:8px;font-size:14px}
#gkc-exam .flow-notice a{display:inline-block}
#gkc-exam .flow-form{margin-top:28px}
#gkc-exam .flow-form input,#gkc-exam .flow-form select,#gkc-exam .flow-form textarea{max-width:100%}
#gkc-exam .flow-phone{background:#effbee;border-radius:12px;text-align:center;padding:28px 18px;margin-bottom:0}
#gkc-exam .flow-phone>a{font-size:28px;color:#28754c;font-weight:700;text-decoration:none}
#gkc-exam .flow-phone p{font-size:13px;margin:8px 0 0}
#gkc-exam .flow-mobile{display:none}
@media(max-width:599px){
 #gkc-exam{padding-top:24px}
 #gkc-exam .flow-title{padding:22px 20px 26px}
 #gkc-exam main{padding:28px 20px}
 #gkc-exam h1{font-size:27px}
 #gkc-exam h2{font-size:21px}
 #gkc-exam .flow-mobile{display:block}
 #gkc-exam .flow-summary{grid-template-columns:1fr;gap:10px}
 #gkc-exam .flow-summary a{display:grid;grid-template-columns:62px minmax(0,1fr);column-gap:14px;padding:16px}
 #gkc-exam .flow-summary img{grid-column:1;grid-row:1/4;height:72px;margin:0;align-self:center}
 #gkc-exam .flow-step-label{grid-column:2;font-size:12px}
 #gkc-exam .flow-summary h3{grid-column:2;margin:2px 0 4px;font-size:17px}
 #gkc-exam .flow-summary p{grid-column:2}
 #gkc-exam .flow-after-grid{grid-template-columns:1fr;gap:15px}
 #gkc-exam .flow-after{padding:22px 18px}
 #gkc-exam .flow-after-grid p{margin:0}
 #gkc-exam .flow-button{width:100%}
 #gkc-exam section{scroll-margin-top:100px;margin-bottom:36px}
 #gkc-exam .flow-detail-heading{gap:12px}
 #gkc-exam .flow-promises{padding:20px 16px}
 #gkc-exam .flow-list{padding-left:34px}
 #gkc-exam .flow-trial li{font-size:14px;gap:8px}
 #gkc-exam .flow-trial small{font-size:12px}
}

/* お申し込みエリアを本文と区別し、入力部分は白く保つ */
#gkc-exam .flow-contact{background:#eaf6e8;border:1px solid #c9dfc5;border-top:5px solid #2e8b57;border-radius:14px;padding:30px}
#gkc-exam .flow-contact>h2{color:#246b43}
#gkc-exam .flow-form{background:#fff;border:1px solid #d7e5d3;border-radius:10px;padding:26px;margin-top:24px}
#gkc-exam .flow-form .wpforms-container{margin:0}
@media(max-width:599px){
 #gkc-exam .flow-contact{padding:24px 14px}
 #gkc-exam .flow-form{padding:20px 12px}
}

/* 詳細ステップにもイラストを添え、開始後のサポートを可視化 */
#gkc-exam .flow-detail-heading{min-height:85px}
#gkc-exam .flow-detail-heading h2{flex:1;min-width:0}
#gkc-exam .flow-detail-illustration{display:block;flex-shrink:0;width:100px;height:85px;object-fit:contain}
#gkc-exam .flow-after-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
#gkc-exam .flow-after-heading h3{margin:0;font-size:16px}
#gkc-exam .flow-after-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#fff;color:#28754c}
#gkc-exam .flow-after-icon svg{width:25px;height:25px}
@media(max-width:599px){
 #gkc-exam .flow-detail-heading{min-height:64px;gap:10px}
 #gkc-exam .flow-detail-illustration{width:66px;height:64px}
 #gkc-exam .flow-detail-heading h2{font-size:19px}
 #gkc-exam .flow-detail-heading .flow-number{width:36px;height:36px;font-size:17px}
}

/* 高校受験集中対策コース */
#gkc-exam .exam-heading{border-left:5px solid #2e8b57;padding-left:15px}
#gkc-exam .exam-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:center}
#gkc-exam .exam-hero img{width:100%;height:auto;border-radius:12px}
#gkc-exam .exam-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}
#gkc-exam .exam-features>div{padding:20px;background:#f1f9ee;border-radius:10px}
#gkc-exam .exam-feature-title{display:flex;gap:10px;align-items:center;border-bottom:2px solid #b7ddbd;padding-bottom:12px;margin-bottom:14px}
#gkc-exam .exam-feature-title h3{margin:0;color:#246b43}
#gkc-exam .exam-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;background:#fff;color:#28754c;border-radius:50%}
#gkc-exam .exam-icon svg{width:24px;height:24px}
#gkc-exam .exam-features p{font-size:14px;margin:0}
#gkc-exam .exam-price{background:#effbee;border:1px solid #c9dfc5;border-radius:12px;text-align:center;padding:24px}
#gkc-exam .exam-price strong{font-size:44px;color:#28754c}
#gkc-exam .exam-price p{font-size:14px;margin:8px 0 0}
#gkc-exam .exam-price-details{margin:22px 0 0}
#gkc-exam .exam-price-details>div{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:17px 0;border-bottom:1px solid #dce7da}
#gkc-exam .exam-price-details dt{font-weight:700;color:#246b43}
#gkc-exam .exam-price-details dd{margin:0}
#gkc-exam .exam-steps{list-style:none;margin:0;padding:0}
#gkc-exam .exam-steps li{list-style:none;display:flex;gap:18px;padding:18px 0;border-bottom:1px solid #dce7da}
#gkc-exam .exam-steps h3{margin:0 0 6px}
#gkc-exam .exam-steps p{margin:0}
#gkc-exam .exam-faq details{border-bottom:1px solid #d4e2d1;padding:17px 0}
#gkc-exam .exam-faq summary{font-weight:700;color:#246b43;cursor:pointer}
#gkc-exam .exam-faq details p{padding:15px 16px;margin:12px 0 0;background:#f3f9ef;border-radius:8px}
@media(max-width:599px){
 #gkc-exam .exam-hero{grid-template-columns:1fr;gap:18px}
 #gkc-exam .exam-hero img{max-width:320px;justify-self:center}
 #gkc-exam .exam-features{grid-template-columns:1fr;gap:12px}
 #gkc-exam .exam-price-details>div{grid-template-columns:1fr;gap:5px}
 #gkc-exam .exam-price strong{font-size:38px}
 #gkc-exam .exam-steps li{gap:12px}
}

/* flowと同じイラストで、開始までの４ステップを案内 */
#gkc-exam .exam-steps{display:grid;gap:14px;margin-bottom:22px}
#gkc-exam .exam-steps li{display:grid;grid-template-columns:42px 80px minmax(0,1fr);gap:18px;align-items:center;padding:22px;background:#f1f9ee;border:0;border-radius:10px}
#gkc-exam .exam-steps .flow-number{width:42px;height:42px;font-size:18px}
#gkc-exam .exam-step-image{display:block;width:80px;height:76px;object-fit:contain}
#gkc-exam .exam-step-copy{min-width:0}
#gkc-exam .exam-step-copy h3{color:#246b43;margin:0 0 9px;padding-bottom:8px;border-bottom:2px solid #c7dfc6}
#gkc-exam .exam-step-copy p{margin:0;font-size:15px}
@media(max-width:599px){
 #gkc-exam .exam-steps li{grid-template-columns:34px minmax(0,1fr) 58px;gap:10px;padding:18px 14px;align-items:start}
 #gkc-exam .exam-steps .flow-number{grid-column:1;grid-row:1;width:34px;height:34px;font-size:16px;margin-top:4px}
 #gkc-exam .exam-step-image{grid-column:3;grid-row:1;width:58px;height:58px}
 #gkc-exam .exam-step-copy{grid-column:2/4;grid-row:1}
 #gkc-exam .exam-step-copy h3{display:flex;align-items:center;min-height:58px;padding:0 64px 10px 0;font-size:17px;line-height:1.7}
 #gkc-exam .exam-step-copy p{margin-left:-44px;padding-top:3px;font-size:15px}
}
