: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}
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-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:column;
  align-items:flex-start;
  gap:1px;
  padding:7px 12px 6px;
  letter-spacing:0;
  line-height:1.25;
}
.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{
  padding:34px 0 10px;
  border-bottom:1px solid var(--line);
}
.top-blog-intro h1{
  max-width:860px;
  margin:10px 0 12px;
  font-size:clamp(30px,3.6vw,44px);
  line-height:1.25;
}
.top-blog-intro p{
  max-width:880px;
  margin:0;
  color:#4f5960;
  font-size:15px;
}
.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 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;
}
.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;
}
.blog-sidebar{
  display:grid;
  gap:16px;
  margin-top:26px;
}
.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);
}
.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 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;
}
.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:first-child{margin-top:0}
.ai-note dd{
  margin:2px 0 0;
  color:#4f5960;
}
.next-read{
  margin-top:38px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.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;
}
.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;
}
.site-footer{
  padding:34px 18px;
  color:var(--muted);
  text-align:center;
  border-top:1px solid var(--line);
}
@media (max-width: 920px){
  .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:5px 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){
  .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-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;
  }
  .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;
  }
  .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{padding:18px 12px 52px}
  .article-header h1{font-size:30px}
  .article-photo img,
  .photo-strip img,
  .feature-card.with-image img,
  .article-card img,
  .article-card.large img{
    height:220px;
  }
}
