/* Legacy Japanese editorial content, scoped to its single-article template. */
.sasal-single.sasal-jp-article{width:calc(100% - 48px);max-width:860px;margin-inline:auto;padding-block:48px 72px}
.sasal-jp-article,.sasal-jp-article *{box-sizing:border-box}
.sasal-jp-article .sasal-entry,.sasal-jp-article .sasal-entry__content{min-width:0}
.sasal-jp-article .sasal-entry__title{font-size:clamp(26px,3.1vw,38px);line-height:1.55;letter-spacing:-.02em;overflow-wrap:anywhere}
.sasal-jp-article .sasal-entry__image{margin:28px 0 36px}
.sasal-jp-article .sasal-entry__image img{display:block;width:100%;max-height:480px;object-fit:cover;border-radius:8px}
.sasal-jp-article .sasal-entry__content{font-size:16px;line-height:2;overflow-wrap:anywhere}
.sasal-jp-article .sasal-entry__content p{margin:0 0 1.6em}
.sasal-jp-article .sasal-entry__content h2{margin:48px 0 20px;font-size:26px;line-height:1.65;scroll-margin-top:110px}
.sasal-jp-article .sasal-entry__content h3{margin:32px 0 16px;font-size:21px;line-height:1.65;scroll-margin-top:110px}
.sasal-jp-article .sasal-entry__content img,.sasal-jp-article .sasal-entry__content video{max-width:100%;height:auto}
.sasal-jp-article .sasal-entry__content pre{white-space:pre-wrap;overflow-wrap:anywhere}
.sasal-jp-article:lang(en) .sasal-entry__title{line-height:1.3;overflow-wrap:break-word}
.sasal-jp-article:lang(en) .sasal-entry__content{line-height:1.85;overflow-wrap:break-word}
.sasal-editorial-languages{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end;margin-bottom:24px}
.sasal-editorial-languages a{padding:8px 14px;border:1px solid var(--paper-200,#e2e6e1);border-radius:6px;font-size:13px;text-decoration:none;line-height:1.5}
.sasal-editorial-languages a[aria-current]{background:var(--green-800,#0f4a3c);border-color:var(--green-800,#0f4a3c);color:#fff}
.sasal-editorial-languages a:focus-visible{outline:2px solid var(--green-700,#1f6f5c);outline-offset:3px}
.sasal-jp-article__contents{margin:0 0 32px;padding:16px 20px;background:var(--paper-100,#f5f7f5);border:1px solid var(--paper-200,#e2e6e1);border-radius:8px}
.sasal-jp-article__contents summary{cursor:pointer;font-size:14px;font-weight:600}
.sasal-jp-article__contents ol{margin:16px 0 0;padding-left:22px}
.sasal-jp-article__contents li{margin:8px 0;font-size:14px;line-height:1.75}
.sasal-jp-article__table{max-width:100%;overflow-x:auto;margin-block:24px;overscroll-behavior-inline:contain}
.sasal-jp-article__table table{min-width:620px;width:100%;margin:0;font-size:14px;line-height:1.8}
.sasal-jp-article__table td,.sasal-jp-article__table th{white-space:normal}
.sasal-jp-article__table:focus-visible,.sasal-jp-article__contents summary:focus-visible,.sasal-jp-article__contents a:focus-visible{outline:2px solid var(--green-700,#1f6f5c);outline-offset:4px}
@media(max-width:600px){.sasal-single.sasal-jp-article{width:calc(100% - 40px);padding-block:28px 48px}.sasal-jp-article .sasal-entry__content{font-size:15px;line-height:1.95}.sasal-jp-article .sasal-entry__content h2{font-size:22px;margin-top:36px}.sasal-jp-article .sasal-entry__content h3{font-size:19px}.sasal-jp-article .sasal-entry__image{margin-block:24px}.sasal-jp-article__contents{padding:14px 16px}}
@media print{.sasal-jp-article__contents{display:none}.sasal-jp-article__table{overflow:visible}.sasal-jp-article__table table{min-width:0}}
/* Original photography stays uncropped; diagrams explain the article's own argument. */
.sasal-jp-article .sasal-editorial-photo{margin:36px 0;max-width:100%}
.sasal-jp-article .sasal-editorial-photo img{display:block;width:100%;height:auto;max-height:none;border-radius:8px;object-fit:contain}
.sasal-jp-article .sasal-editorial-photo--portrait{max-width:420px;margin-inline:auto}
.sasal-jp-article .sasal-editorial-photo figcaption{margin-top:10px;text-align:center;font-size:13px}
.sasal-jp-article .sasal-editorial-diagram{--diagram-ink:#0f4a3c;--diagram-line:#9dbdad;margin:40px 0;padding:28px;background:#edf4f0;border:1px solid #d9e4de;border-radius:10px;color:#223d4b}
.sasal-jp-article .sasal-editorial-diagram>figcaption{margin:0 0 24px;font-size:clamp(19px,2.2vw,23px);font-weight:650;line-height:1.5;text-align:left;color:var(--diagram-ink)}
.sasal-jp-article .sasal-editorial-diagram ol,.sasal-jp-article .sasal-editorial-diagram ul{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:22px;list-style:none;margin:0;padding:0}
.sasal-jp-article .sasal-editorial-diagram li{position:relative;min-width:0;margin:0;padding:16px 12px;background:#fff;border:1px solid #d9e4de;border-radius:5px;font-size:14px;line-height:1.6;overflow-wrap:break-word}
.sasal-jp-article .sasal-editorial-diagram li strong{display:block;color:var(--diagram-ink);font-weight:650}
.sasal-jp-article .sasal-editorial-diagram li span{display:block;margin-top:8px;font-size:12px;line-height:1.65}
.sasal-jp-article .sasal-editorial-diagram ol li+li::before{content:'→';position:absolute;left:-22px;top:calc(50% - 13px);width:21px;text-align:center;color:var(--diagram-ink);font-size:17px}
.sasal-jp-article .sasal-editorial-diagram__row+.sasal-editorial-diagram__row{margin-top:24px;padding-top:24px;border-top:1px solid #d9e4de}
.sasal-jp-article .sasal-editorial-diagram__row>p{margin:0 0 12px;font-size:13px;font-weight:650}
.sasal-jp-article .sasal-editorial-diagram .sasal-editorial-diagram__note{margin:22px 0 0;font-size:12px;line-height:1.75;color:#52665d}
.sasal-jp-article .sasal-editorial-diagram .sasal-editorial-diagram__center{position:relative;max-width:70%;margin:0 auto 40px;padding:16px 20px;background:var(--diagram-ink);border-radius:5px;color:#fff;text-align:center;font-size:16px;font-weight:600;line-height:1.6}
.sasal-editorial-diagram__center::after{content:'';position:absolute;left:50%;bottom:-21px;height:21px;border-left:1px solid var(--diagram-line)}
.sasal-jp-article .sasal-editorial-diagram--hub ul{position:relative}
.sasal-editorial-diagram--hub ul::before{content:'';position:absolute;top:-20px;left:12%;right:12%;border-top:1px solid var(--diagram-line)}
.sasal-editorial-diagram--hub li::before{content:'';position:absolute;left:50%;top:-20px;height:20px;border-left:1px solid var(--diagram-line)}
@media(max-width:700px){
 .sasal-jp-article .sasal-editorial-diagram{padding:22px 18px}
 .sasal-jp-article .sasal-editorial-diagram ol,.sasal-jp-article .sasal-editorial-diagram ul{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:1fr;gap:22px}
 .sasal-jp-article .sasal-editorial-diagram li{padding:15px;font-size:15px}
 .sasal-jp-article .sasal-editorial-diagram ol li+li::before{content:'↓';left:calc(50% - 10px);top:-23px;height:22px}
 .sasal-jp-article .sasal-editorial-diagram .sasal-editorial-diagram__center{max-width:none;margin:0 0 24px}
 .sasal-editorial-diagram__center::after{left:0;bottom:-25px;height:25px}
 .sasal-jp-article .sasal-editorial-diagram--hub ul{margin-left:0;padding-left:20px;border-left:1px solid var(--diagram-line)}
 .sasal-editorial-diagram--hub ul::before{display:none}
 .sasal-editorial-diagram--hub li::before{left:-21px;top:50%;width:20px;height:0;border-left:0;border-top:1px solid var(--diagram-line)}
}
