/*
 * Company history v3 — /about/history/ only (loaded by inc/history.php, after the TOP header/footer CSS).
 * Values are the final cascade of docs/company-history-v3/reference/history-v3.html (frozen reference),
 * in the reference's source order. Every selector is under .capsor-history (body) with an hs- prefix, or under
 * main.capsor-history-page for element resets, so nothing leaks to other pages, to the shared header/footer,
 * or to the TOP (whose CSS has its own .history-* classes).
 * Reveal states ([data-reveal] / .is-pending / .is-shown) come from the TOP's phase2 CSS and JS.
 * The chronicle is never collapsed: no rule here hides an era, year or entry.
 */
body.capsor-history {
  --hs-navy:#101e28; --hs-navy2:#192d38; --hs-paper:#f8f8f6; --hs-cream:#eee9e2; --hs-ink:#10202a; --hs-muted:#66747c;
  --hs-line:#dce0df; --hs-orange:#f4512c; --hs-orange2:#ff7653; --hs-site-width:1260px; --hs-gutter:clamp(24px,6.2vw,94px);
  --hs-ease:cubic-bezier(.2,.7,.2,1);
}
@media(max-width:1000px){ body.capsor-history { --hs-gutter:clamp(22px,5vw,55px); } }
@media(max-width:760px){ body.capsor-history { --hs-gutter:24px; } }
@media(max-width:430px){ body.capsor-history { --hs-gutter:20px; } }

.capsor-history-page { background:var(--hs-paper); color:var(--hs-ink); font-family:Inter,"Noto Sans CJK JP","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; font-feature-settings:"palt" 1; }
.capsor-history-page h1, .capsor-history-page h2, .capsor-history-page h3, .capsor-history-page h4, .capsor-history-page p { margin:0; }
.capsor-history-page ol, .capsor-history-page ul { list-style:none; margin:0; padding:0; }
.capsor-history-page a:focus-visible { outline:3px solid var(--hs-orange); outline-offset:4px; }
/*
 * Headings break only at the editor's line breaks: a line never splits mid-phrase while it fits
 * (keep-all), and only wraps when it would otherwise overflow (break-word).
 */
.capsor-history .hs-hero-jp, .capsor-history .hs-intro h2, .capsor-history .hs-section-heading, .capsor-history .hs-origin-card h3,
.capsor-history .hs-history-era-label h3, .capsor-history .hs-next-title, .capsor-history .hs-causal-item strong { word-break:keep-all; overflow-wrap:break-word; }

.capsor-history .hs-wrap{width:min(var(--hs-site-width),calc(100% - 2*var(--hs-gutter)));margin-inline:auto}
.capsor-history .hs-section-label{display:inline-flex;align-items:center;gap:11px;font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.capsor-history .hs-section-label:before{content:"";display:block;width:27px;height:2px;background:var(--hs-orange)}
.capsor-history .hs-orange{color:var(--hs-orange)}
.capsor-history .hs-hero{background:#f6f7f5;min-height:700px;position:relative;overflow:hidden}
.capsor-history .hs-hero:before{content:"";position:absolute;left:-200px;top:20px;width:650px;height:650px;border:1px solid #e0e5e3;border-radius:50%;pointer-events:none}
.capsor-history .hs-hero-layout{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(420px,.93fr);min-height:700px}
.capsor-history .hs-hero-copy{position:relative;z-index:2;padding:clamp(92px,9.4vw,143px) 0 105px}
.capsor-history .hs-hero-copy .hs-section-label{margin-bottom:35px}
.capsor-history .hs-hero-title{margin:0;font-size:clamp(80px,10.25vw,162px);line-height:.84;letter-spacing:-.092em;font-weight:900;transform:translateX(-.02em)}
.capsor-history .hs-hero-title .hs-period{color:var(--hs-orange)}
.capsor-history .hs-hero-jp{font-size:clamp(25px,2.9vw,45px);letter-spacing:-.045em;font-weight:850;line-height:1.45;margin:35px 0 20px}
.capsor-history .hs-hero-desc{font-size:15px;color:#56666f;line-height:2.25;margin:0;max-width:510px}
.capsor-history .hs-hero-years{display:flex;align-items:center;gap:13px;margin-top:55px;font-size:12px;letter-spacing:.06em;font-weight:800}
.capsor-history .hs-hero-years .hs-rule{width:100px;height:1px;background:#98a5ac}
.capsor-history .hs-hero-panel{align-self:stretch;position:relative;display:grid;align-items:center;overflow:hidden;background:var(--hs-navy);margin-left:-12px;clip-path:polygon(15% 0,100% 0,100% 100%,0 100%)}
.capsor-history .hs-hero-panel:before{content:"";position:absolute;inset:20% -35% -50% -25%;border:1px solid #62727c;border-radius:50%;opacity:.35}
.capsor-history .hs-hero-panel:after{content:"";position:absolute;width:450px;height:450px;right:-180px;top:-240px;background:#f4512c;transform:skewX(-18deg)}
.capsor-history .hs-hero-track{position:relative;z-index:1;width:min(100%,520px);padding:60px 37px 50px 17%;margin-inline:auto;display:grid;gap:9px}
.capsor-history .hs-hero-track-title{color:#9fb1b9;font-size:11px;letter-spacing:.18em;font-weight:800;margin-bottom:21px}
.capsor-history .hs-hero-track .hs-track-entry{padding:20px 0;border-top:1px solid #53636b;display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:start}
.capsor-history .hs-track-entry .hs-year{font-size:clamp(32px,3.4vw,52px);font-weight:850;letter-spacing:-.08em;line-height:1;color:#fff}
.capsor-history .hs-track-entry .hs-line{padding:3px 0}
.capsor-history .hs-track-entry .hs-name{color:white;font-size:16px;line-height:1.45;font-weight:800}
.capsor-history .hs-track-entry .hs-latin{display:block;color:#9baeb9;font-size:10px;letter-spacing:.12em;margin-top:7px}
.capsor-history .hs-track-entry.hs-featured .hs-year,.capsor-history .hs-track-entry.hs-featured .hs-name{color:#ff7653}
.capsor-history .hs-hero-corner{position:absolute;right:35px;bottom:30px;color:#758a96;font-size:10px;font-weight:800;letter-spacing:.22em}
.capsor-history .hs-crumb{background:#fff;border-bottom:1px solid var(--hs-line);font-size:11px;color:#77818a;letter-spacing:.05em;padding:16px var(--hs-gutter)}
.capsor-history .hs-intro{padding:110px 0 88px;background:white}
.capsor-history .hs-intro-layout{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:start}
.capsor-history .hs-intro h2{font-size:clamp(33px,4.5vw,65px);font-weight:850;letter-spacing:-.07em;line-height:1.42;margin:28px 0 0}
.capsor-history .hs-intro p{font-size:16px;line-height:2.2;color:#54626a;margin:37px 0 0}
.capsor-history .hs-intro p strong{color:var(--hs-ink)}
.capsor-history .hs-intro-micro{font-size:11px;letter-spacing:.13em;color:#87949a;margin-top:27px}
.capsor-history .hs-origin-section{padding:98px 0 118px;background:var(--hs-paper)}
.capsor-history .hs-section-heading{font-size:clamp(38px,5vw,72px);font-weight:850;line-height:1.25;letter-spacing:-.073em;margin:21px 0 12px}
.capsor-history .hs-section-aside{max-width:680px;font-size:15px;color:#64717a;line-height:2.1;margin:0}
.capsor-history .hs-origins{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:49px}
.capsor-history .hs-origin-card{border:1px solid #dfe4e1;background:white;position:relative;overflow:hidden;padding:clamp(29px,4vw,54px);min-height:420px;display:flex;flex-direction:column;justify-content:space-between}
.capsor-history .hs-origin-card .hs-origin-no{font-size:11px;color:#84929a;font-weight:850;letter-spacing:.16em}
.capsor-history .hs-origin-card .hs-origin-date{font-weight:900;font-size:clamp(64px,7vw,105px);line-height:1;letter-spacing:-.09em;margin:27px 0 16px}
.capsor-history .hs-origin-card h3{margin:0 0 15px;font-size:clamp(24px,3vw,37px);letter-spacing:-.06em;line-height:1.45}
.capsor-history .hs-origin-card p{font-size:14px;line-height:2.05;color:#596770;margin:0;max-width:550px}
.capsor-history .hs-origin-card .hs-origin-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:30px;font-size:11px;color:#52616a;letter-spacing:.11em;font-weight:850}
.capsor-history .hs-origin-card .hs-origin-foot:after{content:"↗";font-size:22px;color:var(--hs-orange)}
.capsor-history .hs-origin-card.hs-system{grid-column:1;grid-row:1}
.capsor-history .hs-origin-card.hs-system:before{content:"";width:260px;height:260px;position:absolute;top:-160px;right:-70px;border:1px solid #dde6e5;box-shadow:0 0 0 25px #f6f9f8;border-radius:50%}
.capsor-history .hs-origin-card.hs-tokko{grid-column:2;grid-row:1 / span 2;background:var(--hs-navy);border-color:var(--hs-navy);color:#fff;min-height:690px;padding:clamp(34px,5vw,68px)}
.capsor-history .hs-origin-card.hs-tokko .hs-origin-no{color:#adbfc9}
.capsor-history .hs-origin-card.hs-tokko .hs-origin-date{font-size:clamp(84px,9vw,148px);color:var(--hs-orange2);margin:36px 0 14px}
.capsor-history .hs-origin-card.hs-tokko h3{font-size:clamp(37px,4.5vw,64px);letter-spacing:-.09em;margin-bottom:19px}
.capsor-history .hs-origin-card.hs-tokko p{font-size:15px;color:#d4dee1}
.capsor-history .hs-tokko-wordmark{font-size:clamp(35px,4vw,57px);font-weight:900;letter-spacing:-.07em;line-height:1.2;color:white;margin-bottom:20px}
.capsor-history .hs-origin-card.hs-tokko .hs-origin-foot{border-top:1px solid #3b4c55;color:#c3d1d6}
.capsor-history .hs-origin-card.hs-md{grid-column:1;grid-row:2;min-height:265px;padding:35px 48px;background:#efece6}
.capsor-history .hs-origin-card.hs-md .hs-origin-date{font-size:64px;margin:12px 0 3px}
.capsor-history .hs-origin-card.hs-md h3{font-size:25px}
.capsor-history .hs-origin-card.hs-md p{font-size:13px;line-height:1.8}
.capsor-history .hs-origin-card.hs-md .hs-origin-foot{padding-top:12px}
.capsor-history .hs-chronicle{padding:105px 0 116px;background:#fff}
.capsor-history .hs-chronicle-intro{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:end}
.capsor-history .hs-chronicle-intro p{margin:0 0 6px;color:#64747c;line-height:1.95;font-size:14px}
.capsor-history .hs-next{padding:106px 0;background:#ece9e3}
.capsor-history .hs-next-title{font-size:clamp(36px,5vw,72px);letter-spacing:-.08em;font-weight:850;line-height:1.35;margin:26px 0 15px}
.capsor-history .hs-next p{color:#5c696e;font-size:15px;line-height:2.1;margin:0 0 35px}
.capsor-history .hs-next-links{display:flex;gap:14px;flex-wrap:wrap}
.capsor-history .hs-next-links a{display:flex;justify-content:space-between;align-items:center;gap:35px;border:1px solid #bac3c2;padding:19px 24px;min-width:200px;font-size:12px;font-weight:800;transition:background .2s}
.capsor-history .hs-next-links a:first-child{background:var(--hs-navy);color:#fff;border-color:var(--hs-navy)}
.capsor-history .hs-next-links a:hover{background:#ffe4d9;color:var(--hs-navy);border-color:var(--hs-orange)}
@media(max-width:1000px){
  .capsor-history .hs-hero-layout{grid-template-columns:1fr .94fr}
  .capsor-history .hs-hero-title{font-size:clamp(70px,10.5vw,112px)}
  .capsor-history .hs-hero-panel{margin-left:-3px}
  .capsor-history .hs-hero-track{padding-left:17%;padding-right:20px}
  .capsor-history .hs-hero-track .hs-track-entry{grid-template-columns:110px 1fr}
  .capsor-history .hs-origin-card.hs-tokko{min-height:650px}
  .capsor-history .hs-origins{gap:15px}
  .capsor-history .hs-origin-card.hs-md{padding:30px}
}
@media(max-width:760px){
  .capsor-history .hs-hero{min-height:auto}
  .capsor-history .hs-hero-layout{display:flex;flex-direction:column}
  .capsor-history .hs-hero-copy{padding:72px 0 70px}
  .capsor-history .hs-hero-title{font-size:clamp(68px,15vw,118px)}
  .capsor-history .hs-hero-jp{font-size:clamp(26px,6.5vw,40px);margin-top:28px}
  .capsor-history .hs-hero-desc{font-size:13px;line-height:2.05}
  .capsor-history .hs-hero-years{margin-top:30px}
  .capsor-history .hs-hero-panel{clip-path:none;margin:0 calc(-1*var(--hs-gutter));min-height:275px}
  .capsor-history .hs-hero-panel:after{width:250px;height:250px;right:-170px;top:-195px;opacity:.75}
  .capsor-history .hs-hero-track{padding:30px var(--hs-gutter) 45px}
  .capsor-history .hs-hero-track-title{margin:0 0 10px}
  .capsor-history .hs-hero-track .hs-track-entry{padding:11px 0;grid-template-columns:105px 1fr}
  .capsor-history .hs-track-entry .hs-year{font-size:32px}
  .capsor-history .hs-track-entry .hs-name{font-size:13px}
  .capsor-history .hs-track-entry .hs-latin{margin-top:3px;font-size:9px}
  .capsor-history .hs-hero-corner{right:25px;bottom:13px}
  .capsor-history .hs-intro{padding:75px 0}
  .capsor-history .hs-intro-layout,.capsor-history .hs-chronicle-intro{grid-template-columns:1fr;gap:15px}
  .capsor-history .hs-intro h2{font-size:clamp(29px,6.5vw,48px)}
  .capsor-history .hs-intro p{margin:15px 0 0;font-size:14px}
  .capsor-history .hs-origin-section,.capsor-history .hs-chronicle{padding-top:75px;padding-bottom:80px}
  .capsor-history .hs-origins{grid-template-columns:1fr;gap:13px;margin-top:37px}
  .capsor-history .hs-origin-card{min-height:auto;padding:35px}
  .capsor-history .hs-origin-card.hs-system{grid-column:auto;grid-row:auto;min-height:335px}
  .capsor-history .hs-origin-card.hs-tokko{grid-column:auto;grid-row:auto;min-height:520px;padding:40px 35px}
  .capsor-history .hs-origin-card.hs-md{grid-column:auto;grid-row:auto;padding:33px 35px;min-height:285px}
  .capsor-history .hs-origin-card.hs-tokko .hs-origin-date{font-size:88px}
  .capsor-history .hs-origin-card.hs-tokko h3{font-size:39px}
  .capsor-history .hs-origin-card .hs-origin-date{font-size:77px}
  .capsor-history .hs-origin-card .hs-origin-foot{padding-top:16px}
  .capsor-history .hs-section-heading{font-size:clamp(35px,8.5vw,55px)}
}
@media(max-width:430px){
  .capsor-history .hs-hero-title{font-size:clamp(65px,14.9vw,83px)}
  .capsor-history .hs-hero-copy{padding:69px 0 59px}
  .capsor-history .hs-hero-jp{font-size:29px}
  .capsor-history .hs-hero-desc br{display:none}
  .capsor-history .hs-intro h2{font-size:34px}
  .capsor-history .hs-origin-card{padding:27px}
  .capsor-history .hs-origin-card.hs-tokko{padding:31px 27px}
  .capsor-history .hs-origin-card.hs-tokko h3{font-size:34px}
  .capsor-history .hs-origin-card.hs-tokko .hs-origin-date{font-size:86px}
  .capsor-history .hs-origin-card.hs-md{padding:29px}
  .capsor-history .hs-origin-card.hs-md .hs-origin-date{font-size:60px}
  .capsor-history .hs-section-heading{font-size:36px}
  .capsor-history .hs-next-links a{width:100%}
}
@media print{
  .capsor-history .hs-hero{min-height:auto}
  .capsor-history .hs-hero-panel{clip-path:none}
}
.capsor-history .hs-origin-section{padding-bottom:115px}
.capsor-history .hs-origin-section .hs-section-aside{max-width:800px}
.capsor-history .hs-origin-card.hs-system{min-height:475px}
.capsor-history .hs-origin-card.hs-md{min-height:342px}
.capsor-history .hs-origin-card.hs-tokko{min-height:835px}
.capsor-history .hs-story-steps{margin-top:25px;display:grid;gap:0;border-top:1px solid #d8dddd}
.capsor-history .hs-story-steps>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:15px;padding:13px 0;border-bottom:1px solid #e1e5e4;align-items:start}
.capsor-history .hs-story-steps b{font-size:13px;font-weight:900;letter-spacing:-.025em;white-space:nowrap}
.capsor-history .hs-story-steps span{font-size:12px;color:#64717a;line-height:1.7}
.capsor-history .hs-story-steps.hs-prominent{border-color:#445661;margin-top:30px}
.capsor-history .hs-story-steps.hs-prominent>div{grid-template-columns:90px minmax(0,1fr);padding:16px 0;border-color:#445661}
.capsor-history .hs-story-steps.hs-prominent b{font-size:24px;line-height:1;color:var(--hs-orange2)}
.capsor-history .hs-story-steps.hs-prominent span{font-size:13px;color:#c5d2d8;line-height:1.8}
.capsor-history .hs-story-steps.hs-prominent .hs-focus{background:rgba(244,81,44,.12);margin-inline:-14px;padding-inline:14px}
.capsor-history .hs-story-steps.hs-prominent .hs-focus span{color:#fff}
.capsor-history .hs-story-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px}
.capsor-history .hs-story-chips li{background:#fff;font-size:11px;color:#58666b;padding:9px 10px;line-height:1.6}
.capsor-history .hs-story-chips b{color:#a84c35;font-size:11px;margin-right:3px}
.capsor-history .hs-chronicle{padding-top:125px}
.capsor-history .hs-history-eras{margin-top:54px;border-top:1px solid #cfd6d5}
.capsor-history .hs-history-era{display:grid;grid-template-columns:minmax(220px,.33fr) minmax(0,.67fr);gap:7%;padding:44px 0;border-bottom:1px solid #dbe0df}
.capsor-history .hs-history-era-label{padding:18px 15px 20px 0;align-self:start;position:sticky;top:24px}
.capsor-history .hs-history-era-label>span{font-size:clamp(29px,3vw,43px);font-weight:900;letter-spacing:-.075em;line-height:1;color:var(--hs-orange)}
.capsor-history .hs-history-era-label h3{font-size:clamp(20px,2.35vw,29px);line-height:1.5;margin:20px 0 8px;letter-spacing:-.045em}
.capsor-history .hs-history-era-label small{font-size:10px;color:#8b989e;letter-spacing:.16em;font-weight:800}
.capsor-history .hs-history-rows{position:relative}
.capsor-history .hs-history-row{display:grid;grid-template-columns:82px minmax(0,1fr);gap:18px;padding:20px 0;border-top:1px solid #e4e8e7;align-items:start}
.capsor-history .hs-history-row:first-child{border-top:none;padding-top:0}
.capsor-history .hs-history-year{font-size:26px;font-weight:900;letter-spacing:-.075em;color:#2b414e;line-height:1.4}
.capsor-history .hs-history-row.hs-is-key .hs-history-year{color:var(--hs-orange)}
.capsor-history .hs-history-row ul{padding:0;margin:0;list-style:none;display:grid;gap:9px}
.capsor-history .hs-history-row li{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;line-height:1.7;font-size:13px;color:#42565e}
.capsor-history .hs-history-month{font-size:11px;white-space:nowrap;min-width:59px;font-weight:850;color:#78868c}
.capsor-history .hs-history-copy{flex:1 1 220px;min-width:0}
@media(max-width:1000px){
  .capsor-history .hs-origin-card.hs-tokko{min-height:830px}
  .capsor-history .hs-origin-card.hs-md{padding:33px}
  .capsor-history .hs-story-steps.hs-compact>div{grid-template-columns:75px 1fr}
}
@media(max-width:760px){
  .capsor-history .hs-origin-card.hs-system{min-height:0}
  .capsor-history .hs-origin-card.hs-md{min-height:0}
  .capsor-history .hs-origin-card.hs-tokko{min-height:0}
  .capsor-history .hs-origin-card.hs-md{padding:29px}
  .capsor-history .hs-story-steps.hs-prominent{margin-top:28px}
  .capsor-history .hs-chronicle{padding-top:80px}
  .capsor-history .hs-history-eras{margin-top:30px}
  .capsor-history .hs-history-era{grid-template-columns:1fr;gap:18px;padding:30px 0}
  .capsor-history .hs-history-era-label{position:static;padding:0}
  .capsor-history .hs-history-era-label>span{font-size:31px}
  .capsor-history .hs-history-era-label h3{margin:8px 0 0;font-size:21px}
  .capsor-history .hs-history-era-label small{font-size:9px}
  .capsor-history .hs-history-row{grid-template-columns:70px minmax(0,1fr);gap:15px;padding:15px 0}
  .capsor-history .hs-history-year{font-size:23px}
  .capsor-history .hs-history-row li{font-size:12px}
  .capsor-history .hs-history-month{min-width:52px;font-size:10px}
}
@media(max-width:390px){
  .capsor-history .hs-story-steps>div{grid-template-columns:66px minmax(0,1fr);gap:9px}
  .capsor-history .hs-story-steps.hs-prominent>div{grid-template-columns:70px minmax(0,1fr);gap:11px}
  .capsor-history .hs-story-steps.hs-prominent b{font-size:21px}
  .capsor-history .hs-history-row{grid-template-columns:65px minmax(0,1fr);gap:12px}
  .capsor-history .hs-history-year{font-size:21px}
  .capsor-history .hs-history-month{min-width:42px}
  .capsor-history .hs-history-copy{flex-basis:180px}
}
@media print{
  .capsor-history .hs-history-era-label{position:static}
  .capsor-history .hs-history-eras{break-inside:auto}
}
.capsor-history .hs-intro{padding-bottom:96px}
.capsor-history .hs-causal-wrap{margin-top:64px}
.capsor-history .hs-causal-top{display:flex;gap:15px;align-items:baseline;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid #dfe4e1}
.capsor-history .hs-causal-top span{color:#a65033;font-weight:850;font-size:10px;letter-spacing:.18em}
.capsor-history .hs-causal-top p{margin:0;font-size:13px;color:#69747b;line-height:1.7}
.capsor-history .hs-causal-grid{margin-top:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.capsor-history .hs-causal-item{min-height:170px;background:#f1f4f3;padding:23px 18px;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}
.capsor-history .hs-causal-item:not(:last-child):after{content:'→';position:absolute;right:-17px;top:68px;font-size:18px;color:#e6603a;z-index:2;font-weight:800}
.capsor-history .hs-causal-item b{font-weight:850;font-size:11px;color:#e05b37}
.capsor-history .hs-causal-item strong{font-size:16px;line-height:1.5;color:#182f3b}
.capsor-history .hs-causal-item small{font-size:11px;letter-spacing:.07em;color:#72828a;font-weight:750}
.capsor-history .hs-causal-item.hs-causal-accent{background:#1c3440}
.capsor-history .hs-causal-item.hs-causal-accent strong{color:#fff}
.capsor-history .hs-causal-item.hs-causal-accent small{color:#b5c4cc}
.capsor-history .hs-causal-return{margin:17px 0 0!important;font-size:13px!important;color:#af563c!important;font-weight:800;text-align:right;letter-spacing:.01em}
.capsor-history .hs-origin-card.hs-system{min-height:570px}
.capsor-history .hs-origin-card.hs-tokko{min-height:1030px}
.capsor-history .hs-origin-card.hs-md{min-height:438px}
.capsor-history .hs-origin-card.hs-md p{font-size:13px;line-height:1.95}
.capsor-history .hs-origin-card.hs-tokko>div>p{line-height:2.05}
.capsor-history .hs-origin-card.hs-tokko h3{font-size:clamp(37px,3.7vw,52px)}
@media(max-width:760px){
  .capsor-history .hs-origin-card.hs-tokko h3{font-size:clamp(30px,8vw,39px)}
}
@media(max-width:1000px){
  .capsor-history .hs-causal-grid{gap:10px}
  .capsor-history .hs-causal-item{padding:19px 13px;min-height:164px}
  .capsor-history .hs-causal-item strong{font-size:14px}
  .capsor-history .hs-origin-card.hs-system{min-height:660px}
  .capsor-history .hs-origin-card.hs-md{min-height:490px}
  .capsor-history .hs-origin-card.hs-tokko{min-height:1180px}
}
@media(max-width:760px){
  .capsor-history .hs-causal-wrap{margin-top:39px}
  .capsor-history .hs-causal-top{align-items:start;flex-direction:column;gap:5px}
  .capsor-history .hs-causal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .capsor-history .hs-causal-item{min-height:145px;padding:18px 15px}
  .capsor-history .hs-causal-item:nth-child(2):after{content:'↙';right:auto;left:8px;top:auto;bottom:-21px;transform:translateY(3px)}
  .capsor-history .hs-causal-item:nth-child(1):after,.capsor-history .hs-causal-item:nth-child(3):after{top:59px;right:-17px}
  .capsor-history .hs-causal-item:nth-child(2){grid-row:1;grid-column:2}
  .capsor-history .hs-causal-item:nth-child(3){grid-row:2;grid-column:1}
  .capsor-history .hs-causal-item:nth-child(4){grid-row:2;grid-column:2}
  .capsor-history .hs-causal-return{text-align:left!important;line-height:1.8!important}
  .capsor-history .hs-origin-card.hs-system,.capsor-history .hs-origin-card.hs-md,.capsor-history .hs-origin-card.hs-tokko{min-height:0}
}
@media(max-width:370px){
  .capsor-history .hs-causal-item strong{font-size:13px}
  .capsor-history .hs-causal-item{min-height:145px}
  .capsor-history .hs-origin-card.hs-system p,.capsor-history .hs-origin-card.hs-md p,.capsor-history .hs-origin-card.hs-tokko>div>p{font-size:12px}
}

/* WordPress adaptations (markup is semantic where the reference used plain divs/spans) */
.capsor-history .hs-crumb .hs-crumb-current { color:var(--hs-ink); }
.capsor-history .hs-crumb a:hover { color:var(--hs-orange); }
.capsor-history .hs-origin-card .hs-origin-foot:hover { color:var(--hs-orange); }
.capsor-history .hs-origin-card.hs-tokko .hs-origin-foot:hover { color:#fff; }
.capsor-history .hs-history-copy a { text-decoration:underline; text-decoration-color:#b9c3c6; text-underline-offset:3px; }
.capsor-history .hs-history-copy a:hover { color:var(--hs-orange); text-decoration-color:currentColor; }
.capsor-history .hs-chronicle-fallback { margin-top:54px; border-top:1px solid #cfd6d5; padding-top:44px; font-size:14px; line-height:1.9; color:#42565e; }
.capsor-history .hs-chronicle-fallback a { text-decoration:underline; }
