/* ============================================================
   事例詳細（レイアウト検証版）
   assets/news-b.css の共通部分（ヘッダー・フッター・本文組版）に
   事例ページ固有の見え方だけを足している。
   ============================================================ */

/* ---- 記事の入口 ---- */
.case-head {
  padding: 76px 0 0;
}

.case-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}

.case-title {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .01em;
}

.case-lead {
  max-width: 820px;
  margin: 28px 0 0;
  font-size: 15.5px;
  line-height: 2.05;
  color: rgba(24, 27, 57, .78);
}

/* アイキャッチは白地に直接載せる。角丸は他の画像ボックスと同じ3pxに揃える */
.case-eyecatch {
  margin: 48px 0 0;
}

.case-eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* ---- 記事情報 ---- */
.case-meta {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-soft);
}

.case-meta div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.9;
}

.case-meta dt {
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: .08em;
}

.case-meta dd {
  margin: 0;
}

/* ---- 節の見出し（小さなラベル＋罫） ---- */
.case-section {
  padding: 74px 0 0;
}

.case-section-label {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ink);
}

.case-section-label::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--line);
}

/* 節の要点。本文より先に結論を1行で置く */
.case-key {
  margin: 0 0 30px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

/* ---- 引用 ---- */
.case-quote {
  margin: 34px 0;
  padding: 26px 30px;
  border-left: 3px solid var(--blue);
  background: var(--paper);
}

.case-quote p {
  margin: 0;
  font-size: 15.5px;
  line-height: 2;
  color: rgba(24, 27, 57, .86);
}

.case-quote cite {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  font-style: normal;
  letter-spacing: .04em;
  color: var(--dim);
}

/* ---- 写真 ---- */
.case-figure {
  margin: 44px 0;
}

.case-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.case-figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
}

/* ---- 記事末尾の情報 ---- */
.case-profile {
  margin: 74px 0 0;
  padding: 34px 36px;
  border: 1px solid var(--line);
}

.case-profile h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.case-profile .case-meta {
  border-top: 0;
}

.case-profile .case-meta div:last-child {
  border-bottom: 0;
}

.case-note {
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.95;
  color: var(--dim);
}

/* ---- 関連するサービス ---- */
.case-services {
  margin: 44px 0 0;
}

.case-services h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.case-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  font-weight: 600;
  transition: background .3s;
}

.case-services a:first-of-type {
  border-top: 1px solid var(--line-soft);
}

.case-services a:hover {
  background: rgba(24, 27, 57, .035);
}

.case-services span {
  font-size: 18px;
  transition: transform .3s;
}

.case-services a:hover span {
  transform: translateX(6px);
}

@media (max-width: 700px) {
  .case-head { padding-top: 44px; }
  .case-eyecatch { margin-top: 40px; }
  .case-section { padding-top: 54px; }
  .case-key { font-size: 15.5px; }
  .case-quote { padding: 20px 20px; }
  .case-quote p { font-size: 14.5px; }
  .case-meta div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .case-profile { padding: 26px 22px; }
  .case-figure { margin: 32px 0; }
}
