/* 物流の未来.jp — 内部ページ（記事一覧 / 記事詳細 / 比較記事）theme A 用スタイル */

/* nav on white pages */
.theme-a .nav.solid { border-bottom: 1px solid var(--line); }

/* page nav helper (cross-page links) */
.pagenav {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 9999;
  display: flex; gap: 4px; padding: 5px; border-radius: 12px;
  background: rgba(14,21,48,.92); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
}
.pagenav a {
  font-family: var(--sans); font-weight: 700; font-size: 12.5px; text-decoration: none;
  padding: 9px 15px; border-radius: 8px; color: #c7cce0; transition: .2s; white-space: nowrap;
}
.pagenav a.on { background: var(--accent-grad); color: #fff; }
.pagenav a:hover:not(.on) { color: #fff; }

/* breadcrumb */
.crumb { display: flex; align-items: center; gap: 9px; font-family: var(--grotesk); font-size: 12px; color: var(--ink-mute); flex-wrap: wrap; }
.crumb .sep { opacity: .5; }
.crumb .cur { color: var(--ink-soft); }

/* page hero (inner) */
.page-hero { padding: 36px 64px 0; }
.page-hero h1 { font-family: var(--mincho); font-weight: 700; font-size: 38px; line-height: 1.35; letter-spacing: .02em; margin: 16px 0 0; }
.page-hero .desc { font-size: 15px; line-height: 1.9; color: var(--ink-soft); margin-top: 16px; max-width: 720px; }
.count-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* =========================== 記事一覧 =========================== */
.list-layout { display: grid; grid-template-columns: 244px 1fr; gap: 48px; padding: 44px 64px 0; align-items: start; }
.side-block { margin-bottom: 36px; }
.side-block h3 { font-family: var(--mincho); font-weight: 700; font-size: 16px; margin: 0 0 14px; }
.side-rule { height: 1px; background: var(--line); margin-bottom: 14px; }
.side-cat { display: flex; flex-direction: column; gap: 11px; }
.side-cat a { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); transition: color .2s; cursor: pointer; }
.side-cat a > span:first-child { white-space: nowrap; }
.side-cat a:hover { color: var(--accent-deep); }
.side-cat a.on { color: var(--accent-deep); font-weight: 700; }
.side-cat .n { font-family: var(--grotesk); font-size: 12px; color: var(--ink-mute); }
.side-links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.side-links span { cursor: pointer; transition: color .2s; }
.side-links span:hover { color: var(--accent-deep); }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.sortbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.sortbar .ct { font-family: var(--grotesk); font-size: 12.5px; color: var(--ink-mute); }
.sortpills { display: flex; gap: 4px; background: var(--mist); border-radius: 999px; padding: 4px; }
.sortpills button { font-family: var(--sans); font-size: 12.5px; font-weight: 600; border: none; background: transparent; color: var(--ink-soft); padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: .2s; }
.sortpills button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px -3px rgba(0,0,0,.2); }

.list-feature { display: grid; grid-template-columns: 280px 1fr; gap: 26px; padding: 24px; background: var(--mist); border-radius: 16px; margin-bottom: 30px; align-items: center; }
.list-feature .photo { aspect-ratio: 16/10; }
.list-feature h3 { font-family: var(--mincho); font-weight: 700; font-size: 23px; line-height: 1.45; margin: 12px 0; }

.art-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.art-row .photo { aspect-ratio: 16/10.5; }
.art-row .tags { display: flex; gap: 7px; margin-bottom: 11px; }
.art-row h3 { font-family: var(--mincho); font-weight: 600; font-size: 19px; line-height: 1.5; margin: 0 0 10px; transition: color .2s; }
.art-row:hover h3 { color: var(--accent-deep); }
.art-row .row-meta { display: flex; justify-content: space-between; align-items: center; }
.art-row .stat { display: flex; gap: 14px; }

.pager { display: flex; gap: 8px; justify-content: center; padding: 40px 0 0; }
.pager a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; font-family: var(--grotesk); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; transition: .2s; }
.pager a:hover { border-color: var(--navy); }
.pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* =========================== 記事詳細 =========================== */
.detail-layout { display: grid; grid-template-columns: 220px minmax(0,720px) 240px; gap: 48px; padding: 44px 64px 0; justify-content: center; align-items: start; }
.toc { position: sticky; top: 28px; }
.toc .lbl { font-family: var(--grotesk); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; border-left: 2px solid var(--line); padding-left: 16px; }
.toc li { font-size: 13px; color: var(--ink-soft); cursor: pointer; transition: color .2s; }
.toc li.on { color: var(--accent-deep); font-weight: 700; }
.toc .prog-lbl { font-family: var(--grotesk); font-size: 11px; color: var(--ink-mute); margin: 22px 0 8px; }
.toc .prog { height: 5px; background: var(--mist-2); border-radius: 999px; overflow: hidden; }
.toc .prog i { display: block; height: 100%; width: 42%; background: var(--accent-grad); }

.article-head .tags { display: flex; gap: 8px; }
.article-head h1 { font-family: var(--mincho); font-weight: 700; font-size: 36px; line-height: 1.45; letter-spacing: .02em; margin: 18px 0 22px; }
.byline { display: flex; align-items: center; gap: 14px; }
.byline .av { width: 44px; height: 44px; border-radius: 999px; background: var(--mist-2); border: 1px solid var(--line); }
.byline .nm { font-size: 13.5px; font-weight: 700; }
.byline .role { font-family: var(--grotesk); font-size: 11.5px; color: var(--ink-mute); }
.byline .share { margin-left: auto; display: flex; gap: 8px; }
.byline .share span { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; font-family: var(--grotesk); font-size: 12px; cursor: pointer; transition: .2s; }
.byline .share span:hover { border-color: var(--navy); }

.cover { aspect-ratio: 16/8.4; margin: 28px 0 0; }

.prose { font-size: 15.5px; line-height: 2; color: #2c3147; }
.prose > * { margin: 0 0 22px; }
.prose .lead-p { font-size: 16.5px; line-height: 2.05; }
.prose h2 { font-family: var(--mincho); font-weight: 700; font-size: 25px; line-height: 1.5; color: var(--ink); border-left: 4px solid var(--accent); padding-left: 14px; margin: 40px 0 20px; }
.prose .callout { background: var(--mist); border-radius: 14px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.prose .callout .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(240,132,26,.12); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; }
.prose .callout h4 { font-family: var(--mincho); font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.prose .callout p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.prose figure { margin: 0 0 14px; }
.prose figure .photo { aspect-ratio: 16/8.6; }
.prose figcaption { font-family: var(--grotesk); font-size: 12px; color: var(--ink-mute); text-align: center; margin-top: 10px; }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--mist); padding: 18px 24px; font-family: var(--mincho); font-size: 19px; line-height: 1.7; color: var(--ink); margin: 0 0 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.prose th { background: var(--mist); font-weight: 700; }
.prose td .ck { color: var(--accent-deep); font-weight: 700; }
.inline-cta { background: var(--navy); border-radius: 16px; padding: 24px; display: flex; align-items: center; gap: 20px; }
.inline-cta .photo { width: 90px; height: 116px; flex-shrink: 0; }
.inline-cta h4 { font-family: var(--mincho); font-weight: 700; font-size: 17px; color: #fff; margin: 0 0 7px; }
.inline-cta p { margin: 0; font-size: 13px; color: #c7cce0; }
.author-card { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.author-card .av { width: 64px; height: 64px; border-radius: 999px; background: var(--mist-2); border: 1px solid var(--line); flex-shrink: 0; }
.author-card h4 { font-family: var(--mincho); font-weight: 700; font-size: 17px; margin: 0 0 6px; }

.rail { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 26px; }
.rail .lbl { font-family: var(--grotesk); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.rail-rank { display: flex; flex-direction: column; gap: 14px; }
.rail-rank a { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.rail-rank a:hover h5 { color: var(--accent-deep); }
.rail-rank .photo { width: 64px; height: 48px; flex-shrink: 0; }
.rail-rank h5 { font-family: var(--mincho); font-weight: 600; font-size: 13px; line-height: 1.45; margin: 0; transition: color .2s; }
.rail-cta { background: var(--navy); border-radius: 16px; padding: 22px; }
.rail-cta h4 { font-family: var(--mincho); font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 8px; }
.rail-cta p { font-size: 13px; color: #c7cce0; margin: 0 0 16px; line-height: 1.7; }

/* =========================== 比較記事 =========================== */
.cmp-filter { background: var(--mist); border-radius: 16px; padding: 24px; margin: 32px 64px 0; }
.cmp-filter h3 { font-family: var(--mincho); font-weight: 700; font-size: 18px; margin: 0 0 16px; }
.cmp-filter .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.cmp-filter .opts button { font-family: var(--sans); font-weight: 600; font-size: 13.5px; padding: 10px 18px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; transition: .2s; }
.cmp-filter .opts button:hover { border-color: var(--navy); }

.cmp-tbl-wrap { padding: 24px 64px 0; }
.cmp-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cmp-tbl th, .cmp-tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-tbl thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .02em; }
.cmp-tbl tbody tr:last-child td { border-bottom: none; }
.cmp-tbl tbody tr.top { background: #fff8ef; }
.cmp-tbl .svc { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cmp-tbl .logo { width: 30px; height: 30px; border-radius: 7px; background: var(--mist-2); border: 1px solid var(--line); flex-shrink: 0; }
.cmp-tbl .rk { font-family: var(--grotesk); font-weight: 700; color: var(--accent-deep); }
.cmp-tbl .ck { color: var(--accent-deep); font-weight: 700; }
.cmp-tbl .dlbtn { background: var(--accent-grad); color: #fff; border: none; border-radius: 8px; padding: 8px 14px; font-family: var(--sans); font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }

.cmp-cards { display: flex; flex-direction: column; gap: 24px; padding: 24px 64px 0; }
.cmp-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cmp-card-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: var(--mist); }
.cmp-card-head.top { background: var(--navy); }
.cmp-card-head.top h3, .cmp-card-head.top .score-l { color: #fff; }
.cmp-card-head .num { width: 38px; height: 38px; border-radius: 999px; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-family: var(--grotesk); font-weight: 700; font-size: 16px; }
.cmp-card-head h3 { font-family: var(--mincho); font-weight: 700; font-size: 21px; margin: 0; white-space: nowrap; }
.cmp-card-head .score { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cmp-card-head .score-l { font-size: 13px; font-weight: 600; }
.cmp-card-head .score-n { font-family: var(--grotesk); font-weight: 700; font-size: 20px; color: var(--accent-deep); }
.cmp-card-body { display: grid; grid-template-columns: 200px 1fr 196px; gap: 24px; padding: 24px; align-items: center; }
.cmp-card-body .photo { aspect-ratio: 4/2.8; }
.cmp-specs { display: flex; gap: 30px; margin: 14px 0; }
.cmp-specs .sl { font-family: var(--grotesk); font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }
.cmp-specs .sv { font-family: var(--mincho); font-weight: 700; font-size: 17px; margin-top: 4px; }
.cmp-pros { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp-pros .hl { font-family: var(--grotesk); font-size: 11px; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; }
.cmp-pros .good { color: var(--accent-deep); }
.cmp-pros .bad { color: var(--ink-mute); }
.cmp-pros p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.cmp-cta-col { display: flex; flex-direction: column; gap: 12px; }
.cmp-cta-col .btn { justify-content: center; }

.how { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 24px 64px 0; }
.how-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.how-card .h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.how-card .n { width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--grotesk); font-weight: 700; }
.how-card h4 { font-family: var(--mincho); font-weight: 700; font-size: 16px; margin: 0; }
.how-card p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }

.leadgen { margin: 64px 64px 0; background: var(--navy); border-radius: 20px; padding: 40px; display: flex; align-items: center; gap: 30px; position: relative; overflow: hidden; }
.leadgen::after { content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background: radial-gradient(circle, rgba(240,132,26,.25), transparent 65%); }
.leadgen h2 { font-family: var(--mincho); font-weight: 700; font-size: 28px; color: #fff; margin: 0 0 10px; position: relative; }
.leadgen p { font-size: 14px; color: #c7cce0; margin: 0; position: relative; }
