@charset "UTF-8";

/**
 * 事例一覧ページ（/cases/ ・ page-cases.php）専用スタイルシート
 *
 * 2026-10-04 全面改修: marketing-aix の導入事例アーカイブ（Editorial Index / Magazine List）の
 * レイアウトを移植し、配色をウルトラのブルーに置換。トークンは css/case-tokens.css。
 *   - ヒーロー（英字ラベル＋大見出し）
 *   - 左サイドバー（カテゴリー絞り込み・お問い合わせ・ピックアップ）
 *   - 右：番号付きリスト行（年 / カテゴリー / クライアント・見出し・メタ / →）
 *   - 下部：お問い合わせCTA（旧版から継続）
 *
 * @package SWELL Child
 * @since 2026-09-27
 */

/* ==================================================
   基本設定（1カラム化）
================================================== */

.cases-list-page {
  font-family: var(--uc-font-jp);
  color: var(--uc-text);
  background-color: #fff;
}

/* SWELLのデフォルトコンテナpadding無効化 */
#content.l-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

#main-content {
  width: 100% !important;
}

#sidebar {
  display: none !important;
}

.cases-list-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cases-list-page .pc-only {
  display: inline;
}

.cases-list-page a {
  text-decoration: none;
}

/* ==================================================
   ステージ
================================================== */

.case-archive-stage {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.vc-root {
  width: 100%;
  background: var(--uc-white);
}

/* ==================================================
   ヒーロー
================================================== */

.vc-hero {
  padding: 32px 80px 40px;
  border-bottom: 1px solid var(--uc-text-deep);
}

.vc-hero-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.vc-hero-issue {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vc-hero-issue-en {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--uc-primary);
}

.vc-hero-issue-jp {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--uc-muted);
}

.vc-hero-rule {
  flex: 1;
  height: 1px;
  background: var(--uc-line-2);
}

.vc-hero-title {
  font-family: var(--uc-font-jp);
  font-weight: 900;
  font-size: 72px;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--uc-text-deep);
  margin: 0 0 24px;
}

.vc-hero-sub {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
  color: var(--uc-text);
  max-width: 860px;
}

/* ==================================================
   2カラム本体
================================================== */

.vc-body {
  display: grid;
  grid-template-columns: 312px 1fr;
  gap: 0;
}

/* ==================================================
   サイドバー
================================================== */

.vc-side {
  padding: 64px 32px 64px 80px;
  border-right: 1px solid var(--uc-line);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.vc-side-num {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 36px;
  color: var(--uc-primary);
  letter-spacing: -0.02em;
  line-height: 0.85;
  margin-bottom: 12px;
}

.vc-side-en {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--uc-primary);
  margin-bottom: 4px;
}

.vc-side-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--uc-text-deep);
  margin: 0 0 18px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.vc-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vc-side-list li {
  margin: 0;
  padding: 0;
}

.vc-side-btn {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--uc-font-jp);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--uc-text);
  cursor: pointer;
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}

.vc-side-btn:hover {
  background: var(--uc-surface);
}

.vc-side-btn.is-active {
  color: var(--uc-primary);
  font-weight: 700;
}

.vc-side-check {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--uc-line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--uc-white);
}

.vc-side-check span {
  width: 8px;
  height: 8px;
  background: transparent;
  transition: background 120ms ease;
}

.vc-side-btn.is-active .vc-side-check {
  border-color: var(--uc-primary);
}

.vc-side-btn.is-active .vc-side-check span {
  background: var(--uc-primary);
}

.vc-side-btn-label {
  flex: 1;
  letter-spacing: 0.04em;
}

.vc-side-btn-count {
  font-family: var(--uc-font-en);
  font-weight: 700;
  font-size: 11px;
  color: var(--uc-muted);
  letter-spacing: 0.06em;
}

.vc-side-btn.is-active .vc-side-btn-count {
  color: var(--uc-primary);
}

/* お問い合わせ（サイドバー） */
.vc-side-callout {
  background: var(--uc-text-deep);
  padding: 24px;
  color: var(--uc-white);
  margin-right: 16px;
}

.vc-side-callout-en {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--uc-primary-light);
  margin-bottom: 14px;
}

.vc-side-callout-text {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.vc-side-callout-btn {
  display: block;
  width: 100%;
  background: var(--uc-primary);
  color: var(--uc-white) !important;
  border: 0;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  transition: background 150ms ease;
}

.vc-side-callout-btn:hover {
  background: var(--uc-primary-light);
}

/* ピックアップ（サイドバー） */
.vc-side-pickup {
  border-top: 1px solid var(--uc-line);
  padding-top: 28px;
}

.vc-side-pickup-en {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--uc-primary);
  margin-bottom: 4px;
}

.vc-side-pickup-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--uc-text-deep);
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}

.vc-side-pickup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vc-side-pickup-list li {
  margin: 0;
  padding: 0;
}

.vc-side-pickup-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--uc-text);
  transition: opacity 150ms ease;
}

.vc-side-pickup-list a:hover {
  opacity: 0.7;
}

.vc-side-pickup-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  background: var(--uc-surface);
  overflow: hidden;
}

.vc-side-pickup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vc-side-pickup-name {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
  color: var(--uc-text);
  letter-spacing: 0.02em;
}

/* ==================================================
   メイン（リスト）
================================================== */

.vc-main {
  padding: 64px 80px 96px 56px;
  min-width: 0;
}

.vc-main-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--uc-text-deep);
}

.vc-main-en {
  grid-column: 1;
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--uc-primary);
  margin-bottom: 4px;
}

.vc-main-title {
  grid-column: 1;
  grid-row: 2;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--uc-text-deep);
  margin: 0;
  line-height: 1.4;
}

.vc-main-cat {
  color: var(--uc-primary);
}

.vc-main-count {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--uc-font-en);
}

.vc-main-count-num {
  font-weight: 800;
  font-size: 56px;
  color: var(--uc-text-deep);
  line-height: 1;
  letter-spacing: -0.03em;
}

.vc-main-count-unit {
  font-weight: 700;
  font-size: 13px;
  color: var(--uc-muted);
  letter-spacing: 0.12em;
}

/* リスト */
.vc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vc-row {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--uc-line);
}

.vc-row[hidden] {
  display: none !important;
}

.vc-row-link {
  display: grid;
  grid-template-columns: 64px 160px 1fr 32px;
  gap: 24px;
  padding: 28px 0;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: background 150ms ease, padding 150ms ease, margin 150ms ease;
}

.vc-row-link:hover {
  background: var(--uc-surface);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

/* 番号・年 */
.vc-row-no {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.vc-row-no-num {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 32px;
  color: var(--uc-text-deep);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.vc-row-no-year {
  font-family: var(--uc-font-en);
  font-weight: 700;
  font-size: 11px;
  color: var(--uc-muted);
  letter-spacing: 0.16em;
}

/* カテゴリー帯 */
.vc-row-cat-strip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.vc-row-cat-bar {
  flex: 0 0 3px;
  width: 3px;
  align-self: stretch;
  background: var(--uc-primary);
}

.vc-row-cat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vc-row-cat-en {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--uc-primary);
  line-height: 1.4;
}

.vc-row-cat-jp {
  font-weight: 700;
  font-size: 12px;
  color: var(--uc-text);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.vc-row-cat-more {
  font-size: 10px;
  color: var(--uc-muted);
  letter-spacing: 0.04em;
}

/* 本文 */
.vc-row-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  text-align: left;
}

.vc-row-client {
  font-weight: 700;
  font-size: 13px;
  color: var(--uc-primary);
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: left;
}

.vc-row-headline {
  font-weight: 700;
  font-size: 20px;
  color: var(--uc-text-deep);
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  text-wrap: pretty;
  transition: color 150ms ease;
}

.vc-row-link:hover .vc-row-headline {
  color: var(--uc-primary);
}

.vc-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--uc-muted);
  margin-top: 2px;
}

.vc-row-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vc-row-meta-item b {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--uc-primary);
  padding: 2px 6px;
  background: var(--uc-surface);
}

.vc-row-meta-sep {
  color: var(--uc-line-2);
}

.vc-row-svcs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.vc-row-svc {
  color: var(--uc-text);
}

/* 矢印 */
.vc-row-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease;
}

.vc-row-cta-arrow {
  font-family: var(--uc-font-en);
  font-weight: 800;
  font-size: 22px;
  color: var(--uc-muted);
}

.vc-row-link:hover .vc-row-cta-arrow {
  color: var(--uc-primary);
}

.vc-row-link:hover .vc-row-cta {
  transform: translateX(4px);
}

/* 該当なし */
.vc-empty {
  padding: 64px 0;
  text-align: center;
  color: var(--uc-muted);
}

.vc-empty[hidden] {
  display: none !important;
}

/* ==================================================
   お問い合わせCTA（下部）
================================================== */

.cases-cta {
  background-color: var(--uc-surface-2);
  padding: 60px 20px;
  text-align: center;
}

.cases-cta-lead {
  color: var(--uc-primary);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cases-cta-text {
  color: var(--uc-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 28px;
}

.cases-cta-button {
  display: inline-block;
  min-width: 280px;
  padding: 16px 32px;
  background-color: var(--uc-primary);
  border: 1px solid var(--uc-primary);
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cases-cta-button:hover {
  background-color: #fff;
  color: var(--uc-primary);
}

.cases-cta-tel {
  margin-top: 28px;
  color: var(--uc-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.cases-cta-tel-number {
  color: var(--uc-primary);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
}

.cases-cta-tel-hours {
  font-size: 14px;
}

/* ==================================================
   レスポンシブ
================================================== */

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
  .vc-hero {
    padding: 24px 24px 32px;
  }

  .vc-hero-title {
    font-size: 52px;
  }

  .vc-side {
    padding: 32px 24px;
  }

  .vc-main {
    padding: 32px 24px 64px;
  }

  .vc-body {
    grid-template-columns: 260px 1fr;
  }

  .vc-row-link {
    grid-template-columns: 48px 130px 1fr 24px;
    gap: 16px;
  }
}

/* スマホ（768px以下） */
@media (max-width: 768px) {
  .cases-list-page .pc-only {
    display: none;
  }

  /* 1カラム化 */
  .vc-body {
    display: block;
  }

  .vc-side {
    padding: 24px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--uc-line);
    gap: 32px;
  }

  .vc-main {
    padding: 24px 16px 48px;
  }

  /* ヒーロー */
  .vc-hero {
    padding: 16px 16px 24px;
  }

  .vc-hero-top {
    margin-bottom: 20px;
    gap: 12px;
  }

  .vc-hero-title {
    font-size: 36px;
    letter-spacing: 0;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .vc-hero-sub {
    font-size: 14px;
  }

  .vc-hero-issue-en {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  /* メイン見出し */
  .vc-main-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vc-main-title {
    font-size: 20px;
    grid-row: auto;
  }

  .vc-main-en {
    grid-row: auto;
  }

  .vc-main-count {
    grid-column: 1;
    grid-row: auto;
  }

  .vc-main-count-num {
    font-size: 36px;
  }

  /* リスト行：縦積み */
  .vc-row-link {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "no   cat"
      "main main"
      "cta  cta";
    gap: 12px;
    padding: 20px 0;
    align-items: start;
  }

  .vc-row-link:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .vc-row-no {
    grid-area: no;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .vc-row-no-num {
    font-size: 22px;
  }

  .vc-row-no-year {
    font-size: 10px;
  }

  .vc-row-cat-strip {
    grid-area: cat;
    justify-self: end;
  }

  .vc-row-cat-bar {
    display: none;
  }

  .vc-row-cat-text {
    align-items: flex-end;
    text-align: right;
  }

  .vc-row-cat-jp {
    font-size: 11px;
  }

  .vc-row-main {
    grid-area: main;
  }

  .vc-row-headline {
    font-size: 16px;
  }

  .vc-row-meta {
    gap: 6px;
  }

  .vc-row-meta-item {
    gap: 4px;
  }

  .vc-row-meta-item b {
    padding: 2px 5px;
  }

  .vc-row-cta {
    grid-area: cta;
    justify-self: end;
    margin-top: -4px;
  }

  /* サイドバー */
  .vc-side-num {
    font-size: 28px;
  }

  .vc-side-title {
    font-size: 16px;
  }

  .vc-side-callout {
    margin-right: 0;
  }

  .vc-side-pickup-title {
    font-size: 14px;
  }

  /* CTA */
  .cases-cta {
    padding: 40px 15px;
  }

  .cases-cta-lead {
    font-size: 18px;
  }

  .cases-cta-text {
    font-size: 14px;
    text-align: left;
  }

  .cases-cta-button {
    min-width: 0;
    width: 100%;
  }

  .cases-cta-tel-number {
    font-size: 24px;
  }
}
