/* お支払いのご案内（/payment-failed/）専用。承認カンプ compass_payment_failed_comp_v1.html を
   本番の汎用固定ページテンプレートへ合わせて整理したもの。
   body.compass-payment-2026 の配下だけに効かせ、汎用の h2・h3・button には触れない。
   旧マークアップ用の .compass-guidance が main.css に残っているため、
   セレクタは body クラスを前置きして詳細度で確実に上回らせる。 */

.compass-payment-2026{
 --cp-green:#1e3a32;--cp-paper:#f7f5ef;--cp-ink:#253b33;
 --cp-muted:#617068;--cp-line:#dce1d9;
}

body.compass-payment-2026 .content-area__inner--narrow{max-width:1120px}
body.compass-payment-2026 .page-entry__content{margin-top:24px}

body.compass-payment-2026 .compass-payment{color:var(--cp-ink)}
body.compass-payment-2026 .compass-payment__lead{font-size:15px;color:var(--cp-muted);margin:0 0 40px;max-width:780px}

/* 状況を選ぶ */
body.compass-payment-2026 .compass-payment__chooser{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:20px}
body.compass-payment-2026 .compass-payment__choice{display:block;text-decoration:none;padding:28px;background:#fff;border:1px solid var(--cp-line)}
body.compass-payment-2026 .compass-payment__choice:hover{border-color:var(--cp-green);background:#eef2e9}
body.compass-payment-2026 .compass-payment__choice small{display:block;font-size:12px;color:var(--cp-muted);margin-bottom:10px}
body.compass-payment-2026 .compass-payment__choice strong{display:block;font-size:19px;font-weight:500}
body.compass-payment-2026 .compass-payment__choice span{display:block;font-size:13px;margin-top:12px;color:var(--cp-muted)}
body.compass-payment-2026 .compass-payment__paid-entry{display:block;padding:20px 24px;border:1px solid #bacbbb;background:#e9eee5;font-size:15px;text-underline-offset:5px}
body.compass-payment-2026 .compass-payment__paid-entry:hover{background:#dfe8d9}
body.compass-payment-2026 .compass-payment__brief-note{font-size:13px;color:var(--cp-muted);margin:24px 0 72px;line-height:1.9}

/* 各案内 */
body.compass-payment-2026 .compass-payment__guidance{margin-bottom:96px;scroll-margin-top:24px}
body.compass-payment-2026 .compass-payment__guidance:focus{outline:none}
body.compass-payment-2026 .compass-payment__head{display:flex;gap:24px;align-items:baseline;margin-bottom:32px}
body.compass-payment-2026 .compass-payment__number{font-size:30px;color:#8a683b;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums}
body.compass-payment-2026 .compass-payment__head h3{font-size:25px;font-weight:500;line-height:1.6;margin:0}
body.compass-payment-2026 .compass-payment__panel{background:#fff;border:1px solid var(--cp-line);padding:40px}
body.compass-payment-2026 .compass-payment__actions{list-style:none;margin:0;padding:0}
body.compass-payment-2026 .compass-payment__actions li{display:grid;grid-template-columns:120px 1fr;gap:32px;padding:28px 0;border-bottom:1px solid var(--cp-line)}
body.compass-payment-2026 .compass-payment__actions li:first-child{padding-top:0}
body.compass-payment-2026 .compass-payment__actions li:last-child{border:0;padding-bottom:0}
body.compass-payment-2026 .compass-payment__step-label{font-size:12px;color:var(--cp-muted);letter-spacing:.04em}
body.compass-payment-2026 .compass-payment__actions h4{font-size:17px;line-height:1.8;font-weight:500;margin:0 0 12px}
body.compass-payment-2026 .compass-payment__actions p{font-size:14px;color:var(--cp-muted);line-height:2;margin:0}
body.compass-payment-2026 .compass-payment__actions a{display:inline-block;margin-top:14px;font-size:14px;text-underline-offset:5px;padding:6px 0}
body.compass-payment-2026 .compass-payment__actions .compass-payment__privacy-note{font-size:12px;margin-top:12px}
body.compass-payment-2026 .compass-payment__small-note{padding:22px 28px;background:#e9eee5;font-size:14px;margin-top:24px}

/* 支払い済みの方の窓口 */
body.compass-payment-2026 .compass-payment__contact{padding:40px;background:var(--cp-green);color:var(--cp-paper);display:grid;grid-template-columns:1fr 270px;gap:40px;align-items:center;scroll-margin-top:24px;margin-bottom:96px}
body.compass-payment-2026 .compass-payment__contact:focus{outline:none}
body.compass-payment-2026 .compass-payment__contact h3{font-size:23px;font-weight:500;margin:0 0 16px}
body.compass-payment-2026 .compass-payment__contact p{font-size:14px;margin:0}
body.compass-payment-2026 .compass-payment__contact .compass-payment__privacy-note{font-size:13px;color:#d1ddcf;margin-top:16px}
body.compass-payment-2026 .compass-payment__button{display:flex;align-items:center;justify-content:center;padding:16px 20px;min-height:52px;background:var(--cp-paper);color:var(--cp-green);border:1px solid var(--cp-paper);text-decoration:none;font-size:14px;font-weight:600;border-radius:0}
body.compass-payment-2026 .compass-payment__button:hover{background:#e6ecdf}
body.compass-payment-2026 .compass-payment__contact-caption{font-size:12px;margin-top:14px;color:#d1ddcf}

/* よくあるご質問 */
body.compass-payment-2026 .compass-payment__faq{max-width:850px;margin:0 auto 96px}
body.compass-payment-2026 .compass-payment__faq h3{font-size:25px;font-weight:500;margin:0 0 32px}
body.compass-payment-2026 .compass-payment__faq details{padding:24px 0;border-top:1px solid var(--cp-line)}
body.compass-payment-2026 .compass-payment__faq details:last-child{border-bottom:1px solid var(--cp-line)}
body.compass-payment-2026 .compass-payment__faq summary{cursor:pointer;font-size:15px}
body.compass-payment-2026 .compass-payment__faq p{font-size:14px;color:var(--cp-muted);margin-top:18px}
body.compass-payment-2026 .compass-payment__faq a{text-underline-offset:4px}

@media(max-width:700px){
 body.compass-payment-2026 .compass-payment__lead{font-size:14px;margin-bottom:24px}
 body.compass-payment-2026 .compass-payment__chooser{grid-template-columns:1fr;gap:16px;margin-bottom:16px}
 body.compass-payment-2026 .compass-payment__choice{padding:24px}
 body.compass-payment-2026 .compass-payment__choice strong{font-size:18px}
 body.compass-payment-2026 .compass-payment__brief-note{margin-bottom:56px}
 body.compass-payment-2026 .compass-payment__guidance{margin-bottom:72px}
 body.compass-payment-2026 .compass-payment__head{gap:16px;margin-bottom:24px}
 body.compass-payment-2026 .compass-payment__number{font-size:28px}
 body.compass-payment-2026 .compass-payment__head h3{font-size:22px}
 body.compass-payment-2026 .compass-payment__panel{padding:28px 22px}
 body.compass-payment-2026 .compass-payment__actions li{grid-template-columns:1fr;gap:10px;padding:24px 0}
 body.compass-payment-2026 .compass-payment__contact{grid-template-columns:1fr;padding:28px 24px;gap:24px;margin-bottom:72px}
 body.compass-payment-2026 .compass-payment__contact h3{font-size:21px}
 body.compass-payment-2026 .compass-payment__faq{margin-bottom:72px}
 body.compass-payment-2026 .compass-payment__faq h3{font-size:22px}
}

@media print{
 body.compass-payment-2026 .compass-payment__panel,
 body.compass-payment-2026 .compass-payment__contact{break-inside:avoid}
}
