:root{
  --ink:#171717;
  --muted:#687078;
  --line:#d9d8d1;
  --bg:#ecebe5;
  --paper:#fffdf8;
  --soft:#fbfaf4;
  --acid:#c8ff3d;
  --acid-dark:#607900;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,
body{
  max-width:100%;
  overflow-x:hidden;
}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;
  line-height:1.8;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  min-height:66px;
  padding:12px clamp(16px,4vw,36px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:rgba(255,253,248,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}
.site-header::after{
  content:"";
  display:none;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  line-height:1.25;
}
.brand img{
  width:46px;
  height:46px;
  flex:0 0 46px;
  object-fit:cover;
  background:#fffef8;
  border:1px solid var(--ink);
  border-radius:8px;
}
.brand .brand-lockup{
  width:auto;
  height:62px;
  flex:0 0 auto;
  object-fit:contain;
  background:transparent;
  border:0;
  border-radius:0;
  mix-blend-mode:multiply;
  transition:transform .18s ease, opacity .18s ease;
}
.brand:hover .brand-lockup{
  transform:translateY(-1px);
  opacity:.86;
}
.brand-text{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-width:0;
  white-space:nowrap;
}
.brand-main{
  display:inline;
  font-size:24px;
  line-height:1.1;
  font-weight:900;
}
.brand-sub{
  display:inline;
  color:#4d555b;
  font-size:14px;
  font-weight:900;
}
.global-nav{
  display:flex;
  flex:0 0 auto;
  gap:16px;
  color:#4c5358;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}
.global-nav a{
  padding:4px 0;
}
main{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 18px 72px;
}
.hero{
  overflow:hidden;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  min-height:560px;
  background:var(--paper);
  border:1px solid #cfcfca;
  border-radius:8px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
}
.hero-copy{
  align-self:center;
  padding:64px 36px;
}
.label,
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#4f565c;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}
.label{
  margin-bottom:18px;
  padding:3px 10px;
  background:var(--acid);
  border:1px solid #171717;
  border-radius:999px;
  color:#182000;
}
.identity-label{
  flex-direction:row;
  align-items:center;
  gap:9px;
  padding:6px 14px 6px 8px;
  letter-spacing:0;
  line-height:1.25;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.identity-label:hover{
  transform:translateY(-2px);
  box-shadow:2px 3px 0 rgba(23,23,23,.18);
}
.identity-arrow{
  font-size:15px;
  font-weight:900;
  margin-left:2px;
}
.identity-avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid var(--ink);
  background:#fff;
}
.identity-text{
  display:flex;
  flex-direction:column;
  gap:1px;
}
.identity-label strong{
  font-size:15px;
  line-height:1.15;
}
.identity-label small{
  font-size:11px;
  font-weight:900;
}
.kicker::before{
  content:"";
  width:26px;
  height:2px;
  background:currentColor;
}
h1,h2,h3,p{letter-spacing:0}
h1{
  margin:0 0 18px;
  font-size:clamp(36px,4.3vw,52px);
  line-height:1.12;
}
.keep{
  display:inline-block;
  max-width:100%;
}
.hero p{
  max-width:620px;
  margin:0 0 26px;
  color:#4f5960;
  font-size:15px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.top-blog-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:28px;
  align-items:center;
  padding:34px 0 10px;
  border-bottom:1px solid var(--line);
}
.intro-illust{
  width:100%;
  mix-blend-mode:multiply;
}
/* ===== ストーリー型ヒーロー（プレビュー） ===== */
.story-hero{
  padding:40px 0 30px;
  border-bottom:1px solid var(--line);
}
.story-intro .kicker{
  color:var(--acid-dark);
}
.story-intro h1{
  max-width:760px;
  margin:8px 0 26px;
  font-size:clamp(28px,4vw,46px);
  line-height:1.22;
  letter-spacing:.01em;
}
.story-timeline{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:var(--paper);
}
.story-chapter{
  padding:20px 18px 22px;
  border-right:1px solid var(--line);
  position:relative;
}
.story-chapter:last-child{border-right:none}
.story-chapter:nth-child(even){background:var(--soft)}
.story-chapter .chapter-year{
  display:inline-block;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px 12px;
  margin-bottom:12px;
}
.story-chapter h2{
  margin:0 0 8px;
  font-size:20px;
}
.story-chapter p{
  margin:0;
  color:#4c5358;
  font-size:14px;
  line-height:1.85;
}
.story-chapter.is-now{
  background:var(--ink);
}
.story-chapter.is-now .chapter-year{
  color:var(--ink);
  background:var(--acid);
  border-color:var(--acid);
}
.story-chapter.is-now h2{color:#fff}
.story-chapter.is-now p{color:#d7d9d2}
.story-chapter.is-now p b{color:var(--acid)}
.story-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:22px;
}
.top-blog-intro h1{
  max-width:860px;
  margin:10px 0 12px;
  font-size:43px;
  line-height:1.25;
}
.top-blog-intro p{
  max-width:880px;
  margin:0;
  color:#4f5960;
  font-size:15px;
}
.top-blog-intro .identity-label{
  margin:16px 0 0;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 16px;
  border:1px solid var(--ink);
  border-radius:8px;
  font-size:13px;
  font-weight:900;
}
.button-primary{
  background:var(--ink);
  color:#fff;
}
.hero-visual{
  position:relative;
  min-height:380px;
  background:#d7d8d3;
  display:flex;
  align-items:center;
  justify-content:center;
}
.photo-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.no-photo{
  color:rgba(0,0,0,.46);
  font-size:clamp(42px,6vw,74px);
  font-weight:900;
}
.chat-card{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(0,0,0,.18);
  border-radius:8px;
  box-shadow:0 12px 34px rgba(0,0,0,.18);
}
.chat-title{
  padding:8px 12px;
  background:#f2f2f0;
  border-bottom:1px solid #ddd;
  font-size:12px;
  font-weight:900;
}
.chat-line{
  padding:10px 12px;
  border-bottom:1px solid #ececea;
  font-size:12px;
  line-height:1.65;
}
.chat-line:last-child{border-bottom:0}
.chat-line b{
  display:block;
  margin-bottom:2px;
  color:#555;
  font-size:11px;
}
.section{
  margin-top:26px;
  padding:38px 34px;
  background:var(--paper);
  border:1px solid #cfcfca;
  border-radius:8px;
}
.compact-section{
  padding:22px 28px;
}
.section-heading{margin-bottom:20px}
.compact-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.section-heading h2,
.profile-block h2{
  margin:8px 0 8px;
  font-size:clamp(24px,3.2vw,34px);
  line-height:1.3;
}
.compact-heading h2{
  margin:0;
  font-size:24px;
}
.compact-heading h2::after{
  display:none;
}
.section-heading p,
.profile-block p{
  margin:0;
  max-width:760px;
  color:#555c62;
  font-size:14px;
}
.section-heading h2::after,
.category-detail h2::after,
.article h2::after{
  content:"";
  display:block;
  width:56px;
  height:4px;
  margin-top:10px;
  background:var(--acid);
}
.status-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.stat-card,
.category-card,
.recommend-card,
.feature-card,
.stack-list li{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.stat-card{padding:16px}
.stat-card b{
  display:block;
  font-size:30px;
  line-height:1.1;
}
.stat-card span{
  color:var(--muted);
  font-size:12px;
}
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.panel{
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.panel h3{margin:0 0 10px}
.panel p{
  margin:0;
  color:#555c62;
  font-size:14px;
}
.stack-list{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}
.stack-list li{
  padding:13px;
  background:var(--soft);
}
.stack-list b{
  display:block;
  margin-bottom:4px;
  font-size:13px;
}
.stack-list span{
  display:block;
  color:#626b72;
  font-size:12px;
  line-height:1.65;
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.category-card{
  min-height:150px;
  padding:18px;
}
.category-card span{
  display:block;
  margin-bottom:18px;
  color:var(--acid-dark);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}
.category-card h3,
.recommend-card h3,
.feature-card h3{
  margin:0 0 8px;
  font-size:17px;
  line-height:1.4;
}
.category-card p,
.recommend-card p,
.feature-card p{
  margin:0;
  color:#626b72;
  font-size:12px;
  line-height:1.75;
}
.recommend-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.recommend-card{padding:18px}
.rank-label{
  display:inline-flex;
  margin-bottom:8px;
  border:1px solid #8aa600;
  border-radius:999px;
  padding:2px 8px;
  color:#5f7600;
  font-size:10px;
  font-weight:900;
}
.feature-grid{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:14px;
}
.feature-card{
  overflow:hidden;
  padding:18px;
}
.feature-card.with-image{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:18px;
  padding:0;
}
.feature-card.with-image img{
  width:100%;
  height:100%;
  min-height:210px;
  object-fit:cover;
}
.feature-card.with-image div{padding:18px}
.feature-card.compact-image{
  grid-template-columns:1fr;
}
.feature-card.compact-image img{
  height:160px;
  min-height:160px;
}
.log-list{display:grid}
.compact-log-list{
  display:grid;
}
.compact-log-row{
  display:grid;
  grid-template-columns:104px 1fr 120px;
  gap:12px;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid var(--line);
  font-size:13px;
}
.compact-log-row:last-child{border-bottom:0}
.compact-log-row time{
  font-weight:900;
  font-size:12px;
}
.compact-log-row strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  line-height:1.5;
}
.compact-log-row span{
  color:var(--muted);
  font-size:11px;
  text-align:right;
}
.log-row{
  display:grid;
  grid-template-columns:120px 1fr 160px;
  gap:18px;
  align-items:start;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.log-row:last-child{border-bottom:0}
.log-row time{
  font-weight:900;
  font-size:13px;
}
.log-row strong{line-height:1.55}
.log-row span{
  color:var(--muted);
  font-size:12px;
  text-align:right;
}
.profile-block{display:grid}
.profile-block .button{
  margin-top:18px;
}
.subpage{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px 72px;
}
.page-hero{padding:54px 0 20px}
.page-hero h1{
  max-width:900px;
  margin:8px 0 14px;
}
.page-hero p{
  max-width:780px;
  margin:0;
  color:#555c62;
  font-size:15px;
}
.page-hero-photo{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:26px;
  align-items:end;
}
.page-hero-photo img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border:1px solid #cfcfca;
  border-radius:8px;
}
.category-detail.with-illust{
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:22px;
  align-items:center;
}
.cat-illust{
  width:100%;
  mix-blend-mode:multiply;
}
.clash-illust{
  display:block;
  width:82%;
  max-width:210px;
  margin:2px auto 10px;
  mix-blend-mode:multiply;
}
.category-detail h2{
  margin:8px 0 8px;
  font-size:clamp(24px,3.2vw,34px);
  line-height:1.3;
}
.category-detail p{
  max-width:780px;
  margin:0 0 16px;
  color:#555c62;
  font-size:14px;
}
.text-link{
  color:#1f1f1f;
  font-size:13px;
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:4px;
}
.archive-list{display:grid}
.archive-row{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.archive-row:first-child{padding-top:0}
.archive-row:last-child{border-bottom:0;padding-bottom:0}
.archive-row time{
  font-weight:900;
  font-size:13px;
}
.archive-row h2{
  margin:4px 0 6px;
  font-size:20px;
  line-height:1.45;
}
.archive-row p{
  margin:0;
  color:#626b72;
  font-size:13px;
}
.article-card-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr;
  gap:14px;
}
.article-card-grid.slim{
  grid-template-columns:repeat(3,1fr);
}
.article-card{
  overflow:hidden;
  display:grid;
  grid-template-rows:auto 1fr;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.article-card.large{
  grid-row:span 2;
}
.article-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.article-card.large img{
  height:360px;
}
.article-card div{
  padding:18px;
}
.article-card h2,
.article-card h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.45;
}
.article-card.large h2{
  font-size:26px;
}
.article-card p{
  margin:0;
  color:#626b72;
  font-size:13px;
  line-height:1.75;
}
.blog-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:26px;
  align-items:start;
}
.top-blog-layout{
  margin-top:26px;
}
.blog-main{
  margin-top:26px;
}
.top-blog-layout .blog-main,
.top-blog-layout .blog-sidebar{
  margin-top:0;
}
.top-blog-layout{
  align-items:stretch;
}
.blog-post-list{
  display:grid;
  gap:0;
}
.blog-post-row{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.blog-post-row:first-child{
  padding-top:0;
}
.blog-post-row:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.blog-post-row img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border:1px solid var(--line);
  border-radius:4px;
}
.blog-post-row time{
  display:block;
  margin-bottom:6px;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}
.blog-post-row h2,
.blog-post-row h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.45;
}
.blog-post-row h3{
  font-size:19px;
}
.blog-post-row p{
  margin:0 0 10px;
  color:#4f5960;
  font-size:14px;
  line-height:1.8;
}
.blog-post-row span{
  color:#6b7300;
  font-size:12px;
  font-weight:900;
}
.home-post-list{
  gap:0;
}
/* 左カラムをサイドバーの高さまで伸ばし、空欄を「すべての記事」導線で埋める */
.top-blog-layout .blog-main{
  display:flex;
  flex-direction:column;
}
.top-blog-layout .home-post-list{
  display:flex;
  flex-direction:column;
  flex:1;
}
.view-all-card{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:24px;
  min-height:108px;
  margin-top:18px;
  padding:0 8px 0 28px;
  border:1px dashed #c4c3bb;
  border-radius:8px;
  font-weight:900;
  color:var(--acid-dark);
  background:var(--paper);
  overflow:hidden;
  transition:background .15s ease, transform .15s ease;
}
.view-all-text{
  font-size:21px;
}
.view-all-illust{
  height:104px;
  width:auto;
  align-self:flex-end;
  mix-blend-mode:multiply;
}
.view-all-card:hover{
  background:var(--soft);
  transform:translateY(-2px);
}
.blog-sidebar{
  display:grid;
  gap:16px;
  margin-top:26px;
}
.page-hero-illust img{
  aspect-ratio:auto;
  object-fit:contain;
  border:none;
  max-height:250px;
  mix-blend-mode:multiply;
}
.heading-illust-lg{
  width:170px;
}
.section-heading-with-illust{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.heading-illust{
  width:130px;
  flex:0 0 auto;
  mix-blend-mode:multiply;
  margin-bottom:-4px;
}
  display:flex;
  gap:11px;
  align-items:flex-start;
}
.about-avatar{
  width:46px;
  height:46px;
  flex:0 0 auto;
  border:1px solid var(--line);
  border-radius:50%;
  background:#fff;
}
.bike-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.mountain-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.mountain-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.mountain-photo{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:4 / 3;
  background:repeating-linear-gradient(45deg,#f1f0ea,#f1f0ea 12px,#ebeae3 12px,#ebeae3 24px);
  border-bottom:1px solid var(--line);
  color:var(--muted);
}
.mountain-photo span{
  padding:4px 12px;
  background:rgba(255,255,255,.82);
  border:1px dashed var(--hair, #bcb6a3);
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}
.mountain-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.mountain-body{
  padding:16px 18px;
}
.mountain-body h3{
  margin:0 0 6px;
  font-size:18px;
}
.mountain-loc{
  font-size:12px;
  font-weight:400;
  color:var(--muted);
  margin-left:4px;
}
.mountain-body p{
  margin:0;
  color:#626b72;
  font-size:13px;
  line-height:1.75;
}
.mountain-note.is-placeholder{
  color:#a8a293;
  font-style:italic;
}
.bike-panel{
  text-align:center;
}
.bike-panel img{
  width:100%;
  max-width:340px;
  margin:0 auto 10px;
  mix-blend-mode:multiply;
}
.profile-hero-illust{
  aspect-ratio:auto !important;
  max-height:330px;
  object-fit:contain !important;
  border:none !important;
  mix-blend-mode:multiply;
}
.queue-tag{
  font-weight:900;
  font-size:13px;
  color:var(--acid-dark);
}
.sidebar-box{
  padding:20px;
  background:var(--paper);
  border:1px solid #cfcfca;
  border-radius:8px;
}
.sidebar-box h2{
  margin:0 0 10px;
  padding-bottom:8px;
  border-bottom:2px solid var(--ink);
  font-size:18px;
  line-height:1.3;
}
.sidebar-box p{
  margin:0 0 12px;
  color:#555c62;
  font-size:13px;
  line-height:1.8;
}
.sidebar-box a{
  font-size:13px;
  font-weight:900;
}
.sidebar-box ul,
.sidebar-box ol{
  display:grid;
  gap:8px;
  margin:0;
  padding-left:20px;
  color:#4f5960;
  font-size:13px;
  line-height:1.6;
}
.sidebar-status{
  padding-left:0 !important;
  list-style:none;
}
.sidebar-status li{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding-bottom:8px;
  border-bottom:1px solid var(--line);
}
.sidebar-status li:last-child{
  padding-bottom:0;
  border-bottom:0;
}
.sidebar-status b{
  font-size:13px;
}
.sidebar-status span{
  color:var(--muted);
  font-size:12px;
}
.topic-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.topic-card{
  min-height:180px;
  padding:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.topic-card span{
  display:block;
  margin-bottom:28px;
  color:var(--acid-dark);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}
.topic-card h3{
  margin:0 0 8px;
  font-size:20px;
}
.topic-card p{
  margin:0;
  color:#626b72;
  font-size:13px;
}
.photo-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
  padding:10px;
}
.photo-strip img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:6px;
}
.article-main{
  max-width:900px;
  margin:0 auto;
  padding:34px 18px 72px;
}
.article{
  padding:42px 38px;
  background:var(--paper);
  border:1px solid #cfcfca;
  border-radius:8px;
}
.article-header h1{
  margin-top:10px;
  font-size:clamp(30px,4.2vw,46px);
  overflow-wrap:anywhere;
}
.article-meta{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
}
.article-meta .rank-label{
  margin-bottom:0;
}
.article-meta time{
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}
.article-header p{
  margin:0;
  color:#555c62;
}
.article section{
  margin-top:34px;
}
.article h2{
  margin:0 0 14px;
  font-size:24px;
  line-height:1.35;
}
.article p{
  color:#343a3f;
  font-size:15px;
}
.article-photo{
  margin:30px 0 0;
}
.article-photo a{
  display:block;
}
.article-photo img{
  width:100%;
  max-height:470px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid var(--line);
}
.article-photo figcaption{
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
}
.article-hero-photo img{
  max-height:620px;
}
.article-portrait-photo img{
  width:auto;
  max-width:100%;
  max-height:720px;
  object-fit:contain;
  display:block;
  margin:0 auto;
  background:#f6f3ed;
}
.article-screenshot img{
  max-height:none;
  object-fit:contain;
  background:#fff;
}
.data-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:18px;
}
.data-card{
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.data-card span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}
.data-card b{
  display:block;
  margin-top:5px;
  font-size:28px;
  line-height:1.1;
}
.article-data-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
}
.article-data-list li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:11px 13px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:8px;
}
.article-data-list li > *{
  min-width:0;
}
.article-data-list b{
  font-size:13px;
}
.article-data-list span{
  color:#4f5960;
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
  text-align:right;
}
.article-data-list.compact{
  grid-template-columns:1fr;
}
.compare-table{
  width:100%;
  margin-top:18px;
  border-collapse:collapse;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  font-size:13px;
}
.compare-table th,
.compare-table td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.compare-table th{
  background:var(--soft);
  color:#343a3f;
  font-weight:900;
  white-space:nowrap;
}
.compare-table tr:last-child td{
  border-bottom:0;
}
.article-summary{
  margin:28px 0 32px;
  padding:20px 22px;
  background:#fff;
  border:1px solid var(--line);
  border-left:5px solid var(--acid);
  border-radius:8px;
}
.article-summary h2{
  margin:0 0 10px;
  font-size:18px;
}
.article-summary ul{
  margin:0;
  padding-left:20px;
  color:#3f474e;
}
.article-summary li+li{
  margin-top:6px;
}
.article-toc{
  max-width:640px;
  margin:26px auto 32px;
  padding:18px 22px 20px;
  background:#fff;
  border:1px solid #cfd4d7;
  border-radius:2px;
}
.article-toc__eyebrow{
  display:none;
}
.article-toc h2{
  margin:0 0 14px;
  text-align:center;
  font-size:15px;
  font-weight:700;
  line-height:1.45;
}
.article-toc h2::after{
  display:none;
}
.article-toc ol{
  display:block;
  margin:0;
  padding-left:1.7em;
  color:#20242a;
  list-style:decimal;
  counter-reset:none;
}
.article-toc li{
  margin:0 0 6px;
  padding-left:0;
  counter-increment:none;
}
.article-toc a{
  display:inline;
  padding:0;
  color:#20242a;
  background:transparent;
  border:0;
  font-size:14px;
  font-weight:500;
  line-height:1.65;
}
.article-toc a::before{
  content:none;
}
.article-toc a:hover{
  color:#6b7300;
  background:transparent;
  text-decoration:underline;
}
.article section[id]{
  scroll-margin-top:92px;
}
.ai-note{
  margin-top:34px;
  padding:22px;
  background:#f5f7ee;
  border:1px solid #ccdca0;
  border-radius:8px;
}
.ai-note h2{
  margin-top:0;
}
.ai-note dl{
  margin:0;
}
.ai-note dt{
  margin-top:12px;
  font-weight:900;
}
.ai-note dt.adopt,
.ai-note dt.reject{
  display:inline-flex;
  align-items:center;
  padding:1px 11px;
  border-radius:999px;
  font-size:12px;
}
.ai-note dt.adopt{
  background:var(--acid);
  border:1px solid var(--ink);
  color:#182000;
}
.ai-note dt.reject{
  background:#fff;
  border:1px solid var(--ink);
  color:var(--ink);
}
.ai-note dt:first-child{margin-top:0}
.ai-note dd{
  margin:2px 0 0;
  color:#4f5960;
}
.ai-dialogue{
  margin-top:30px;
  padding:20px 22px;
  background:#303438;
  border:1px solid #171a1d;
  border-radius:2px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.ai-dialogue h2{
  margin:0 0 16px;
  color:#ffffff;
  font-size:15px;
  font-weight:900;
  text-shadow:0 1px 0 rgba(0,0,0,.45);
}
.dialogue-lines{
  display:grid;
  gap:18px;
}
.dialogue-line{
  display:grid;
  grid-template-columns:50px 1fr;
  gap:12px;
  align-items:start;
}
.dialogue-line img{
  width:50px;
  height:50px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:2px;
  object-fit:cover;
  background:#f5f3eb;
}
.article .ai-dialogue .dialogue-bubble{
  margin:0;
  padding:2px 0 0;
  border:0;
  background:transparent;
  color:#f4f1e8;
  font-size:14px;
  line-height:1.85;
}
.article .ai-dialogue .dialogue-name{
  display:inline;
  margin-right:6px;
  color:#b8c790;
  font-size:12px;
  font-weight:900;
}
.article .ai-dialogue .dialogue-line.me .dialogue-name{
  color:#ffb068;
}
.related-posts{
  margin-top:38px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.related-posts h2{
  margin:0 0 14px;
  font-size:20px;
}
.related-posts-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.related-post-card{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  grid-template-rows:auto auto auto 1fr;
  column-gap:13px;
  overflow:hidden;
  min-width:0;
  padding:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
}
.related-post-card:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(34,36,31,.08);
}
.related-post-card img{
  display:block;
  width:100%;
  height:82px;
  object-fit:cover;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:6px;
  grid-row:1 / 5;
}
.related-post-card__reason,
.related-post-card span,
.related-post-card b,
.related-post-card p{
  display:block;
  min-width:0;
}
.related-post-card__reason{
  width:fit-content;
  margin:0 0 3px;
  padding:2px 8px;
  background:#f1f5dd;
  border:1px solid #d5df9f;
  border-radius:999px;
  color:#596400;
  font-size:11px;
  font-weight:900;
  line-height:1.4;
}
.related-post-card span{
  margin:0;
  color:#6b7300;
  font-size:11px;
  font-weight:900;
}
.related-post-card b{
  margin-top:4px;
  color:var(--ink);
  font-size:14px;
  line-height:1.55;
}
.related-post-card p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin-top:6px;
  margin-bottom:0;
  color:#626d74;
  font-size:12px;
  line-height:1.6;
}
@media (max-width:640px){
  .related-post-card{
    grid-template-columns:92px minmax(0,1fr);
    column-gap:10px;
    padding:9px;
  }
  .related-post-card img{
    height:68px;
  }
  .related-post-card b{
    font-size:13px;
  }
  .related-post-card p{
    display:none;
  }
}
.next-read{
  margin-top:38px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.next-read .back-link{
  display:inline-block;
  margin-top:16px;
}
.next-read h2{
  margin:0 0 14px;
  font-size:20px;
}
.next-read-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.next-read-grid a{
  display:block;
  padding:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.next-read-grid span{
  display:block;
  margin-bottom:4px;
  color:#6b7300;
  font-size:11px;
  font-weight:900;
}
.next-read-grid b{
  display:block;
  font-size:14px;
  line-height:1.55;
}
.all-articles-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 28px;
  background:var(--ink);
  border-radius:10px;
  color:#fff;
  text-decoration:none;
  transition:opacity .15s;
}
.all-articles-banner:hover{ opacity:.88; }
.all-articles-label{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.all-articles-label .kicker{
  color:var(--acid);
}
.all-articles-label strong{
  font-size:20px;
  font-weight:900;
  color:#fff;
}
.all-articles-sub{
  font-size:13px;
  color:#b0b8b5;
}
.all-articles-arrow{
  font-size:28px;
  color:var(--acid);
  flex:0 0 auto;
}
  width:100%;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:8px;
}
.numbers-card{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:14px;
  align-items:end;
}
.num-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.num-field label{
  font-size:13px;
  font-weight:900;
  color:#4c5358;
}
.num-field label .unit{
  margin-left:5px;
  color:var(--muted);
  font-weight:700;
  font-size:11px;
}
.num-field input{
  width:100%;
  min-width:0;
  padding:11px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  font-family:inherit;
  font-size:18px;
  font-weight:900;
  color:var(--ink);
}
.num-field input:focus{
  outline:none;
  border-color:var(--acid-dark);
  box-shadow:0 0 0 3px rgba(200,255,61,.4);
}
.num-result{
  background:var(--ink);
  border-radius:8px;
  padding:10px 14px;
}
.num-result label{
  color:#cfcabb;
}
.num-result label .unit{
  color:#9b9384;
}
.num-result output{
  font-size:28px;
  font-weight:900;
  line-height:1.1;
  color:var(--acid);
}
.num-actions{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  gap:14px;
}
.num-saved{
  font-size:13px;
  font-weight:900;
  color:var(--acid-dark);
}
.num-note{
  margin:14px 0 0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.7;
}
.nf-emblem{
  width:190px;
  margin-bottom:18px;
  mix-blend-mode:multiply;
}
.not-found{
  margin-top:52px;
}
.not-found h1{
  margin:8px 0 12px;
  font-size:clamp(30px,5vw,48px);
}
.not-found p{
  margin:0 0 20px;
  color:#555c62;
}
.clash-box .clash-chat{
  display:grid;
  gap:8px;
  margin:0 0 12px;
}
.clash-line{
  margin:0;
  padding:9px 12px;
  border-radius:8px;
  font-size:12.5px;
  line-height:1.7;
  color:#343a3f;
}
.clash-line b{
  display:block;
  margin-bottom:2px;
  color:#555;
  font-size:10px;
}
.clash-line.ai{
  background:#f5f7ee;
  border:1px solid #ccdca0;
}
.clash-line.me{
  background:#fff;
  border:1px solid var(--line);
}
.clash-verdict{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  font-size:12.5px;
}
.badge-adopt{
  display:inline-flex;
  padding:1px 10px;
  border-radius:999px;
  background:var(--acid);
  border:1px solid var(--ink);
  color:#182000;
  font-size:11px;
  font-weight:900;
}
.site-footer{
  padding:34px 18px;
  color:var(--muted);
  text-align:center;
  border-top:1px solid var(--line);
}
.footer-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 18px;
  margin-bottom:12px;
  font-size:13px;
  font-weight:700;
  color:#4c5358;
}
@media (max-width: 920px){
  .top-blog-intro{
    grid-template-columns:1fr;
    gap:10px;
  }
  .intro-illust{
    max-width:300px;
    justify-self:center;
  }
  .site-header{
    flex-wrap:wrap;
    align-items:flex-start;
    gap:10px 16px;
  }
  .global-nav{
    display:flex;
    order:2;
    width:100%;
    overflow-x:auto;
    gap:10px;
    padding:2px 0 4px;
    scrollbar-width:thin;
  }
  .global-nav a{
    flex:0 0 auto;
    padding:10px 10px;
    background:#f2f1eb;
    border:1px solid var(--line);
    border-radius:999px;
  }
  .hero{grid-template-columns:1fr}
  .hero-copy{padding:42px 28px 34px}
  .hero-visual{min-height:330px}
  .status-grid,
  .recommend-grid,
  .category-grid,
  .article-card-grid,
  .article-card-grid.slim,
  .topic-grid{
    grid-template-columns:1fr 1fr;
  }
  .page-hero-photo{grid-template-columns:1fr}
  .page-hero-photo img{max-height:300px}
  .feature-grid,
  .blog-layout,
  .split{grid-template-columns:1fr}
  .blog-sidebar{margin-top:0}
  .feature-card.with-image{grid-template-columns:1fr}
  .feature-card.with-image img{height:260px}
  .photo-strip{grid-template-columns:1fr}
  .log-row{grid-template-columns:1fr;gap:6px}
  .compact-log-row{
    grid-template-columns:92px 1fr;
  }
  .compact-log-row span{
    grid-column:2;
    text-align:left;
  }
  .log-row span{text-align:left}
  .archive-row{grid-template-columns:1fr;gap:8px}
}
@media (max-width: 620px){
  .category-detail.with-illust{
    grid-template-columns:1fr;
  }
  .bike-grid{
    grid-template-columns:1fr;
  }
  .numbers-card{
    grid-template-columns:1fr 1fr;
  }
  .num-result{
    grid-column:1 / -1;
  }
  .mountain-grid{
    grid-template-columns:1fr;
  }
  .heading-illust{
    width:80px;
  }
  .cat-illust{
    max-width:250px;
    justify-self:center;
  }
  .site-header{position:static}
  main{padding:18px 12px 52px}
  .brand{gap:8px}
  .brand img{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .brand span,
  .brand-main{font-size:16px}
  .brand-sub{font-size:11px}
  .brand .brand-lockup{height:44px}
  .brand-text{
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    white-space:normal;
  }
  .hero-copy,
  .section,
  .article{
    padding:28px 18px;
  }
  .compact-section{
    padding:18px;
  }
  h1{
    font-size:32px;
    line-height:1.18;
  }
  .top-blog-intro h1{
    font-size:32px;
  }
  .story-intro h1{
    font-size:27px;
  }
  .story-timeline{
    grid-template-columns:1fr;
  }
  .story-chapter{
    border-right:none;
    border-bottom:1px solid var(--line);
    display:grid;
    grid-template-columns:54px 1fr;
    grid-template-rows:auto auto;
    column-gap:12px;
    align-items:start;
    padding:11px 16px 12px;
  }
  .story-chapter .chapter-year{
    grid-row:1 / 3;
    margin:2px 0 0;
    font-size:11px;
    padding:2px 7px;
  }
  .story-chapter h2{
    grid-column:2;
    margin:0 0 2px;
    font-size:15px;
  }
  .story-chapter p{
    grid-column:2;
    font-size:12px;
    line-height:1.6;
  }
  .story-chapter:last-child{border-bottom:none}
  .hero p,
  .top-blog-intro p,
  .section-heading p,
  .profile-block p,
  .article p{
    font-size:13px;
  }
  .hero-visual{
    min-height:300px;
  }
  .chat-card{
    left:14px;
    right:14px;
    bottom:14px;
  }
  .compact-heading{
    display:block;
  }
  .compact-heading h2{
    margin-top:6px;
  }
  .status-grid,
  .category-grid,
  .recommend-grid,
  .article-card-grid,
  .article-card-grid.slim,
  .topic-grid{
    grid-template-columns:1fr;
  }
  .blog-post-row{
    grid-template-columns:1fr;
    gap:12px;
    padding:20px 0;
  }
  .blog-post-row h2,
  .blog-post-row h3{
    font-size:19px;
  }
  .next-read-grid{
    grid-template-columns:1fr;
  }
  .dialogue-line{
    grid-template-columns:42px 1fr;
  }
  .dialogue-line img{
    width:42px;
    height:42px;
  }
  .dialogue-bubble{
    font-size:12.5px;
  }
  .data-grid,
  .article-data-list{
    grid-template-columns:1fr;
  }
  .article-data-list li{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
  .article-data-list span{
    text-align:left;
  }
  .article p,
  .article li,
  .article figcaption{
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .article-summary ul{
    padding-left:18px;
  }
  .article-toc ol{
    grid-template-columns:1fr;
  }
  .compare-table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
  .stat-card b{font-size:26px}
  .category-card{min-height:auto}
  .subpage{padding:0 12px 52px}
  .page-hero{padding:34px 0 8px}
  .page-hero p{font-size:13px}
  .archive-row h2{font-size:18px}
  .article-main{
    width:100%;
    max-width:100%;
    padding:18px 8px 52px;
  }
  .article{
    width:100%;
    max-width:100%;
    min-width:0;
    padding:26px 14px;
  }
  .article-summary,
  .article-toc,
  .ai-dialogue{
    padding-left:14px;
    padding-right:14px;
  }
  .article-header h1{
    font-size:28px;
    line-height:1.22;
  }
  .photo-strip img,
  .feature-card.with-image img,
  .article-card img,
  .article-card.large img{
    height:220px;
  }
  .article-photo img{height:auto}
  .article-hero-photo img{
    height:260px;
    object-fit:cover;
  }
}

/* ===== 記事ページ強化（2026-07-02 Claude: サイドバー2カラム / Xシェア） ===== */
.article-main.with-sidebar{
  max-width:1240px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:26px;
  align-items:start;
}
.article-main.with-sidebar .article{
  min-width:0;
}
.article-sidebar{
  display:grid;
  gap:16px;
}
.sidebar-recent{
  margin:0;
  padding:0;
  list-style:none;
}
.sidebar-recent li{
  display:grid;
  gap:2px;
  padding:9px 0;
  border-bottom:1px dashed #d6d6d0;
}
.sidebar-recent li:first-child{
  padding-top:0;
}
.sidebar-recent li:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.sidebar-recent a{
  font-weight:600;
  font-size:14px;
  line-height:1.5;
}
.sidebar-recent time{
  font-size:12px;
  color:#8a8f94;
}
.share-box{
  margin-top:38px;
  padding:22px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}
.share-box p{
  margin:0 0 12px;
  font-weight:700;
}
.article .share-box p{
  margin:0 0 12px;
}
.share-x-btn{
  display:inline-block;
  padding:10px 32px;
  background:#0f1419;
  color:#fff !important;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}
.share-x-btn:hover{
  opacity:.8;
}
@media (max-width:920px){
  .article-main.with-sidebar{
    display:block;
  }
  .article-sidebar{
    margin-top:30px;
  }
}
