/* VOD TIMES フロントページ専用スタイル */

/* =========================================================
   デザインシステム
   - タイポスケール / スペーシングスケール / Elevation を定義し、
     ページ全体の余白・文字サイズ・影を「設計された値」で統率する。
   - 構成・トンマナ・配色は変えず、細部の精緻化のみを行う。
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* --- 配色（現状維持） --- */
  --accent:        #B03A2E;
  --accent-hover:  #9A3227;   /* hover時のわずかに沈んだ赤茶 */
  --accent-light:  #FDF3F2;
  --text-primary:   #1C1917;
  --text-secondary: #57534E;
  --text-muted:     #A8A29E;
  --border:       #E7E5E4;
  --border-soft:  #EFEDE9;     /* テーブル罫線など、より控えめな境界 */
  --bg-base:   #FAFAF5;
  --bg-gray:   #F5F2EC;
  --bg-dark:   #1E1414;

  /* --- スペーシングスケール（8px基調） --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 56px;   /* セクション間の標準リズム */
  --sp-10: 64px;

  /* --- タイポスケール（意図ある7段階） --- */
  --fs-h1:    28px;   /* セクション見出し級（FVタイトル等） */
  --fs-h2:    20px;   /* セクション見出し */
  --fs-lg:    16px;
  --fs-md:    14px;
  --fs-base:  13px;
  --fs-sm:    12px;
  --fs-xs:    11px;

  /* --- 角丸（3段階に統一） --- */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* --- Elevation（奥行きを3段階で設計） --- */
  --shadow-1: 0 1px 2px rgba(28,25,23,0.04), 0 1px 3px rgba(28,25,23,0.06);
  --shadow-2: 0 4px 12px rgba(28,25,23,0.07), 0 2px 4px rgba(28,25,23,0.04);
  --shadow-3: 0 10px 30px rgba(28,25,23,0.10), 0 4px 8px rgba(28,25,23,0.05);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'メイリオ', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }


/* =========================================================
   レイアウト
   ========================================================= */
.vt-container { max-width: 1080px; margin: 0 auto; padding: 0 var(--sp-6); }
.vt-layout {
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: var(--sp-10);
  padding: var(--sp-8) 0 var(--sp-10);
}
.vt-main { min-width: 0; }
.vt-sidebar { min-width: 0; }


/* =========================================================
   セクション見出し
   - 縦バーを「細く高く」して上品に。
   - letter-spacing と行間を整え、字面を引き締める。
   ========================================================= */
.vt-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.vt-section-head h2 {
  position: relative;
  padding-left: var(--sp-4);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
/* 縦バー：3px の細身、上下にわずかな余白を持たせ高品位に */
.vt-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.vt-section-head h2::after { content: none; }
.vt-section-more {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.vt-section-more:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-1);
}


/* =========================================================
   FV：フィーチャー記事
   ========================================================= */
.vt-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-4);
  margin-bottom: var(--sp-9);
}
.vt-feature-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.vt-feature-main:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.vt-feature-main .thumb {
  height: 240px;
  background: linear-gradient(135deg, #2c2c2c, #444);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  position: relative; overflow: hidden;
}
.vt-feature-main .thumb img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform .5s var(--ease);
}
.vt-feature-main:hover .thumb img { transform: scale(1.04); }
.vt-feature-main .label {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  background: var(--accent); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em;
  padding: var(--sp-1) var(--sp-3); border-radius: var(--radius-sm); z-index: 1;
}
.vt-feature-main .body { padding: var(--sp-5); flex: 1; }
.vt-feature-main .cat {
  font-size: var(--fs-xs); color: var(--accent); font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: var(--sp-2);
}
.vt-feature-main .title {
  font-size: var(--fs-lg); font-weight: 800; line-height: 1.55;
  letter-spacing: 0.01em;
}
.vt-feature-main .date {
  font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-3);
}

.vt-feature-sub {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.vt-feature-sub:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vt-feature-sub .thumb {
  width: 128px; flex-shrink: 0;
  background: linear-gradient(135deg, #3a3a3a, #555);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; position: relative; overflow: hidden;
}
.vt-feature-sub .thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.vt-feature-sub .body { padding: var(--sp-4); display: flex; flex-direction: column; justify-content: center; }
.vt-feature-sub .cat {
  font-size: var(--fs-xs); color: var(--accent); font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: var(--sp-1);
}
.vt-feature-sub .title { font-size: var(--fs-base); font-weight: 700; line-height: 1.55; }
.vt-feature-sub .date { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-2); }


/* =========================================================
   VOD早見表
   ========================================================= */
.vt-compare-block {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  margin-bottom: var(--sp-9);
}
.vt-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-base);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.vt-compare-table thead th {
  background: var(--bg-dark); color: #fff;
  padding: var(--sp-3) var(--sp-3);
  text-align: left;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
}
.vt-compare-table tbody tr { transition: background .2s var(--ease); }
.vt-compare-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--border-soft); }
.vt-compare-table tbody tr:hover { background: var(--accent-light); }
.vt-compare-table tbody td { padding: var(--sp-3); vertical-align: middle; }
.vt-svc-name { display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; }
.vt-svc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
/* サービスロゴ（背景色付き正方形アイコンを角丸でトリミング） */
.vt-svc-logo {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-1);
}
.vt-best-badge {
  background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.03em;
  padding: 2px var(--sp-1); border-radius: var(--radius-sm); margin-left: var(--sp-1);
}
.vt-price-val { font-weight: 700; color: var(--accent); }
.vt-check-o { color: #2A9D4E; font-weight: 700; }
.vt-check-x { color: var(--text-muted); }
.vt-compare-note {
  font-size: var(--fs-xs); color: var(--text-muted);
  margin-top: var(--sp-3); line-height: 1.6;
}


/* =========================================================
   目的別おすすめ
   ========================================================= */
.vt-purpose-block { margin-bottom: var(--sp-9); }
.vt-tab-list {
  display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-5);
}
.vt-tab-btn {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.02em;
  cursor: pointer;
  background: #fff; color: var(--text-secondary);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.vt-tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.vt-tab-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: var(--shadow-1);
}
/* align-items: stretch で同じ行のカード高さを揃える */
.vt-purpose-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); align-items: stretch; }
.vt-purpose-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  display: flex; align-items: flex-start; gap: var(--sp-3);
  box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.vt-purpose-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vt-purpose-rank {
  font-size: 24px; font-weight: 900; line-height: 1;
  min-width: 28px; color: var(--text-muted);
  font-feature-settings: "tnum";
}
.vt-purpose-rank.gold   { color: #C8A400; }
.vt-purpose-rank.silver { color: #9CA3AF; }
.vt-purpose-rank.bronze { color: #B56B2A; }
/* 情報側をカード全高に伸ばし縦flex化。価格を margin-top: auto で常に下端へ固定し、
   説明文の量に関わらず価格の位置を揃える。 */
.vt-purpose-info { flex: 1; align-self: stretch; display: flex; flex-direction: column; }
.vt-purpose-info .name   { font-size: var(--fs-md); font-weight: 800; letter-spacing: 0.01em; }
.vt-purpose-info .reason {
  font-size: var(--fs-xs); color: var(--text-secondary);
  margin-top: var(--sp-1); line-height: 1.65;
}
.vt-purpose-info .price {
  font-size: var(--fs-sm); color: var(--accent); font-weight: 700;
  margin-top: auto; padding-top: var(--sp-2);
}


/* =========================================================
   最新記事グリッド
   ========================================================= */
.vt-articles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4); margin-bottom: var(--sp-9);
}
.vt-article-card {
  display: flex;
  align-items: stretch; /* サムネ列と本文列を同じ高さに揃える */
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.vt-article-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
/* サムネ列は固定幅・本文高さに完全追従。
   画像は absolute で親を覆い、本文の長短に関わらず余白を出さない。 */
.vt-article-thumb {
  width: 120px; flex-shrink: 0;
  align-self: stretch;
  min-height: 120px; /* 本文が極端に短い場合でも画像が潰れないための下限 */
  background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; position: relative; overflow: hidden;
}
.vt-article-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.vt-article-body { padding: var(--sp-4); display: flex; flex-direction: column; justify-content: center; }
.vt-article-cat {
  font-size: var(--fs-xs); color: var(--accent); font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: var(--sp-1);
}
.vt-article-title {
  font-size: var(--fs-base); font-weight: 700; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.vt-article-date { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-2); }


/* =========================================================
   カテゴリ別記事
   ========================================================= */
.vt-cat-section { margin-bottom: var(--sp-9); }
.vt-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.vt-cat-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff;
  box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.vt-cat-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vt-cat-card .thumb {
  height: 132px; background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; position: relative; overflow: hidden;
}
.vt-cat-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform .5s var(--ease);
}
.vt-cat-card:hover .thumb img { transform: scale(1.04); }
.vt-cat-card .body { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.vt-cat-card .cat-label {
  font-size: var(--fs-xs); color: var(--accent); font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: var(--sp-1);
}
.vt-cat-card .title { font-size: var(--fs-base); font-weight: 700; line-height: 1.55; }
.vt-cat-card .date { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-2); }


/* =========================================================
   サイドバー
   ========================================================= */
.vt-sb-section { margin-bottom: var(--sp-8); }
.vt-sb-head {
  position: relative;
  font-size: var(--fs-md); font-weight: 800; letter-spacing: 0.02em;
  padding-left: var(--sp-3); margin-bottom: var(--sp-4);
  line-height: 1.4;
}
.vt-sb-head::before {
  content: "";
  position: absolute; left: 0; top: 0.16em; bottom: 0.16em;
  width: 3px; border-radius: var(--radius-pill); background: var(--accent);
}
.vt-sb-rank-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.vt-sb-rank-item {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.vt-sb-rank-item:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.vt-sb-rank-num {
  font-size: 20px; font-weight: 900; min-width: 24px; text-align: center; line-height: 1;
  font-feature-settings: "tnum";
}
.vt-sb-rank-num.g { color: #C8A400; }
.vt-sb-rank-num.s { color: #9CA3AF; }
.vt-sb-rank-num.b { color: #B56B2A; }
.vt-sb-rank-num.n { color: #D6D3D1; font-size: 16px; }
.vt-sb-rank-thumb {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--bg-gray); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  overflow: hidden;
}
.vt-sb-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vt-sb-rank-info .name  { font-size: var(--fs-base); font-weight: 700; letter-spacing: 0.01em; }
.vt-sb-rank-info .price { font-size: var(--fs-xs); color: var(--accent); font-weight: 600; margin-top: 2px; }
.vt-sb-cat-list { display: flex; flex-direction: column; }
.vt-sb-cat-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--border);
  font-size: var(--fs-base); transition: color .2s var(--ease);
}
.vt-sb-cat-item:hover { color: var(--accent); }
.vt-sb-cat-item .count {
  background: var(--bg-gray); color: var(--text-muted);
  font-size: var(--fs-xs); padding: 2px var(--sp-2); border-radius: var(--radius-pill);
  font-feature-settings: "tnum";
}
.vt-sb-popular-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.vt-sb-popular-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.vt-sb-popular-thumb {
  width: 72px; height: 54px; flex-shrink: 0;
  background: var(--bg-gray); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  position: relative; overflow: hidden;
}
.vt-sb-popular-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.vt-sb-popular-title { font-size: var(--fs-sm); font-weight: 700; line-height: 1.55; }
.vt-sb-popular-date  { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-1); }


/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 768px) {
  .vt-container { padding: 0 var(--sp-4); }
  .vt-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: var(--sp-6) 0 var(--sp-8);
  }
  .vt-sidebar { display: none; }
  .vt-feature-block { grid-template-columns: 1fr; margin-bottom: var(--sp-8); }
  .vt-feature-main { grid-column: auto; grid-row: auto; }
  .vt-feature-main .thumb { height: 200px; }
  .vt-purpose-cards { grid-template-columns: 1fr; }
  .vt-articles-grid { grid-template-columns: 1fr; margin-bottom: var(--sp-8); }
  .vt-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .vt-compare-block { margin-bottom: var(--sp-8); }
  .vt-cat-section { margin-bottom: var(--sp-8); }
  .vt-purpose-block { margin-bottom: var(--sp-8); }
}
@media (max-width: 640px) {
  .vt-compare-block {
    padding: var(--sp-4);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vt-compare-table { min-width: 480px; }
}
@media (max-width: 480px) {
  .vt-cat-grid { grid-template-columns: 1fr; }
  .vt-section-head h2 { font-size: var(--fs-lg); }
}
