@charset "UTF-8";
/* =========================================================
   製造オーライ 記事ページ用スタイル
   デザインシステム v1.0 準拠（01 基本トークン / 02 コンポーネント）
   ========================================================= */

:root {
  /* --- color（デザインシステムのトークン） --- */
  --c-accent: #b5602a; /* Rust：NEW・引用線・READ MORE */
  --c-ink: #2c2a26; /* 見出し・タイトル */
  --c-text: #3c3a36; /* 本文・「記事」タグ */
  --c-sub: #55504a; /* リード・補足テキスト */
  --c-muted: #7a746e; /* 日付・キャプション（白地で4.5:1） */
  --c-video: #c04830; /* 「動画」タグ */
  --c-recruit: #2d5a6e; /* 「求人」タグ */
  --c-bg: #fafaf6; /* ページ地 */
  --c-surface: #ffffff; /* 本文カード */
  --c-soft: #f0efea; /* 囲み */
  --c-line: #e5e0dc; /* 罫線 */
  --c-tag-line: #cfc9c2; /* カテゴリタグ枠 */
  --c-point-bg: #fef5ee; /* 解説BOX */
  --c-point-line: #e8cdb2;
  --c-point-label: #9a4f20;
  --c-footer: #2b2a26;
  --c-line-brand: #06c755; /* LINE公式色 */
  --c-yt: #e1251b; /* YouTube公式色（CTAのみ） */

  /* --- font --- */
  --f-sans:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    sans-serif;
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-en: "Oswald", "Noto Sans JP", sans-serif;

  /* --- layout：本文690 + 間40 + サイド250 = 980 --- */
  --w-container: 980px;
  --w-side: 250px;
  --w-head: 660px;
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
p {
  margin: 0 0 28px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  max-width: calc(var(--w-container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.3;
  white-space: nowrap;
}
.logo__main {
  color: var(--c-ink);
  border-bottom: 3px solid var(--c-accent);
}
.logo__accent {
  color: var(--c-accent);
  font-style: italic;
  letter-spacing: 0.04em;
  padding-left: 8px;
  border-left: 2px solid var(--c-tag-line);
}
.logo__domain {
  font-size: 11px;
  font-weight: 400;
  color: var(--c-muted);
  letter-spacing: 0.06em;
}
.site-header__tagline {
  font-size: 12px;
  color: var(--c-sub);
  line-height: 1.5;
  padding-left: 16px;
  border-left: 1px solid var(--c-line);
  white-space: nowrap;
}
.gnav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}
.gnav a {
  text-decoration: none;
  color: var(--c-ink);
  white-space: nowrap;
}
.gnav a:hover {
  color: var(--c-accent);
}
.sns {
  display: flex;
  gap: 8px;
}
.sns__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.sns__btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.sns__btn--line {
  background: var(--c-line-brand);
}
.sns__btn--ig {
  background: linear-gradient(45deg, #f9a43b, #e1306c 55%, #833ab4);
}
.sns__btn--x {
  background: #111;
  font-size: 13px;
}

.breadcrumb {
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface);
}
.breadcrumb__inner {
  max-width: calc(var(--w-container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 12px var(--gutter);
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb a {
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--c-accent);
}
.breadcrumb span {
  margin: 0 0.5em;
}
.breadcrumb span[aria-current] {
  margin: 0;
  color: var(--c-text);
}

/* ---------- tags（02-A）：種別は塗り、カテゴリは枠線 ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  padding: 3px 8px;
  border: 1px solid var(--c-tag-line);
  color: var(--c-text);
  background: var(--c-surface);
}
.tag--kiji,
.tag--dark {
  background: var(--c-text);
  border-color: var(--c-text);
  color: #fff;
  font-weight: 700;
}
.tag--video {
  background: var(--c-video);
  border-color: var(--c-video);
  color: #fff;
  font-weight: 700;
}
.tag--recruit {
  background: var(--c-recruit);
  border-color: var(--c-recruit);
  color: #fff;
  font-weight: 700;
}
.tag--new {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  font-family: var(--f-en);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.tag--pr {
  color: var(--c-accent);
  border-color: var(--c-accent);
  font-family: var(--f-en);
  font-weight: 600;
}

/* ---------- article head（02-C） ---------- */
.article-head {
  background: var(--c-surface);
  padding: 56px var(--gutter) 48px;
}
.article-head > * {
  max-width: var(--w-head);
  margin-left: auto;
  margin-right: auto;
}
.article-title {
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--c-ink);
  font-size: 32px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-top: 0;
  margin-bottom: 22px;
}
.article-lead {
  font-size: 15px;
  font-style: italic;
  color: var(--c-sub);
  line-height: 1.9;
  border-left: 3px solid var(--c-accent);
  padding: 4px 0 4px 18px;
  margin-bottom: 18px;
}
.article-meta {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 0;
}

.hero {
  margin: 0;
  background: var(--c-surface);
}
.hero img {
  width: 100%;
  height: clamp(200px, 30vw, 420px);
  object-fit: cover;
}
.hero figcaption {
  max-width: calc(var(--w-container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 8px var(--gutter) 10px;
  text-align: right;
  font-size: 11px;
  line-height: 1.6;
  color: var(--c-muted);
}

/* ---------- layout ---------- */
.layout {
  max-width: calc(var(--w-container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 32px var(--gutter) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--w-side);
  gap: 40px;
  align-items: start;
}
.article-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  padding: 40px 40px 32px;
}

/* intro box（02-D 人物プロフィール枠の流用） */
.intro-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--c-soft);
  padding: 28px;
  margin-bottom: 56px;
}
.intro-box__icon {
  flex: 0 0 56px;
}
.intro-box__icon svg {
  width: 56px;
  height: 56px;
  display: block;
}
.intro-box__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.intro-box__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text);
  margin: 0;
}

.intro-box .check-list {
  margin: 4px 0 0;
  font-size: 14px;
}
.intro-box .check-list li {
  margin-bottom: 2px;
  line-height: 1.8;
}

/* ---------- headings（02-E） ---------- */
.article-card section {
  margin-bottom: 56px;
  scroll-margin-top: 16px;
}
.article-card h2 {
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--c-ink);
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-line);
  margin: 0 0 24px;
}
.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-ink);
  margin: 40px 0 16px;
  padding-left: 18px;
  position: relative;
}
.article-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--c-accent);
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: 6px;
  line-height: 1.6;
}
/* 強調は太字（Ink）のみ。マーカー・色文字は使わない */
strong {
  font-weight: 700;
  color: var(--c-ink);
}
.note,
.small {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.8;
}
.note {
  margin-top: -16px;
}

/* ---------- purpose nav ---------- */
.purpose-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.purpose-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 20px 10px 18px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.purpose-nav a:hover {
  border-color: var(--c-accent);
  background: var(--c-point-bg);
}
.purpose-nav__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.purpose-nav__label {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-ink);
  margin: 8px 0 4px;
  line-height: 1.5;
}
.purpose-nav__q {
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-sub);
}

/* ---------- spec table ---------- */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}
.spec-table caption {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-sub);
  padding-bottom: 8px;
}
.spec-table th,
.spec-table td {
  border: 1px solid var(--c-line);
  padding: 14px 16px;
  vertical-align: top;
}
.spec-table th {
  width: 7.5em;
  background: var(--c-soft);
  text-align: left;
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}

/* 比較表（3列以上）：thead に項目名、行頭 th に比較軸 */
.spec-table thead th:not(:first-child) {
  width: auto;
}
.spec-table--compare {
  min-width: 440px;
}
.spec-table--compare thead th {
  width: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.6;
}
.spec-table--compare tbody th {
  width: 6.5em;
}
.spec-table--compare td {
  text-align: center;
}
.spec-table--compare tr.is-total th,
.spec-table--compare tr.is-total td {
  background: var(--c-point-bg);
  color: var(--c-ink);
  font-weight: 700;
  font-size: 15px;
}
/* Q&A型の表（左列が長め・折り返しあり） */
.spec-table--qa th {
  width: 9.5em;
  white-space: normal;
}
.spec-table--compare td.is-hl,
.spec-table--compare th.is-hl {
  background: var(--c-point-bg);
  color: var(--c-ink);
  font-weight: 700;
}

/* ---------- lists ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.check-list li {
  position: relative;
  padding: 0 0 0 1.4em;
  margin-bottom: 10px;
  line-height: 1.9;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.78em;
  width: 6px;
  height: 6px;
  background: var(--c-accent);
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--c-line);
}
.process-list li {
  display: flex;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
  line-height: 1.8;
}
.process-list__name {
  flex: 0 0 6.5em;
  font-weight: 700;
  color: var(--c-accent);
}

.fit-list {
  list-style: none;
  padding: 20px 24px;
  margin: 0 0 28px;
  background: var(--c-point-bg);
  border: 1px solid var(--c-point-line);
}
.fit-list li {
  position: relative;
  padding-left: 1.9em;
  margin: 6px 0;
  line-height: 1.9;
}
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--c-accent);
  background: var(--c-surface);
}
.fit-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.6em;
  width: 5px;
  height: 8px;
  border: solid var(--c-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 3.6em;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--c-point-line);
}
.timeline li {
  display: flex;
  gap: 1.8em;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.8;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(3.6em - 4px);
  top: 1em;
  width: 9px;
  height: 9px;
  background: var(--c-surface);
  border: 2px solid var(--c-accent);
}
.timeline__time {
  flex: 0 0 3em;
  font-family: var(--f-en);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--c-sub);
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.steps li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.steps li:first-child {
  border-top: 1px solid var(--c-line);
}
.steps__num {
  flex: 0 0 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}
.steps__title {
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 2px;
  line-height: 1.7;
}
.steps p:not(.steps__title) {
  margin: 0;
  font-size: 14px;
  color: var(--c-sub);
  line-height: 1.8;
}

/* ---------- 解説BOX（02-G）：point-box / memo-box 共通 ---------- */
.point,
.point-box,
.memo-box {
  background: var(--c-point-bg);
  border: 1px solid var(--c-point-line);
  padding: 24px 28px;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text);
}
.point p:last-child,
.point-box p:last-child,
.memo-box p:last-child {
  margin-bottom: 0;
}
.point__label,
.point-box__label,
.memo-box__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-point-label);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ---------- 引用（02-F） ---------- */
.quote {
  margin: 0 0 28px;
  padding: 28px 32px;
  background: var(--c-soft);
  border-left: 4px solid var(--c-accent);
}
.quote p {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.9;
  color: var(--c-ink);
  margin-bottom: 10px;
}
.quote cite {
  font-style: normal;
  font-size: 12px;
  color: var(--c-muted);
}
.quote cite::before {
  content: "― ";
}

/* ---------- more links（内部リンク） ---------- */
.more-links {
  border: 1px solid var(--c-line);
  padding: 20px 24px 14px;
  margin-top: 32px;
}
.more-links__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-sub);
  margin-bottom: 8px;
  line-height: 1.6;
}
.more-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.more-links li {
  border-top: 1px solid var(--c-soft);
}
.more-links li:first-child {
  border-top: 0;
}
.more-links a {
  display: block;
  position: relative;
  padding: 10px 1.6em 10px 0;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  color: var(--c-ink);
}
.more-links a::after {
  content: "›";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-52%);
  color: var(--c-accent);
  font-size: 18px;
}
.more-links a:hover {
  color: var(--c-accent);
}

/* 未公開記事へのリンク:公開後は data-status="coming" を消すだけで通常リンクに戻る */
a[data-status="coming"] {
  pointer-events: none;
  cursor: default;
  color: var(--c-muted) !important;
}
.more-links a[data-status="coming"],
.faq__link[data-status="coming"] {
  padding-right: 5.5em;
}
.more-links a[data-status="coming"]::after,
/* .faq__link[data-status="coming"]::after {
  content: "近日公開"; font-size: 11px; line-height: 1; padding: 4px 6px;
  border: 1px solid var(--c-line); color: var(--c-muted); background: var(--c-bg);
  top: 50%; transform: translateY(-50%); letter-spacing: .05em;
} */

/* ---------- faq ---------- */
.faq details {
  border-bottom: 1px solid var(--c-line);
}
.faq details:first-child {
  border-top: 1px solid var(--c-line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 2em 16px 2.2em;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--f-serif);
  font-size: 18px;
  color: var(--c-accent);
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 18px;
  font-weight: 400;
  color: var(--c-muted);
}
.faq details[open] summary::after {
  content: "−";
}
.faq__a {
  padding: 0 0 18px 2.2em;
  position: relative;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text);
}
.faq__a::before {
  content: "A";
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--f-serif);
  font-size: 18px;
  color: var(--c-muted);
}
.faq__a p {
  margin-bottom: 10px;
}
.faq__link {
  display: block;
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-accent);
  padding: 3px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__link[data-status="coming"] {
  text-decoration: none;
}
.faq__link::after {
  position: absolute;
  right: 0;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--c-soft);
  padding: 32px 28px 24px;
  margin-top: 32px;
  text-align: center;
}
.cta__lead {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--c-ink);
  margin-bottom: 16px;
  line-height: 1.6;
}
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  transition: opacity 0.2s;
}
.cta__btn:hover {
  opacity: 0.88;
}
.cta__btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.95;
}
.cta__btn--yt {
  background: var(--c-yt);
}
.cta__btn--line {
  background: var(--c-line-brand);
}
.cta__btn--recruit {
  background: var(--c-recruit);
}
.cta__grid--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

/* 記事中CTA（表や章の下に置く小さな誘導） */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  background: var(--c-soft);
  padding: 18px 22px;
  margin: 0 0 28px;
}
.inline-cta__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  color: var(--c-ink);
}
.inline-cta__btn {
  display: inline-block;
  background: var(--c-recruit);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  padding: 11px 22px;
  transition: opacity 0.2s;
}
.inline-cta__btn:hover {
  opacity: 0.88;
}
.inline-cta__btn--line {
  background: var(--c-line-brand);
}
.cta__btn-icon svg {
  width: 28px;
  height: 20px;
  display: block;
}
.cta__btn--line .cta__btn-icon {
  background: #fff;
  color: var(--c-line-brand);
  font-size: 9px;
  font-weight: 900;
  border-radius: 6px;
  padding: 5px 4px;
  line-height: 1;
}
.cta__note {
  font-size: 12px;
  color: var(--c-muted);
  margin: 14px 0 0;
  line-height: 1.8;
}

/* ---------- share（02-I） ---------- */
.share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
  margin-top: 12px;
}
.share__label {
  font-family: var(--f-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  margin-right: 8px;
}
.share__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.share__btn--line {
  background: var(--c-line-brand);
}
.share__btn--x {
  background: #111;
}
.share__btn--copy {
  background: var(--c-soft);
  border-color: var(--c-line);
  color: var(--c-ink);
}
.share__btn:hover {
  opacity: 0.88;
}

/* ---------- sidebar（02-J） ---------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 16px;
}
.side-line {
  background: var(--c-line-brand);
  color: #fff;
  text-align: center;
  padding: 28px 22px;
}
.side-line__badge {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-line-brand);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}
.side-line__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.side-line__text {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.side-line__btn {
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px;
  line-height: 1.6;
  transition: background 0.2s;
}
.side-line__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.side-box {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  padding: 24px;
}
.side-box__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-sub);
  line-height: 1.6;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 10px;
  margin-bottom: 16px;
  text-align: left;
}
.side-writer {
  text-align: center;
}
.side-writer__avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--c-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: 11px;
  line-height: 1.25;
  color: var(--c-ink);
}
.side-writer__avatar .accent {
  color: var(--c-accent);
  font-style: italic;
  font-size: 10px;
}
.side-writer__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.6;
}
.side-writer__role {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}
.side-writer__text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-text);
  text-align: left;
  margin: 0;
}

.side-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.side-toc li {
  counter-increment: toc;
  border-top: 1px solid var(--c-soft);
}
.side-toc li:first-child {
  border-top: 0;
}
.side-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  color: var(--c-ink);
}
.side-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--f-en);
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 600;
  padding-top: 1px;
}
.side-toc a:hover,
.side-toc a.is-current {
  color: var(--c-accent);
}
.side-toc a.is-current {
  font-weight: 700;
}

/* ---------- related（02-K 記事カード） ---------- */
.related {
  background: var(--c-soft);
  padding: 56px var(--gutter);
}
.related__inner {
  max-width: var(--w-container);
  margin: 0 auto;
}
.related__title {
  font-family: var(--f-serif);
  font-size: 22px;
  color: var(--c-ink);
  line-height: 1.5;
  margin: 0 0 24px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.card:hover {
  border-color: var(--c-accent);
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card__body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card .tags {
  margin-bottom: 10px;
}
.card .tag {
  font-size: 11px;
  padding: 2px 7px;
}
.card__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: var(--c-ink);
}
.card__foot {
  margin: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--c-line);
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
}
.card__more {
  font-family: var(--f-en);
  color: var(--c-accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.card[data-status="coming"] .card__title {
  color: var(--c-sub);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--c-footer);
  color: #cfc9c2;
  font-size: 13px;
}
.site-footer__inner {
  max-width: calc(var(--w-container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 48px var(--gutter) 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.logo--footer {
  font-size: 20px;
}
.logo--footer .logo__main {
  color: #fff;
  border-bottom-color: #e08a52;
}
.logo--footer .logo__accent {
  color: #e08a52;
  border-left-color: #5a5650;
}
.site-footer__about p {
  font-size: 12px;
  line-height: 1.9;
  margin: 12px 0 0;
  max-width: 22em;
}
.site-footer__domain {
  color: #a8a29b;
  font-size: 11px !important;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__col a {
  text-decoration: none;
  color: #f0efea;
}
.site-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__head {
  font-size: 11px;
  color: #a8a29b;
  margin: 0 0 2px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.site-footer__head--sub {
  margin-top: 14px;
}
.site-footer__bottom {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 16px 0 24px;
  border-top: 1px solid #45433e;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #a8a29b;
}
.site-footer__bottom a {
  color: #a8a29b;
  text-decoration: none;
}

.pagetop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pagetop.is-show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .site-header__tagline {
    display: none;
  }
}
@media (max-width: 1100px) {
  .logo__domain {
    display: none;
  }
}
@media (max-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .side-toc {
    display: none;
  }
  .gnav {
    display: none;
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 15px;
  }
  p {
    margin-bottom: 24px;
  }
  .site-header__tagline {
    display: none;
  }
  .sns {
    margin-left: auto;
  }
  .logo {
    font-size: 20px;
  }
  .pc-only {
    display: none;
  }
  .article-head {
    padding: 32px var(--gutter) 28px;
  }
  .article-title {
    font-size: 24px;
  }
  .article-lead {
    font-size: 14px;
  }
  .layout {
    padding: 20px 0 56px;
    gap: 32px;
  }
  .article-card {
    border-left: 0;
    border-right: 0;
    padding: 32px 20px 28px;
  }
  .intro-box {
    padding: 20px;
    gap: 14px;
    margin-bottom: 44px;
  }
  .intro-box__icon {
    flex-basis: 44px;
  }
  .intro-box__icon svg {
    width: 44px;
    height: 44px;
  }
  .article-card section {
    margin-bottom: 48px;
  }
  .article-card h2 {
    font-size: 19px;
  }
  .article-card h3 {
    font-size: 16px;
    margin-top: 32px;
  }
  .purpose-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .purpose-nav a {
    padding: 16px 8px 14px;
  }
  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
  }
  .spec-table th {
    width: 5.5em;
  }
  .spec-table--qa th {
    width: 6.5em;
  }
  .spec-table--compare {
    min-width: 520px;
    font-size: 13px;
  }
  .spec-table--compare tbody th {
    white-space: normal;
    width: 6em;
  }
  .spec-table--compare td {
    white-space: nowrap;
  }
  .inline-cta {
    padding: 16px;
  }
  .inline-cta__btn {
    width: 100%;
    text-align: center;
  }
  .process-list li {
    flex-direction: column;
    gap: 2px;
  }
  .process-list__name {
    flex: none;
  }
  .point,
  .point-box,
  .memo-box {
    padding: 20px;
  }
  .quote {
    padding: 22px 20px;
  }
  .quote p {
    font-size: 16px;
  }
  .more-links {
    padding: 16px 16px 10px;
  }
  .cta {
    padding: 24px 16px 18px;
  }
  .cta__grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter);
  }
  .related {
    padding: 44px var(--gutter) 48px;
  }
  .related__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card {
    flex-direction: row;
  }
  .card img {
    width: 38%;
    aspect-ratio: auto;
    height: auto;
    min-height: 100%;
  }
  .card__body {
    padding: 12px 14px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    padding: 40px var(--gutter) 24px;
  }
  .site-footer__about {
    grid-column: 1 / -1;
  }
  .site-footer__bottom {
    flex-direction: column;
    gap: 6px;
  }
}

/* 勤務時間の表：時刻の途中で折り返さない（kikanko-ichinichi で追加） */
.spec-table--compare td.is-time {
  white-space: nowrap;
}
