/* AIツール世界図鑑 — editorial layout, scoped to article pages only. */
body.atlas-editorial{--ae-ink:#142d49;--ae-muted:#405a74;--ae-line:#d4e5f1;background:#f3f9ff!important;color:var(--ae-ink)!important;font-size:17px;line-height:1.95}
body.atlas-editorial main{max-width:1400px!important;width:calc(100% - 64px)!important;padding:36px 0 72px!important;margin:0 auto!important;box-sizing:border-box}
.atlas-editorial-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:38px;align-items:start}
.ae-main{min-width:0;background:#fff;border:1px solid var(--ae-line);border-radius:24px;padding:32px 38px;box-shadow:0 12px 48px #386e9b08}
body.atlas-editorial article{max-width:none!important;margin:0!important;width:auto!important}
body.atlas-editorial h1{font-size:clamp(28px,3.1vw,43px)!important;line-height:1.55!important;letter-spacing:.015em;color:#102c49!important;font-weight:800!important;margin:20px 0!important;overflow-wrap:anywhere}
body.atlas-editorial h2{color:#173652!important;font-size:26px!important;line-height:1.65!important;margin:36px 0 16px!important;scroll-margin-top:100px}
body.atlas-editorial h3{font-size:21px!important;line-height:1.7!important;color:#173652!important}
body.atlas-editorial p,body.atlas-editorial li,body.atlas-editorial td{color:var(--ae-ink);font-size:17px;line-height:1.95}
body.atlas-editorial .tg-deck43,body.atlas-editorial .lead{font-size:18px!important;color:#405a74!important;line-height:1.9}
body.atlas-editorial :is(.tg-heading43,.article-heading,.guide-hero){background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important}
body.atlas-editorial :is(.tg-meta43,.meta,.muted){color:#405a74!important}
body.atlas-editorial :is(.crumb,.tg-crumb43){font-size:13px!important;color:#466078!important;line-height:1.7;margin-bottom:24px}
body.atlas-editorial main a{color:#075c89;text-underline-offset:4px}
body.atlas-editorial a:focus-visible,body.atlas-editorial summary:focus-visible{outline:3px solid #147ba8;outline-offset:4px}
body.atlas-editorial mark{color:inherit!important;padding:0 .08em;background:none;box-decoration-break:clone;-webkit-box-decoration-break:clone}
body.atlas-editorial .ae-yellow{background:linear-gradient(transparent 54%,#ffe878 54%,#ffe878 91%,transparent 91%)!important}
body.atlas-editorial .ae-blue{background:linear-gradient(transparent 52%,#cef0ff 52%,#cef0ff 92%,transparent 92%)!important}
body.atlas-editorial .ae-orange{background:linear-gradient(transparent 52%,#ffdab1 52%,#ffdab1 92%,transparent 92%)!important}
.ae-meta{display:flex;gap:10px 20px;flex-wrap:wrap;margin:22px 0;color:#405a74;font-size:12px;line-height:1.7}
.ae-meta span{display:inline-flex;align-items:center;gap:7px}
.ae-meta svg{width:16px;height:16px;fill:none;stroke:#317fa0;stroke-width:1.8;flex-shrink:0}
.ae-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;min-height:350px;border:1px solid #c7e2f1;border-radius:22px;background:radial-gradient(ellipse at 90% 85%,#dcf4ff 0,transparent 50%),linear-gradient(125deg,#fff,#eef8ff)!important;overflow:hidden;margin:24px 0 28px;box-shadow:inset 0 0 0 5px #ffffff8c,0 12px 30px #9acbd321}
.ae-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#93cbe01c 1px,transparent 1px),linear-gradient(90deg,#93cbe01c 1px,transparent 1px);background-size:32px 32px;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000)}
.ae-hero-copy{padding:30px 0 30px 28px;min-width:0}
.ae-overline{color:#276c91!important;font:700 10px/1.7 system-ui,sans-serif!important;letter-spacing:.15em;margin:0 0 12px!important}
.ae-hero h2{font-size:clamp(21px,2.2vw,29px)!important;line-height:1.6!important;margin:10px 0 14px!important;border:0!important;padding:0!important}
.ae-hero p{font-size:13px!important;line-height:1.85!important;color:#385675!important;margin:0 0 15px}
.ae-hero ul{padding:0!important;list-style:none!important;display:grid;gap:8px;margin:0!important}
.ae-hero li{font-size:12px!important;line-height:1.7!important;color:#234e6a!important;padding:5px 10px!important;border-left:3px solid #68c5e0;background:#ffffffd9;border-radius:0 6px 6px 0}
.ae-hero img{display:block;width:100%!important;height:auto!important;aspect-ratio:420/450;max-width:none!important;filter:drop-shadow(0 12px 18px #638cc91c);border:0!important;margin:0!important}
.ae-learn{border:1px solid #cce6f2;border-left:4px solid #42b2d1;border-radius:12px;padding:20px 24px;background:#f5fbff;margin:28px 0}
.ae-learn h2{font-size:19px!important;margin:0 0 10px!important;border:0!important;padding:0!important}
.ae-learn ul{margin:0;padding-left:22px}.ae-learn li{font-size:15px!important;line-height:1.85!important}
.ae-toc{border:1px solid #d6e5ed;border-radius:12px;padding:20px 24px;background:#fff;margin:24px 0 36px}
.ae-toc summary{font-size:18px;font-weight:700;cursor:pointer;color:#183c58}.ae-toc small{font-weight:400;font-size:12px;color:#526c81;margin-left:12px}
.ae-toc nav{display:grid;grid-template-columns:1fr;gap:8px;padding:16px 0 0}.ae-toc a{font-size:14px!important;line-height:1.8;text-decoration:none;border-bottom:1px dashed #dfebf3;padding:4px 0}
.ae-sidebar{position:sticky;top:28px;display:grid;gap:22px;min-width:0}
.ae-sidebar>section{border:1px solid #d0e5f0;border-radius:18px;background:#fff;box-shadow:0 6px 22px #779fb810;padding:22px}
.ae-sidebar h2{font-size:19px!important;margin:0 0 16px!important;border:0!important;padding:0!important}
.ae-categories{display:grid;gap:0}.ae-categories a{display:flex;justify-content:space-between;text-decoration:none;font-size:14px;border-bottom:1px solid #e8f0f6;padding:8px 0;line-height:1.7}
.ae-categories span{color:#4f9bb7}.ae-side-note{font-size:11px!important;color:#52677c!important;line-height:1.7!important}
.ae-related{position:relative;display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center;text-decoration:none;border-top:1px solid #e1edf5;padding:16px 0;font-size:13px!important;line-height:1.7!important;font-weight:650}
.ae-related img{width:64px;height:70px;object-fit:contain;border:1px solid #dbeef7;border-radius:10px;background:#f0f9ff}
.ae-number{position:absolute;top:11px;left:-6px;background:#1c648b;color:white!important;border-radius:6px;min-width:22px;text-align:center;font-size:11px;font-weight:700;box-shadow:0 2px 6px #235e7c22}
.ae-diagnosis{background:linear-gradient(125deg,#f5fcff,#eaf3ff)!important}.ae-diagnosis p{font-size:14px!important}.ae-diagnosis a{display:block;padding:10px 12px;border:1px solid #a8d9e9;border-radius:8px;background:white;margin-top:10px;font-size:13px;text-decoration:none}
.ae-final-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px;border-top:1px solid #d7e8f2;padding-top:24px}.ae-final-nav a{padding:10px 16px;background:#eaf7ff;border:1px solid #c2e0ee;border-radius:9px;text-decoration:none;font-size:14px}
body.atlas-editorial table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border-collapse:collapse;background:#fff!important;font-size:15px}
body.atlas-editorial :is(td,th){min-width:125px;padding:14px!important;border:1px solid #dce8f1!important;color:#173652!important;background:#fff!important;vertical-align:top}
body.atlas-editorial th{background:#edf7ff!important;font-size:14px}
body.atlas-editorial :is(pre,textarea){max-width:100%;box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;color:#183c58;background:#f3f9fd}
body.atlas-editorial :is(p,li,h1,h2,h3,a){overflow-wrap:anywhere}
body.atlas-editorial main img{max-width:100%;height:auto}
body.atlas-editorial .ae-main section{max-width:100%;box-sizing:border-box}
.ae-index-thumb{float:left;width:100px!important;height:100px!important;object-fit:contain;margin:0 16px 10px 0;background:#edf8ff;border:1px solid #d0e6f2;border-radius:12px}
@media(min-width:1600px){.atlas-editorial-layout{grid-template-columns:minmax(0,1fr) 320px;gap:44px}.ae-main{padding:40px 50px}}
@media(max-width:1050px){.atlas-editorial-layout{grid-template-columns:minmax(0,1fr)}.ae-sidebar{position:static;grid-template-columns:1fr 1fr}.ae-sidebar .ae-diagnosis{grid-column:1/-1}}
@media(max-width:600px){body.atlas-editorial{font-size:16px}body.atlas-editorial main{width:calc(100% - 24px)!important;padding-top:18px!important}.ae-main{padding:18px 17px;border-radius:16px}body.atlas-editorial h1{font-size:28px!important;line-height:1.6!important}body.atlas-editorial h2{font-size:22px!important}body.atlas-editorial :is(p,li,td){font-size:16px}body.atlas-editorial h3{font-size:19px!important}.ae-hero{grid-template-columns:1fr;min-height:0;border-radius:16px}.ae-hero-copy{padding:23px 22px 4px}.ae-hero h2{font-size:23px!important}.ae-hero img{width:76%!important;justify-self:center;max-height:265px}.ae-hero li{font-size:13px!important}.ae-meta{font-size:11px;gap:7px 12px}.ae-learn,.ae-toc{padding:18px}.ae-sidebar{grid-template-columns:1fr}.ae-toc small{display:block;margin-left:0}.ae-final-nav a{flex:1;text-align:center;min-width:100px}.ae-index-thumb{width:80px!important;height:85px!important}}
@media(prefers-reduced-motion:reduce){body.atlas-editorial *{scroll-behavior:auto!important}}

/* Reference-approved composition: open white canvas, compact title, wide 3D hero. */
body.atlas-editorial{background:radial-gradient(ellipse at 92% 5%,#ecf8ff88,transparent 35%),#fff!important;color:#0c2049!important}
body.atlas-editorial main{max-width:1760px!important;width:calc(100% - 88px)!important;padding-top:20px!important}
.atlas-editorial-layout{grid-template-columns:minmax(0,1fr) 330px;gap:36px}
.ae-main{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
body.atlas-editorial :is(.tg-site43,.site-nav14,.news-nav){border-bottom:1px solid #e2f0f9!important;box-shadow:none!important;background:#ffffffed!important}
body.atlas-editorial :is(.tg-crumb43,.crumb){font-size:15px!important;line-height:1.8;margin:0 0 18px!important}
body.atlas-editorial :is(.tg-crumb43,.crumb) a{color:#087fff!important;text-decoration:none;font-weight:650}
body.atlas-editorial h1{position:relative;font-size:clamp(30px,3.05vw,54px)!important;line-height:1.48!important;letter-spacing:.01em;margin:14px 0 16px!important;padding-left:24px;color:#091940!important}
body.atlas-editorial h1:before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:6px;border-radius:4px;background:linear-gradient(#03b7ef,#2676ff)}
body.atlas-editorial h1 .ae-yellow{background:#ffe461!important;border-radius:10px;padding:0 .12em;box-decoration-break:clone}
body.atlas-editorial h1 .ae-blue{background:#dff2ff!important;border-radius:10px;padding:0 .13em}
body.atlas-editorial :is(.tg-kicker43,.tg-meta43){display:none}
.ae-meta{font-size:13px;gap:10px 20px;align-items:center;margin:10px 0 22px;color:#152a55}
.ae-meta svg{width:19px;height:19px;stroke:#387fd3}
.ae-meta span:nth-child(2){order:3;background:#e0f3ff;color:#0875d5;font-weight:700;border-radius:18px;padding:3px 12px}
.ae-meta span:nth-child(3){order:2}
.ae-reference-hero{display:block;min-height:370px;margin:0 0 20px;border-radius:24px;border:1px solid #d6f0ff;background:radial-gradient(ellipse at 86% 92%,#bcecff88,transparent 55%),linear-gradient(120deg,#fff,#f2fbff 42%,#dcefff)!important;box-shadow:0 8px 22px #81c9eb21;isolation:isolate}
.ae-reference-hero:before{background-size:44px 44px;opacity:.65}
.ae-hero-brand{position:absolute;z-index:3;left:25px;top:22px;right:20px;display:flex;align-items:center;gap:12px;color:#08528c;font-size:17px;font-weight:650;line-height:1.6;pointer-events:none}
.ae-hero-brand strong{font-weight:800;white-space:nowrap}.ae-hero-brand>span:last-child{font-size:12px;border-left:1px solid #9bbfe7;padding-left:14px;color:#243a6d}
.ae-brand-ring{width:28px;height:28px;display:inline-block;border:2px solid #44cbee;border-radius:43% 57% 49% 51%;box-shadow:inset 0 0 0 3px #fff,0 0 0 3px #c9f2ff,2px -2px 0 2px #5d84ff;transform:rotate(-22deg);flex-shrink:0}
body.atlas-editorial .ae-reference-hero>.ae-hero-3d{position:absolute;right:-1%;top:0;bottom:0;width:55%!important;height:100%!important;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;filter:none;z-index:0;mix-blend-mode:multiply;mask-image:linear-gradient(90deg,transparent 0%,#000 19%,#000 93%,transparent 100%)}
.ae-reference-hero .ae-hero-copy{position:relative;z-index:1;width:58%;box-sizing:border-box;padding:86px 0 24px 25px;min-height:370px}
body.atlas-editorial .ae-reference-hero h2{font-size:clamp(34px,3.7vw,68px)!important;line-height:1.18!important;letter-spacing:-.025em;margin:8px 0 17px!important;color:#071946!important;font-weight:850!important}
.ae-reference-hero h2.ae-latin{font-style:italic}
body.atlas-editorial .ae-reference-hero .ae-hero-copy>p{font-size:17px!important;line-height:1.8!important;font-weight:650;color:#164a75!important;margin:0 20px 23px 0}
.ae-reference-hero .ae-feature-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:0!important;max-width:600px}
body.atlas-editorial .ae-reference-hero .ae-feature-tiles li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:86px;box-sizing:border-box;margin:0!important;padding:10px 7px!important;border:1px solid #cdeafb!important;border-radius:17px;background:linear-gradient(#fffffff5,#eef8ffed)!important;box-shadow:0 4px 10px #65bce61c;font-size:12px!important;font-weight:750;color:#11416e!important;text-align:center;line-height:1.5!important}
.ae-feature-tiles svg{width:30px;height:30px;fill:none;stroke:#049ce1;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ae-sidebar{gap:24px;top:24px}.ae-sidebar>section{padding:0;border:1px solid #d0eaff;box-shadow:0 5px 16px #a0c7eb20;overflow:hidden;border-radius:17px}
body.atlas-editorial .ae-sidebar .ae-panel-heading{display:flex;align-items:center;gap:10px;font-size:21px!important;padding:13px 18px!important;margin:0!important;border-bottom:1px solid #e1effc!important;background:linear-gradient(105deg,#e8f7ff,#f6fcff 56%,#dfedff)!important;color:#081b46!important;font-weight:800!important}
.ae-panel-heading>span{font-size:26px;color:#006aca}
.ae-categories{padding:0 18px}.ae-categories a{align-items:center;gap:10px;padding:11px 0;font-size:15px!important;color:#152b54!important;border-bottom:1px solid #e3edf6}
.ae-categories a strong{flex:1;min-width:0;font-weight:650}.ae-cat-icon{display:flex;align-items:center;justify-content:center;border-radius:50%;width:31px;height:31px;background:#eef7ff;color:#236fba;flex-shrink:0}
.ae-cat-icon svg{width:17px;height:17px;fill:none;stroke:#2464a5;stroke-width:1.6}
.ae-categories .ae-cat-count{padding:0 9px;min-width:21px;background:#eaf5ff;border-radius:15px;text-align:center;color:#1b3a65;font-weight:600;font-size:13px}
.ae-more-categories summary{padding:10px 0;font-size:12px;color:#336180;cursor:pointer}.ae-read-next{padding:4px 18px}
.ae-read-next .ae-related{grid-template-columns:90px minmax(0,1fr);gap:12px;padding:17px 0;font-size:14px!important;font-weight:750;line-height:1.65!important;color:#102650!important}
.ae-read-next .ae-related:first-child{border-top:0}.ae-read-next .ae-related img{width:90px;height:65px;object-fit:cover;border-radius:10px;border:0;background:#eaf5ff}
.ae-read-next .ae-number{display:flex;align-items:center;justify-content:center;top:27px;left:-9px;width:22px;height:22px;padding:0;min-width:0;border:2px solid #fff;background:linear-gradient(145deg,#05d9ee,#1d83fb);border-radius:50%;font-size:12px;color:#fff!important;box-shadow:0 2px 5px #1a82cf33}
.ae-sidebar .ae-side-note{margin:0 18px 14px;font-size:10px!important;color:#557086!important}.ae-sidebar .ae-diagnosis{padding:18px}
body.atlas-editorial .ae-yellow{background:linear-gradient(transparent 8%,#ffec80 8%,#ffec80 96%,transparent 96%)!important;border-radius:5px}
body.atlas-editorial .ae-blue{background:linear-gradient(transparent 10%,#dcf3ff 10%,#dcf3ff 96%,transparent 96%)!important;border-radius:5px}
body.atlas-editorial .ae-orange{background:linear-gradient(transparent 10%,#ffdab1 10%,#ffdab1 96%,transparent 96%)!important;border-radius:5px}
.ae-learn{margin-top:22px}.ae-toc{margin:22px 0}
@media(min-width:1600px){.atlas-editorial-layout{grid-template-columns:minmax(0,1fr) 390px;gap:48px}.ae-reference-hero{min-height:420px}.ae-reference-hero .ae-hero-copy{min-height:420px;padding-top:95px}.ae-hero-brand{font-size:20px}.ae-hero-brand>span:last-child{font-size:15px}.ae-reference-hero .ae-feature-tiles li{font-size:15px!important;min-height:103px!important}.ae-read-next .ae-related{grid-template-columns:110px minmax(0,1fr);font-size:16px!important}.ae-read-next .ae-related img{width:110px;height:75px}}
@media(max-width:1100px){.atlas-editorial-layout{grid-template-columns:minmax(0,1fr)}.ae-sidebar{position:static;grid-template-columns:1fr 1fr}}
@media(max-width:600px){body.atlas-editorial main{width:calc(100% - 32px)!important;padding-top:14px!important}.ae-main{padding:0}body.atlas-editorial h1{font-size:28px!important;line-height:1.5!important;padding-left:17px;margin:12px 0 15px!important}body.atlas-editorial h1:before{width:4px}body.atlas-editorial :is(.tg-crumb43,.crumb){font-size:12px!important;margin-bottom:14px!important}.ae-meta{font-size:11px;gap:8px 10px;margin-bottom:16px}.ae-meta svg{width:15px;height:15px}.ae-meta span:nth-child(2){padding:1px 9px}.ae-reference-hero{display:flex;flex-direction:column;min-height:0;border-radius:18px}.ae-hero-brand{left:18px;right:12px;top:18px;gap:8px;font-size:13px}.ae-hero-brand>span:last-child{font-size:9px;padding-left:8px}.ae-brand-ring{width:21px;height:21px}.ae-reference-hero .ae-hero-copy{order:1;min-height:0;width:100%;padding:65px 17px 4px}.ae-reference-hero h2{font-size:38px!important;line-height:1.2!important}.ae-reference-hero .ae-hero-copy>p{font-size:15px!important;margin:0 0 16px!important}.ae-reference-hero .ae-feature-tiles{gap:6px}.ae-reference-hero .ae-feature-tiles li{font-size:10px!important;min-height:81px!important;border-radius:12px;padding:8px 4px!important}.ae-feature-tiles svg{width:26px;height:26px}body.atlas-editorial .ae-reference-hero>.ae-hero-3d{position:relative;order:2;width:100%!important;height:240px!important;mask-image:none;object-fit:contain;margin:0!important;z-index:0;right:auto}.ae-sidebar{grid-template-columns:1fr;gap:18px}}
/* Override the existing broad main/div white-surface rule only inside this hero. */
body.atlas-light.atlas-editorial main .ae-reference-hero{background:radial-gradient(ellipse at 86% 92%,#bcecff88,transparent 55%),linear-gradient(120deg,#fff,#f2fbff 42%,#dcefff)!important}
body.atlas-light.atlas-editorial main .ae-reference-hero :is(.ae-hero-brand,.ae-hero-copy,.ae-feature-tiles){background:transparent!important}
body.atlas-light.atlas-editorial main .ae-reference-hero .ae-feature-tiles li{background:linear-gradient(#fffffff5,#eef8ffed)!important}
