/* Soreppoku detail only — shared layout and other pages are untouched. */
.page-soreppoku .sg-main{font-family:var(--body-font);color:#243751;--sg-dark:#243751;--sg-accent:#d9f4a0;--sg-soft:#f3f2ec}
.page-soreppoku main :is(p,dd,h2,h3,dt,figcaption){line-break:strict;word-break:normal;text-wrap:wrap;overflow-wrap:normal}
.page-soreppoku .sg-phrase{white-space:nowrap;display:inline-block;max-width:100%}
.page-soreppoku .sg-hero{background:#f7f6f1;padding:32px 0 56px}
.page-soreppoku .sg-crumbs{margin-bottom:22px}
.page-soreppoku .sg-cover{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);overflow:hidden;border-radius:20px;background:var(--sg-dark);color:white;box-shadow:0 14px 30px #24375118;align-items:stretch}
.page-soreppoku .sg-cover-copy{padding:clamp(30px,4vw,56px);align-self:center;min-width:0}
.page-soreppoku .sg-catch{font-size:clamp(27px,2.9vw,40px);font-weight:900;line-height:1.45;letter-spacing:-.035em;margin-top:24px}
.page-soreppoku .sg-lead{margin-top:17px;color:#d8e6f0;font-size:16px;line-height:1.95}
.page-soreppoku .sg-cover-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:27px}
.page-soreppoku .sg-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:13px 20px;min-height:50px;border-radius:8px;background:var(--sg-accent);color:#243751;font-weight:800;font-size:15px;text-decoration:none;white-space:nowrap;transition:background .2s}
.page-soreppoku .sg-button:hover{background:#ebf8c8}
.page-soreppoku .sg-guide-link{color:#e2f1f9;font-size:14px;font-weight:700;text-decoration:none;border-bottom:1px solid #aacbd4;padding:5px 0;white-space:nowrap}
.page-soreppoku .sg-proof{font-size:13px;color:#c6dce2;margin-top:24px}
.page-soreppoku .sg-cover-visual{position:relative;min-height:440px;background:#071426;overflow:hidden}
.page-soreppoku .sg-section{padding:clamp(54px,7vw,96px) 0}
.page-soreppoku .sg-heading{margin-bottom:30px}
.page-soreppoku .sg-heading h2,.page-soreppoku .sg-copy h2{font-size:clamp(27px,3vw,38px);font-weight:900;line-height:1.45;letter-spacing:-.025em;margin:0 0 15px}
.page-soreppoku .sg-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.page-soreppoku .sg-step{border:1px solid #dce5ee;border-radius:14px;background:white;overflow:hidden;min-width:0}
.page-soreppoku .sg-step-picture{background:radial-gradient(ellipse at 55% 48%,#28435f,#0a1529 80%);aspect-ratio:1.85;overflow:hidden}
.page-soreppoku .sg-step-copy{padding:22px 23px 25px}
.page-soreppoku .sg-step h3{font-size:18px;line-height:1.55;font-weight:800;display:flex;gap:10px;align-items:baseline}
.page-soreppoku .sg-step-num{display:inline-flex;flex:none;justify-content:center;align-items:center;color:#fff;background:#285e82;border-radius:50%;width:26px;height:26px;font-size:14px;line-height:1}
.page-soreppoku .sg-step p{font-size:15px;color:var(--ink-soft);line-height:1.9;margin-top:10px}
.page-soreppoku .sg-split{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(30px,6vw,76px);align-items:center}
.page-soreppoku .sg-share .sg-heading{margin-bottom:22px}
.page-soreppoku .sg-faq{background:#f7f6f1}
.page-soreppoku .sg-faq-list{border-top:1px solid #d5e1e9}
.page-soreppoku .sg-faq-list>div{padding:22px 0;border-bottom:1px solid #d5e1e9;display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:25px}
.page-soreppoku .sg-faq-list dt{font-weight:800;font-size:16px;line-height:1.75}
.page-soreppoku .sg-faq-list dd{font-size:15px;color:var(--ink-soft);line-height:1.9}
.page-soreppoku .sg-end{background:var(--sg-dark);color:#fff;padding:clamp(42px,6vw,72px) 0}
.page-soreppoku .sg-end-content{display:flex;gap:25px;align-items:center;justify-content:space-between}
.page-soreppoku .sg-end-content h2{font-size:clamp(27px,3vw,38px);line-height:1.4;font-weight:900}
.page-soreppoku .sg-end-content p{color:#d0e2ef;font-size:16px;margin-top:8px}
@media(max-width:1000px){.page-soreppoku .sg-cover-copy{padding:30px}.page-soreppoku .sg-cover-visual{min-height:400px}.page-soreppoku .sg-step-copy{padding:18px}.page-soreppoku .sg-steps{gap:14px}}
@media(max-width:390px){.page-soreppoku .sg-cover-copy{padding-inline:18px}.page-soreppoku .sg-button{font-size:14px;gap:12px;padding-inline:16px}.page-soreppoku .sg-cover-actions{gap:13px 15px}.page-soreppoku .sg-guide-link{font-size:13px}.page-soreppoku .sg-step-copy{padding:18px}.page-soreppoku .sg-catch{font-size:clamp(24px,7.2vw,28px)}}
@media(prefers-reduced-motion:reduce){.page-soreppoku .sg-button{transition:none}}
.page-soreppoku .sg-main{--sg-dark:#243751;--sg-accent:#d9f4a0;--sg-soft:#f3f2ec}
.page-soreppoku .sg-cover-copy h1{display:flex;align-items:center;gap:12px;font-size:clamp(17px,2vw,23px);font-weight:900;line-height:1.5}
.page-soreppoku .sg-cover-copy h1 img{width:46px;height:46px;border-radius:10px;flex:none}
.page-soreppoku .sg-catch{font-size:clamp(32px,3.1vw,44px);line-height:1.4;letter-spacing:-.04em;max-width:100%}
.page-soreppoku .sg-catch .sg-phrase:last-child{color:var(--sg-accent)}
.page-soreppoku .sg-cover-visual{position:relative;min-height:440px;background:#edece4;display:grid;place-items:center;padding:clamp(24px,4vw,58px);overflow:hidden}
.page-soreppoku .sg-demo{width:100%;max-width:470px;border-radius:16px;background:#fffefa;border:1px solid #d9ddd1;overflow:hidden;box-shadow:9px 11px 0 #d9dec9;color:#243751}
.page-soreppoku .sg-demo-head{font-size:13px;font-weight:800;padding:15px 20px;background:#f3f3ec;border-bottom:1px solid #e0e3d8;display:flex;align-items:center;gap:9px}
.page-soreppoku .sg-dot{width:8px;height:8px;background:#7a9b40;border-radius:50%}
.page-soreppoku .sg-demo-body{display:grid;gap:26px;padding:32px 25px 36px;min-height:260px;align-content:center}
.page-soreppoku .sg-chat{display:grid;gap:6px;justify-items:start;min-width:0}
.page-soreppoku .sg-chat-you{justify-items:end}
.page-soreppoku .sg-chat-role{font-size:12px;font-weight:700;color:#5a6875}
.page-soreppoku .sg-chat-bubble{background:#edf0ee;border:1px solid #dce2dc;color:#243751;border-radius:4px 13px 13px 13px;padding:13px 16px;max-width:100%;font-size:16px;font-weight:700;line-height:1.8}
.page-soreppoku .sg-chat-you .sg-chat-bubble{background:#d9f4a0;border-color:#c9e18f;border-radius:13px 4px 13px 13px}
.page-soreppoku .sg-heading>p,.page-soreppoku .sg-copy p,.page-soreppoku .sg-world-after{font-size:16px;line-height:1.95;color:var(--ink-soft);max-width:none}
.page-soreppoku .sg-copy p+p{margin-top:15px}
.page-soreppoku .sg-step-picture{background:#e9e9e2;aspect-ratio:1.85;display:grid;place-items:center;padding:13px;overflow:hidden}
.page-soreppoku .sg-mini-chat,.page-soreppoku .sg-mini-choices,.page-soreppoku .sg-mini-paper{width:min(100%,270px);background:#fffefa;padding:12px 14px;border-radius:10px;border:1px solid #dfe2d6;box-shadow:0 4px 12px #2437510e}
.page-soreppoku .sg-mini-chat .sg-chat-bubble{font-size:13px;padding:9px 11px;margin-top:6px;line-height:1.7}
.page-soreppoku .sg-choice-title{font-size:13px;font-weight:900;margin-bottom:8px}
.page-soreppoku .sg-choice{font-size:12px;font-weight:700;background:#fff;border:1px solid #dce1e3;border-radius:7px;padding:6px 8px;margin-top:5px;line-height:1.4}
.page-soreppoku .sg-choice-selected{background:#e5f5c6;border-color:#9eaf77}
.page-soreppoku .sg-mini-paper{border-radius:3px;padding:9px 12px;max-width:185px;align-self:start}
.page-soreppoku .sg-mini-masthead{font-size:10px;font-weight:900;padding:3px 0;border-block:1px solid #243751;text-align:center}
.page-soreppoku .sg-mini-title{font-size:12px;line-height:1.4;font-weight:900;margin:6px 0}
.page-soreppoku .sg-mini-paper img{width:100%;height:53px;object-fit:cover;display:block}
.page-soreppoku .sg-mini-lines{display:grid;gap:4px;margin-top:7px}.page-soreppoku .sg-mini-lines i{background:#d5d9dc;height:3px}.page-soreppoku .sg-mini-lines i:last-child{width:70%}
.page-soreppoku .sg-world,.page-soreppoku .sg-article{background:var(--sg-soft)}
.page-soreppoku .sg-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.page-soreppoku .sg-topic{min-width:0}.page-soreppoku .sg-topic img{width:100%;aspect-ratio:1.65;object-fit:cover;border-radius:12px;display:block}
.page-soreppoku .sg-topic h3{font-size:18px;line-height:1.6;font-weight:800;margin:12px 0 5px}.page-soreppoku .sg-topic p{font-size:15px;line-height:1.9;color:var(--ink-soft)}
.page-soreppoku .sg-world-after{margin-top:26px}
.page-soreppoku .sg-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,65px);align-items:center}
.page-soreppoku .sg-example-chat{background:#f6f5f1;border:1px solid #e1e3dc;border-radius:14px;padding:24px;display:grid;gap:22px;min-width:0}
.page-soreppoku .sg-example-title{font-size:13px;font-weight:800;border-bottom:1px solid #dce0d5;padding-bottom:10px;color:#5a6875}
.page-soreppoku .sg-example-chat .sg-chat-bubble{font-size:15px;font-weight:500}
.page-soreppoku .sg-article-art{width:min(100%,440px);margin-inline:auto;background:#dedfd6;padding:16px;border-radius:14px}
.page-soreppoku .sg-paper{background:#fffdfa;border:1px solid #e0dfd6;padding:22px 19px;box-shadow:0 5px 18px #24375112;color:#243751;min-width:0}
.page-soreppoku .sg-paper-masthead{font-family:Georgia,serif;font-size:clamp(16px,2vw,24px);font-weight:900;line-height:1.3;text-align:center;padding:12px 0;border-top:3px solid #243751;border-bottom:1px solid #243751;margin-bottom:14px}
.page-soreppoku .sg-paper-category{font-size:11px;font-weight:800;margin-bottom:10px;color:#465b6e}
.page-soreppoku .sg-paper h3{font-size:20px;line-height:1.55;font-weight:900;letter-spacing:-.025em;margin:0 0 12px}
.page-soreppoku .sg-paper p{font-size:13px;line-height:1.85;color:#4b5d70;margin:0 0 14px}
.page-soreppoku .sg-paper img{width:100%;aspect-ratio:1.8;object-fit:cover;margin:0 0 13px;display:block}
.page-soreppoku .sg-paper .sg-paper-text{margin:0;color:#243751}
.page-soreppoku .sg-share .sg-heading{border-left:4px solid #a9bb7d;padding:6px 0 6px clamp(18px,3vw,35px);margin-bottom:0}
.page-soreppoku .sg-phrase{display:inline-block;white-space:nowrap;max-width:100%}
@media(max-width:1000px){.page-soreppoku .sg-cover-copy{padding:30px}.page-soreppoku .sg-cover-visual{min-height:400px;padding:24px}.page-soreppoku .sg-step-copy{padding:18px}.page-soreppoku .sg-steps,.page-soreppoku .sg-topics{gap:14px}.page-soreppoku .sg-step-picture{aspect-ratio:1.55}}
@media(max-width:760px){.page-soreppoku .sg-hero{padding:22px 0 40px}.page-soreppoku .sg-cover{grid-template-columns:minmax(0,1fr)}.page-soreppoku .sg-cover-visual{min-height:0;order:-1;padding:22px}.page-soreppoku .sg-demo-body{min-height:0;padding:19px 16px 23px;gap:15px}.page-soreppoku .sg-demo-head{padding:11px 15px}.page-soreppoku .sg-demo .sg-chat-bubble{font-size:13px;padding:10px 11px}.page-soreppoku .sg-cover-copy{padding:26px 24px 31px}.page-soreppoku .sg-cover-copy h1 img{width:38px;height:38px}.page-soreppoku .sg-catch{margin-top:16px;font-size:clamp(28px,6.8vw,38px)}.page-soreppoku .sg-lead,.page-soreppoku .sg-heading>p,.page-soreppoku .sg-copy p,.page-soreppoku .sg-world-after{font-size:15px}.page-soreppoku .sg-cover-actions{margin-top:20px}.page-soreppoku .sg-proof{margin-top:17px}.page-soreppoku .sg-heading{margin-bottom:24px}.page-soreppoku .sg-steps,.page-soreppoku .sg-split,.page-soreppoku .sg-topics{grid-template-columns:minmax(0,1fr);gap:23px}.page-soreppoku .sg-step-picture{aspect-ratio:1.85}.page-soreppoku .sg-article-art{order:1;width:min(100%,390px)}.page-soreppoku .sg-faq-list>div{grid-template-columns:minmax(0,1fr);gap:7px;padding:19px 0}.page-soreppoku .sg-end-content{align-items:flex-start;flex-direction:column}.page-soreppoku .sg-topic img{aspect-ratio:1.9}.page-soreppoku .sg-example-chat{padding:18px}.page-soreppoku .sg-paper h3{font-size:17px}}
@media(max-width:390px){.page-soreppoku .sg-cover-copy{padding-inline:18px}.page-soreppoku .sg-button{font-size:14px;gap:12px;padding-inline:16px}.page-soreppoku .sg-cover-actions{gap:13px 15px}.page-soreppoku .sg-guide-link{font-size:13px}.page-soreppoku .sg-step-copy{padding:18px}.page-soreppoku .sg-cover-visual{padding:16px}.page-soreppoku .sg-paper{padding:16px 12px}.page-soreppoku .sg-article-art{padding:10px}.page-soreppoku .sg-paper h3{font-size:16px}.page-soreppoku .sg-demo-body{padding:17px 12px 20px}}

.page-soreppoku .sg-step-picture{min-height:210px;height:auto;aspect-ratio:auto}
@media(min-width:761px) and (max-width:900px){.page-soreppoku .sg-steps,.page-soreppoku .sg-topics{grid-template-columns:1fr}.page-soreppoku .sg-step-picture{min-height:210px}.page-soreppoku .sg-cover{grid-template-columns:1fr}.page-soreppoku .sg-cover-visual{order:-1;min-height:0}.page-soreppoku .sg-cover-copy{padding:32px}.page-soreppoku .sg-split{grid-template-columns:1fr}}
@media(max-width:760px){.page-soreppoku .sg-step-picture{min-height:210px}}

/* Keep consecutive dialogue sentences coherent, with phrase-level fallback on small screens. */
.page-soreppoku .sg-example-chat .sg-chat-sentence{display:inline-block;max-width:100%;white-space:normal;vertical-align:baseline}
.page-soreppoku .sg-example-chat .sg-chat-bubble{width:100%;min-width:0;line-break:strict;word-break:normal;overflow-wrap:normal}
