:root {
  --brand-900: #063a5e;
  --brand-700: #0a6aa8;
  --brand-500: #0087d1;
  --brand-100: #dceefa;
  --brand-050: #f1f8fd;

  --ink-900: #0d0f10;
  --ink-700: #2a2e31;
  --ink-500: #5b6166;
  --ink-300: #b9bfc4;
  --ink-100: #eef0f2;
  --ink-050: #f7f8f9;
  --white: #ffffff;
  --line: #e3e6e8;

  --shadow-sm: 0 1px 2px rgba(13,15,16,.05), 0 2px 8px rgba(13,15,16,.04);
  --shadow-md: 0 4px 12px rgba(13,15,16,.06), 0 12px 32px rgba(13,15,16,.06);
  --shadow-lg: 0 8px 30px rgba(13,15,16,.08), 0 20px 60px rgba(13,15,16,.10);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --max-w: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  height: 36px;
  width: auto;
  display: inline-block;
}
.brand-text { display: inline-flex; align-items: baseline; gap: 8px; }
.header-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--brand-700);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: background .15s;
}
.header-nav-link:hover { background: var(--brand-900); }
.header-ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  color: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: border-color .15s, color .15s;
}
.header-ig:hover { border-color: var(--brand-500); color: var(--brand-700); }

/* Instagram グリフ（公式グラデ・塗りつぶしタイル＝一目で分かる） */
.ig-glyph {
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
  vertical-align: -0.32em;
  margin-right: 7px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23feda75'/%3E%3Cstop offset='.25' stop-color='%23fa7e1e'/%3E%3Cstop offset='.5' stop-color='%23d62976'/%3E%3Cstop offset='.75' stop-color='%23962fbf'/%3E%3Cstop offset='1' stop-color='%234f5bd5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='1' width='22' height='22' rx='6.5' fill='url(%23g)'/%3E%3Crect x='6' y='6' width='12' height='12' rx='3.6' fill='none' stroke='%23fff' stroke-width='1.9'/%3E%3Ccircle cx='12' cy='12' r='3.1' fill='none' stroke='%23fff' stroke-width='1.9'/%3E%3Ccircle cx='16.4' cy='7.6' r='1.2' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat;
}
.brand-mark {
  font-weight: 900;
  letter-spacing: .04em;
  font-size: 18px;
  color: var(--brand-900);
}
.brand-sub {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.header-nav { display: flex; gap: 8px; align-items: center; }
@media (min-width: 720px) { .header-nav { gap: 14px; } }
.header-nav a {
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 700;
}
.header-nav a:hover { color: var(--brand-700); }
.lg-only { display: none; }
.sm-only { display: inline; }
@media (min-width: 720px) {
  .lg-only { display: inline; }
  .sm-only { display: none; }
}

/* ---------- Pages (router) ---------- */
.page { display: block; }
.page[hidden] { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .12s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--brand-900); }
.btn-ghost {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-300); }
.btn-text {
  background: transparent;
  color: var(--ink-700);
  padding: 6px 10px;
  font-weight: 700;
}
.btn-text:hover { color: var(--brand-700); }
.btn-block { width: 100%; margin-top: 18px; padding: 14px 22px; font-size: 15px; }

/* ============================
   HERO — 最小限・白ベース
   ============================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 30px;
  background: var(--white);
  border-bottom: 1px solid var(--ink-100);
  isolation: isolate;
}
@media (min-width: 880px) {
  .hero { padding: 66px 0 48px; }
}
/* 編集誌風の特大英字ウォーターマーク（主役級・アウトライン） */
.hero-watermark {
  position: absolute;
  left: -.05em;
  bottom: -.2em;
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(120px, 44vw, 360px);
  letter-spacing: -.05em;
  line-height: .8;
  color: rgba(6, 58, 94, .07);
  -webkit-text-stroke: 1.5px rgba(6, 58, 94, .07);
  z-index: -1;
  pointer-events: none;
  white-space: nowrap;
}
@media (min-width: 880px) {
  .hero-watermark { color: rgba(6, 58, 94, .08); -webkit-text-stroke-color: rgba(6, 58, 94, .08); }
}
.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-700);
  font-weight: 800;
}
.hero-title {
  margin: 0 0 16px;
  font-family: "Noto Sans JP", "Inter", system-ui, sans-serif;
  color: var(--ink-900);
  white-space: normal;
}
/* 2行目（上）「ゴルフ初心者でも迷わない」 主役 */
.hero-title .l2 {
  display: block;
  font-size: clamp(31px, 8.2vw, 48px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--brand-900);
  word-break: keep-all;
  overflow-wrap: normal;
  margin-bottom: 6px;
}
.hero-title .l2 em {
  font-style: normal;
  font-weight: 900;
  color: var(--brand-900);
  background-image: linear-gradient(transparent 70%, rgba(0,135,209,.20) 70%, rgba(0,135,209,.20) 96%, transparent 96%);
  background-repeat: no-repeat;
  padding: 0 .04em;
}
/* 3行目（下）「レッスン動画ライブラリ」 締め */
.hero-title .l3 {
  display: block;
  font-size: clamp(23px, 6.2vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.16;
  color: var(--brand-700);
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-title .l3 .accent {
  color: var(--brand-500);
}
.hero-lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-700);
  max-width: 540px;
  white-space: pre-line;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.hero-actions .btn-primary {
  font-size: 15px;
  padding: 14px 28px;
  box-shadow: 0 8px 24px rgba(0,135,209,.28);
}
.hero-badges {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 18px;
}
.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.hero-badges .badge strong {
  color: var(--brand-900);
  font-weight: 900;
  font-size: 13px;
  margin-right: 2px;
}
/* hero-cat-chips removed in favor of dedicated categories section */

/* ============================
   SECTION HEAD
   ============================ */
.section-head { margin-bottom: 20px; }
.section-head-small { margin-bottom: 12px; }
.section-title {
  margin: 0 0 6px;
  font-size: clamp(20px, 4vw, 26px);
  letter-spacing: -.015em;
  font-weight: 900;
  color: var(--ink-900);
  line-height: 1.4;
}
.section-subtitle {
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--ink-700);
}
.section-lead {
  margin: 6px 0 0;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.8;
}

/* ============================
   Scroll guide between hero & categories
   ============================ */
.scroll-guide {
  background: var(--brand-050);
  padding: 18px 20px 8px;
  text-align: center;
  border-bottom: 1px solid var(--brand-100);
}
.scroll-guide-text {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-700);
  letter-spacing: .04em;
}
.scroll-guide-arrow {
  display: inline-block;
  font-size: 18px;
  color: var(--brand-500);
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ============================
   CATEGORIES — メイン
   ============================ */
.categories {
  padding: 40px 0 64px;
  background: var(--brand-050);
}
@media (min-width: 880px) { .categories { padding: 56px 0 88px; } }
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) { .category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1080px) { .category-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: border-color .15s ease, box-shadow .18s ease, transform .12s ease;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}
.cat-card:hover, .cat-card:active {
  border-color: var(--cat-accent, var(--brand-500));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-card-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--cat-accent-light, var(--brand-500)) 0%, var(--cat-accent, var(--brand-700)) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px 20px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
/* 画像レイヤー：ホバーでゆっくりズーム（編集誌的な質感） */
.cat-card.has-image .cat-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--cat-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.cat-card:hover .cat-card-visual::after { transform: scale(1.06); }
.cat-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.45) 100%),
    linear-gradient(135deg, rgba(255,255,255,.05) 0%, rgba(0,0,0,.15) 100%);
  pointer-events: none;
}
.cat-card.has-image .cat-card-visual::before {
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.30) 52%, rgba(0,0,0,.66) 100%);
}
/* 連番（編集誌の通し番号） */
.cat-card-num {
  position: absolute;
  top: 11px;
  left: 15px;
  z-index: 2;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.cat-card-num::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 3px;
  background: var(--cat-accent-light, var(--brand-500));
  border-radius: 2px;
}
.cat-card-heading {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-card-en {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 5px rgba(0,0,0,.45);
}
.cat-card-visual-typo {
  position: relative;
  z-index: 2;
  font-size: clamp(24px, 4.6vw, 30px);
  font-weight: 900;
  letter-spacing: -.015em;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
  line-height: 1.2;
}

.cat-card-count {
  position: absolute;
  top: 11px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--ink-900);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 1px 3px rgba(6,40,70,.10);
}
.cat-card.is-empty .cat-card-count {
  background: var(--brand-900);
  color: var(--white);
  letter-spacing: .08em;
}

.cat-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  border-top: 3px solid var(--cat-accent, var(--brand-500));
}
.cat-card.is-empty .cat-card-body { border-top-color: var(--ink-300); }
.cat-card-name {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  color: var(--ink-900);
  letter-spacing: -.008em;
  line-height: 1.35;
}
.cat-card-desc {
  margin: 0;
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.55;
}
.cat-card-subs {
  margin: 0;
  font-size: 11px;
  color: var(--ink-500);
  line-height: 1.7;
}
.cat-card-subs strong {
  color: var(--cat-accent, var(--brand-700));
  font-weight: 700;
  margin-right: 6px;
  letter-spacing: .04em;
  font-size: 10px;
  text-transform: uppercase;
}
.cat-card-foot {
  margin: auto 0 0;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px dashed var(--ink-100);
  font-size: 12px;
  color: var(--ink-500);
}
.cat-card-foot-text strong {
  color: var(--ink-900);
  font-weight: 800;
  margin-right: 2px;
  font-size: 13px;
}
.cat-card-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cat-tint, var(--ink-050));
  color: var(--cat-accent, var(--ink-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s, color .18s, transform .18s;
}
.cat-card:hover .cat-card-arrow {
  background: var(--cat-accent, var(--brand-700));
  color: var(--white);
  transform: translateX(2px);
}
.cat-card.is-empty {
  cursor: default;
  opacity: .92;
}
.cat-card.is-empty:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.cat-card.is-empty .cat-icon { opacity: .35; }

.hero-note {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 400px at 90% 0%, var(--brand-100) 0%, transparent 65%),
    radial-gradient(700px 300px at 0% 100%, rgba(143,210,170,.18), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-050) 100%);
}
.hero-bg.has-image::before {
  /* Photo backdrop. Mobile: full-bleed image with a vertical white wash so text stays readable */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.60) 0%, rgba(255,255,255,.80) 42%, rgba(255,255,255,.93) 100%),
    var(--cat-image) center / cover no-repeat;
  opacity: 1;
}
@media (min-width: 880px) {
  .hero-bg.has-image::before {
    /* Desktop: horizontal wash, photo peeks on the right */
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.5) 56%, rgba(255,255,255,.12) 80%, rgba(255,255,255,0) 100%),
      var(--cat-image) center 30% / cover no-repeat;
  }
}

/* ==== Hero 2-column layout ==== */
/* (height controlled by the first .hero rule above) */
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-content { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}

/* CGRIT brand mark in hero left column */
.hero-brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 28px;
  padding: 0 0 16px;
  border-bottom: 2px solid var(--brand-900);
  align-items: flex-start;
  position: relative;
}
.hero-brand-mark::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--brand-500);
}
.hero-brand-name {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--brand-900);
  line-height: 1;
  font-family: "Inter", "Noto Sans JP", sans-serif;
}
.hero-brand-logo {
  display: block;
  height: clamp(64px, 9vw, 96px);
  width: auto;
  margin: 0 0 6px;
}
.hero-brand-tag {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-700);
  font-weight: 700;
  padding-left: 2px;
}

/* Hero visual right column */
.hero-visual-wrap {
  /* デザイン済みヒーロー画像が右側まで情報を持つため、装飾ロゴは常に非表示 */
  display: none !important;
}
/* スマホ用ヒーロー画像は背景化したため非表示 */
.hero-mobile-photo { display: none; }
.hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  padding: 0;
}
.hero-visual-overlay-mark {
  display: none;
}
.hero-visual-logo-big {
  display: block;
  width: clamp(200px, 22vw, 280px);
  height: auto;
  margin: 0;
  opacity: .55;
  filter: drop-shadow(0 8px 20px rgba(6,40,70,.10));
}
.hero-visual-caption { display: none; }
.modal-benefit {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--cat-accent, var(--brand-700));
}
.modal-benefit:empty { display: none; }
.modal-hook {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--brand-050);
  border-left: 3px solid var(--cat-accent, var(--brand-500));
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.55;
}
.modal-hook:empty { display: none; }
.modal-ig-link {
  margin: 14px 0 0;
  font-size: 12px;
  text-align: center;
}
.modal-ig-link a {
  color: var(--brand-700);
  font-weight: 700;
  text-decoration: underline;
}
.modal-ig-link a:hover { color: var(--brand-900); }

/* Prompt modal */
.modal-panel-prompt { max-width: 640px; }
#prompt-output {
  width: 100%;
  padding: 14px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-050);
  resize: vertical;
  min-height: 320px;
  outline: none;
  color: var(--ink-900);
}
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* ============================
   INSTAGRAM BAND
   ============================ */
.ig-band {
  padding: 32px 0 16px;
  background: var(--white);
}
.ig-band-card {
  /* CGRITブルー基調の斜めグラデ */
  background: linear-gradient(120deg, #063a5e 0%, #0a6aa8 48%, #0087d1 100%);
  border-radius: var(--radius-md);
  padding: 28px 28px 26px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  box-shadow: 0 12px 32px rgba(0,135,209,.25), 0 4px 12px rgba(13,15,16,.10);
}
@media (min-width: 720px) {
  .ig-band-card { grid-template-columns: 1fr auto; padding: 32px 36px; }
}
.ig-band-eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.ig-band-title {
  margin: 0 0 6px;
  font-size: clamp(20px, 3.6vw, 24px);
  font-weight: 900;
  letter-spacing: -.012em;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,.22);
}
.ig-band-lead {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  line-height: 1.7;
  max-width: 460px;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.ig-band .btn-primary {
  background: var(--white);
  color: var(--brand-700);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  font-weight: 900;
}
.ig-band .btn-primary:hover { background: var(--brand-050); color: var(--brand-900); }

/* ============================
   SEARCH — 補助
   ============================ */
.search-band {
  padding: 24px 0 64px;
  background: var(--ink-050);
  border-top: 1px solid var(--ink-100);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 16px;
  margin-bottom: 14px;
}
.search-form:focus-within { border-color: var(--brand-500); }
.search-icon { display: inline-flex; align-items: center; color: var(--ink-500); flex-shrink: 0; }
.search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 15px;
  background: transparent;
  padding: 12px 0;
  color: var(--ink-900);
  min-width: 0;
}
.search-form input::placeholder { color: var(--ink-500); }
.search-form .btn { padding: 11px 18px; font-size: 13px; }

.quick-tags {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.quick-tags::-webkit-scrollbar { display: none; }
.quick-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding: 7px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-700);
  font-weight: 600;
}
.quick-tag:hover, .quick-tag:active {
  border-color: var(--brand-500);
  color: var(--brand-700);
}

/* ============================
   CATEGORY HEAD
   ============================ */
.cat-head-section {
  padding: 28px 0 0;
  background: var(--white);
}
.breadcrumb {
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--ink-700); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb span { margin: 0 6px; color: var(--ink-300); }
.breadcrumb span:last-child { color: var(--ink-700); }

.cat-head-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) {
  .cat-head-card { grid-template-columns: 180px 1fr; }
}
.cat-head-visual {
  position: relative;
  background: var(--cat-tint, var(--brand-100));
  background-image: var(--cat-image, none);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.cat-head-visual {
  background:
    linear-gradient(135deg, var(--cat-accent-light, var(--brand-500)) 0%, var(--cat-accent, var(--brand-700)) 100%);
  background-image: var(--cat-image, none),
    linear-gradient(135deg, var(--cat-accent-light, var(--brand-500)) 0%, var(--cat-accent, var(--brand-700)) 100%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 24px;
}
.cat-head-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
}
.cat-head-card.has-image .cat-head-visual::before {
  background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 100%);
}
.cat-head-typo {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  letter-spacing: -.015em;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
  line-height: 1.2;
}
.cat-head-visual-all { background: linear-gradient(135deg, var(--brand-500), var(--brand-900)) !important; }
@media (min-width: 640px) {
  .cat-head-visual { aspect-ratio: auto; min-height: 100%; }
}
.cat-head-stripe { display: none; }
.cat-head-body {
  padding: 22px 24px 24px;
  border-top: 4px solid var(--cat-accent, var(--brand-500));
}
@media (min-width: 640px) {
  .cat-head-body { border-top: 0; border-left: 4px solid var(--cat-accent, var(--brand-500)); }
}
.cat-eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cat-accent, var(--brand-700));
  font-weight: 800;
}
.cat-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 900;
  letter-spacing: -.018em;
  line-height: 1.3;
  color: var(--ink-900);
}
.cat-blurb {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.85;
}
.cat-solves {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--ink-050);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink-900);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
}
.cat-solves-label {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cat-accent, var(--brand-700));
  font-weight: 800;
}
.cat-solves-text { font-weight: 600; }
.cat-meta {
  margin: 0;
  font-size: 12px;
  color: var(--ink-500);
}
.cat-meta strong {
  color: var(--ink-900);
  font-weight: 800;
  font-size: 14px;
  margin-right: 4px;
}

/* ============================
   CATEGORY BODY (Video list)
   ============================ */
.cat-body {
  padding: 28px 0 80px;
  background: var(--white);
}
.cat-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 14px;
  margin-bottom: 18px;
}
.cat-toolbar:focus-within { border-color: var(--brand-500); }
.cat-toolbar input[type="search"] {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 14px;
  background: transparent;
  padding: 11px 0;
  color: var(--ink-900);
}

.filter-group { margin-bottom: 22px; }
.filter-label {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 700;
  margin-bottom: 10px;
}
.chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip-row.scroll-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chip-row.scroll-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-700);
  cursor: pointer;
  font-weight: 600;
  transition: all .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--ink-300); }
.chip.is-active {
  background: var(--brand-900);
  color: var(--white);
  border-color: var(--brand-900);
}

/* ============================
   VIDEO LIST (横長カード)
   ============================ */
.video-list {
  display: grid;
  /* スマホは2カラム（Instagramグリッド風で一覧性を上げる） */
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 720px) {
  .video-list { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
}
@media (min-width: 1080px) {
  .video-list { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }
}
/* 2カラム/狭いカードでは本文をコンパクトに */
@media (max-width: 719px) {
  .video-card-body { padding: 10px 11px 12px; gap: 5px; }
  .video-benefit { font-size: 15px !important; line-height: 1.3; }
  .video-hook { font-size: 11px; }
  .video-title { font-size: 10px; }
  .video-cat-line { font-size: 10px; }
  .video-cta { font-size: 11px; margin-top: 6px; }
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: border-color .15s, box-shadow .18s, transform .12s;
  -webkit-tap-highlight-color: transparent;
}
.video-card:hover, .video-card:active {
  border-color: var(--cat-accent, var(--brand-500));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.video-thumb-mini {
  position: relative;
  /* Instagram グリッド比 3:4（上下を少しトリム） */
  aspect-ratio: 3 / 4;
  width: 100%;
  background:
    linear-gradient(160deg, var(--cat-accent-light, var(--brand-500)) 0%, var(--cat-accent, var(--brand-700)) 55%, var(--brand-900) 100%);
  background-image: var(--cat-image, none),
    linear-gradient(160deg, var(--cat-accent-light, var(--brand-500)) 0%, var(--cat-accent, var(--brand-700)) 55%, var(--brand-900) 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 12px;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
/* 実サムネ img（lazy-load） */
.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.video-thumb-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 50%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}
.video-thumb-mini.has-image::before {
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.55) 100%);
}

/* CGRIT brand mark inside thumb (small, top-right) */
.video-thumb-brand {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.video-thumb-mini.has-image .video-thumb-brand {
  /* Slight backdrop chip when over photo */
  padding: 3px 8px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  letter-spacing: .12em;
}
.video-thumb-brand-logo {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  height: 20px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.video-thumb-mini.has-image .video-thumb-brand-logo {
  padding: 4px 6px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border-radius: 8px;
}

.video-thumb-typo {
  position: relative;
  z-index: 1;
  font-size: clamp(15px, 3.6vw, 18px);
  font-weight: 900;
  text-align: center;
  color: var(--white);
  letter-spacing: -.012em;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
  margin: 0 0 6px;
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.video-thumb-mini.has-image .video-thumb-typo {
  align-self: stretch;
  margin-top: auto;
  margin-bottom: 0;
  text-align: left;
  font-size: 14px;
}

.video-thumb-tagline {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
  margin-top: 4px;
}
.video-thumb-mini.has-image .video-thumb-tagline { display: none; }

.video-thumb-cat {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(255,255,255,.96);
  color: var(--ink-900);
  border-radius: var(--radius-pill);
  letter-spacing: .03em;
  box-shadow: 0 1px 3px rgba(6,40,70,.12);
}
.video-thumb-cat .video-thumb-sub {
  color: var(--ink-500);
  font-weight: 600;
}

.video-card-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.video-benefit {
  margin: 0 0 4px;
  font-size: clamp(20px, 4.2vw, 26px);
  font-weight: 900;
  letter-spacing: -.012em;
  color: var(--ink-900);
  line-height: 1.3;
}
.video-benefit:empty { display: none; }
.video-hook {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--cat-accent, var(--brand-700));
  letter-spacing: -.002em;
  line-height: 1.55;
}
.video-hook:empty { display: none; }
.video-title {
  margin: 0;
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 500;
  line-height: 1.6;
}
.video-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px dashed var(--ink-100);
}
.video-level {
  font-size: 10px;
  color: var(--ink-500);
  font-weight: 700;
  letter-spacing: .04em;
}
.video-cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--cat-accent, var(--brand-700));
}
.tag-pill {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--brand-050);
  color: var(--brand-700);
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.video-list-tight .video-card-body {
  padding: 14px 16px;
  gap: 6px;
}
.video-list-tight .video-hook { font-size: 13px; }
.video-list-tight .video-title { font-size: 12px; }
.video-list-tight .video-meta,
.video-list-tight .video-tags,
.video-list-tight .video-foot { display: none; }

.empty-state {
  text-align: center;
  color: var(--ink-500);
  padding: 60px 0;
  font-size: 14px;
}

.recirc {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-100);
}

/* ============================
   MODAL
   ============================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,15,12,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
  animation: slide-up .22s cubic-bezier(.2,.8,.3,1);
  -webkit-overflow-scrolling: touch;
  border-top: 6px solid var(--cat-accent, var(--brand-500));
}
@media (min-width: 640px) {
  .modal { align-items: center; padding: 16px; }
  .modal-panel { border-radius: var(--radius-lg); border-top: 0; border-left: 6px solid var(--cat-accent, var(--brand-500)); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--line);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--ink-050); }
.modal-body { padding: 28px 24px 16px; }
.modal-cat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.modal-cat-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cat-accent, var(--brand-500));
}
.modal-category {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cat-accent, var(--brand-700));
  font-weight: 800;
}
.modal-hook {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink-900);
  letter-spacing: -.012em;
  line-height: 1.4;
}
.modal-hook:empty { display: none; }
.modal-title {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--ink-700);
}
.modal-description {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.9;
}
.modal-meta {
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.modal-meta-row {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 12px;
  padding: 10px 14px;
  background: var(--ink-050);
  border-radius: var(--radius-sm);
  align-items: baseline;
}
.modal-meta-row dt {
  margin: 0;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 700;
}
.modal-meta-row dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.6;
}
.modal-meta-row-inline {
  background: transparent;
  padding: 4px 0;
  grid-template-columns: 8em 1fr;
}
.modal-meta-row-inline dd { font-weight: 700; color: var(--ink-700); }

.modal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.modal-product {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--ink-050);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink-700);
}
.modal-product strong {
  color: var(--brand-700);
  margin-right: 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
}
.modal-recirc {
  padding: 20px 24px 24px;
  background: var(--ink-050);
  border-top: 1px solid var(--ink-100);
}
.modal-recirc-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-700);
}

/* ============================
   ADMIN
   ============================ */
.admin-section {
  padding: 56px 0;
  background: var(--ink-050);
  border-top: 1px solid var(--line);
}
.admin-section[hidden] { display: none; }
.admin-login {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.admin-login input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}
.admin-login input:focus { border-color: var(--brand-500); }
.form-error { color: #c0392b; font-size: 13px; margin: 8px 0 0; width: 100%; }
.form-success { color: var(--brand-700); font-size: 13px; margin: 0; }
.admin-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 12px;
}
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.admin-status {
  margin: 0;
  font-size: 11px;
  color: var(--brand-700);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post-form .form-row { margin-bottom: 16px; }
.post-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-700);
  letter-spacing: .02em;
}
.post-form .req { color: #c0392b; }
.post-form input[type="text"],
.post-form input[type="url"],
.post-form select,
.post-form textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--white);
  outline: none;
  font-family: inherit;
  color: var(--ink-900);
}
.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus { border-color: var(--brand-500); }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row-2col { grid-template-columns: 1fr; } }
.form-tag-row { display: flex; gap: 5px; flex-wrap: wrap; }
.form-tag {
  display: inline-flex;
  padding: 5px 11px;
  font-size: 11px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}
.form-tag.is-active { background: var(--brand-700); color: var(--white); border-color: var(--brand-700); }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.admin-data { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.admin-data h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.admin-data-note { margin: 0 0 14px; font-size: 11px; color: var(--ink-500); line-height: 1.7; }
.admin-data-note code { background: var(--ink-100); padding: 1px 5px; border-radius: 4px; font-size: 10px; }
.user-post-list { list-style: none; margin: 0 0 14px; padding: 0; }
.user-post-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--ink-100); font-size: 12px;
}
.user-post-list li:last-child { border-bottom: 0; }
.user-post-list .meta { font-size: 10px; color: var(--ink-500); }
.user-post-list button { background: transparent; color: #c0392b; font-size: 11px; padding: 3px 6px; }

textarea#bulk-input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 11px; background: var(--ink-050); font-family: ui-monospace, "SF Mono", monospace;
  outline: none; margin-bottom: 10px; line-height: 1.6;
}
textarea#bulk-input:focus { border-color: var(--brand-500); background: var(--white); }
.bulk-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.bulk-summary { padding: 12px 14px; background: var(--brand-100); border: 1px solid var(--brand-500); border-radius: var(--radius-sm); margin-top: 10px; font-size: 12px; }
.bulk-summary.success { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.bulk-summary strong { display: block; font-size: 13px; margin-bottom: 5px; }
.bulk-summary details { margin-top: 7px; font-size: 11px; }
.bulk-warnings { margin: 7px 0 0; padding-left: 16px; font-size: 11px; color: var(--ink-700); }
.bulk-preview-list { list-style: none; margin: 10px 0 0; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; }
.bulk-preview-list li { padding: 5px 0; border-bottom: 1px solid var(--ink-100); }
.bulk-preview-list li:last-child { border-bottom: 0; }
.bulk-preview-list .meta { color: var(--ink-500); font-size: 10px; }
.warn-banner { margin-bottom: 22px; padding: 14px 16px; background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid #f59e0b; border-radius: var(--radius-sm); }
.warn-banner strong { display: block; font-size: 13px; color: #92400e; margin-bottom: 5px; }
.warn-banner p { margin: 0; font-size: 12px; color: var(--ink-700); line-height: 1.7; }
.warn-banner code { background: var(--ink-100); padding: 2px 5px; border-radius: 3px; font-size: 11px; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  padding: 36px 0 48px;
  background: var(--brand-900);
  color: var(--white);
}
.footer-brand {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--white);
}
.footer-links {
  margin: 0 0 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,.82); font-weight: 600; }
.footer-links a:hover { color: var(--white); }
.footer-links .dot {
  width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.32);
}
.footer-note {
  margin: 0;
  font-size: 11px;
  color: rgba(255,255,255,.58);
}
.footer-admin {
  margin: 14px 0 0;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-admin a { color: rgba(255,255,255,.32); }
.footer-admin a:hover { color: rgba(255,255,255,.6); }

/* ============================
   CATEGORY PAGE — 小カテゴリカード
   ============================ */
.sub-group {
  margin: 0 0 28px;
}
.sub-prompt {
  margin: 0 0 16px;
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--ink-900);
  font-weight: 900;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 14px;
}
.sub-prompt::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 1.1em;
  border-radius: 3px;
  background: var(--cat-accent, var(--brand-500));
}
.sub-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 720px) { .sub-card-grid { grid-template-columns: 1fr 1fr 1fr; gap: 12px; } }

.sub-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 16px 18px 16px 22px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--cat-accent, var(--brand-500));
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .12s, background .15s, box-shadow .18s;
}
.sub-card:hover {
  border-color: var(--cat-accent, var(--brand-500));
  border-left-color: var(--cat-accent, var(--brand-500));
  transform: translateY(-2px);
  background: var(--cat-tint, var(--brand-050));
  box-shadow: var(--shadow-md);
}
.sub-card.is-active {
  background: var(--cat-accent, var(--brand-700));
  border-color: var(--cat-accent, var(--brand-700));
  color: var(--white);
}
.sub-card.is-active .sub-card-desc { color: rgba(255,255,255,.88); }
.sub-card.is-active .sub-card-count { background: rgba(255,255,255,.22); color: #fff; }
.sub-card.is-active .sub-card-arrow { color: var(--white); }

.sub-card-name {
  grid-column: 1;
  grid-row: 1;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.015em;
  color: inherit;
}
.sub-card-desc {
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.5;
}
.sub-card-meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  white-space: nowrap;
}
.sub-card-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--cat-accent, var(--brand-700));
  background: var(--cat-tint, var(--brand-100));
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.sub-card-arrow {
  font-size: 18px;
  font-weight: 800;
  color: var(--cat-accent, var(--brand-700));
  transition: transform .15s;
}
.sub-card:hover .sub-card-arrow { transform: translateX(3px); }

/* 「すべて見る」だけ控えめにする */
.sub-card.sub-card-all {
  border-style: dashed;
  border-left-style: solid;
  background: transparent;
  box-shadow: none;
}
.sub-card.sub-card-all .sub-card-name { font-size: 14px; color: var(--ink-700); }
.sub-card.sub-card-all .sub-card-desc { font-size: 11px; }
.sub-card.sub-card-all .sub-card-count { background: var(--ink-050); color: var(--ink-500); }
.sub-card.sub-card-all.is-active {
  background: var(--brand-900);
  border-style: solid;
  color: var(--white);
}

.cat-list-head {
  margin: 8px 0 14px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

/* 動画カード：再設計（リンク版） */
.video-card { text-decoration: none; }
.video-card .video-thumb-mini { min-height: 0; }
.video-card .video-thumb-mini .video-thumb-typo {
  display: none;
}
.video-card .video-thumb-mini.has-image .video-thumb-typo { display: none; }
/* 画像が乗ったときは画像のみで見せる（typo・タグライン・ブランドを隠す） */
.video-card .video-thumb-mini.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* 画像が無い場合のフォールバック表示用 — typo を出す */
.video-card .video-thumb-mini:not(.has-image) .video-thumb-typo {
  display: block;
}
.video-cat-line {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: .02em;
}
.video-card .video-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--cat-accent, var(--brand-700));
}

/* ============================================================
   P1 ブラッシュアップ（80→100）
   ============================================================ */

/* 動画カード：実サムネはホバーでゆっくりズーム */
.video-thumb-img {
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  transform: scale(1);
}
.video-card:hover .video-thumb-img { transform: scale(1.05); }

/* サムネありの本文 benefit は控えめ＋2行クランプで高さを揃える */
.video-card-body.is-compact .video-benefit {
  font-size: clamp(15px, 3.4vw, 17px) !important;
  font-weight: 800;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* サムネ無しはサムネ側に benefit が出るので本文の重複を消す */
.video-card-body:not(.is-compact) .video-benefit { display: none; }

/* サムネ未取得カードのCGRITロゴ（ブランドカードとして意図的に見せる） */
.video-thumb-mark {
  position: relative;
  z-index: 1;
  width: 34%;
  max-width: 86px;
  height: auto;
  opacity: .92;
  margin: 0 0 12px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}
.video-thumb-mini.has-image .video-thumb-mark { display: none; }

/* コントラスト引き上げ（スマホ可読性） */
.section-lead { color: var(--ink-700); }
.cat-card-desc { color: var(--ink-700); }

/* 検索0件の空状態を“離脱させない”導線に */
.empty-state { padding: 48px 16px 56px; }
.empty-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink-900);
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.empty-lead {
  font-size: 13px;
  color: var(--ink-700);
  margin: 0 0 18px;
  line-height: 1.7;
}
.empty-reset { margin: 0 auto 18px; }
.empty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* モーション配慮：酔い・前庭障害ユーザー向けに動きを停止 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .cat-card:hover .cat-card-visual::after,
  .video-card:hover .video-thumb-img { transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   P2 ブラッシュアップ（100→120）プレミアム/質感
   ============================================================ */

/* スクロールイン（opacity+transformのみ＝リフロー無し・スマホ軽量） */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 全幅グレイン質感：1枚のSVGノイズを固定オーバーレイ（再描画なし） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: multiply;
}

/* セクション見出しのリズム：英字ラベル＋アクセント罫線 */
.section-head[data-sec]::before {
  content: attr(data-sec);
  display: inline-block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--brand-500);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-100);
}

/* ボタンのマイクロインタラクション */
.btn-primary {
  transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,135,209,.34);
}
.btn-primary:active { transform: translateY(0); }
/* ヒーローCTAの矢印を内包している場合のホバー余韻 */
.hero-actions .btn-primary:hover { box-shadow: 0 14px 34px rgba(0,135,209,.4); }

/* ============================================================
   P3 ブラッシュアップ（添削対応）：悩み起点UI
   ============================================================ */

/* カテゴリカードの主役を「悩みコピー」に */
.cat-card-problem {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: var(--ink-900);
  letter-spacing: -.01em;
  line-height: 1.4;
}

/* 悩みボタン帯（ヒーロー直下・最短動線） */
.problem-band { padding: 30px 0 6px; }
.problem-band-eyebrow {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--brand-500);
  margin: 0 0 6px;
}
.problem-band-title {
  font-size: clamp(20px, 5.4vw, 27px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.problem-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.problem-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--brand-100);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s, box-shadow .18s, transform .12s, background-color .15s;
  box-shadow: 0 1px 3px rgba(6,40,70,.06);
}
.problem-chip:hover, .problem-chip:active {
  border-color: var(--brand-500);
  background: var(--brand-050);
  box-shadow: 0 6px 16px rgba(0,135,209,.16);
  transform: translateY(-1px);
}
.problem-chip-icon { font-size: 13px; opacity: .85; }
.problem-chip-arrow {
  color: var(--brand-500);
  font-weight: 900;
  transition: transform .15s ease;
}
.problem-chip:hover .problem-chip-arrow { transform: translateX(3px); }

/* ============================================================
   P4（迷わず到達UX）：検索ヒーロー直下＋初心者まず3本
   ============================================================ */

/* 検索窓＋人気タグをヒーロー直下に。ヒーローの続きに見える淡いブランド地 */
.search-band-hero {
  padding: 26px 0 28px;
  background: var(--brand-050);
  border-top: none;
}
.search-band-hero .problem-band-title { margin-bottom: 14px; }
/* 人気タグはヒーロー直下では折り返して全部見せる（探す入口を明確に） */
.search-band-hero .quick-tags {
  flex-wrap: wrap;
  overflow: visible;
  margin-bottom: 0;
}

/* 初心者はまずこの3本 */
.starter-band { padding: 10px 0 20px; }
.starter-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 719px) {
  .starter-list {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 66%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .starter-list::-webkit-scrollbar { display: none; }
  .starter-item { scroll-snap-align: start; }
}
.starter-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.starter-step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink-900);
  letter-spacing: -.01em;
}
.starter-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ============================================================
   P5 プレミアムデザイン（120点）：奥行き・編集誌・ブランドメディア
   ベースカラー: CGRITブルー #0087d1 / 濃紺 #063a5e / 淡青 / 白
   ============================================================ */

/* ---- 1. 全体背景：淡いブルー〜白のグラデ＋環境光（fixed・可読性維持） ---- */
body {
  background:
    radial-gradient(1100px 620px at 88% -6%, rgba(0,135,209,.13), transparent 58%),
    radial-gradient(820px 520px at -8% 13%, rgba(120,190,235,.13), transparent 55%),
    linear-gradient(180deg, #ecf6fe 0%, #ffffff 24%, #ffffff 70%, #ecf5fd 100%);
  background-attachment: fixed;
}
/* セクションは下地を活かすため不透明背景を外す（カードは白く浮かせる） */
.hero { background: transparent; border-bottom: none; }
.search-band, .search-band-hero { background: transparent; border-top: none; }
.categories, .starter-band { background: transparent; }

/* セクションに環境光（ぼかし円・斜め光）。装飾なのでクリック透過＆背面 */
.search-band-hero, .starter-band, .categories, .ig-band { position: relative; isolation: isolate; }
.categories::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 340px at 94% 2%, rgba(0,135,209,.08), transparent 60%),
    radial-gradient(520px 320px at 2% 98%, rgba(31,156,214,.06), transparent 60%);
}
.starter-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, rgba(0,135,209,.05), transparent 42%);
}

/* ---- 7. セクション間を罫線でなくグラデ／余白でつなぐ ---- */
.section-head[data-sec]::before { border-bottom-color: rgba(0,135,209,.18); }
.ig-band { margin-top: 6px; }

/* ---- 2. ヒーロー：奥行き・グラデオーバーレイ・立体CTA ---- */
.hero { padding-bottom: 18px; }
/* PCは背景写真を左寄せ＋白〜青の斜めオーバーレイで奥行き（右はモックの余地） */
@media (min-width: 880px) {
  .hero-bg.has-image::before {
    background:
      linear-gradient(100deg, rgba(240,248,254,.99) 0%, rgba(240,248,254,.93) 26%, rgba(236,246,253,.68) 44%, rgba(236,246,253,.46) 58%, rgba(238,247,253,.64) 76%, rgba(240,248,254,.84) 100%),
      var(--cat-image) left center / cover no-repeat;
  }
  /* 画像が無くてもブルーのグラデで成立（破綻防止） */
  .hero-bg:not(.has-image)::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 460px at 80% 10%, rgba(0,135,209,.16), transparent 60%);
  }
  /* CSSスマホモックの背後に淡い光を置き、背景写真から浮かせる */
  .hero-visual-wrap::before {
    content: "";
    position: absolute;
    width: 86%; height: 74%;
    background: radial-gradient(closest-side, rgba(255,255,255,.72), rgba(236,246,253,.25) 68%, transparent);
    filter: blur(6px);
    z-index: -1;
  }
}
/* 立体CTA */
.hero-actions .btn-primary, .btn-xl {
  background: linear-gradient(180deg, #0a8fda 0%, #0087d1 55%, #0376b8 100%);
  border: none;
  box-shadow: 0 10px 26px rgba(0,135,209,.40), inset 0 1px 0 rgba(255,255,255,.35);
}
.hero-actions .btn-primary:hover, .btn-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,135,209,.48), inset 0 1px 0 rgba(255,255,255,.4);
}

/* ---- 2b. ヒーロー右：CSSスマホUIモック（PCのみ・装飾） ---- */
.hero-visual-wrap { display: none !important; }
@media (min-width: 880px) {
  .hero-visual-wrap {
    display: flex !important;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
  }
}
.hero-phone {
  position: relative;
  width: clamp(260px, 24vw, 312px);
  aspect-ratio: 9 / 18.6;
  background: linear-gradient(155deg, #0a6aa8 0%, #063a5e 100%);
  border-radius: 38px;
  padding: 13px;
  box-shadow:
    0 40px 80px rgba(6,40,70,.34),
    0 12px 26px rgba(6,40,70,.22),
    inset 0 0 0 2px rgba(255,255,255,.14);
  transform: rotateY(-9deg) rotate(-2.5deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero:hover .hero-phone { transform: rotateY(-5deg) rotate(-1deg) translateY(-4px); }
.hero-phone-cam {
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.25); z-index: 2;
}
.hero-phone-screen {
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f1f8fd 100%);
  border-radius: 27px;
  padding: 26px 14px 14px;
  display: flex; flex-direction: column; gap: 11px;
  overflow: hidden;
}
.hero-phone-top { display: flex; flex-direction: column; gap: 1px; }
.hpt-mark {
  font-family: "Inter", sans-serif; font-weight: 900; font-size: 17px;
  letter-spacing: -.01em; color: var(--brand-900); line-height: 1;
}
.hpt-mark::first-letter { color: var(--brand-500); }
.hpt-sub { font-size: 8px; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-500); font-weight: 800; }
.hero-phone-search {
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1.5px solid var(--brand-100);
  border-radius: 999px; padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(0,135,209,.10);
}
.hps-ic { color: var(--brand-500); display: inline-flex; }
.hps-txt { font-size: 11px; color: var(--ink-500); font-weight: 600; }
.hero-phone-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.hero-phone-chips span {
  font-size: 9px; font-weight: 700; color: var(--brand-700);
  background: var(--brand-050); border: 1px solid var(--brand-100);
  border-radius: 999px; padding: 3px 8px;
}
.hero-phone-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 2px; flex: 1; align-content: start;
}
.hpg-cell {
  position: relative; aspect-ratio: 3/4; border-radius: 9px;
  background: linear-gradient(160deg, var(--brand-500), var(--brand-900));
  background-size: cover; background-position: center;
  box-shadow: 0 3px 8px rgba(6,40,70,.18);
  overflow: hidden;
}
.hpg-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28)); }
.hpg-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.92); z-index: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.hpg-play::before {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%);
  border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--brand-700);
}

/* ---- 3. 検索：主役の浮きカード化 ---- */
.search-band-hero { padding: 30px 0 30px; }
.search-band-hero > .container {
  background: #fff;
  border: 1px solid rgba(0,135,209,.12);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: 0 18px 44px rgba(6,40,70,.10), 0 4px 12px rgba(6,40,70,.05);
}
.search-band-hero .search-form {
  border: 1.5px solid var(--brand-100);
  padding: 7px 7px 7px 18px;
  box-shadow: 0 6px 16px rgba(0,135,209,.10);
  margin-bottom: 14px;
}
.search-band-hero .search-form:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 8px 22px rgba(0,135,209,.20);
}
.search-band-hero .search-form input { font-size: 15px; padding: 8px 0; }
.search-band-hero .search-form .btn { padding: 12px 20px; font-size: 14px; }
/* 立体チップ */
.search-band-hero .quick-tag {
  background: #fff;
  border: 1.5px solid var(--brand-100);
  color: var(--brand-700);
  font-weight: 700;
  padding: 9px 14px;
  box-shadow: 0 2px 6px rgba(6,40,70,.06);
}
.search-band-hero .quick-tag:hover {
  border-color: var(--brand-500);
  background: var(--brand-050);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,135,209,.16);
}

/* ---- 4. 初心者まず3本：STEP表示＋重なり奥行き ---- */
.starter-step-num {
  width: auto; height: auto; border-radius: 999px;
  padding: 4px 10px;
  background: linear-gradient(180deg, #0a8fda, #0376b8);
  font-size: 10px; letter-spacing: .12em;
  box-shadow: 0 4px 10px rgba(0,135,209,.30);
}
.starter-item .video-card { box-shadow: 0 14px 34px rgba(6,40,70,.13); border-color: rgba(0,135,209,.10); }
@media (max-width: 719px) {
  /* きれいに揃った横スクロール（次カードが少し覗く＝続きがある合図） */
  .starter-list { gap: 12px; grid-auto-columns: 76%; padding: 4px 8px 12px 0; }
  .starter-item { transform: none; margin-left: 0; padding-right: 0; }
}

/* ---- 5. カテゴリカード：プレミアム化（影・余白・編集誌感） ---- */
.cat-card {
  border: none;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 40px rgba(6,40,70,.10), 0 3px 10px rgba(6,40,70,.05);
}
.cat-card:hover, .cat-card:active {
  box-shadow: 0 26px 60px rgba(6,40,70,.18), 0 8px 18px rgba(6,40,70,.08);
  transform: translateY(-4px);
}
.cat-card-body { padding: 18px 20px 20px; gap: 9px; }
.cat-card.has-image .cat-card-visual::before {
  background: linear-gradient(180deg, rgba(6,40,70,.04) 0%, rgba(6,40,70,.32) 52%, rgba(6,40,70,.72) 100%);
}
.cat-card-problem { font-size: 17.5px; line-height: 1.45; }
.cat-card-foot { padding-top: 12px; }

/* ---- 6. 動画カード：浮かせる・CTA強調 ---- */
.video-card {
  border: 1px solid rgba(0,135,209,.08);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 22px rgba(6,40,70,.10), 0 2px 6px rgba(6,40,70,.04);
}
.video-card:hover, .video-card:active {
  box-shadow: 0 18px 40px rgba(6,40,70,.16), 0 5px 12px rgba(6,40,70,.07);
  transform: translateY(-3px);
}
.video-card .video-cta {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--brand-050);
  border-radius: 999px;
  align-self: flex-start;
  font-size: 12.5px;
}
.video-card:hover .video-cta { background: var(--brand-100); }

/* ---- 10. スマホ最優先：間延び防止＆タップ確保 ---- */
@media (max-width: 719px) {
  .hero { padding-top: 40px; }
  .search-band-hero > .container { padding: 18px 16px; }
  .problem-band-title { font-size: 21px; }
  .quick-tag, .search-band-hero .quick-tag { padding: 9px 13px; }
}

/* ---- 全動画ヘッダー：サムネのモンタージュ（毎回同じ絵にしない） ---- */
.cat-head-visual-all { padding: 0 !important; overflow: hidden; }
.cat-head-montage {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 2px;
}
.chm-cell {
  background-size: cover; background-position: center;
  background-color: var(--brand-700);
}
.cat-head-visual-all::before {
  background: linear-gradient(135deg, rgba(0,135,209,.5) 0%, rgba(6,58,94,.66) 100%) !important;
  z-index: 1 !important;
}
.cat-head-badge {
  position: relative; z-index: 2;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 900; font-size: 13px; letter-spacing: .22em;
  color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

/* ============================================================
   P6 スマホ最適化＋CGRIT公式サイト導線（主目的=動画検索を邪魔しない）
   ============================================================ */

/* 1. スマホでは特大ウォーターマークを隠す（文字と干渉させない） */
.hero-watermark { display: none; }
@media (min-width: 880px) { .hero-watermark { display: block; } }

/* 2. ヒーロー見出しの見切れ防止（短コピー前提・2行で収める） */
.hero-title { max-width: 92%; }
.hero-title .l2 { font-size: clamp(34px, 11vw, 56px); line-height: 1.08; }
.hero-title .l3 { font-size: clamp(22px, 6.4vw, 36px); line-height: 1.12; }
@media (min-width: 880px) { .hero-title { max-width: 620px; } }

/* ヒーローのアクション：主(動画を探す)を強く、副(公式サイト)は控えめゴースト */
.hero-actions { gap: 12px; }
.hero-site-btn {
  font-size: 13px;
  padding: 11px 18px;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--brand-700);
  border: 1.5px solid var(--brand-100);
  box-shadow: none;
  font-weight: 700;
}
.hero-site-btn:hover { border-color: var(--brand-500); background: #fff; color: var(--brand-900); transform: none; box-shadow: 0 4px 12px rgba(0,135,209,.12); }

/* バッジ内リンク（Instagramで見る） */
.hero-badges .badge-link { padding: 0; background: none; border: none; box-shadow: none; backdrop-filter: none; }
.hero-badges .badge-link a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; color: var(--brand-700);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-badges .badge-link a:hover { border-color: var(--brand-500); color: var(--brand-900); }

/* 3. ヘッダーのCGRITサイトリンク（補助＝控えめ）＋スマホで詰める */
.header-site { color: var(--ink-700); }
@media (max-width: 719px) {
  .header-nav { gap: 6px; }
  .header-nav-link, .header-ig { padding: 7px 10px; font-size: 12px; }
  .header-ig .ig-glyph { margin-right: 2px; }
}

/* 4. CGRIT公式サイト導線カード（Instagramバンドの後＝補助の位置） */
.site-cta-band { padding: 4px 0 14px; }
.site-cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(0,135,209,.14);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(6,40,70,.08);
}
.site-cta-title { margin: 0 0 4px; font-size: 17px; font-weight: 900; color: var(--ink-900); letter-spacing: -.01em; }
.site-cta-lead { margin: 0; font-size: 13px; color: var(--ink-700); line-height: 1.7; }
.site-cta-card .btn-ghost {
  flex-shrink: 0;
  border-color: var(--brand-500); color: var(--brand-700); font-weight: 800;
}
.site-cta-card .btn-ghost:hover { background: var(--brand-050); border-color: var(--brand-700); }
@media (max-width: 719px) {
  .site-cta-card { padding: 18px; }
  .site-cta-card .btn-ghost { width: 100%; justify-content: center; }
}

/* ============================================================
   P7 ヒーロー：ボタン / 情報 / リンク の階層を明確に分ける
   ============================================================ */

/* ① 78本＝豊富さを見せる「情報」（ボタンではない・大きな数字） */
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 20px;
  flex-wrap: wrap;
}
.hero-stat-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-500); color: #fff; flex-shrink: 0;
}
.hero-stat-num { font-weight: 900; color: var(--brand-900); letter-spacing: -.02em; line-height: 1; }
.hero-stat-num strong { font-size: 36px; font-family: "Inter", system-ui, sans-serif; margin-right: 1px; }
.hero-stat-label { font-size: 14px; font-weight: 700; color: var(--ink-700); }

/* ② ボタン群：プライマリ(塗り)＝動画を探す、セカンダリ(枠線)＝Instagram */
.btn-xl { display: inline-flex; align-items: center; }
.btn-ic { margin-right: 8px; flex-shrink: 0; }
.btn-ig-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1.5px solid var(--brand-100);
  color: var(--brand-700);
  font-weight: 800; font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(6,40,70,.06);
  transition: border-color .15s, box-shadow .18s, transform .12s;
}
.btn-ig-outline:hover { border-color: var(--brand-500); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,135,209,.14); }

/* ③ CGRIT公式サイト＝補助のテキストリンク（ボタンでないと一目で分かる） */
.hero-textlink {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-300);
}
.hero-textlink:hover { color: var(--brand-700); text-decoration-color: var(--brand-500); }

/* スマホ：ボタンは縦並び・全幅で押しやすく＆誤タップ防止 */
@media (max-width: 719px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn-xl, .hero-actions .btn-ig-outline { width: 100%; justify-content: center; }
  .hero-stat-num strong { font-size: 32px; }
}

/* ============================================================
   P8 悩みショートカット導線（トップ）：6悩み＋商品/LINE
   ============================================================ */
.shortcut-band { padding: 26px 0 10px; position: relative; isolation: isolate; }
.shortcut-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px 320px at 92% 0%, rgba(0,135,209,.06), transparent 60%);
}
.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
@media (min-width: 720px) { .shortcut-grid { grid-template-columns: repeat(3, 1fr); } }
.shortcut-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 14px;
  background: #fff;
  border: 1.5px solid var(--brand-100);
  border-radius: var(--radius-md);
  font: inherit; font-size: 14.5px; font-weight: 800; color: var(--ink-900);
  text-align: left; cursor: pointer; width: 100%;
  box-shadow: 0 3px 10px rgba(6,40,70,.06);
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s, box-shadow .18s, transform .12s, background-color .15s;
}
.shortcut-chip:hover, .shortcut-chip:active {
  border-color: var(--brand-500); background: var(--brand-050);
  transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,135,209,.16);
}
.shortcut-chip-ic { font-size: 13px; opacity: .8; flex-shrink: 0; }
.shortcut-chip-label { flex: 1; min-width: 0; letter-spacing: -.01em; }
.shortcut-chip-arrow { color: var(--brand-500); font-weight: 900; flex-shrink: 0; transition: transform .15s; }
.shortcut-chip:hover .shortcut-chip-arrow { transform: translateX(3px); }

/* 7=商品 / 8=LINE：検索とは別の「アクション」として明確に分ける */
.shortcut-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}
@media (max-width: 519px) { .shortcut-actions { grid-template-columns: 1fr; } }
.shortcut-action {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  font-weight: 800; font-size: 15px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(6,40,70,.12);
  transition: transform .12s, box-shadow .18s, filter .15s;
}
.shortcut-action:hover { transform: translateY(-2px); }
.shortcut-action-arrow { font-weight: 900; }
/* 商品＝CGRITブルーの塗り */
.shortcut-action.is-site {
  background: linear-gradient(180deg, #0a8fda, #0376b8); color: #fff;
  box-shadow: 0 10px 26px rgba(0,135,209,.32), inset 0 1px 0 rgba(255,255,255,.3);
}
.shortcut-action.is-site:hover { box-shadow: 0 14px 32px rgba(0,135,209,.4), inset 0 1px 0 rgba(255,255,255,.35); }
/* LINE＝LINEグリーン */
.shortcut-action.is-line {
  background: linear-gradient(180deg, #07d35e, #06C755); color: #fff;
  box-shadow: 0 10px 26px rgba(6,199,85,.32), inset 0 1px 0 rgba(255,255,255,.35);
}
.shortcut-action.is-line:hover { filter: brightness(1.03); box-shadow: 0 14px 32px rgba(6,199,85,.42), inset 0 1px 0 rgba(255,255,255,.4); }
.shortcut-action-ic { font-size: 16px; }

/* ============================================================
   P9 導線整理：検索窓削除＋タップ一本化＋カテゴリ中間ページ廃止
   ============================================================ */

/* 悩みボタン下の「他のテーマ」タグ（一発タップ・補助） */
.quick-tags-label {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink-500);
}
.shortcut-band .quick-tags { margin-bottom: 16px; }

/* カテゴリ詳細：小カテゴリを「フィルタチップ」化（中間ページ廃止） */
.cat-filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 12px;
  margin-bottom: 4px;
  scrollbar-width: none;
}
.cat-filter-chips::-webkit-scrollbar { display: none; }
.cat-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 14px;
  background: #fff;
  border: 1.5px solid var(--brand-100);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .18s;
  box-shadow: 0 1px 3px rgba(6,40,70,.05);
}
.cat-filter-chip:hover { border-color: var(--brand-500); }
.cat-filter-chip.is-active {
  background: var(--cat-accent, var(--brand-500));
  border-color: var(--cat-accent, var(--brand-500));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,135,209,.22);
}
.cat-filter-count {
  font-size: 11px;
  font-weight: 800;
  opacity: .7;
}
.cat-filter-chip.is-active .cat-filter-count { opacity: .85; }
/* 旧プロンプトは小さめに（フィルタの見出し的役割） */
.sub-prompt {
  margin: 2px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink-500);
}
