@charset "UTF-8";
/* =========================================================
   UNISON WORK / blog.css
   レイアウト方針：
     一覧 → 1120px 中央寄せ
     記事 → 960px 中央寄せ（目次200px + gap40px + 本文720px）
   ========================================================= */

:root {
  --b-ink:      #1f2933;
  --b-ink-sub:  #5b6672;
  --b-ink-weak: #8a949f;
  --b-rule:     #e2e7ec;
  --b-bg-alt:   #f7f9fb;

  --b-navy: #1a2e4a;
  --b-teal: #1d9e75;
  --b-red:  #e24b4a;
  --b-line: #06c755;

  --b-header-h:    64px;
  --b-list-max:  1120px;
  --b-article-max: 960px;
  --b-rail:        200px;
  --b-gap:          40px;
  --b-pad:          24px;

  --cat-tech:    #1d9e75;
  --cat-novelty: #e24b4a;
  --cat-local:   #2f6fb0;
  --cat-pick:    #8a5cc4;
}

/* =========================================================
   ヘッダー：ブログは常に白固定
   ========================================================= */
.blog-listing-page .header,
.blog-listing-page .header.is-scrolled,
.blog-article-page .header,
.blog-article-page .header.is-scrolled {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--b-rule) !important;
}
.blog-listing-page .header__logo-img,
.blog-article-page .header__logo-img { filter: none !important; }
.blog-listing-page .header__nav-link,
.blog-article-page .header__nav-link { color: var(--b-navy) !important; }
.blog-listing-page .header__hamburger-line,
.blog-article-page .header__hamburger-line { background: var(--b-navy) !important; }

/* =========================================================
   ラッパー
   ========================================================= */
.blog-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--b-list-max);
  margin: 0 auto;
  padding: calc(var(--b-header-h) + 16px) var(--b-pad) 0;
}
.blog-wrap *,
.blog-wrap *::before,
.blog-wrap *::after { box-sizing: border-box; }

/* 記事ページの主要ブロックを全て 960px 中央寄せに揃える */
.blog-article-page .article-head,
.blog-article-page .verdict,
.blog-article-page .article-layout,
.blog-article-page .blog-faq,
.blog-article-page .blog-author,
.blog-article-page .blog-cta,
.blog-article-page .blog-related {
  max-width: var(--b-article-max);
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.is-hidden { display: none !important; }

/* =========================================================
   パンくず
   ========================================================= */
.blog-breadcrumb { padding: 16px 0 0; font-size: 12px; color: var(--b-ink-weak); }
.blog-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.blog-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--b-rule); }
.blog-breadcrumb a { color: var(--b-ink-sub); text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--b-teal); text-decoration: underline; }

/* =========================================================
   カテゴリバッジ
   ========================================================= */
.blog-cat {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  font-size: 11px; font-weight: 700; line-height: 1;
  padding: 6px 12px 6px 10px;
  border-radius: 3px;
  color: #fff; text-decoration: none;
  background: var(--cat-tech);
}
.blog-cat::before { font-size: 10px; opacity: .75; content: attr(data-type); }
.blog-cat:hover { color: #fff; opacity: .88; }
.blog-cat--tech    { background: var(--cat-tech); }
.blog-cat--novelty { background: var(--cat-novelty); }
.blog-cat--local   { background: var(--cat-local); }
.blog-cat--pick    { background: var(--cat-pick); }

/* =========================================================
   一覧：ヒーロー
   ========================================================= */
.blog-hero { padding: 40px 0 32px; border-bottom: 1px solid var(--b-rule); }
.blog-eyebrow {
  font-weight: 600; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--b-ink-weak); margin: 0 0 10px;
}
.blog-hero__title {
  font-size: clamp(34px, 8vw, 56px); font-weight: 900;
  letter-spacing: .02em; color: var(--b-navy);
  margin: 0 0 16px; line-height: 1;
}
.blog-hero__sub { font-size: 14.5px; color: var(--b-ink-sub); line-height: 1.8; margin: 0 0 20px; }
.blog-hero__cadence {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: 12.5px; color: var(--b-ink-sub);
  padding: 8px 16px; border: 1px solid var(--b-rule); border-radius: 999px;
}
.blog-hero__cadence b { color: var(--b-teal); }

/* =========================================================
   一覧：フィルター
   ========================================================= */
.blog-filters {
  display: flex; gap: 8px; padding: 24px 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.blog-filters::-webkit-scrollbar { display: none; }
.blog-filter {
  flex: none; padding: 9px 16px;
  border: 1px solid var(--b-rule); border-radius: 999px; background: #fff;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--b-ink-sub); cursor: pointer; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.blog-filter:hover { border-color: var(--b-teal); color: var(--b-teal); }
.blog-filter[aria-pressed="true"] { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }

/* =========================================================
   カードグリッド
   ========================================================= */
.blog-list-section { padding: 12px 0 80px; }

.blog-cards {
  display: grid;
  gap: 32px 24px;
  grid-template-columns: 1fr;
  padding: 0; margin: 0; list-style: none;
}
@media (min-width: 640px) { .blog-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .blog-cards { grid-template-columns: repeat(3, 1fr); } }

.blog-card { display: flex; flex-direction: column; min-width: 0; }
.blog-card__thumb-wrap { display: block; overflow: hidden; border-radius: 8px; }
.blog-card__thumb {
  aspect-ratio: 16 / 10; width: 100%; object-fit: cover;
  border-radius: 8px; background: #eef1f5; display: block;
  transition: transform .3s ease;
}
.blog-card__thumb--placeholder { background: linear-gradient(135deg,#dde3ed,#e8edf5); }
.blog-card__thumb-wrap:hover .blog-card__thumb { transform: scale(1.03); }

.blog-card__body { padding-top: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.65; color: var(--b-navy); }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--b-teal); }
.blog-card__excerpt { margin: 0; font-size: 13.5px; color: var(--b-ink-sub); line-height: 1.8; }
.blog-card__meta { margin: auto 0 0; padding-top: 6px; font-size: 11.5px; letter-spacing: .04em; color: var(--b-ink-weak); }
.blog-empty { padding: 60px 0; text-align: center; color: var(--b-ink-weak); font-size: 14px; }

/* =========================================================
   記事：プログレスバー
   ========================================================= */
.blog-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9999; pointer-events: none; }
.blog-progress__bar { height: 100%; width: 0; background: var(--b-teal); transition: width .1s linear; }

/* =========================================================
   記事：ヘッダー
   ========================================================= */
.article-head { padding: 28px 0 0; }
.article-head__title {
  font-size: clamp(22px, 4vw, 34px); font-weight: 900;
  line-height: 1.5; margin: 16px 0 0; color: var(--b-navy);
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-top: 16px; font-size: 12px; letter-spacing: .04em; color: var(--b-ink-weak);
}
.article-meta__sep { color: var(--b-rule); }
.article-meta__tags { color: var(--b-teal); }
.article-head__thumb { margin-top: 28px; border-radius: 10px; width: 100%; height: auto; display: block; }

/* =========================================================
   記事：結論カード
   ========================================================= */
.verdict {
  position: relative;
  margin-top: 32px;
  padding: 24px 22px;
  background: var(--b-navy); color: #fff;
  border-radius: 10px; overflow: hidden;
}
.verdict::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--b-teal); }
.verdict__label { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: #7fd3b4; margin: 0 0 12px; }
.verdict__lead { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.8; }
.verdict__points { margin: 18px 0 0; padding: 0; list-style: none; }
.verdict__points li { position: relative; padding-left: 24px; font-size: 14px; color: #d3dbe4; line-height: 1.85; }
.verdict__points li + li { margin-top: 6px; }
.verdict__points li::before {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--b-teal);
  border-bottom: 1.5px solid var(--b-teal);
  transform: rotate(-45deg);
}
.verdict__points a { color: #7fd3b4; }

/* =========================================================
   記事：本文レイアウト
   ========================================================= */
.article-layout { padding-top: 44px; }

@media (min-width: 1000px) {
  .article-layout {
    display: grid;
    grid-template-columns: var(--b-rail) minmax(0, 1fr);
    gap: var(--b-gap);
    align-items: start;
  }
  .article-rail { position: sticky; top: calc(var(--b-header-h) + 16px); }
}
@media (max-width: 999px) {
  .article-rail { display: none; }
}

/* 目次 */
.article-toc { border: 1px solid var(--b-rule); border-radius: 8px; padding: 18px 16px; background: var(--b-bg-alt); }
.article-toc__title { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--b-ink-weak); margin: 0 0 12px; }
.article-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc li + li { margin-top: 8px; }
.article-toc a {
  display: grid; grid-template-columns: 20px 1fr; gap: 4px;
  font-size: 12.5px; line-height: 1.7; color: var(--b-ink-sub); text-decoration: none;
}
.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 10px; color: var(--b-ink-weak); padding-top: 3px;
}
.article-toc a:hover,
.article-toc a[aria-current="true"] { color: var(--b-teal); }
.article-toc a[aria-current="true"]::before { color: var(--b-teal); }

/* =========================================================
   記事：本文タイポグラフィ
   ========================================================= */
.prose { min-width: 0; }
.prose > * + * { margin-top: 1.5em; }
.prose h2 {
  margin: 3em 0 1em; padding-bottom: 12px;
  border-bottom: 1px solid var(--b-rule);
  font-size: clamp(19px, 3vw, 24px); font-weight: 700; line-height: 1.6;
  color: var(--b-navy); scroll-margin-top: calc(var(--b-header-h) + 16px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 2.2em 0 .8em; font-size: 17px; font-weight: 700; line-height: 1.7;
  color: #0f1e30; scroll-margin-top: calc(var(--b-header-h) + 16px);
}
.prose p { margin: 0; font-size: 15.5px; line-height: 2; color: var(--b-ink); }
.prose strong { font-weight: 700; background: linear-gradient(transparent 60%, rgba(29,158,117,.15) 60%); }
.prose ul, .prose ol { margin: 1.4em 0; padding-left: 1.4em; }
.prose li { font-size: 15px; line-height: 1.9; color: var(--b-ink); }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--b-teal); }
.prose a { color: var(--b-teal); }
.prose a:hover { color: var(--b-navy); }
.prose small { font-size: 11px; color: var(--b-ink-weak); }

.blog-define {
  margin: 2em 0; padding: 16px 20px;
  border-left: 3px solid var(--b-teal);
  background: rgba(29,158,117,.06);
  border-radius: 0 8px 8px 0;
  font-size: 15px; line-height: 1.9;
}
.blog-define__term { font-weight: 700; color: var(--b-navy); }

.blog-caution {
  margin: 2em 0; padding: 16px 20px;
  border-left: 3px solid var(--b-red);
  background: #fdf1f1; border-radius: 0 8px 8px 0;
  font-size: 14.5px; line-height: 1.85; color: var(--b-ink);
}

.blog-table-wrap { overflow-x: auto; margin: 2em 0; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 400px; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--b-rule); text-align: left; vertical-align: top; }
.prose th { background: #f2f5f8; font-weight: 700; color: var(--b-navy); white-space: nowrap; }

.prose code {
  font-family: ui-monospace, Menlo, monospace; font-size: .9em;
  padding: 2px 6px; background: #f2f5f8; border-radius: 4px; color: var(--b-navy);
}

/* 埋め込みツール */
.blog-embed { margin: 2.4em 0; border: 1px solid var(--b-rule); border-radius: 8px; overflow: hidden; }
.blog-embed__bar { padding: 12px 16px; background: #f2f5f8; border-bottom: 1px solid var(--b-rule); font-size: 12.5px; color: var(--b-ink-sub); }
.blog-embed__bar b { color: var(--b-navy); font-size: 13px; }
.blog-embed__body { padding: 20px; }

.jt-form { display: flex; flex-direction: column; gap: 12px; }
.jt-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--b-navy); }
.jt-form input, .jt-form select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--b-rule);
  border-radius: 6px; font-size: 14px; font-family: inherit; color: var(--b-ink);
}
.jt-form input:focus, .jt-form select:focus { outline: 2px solid var(--b-teal); border-color: var(--b-teal); }
.jt-form button {
  align-self: flex-start; padding: 11px 24px;
  background: var(--b-teal); color: #fff; border: none; border-radius: 6px;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: opacity .2s;
}
.jt-form button:hover { opacity: .88; }
.jt-output { margin-top: 16px; border: 1px solid var(--b-rule); border-radius: 6px; overflow: hidden; }
.jt-output__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #f2f5f8; font-size: 12px; color: var(--b-ink-sub); }
.jt-output__bar button { padding: 4px 12px; background: var(--b-navy); color: #fff; border: none; border-radius: 4px; font-size: 12px; cursor: pointer; }
.jt-output pre { margin: 0; padding: 14px; font-size: 12px; line-height: 1.7; overflow-x: auto; background: var(--b-navy); color: #e6edf3; white-space: pre; }

.blog-summary {
  margin-top: 3.2em; padding: 20px 22px;
  background: var(--b-bg-alt); border: 1px solid var(--b-rule); border-radius: 8px;
}
.blog-summary__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--b-ink-weak); margin: 0 0 10px; }
.blog-summary p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--b-ink); }

/* =========================================================
   記事：FAQ
   ========================================================= */
.blog-faq { margin-top: 3.2em; }
.blog-faq__title { font-size: 20px; font-weight: 700; color: var(--b-navy); margin: 0 0 8px; }
.blog-faq details { border-bottom: 1px solid var(--b-rule); }
.blog-faq summary {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px 0; cursor: pointer;
  font-weight: 700; font-size: 15px; line-height: 1.7; color: var(--b-navy);
  list-style: none;
}
.blog-faq summary::-webkit-details-marker { display: none; }
.blog-faq summary::before { content: "Q"; font-weight: 700; color: var(--b-teal); flex: none; padding-top: 1px; }
.blog-faq summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--b-ink-weak);
  border-bottom: 2px solid var(--b-ink-weak);
  transform: rotate(45deg); transition: transform .2s ease; margin-top: 8px;
}
.blog-faq details[open] summary::after { transform: rotate(-135deg); }
.blog-faq__a { display: flex; gap: 12px; padding: 0 0 20px; font-size: 14.5px; color: var(--b-ink-sub); line-height: 1.9; }
.blog-faq__a::before { content: "A"; font-weight: 700; color: var(--b-ink-weak); flex: none; }
.blog-faq__a p { margin: 0; }

/* =========================================================
   記事：著者
   ========================================================= */
.blog-author {
  margin-top: 3.2em; display: grid; gap: 18px;
  padding: 24px 22px; border: 1px solid var(--b-rule); border-radius: 10px;
}
@media (min-width: 600px) { .blog-author { grid-template-columns: 80px 1fr; gap: 24px; } }
.blog-author__photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.blog-author__name { margin: 0; font-size: 17px; font-weight: 700; color: var(--b-navy); }
.blog-author__role { margin: 4px 0 0; font-size: 12px; color: var(--b-ink-weak); }
.blog-author__bio { margin: 12px 0 0; font-size: 13.5px; color: var(--b-ink-sub); line-height: 1.85; }
.blog-author__links { margin: 12px 0 0; padding: 0; list-style: none; display: flex; gap: 16px; font-size: 12.5px; }
.blog-author__links a { color: var(--b-teal); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   記事：CTA
   ========================================================= */
.blog-cta {
  margin-top: 3.6em; padding: 36px 24px;
  background: var(--b-navy); color: #fff; border-radius: 12px; text-align: center;
}
.blog-cta__label { font-size: 11px; letter-spacing: .18em; color: #7fd3b4; margin: 0; }
.blog-cta__title { margin: 12px 0 0; font-size: clamp(18px, 3.5vw, 22px); line-height: 1.6; font-weight: 700; }
.blog-cta__text { margin: 12px auto 0; max-width: 30em; font-size: 13.5px; color: #c6cfd9; line-height: 1.8; }
.blog-cta__btns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.blog-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; min-height: 50px; padding: 0 24px;
  border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.blog-btn:hover { transform: translateY(-2px); opacity: .92; }
.blog-btn--line { background: var(--b-line); color: #fff; }
.blog-btn--line:hover { color: #fff; }
.blog-btn--ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.blog-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.08); }

/* =========================================================
   記事：関連記事
   ========================================================= */
.blog-related { padding-top: 60px; padding-bottom: 80px; }
.blog-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.blog-section-head h2 { margin: 0; font-size: 18px; color: var(--b-navy); }
.blog-section-head a { font-size: 13px; color: var(--b-teal); text-decoration: underline; text-underline-offset: 3px; }
.blog-related .blog-cards { gap: 24px 20px; }
@media (min-width: 640px) { .blog-related .blog-cards { grid-template-columns: repeat(3, 1fr); } }
.blog-related .blog-card__title { font-size: 14.5px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 768px) {
  :root { --b-header-h: 56px; --b-pad: 20px; }
  .blog-hero { padding: 28px 0 24px; }
  .article-head { padding-top: 20px; }
  .verdict { margin-top: 24px; padding: 20px 18px; }
  .verdict__lead { font-size: 15px; }
  .article-layout { padding-top: 28px; }
  .prose h2 { margin-top: 2.4em; font-size: 19px; }
  .blog-faq { margin-top: 2.4em; }
  .blog-author { margin-top: 2.4em; }
  .blog-cta { margin-top: 2.8em; padding: 28px 18px; }
  .blog-related { padding-top: 44px; padding-bottom: 56px; }
  .blog-btn { min-width: 100%; }
}
