
:root{--navy:#071f3f;--blue:#e7f4ff;--orange:#f47a2a;--line:#bdd2e5}
.trial-page .detail-article{max-width:1040px;margin:auto}
.trial-page .breadcrumb{margin-bottom:18px}
.trial-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:24px;align-items:center;background:#f1f8ff;padding:28px;border:1px solid var(--line);border-radius:8px}
.trial-hero>*{min-width:0}.trial-hero h1{font-size:clamp(26px,2.8vw,36px);line-height:1.35;margin:12px 0 18px;color:var(--navy);overflow-wrap:anywhere;letter-spacing:0}
.trial-hero img{display:block;width:100%;border-radius:8px}.trial-page p,.trial-page li,.trial-page a,.trial-page span{font-size:18px;line-height:1.8}
.trial-page .review-section{margin-top:44px}.trial-page .review-section h2{font-size:clamp(25px,3vw,34px);line-height:1.35;color:var(--navy);margin:0 0 16px;letter-spacing:0}
.trial-page .review-section h3{font-size:clamp(21px,2.3vw,26px);line-height:1.4;color:#173c67;margin:36px 0 14px;letter-spacing:0}
.trial-page .review-section p,.trial-page .review-section ul{max-width:860px}
.trial-page .article-meta{display:flex;gap:12px;flex-wrap:wrap}.trial-page .article-meta span{font-size:14px;color:#49647e}
.trial-page .first-answer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.trial-page .first-answer>div{border-top:3px solid #3e9eab;background:#f1f8fb;padding:12px}.trial-page .first-answer strong,.trial-page .first-answer span{display:block}
.trial-page .cta-box{margin:28px 0;padding:24px;background:#fff8f1;border:1px solid #f9c899;border-radius:8px}.trial-page .cta-box>*{display:block}.trial-page .cta-box .cta-button{display:inline-block;background:var(--orange);color:#fff;text-decoration:none;font-weight:700;padding:12px 22px;border-radius:6px;margin:12px 0}.trial-page .cta-box small{font-size:14px}
.trial-page .note-box{border-left:4px solid #66a9c6;padding:10px 20px;background:#f2f9fc}.trial-page .toc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px;margin:32px 0}.trial-page .toc-grid a{padding:8px 0;border-bottom:1px solid var(--line)}
.explain-diagram{margin:18px 0 25px;padding:16px 18px;background:#f7fafc;border:1px solid #c8d9e9;border-radius:6px;overflow:hidden}.explain-diagram.large{background:#eaf5fc;border-left:5px solid #3a93ad}.diagram-layout{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;align-items:center}.scene{width:100%;aspect-ratio:1;background-image:url('../assets/toraiz-consultation-scenes.png');background-size:300% 200%;background-repeat:no-repeat;border-radius:5px}.scene-1{background-position:0 0}.scene-2{background-position:50% 0}.scene-3{background-position:100% 0}.scene-4{background-position:0 100%}.scene-5{background-position:50% 100%}.scene-6{background-position:100% 100%}.diagram-steps{display:flex;align-items:stretch;gap:20px}.diagram-step{flex:1;min-width:0;position:relative;padding:12px 12px 12px 10px;background:white;border-top:3px solid #4b9cbd;display:flex;gap:8px;align-items:center}.diagram-step:nth-child(2n){border-color:#7dad69}.diagram-step:nth-child(3n){border-color:#ec984f}.diagram-step:not(:last-child)::after{content:'›';position:absolute;right:-19px;top:50%;transform:translateY(-50%);color:#477491;font-size:25px;font-weight:bold}.diagram-step b{color:#307f9b;font-size:14px}.diagram-step span{font-size:18px;line-height:1.5;font-weight:700;color:var(--navy);overflow-wrap:anywhere}.explain-diagram figcaption{font-size:18px;color:#455d72;margin-top:10px}
.zaurus-aside{display:grid;grid-template-columns:minmax(120px,220px) minmax(0,1fr);gap:22px;align-items:center;margin:20px 0 26px}.zaurus-scene{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;object-position:center;border-radius:6px}.speech{position:relative;display:flex;gap:12px;align-items:center;min-height:110px;padding:18px 26px;background:#dcedfb;border:3px solid var(--navy);border-radius:50%}.speech::after{content:'';position:absolute;left:28px;bottom:-13px;width:23px;height:23px;background:#dcedfb;border-right:3px solid var(--navy);border-bottom:3px solid var(--navy);transform:rotate(42deg)}.speech img{width:52px;height:52px;border:2px solid var(--navy);border-radius:50%;background:#fff;flex:none}.speech p{margin:0;line-height:1.5!important}
.trial-page .related-strip{display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:35px}.trial-page .source-list{margin-top:30px;color:#526577}.trial-page .source-list p,.trial-page .source-list a{font-size:15px}
@media(max-width:700px){.trial-hero{grid-template-columns:1fr;padding:16px}.trial-hero img{max-width:390px;margin:auto}.trial-page .first-answer{grid-template-columns:1fr}.trial-page .toc-grid{grid-template-columns:1fr}.diagram-layout{grid-template-columns:1fr}.scene{width:150px}.diagram-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.diagram-step:not(:last-child)::after{display:none}.diagram-step span{font-size:18px}.zaurus-aside{grid-template-columns:1fr;gap:8px}.zaurus-scene{max-width:240px}.speech{border-radius:35% 45% 40% 38% / 45% 48% 48% 50%;padding:16px 19px}.speech p{font-size:18px!important}.trial-page .review-section h2{font-size:26px}.trial-page .review-section h3{font-size:22px}}
@media(max-width:380px){.diagram-steps{grid-template-columns:1fr}.speech{border-radius:42% / 35%}.speech img{width:44px;height:44px}}
.trial-page .diagram-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.trial-page .diagram-step:not(:last-child)::after{display:none}
.trial-page .diagram-step span{overflow-wrap:normal;word-break:auto-phrase;text-wrap:pretty}
@media(max-width:700px){.trial-page .diagram-steps{grid-template-columns:1fr}.trial-page .diagram-step{min-height:52px}}
.trial-page .speech p{color:#071f3f!important;position:relative;z-index:1}
.trial-page .speech::after{left:30%;bottom:-6px}
.trial-page .trial-hero h1{font-size:32px;word-break:auto-phrase;overflow-wrap:normal}
.trial-page .review-section h2{font-size:30px;word-break:auto-phrase}
.trial-page .review-section h3{font-size:24px;word-break:auto-phrase}
.trial-page .breadcrumb{display:flex;flex-wrap:wrap;gap:4px 12px}
@media(max-width:700px){.trial-page .trial-hero h1{font-size:26px}.trial-page .review-section h2{font-size:26px}.trial-page .review-section h3{font-size:22px}}

/* Article-only illustration and cloud layout; shared styles remain intact. */
.trial-page .trial-hero{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:22px}
.trial-page .heading-phrase{white-space:nowrap;font:inherit;color:inherit}
.trial-page .trial-hero>img{height:auto;aspect-ratio:3/2;object-fit:contain}
.trial-page .explain-diagram{margin:16px 0 20px;padding:14px;background:#f3f8fc;border-radius:6px}
.trial-page .diagram-layout{grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:center}
.trial-page .scene-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:4px}
.trial-page .diagram-step{padding:10px;min-height:48px}
.trial-page .zaurus-aside{display:grid;grid-template-columns:60px minmax(0,1fr);gap:8px;margin:18px 0 24px;align-items:center}
.trial-page .speaker-icon{display:block;width:60px;height:60px;border:2px solid #071f3f;border-radius:50%;background:#fff;box-sizing:border-box}
.trial-page .speech{display:block;background:transparent;border:0;border-radius:0;padding:32px 46px;min-height:112px;box-sizing:border-box}
.trial-page .speech::after{display:none}
.trial-page .speech-cloud{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.trial-page .speech p{margin:0!important;font-size:18px!important;line-height:1.7!important;color:#071f3f!important;position:relative;z-index:1;word-break:auto-phrase;overflow-wrap:normal}
.trial-page .review-section{margin-top:32px}
.trial-page .review-section h3{margin-top:28px}
@media(max-width:700px){
 .trial-page .trial-hero{grid-template-columns:1fr;gap:16px}
 .trial-page .trial-hero>img{max-width:390px}
 .trial-page .diagram-layout{grid-template-columns:1fr;gap:14px}
 .trial-page .scene-image{max-width:390px;margin:0 auto}
 .trial-page .diagram-steps{grid-template-columns:1fr;gap:8px}
 .trial-page .zaurus-aside{grid-template-columns:42px minmax(0,1fr);gap:4px}
 .trial-page .speaker-icon{width:42px;height:42px}
 .trial-page .speech{padding:32px 24px;min-height:150px}
 .trial-page .explain-diagram{padding:12px}
}

/* Content-sized cloud: outline is drawn in actual pixels, never stretched. */
.trial-page .zaurus-aside{display:flex;align-items:center;gap:12px}
.trial-page .speaker-icon{flex:0 0 60px}
.trial-page .speech{position:relative;display:grid;place-items:center;width:fit-content;max-width:min(620px,calc(100% - 72px));min-width:0;min-height:0;padding:38px 48px;margin:0;box-sizing:border-box;isolation:isolate}
.trial-page .speech p{width:fit-content;max-width:28em;text-align:center!important;align-self:center;justify-self:center;text-wrap:pretty}
.trial-page .speech-cloud{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
@media(max-width:700px){.trial-page .zaurus-aside{gap:8px}.trial-page .speaker-icon{flex-basis:42px}.trial-page .speech{max-width:calc(100% - 50px);padding:34px 27px}}

/* Line breaks follow meaning, not a fixed number of rows. */
.trial-page .speech p{max-width:none;text-wrap:wrap;word-break:normal}
.trial-page .speech-line{display:block}
.trial-page .speech-phrase{display:inline-block;white-space:nowrap}

.trial-page .kit-compact-table table{min-width:0;width:100%;table-layout:fixed}.trial-page .kit-compact-table th,.trial-page .kit-compact-table td{min-width:0;white-space:normal;text-align:left;overflow-wrap:anywhere;font-size:18px}
