/* Editorial rebuild: article-first pages, 2026-09 */
:root {
  --ink: #08223f;
  --muted: #5d7382;
  --paper: #ffffff;
  --wash: #f3faf9;
  --teal2: #079da8;
  --teal3: #05757d;
  --gold: #e6b84e;
  --line2: #dce8e9;
}

body { color: var(--ink); background: var(--paper); }
.container.wide { width: min(100% - 36px, 1320px); }
.e2-kicker { margin: 0 0 8px; color: var(--teal3); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.e2-title { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.35; letter-spacing: -.035em; word-break: auto-phrase; }
.e2-lead { max-width: 760px; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.e2-section { padding: 72px 0; }
.e2-section.soft { background: var(--wash); }
.e2-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.e2-heading a { color: var(--teal3); font-size: 13px; font-weight: 850; }

.e2-hero { overflow: hidden; border-bottom: 1px solid var(--line2); background: radial-gradient(circle at 50% 30%, #e4f8f5 0, #f7fbfb 46%, #fff 78%); }
.e2-hero-grid { display: grid; grid-template-columns: 245px minmax(0, 1fr) 245px; align-items: center; min-height: 600px; }
.e2-hero-copy { position: relative; z-index: 2; padding: 54px 0; text-align: center; }
.e2-hero-copy h1 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.2; letter-spacing: -.055em; }
.e2-hero-copy h1 em { color: var(--teal2); font-style: normal; }
.hero-title-phrase { display: inline; }
.e2-hero-copy > p:not(.e2-kicker) { margin: 14px 0 26px; font-size: 17px; }
.e2-hero-side { position: relative; align-self: stretch; }
.e2-hero-side .photo { position: absolute; bottom: 0; width: 330px; height: 330px; overflow: hidden; border-radius: 52% 48% 0 0 / 60% 60% 0 0; }
.e2-hero-side .photo img { width: 100%; height: 100%; object-fit: cover; }
.e2-hero-side.left .photo { right: -45px; }
.e2-hero-side.right .photo { left: -45px; height: 270px; bottom: 36px; border-radius: 24px; transform: rotate(3deg); box-shadow: 0 18px 46px rgba(8,34,63,.15); }
.e2-handnote { position: absolute; z-index: 2; width: 210px; object-fit: contain; }
.e2-hero-side.left .e2-handnote { top: 28px; left: -8px; }
.e2-hero-side.right .e2-handnote { top: 32px; right: -8px; }
.e2-search { max-width: 780px; margin: 0 auto; padding: 18px; text-align: left; border: 1px solid #cde1e2; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 18px 44px rgba(8,34,63,.1); }
.e2-search-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.e2-search label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 800; }
.e2-search select, .e2-search input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 11px; color: var(--ink); background: #fff; }
.e2-search .button { width: 100%; margin-top: 12px; }
.e2-search details { margin-top: 10px; }
.e2-search summary { color: var(--teal3); font-size: 12px; font-weight: 850; cursor: pointer; }
.e2-search details label { margin-top: 10px; }
.e2-search-note { margin: 8px 0 0 !important; color: var(--muted); font-size: 11px !important; }

.e2-genre-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.e2-genre { position: relative; overflow: hidden; min-height: 210px; color: #fff; border-radius: 20px; box-shadow: 0 10px 26px rgba(8,34,63,.1); }
.e2-genre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.e2-genre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,34,63,.02) 25%, rgba(8,34,63,.9)); }
.e2-genre:hover img { transform: scale(1.035); }
.e2-genre div { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.e2-genre strong { display: block; font-size: 22px; }
.e2-genre span { display: block; margin-top: 3px; color: #dcebec; font-size: 12px; }

.e2-rank-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.e2-rank-card { position: relative; overflow: hidden; color: var(--ink); border: 1px solid var(--line2); border-radius: 20px; background: #fff; box-shadow: 0 9px 24px rgba(8,34,63,.06); }
.e2-rank-card img { width: 100%; height: 180px; object-fit: cover; }
.e2-rank-card:first-child img { height: 240px; }
.e2-rank-body { padding: 20px; }
.e2-rank-card h3 { margin: 9px 0 8px; font-size: 20px; line-height: 1.55; }
.e2-rank-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.e2-rank-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; color: var(--teal3); background: #e5f7f4; font-size: 11px; font-weight: 850; }
.e2-ranking-note { margin: -13px 0 26px; color: var(--muted); font-size: 12px; }

.e2-support { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 26px; background: #092644; box-shadow: 0 18px 44px rgba(8,34,63,.13); }
.e2-support img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.e2-support-copy { display: flex; flex-direction: column; justify-content: center; padding: 46px; color: #fff; }
.e2-support-copy .e2-kicker { color: #71ded8; }
.e2-support-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.35; }
.e2-support-copy p { color: #d6e6eb; line-height: 1.85; }

.e2-page-hero { padding: 58px 0; background: linear-gradient(125deg, #eef9f7, #fff 70%); border-bottom: 1px solid var(--line2); }
.e2-page-hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.e2-page-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.25; letter-spacing: -.045em; }
.e2-page-hero p { color: var(--muted); font-size: 17px; line-height: 1.85; }
.e2-page-hero img { width: 100%; height: 330px; object-fit: cover; border-radius: 24px; box-shadow: 0 16px 40px rgba(8,34,63,.12); }
.e2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.e2-tags span { padding: 7px 11px; border-radius: 999px; color: var(--teal3); background: #dff5f1; font-size: 12px; font-weight: 850; }
.e2-anchor-nav { position: sticky; z-index: 5; top: 70px; border-bottom: 1px solid var(--line2); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.e2-anchor-nav .container { display: flex; gap: 4px; overflow-x: auto; padding-top: 11px; padding-bottom: 11px; }
.e2-anchor-nav .container { scrollbar-width: none; }
.e2-anchor-nav .container::-webkit-scrollbar { display: none; }
.e2-anchor-nav a { flex: none; padding: 9px 14px; border-radius: 999px; color: var(--ink); font-size: 12px; font-weight: 850; }
.e2-anchor-nav a:hover { color: var(--teal3); background: #e8f7f5; }

.e2-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -27px; position: relative; z-index: 2; border: 1px solid var(--line2); border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(8,34,63,.08); }
.e2-facts div { padding: 18px 20px; border-right: 1px solid var(--line2); }
.e2-facts div:last-child { border: 0; }
.e2-facts strong { display: block; color: var(--muted); font-size: 11px; }
.e2-facts span { display: block; margin-top: 4px; font-size: 14px; font-weight: 850; }
.e2-copy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 50px; align-items: start; }
.e2-prose { min-width: 0; }
.e2-prose h2 { margin: 54px 0 18px; padding-left: 16px; border-left: 5px solid var(--teal2); font-size: clamp(25px, 3vw, 34px); line-height: 1.45; }
.e2-prose h2:first-child { margin-top: 0; }
.e2-prose h3 { margin: 32px 0 10px; font-size: 21px; }
.e2-prose p, .e2-prose li { color: #29445a; font-size: 15px; line-height: 2; }
.e2-prose ul, .e2-prose ol { padding-left: 1.4em; }
.e2-aside { position: sticky; top: 138px; display: grid; gap: 15px; }
.e2-aside-card { padding: 20px; border: 1px solid var(--line2); border-radius: 16px; background: #fff; }
.e2-aside-card h3 { margin: 0 0 8px; font-size: 17px; }
.e2-aside-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.e2-aside-card .button { width: 100%; margin-top: 14px; }

.e2-article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.e2-article-card { overflow: hidden; color: var(--ink); border: 1px solid var(--line2); border-radius: 18px; background: #fff; }
.e2-article-card img { width: 100%; height: 165px; object-fit: cover; }
.e2-article-card div { padding: 17px; }
.e2-article-card h3 { margin: 7px 0; font-size: 17px; line-height: 1.55; }
.e2-article-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.e2-article-card small { color: var(--teal3); font-weight: 850; }

.e2-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.e2-path article { position: relative; padding: 24px; border: 1px solid var(--line2); border-radius: 17px; background: #fff; counter-increment: step; }
.e2-path article::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--teal2); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.e2-path h3 { margin: 0 0 8px; font-size: 19px; }
.e2-path p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.e2-table-wrap { overflow-x: auto; border: 1px solid var(--line2); border-radius: 18px; background: #fff; }
.e2-table { width: 100%; min-width: 790px; border-collapse: collapse; }
.e2-table th, .e2-table td { padding: 17px; border-bottom: 1px solid var(--line2); vertical-align: top; text-align: left; font-size: 13px; line-height: 1.75; }
.e2-table thead th { color: var(--ink); background: #e9f7f5; }
.e2-table tbody th { font-size: 15px; }
.e2-table a { color: var(--teal3); font-weight: 850; }
.e2-service-logo { display: block; max-width: 150px; max-height: 42px; margin: 0 0 8px; object-fit: contain; object-position: left center; }
.e2-source-note { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.e2-ad-note { margin-bottom: 20px; padding: 16px 19px; border: 1px solid #efd99e; border-radius: 13px; color: #574817; background: #fffaf0; font-size: 12px; line-height: 1.7; }

.e2-article-hero { padding: 48px 0; border-bottom: 1px solid var(--line2); }
.e2-article-head { display: grid; grid-template-columns: 1fr 420px; gap: 44px; align-items: center; }
.e2-article-head h1 { margin: 12px 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.38; letter-spacing: -.04em; }
.e2-article-head p { color: var(--muted); line-height: 1.85; }
.e2-article-head img { width: 100%; height: 310px; object-fit: cover; border-radius: 22px; }
.e2-byline { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 12px; }
.e2-answer { margin: 0 0 34px; padding: 24px; border-left: 5px solid var(--teal2); border-radius: 0 14px 14px 0; background: #eef9f7; }
.e2-answer strong { display: block; margin-bottom: 6px; }
.e2-answer p { margin: 0; }
.e2-callout { margin: 28px 0; padding: 22px; border: 1px solid var(--line2); border-radius: 16px; background: #fff; box-shadow: 0 7px 20px rgba(8,34,63,.05); }
.e2-callout strong { display: block; margin-bottom: 6px; }
.e2-related { display: grid; gap: 10px; }
.e2-related a { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; padding: 9px; color: var(--ink); border: 1px solid var(--line2); border-radius: 12px; }
.e2-related img { width: 78px; height: 62px; object-fit: cover; border-radius: 8px; }
.e2-related strong { font-size: 12px; line-height: 1.5; }

.e2-restart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.e2-restart-card { padding: 26px; border: 1px solid var(--line2); border-radius: 19px; background: #fff; }
.e2-restart-card b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--teal2); }
.e2-restart-card h3 { margin: 15px 0 8px; font-size: 20px; }
.e2-restart-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.e2-restart-card a { color: var(--teal3); font-size: 13px; font-weight: 850; }

@media (max-width: 1050px) {
  .e2-hero-grid { grid-template-columns: 150px 1fr 150px; }
  .e2-genre-grid, .e2-article-grid { grid-template-columns: repeat(2, 1fr); }
  .e2-rank-grid { grid-template-columns: repeat(3, 1fr); }
  .e2-rank-card:first-child img { height: 180px; }
}

@media (max-width: 760px) {
  .e2-section { padding: 52px 0; }
  .e2-heading { align-items: flex-start; flex-direction: column; }
  .e2-hero-grid { display: block; min-height: 0; }
  .e2-hero-side { display: none; }
  .e2-hero-copy { padding: 52px 0 42px; }
  .e2-hero-copy h1 { font-size: 40px; }
  .hero-title-phrase { display: block; white-space: nowrap; }
  .e2-search-grid { grid-template-columns: 1fr; }
  .e2-genre-grid, .e2-rank-grid, .e2-article-grid, .e2-path, .e2-restart-grid { grid-template-columns: 1fr; }
  .e2-genre { min-height: 240px; }
  .e2-support { grid-template-columns: 1fr; }
  .e2-support img { min-height: 230px; max-height: 250px; }
  .e2-support-copy { padding: 28px; }
  .e2-page-hero-grid, .e2-article-head { grid-template-columns: 1fr; gap: 28px; }
  .e2-page-hero h1 { font-size: 34px; word-break: auto-phrase; }
  .e2-page-hero img, .e2-article-head img { height: 240px; }
  .e2-facts { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .e2-facts div:nth-child(2) { border-right: 0; }
  .e2-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line2); }
  .e2-copy-grid { grid-template-columns: 1fr; gap: 28px; }
  .e2-aside { position: static; }
  .e2-anchor-nav { top: 62px; }
}

/* v3: data-driven editorial system */
.e3-home-hero { overflow: hidden; padding: 28px 0 34px; background: radial-gradient(circle at 50% 0, #fff 0, #edf9f8 60%, #e7f5f3 100%); }
.e3-home-hero-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 210px; gap: 26px; align-items: center; }
.e3-home-person, .e3-home-desk { position: relative; align-self: stretch; min-height: 470px; }
.e3-home-person img:last-child, .e3-home-desk img:last-child { position: absolute; overflow: hidden; width: 290px; border: 8px solid rgba(255,255,255,.9); border-radius: 24px; box-shadow: 0 18px 40px rgba(8,34,63,.13); object-fit: cover; }
.e3-home-person img:first-child, .e3-home-desk img:first-child { position: absolute; z-index: 2; width: 190px; object-fit: contain; }
.e3-home-person img:first-child { top: 18px; left: 0; }
.e3-home-person img:last-child { bottom: -10px; left: 0; height: 320px; object-position: 22% center; transform: rotate(-2deg); }
.e3-home-desk img:first-child { top: 8px; right: 0; }
.e3-home-desk img:last-child { top: 112px; right: 0; height: 190px; object-position: 62% center; transform: rotate(3deg); }
.e3-home-copy { position: relative; z-index: 3; text-align: center; }
.e3-home-copy h1 { max-width: 850px; margin: 0 auto; font-size: clamp(38px, 3.5vw, 48px); line-height: 1.3; letter-spacing: -.055em; word-break: auto-phrase; }
.e3-title-segment { display: inline-block; white-space: nowrap; }
.e3-home-copy h1 em, .e3-rescue h2 em { color: var(--teal2); font-style: normal; }
.e3-home-copy > p:not(.e2-kicker) { margin: 12px 0 22px; color: var(--muted); font-weight: 700; }

.e3-filter { padding: 20px; border: 1px solid #cae5e3; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 15px 34px rgba(8,66,77,.11); text-align: left; }
.e3-filter-title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--ink); }
.e3-filter-title > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--teal2); font-size: 22px; }
.e3-filter-title small { margin-left: auto; color: var(--muted); font-size: 11px; }
.e3-filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.e3-filter label { color: var(--muted); font-size: 10px; font-weight: 850; }
.e3-filter select, .e3-filter input { width: 100%; height: 43px; margin-top: 3px; padding: 0 11px; border: 1px solid var(--line2); border-radius: 10px; color: var(--ink); background: #fff; font-size: 12px; }
.e3-keyword-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 11px; }
.e3-keyword-row label { display: block; }
.e3-keyword-row input { margin: 0; }
.e3-keyword-row .button { min-height: 43px; padding-inline: 22px; }
.e3-filter-compact { max-width: 100%; margin-top: 26px; }

.e3-ai-badge { display: inline-flex !important; width: auto !important; margin: 0 0 6px !important; padding: 3px 8px; border-radius: 999px; color: var(--teal3) !important; background: #e2f7f4; font-size: 10px !important; font-weight: 900; }
.e2-genre strong { display: block; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; word-break: auto-phrase; }
.e2-genre > div > span { display: block; margin-top: 4px; color: rgba(255,255,255,.82); font-size: 11px; line-height: 1.5; }

.e3-ranking-list { display: grid; gap: 12px; }
.e3-rank-row { display: grid; grid-template-columns: 48px 120px 1fr; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line2); border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(8,34,63,.05); }
.e3-rank-row > b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--teal2); font-size: 18px; }
.e3-rank-row:first-child > b { background: #d1a52a; }
.e3-rank-row img { width: 120px; height: 82px; border-radius: 11px; object-fit: cover; }
.e3-rank-row span { color: var(--teal3); font-size: 11px; font-weight: 850; }
.e3-rank-row h3 { margin: 2px 0; font-size: 17px; }
.e3-rank-row p { margin: 0; color: var(--muted); font-size: 12px; }

.e3-rescue { display: grid; grid-template-columns: 1fr .8fr; overflow: hidden; border: 1px solid #cce9e5; border-radius: 26px; background: linear-gradient(125deg, #eef9f7, #fff); box-shadow: 0 17px 42px rgba(8,34,63,.09); }
.e3-rescue > div { padding: 46px; }
.e3-rescue h2 { margin: 0; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.4; word-break: auto-phrase; }
.e3-rescue-title-part { display: inline-block; white-space: nowrap; }
.e3-rescue p { color: var(--muted); line-height: 1.9; }
.e3-rescue img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }

.e3-route-block { padding: 24px; border: 1px solid var(--line2); border-radius: 22px; background: #eaf8f6; }
.e3-route-block > h3 { margin: 5px 0 13px; font-size: 15px; }
.e3-route-block > h3:not(:first-child) { margin-top: 25px; }
.e3-route-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.e3-route-grid article { min-height: 96px; padding: 15px; border: 1px solid rgba(8,155,166,.15); border-radius: 14px; background: #fff; }
.e3-route-grid span { display: block; color: var(--muted); font-size: 9px; }
.e3-route-grid strong { display: block; margin-top: 7px; font-size: 14px; line-height: 1.45; }

.e3-ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.e3-ai-split article { padding: 28px; border: 1px solid var(--line2); border-radius: 20px; background: linear-gradient(145deg, #eef9f7, #fff); }
.e3-ai-split article:last-child { background: linear-gradient(145deg, #f2f7fb, #fff); }
.e3-ai-split article > span { color: var(--teal3); font-size: 12px; font-weight: 900; }
.e3-ai-split h2 { margin: 7px 0 14px; font-size: 25px; }
.e3-ai-split h3 { margin-top: 0; }
.e3-ai-split ul { margin: 0; padding-left: 1.2em; color: #29445a; line-height: 1.9; }
.e3-ai-split.compact article { padding: 22px; }
.e3-ai-split.compact li { font-size: 14px; }

.e3-one { grid-template-columns: minmax(0, 560px); }
.e3-two { grid-template-columns: repeat(2, 1fr); }
.e3-three { grid-template-columns: repeat(3, 1fr); }
.e3-three .e2-article-card img, .e3-two .e2-article-card img { height: 185px; }

/* Motion: information stays readable without JavaScript and respects reduced-motion settings. */
.motion-ready .e3-home-copy { animation: home-copy-in .58s cubic-bezier(.2,.8,.2,1) both; }
.motion-ready .e3-home-person { animation: home-side-left-in .68s .08s cubic-bezier(.2,.8,.2,1) both; }
.motion-ready .e3-home-desk { animation: home-side-right-in .68s .14s cubic-bezier(.2,.8,.2,1) both; }
.motion-ready .e3-filter { animation: home-filter-in .52s .24s cubic-bezier(.2,.8,.2,1) both; }
.motion-ready .js-reveal { opacity: 0; transform: translateY(24px); }
.motion-ready .js-reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--reveal-order, 0) * 65ms); }
.e2-genre, .e3-rank-row, .e2-article-card, .e3-rescue { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.e2-genre:hover, .e3-rank-row:hover, .e2-article-card:hover { transform: translateY(-4px); box-shadow: 0 15px 32px rgba(8,34,63,.12); }
.e3-rescue:hover { transform: translateY(-2px); box-shadow: 0 21px 46px rgba(8,34,63,.12); }
.e3-filter select:focus, .e3-filter input:focus { border-color: #62bfc1; box-shadow: 0 0 0 4px rgba(7,153,165,.1); }

@keyframes home-copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-filter-in { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes home-side-left-in { from { opacity: 0; transform: translateX(-28px) rotate(-1deg); } to { opacity: 1; transform: translateX(0) rotate(0); } }
@keyframes home-side-right-in { from { opacity: 0; transform: translateX(28px) rotate(1deg); } to { opacity: 1; transform: translateX(0) rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  .motion-ready .e3-home-copy, .motion-ready .e3-home-person, .motion-ready .e3-home-desk, .motion-ready .e3-filter,
  .motion-ready .js-reveal, .motion-ready .js-reveal.is-visible,
  .question.question-enter, .question.question-back, .result-card.active, .result-card.active .result-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

.e3-toc a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line2); color: var(--teal3); font-size: 12px; font-weight: 800; }
.e3-toc a:last-child { border-bottom: 0; }
.e3-mini-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.e3-mini-facts div { padding: 16px; border: 1px solid var(--line2); border-radius: 13px; background: #fff; }
.e3-mini-facts b, .e3-mini-facts span { display: block; }
.e3-mini-facts b { color: var(--muted); font-size: 10px; }
.e3-mini-facts span { margin-top: 4px; font-size: 13px; font-weight: 850; }
.e3-mechanism-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.e3-mechanism-grid article { padding: 18px; border: 1px solid var(--line2); border-radius: 14px; background: #fff; }
.e3-mechanism-grid b { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #fff; background: var(--teal2); }
.e3-mechanism-grid h3 { margin: 10px 0 4px; font-size: 16px; }
.e3-mechanism-grid p { margin: 0; font-size: 12px; line-height: 1.65; }
.e3-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 24px 0; padding: 25px; border-radius: 17px; background: #eaf8f6; }
.e3-flow span { flex: 1; padding: 13px; border-radius: 11px; background: #fff; text-align: center; font-size: 13px; font-weight: 850; }
.e3-flow i { color: var(--teal2); font-style: normal; font-weight: 900; }
.e3-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.e3-step-grid article { padding: 17px; border: 1px solid var(--line2); border-radius: 14px; background: #fff; }
.e3-step-grid b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--teal2); }
.e3-step-grid h3 { margin: 10px 0 5px; font-size: 15px; }
.e3-step-grid p { margin: 0; font-size: 11px; line-height: 1.6; }
.e3-sober-table { overflow: hidden; border: 1px solid var(--line2); border-radius: 15px; }
.e3-sober-table div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line2); }
.e3-sober-table div:last-child { border: 0; }
.e3-sober-table b, .e3-sober-table span { padding: 14px; font-size: 13px; }
.e3-sober-table b { background: #eef9f7; }
.e3-warning { padding: 22px; border: 1px solid #eed49b; border-radius: 15px; color: #5a4816; background: #fffaf0; }
.e3-warning p { margin: 5px 0 0; color: inherit; }
.e3-service-next { margin-top: 42px; padding: 28px 30px; border: 1px solid #b9e5e7; border-radius: 24px; background: linear-gradient(135deg, #effcfc 0%, #fff 72%); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.e3-service-next > div { min-width: 0; }
.e3-service-next span { display: inline-block; margin-bottom: 7px; color: #07899a; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.e3-service-next h2, .e3-service-next h3 { margin: 0 0 8px; color: #0d2742; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.e3-service-next p { margin: 0; color: #526579; }
.e3-service-next .button { flex: 0 0 auto; text-align: center; }

.e3-search-hero { padding-bottom: 42px; }
.e3-search-hero .container > h1 { max-width: 850px; }
.e3-search-hero .container > p { max-width: 760px; }
.e3-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.e3-result-head h2 { margin: 0; }
.e3-result-head p { margin: 4px 0 0; color: var(--muted); }

.e3-choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 42px; padding: 16px; border-radius: 18px; background: #eaf8f6; }
.e3-choice-cards a { padding: 19px; border: 1px solid var(--line2); border-radius: 13px; background: #fff; }
.e3-choice-cards b, .e3-choice-cards span { display: block; }
.e3-choice-cards span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.e3-table-title { margin: 0 0 20px; }
.e3-compare-fit, .e3-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.e3-compare-fit article, .e3-rule-grid article { padding: 25px; border: 1px solid var(--line2); border-radius: 18px; background: #fff; }
.e3-compare-fit article:first-child { background: #fff6f8; }
.e3-compare-fit article:last-child, .e3-rule-grid article { background: #eef9f7; }
.e3-compare-fit h2, .e3-rule-grid h2 { margin: 0 0 10px; font-size: 23px; }
.e3-compare-fit li, .e3-rule-grid li { margin: 6px 0; color: #29445a; }
.e3-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding: 22px; border: 1px solid var(--line2); border-radius: 16px; }
.e3-sources h2 { flex-basis: 100%; margin: 0; font-size: 21px; }
.e3-sources a { color: var(--teal3); font-size: 12px; font-weight: 850; }
.e3-sources span { margin-left: auto; color: var(--muted); font-size: 11px; }

@media (max-width: 1050px) {
  .e3-home-hero-grid { grid-template-columns: 140px minmax(0, 1fr) 140px; }
  .e3-home-copy h1 { font-size: 38px; }
  .e3-home-person img:first-child, .e3-home-desk img:first-child { width: 140px; }
  .e3-home-person img:last-child { left: 0; height: 245px; }
  .e3-home-desk img:last-child { top: 160px; right: 0; height: 125px; }
  .e3-route-grid { grid-template-columns: repeat(3, 1fr); }
  .e3-step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .e3-home-hero { padding-top: 0; }
  .e3-home-hero-grid { display: block; }
  .e3-home-person, .e3-home-desk { display: none; }
  .e3-home-copy { padding: 45px 0 8px; }
  .e3-home-copy h1 { font-size: 36px; }
  .e3-title-segment { display: block; }
  .e3-home-copy h1 > wbr, .e3-rescue h2 > wbr { display: none; }
  .e3-filter { padding: 15px; border-radius: 17px; }
  .e3-filter-title { align-items: flex-start; flex-wrap: wrap; }
  .e3-filter-title small { width: 100%; margin: -4px 0 0 43px; }
  .e3-filter-grid, .e3-keyword-row { grid-template-columns: 1fr; }
  .e3-keyword-row .button { width: 100%; }
  .e3-rank-row { grid-template-columns: 38px 78px 1fr; gap: 10px; }
  .e3-rank-row img { width: 78px; height: 70px; }
  .e3-rank-row h3 { font-size: 14px; line-height: 1.45; }
  .e3-rank-row p { display: none; }
  .e3-rescue { grid-template-columns: 1fr; }
  .e3-rescue > div { padding: 28px; }
  .e3-rescue h2 { font-size: 29px; }
  .e3-rescue-title-part { display: block; }
  .e3-rescue img { min-height: 220px; max-height: 240px; }
  .e3-route-grid, .e3-three, .e3-two, .e3-ai-split, .e3-mechanism-grid, .e3-compare-fit, .e3-rule-grid, .e3-choice-cards { grid-template-columns: 1fr; }
  .e3-route-grid { grid-template-columns: 1fr 1fr; }
  .e3-step-grid { grid-template-columns: 1fr; }
  .e3-mini-facts { grid-template-columns: 1fr; }
  .e3-flow { align-items: stretch; flex-direction: column; }
  .e3-flow i { transform: rotate(90deg); text-align: center; }
  .e3-service-next { align-items: stretch; flex-direction: column; padding: 22px 20px; }
  .e3-service-next .button { width: 100%; }
  .e3-sober-table div { grid-template-columns: 1fr; }
  .e3-result-head { flex-direction: column; }
  .e3-sources span { width: 100%; margin-left: 0; }
}
