/* News and blog additions: reuses the Love-IT palette, type and shared shell. */
.home-news{background:#f6fbfc}
.home-news-layout{display:grid;grid-template-columns:minmax(220px,.68fr) minmax(0,1.7fr);gap:48px;align-items:stretch}
.home-news-intro{padding:30px;border-radius:7px;background:#fff8d9;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.home-news-intro .eyebrow{margin-bottom:8px;color:var(--blue-dark)}
.home-news-intro h2{margin:0;color:var(--navy);font-size:30px;line-height:1.4}
.home-news-intro>p:not(.eyebrow){margin:8px 0 20px;color:#526c79;font-size:15px;line-height:1.7}
.home-news-intro .button{font-size:13px;gap:12px;padding:12px 15px}
.home-news-list{align-self:center}
.home-news-row{display:grid;grid-template-columns:104px 78px minmax(0,1fr) 24px;gap:16px;align-items:center;min-height:66px;border-bottom:1px solid var(--line);padding:12px 3px;transition:color .2s}
.home-news-row:first-child{border-top:1px solid var(--line)}
.home-news-row:hover{color:var(--blue-dark)}
.home-news-row time,.news-row time{font:500 13px "DM Sans","Noto Sans JP",sans-serif;color:#526c79;white-space:nowrap}
.content-category{justify-self:start;border-radius:3px;background:#fff1b8;color:#68551a;font-size:12px;font-weight:700;line-height:1.5;padding:3px 8px;white-space:nowrap}
.home-news-row strong{font-size:15px;line-height:1.7;font-weight:600}
.row-arrow{justify-self:end;color:var(--blue);font-size:22px;transition:transform .2s}
.home-news-row:hover .row-arrow{transform:translateX(3px)}
.home-blog{background:#edf7f9}
.blog-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.blog-card{min-width:0;background:#fff;border:1px solid #dbe9ed;border-radius:7px;overflow:hidden;box-shadow:0 9px 26px rgba(30,76,94,.07);transition:transform .2s,box-shadow .2s}
.blog-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(30,76,94,.12)}
.blog-card>a{display:block;height:100%}
.blog-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#dff1f5}
.blog-card-body{padding:17px 18px 16px}
.blog-card-meta{display:flex;align-items:center;gap:11px;color:#596f79;font-size:13px}
.blog-card-meta time{font-family:"DM Sans","Noto Sans JP",sans-serif;white-space:nowrap}
.blog-category{background:#fff1b8;color:#68551a;border-radius:3px;padding:3px 8px;font-size:12px;font-weight:700;white-space:nowrap}
.blog-card h3{margin:12px 0 18px;color:var(--navy);font-size:17px;line-height:1.65}
.blog-card-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:11px;color:var(--blue-dark);font-size:13px;font-weight:700}
.blog-card-link b{font-size:20px;font-weight:400}
.section-more{display:flex;justify-content:center;margin-top:30px}
.button-outline{background:#fff;color:var(--blue-dark);border:1px solid #b7d4df;padding:13px 22px;gap:18px}
.button-outline:hover{background:#e3f3f7}
/* Editorial page header and breadcrumbs */
.editorial-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#eff9fb,#dff2f6);padding:48px 0 42px}
.editorial-hero:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(8,101,141,.12);border-radius:50%;right:calc((100vw - min(var(--wrap),100vw - 64px))/2 + 60px);top:-130px;box-shadow:0 0 0 30px rgba(8,101,141,.035),0 0 0 70px rgba(8,101,141,.025)}
.editorial-hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:30px}
.editorial-hero .eyebrow{margin:0 0 5px;color:var(--blue-dark)}
.editorial-hero h1{margin:0;color:var(--navy);font-size:36px;line-height:1.35}
.editorial-hero p:not(.eyebrow){margin:8px 0 0;color:#526c79;font-size:16px;line-height:1.7}
.editorial-hero-art{width:118px;height:86px;color:var(--blue-dark);flex:none}
.breadcrumb-wrap{border-bottom:1px solid #e3ecef}
.breadcrumb{display:flex;gap:10px;align-items:center;min-height:48px;color:#607783;font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.breadcrumb a{color:var(--blue-dark)}
.breadcrumb .crumb-sep{color:#96adb7}
/* Archives */
.archive-section{padding:38px 0 70px}
.news-list{border-top:1px solid var(--line)}
.news-row{display:grid;grid-template-columns:118px 88px minmax(0,1fr) 28px;gap:18px;align-items:center;min-height:72px;padding:14px 8px;border-bottom:1px solid var(--line);transition:background .2s,color .2s}
.news-row:hover{background:#f5fbfc;color:var(--blue-dark)}
.news-row strong{font-size:16px;line-height:1.6;font-weight:600}
.news-row .row-arrow{font-size:23px}
.category-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px}
.category-filters a,.category-filters span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 16px;border:1px solid #c9dfe5;border-radius:20px;background:white;color:#385968;font-size:13px;font-weight:600}
.category-filters .is-current{background:var(--blue-dark);border-color:var(--blue-dark);color:#fff}
.archive-blog-grid{row-gap:24px}
.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:38px}
.pagination a,.pagination span{display:grid;place-items:center;min-width:36px;height:36px;padding:0 8px;border:1px solid #d2e3e8;border-radius:4px;background:#fff;color:var(--blue-dark);font:600 14px "DM Sans","Noto Sans JP",sans-serif}
.pagination .is-current{background:var(--blue-dark);border-color:var(--blue-dark);color:#fff}
.pagination .is-disabled{color:#99adb5;background:#f5f9fa}
.pagination .ellipsis{border:0;background:transparent;min-width:20px}
/* Article pages */
.article-shell{max-width:820px;margin:0 auto;padding:48px 0 66px}
.article-meta{display:flex;align-items:center;gap:12px;color:#586e78;font-size:14px}
.article-shell h1{margin:17px 0 26px;color:var(--navy);font-size:clamp(28px,4vw,38px);line-height:1.5;letter-spacing:-.02em}
.article-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:#e1f2f5;margin:0 0 36px}
.article-content{color:#314d5b;font-size:16px;line-height:1.95}
.article-content h2{margin:44px 0 15px;padding-bottom:10px;border-bottom:2px solid #cce7ed;color:var(--navy);font-size:25px;line-height:1.5}
.article-content h3{margin:30px 0 10px;color:var(--navy);font-size:20px;line-height:1.5}
.article-content p{margin:0 0 1.35em}
.article-content strong{color:#153c54;font-weight:700}
.article-content a{color:var(--blue-dark);text-decoration:underline;text-underline-offset:3px}
.article-content ol,.article-content ul{padding-left:1.5em;margin:0 0 1.5em}
.article-content li{padding-left:.25em;margin:.45em 0}
.article-content figure{margin:28px 0}
.article-content figure img{display:block;width:100%;height:auto;border-radius:6px}
.article-content figcaption{margin-top:8px;color:#607783;font-size:13px;text-align:center}
.article-content blockquote{margin:26px 0;padding:20px 24px;border-left:4px solid var(--blue);background:#f0f8fa;color:#49616c}
.article-content blockquote p:last-child{margin-bottom:0}
.article-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px}
.article-content th,.article-content td{border:1px solid #d6e5e9;padding:11px 13px;text-align:left;vertical-align:top}
.article-content th{background:#edf7f9;color:var(--navy)}
.article-note,.article-point{margin:24px 0;padding:18px 20px;border-radius:5px;line-height:1.8}
.article-note{background:#eff7f9;border-left:4px solid var(--blue);color:#3d5c69}
.article-point{background:#fff8d9;border:1px solid #f0dfa0;color:#4e4b35}
.article-point strong{display:block;margin-bottom:4px;color:#735d18}
.article-point strong:before{content:"●";display:inline-block;margin-right:8px;color:#e4b92d;font-size:13px}
.article-utilities{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:38px 0 0;padding-top:22px;border-top:1px solid var(--line)}
.article-back{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 14px;border:1px solid #c8dce2;border-radius:4px;color:var(--blue-dark);font-size:14px;font-weight:700}
.article-prevnext{display:flex;gap:10px}
.article-prevnext a{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid #c8dce2;border-radius:4px;color:var(--blue-dark);font-size:13px;font-weight:600}
.related-section{padding:46px 0;background:#f1f8fa}
.related-section h2{margin:0 0 22px;color:var(--navy);font-size:24px}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.related-card{background:#fff;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.related-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#dff1f5}
.related-card div{padding:12px}
.related-card .blog-category{display:inline-block;font-size:11px}
.related-card h3{margin:8px 0 0;color:var(--navy);font-size:14px;line-height:1.55}
.editorial-cta{padding:34px 0;background:#eaf6f8}
.editorial-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}
.editorial-cta h2{margin:0;color:var(--navy);font-size:23px}
.editorial-cta p{margin:6px 0 0;color:#506b76;font-size:14px}
.editorial-cta .button{flex:none}
@media(max-width:900px){
 .home-news-layout{grid-template-columns:1fr;gap:20px}.home-news-intro{padding:24px}.home-news-intro .button{margin-top:0}
 .archive-blog-grid,.blog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .article-shell{max-width:100%;padding:38px 0 54px}
}
@media(max-width:680px){
 .home-news-layout{gap:14px}.home-news-intro{padding:19px}.home-news-intro h2{font-size:24px}.home-news-intro>p:not(.eyebrow){margin:5px 0 12px;font-size:14px}.home-news-intro .button{min-height:42px}
 .home-news-row{grid-template-columns:94px 72px minmax(0,1fr) 16px;gap:8px;min-height:64px;padding:10px 0}.home-news-row time,.news-row time{font-size:11px}.content-category,.blog-category{font-size:10px;padding:2px 6px}.home-news-row strong{font-size:13px;line-height:1.55}.row-arrow{font-size:18px}
 .blog-card-grid,.archive-blog-grid{grid-template-columns:1fr;gap:14px}.blog-card{display:grid;grid-template-columns:38% minmax(0,1fr)}.blog-card>a{display:contents}.blog-card img{height:auto;min-height:0;aspect-ratio:3/2;object-fit:contain;align-self:start}.blog-card-body{padding:13px 12px}.blog-card-meta{flex-wrap:wrap;gap:6px;font-size:11px}.blog-card h3{font-size:14px;line-height:1.55;margin:8px 0 10px}.blog-card-link{padding-top:7px;font-size:11px}.blog-card-link b{font-size:17px}
 .editorial-hero{padding:34px 0 28px}.editorial-hero:after{right:-135px;top:-160px}.editorial-hero h1{font-size:29px}.editorial-hero p:not(.eyebrow){font-size:14px}.editorial-hero-art{width:75px;height:62px}
 .breadcrumb{min-height:42px;font-size:11px;gap:7px}.archive-section{padding:25px 0 48px}.news-row{grid-template-columns:84px 68px minmax(0,1fr) 18px;gap:8px;min-height:64px;padding:10px 0}.news-row strong{font-size:13px}.news-row .row-arrow{font-size:18px}
 .category-filters{gap:6px;margin-bottom:18px}.category-filters a,.category-filters span{min-height:34px;padding:6px 11px;font-size:12px}
 .pagination{gap:5px;margin-top:28px}.pagination a,.pagination span{min-width:32px;height:32px;font-size:12px}
 .article-shell{padding:27px 0 42px}.article-meta{font-size:12px}.article-shell h1{font-size:27px;margin:12px 0 20px}.article-cover{margin-bottom:25px;border-radius:5px}.article-content{font-size:15px;line-height:1.9}.article-content h2{font-size:22px;margin:34px 0 12px}.article-content h3{font-size:18px;margin:24px 0 9px}.article-content th,.article-content td{padding:8px;font-size:13px}.article-note,.article-point{padding:14px 15px}.article-utilities{align-items:stretch;flex-direction:column}.article-prevnext{display:grid;grid-template-columns:1fr 1fr}.article-back,.article-prevnext a{justify-content:center;font-size:12px}
 .related-section{padding:35px 0}.related-section h2{font-size:21px}.related-grid{grid-template-columns:1fr;gap:10px}.related-card{display:grid;grid-template-columns:35% 1fr}.related-card img{height:100%;aspect-ratio:auto}.related-card div{padding:10px}.related-card h3{font-size:13px}
 .editorial-cta{padding:25px 0}.editorial-cta-inner{align-items:stretch;flex-direction:column}.editorial-cta h2{font-size:20px}.editorial-cta .button{justify-content:center;min-height:48px}
}

/* Automatic blog post contents list */
.article-content .article-toc{margin:30px 0 34px;padding:20px 24px;border:1px solid #d6e8ec;border-left:3px solid var(--blue);border-radius:5px;background:#f5fafb;color:var(--navy)}
.article-content .article-toc .article-toc-title{margin:0 0 12px;padding:0;border:0;color:var(--navy);font-size:18px;line-height:1.5}
.article-content .article-toc ol{display:grid;grid-template-columns:1fr;gap:2px;margin:0;padding:0;list-style:none}
.article-content .article-toc li{margin:0;padding:0}
.article-content .article-toc a{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:start;padding:6px 4px;border-radius:3px;color:#244b5c;text-decoration:none;line-height:1.65}
.article-content .article-toc a:hover{background:#eaf5f7;color:var(--blue-dark)}
.article-content .article-toc-number{color:#b08a22;font-family:"DM Sans","Noto Sans JP",sans-serif;font-size:13px;font-weight:700;letter-spacing:.03em}
.article-content h2[id^="section-"]{scroll-margin-top:100px}
@media(max-width:680px){
  .article-content .article-toc{margin:23px 0 28px;padding:16px 17px}
  .article-content .article-toc .article-toc-title{font-size:16px;margin-bottom:8px}
  .article-content .article-toc a{grid-template-columns:29px minmax(0,1fr);gap:7px;padding:6px 2px;font-size:14px}
  .article-content h2[id^="section-"]{scroll-margin-top:82px}
}


/* Back-to-top control is rendered only with the automatic blog contents list. */
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:25;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:var(--blue-dark);color:#fff;font:600 25px/1 "DM Sans","Noto Sans JP",sans-serif;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px);transition:background-color .18s ease,opacity .18s ease,transform .18s ease,visibility .18s ease}
.back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.back-to-top:hover{background:var(--blue)}
.back-to-top:focus-visible{outline:3px solid #ffd448;outline-offset:3px}
@media(max-width:680px){.back-to-top{right:14px;bottom:max(14px,env(safe-area-inset-bottom));width:42px;height:42px;font-size:22px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}


/* Blog detail covers show the complete 3:2 image inside the article column. */
.article-cover.article-cover-blog{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
