:root{--ink:#1f2937;--sub:#6b7280;--line:#e5e7eb;--sky:#0ea5e9;--sky-d:#0284c7;--bg:#ffffff;--soft:#f8fafc;}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--bg);font-family:'Inter','Noto Sans JP',system-ui,sans-serif;line-height:1.9;font-size:17px;}
a{color:var(--sky-d);text-decoration:none}
a:hover{text-decoration:underline}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);}
.site-header .inner{max-width:1120px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between}
.site-header .brand{display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:700}
/* ロゴのサイズはトップページ(index.html)と同一規格に揃える */
.site-header .brand .mark{height:40px;width:auto}
.site-header .brand .logotext{height:24px;width:auto;max-width:140px}
@media (min-width:640px){
  .site-header .brand .mark{height:48px}
  .site-header .brand .logotext{height:32px;max-width:180px}
}
@media (min-width:768px){
  .site-header .brand .mark{height:80px}
  .site-header .brand .logotext{height:56px;max-width:260px}
}
@media (min-width:1280px){
  .site-header .brand .logotext{max-width:300px}
}
.site-header nav a{color:var(--sub);margin-left:18px;font-size:14px}
.site-header .cta{background:var(--sky);color:#fff;padding:8px 18px;border-radius:999px}
.site-header .cta:hover{background:var(--sky-d);text-decoration:none}

/* PCナビとハンバーガーの出し分け（トップページと同じ 1280px で切り替え） */
.site-header .pc-nav{display:none}
@media (min-width:1280px){
  .site-header .pc-nav{display:flex;align-items:center}
  .hamburger{display:none !important}
}

/* ハンバーガー */
.hamburger{width:24px;height:20px;position:relative;cursor:pointer;z-index:60;flex:none}
.hamburger span{display:block;position:absolute;height:2px;width:100%;background:#333;border-radius:2px;transition:all .3s ease}
.hamburger span:nth-child(1){top:0}
.hamburger span:nth-child(2){top:9px}
.hamburger span:nth-child(3){bottom:0}
.hamburger.active span:nth-child(1){top:9px;transform:rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){bottom:9px;transform:rotate(-45deg)}

/* モバイルメニュー
   親の .site-header に backdrop-filter が効いているため fixed の包含ブロックが
   header になる。高さを明示しないと画面を覆えないので dvh で指定する。 */
.mobile-menu{
  position:fixed;top:0;right:0;width:100%;
  height:100vh;height:100dvh;overflow-y:auto;
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(24px) saturate(130%);
  backdrop-filter:blur(24px) saturate(130%);
  transform:translateX(100%);transition:transform .3s ease;z-index:50;
}
.mobile-menu.active{transform:translateX(0)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .mobile-menu{background:#fff}
}
.mobile-menu .inner-menu{padding:80px 24px 24px;display:flex;flex-direction:column;gap:24px}
.mobile-menu a{color:#1f2937;font-size:18px;font-weight:500}
.mobile-menu a.cta{background:var(--sky);color:#fff;padding:12px 24px;border-radius:999px;text-align:center}
.mobile-menu a.cta:hover{background:var(--sky-d);text-decoration:none}
.site-footer{border-top:1px solid var(--line);margin-top:64px;background:var(--soft)}
.site-footer .inner{max-width:1120px;margin:0 auto;padding:28px 20px;color:var(--sub);font-size:14px;line-height:1.9}
.article{max-width:760px;margin:0 auto;padding:32px 20px 0}
.breadcrumb{font-size:13px;color:var(--sub);margin-bottom:20px}
.breadcrumb a{color:var(--sub)}
.article h1{font-size:30px;line-height:1.5;margin:8px 0 12px;font-weight:700}
.article .meta{font-size:13px;color:var(--sub);border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:28px}
.article .lead{font-size:18px;background:var(--soft);border-left:4px solid var(--sky);padding:16px 18px;border-radius:8px;margin:0 0 32px}
.article h2{font-size:23px;margin:44px 0 14px;padding-left:12px;border-left:5px solid var(--sky);font-weight:700}
.article h3{font-size:19px;margin:28px 0 10px;font-weight:700}
.article p{margin:0 0 18px}
.article ul,.article ol{margin:0 0 18px;padding-left:1.4em}
.article li{margin:6px 0}
.article strong{color:#b45309}
.article img{max-width:100%;height:auto;border-radius:10px;margin:12px 0}
.callout{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:16px 18px;margin:22px 0}
.answer-box{background:#fff;border:2px solid var(--sky);border-radius:12px;padding:18px 20px;margin:22px 0;font-weight:700;line-height:1.8}
.faq{margin:20px 0}
.faq dt{font-weight:700;margin-top:16px}
.faq dd{margin:6px 0 0;color:#374151}
.related{background:var(--soft);border-radius:12px;padding:18px 20px;margin:40px 0 0}
.related p{margin:0}
.author{display:flex;gap:14px;align-items:flex-start;border-top:1px solid var(--line);margin-top:40px;padding-top:24px}
.author .name{font-weight:700}
.author .role{font-size:13px;color:var(--sub)}
.list-wrap{max-width:1120px;margin:0 auto;padding:40px 20px}
.list-wrap h1{font-size:28px;font-weight:700;margin-bottom:6px}
.list-wrap .sub{color:var(--sub);margin-bottom:28px}
.cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.cats span{font-size:13px;border:1px solid var(--line);border-radius:999px;padding:6px 14px;color:var(--sub)}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.card{border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s;background:#fff}
.card:hover{box-shadow:0 12px 30px -18px rgba(2,132,199,.4);transform:translateY(-2px)}
.card a{color:var(--ink);display:block;padding:16px 18px}
.card a:hover{text-decoration:none}
.card .tag{font-size:12px;color:var(--sky-d);font-weight:700}
.card .ttl{font-size:17px;font-weight:700;margin:6px 0 8px;line-height:1.5}
.card .date{font-size:12px;color:var(--sub)}
@media (max-width:640px){.article h1{font-size:25px}.site-header nav a{margin-left:12px}}