:root {
    --ed-ink: #17243a;
    --ed-text: #344054;
    --ed-muted: #667085;
    --ed-paper: #f7f1e6;
    --ed-paper-light: #fffdf9;
    --ed-line: rgba(23, 36, 58, .14);
    --ed-orange: #c97917;
    --ed-green: #567a69;
    --ed-blue: #315f89;
    --ed-blue-soft: #edf4fa;
    --ed-radius: 22px;
    --ed-shadow: 0 14px 36px rgba(23, 36, 58, .08);
}

html { scroll-behavior: smooth; }
body { background: #faf7f1; color: var(--ed-ink); }
.editorial-index,
.blog-article-page,
.owl-diary-page {
    background:
        radial-gradient(circle at 92% 3%, rgba(201, 121, 23, .07), transparent 22rem),
        linear-gradient(180deg, #fffdf9 0, #f8f4ec 58%, #fffdf9 100%);
    color: var(--ed-ink);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-feature-settings: "palt" 1;
}

.editorial-shell { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.editorial-kicker {
    margin: 0 0 .55rem;
    color: var(--ed-green);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
}
.editorial-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    color: #667085;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.6;
}
.editorial-breadcrumb a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; }
.editorial-breadcrumb a:hover { color: var(--ed-blue); text-decoration-color: currentColor; }

/* =========================================================
   Blog index
   ========================================================= */
.editorial-hero {
    padding: 6rem 0 3.2rem;
    border-bottom: 1px solid var(--ed-line);
    background: linear-gradient(145deg, rgba(255,253,249,.96), rgba(246,239,226,.92));
}
.editorial-hero--compact-index { padding-bottom: 3.6rem; }
.editorial-hero__content { max-width: 890px; margin-top: 1.7rem; }
.editorial-hero h1 {
    margin: 0;
    max-width: 900px;
    color: var(--ed-ink);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(2rem, 4.6vw, 3.45rem);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: .01em;
    text-wrap: pretty;
}
.editorial-hero h1 em {
    color: var(--ed-blue);
    font-style: normal;
    box-shadow: inset 0 -.35em 0 rgba(229, 181, 105, .28);
}
.editorial-hero__lead {
    max-width: 790px;
    margin: 1.35rem 0 0;
    color: var(--ed-text);
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    font-weight: 500;
    line-height: 1.9;
}
.editorial-hero__count {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: baseline;
    margin: 1.25rem 0 0;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: #fff;
    color: var(--ed-muted);
    font-size: .88rem;
    font-weight: 700;
    box-shadow: 0 5px 16px rgba(23,36,58,.05);
}
.editorial-hero__count strong { color: var(--ed-ink); font-size: 1rem; font-weight: 900; }

.editorial-main { padding-block: 2.4rem 7rem; }
.editorial-section { margin-bottom: 4.7rem; }
.editorial-section--compact { margin-bottom: 4.2rem; }
.editorial-section__head {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.55rem;
    padding-bottom: .95rem;
    border-bottom: 1px solid var(--ed-line);
}
.editorial-section__head > * { min-width: 0; }
.editorial-section__head h2 {
    margin: 0;
    color: var(--ed-ink);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: .01em;
}
.editorial-section__head > p {
    max-width: 330px;
    margin: 0;
    color: var(--ed-muted);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.75;
    text-align: right;
}

/* Owl diary banner high on the blog index */
.editorial-diary-banner {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    min-height: 250px;
    overflow: hidden;
    margin-bottom: 4.4rem;
    border: 1px solid rgba(23,36,58,.15);
    border-radius: 24px;
    background: #1d304d;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--ed-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.editorial-diary-banner:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(23,36,58,.14); }
.editorial-diary-banner__visual { position: relative; min-height: 250px; overflow: hidden; }
.editorial-diary-banner__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 56%, rgba(29,48,77,.72));
}
.editorial-diary-banner__visual > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.editorial-diary-banner__owl {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 10px;
    width: 92px;
    height: auto;
    filter: drop-shadow(0 10px 14px rgba(0,0,0,.2));
}
.editorial-diary-banner__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.35rem;
}
.editorial-diary-banner__label { color: #f4c67f; font-size: .82rem; font-weight: 900; }
.editorial-diary-banner__body > strong {
    margin-top: .55rem;
    font-size: clamp(1.45rem, 2.7vw, 2.2rem);
    font-weight: 900;
    line-height: 1.45;
    text-wrap: pretty;
}
.editorial-diary-banner__text {
    display: block;
    max-width: 620px;
    margin-top: .75rem;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
}
.editorial-diary-banner__link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    width: max-content;
    min-height: 48px;
    margin-top: 1rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 900;
}

/* Concern links */
.editorial-trouble-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--ed-line);
}
.editorial-trouble-link {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) 24px;
    gap: .9rem;
    align-items: center;
    min-height: 86px;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--ed-line);
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}
.editorial-trouble-link:nth-child(odd) { border-right: 1px solid var(--ed-line); }
.editorial-trouble-link:hover { background: rgba(255,255,255,.7); }
.editorial-trouble-link__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #edf3ef;
    color: var(--ed-green);
    font-size: .86rem;
    font-weight: 900;
}
.editorial-trouble-link__content { min-width: 0; }
.editorial-trouble-link__content strong {
    display: block;
    color: var(--ed-ink);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.55;
}
.editorial-trouble-link__content small {
    display: block;
    margin-top: .18rem;
    color: var(--ed-muted);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.55;
}
.editorial-trouble-link__arrow { color: var(--ed-blue); font-size: 1.1rem; font-weight: 900; }

/* Recommended three articles */
.editorial-recommended-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.editorial-recommended-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ed-line);
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(23,36,58,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.editorial-recommended-card:hover { transform: translateY(-2px); box-shadow: var(--ed-shadow); }
.editorial-recommended-card__visual { display: block; aspect-ratio: 3/2; overflow: hidden; background: #e8dfcf; }
.editorial-recommended-card__visual img { width: 100%; height: 100%; object-fit: cover; }
 .editorial-recommended-card__visual.is-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 26%, rgba(86,122,105,.16), transparent 42%),
        linear-gradient(145deg, #f0e7d7, #e8dfcf);
    color: rgba(23,36,58,.52);
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: .08em;
}
.editorial-recommended-card__visual.is-placeholder::after {
    content: "";
    position: absolute;
    right: 5%;
    bottom: -8%;
    width: 44%;
    aspect-ratio: 1;
    background: url('/img/top/line_float_owl-384.webp') center/contain no-repeat;
    opacity: .22;
    transform: rotate(3deg);
}
.editorial-recommended-card__visual.is-placeholder b { position: relative; z-index: 1; text-shadow: 0 1px 0 rgba(255,255,255,.65); }
.editorial-recommended-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.05rem 1.1rem 1.2rem; }
.editorial-meta { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--ed-muted); font-size: .76rem; font-weight: 700; }
.editorial-recommended-card__body > strong {
    display: block;
    margin-top: .55rem;
    color: var(--ed-ink);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.6;
    text-wrap: pretty;
}
.editorial-recommended-card__link { margin-top: auto; padding-top: .85rem; color: var(--ed-blue); font-size: .84rem; font-weight: 900; }

/* Compact article archive */
.editorial-accordions { display: grid; gap: .75rem; }
.editorial-accordion {
    scroll-margin-top: 7rem;
    overflow: clip;
    border: 1px solid var(--ed-line);
    border-radius: 16px;
    background: rgba(255,255,255,.78);
}
.editorial-accordion summary {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto 32px;
    gap: .85rem;
    align-items: center;
    min-height: 70px;
    padding: .9rem 1.1rem;
    cursor: pointer;
    list-style: none;
}
.editorial-accordion summary::-webkit-details-marker { display: none; }
.editorial-accordion__title { color: var(--ed-ink); font-size: 1.08rem; font-weight: 900; line-height: 1.45; }
.editorial-accordion__count { color: var(--ed-muted); font-size: .8rem; font-weight: 800; white-space: nowrap; }
.editorial-accordion__icon { position: relative; width: 30px; height: 30px; border: 1px solid var(--ed-line); border-radius: 50%; background: #fff; }
.editorial-accordion__icon::before,
.editorial-accordion__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; border-radius: 2px; background: var(--ed-ink); transform: translate(-50%,-50%); }
.editorial-accordion__icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .2s ease; }
.editorial-accordion[open] .editorial-accordion__icon::after { transform: translate(-50%,-50%) rotate(0); }
.editorial-accordion__body { display: grid; grid-template-columns: 1fr; padding: 0 .8rem .8rem; }
.editorial-row {
    display: grid;
    grid-template-columns: 96px minmax(0,1fr) 24px;
    gap: .9rem;
    align-items: center;
    min-height: 92px;
    padding: .7rem .55rem;
    border-top: 1px solid rgba(23,36,58,.1);
    color: inherit;
    text-decoration: none;
}
.editorial-row:hover { background: #fffdfa; }
.editorial-row__thumb { width: 96px; aspect-ratio: 3/2; overflow: hidden; border-radius: 10px; background: #e9dfcf; }
.editorial-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.editorial-row__thumb--type { display: grid; place-items: center; color: rgba(23,36,58,.34); font-size: 1.4rem; font-weight: 900; }
.editorial-row__content { min-width: 0; }
.editorial-row strong { display: block; margin-top: .25rem; color: var(--ed-ink); font-size: 1rem; font-weight: 900; line-height: 1.55; text-wrap: pretty; }
.editorial-row__arrow { color: var(--ed-blue); font-weight: 900; }

.editorial-safe-cta {
    display: grid;
    justify-items: center;
    padding: clamp(2.1rem, 5vw, 3.5rem);
    border: 1px solid #d9e4dd;
    border-radius: 22px;
    background: linear-gradient(135deg, #edf4ef, #fff9ef);
    text-align: center;
}
.editorial-safe-cta h2 {
    margin: .1rem 0 .9rem;
    color: var(--ed-ink);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 900;
    line-height: 1.5;
}
.editorial-safe-cta > p:not(.editorial-kicker) { max-width: 760px; margin: 0; color: var(--ed-text); font-size: 1rem; font-weight: 500; line-height: 1.9; }
.editorial-safe-cta a {
    display: inline-grid;
    place-items: center;
    min-height: 52px;
    margin-top: 1.35rem;
    padding: .85rem 1.45rem;
    border-radius: 999px;
    background: #06c755;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(6,199,85,.2);
}

/* =========================================================
   Learning article detail
   ========================================================= */
.blog-article-page { --article-width: 1100px; }
.article-cover-head {
    padding: 6rem 0 3rem;
    border-bottom: 1px solid var(--ed-line);
    background:
        radial-gradient(circle at 92% 28%, rgba(49,95,137,.1), transparent 18rem),
        linear-gradient(145deg, #fffdf9, #f5eee2);
}
.article-cover-shell,
.article-content-shell,
.article-cover-media-wrap { width: min(var(--article-width), calc(100% - 40px)); margin-inline: auto; }
.article-cover-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
    margin-top: 1.8rem;
}
.article-cover-copy { min-width: 0; }
.article-cover-meta { display: flex; flex-wrap: wrap; gap: .55rem .8rem; align-items: center; color: var(--ed-muted); font-size: .8rem; font-weight: 700; }
.article-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--article-soft);
    color: var(--article-accent);
    font-size: .78rem;
    font-weight: 900;
}
.article-cover-head h1 {
    margin: 1rem 0 0;
    max-width: 850px;
    color: var(--ed-ink);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(2rem, 4.8vw, 3.7rem);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: .005em;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}
.article-cover-lead {
    max-width: 790px;
    margin: 1.25rem 0 0;
    color: var(--ed-text);
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    font-weight: 500;
    line-height: 1.95;
}
.article-cover-guide {
    padding: 5rem 1.15rem 1.15rem;
    border: 1px solid #ded5c5;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    text-align: center;
}
.article-cover-guide img { display: block; width: 108px; height: auto; margin: -5.5rem auto .4rem; filter: drop-shadow(0 10px 14px rgba(23,36,58,.12)); }
.article-cover-guide p { margin: 0; color: var(--ed-text); font-size: .84rem; font-weight: 500; line-height: 1.75; }
.article-cover-guide strong { color: var(--ed-ink); font-size: .92rem; font-weight: 900; }

.article-cover-media-wrap { padding-top: 2rem; }
.article-eyecatch--cover {
    width: min(820px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: #ece4d8;
    box-shadow: var(--ed-shadow);
}
.article-eyecatch--cover img { display: block; width: 100%; height: auto; }

.article-content-shell { padding-block: 3rem 7rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 730px) minmax(230px, 270px); gap: 3.5rem; align-items: start; justify-content: center; }
.article-paper,
.article-paper-inner,
.article-opening-stack,
.article-body { min-width: 0; max-width: 100%; }
.article-paper { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.article-paper-inner { padding: 0; }
.article-opening-stack { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }

.article-reading-guide {
    padding: 1.25rem 1.35rem 1.35rem;
    border: 1px solid #d8e4dd;
    border-radius: 18px;
    background: #f4f8f5;
}
.article-reading-guide[hidden] { display: none; }
.article-reading-guide__head { display: flex; gap: .75rem; align-items: center; }
.article-reading-guide__head img { width: 58px; height: auto; }
.article-reading-guide__head span { display: block; color: var(--ed-green); font-size: .74rem; font-weight: 900; }
.article-reading-guide__head h2 { margin: .12rem 0 0; color: var(--ed-ink); font-size: 1.2rem; font-weight: 900; line-height: 1.45; }
.article-reading-guide ul { display: grid; gap: .55rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.article-reading-guide li { position: relative; padding-left: 1.4rem; color: var(--ed-text); font-size: 1rem; font-weight: 700; line-height: 1.65; }
.article-reading-guide li::before { content: "✓"; position: absolute; left: 0; color: var(--ed-green); font-weight: 900; }

.article-callout { box-shadow: none; }
.article-callout--answer {
    display: grid;
    grid-template-columns: 62px minmax(0,1fr);
    gap: 1rem;
    align-items: start;
    margin: 0;
    padding: 1.35rem;
    border: 1px solid rgba(49,95,137,.2);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ed-blue-soft), #fffdf9);
}
.article-owl-avatar {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 0;
    background: transparent url('/img/top/line_float_owl-384.webp') center/contain no-repeat;
    box-shadow: none;
    color: transparent;
    font-size: 0;
}
.article-callout__label {
    display: inline-block;
    margin-bottom: .45rem;
    color: var(--ed-blue);
    font-family: "Noto Sans JP", sans-serif;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: none;
}
.article-callout--answer .article-callout__text {
    margin: 0;
    color: var(--ed-ink);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1.06rem, 2vw, 1.28rem);
    font-weight: 800;
    line-height: 1.85;
}
.article-callout--empathy,
.article-callout--expert {
    border-radius: 16px;
    background: #fffaf0;
}
.article-callout--expert { grid-template-columns: 56px minmax(0,1fr); }
.article-callout__title { color: var(--ed-ink); font-family: "Noto Sans JP", sans-serif; font-size: 1.1rem; font-weight: 900; line-height: 1.65; }
.article-callout__text { color: var(--ed-text); font-size: 1rem; font-weight: 500; line-height: 1.9; }
.article-marker { box-shadow: inset 0 -.45em 0 rgba(229,181,105,.28); }

.article-mobile-toc {
    margin: 0;
    border: 1px solid var(--ed-line);
    border-radius: 14px;
    background: #fff;
}
.article-mobile-toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: .8rem 1rem;
    color: var(--ed-ink);
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
}
.article-mobile-toc summary::after { content: "＋"; font-size: 1.2rem; }
.article-mobile-toc[open] summary::after { content: "−"; }
.article-mobile-toc .article-toc { padding: 0 .9rem .9rem; }

.article-body {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ed-text);
    font-weight: 500;
    line-height: 1.95;
    letter-spacing: .01em;
}
.article-body .article-section { margin: 0 0 5rem; scroll-margin-top: 7rem; }
.article-body .article-section > h2,
.article-next-action > h2,
.article-references > h2 {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: .8rem;
    align-items: start;
    margin: 0 0 1.55rem;
    padding: 0 0 1rem;
    border-bottom: 2px solid rgba(23,36,58,.12);
    color: var(--ed-ink);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: .005em;
    text-wrap: pretty;
}
.article-body .article-section > h2::before {
    content: attr(data-num);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-top: .12em;
    border-radius: 12px;
    background: var(--article-accent);
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: .72rem;
    font-weight: 900;
    box-shadow: none;
}
.article-body h3 {
    margin: 2.3rem 0 1rem;
    padding-left: .9rem;
    color: var(--ed-ink);
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1.2rem, 2.3vw, 1.48rem);
    font-weight: 900;
    line-height: 1.6;
    letter-spacing: .005em;
}
.article-body h3::before { width: 4px; height: 1.25em; top: .25em; }
.article-body p,
.article-body li,
.article-next-action p,
.article-next-action li,
.article-references p,
.article-references li {
    color: #344054;
    font-size: clamp(1.04rem, 1.5vw, 1.12rem);
    font-weight: 500;
    line-height: 1.95;
    letter-spacing: .005em;
}
.article-body p { margin: 0 0 1.55rem; }
.article-body a { color: #205b89; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.article-plain-list { margin: 1.35rem 0 1.9rem; padding: 1.15rem 1.2rem; border: 1px solid #e4ddd2; border-radius: 14px; background: #fffdf9; }
.article-plain-list li { margin-bottom: .65rem; padding-left: 1.25rem; }
.article-step-card { border-radius: 14px; box-shadow: none; }
.article-step-card p { font-size: 1rem; font-weight: 500; }
.article-checklist { border-radius: 16px; box-shadow: none; }
.article-checklist__label { font-family: "Noto Sans JP", sans-serif; font-size: .78rem; letter-spacing: .04em; text-transform: none; }
.article-checklist__title { font-family: "Noto Sans JP", sans-serif; font-weight: 900; }
.article-checklist li { font-size: 1rem; font-weight: 500; }
.article-status-note,
.article-disclaimer { border-radius: 14px; }

.article-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 1.3rem 0 2rem;
    border: 1px solid var(--ed-line);
    border-radius: 14px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
.article-table-hint { display: none; margin: 0; padding: .65rem .8rem; border-bottom: 1px solid var(--ed-line); background: #f7f9fb; color: #475467; font-size: .82rem !important; font-weight: 700 !important; line-height: 1.5 !important; }
.article-data-table { min-width: 660px; }
.article-data-table th,
.article-data-table td { padding: .85rem; font-size: 1rem; line-height: 1.75; vertical-align: top; }

.article-next-action {
    margin-top: 4rem;
    padding: 1.55rem;
    border: 1px solid #d6e3da;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef5f0, #fffdf9);
    color: var(--ed-ink);
    box-shadow: none;
}
.article-next-action > h2 { display: block; padding-left: 0; color: var(--ed-ink); }
.article-next-action > h2::before { display: none; }
.article-action-list li { background: #fff; color: var(--ed-text); font-size: 1rem; font-weight: 600; }
.article-action-list li::before { color: var(--ed-green); }
.article-references { margin-top: 4rem; }
.article-references > h2 { display: block; padding-left: 0; }
.article-references > h2::before { display: none; }

.article-sidebar { position: sticky; top: 6.5rem; display: block; }
.article-side-card {
    margin: 0;
    padding: 1.1rem;
    border: 1px solid var(--ed-line);
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    box-shadow: none;
}
.article-side-label { color: var(--ed-green); font-size: .76rem; font-weight: 900; letter-spacing: .04em; }
.article-side-heading { display: block; margin: .3rem 0 1rem; color: var(--ed-ink); font-family: "Noto Sans JP", sans-serif; font-size: 1rem; font-weight: 900; line-height: 1.5; }
.article-toc { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.article-toc ol { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.article-toc a { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: .55rem; align-items: start; min-height: 42px; padding: .35rem .25rem; color: #475467; font-size: .82rem; font-weight: 700; line-height: 1.55; text-decoration: none; }
.article-toc a span { color: var(--ed-green); font-size: .72rem; font-weight: 900; }
.article-side-links { display: grid; gap: .25rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--ed-line); }
.article-side-links a { display: flex; align-items: center; min-height: 42px; color: var(--ed-blue); font-size: .82rem; font-weight: 800; text-decoration: none; }

/* Related articles */
.article-related { margin-top: 5.5rem; }
.article-related__head { margin-bottom: 1.3rem; }
.article-related__head > span { color: var(--ed-green); font-size: .78rem; font-weight: 900; }
.article-related__head h2 { margin: .25rem 0 .35rem; color: var(--ed-ink); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 900; line-height: 1.45; }
.article-related__head p { margin: 0; color: var(--ed-muted); font-size: .92rem; font-weight: 500; }
.article-related__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.related-post-card {
    display: grid;
    grid-template-columns: 148px minmax(0,1fr);
    overflow: hidden;
    min-height: 150px;
    border: 1px solid var(--ed-line);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
}
.related-post-card__image { display: block; aspect-ratio: auto; margin: 0; overflow: hidden; border-radius: 0; background: #e8dfcf; }
.related-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.related-post-card__body { display: flex; min-width: 0; flex-direction: column; padding: 1rem; }
.related-post-card__tag { width: max-content; padding: .25rem .55rem; border-radius: 999px; font-size: .7rem; font-weight: 900; }
.related-post-card__body > strong { display: block; margin-top: .55rem; color: var(--ed-ink); font-size: 1rem; font-weight: 900; line-height: 1.55; }
.related-post-card__link { margin-top: auto; padding-top: .7rem; color: var(--ed-blue); font-size: .8rem; font-weight: 900; }

/* Soft consultation block */
.article-consultation {
    display: grid;
    grid-template-columns: 120px minmax(0,1fr);
    gap: 1.4rem;
    align-items: center;
    margin-top: 5rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border: 1px solid #d7e4dc;
    border-radius: 20px;
    background: linear-gradient(135deg, #edf5f0, #fff8eb);
}
.article-consultation__owl img { display: block; width: 110px; height: auto; }
.article-consultation__copy > span { color: var(--ed-green); font-size: .78rem; font-weight: 900; }
.article-consultation h2 { margin: .25rem 0 .65rem; color: var(--ed-ink); font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 900; line-height: 1.5; }
.article-consultation p { margin: 0; color: var(--ed-text); font-size: 1rem; font-weight: 500; line-height: 1.85; }
.article-consultation__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.1rem; }
.article-consultation__actions a { display: inline-grid; place-items: center; min-height: 50px; padding: .75rem 1.15rem; border-radius: 999px; font-size: .92rem; font-weight: 900; text-decoration: none; }
.article-consultation__line { background: #06c755; color: #fff; }
.article-consultation__back { border: 1px solid var(--ed-line); background: #fff; color: var(--ed-blue); }

.article-back-to-top {
    position: fixed;
    z-index: 50;
    right: 16px;
    bottom: 18px;
    display: grid;
    place-items: center;
    min-width: 52px;
    min-height: 52px;
    padding: .5rem .7rem;
    border: 1px solid rgba(23,36,58,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--ed-ink);
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(23,36,58,.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}
.article-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Focus */
.editorial-index a:focus-visible,
.blog-article-page a:focus-visible,
.editorial-accordion summary:focus-visible,
.article-back-to-top:focus-visible {
    outline: 3px solid rgba(49,95,137,.5);
    outline-offset: 3px;
}

@media (min-width: 1024px) {
    .article-mobile-toc { display: none; }
}

@media (max-width: 1023px) {
    .article-layout { grid-template-columns: minmax(0,1fr); }
    .article-sidebar { display: none; }
}

@media (max-width: 820px) {
    .editorial-shell,
    .article-cover-shell,
    .article-content-shell,
    .article-cover-media-wrap { width: min(100% - 28px, 1080px); }
    .editorial-hero { padding: 5.2rem 0 2.7rem; }
    .editorial-main { padding-block: 1.5rem 5.5rem; }
    .editorial-section { margin-bottom: 3.8rem; }
    .editorial-section__head { align-items: flex-start; }
    .editorial-section__head > p { max-width: 260px; }
    .editorial-diary-banner { grid-template-columns: 210px minmax(0,1fr); min-height: 220px; margin-bottom: 3.6rem; }
    .editorial-diary-banner__visual { min-height: 220px; }
    .editorial-diary-banner__body { padding: 1.5rem; }
    .editorial-diary-banner__text { font-size: .92rem; }
    .editorial-recommended-grid { grid-template-columns: 1fr; }
    .editorial-recommended-card { display: grid; grid-template-columns: 180px minmax(0,1fr); }
    .editorial-recommended-card__visual { aspect-ratio: auto; min-height: 150px; }
    .article-cover-head { padding: 5.2rem 0 2.5rem; }
    .article-cover-grid { grid-template-columns: minmax(0,1fr) 150px; gap: 1.5rem; }
    .article-cover-guide { padding: 4.2rem .9rem 1rem; }
    .article-cover-guide img { width: 92px; margin-top: -4.8rem; }
    .article-content-shell { padding-block: 2.3rem 5.5rem; }
}

@media (max-width: 600px) {
    .editorial-shell,
    .article-cover-shell,
    .article-content-shell,
    .article-cover-media-wrap { width: min(100% - 24px, 1080px); }
    .editorial-hero { padding-top: 4.9rem; }
    .editorial-hero h1 { font-size: 1.9rem; line-height: 1.45; }
    .editorial-hero__lead { font-size: 1rem; line-height: 1.85; }
    .editorial-hero__count { border-radius: 14px; }
    .editorial-section__head { display: block; margin-bottom: 1.15rem; }
    .editorial-section__head > p { margin-top: .4rem; max-width: none; text-align: left; }

    .editorial-diary-banner { grid-template-columns: 112px minmax(0,1fr); min-height: 196px; border-radius: 18px; }
    .editorial-diary-banner__visual { min-height: 196px; }
    .editorial-diary-banner__visual::after { background: linear-gradient(90deg, transparent 45%, rgba(29,48,77,.72)); }
    .editorial-diary-banner__owl { right: 4px; bottom: 5px; width: 62px; }
    .editorial-diary-banner__body { padding: 1rem .9rem; }
    .editorial-diary-banner__label { font-size: .75rem; }
    .editorial-diary-banner__body > strong { margin-top: .35rem; font-size: 1.05rem; line-height: 1.55; }
    .editorial-diary-banner__text { display: -webkit-box; overflow: hidden; margin-top: .4rem; font-size: .8rem; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .editorial-diary-banner__link { min-height: 48px; margin-top: .55rem; padding: .45rem 0; border: 0; font-size: .78rem; }

    .editorial-trouble-list { grid-template-columns: 1fr; }
    .editorial-trouble-link:nth-child(odd) { border-right: 0; }
    .editorial-trouble-link { min-height: 76px; padding: .7rem .45rem; }
    .editorial-trouble-link__mark { width: 40px; height: 40px; }
    .editorial-trouble-link__content strong { font-size: 1.05rem; }

    .editorial-recommended-card { grid-template-columns: 112px minmax(0,1fr); min-height: 112px; }
    .editorial-recommended-card__visual { min-height: 112px; }
    .editorial-recommended-card__body { padding: .8rem; }
    .editorial-recommended-card__body > strong { margin-top: .35rem; font-size: 1.125rem; line-height: 1.55; }
    .editorial-recommended-card__link { padding-top: .45rem; font-size: .75rem; }
    .editorial-meta { font-size: .7rem; }

    .editorial-accordion summary { min-height: 64px; padding: .75rem .85rem; }
    .editorial-accordion__title { font-size: 1.05rem; }
    .editorial-row { grid-template-columns: 78px minmax(0,1fr) 18px; min-height: 82px; gap: .65rem; padding: .55rem .25rem; }
    .editorial-row__thumb { width: 78px; }
    .editorial-row strong { font-size: 1.05rem; line-height: 1.55; }
    .editorial-safe-cta { padding: 2rem 1.15rem; }
    .editorial-safe-cta h2 { font-size: 1.5rem; }

    .article-cover-grid { grid-template-columns: 1fr; }
    .article-cover-guide { display: none; }
    .article-cover-head h1 { font-size: 1.9rem; line-height: 1.45; }
    .article-cover-lead { font-size: 1.03rem; line-height: 1.9; }
    .article-cover-media-wrap { padding-top: 1.2rem; }
    .article-eyecatch--cover { border-radius: 14px; }
    .article-content-shell { padding-top: 1.6rem; }
    .article-reading-guide { padding: 1rem; }
    .article-reading-guide__head img { width: 48px; }
    .article-reading-guide__head h2 { font-size: 1.1rem; }
    .article-reading-guide li { font-size: .96rem; }
    .article-callout--answer { grid-template-columns: 52px minmax(0,1fr); padding: 1rem; }
    .article-owl-avatar { width: 52px; height: 52px; }
    .article-callout--answer .article-callout__text { font-size: 1.05rem; }
    .article-body .article-section { margin-bottom: 4.2rem; }
    .article-body .article-section > h2,
    .article-next-action > h2,
    .article-references > h2 { grid-template-columns: 36px minmax(0,1fr); gap: .65rem; font-size: 1.5rem; line-height: 1.55; }
    .article-body .article-section > h2::before { width: 34px; height: 34px; border-radius: 10px; }
    .article-body p,
    .article-body li,
    .article-next-action p,
    .article-next-action li,
    .article-references p,
    .article-references li { font-size: 1.08rem; line-height: 1.95; }
    /* Persona readability lock: 30〜40代保護者のスマホ読書を17px以上に固定 */
    .article-body .article-section > p,
    .article-body .article-section > ul > li,
    .article-body .article-section > ol > li { font-size: 1.08rem; line-height: 1.98; }
    .article-table-hint { display: block; }
    .article-related__grid { grid-template-columns: 1fr; }
    .related-post-card { grid-template-columns: 112px minmax(0,1fr); min-height: 120px; }
    .related-post-card__body { padding: .8rem; }
    .related-post-card__body > strong { font-size: .94rem; }
    .article-consultation { grid-template-columns: 1fr; text-align: left; }
    .article-consultation__owl { display: none; }
    .article-consultation__actions { flex-direction: column; }
    .article-consultation__actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
