/* ============================================
   URITAI Service Site - Stylesheet
   Brand: #1667EA (blue)
   Design: Clean SaaS, bakuraku/kintone inspired
   Concept: 売りたいを、AIが加速する。/ かんたんさ推し
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1667EA;
  --primary-hover: #0F4FBE;
  --primary-light: #EFF4FF;
  --primary-bg: rgba(22, 103, 234, 0.06);
  --primary-soft: #DCE7FB;

  --accent-sky: #5FA4FF;
  --accent-navy: #0B2A5B;
  --accent-yellow: #FFD45A;
  --accent-yellow-soft: #FFF3C2;
  --accent-pink: #FF6B8A;

  --bg: #ffffff;
  --bg-sub: #F6F8FC;
  --bg-dark: #0B1A35;
  --bg-dark-sub: #132A55;

  --text: #0B1A35;
  --text-sub: #5C6B86;
  --text-muted: #97A3B8;
  --white: #fff;

  --border: #E4E9F2;
  --border-light: #F0F3F8;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --container: 1120px;
}

.br-pc { display: none; }
@media (min-width: 1000px) { .br-pc { display: inline; } }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  word-break: auto-phrase;
  line-break: strict;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 640px;
  line-height: 1.9;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.section-header .section-label {
  justify-content: center;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
  position: relative;
}

.bg-light {
  background: var(--bg-sub);
}

.bg-soft {
  background: var(--primary-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-dark .section-title,
.section-dark .mid-cta-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-label {
  color: var(--accent-sky);
}

.section-dark .section-label::before {
  background: var(--accent-sky);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(11, 26, 53, 0.08);
  transition: border-color 0.2s var(--ease);
  pointer-events: auto;
}

.site-header.scrolled {
  top: 0;
  border-bottom-color: rgba(11, 26, 53, 0.12);
}

.site-header.scrolled .header-inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  min-height: 64px;
  padding-top: 0;
  padding-bottom: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  height: auto;
  min-height: 64px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
  position: relative;
  transition: all 0.25s var(--ease);
}

.header-inner::after { display: none; }

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-logo-img {
  height: 34px;
  width: auto;
}

.header-logo-badge {
  position: relative;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-sub);
  padding-left: 14px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-logo-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(22,103,234,0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  padding: 10px 16px;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s var(--ease);
  background: transparent;
}

.nav-links a > span {
  position: relative;
}

.nav-links a > span::after { content: none; }

.nav-links a:hover { color: var(--text); background: transparent; }

.nav-links a.active { color: var(--text); font-weight: 700; }

.nav-cta {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: var(--text) !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em;
  margin: 0 !important;
  box-shadow: 0 8px 22px rgba(11, 26, 53, 0.22);
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease) !important;
}

.nav-cta-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 103, 234, 0.28);
}

.nav-cta:hover .nav-cta-arrow {
  background: #fff;
  color: var(--primary);
  transform: translateX(2px);
}

.site-header.scrolled .nav-cta {
  background: var(--primary) !important;
}

.site-header.scrolled .nav-cta .nav-cta-arrow {
  background: #fff;
  color: var(--primary);
}

.site-header.scrolled .nav-cta:hover {
  background: var(--primary-hover) !important;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 36px;
  width: auto;
  transition: filter 0.25s var(--ease);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-sub);
}

.nav-links a.active {
  color: var(--text);
  font-weight: 600;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  margin-left: 12px;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease) !important;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: 0.3s var(--ease);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-jp);
  position: relative;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(22, 103, 234, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(22, 103, 234, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  font-weight: 500;
  padding: 14px 8px;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: #f6f8fc;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-icon {
  font-size: 1.1em;
  transition: transform 0.2s var(--ease);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: 140px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero::before {
  content: '売';
  position: absolute;
  top: 140px;
  left: -20px;
  font-family: var(--font-jp);
  font-size: clamp(6rem, 22vw, 26rem);
  font-weight: 900;
  line-height: 0.85;
  color: rgba(22, 103, 234, 0.06);
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.hero::after {
  display: none;
}

.hero .container {
  grid-template-columns: 1fr 1.15fr;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(22, 103, 234, 0.08);
}

.hero-kpi {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 28px 0 32px;
  padding: 0;
  background: transparent;
}
.hero-kpi-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}
.hero-kpi-item + .hero-kpi-item {
  padding-left: 48px;
  border-left: 1px solid #e5e5e5;
}
.laurel {
  display: block;
  flex: none;
  width: 28px;
  height: 66px;
  background: var(--primary);
  -webkit-mask-image: url('assets/laurel.svg');
  mask-image: url('assets/laurel.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 56px 66px;
  mask-size: 56px 66px;
}
.laurel-l {
  -webkit-mask-position: left center;
  mask-position: left center;
}
.laurel-r {
  -webkit-mask-position: right center;
  mask-position: right center;
}
.hero-kpi-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.hero-kpi-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero-kpi-num em {
  font-style: normal;
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 800;
  margin-left: 4px;
  color: var(--text);
  letter-spacing: 0;
}
.hero-kpi-sub {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hero-kpi { gap: 20px; margin: 22px 0 26px; }
  .hero-kpi-item + .hero-kpi-item { padding-left: 20px; }
  .laurel { width: 22px; height: 54px; -webkit-mask-size: 44px 54px; mask-size: 44px 54px; }
  .hero-kpi-num { font-size: 1.4rem; }
  .hero-kpi-num em { font-size: 0.75rem; }
  .hero-kpi-sub { font-size: 0.62rem; }
}
@media (max-width: 560px) {
  .hero-kpi {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero-kpi-item + .hero-kpi-item {
    padding-left: 0;
    border-left: none;
  }
  .hero-kpi-sub { white-space: normal; }
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-title .accent {
  color: var(--text);
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 14px;
  background: var(--accent-yellow);
  z-index: -1;
  border-radius: 2px;
  transform: skew(-3deg);
}

.hero-title .mark {
  color: var(--primary);
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-notes {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* Hero visual — photo bleeds to right edge */
.hero-visual {
  position: relative;
  padding: 0;
  align-self: stretch;
}

.hero-photo {
  position: relative;
  width: calc(100% + ((100vw - var(--container)) / 2) + 24px);
  height: 540px;
  margin-left: 0;
  border-radius: 28px 0 0 28px;
  overflow: visible;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px 0 0 28px;
  background: linear-gradient(135deg, rgba(22,103,234,0.08), rgba(22,103,234,0) 55%);
  z-index: 2;
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px 0 0 28px;
  display: block;
  filter: saturate(0.98) contrast(1.02);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  border-radius: 28px 0 0 28px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,26,53,0) 55%, rgba(11,26,53,0.28) 100%);
  z-index: 2;
}

.hero-photo-tag {
  position: absolute;
  left: -18px;
  bottom: 46px;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  color: var(--primary);
  background: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(11,26,53,0.08);
  z-index: 3;
  white-space: nowrap;
}

/* Single signal card — feels real, not mock UI */
.hero-pitch {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(11, 26, 53, 0.16);
  z-index: 4;
  overflow: hidden;
  max-width: 420px;
}
.hero-pitch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 14px;
  background: #fafafa;
  border-bottom: 1px solid #ececec;
}
.hero-pitch-head-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.hero-pitch-head-meta {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}
.hero-pitch-body {
  padding: 14px 16px 16px;
  transition: opacity 0.4s var(--ease);
}
.hero-pitch-co {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px dashed #e0e0e0;
}
.hero-pitch-co-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-pitch-co-meta {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-sub);
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}
.hero-pitch-fact,
.hero-pitch-mail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-pitch-fact { margin-bottom: 4px; }
.hero-pitch-fact-lbl,
.hero-pitch-mail-lbl {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}
.hero-pitch-fact-lbl {
  color: #6b7280;
  background: #f3f4f6;
}
.hero-pitch-mail-lbl {
  color: var(--primary);
  background: var(--primary-bg);
}
.hero-pitch-fact-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
  color: #4b5563;
}
.hero-pitch-type {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
  min-height: 3.4em;
}
.hero-pitch-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: -0.15em;
  animation: pitchCaret 0.9s steps(1) infinite;
}
@keyframes pitchCaret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.hero-pitch.is-swapping .hero-pitch-body { opacity: 0.25; }

@keyframes heroSignalFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-signal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.hero-signal-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.005em;
}

.hero-signal-co-meta {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-sub);
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

.hero-signal-co {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.hero-signal-fact {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.hero-signal-cta {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--primary-bg);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-signal-cta-lbl {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 1px;
}

.hero-signal-cta-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    margin-top: 24px;
  }
  .hero-photo::before, .hero-photo img, .hero-photo-overlay {
    border-radius: 20px;
  }
  .hero-photo-tag { display: none; }
  .hero-pitch {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .hero-photo { height: 340px; }
  .hero-pitch {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 10px;
  }
  .hero-pitch-head { padding: 8px 12px; }
  .hero-pitch-head-label { font-size: 0.68rem; }
  .hero-pitch-head-meta { font-size: 0.58rem; }
  .hero-pitch-body { padding: 12px 14px 14px; }
  .hero-pitch-co { padding-bottom: 10px; margin-bottom: 10px; }
  .hero-pitch-co-name { font-size: 0.82rem; }
  .hero-pitch-co-meta { font-size: 0.64rem; }
  .hero-pitch-fact-text { font-size: 0.76rem; }
  .hero-pitch-type { font-size: 0.76rem; line-height: 1.65; min-height: 4.2em; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===== Hero: 3-scene CSS animation rotator =====
   SCENE 01: キーワード抽出 (リスト生成)
   SCENE 02: 切り口の判定 (ランク・3軸)
   SCENE 03: 営業管理 (カンバン)
   Total cycle = 12s (3 scenes × 4s each)
*/

.hero-stage {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  height: 460px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 30px 28px;
  box-shadow: 0 30px 70px rgba(11, 26, 53, 0.12);
  opacity: 0;
  transform: translateY(20px);
  animation: heroSceneCycle 12s cubic-bezier(0.22, 0.9, 0.36, 1) infinite;
}

.hero-scene:nth-child(1) { animation-delay: 0s; }
.hero-scene:nth-child(2) { animation-delay: 4s; }
.hero-scene:nth-child(3) { animation-delay: 8s; }

/* Each scene is visible for 4s out of 12s (33%) with 0.6s fade in/out */
@keyframes heroSceneCycle {
  0%   { opacity: 0; transform: translateY(20px); pointer-events: none; }
  5%   { opacity: 1; transform: translateY(0); pointer-events: auto; }
  28%  { opacity: 1; transform: translateY(0); pointer-events: auto; }
  33%  { opacity: 0; transform: translateY(-12px); pointer-events: none; }
  100% { opacity: 0; transform: translateY(20px); pointer-events: none; }
}

.hero-scene-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.hero-scene-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
}

.hero-scene-step::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
}

.hero-scene-tag {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.hero-scene-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.hero-scene-sub {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ----- SCENE 01: Keyword → List generation ----- */
.hero-scene-01 .hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-sub);
  border-radius: 8px;
  margin-bottom: 16px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.hero-scene-01 .hero-search svg {
  flex-shrink: 0;
  color: var(--primary);
}

.hero-scene-01 .hero-search .kw {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
}

.hero-scene-01 .hero-search .caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--primary);
  margin-left: 2px;
  animation: heroCaret 0.9s steps(2, end) infinite;
  vertical-align: middle;
}

@keyframes heroCaret {
  50% { opacity: 0; }
}

.hero-scene-01 .hero-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-scene-01 .hero-result-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 9px 12px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 7px;
  font-size: 0.78rem;
  align-items: center;
  opacity: 0;
  transform: translateX(-10px);
}

.hero-scene-01 .hero-result-row .co { font-weight: 700; color: var(--text); }
.hero-scene-01 .hero-result-row .ind { font-size: 0.7rem; color: var(--text-muted); }
.hero-scene-01 .hero-result-row .hit {
  padding: 2px 7px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-en);
  font-size: 0.66rem;
  font-weight: 800;
  border-radius: 3px;
}

/* Result rows only animate while scene 01 is visible (0% - 33% of master cycle) */
.hero-scene-01 .hero-result-row {
  animation: heroResultIn 12s ease-out infinite;
}
.hero-scene-01 .hero-result-row:nth-child(1) { animation-delay: 0.6s; }
.hero-scene-01 .hero-result-row:nth-child(2) { animation-delay: 1.1s; }
.hero-scene-01 .hero-result-row:nth-child(3) { animation-delay: 1.6s; }
.hero-scene-01 .hero-result-row:nth-child(4) { animation-delay: 2.1s; }

@keyframes heroResultIn {
  0%, 3% { opacity: 0; transform: translateX(-10px); }
  8%, 30% { opacity: 1; transform: translateX(0); }
  33%, 100% { opacity: 0; transform: translateX(-10px); }
}

.hero-scene-01 .hero-count {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hero-scene-01 .hero-count .lbl {
  font-family: var(--font-en);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

.hero-scene-01 .hero-count .num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.hero-scene-01 .hero-count .num small {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-left: 2px;
}

/* ----- SCENE 02: Judgment (rank + score bars) ----- */
.hero-scene-02 .hero-judge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.hero-scene-02 .hero-judge-rank {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 900;
  border-radius: 10px;
  letter-spacing: -0.04em;
  transform: scale(0.6);
  opacity: 0;
  animation: heroRankPopCycle 12s ease-out infinite;
  animation-delay: 4.4s;
}

@keyframes heroRankPopCycle {
  0%, 3%     { transform: scale(0.6); opacity: 0; }
  6%         { transform: scale(1.12); opacity: 1; }
  9%, 30%    { transform: scale(1); opacity: 1; }
  33%, 100%  { transform: scale(0.6); opacity: 0; }
}

.hero-scene-02 .hero-judge-score .lbl {
  font-family: var(--font-en);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  margin-bottom: 3px;
}

.hero-scene-02 .hero-judge-score .val {
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-scene-02 .hero-judge-score .val small {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 3px;
}

.hero-scene-02 .hero-judge-factors {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}

.hero-scene-02 .hero-judge-factor {
  display: grid;
  grid-template-columns: 68px 1fr 28px;
  gap: 10px;
  align-items: center;
  font-size: 0.72rem;
}

.hero-scene-02 .hero-judge-factor .n { font-weight: 700; color: var(--text); }
.hero-scene-02 .hero-judge-factor .v { font-family: var(--font-en); font-weight: 800; color: var(--text); text-align: right; }

.hero-scene-02 .hero-judge-factor .b {
  height: 5px;
  background: var(--bg-sub);
  border-radius: 3px;
  overflow: hidden;
}

.hero-scene-02 .hero-judge-factor .b .f {
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
  border-radius: 3px;
  animation: heroBarFillCycle 12s cubic-bezier(0.2, 0.8, 0.3, 1) infinite;
}

.hero-scene-02 .hero-judge-factor:nth-child(1) .f { animation-delay: 4.8s;  --to: 94%; }
.hero-scene-02 .hero-judge-factor:nth-child(2) .f { animation-delay: 4.95s; --to: 88%; }
.hero-scene-02 .hero-judge-factor:nth-child(3) .f { animation-delay: 5.1s;  --to: 90%; }

@keyframes heroBarFillCycle {
  0%, 3% { width: 0; }
  10%, 30% { width: var(--to); }
  33%, 100% { width: 0; }
}

.hero-scene-02 .hero-judge-why {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.hero-scene-02 .hero-judge-why .lbl {
  font-family: var(--font-en);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero-scene-02 .hero-judge-why p {
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--text);
}

.hero-scene-02 .hero-judge-why mark {
  background: var(--accent-yellow-soft);
  padding: 0 3px;
  color: var(--text);
  font-weight: 600;
}

/* ----- SCENE 03: Kanban ----- */
.hero-scene-03 .hero-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-scene-03 .hero-kan-col {
  background: var(--bg-sub);
  border-radius: 10px;
  padding: 12px 10px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-scene-03 .hero-kan-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-sub);
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

.hero-scene-03 .hero-kan-col-head .cnt {
  display: inline-block;
  padding: 1px 6px;
  background: var(--white);
  color: var(--text-sub);
  border-radius: 3px;
  font-size: 0.62rem;
  min-width: 18px;
  text-align: center;
}

.hero-scene-03 .hero-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 0.72rem;
  box-shadow: 0 1px 2px rgba(11, 26, 53, 0.04);
  opacity: 0;
  transform: translateY(6px);
  animation: heroKanCardIn 12s ease-out infinite;
}

.hero-scene-03 .hero-card .co {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.35;
}

.hero-scene-03 .hero-card .meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.64rem;
  color: var(--text-muted);
}

.hero-scene-03 .hero-card .rank {
  display: inline-block;
  padding: 1px 5px;
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 3px;
}

.hero-scene-03 .hero-card .rank.a { background: var(--primary); color: var(--white); }
.hero-scene-03 .hero-card .rank.b { background: var(--primary-light); color: var(--primary); }
.hero-scene-03 .hero-card .rank.c { background: var(--border); color: var(--text-sub); }

/* Kanban cards cascade in during SCENE 03 (starts at 8s) */
.hero-scene-03 .hero-kan-col:nth-child(1) .hero-card:nth-child(2) { animation-delay: 8.3s; }
.hero-scene-03 .hero-kan-col:nth-child(1) .hero-card:nth-child(3) { animation-delay: 8.5s; }
.hero-scene-03 .hero-kan-col:nth-child(2) .hero-card:nth-child(2) { animation-delay: 8.7s; }
.hero-scene-03 .hero-kan-col:nth-child(2) .hero-card:nth-child(3) { animation-delay: 8.9s; }
.hero-scene-03 .hero-kan-col:nth-child(3) .hero-card:nth-child(2) { animation-delay: 9.1s; }

@keyframes heroKanCardIn {
  0%, 68% { opacity: 0; transform: translateY(6px); }
  72%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

/* Floating card moving between columns — visual metaphor for workflow */
.hero-scene-03 .hero-card-fly {
  position: absolute;
  left: 30px;
  top: 110px;
  width: 118px;
  background: var(--white);
  border: 1px solid var(--primary-soft);
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 0.72rem;
  box-shadow: 0 10px 24px rgba(22, 103, 234, 0.18);
  z-index: 2;
  opacity: 0;
  animation: heroCardFly 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes heroCardFly {
  0%, 75%  { opacity: 0; left: 30px; top: 110px; transform: rotate(-1deg); }
  78%      { opacity: 1; transform: rotate(-2deg); }
  90%      { opacity: 1; left: 270px; top: 160px; transform: rotate(2deg); }
  95%      { opacity: 0; left: 270px; top: 160px; transform: rotate(0); }
  100%     { opacity: 0; }
}

/* ----- Scene indicator dots ----- */
.hero-scene-dots {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-scene-dots button {
  width: 22px;
  height: 4px;
  background: var(--border);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.hero-scene-dots button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform-origin: left;
  transform: scaleX(0);
  animation: heroDotFill 12s linear infinite;
}

.hero-scene-dots button:nth-child(1)::after { animation-delay: 0s; }
.hero-scene-dots button:nth-child(2)::after { animation-delay: 4s; }
.hero-scene-dots button:nth-child(3)::after { animation-delay: 8s; }

@keyframes heroDotFill {
  0%   { transform: scaleX(0); }
  4%   { transform: scaleX(0); }
  30%  { transform: scaleX(1); }
  33%  { transform: scaleX(1); opacity: 1; }
  34%  { transform: scaleX(0); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene, .hero-scene *, .hero-scene-dots button::after { animation: none !important; }
  .hero-scene { opacity: 1; transform: none; }
  .hero-scene:not(:first-child) { display: none; }
}

.hero-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-sub);
  border-bottom: 1px solid var(--border);
}

.hero-mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.hero-mock-bar span:nth-child(1) { background: #FF5F57; }
.hero-mock-bar span:nth-child(2) { background: #FEBC2E; }
.hero-mock-bar span:nth-child(3) { background: #28C840; }

.hero-mock-body {
  padding: 24px;
}

.hero-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.hero-mock-row.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 14px rgba(22, 103, 234, 0.15);
}

.hero-mock-company {
  flex: 1;
}

.hero-mock-company-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.hero-mock-company-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-mock-score {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-en);
}

.hero-mock-score.high { background: var(--primary); color: #fff; }
.hero-mock-score.mid { background: var(--primary-light); color: var(--primary); }
.hero-mock-score.low { background: var(--bg-sub); color: var(--text-muted); }

.hero-mock-preview {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-sub);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.7;
  border-left: 3px solid var(--primary);
}

.hero-mock-preview strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Floating tags around hero mock */
.hero-float {
  position: absolute;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(11, 26, 53, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-light);
}

.hero-float-1 {
  top: -24px;
  left: -16px;
  color: var(--primary);
}

.hero-float-2 {
  bottom: 40px;
  right: -24px;
  color: var(--text);
}

.hero-float-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ============================================
   TRUSTED BY
   ============================================ */
.trusted-by {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.trusted-by-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.trusted-by-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0.75;
}

.trusted-by-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trusted-by-tags .tag {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: all 0.2s var(--ease);
}

.trusted-by-tags .tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================
   VALUES — bold SVG illustration + brand color
   ============================================ */
.values {
  padding: 120px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.value-tile {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.value-tile:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(22, 103, 234, 0.1);
}

.value-tile-illust {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 16px;
  color: var(--primary);
}

.value-tile-illust svg {
  width: 40px;
  height: 40px;
}

.value-tile-num {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.value-tile-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.value-tile-title .mark-yellow {
  background: linear-gradient(transparent 70%, var(--accent-yellow) 70%);
  padding: 0 2px;
}

.value-tile-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.95;
}

/* link-style tile for navigation section */
.value-tile.link-tile {
  display: block;
  color: inherit;
}
.value-tile.link-tile:hover {
  border-color: var(--primary);
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(22, 103, 234, 0.12);
}

/* ===== BRAND PANEL (bakuraku Step2 style) ===== */
.brand-panel {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  margin-top: 48px;
}

.brand-panel-body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-panel-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--accent-yellow);
  color: var(--text);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.brand-panel-title {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand-panel-desc {
  font-size: 0.9rem;
  opacity: 0.88;
  line-height: 1.95;
}

.brand-panel-visual {
  background: #F6F9FF;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-panel-mock {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(11, 26, 53, 0.12);
}

.brand-panel-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.brand-panel-mock-head svg {
  width: 16px;
  height: 16px;
}

.brand-panel-mock-to {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-en);
}

.brand-panel-mock-lines .line {
  height: 9px;
  border-radius: 2px;
  background: var(--bg-sub);
  margin-bottom: 8px;
}
.brand-panel-mock-lines .line.w90 { width: 90%; }
.brand-panel-mock-lines .line.w70 { width: 70%; }
.brand-panel-mock-lines .line.w80 { width: 80%; }
.brand-panel-mock-lines .line.hl { background: var(--accent-yellow-soft); }
.brand-panel-mock-lines .line.primary { background: var(--primary); }

/* ============================================
   CHALLENGES
   ============================================ */
.challenges {
  background: var(--bg-sub);
}

.challenges-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.challenge-item {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
}

.challenge-item::before {
  content: '";';
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-soft);
  line-height: 1;
}

.challenge-item:hover {
  border-color: var(--primary-soft);
  transform: translateY(-2px);
}

.challenge-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
}

.challenge-item-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* Solution banner */
.solution-banner {
  margin-top: 48px;
  padding: 40px 48px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.solution-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.solution-banner-text {
  position: relative;
  z-index: 1;
}

.solution-banner-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.solution-banner-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.8;
}

/* ============================================
   HOW IT WORKS — 3 STEPS
   ============================================ */
/* ===== FLOW STEPS — bakuraku-style speech-bubble timeline ===== */
.flow-timeline {
  margin-top: 64px;
  margin-bottom: 48px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flow-timeline::after {
  content: '';
  position: absolute;
  left: 16.6%;
  right: 16.6%;
  top: 22px;
  height: 2px;
  background: var(--primary);
  z-index: 0;
}

.flow-timeline-item {
  position: relative;
  text-align: center;
  z-index: 1;
}

.flow-bubble {
  display: inline-block;
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
  margin-bottom: 18px;
}

.flow-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--primary);
  border-bottom: 0;
}

.flow-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  margin: 0 auto;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.flow-step {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: left;
  position: relative;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 10px rgba(11, 26, 53, 0.05);
}

.flow-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(22, 103, 234, 0.1);
}

.flow-step-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-yellow);
  color: var(--text);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.flow-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.flow-step-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.95;
}

.flow-step-items {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.flow-step-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.flow-step-item-body {
  flex: 1;
}

.flow-step-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.flow-step-item-text {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.flow-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.flow-step-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ============================================
   HOW FLOW — editorial alternating rows
   ============================================ */
.how-flow {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.how-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.how-row.reverse .how-body { order: 2; }

.how-body { max-width: 480px; }

.how-step-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 20px;
}

.how-step-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.how-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.how-title .hl {
  background: linear-gradient(transparent 62%, var(--accent-yellow) 62%);
  padding: 0 6px;
}

.how-desc {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 28px;
}

.how-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-bullet {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.how-bullet::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3,8 7,12 13,4'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.how-visual {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: 24px;
  background: var(--primary);
  overflow: hidden;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 64px rgba(22, 103, 234, 0.22);
}

.how-row.alt .how-visual {
  background: linear-gradient(135deg, #E8F0FF 0%, #F6F9FF 100%);
  box-shadow: 0 24px 64px rgba(11, 26, 53, 0.08);
}

.how-visual-bignum {
  position: absolute;
  font-family: var(--font-en);
  font-size: clamp(11rem, 24vw, 20rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.22);
  line-height: 0.82;
  letter-spacing: -0.06em;
  top: -20px;
  right: 14px;
  pointer-events: none;
  user-select: none;
}

.how-row.alt .how-visual-bignum {
  color: rgba(22, 103, 234, 0.16);
}

.how-visual-yellow-blob { display: none; }

/* ===== Mock UI inside how-visual ===== */
.mock-card {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(11, 26, 53, 0.22);
  position: relative;
  z-index: 1;
}

.mock-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}

.mock-card-head .dots {
  display: flex;
  gap: 5px;
  margin-right: auto;
}
.mock-card-head .dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.mock-field { margin-bottom: 14px; }
.mock-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.mock-field-input {
  background: var(--bg-sub);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
}

.mock-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-tag {
  display: inline-flex;
  padding: 4px 9px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
  letter-spacing: 0.02em;
}
.mock-tag.y { background: var(--accent-yellow-soft); color: #8A5A00; }
.mock-tag.p { background: #FFE1E8; color: #C23B5C; }

.mock-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 6px;
}

/* Drop zone (Step 02) */
.mock-drop {
  border: 2px dashed var(--primary-soft);
  background: var(--primary-light);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.mock-drop .file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(22, 103, 234, 0.1);
}

.mock-table-row {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.7fr;
  gap: 10px;
  padding: 9px 2px;
  font-size: 0.74rem;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}
.mock-table-row.head {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}
.mock-table-row .pri {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
}
.mock-table-row .pri.hi { background: var(--accent-yellow-soft); color: #8A5A00; }
.mock-table-row .pri.mid { background: var(--primary-light); color: var(--primary); }

/* Email mock (Step 03) */
.mock-email-subj {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.mock-email-to {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-en);
  margin-bottom: 14px;
}
.mock-email-body {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 2;
}
.mock-email-body mark {
  background: var(--accent-yellow);
  padding: 0 3px;
  font-weight: 700;
  color: var(--text);
}
.mock-email-body .brand-word {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .how-flow { gap: 80px; }
  .how-row { grid-template-columns: 1fr; gap: 40px; }
  .how-row.reverse .how-body { order: 0; }
  .how-body { max-width: 100%; }
  .how-visual { padding: 40px 32px; }
  .how-visual-bignum { font-size: 10rem; }
}

/* ============================================
   COMPARE TABLE
   ============================================ */
.compare-table-wrap {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  letter-spacing: -0.005em;
}

.compare-table thead th {
  background: #fff;
  font-weight: 800;
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(11, 26, 53, 0.12);
  text-align: center;
}

.compare-table thead th.col-uritai {
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  letter-spacing: 0.02em;
  border-bottom-color: var(--primary);
}

.compare-table tbody th {
  background: var(--white);
  font-weight: 700;
  color: var(--text-sub);
  width: 22%;
  font-size: 0.95rem;
}

.compare-table tbody td {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.compare-table tbody td.uritai-col {
  background: rgba(22, 103, 234, 0.05);
  color: var(--text);
  font-weight: 700;
  position: relative;
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

/* Plain mark — no box, just colored symbol */
.compare-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
  background: transparent;
  border-radius: 0;
}

.compare-mark svg { display: block; width: 20px; height: 20px; }

.compare-mark.good { background: transparent; color: var(--primary); }
.compare-mark.mid  { background: transparent; color: #98a2b3; }
.compare-mark.bad  { background: transparent; color: #c44; }

.compare-text {
  vertical-align: middle;
  display: inline-block;
}

.compare-table tbody td.uritai-col .compare-text {
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

/* overridden above — kept for backward compat */

/* ============================================
   FEATURES / SCENES CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(22, 103, 234, 0.1);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ============================================
   FEATURE BLOCKS (split image-text)
   ============================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-block:last-child { margin-bottom: 0; }

.feature-block.reverse .feature-block-body {
  order: 2;
}

.feature-block-body .section-label {
  margin-bottom: 14px;
}

.feature-block-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.feature-block-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.95;
  margin-bottom: 24px;
}

.feature-block-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-block-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
}

.feature-block-point::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.feature-block-visual {
  background: var(--bg-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-block-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(22, 103, 234, 0.08);
  border-radius: 50%;
}

.feature-block-visual .placeholder-text {
  font-family: var(--font-en);
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

/* Mock UI inside feature block */
.feature-mock {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(11, 26, 53, 0.08);
  position: relative;
  z-index: 1;
}

.feature-mock-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.feature-mock-line {
  height: 10px;
  border-radius: 4px;
  background: var(--bg-sub);
  margin-bottom: 10px;
}

.feature-mock-line.w80 { width: 80%; }
.feature-mock-line.w60 { width: 60%; }
.feature-mock-line.w90 { width: 90%; }
.feature-mock-line.solid { background: var(--primary); }
.feature-mock-line.soft { background: var(--primary-soft); }

.feature-mock-pill {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-pill);
  margin-right: 6px;
  margin-bottom: 8px;
}

/* ============================================
   PRICING (v2)
   ============================================ */
.pricing-section { padding-top: 40px; }

.pricing-headline { text-align: center; margin-bottom: 40px; }
.pricing-headline-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}
.pricing-headline-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.pricing-initial {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 26px 36px;
  border: 1.5px solid var(--primary);
  border-radius: 18px;
  background: #fff;
}
.pricing-initial-label {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding-right: 28px;
  border-right: 1px dashed #d9d9d9;
}
.pricing-initial-dots { display: none; }
.pricing-initial-desc-title { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.pricing-initial-desc-sub { font-size: 0.82rem; color: var(--text-sub); margin-top: 2px; }

.pricing-plus {
  text-align: center;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 400;
  color: var(--primary);
  margin: 18px 0;
  line-height: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plan-card-head { border-radius: 17px 17px 0 0; }
.plan-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.06); }
.plan-card.featured { border-color: var(--primary); }

.plan-card-head {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}
.plan-card.featured { transform: translateY(-8px); box-shadow: 0 16px 42px rgba(22,103,234,0.14); }
.plan-card.featured .plan-card-head { padding-top: 34px; }
.plan-card-badge {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  background: #FFC93A;
  color: #3B2A00;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 14px rgba(255,201,58,0.35);
  white-space: nowrap;
}
.plan-card-target {
  line-height: 1.6;
}

.plan-card-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plan-card-name {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.plan-card-price-note {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 22px;
}

.plan-spec { list-style: none; padding: 0; margin: 0 0 26px; }
.plan-spec li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
  font-size: 0.9rem;
}
.plan-spec li span { color: var(--text-sub); }
.plan-spec li b { font-weight: 800; color: var(--text); font-size: 0.95rem; }

.chk {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.chk.on {
  border: 2px solid var(--primary);
  position: relative;
}
.chk.off {
  width: 16px;
  height: 2px;
  background: #cfcfcf;
  border-radius: 2px;
}

.plan-card-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-initial { grid-template-columns: 1fr; text-align: center; gap: 12px; padding: 22px; }
  .pricing-initial-label { border-right: none; border-bottom: 1px dashed #d9d9d9; padding: 0 0 12px; }
}

/* legacy .price-card kept for any remaining refs */

.price-card {
  padding: 40px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(22, 103, 234, 0.15);
}

.price-card-label {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

.price-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.price-card-sub {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.8;
}

.price-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.price-card-price .num {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.price-card-price .unit {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.price-card-price .custom {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.price-card-features {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.price-card-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text);
}

.price-card-feature::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.price-card-cta .btn {
  width: 100%;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item:hover {
  border-color: var(--primary-soft);
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-q {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}

.faq-q::after {
  content: '+';
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  content: '−';
}

.faq-a {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.9;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
}

.faq-item.open .faq-a {
  padding: 0 28px 24px;
  max-height: 400px;
}

/* ============================================
   MID / FINAL CTA
   ============================================ */
.mid-cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.mid-cta::before,
.mid-cta::after { display: none; }

.mid-cta .container {
  position: relative;
  z-index: 1;
}

.mid-cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.mid-cta-text {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.9;
}

/* ============================================
   PAGE HERO (sub pages)
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #F6F9FF 0%, #FFFFFF 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(22, 103, 234, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .section-label { justify-content: center; }

.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.35;
  word-break: auto-phrase;
  line-break: strict;
}

.page-hero-desc {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(11, 26, 53, 0.04);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.form-row label .required {
  color: #E74C3C;
  margin-left: 4px;
  font-size: 0.75rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 103, 234, 0.12);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 16px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.7;
}

/* ============================================
   COLUMN LIST
   ============================================ */
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.column-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.column-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(22, 103, 234, 0.1);
}

.column-card-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.column-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.column-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 4px;
}

.column-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-en);
  margin-top: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  margin-bottom: 14px;
}
.footer-brand-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-parent-link a {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-en);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.footer-parent-link a:hover { color: var(--white); }

/* ============================================
   FADE UP ANIMATION
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  section { padding: 80px 0; }

  .header-inner { padding: 14px 24px; justify-content: space-between; gap: 12px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; margin-left: auto; padding: 10px; }
  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
  }
  .nav-links.mobile-open a { padding: 14px 12px; width: 100%; }
  .nav-cta { margin-left: 0 !important; text-align: center; }

  .hero { padding-top: 120px; padding-bottom: 80px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-float { display: none; }

  .values-grid { grid-template-columns: 1fr; }
  .challenges-list { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .feature-block { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .feature-block.reverse .feature-block-body { order: 0; }
  .feature-block-visual { padding: 32px; min-height: 280px; }

  .solution-banner { flex-direction: column; align-items: flex-start; padding: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }

  .form-wrap { padding: 32px 24px; }

  .compare-table-wrap { overflow-x: visible; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .compare-table tr {
    padding: 18px 18px 8px;
    border-bottom: 1px solid var(--border);
  }
  .compare-table tbody tr:last-child { border-bottom: none; }
  .compare-table tbody th {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 800;
    padding: 0 0 12px;
    background: transparent;
    border-bottom: none;
  }
  .compare-table tbody td {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 0.88rem;
  }
  .compare-table tbody tr td:last-child { border-bottom: none; }
  .compare-table tbody td::before {
    content: attr(data-col);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-sub);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
  }
  .compare-table tbody td.uritai-col {
    background: rgba(22, 103, 234, 0.05);
    padding: 10px 12px;
    border-radius: 8px;
    margin: 6px 0;
  }
  .compare-table tbody td.uritai-col::before { color: var(--primary); }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .trusted-by-logos { gap: 24px; }
}

/* ============================================
   PAINS — こんな営業、変えられます
   ============================================ */
.pains {
  background: var(--bg-sub);
  position: relative;
}

.pains-header {
  text-align: center;
  margin-bottom: 56px;
}

.pains-header .section-subtitle {
  margin: 0 auto;
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pain-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.pain-card::before { display: none; }

.pain-card::after { display: none; }

.pain-card:hover {
  transform: translateY(-4px);
}

.pain-card-tag {
  display: inline-block;
  padding: 0 0 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.pain-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.pain-card-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 2;
  position: relative;
  z-index: 1;
}

.pains-arrow {
  margin-top: 72px;
  text-align: center;
}

.pains-arrow-text {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.pains-arrow-text::before,
.pains-arrow-text::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--primary);
}

/* ============================================
   PILLARS — 2つの基盤
   ============================================ */
.pillars-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar-card {
  position: relative;
  padding: 44px 36px 40px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid transparent;
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-card.cloud {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(22, 103, 234, 0.18);
}

.pillar-card.ai {
  background: #0B1A35;
  color: var(--white);
  box-shadow: 0 18px 40px rgba(11, 26, 53, 0.18);
}

.pillar-card.knowledge {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 6px 20px rgba(11, 26, 53, 0.04);
}

.pillar-num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.7;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-num::before {
  content: '';
  width: 20px;
  height: 2px;
  background: currentColor;
}

.pillar-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pillar-title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.55;
  margin-bottom: 4px;
  margin-top: 0;
}

.pillar-card.knowledge .pillar-title-en { color: var(--primary); opacity: 0.8; }

.pillar-lead {
  font-size: 0.9rem;
  line-height: 1.95;
  opacity: 0.88;
  margin-bottom: 24px;
}

.pillar-card.knowledge .pillar-lead { color: var(--text-sub); opacity: 1; }

.pillar-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pillar-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 600;
}

.pillar-point::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3,8 7,12 13,4'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3,8 7,12 13,4'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--accent-yellow);
}

.pillar-card.knowledge .pillar-point::before { color: var(--primary); }

.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pillar-card.knowledge .pillar-badge {
  background: var(--primary-light);
  border-color: var(--primary-soft);
  color: var(--primary);
}

/* ============================================
   BENEFITS — 4つの効果
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  transition: all 0.3s var(--ease);
}

.benefit-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(22, 103, 234, 0.1);
}

.benefit-num {
  font-family: var(--font-en);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  position: relative;
}

.benefit-num::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--accent-yellow);
  margin-top: 12px;
}

.benefit-body { }

.benefit-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.benefit-title .mark-yellow {
  background: linear-gradient(transparent 65%, var(--accent-yellow) 65%);
  padding: 0 4px;
}

.benefit-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 2;
}

/* ============================================
   SCENE CARDS — 利用シーン
   ============================================ */
.scene-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.scene-card {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.scene-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(22, 103, 234, 0.12);
}

.scene-card-head {
  padding: 40px 36px 32px;
  background: var(--bg-sub);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.scene-card-industry {
  display: inline-block;
  padding: 5px 12px;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-radius: 4px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.scene-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.scene-card-body {
  padding: 32px 36px 40px;
}

.scene-card-subheading {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.scene-card-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 22px;
}

.scene-card-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.scene-card-key {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}

.scene-card-effect {
  background: var(--bg-sub);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scene-card-effect-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.7;
}

.scene-card-effect-row::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3,8 7,12 13,4'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ============================================
   AUDIENCE — こんな方に (二軸) kaonavi風のシンプル枠
   ============================================ */
.audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.audience-card {
  padding: 48px 44px;
  position: relative;
}

.audience-card:has(.audience-card-photo) {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 28px;
  align-items: start;
}

.audience-card-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: #f2f2f2;
}

.audience-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
}

.audience-card-body { min-width: 0; }

.audience-card + .audience-card {
  border-left: 1px solid var(--border);
}

.audience-card-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}

.audience-card-lead::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 1px;
}

.audience-card.alt .audience-card-lead {
  color: #7A4E00;
}

.audience-card.alt .audience-card-lead::before { background: #C79500; }

.audience-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--text);
}

.audience-card-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 2.05;
}

/* ============================================
   QUALITY LIST — features.html 品質設計
   ============================================ */
.quality-list {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.quality-row {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: 56px;
  padding: 36px 44px;
  align-items: start;
  border-bottom: 1px solid var(--border-light);
}
.quality-row:last-child { border-bottom: none; }
.quality-row-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.quality-row-num {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.quality-row-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.01em;
}
.quality-row-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.9;
}
@media (max-width: 900px) {
  .quality-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 24px;
  }
}

/* ============================================
   AI JUDGE — ランク/スコア/根拠の構造化表示
   ============================================ */
.ai-judge {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.ai-judge-body { max-width: 480px; }

.ai-judge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-radius: 4px;
  margin-bottom: 20px;
}

.ai-judge-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.ai-judge-title .hl {
  background: linear-gradient(transparent 62%, var(--accent-yellow) 62%);
  padding: 0 6px;
}

.ai-judge-desc {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 28px;
}

.ai-judge-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-judge-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.ai-judge-bullet::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3,8 7,12 13,4'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-radius: 3px;
}

/* Judge visual — 構造化データ表示 */
.judge-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 20px 50px rgba(11, 26, 53, 0.08);
  font-family: var(--font-jp);
}

.judge-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}

.judge-panel-company {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.judge-panel-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-en);
  letter-spacing: 0.14em;
}

.judge-rank-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.judge-rank {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 900;
  border-radius: 10px;
  letter-spacing: -0.04em;
}

.judge-rank.rank-a { background: var(--primary); }
.judge-rank.rank-b { background: #5FA4FF; }
.judge-rank.rank-c { background: #97A3B8; }
.judge-rank.rank-f { background: #C23B5C; }

.judge-score {
  flex: 1;
}

.judge-score-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.judge-score-value {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.judge-score-value small {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 4px;
}

.judge-factors {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.judge-factor {
  display: grid;
  grid-template-columns: 92px 1fr 36px;
  gap: 14px;
  align-items: center;
  font-size: 0.78rem;
}

.judge-factor-name {
  font-weight: 700;
  color: var(--text);
}

.judge-factor-bar {
  height: 6px;
  background: var(--bg-sub);
  border-radius: 3px;
  overflow: hidden;
}

.judge-factor-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
}

.judge-factor-val {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--text);
  text-align: right;
}

.judge-reason {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.judge-reason-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.judge-reason-text {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.85;
}

.judge-reason-text mark {
  background: var(--accent-yellow-soft);
  padding: 0 3px;
  font-weight: 600;
}

/* ============================================
   STATS ROW — 数字による技術的裏付け
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.stat-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-cell:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.stat-num small {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pains-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .scene-cards { grid-template-columns: 1fr; }
  .audience-split { grid-template-columns: 1fr; }
  .audience-card + .audience-card { border-left: none; border-top: 1px solid var(--border); }
  .audience-card:has(.audience-card-photo) { grid-template-columns: 88px 1fr; gap: 20px; padding: 36px 24px; }
  .audience-card-photo { width: 88px; height: 88px; }
  .audience-card-title { font-size: 1.1rem; line-height: 1.5; margin-bottom: 14px; }
  .audience-card-text { font-size: 0.88rem; line-height: 1.85; }
  .audience-card-lead { margin-bottom: 14px; }
}
@media (max-width: 560px) {
  .audience-card { padding: 28px 20px; }
  .audience-card:has(.audience-card-photo) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .audience-card-photo { width: 100%; height: 220px; border-radius: 14px; }
  .benefit-card { grid-template-columns: 1fr; gap: 16px; }
  .pillar-card { padding: 36px 28px 32px; }
  .pillar-title { font-size: 1.4rem; }
  .ai-judge { grid-template-columns: 1fr; gap: 40px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ============================================================
   Column AI Studio — sidebar + auto TOC for column single page
   v2: no rounded boxes, no left-border accents, no contact CTA
   ============================================================ */

.cas-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) {
  .cas-column-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.cas-column-main { min-width: 0; }

.cas-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 14px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
}
@media (max-width: 980px) {
  .cas-sidebar { position: static; max-height: none; overflow-y: visible; }
}

/* Plain block — no border, no background, no card.
   Section divider via title underline only. */
.cas-sidebar-block { padding: 0; background: transparent; border: 0; }
.cas-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d1d5db;
}

.cas-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cas-sidebar-list-numbered { counter-reset: cas-pop; }
.cas-sidebar-list-numbered .cas-sidebar-item {
  counter-increment: cas-pop;
  display: flex;
  gap: 10px;
}
.cas-sidebar-list-numbered .cas-sidebar-item::before {
  content: counter(cas-pop) ".";
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  flex-shrink: 0;
  width: 16px;
}
.cas-sidebar-item a {
  display: block;
  text-decoration: none;
  color: #1f2937;
  line-height: 1.55;
  font-size: 13px;
  transition: color .12s;
}
.cas-sidebar-item a:hover { color: #2271b1; text-decoration: underline; }
.cas-sidebar-item .cas-sidebar-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Hide thumbnails entirely — text-only list looks cleaner */
.cas-sidebar-thumb { display: none; }

/* Hide the sidebar TOC mount (no duplicate TOC in sidebar per user request) */
.cas-sidebar-toc-host { display: none !important; }


/* ============================================================
   Inline TOC at top of article — plain, no decoration
   ============================================================ */

.cas-toc {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 24px 0 32px;
  font-size: 14px;
}
.cas-toc-heading {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d1d5db;
}
.cas-toc-heading::before { content: none; }     /* drop icon */
.cas-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cas-toc-h2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cas-toc-list .cas-toc-list {
  margin: 4px 0 4px 0;
  padding-left: 20px;
  border-left: 0;             /* no left vertical line */
  background: transparent;
}
.cas-toc-item { position: relative; }
.cas-toc-item a {
  display: block;
  text-decoration: none;
  color: #374151;
  line-height: 1.6;
  padding: 2px 0;
  transition: color .12s;
}
.cas-toc-item a:hover { color: #2271b1; }
.cas-toc-item.cas-toc-active > a { color: #2271b1; font-weight: 700; }
.cas-toc-h2 { counter-increment: cas-toc-h2; }
.cas-toc-h2 > a { font-size: 14px; font-weight: 600; }
.cas-toc-h2 > a::before {
  content: counter(cas-toc-h2) ". ";
  color: #9ca3af;
  font-weight: 500;
}
.cas-toc-h3 > a { font-size: 13px; color: #6b7280; }
.cas-toc-h3 > a::before { content: "・"; color: #d1d5db; margin-right: 4px; }

/* Anchored heading offset for sticky header */
.column-detail-body h2[id],
.column-detail-body h3[id] {
  scroll-margin-top: 80px;
}

html { scroll-behavior: smooth; }
/* ============================================================
   Column AI Studio v3 — article body typography (URITAI)
   Clean SaaS / blue. No rounded card boxes, no AI-flavored blocks.
   ============================================================ */

.column-detail-body {
  font-size: 16px;
  line-height: 1.95;
  color: #1c2942;
  letter-spacing: 0.01em;
  word-break: normal;
  overflow-wrap: anywhere;
}
.column-detail-body > * + * { margin-top: 1.4em; }
.column-detail-body p { margin: 0; }
.column-detail-body p + p { margin-top: 1.4em; }

/* Links inside body text */
.column-detail-body a:not(.cas-related-card):not(.btn) {
  color: #1667EA;
  text-decoration: none;
  background-image: linear-gradient(#1667EA, #1667EA);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size .18s, color .18s;
}
.column-detail-body a:not(.cas-related-card):not(.btn):hover {
  color: #0F4FBE;
  background-size: 100% 2px;
}

/* ─── H2 ─── SaaS clean: short blue accent + thin gray rule */
.column-detail-body h2 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 800;
  color: #0B2A5B;
  margin: 64px 0 24px;
  padding: 0 0 14px;
  /* (REMOVED 2026-05-11) border-top — ユーザー指示「H2の上の黒線いらない」 */
  background-image: linear-gradient(to right, #1667EA 0 72px, #E4E9F2 72px 100%);
  background-position: 0 100%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  letter-spacing: 0.01em;
}
.column-detail-body > h2:first-child { margin-top: 0; }

/* ─── H3 ─── small blue diamond + bottom dashed thin rule */
.column-detail-body h3 {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
  color: #0B2A5B;
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #C9D2E5;
  letter-spacing: 0.01em;
}
.column-detail-body h3::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: #1667EA;
  margin-right: 12px;
  transform: translateY(-3px) rotate(45deg);
}

/* ─── H4 ─── subdued, thin left accent */
.column-detail-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0B2A5B;
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid #1667EA;
}

/* ─── Marker / highlighter ─── soft yellow + brand-blue option */
.column-detail-body mark,
.column-detail-body .cas-marker {
  background: linear-gradient(transparent 62%, #FFF3C2 62%);
  padding: 0 2px;
  color: inherit;
  font-weight: 600;
}
.column-detail-body .cas-marker-blue {
  background: linear-gradient(transparent 62%, rgba(22, 103, 234, 0.15) 62%);
}

/* ─── Strong ─── heavy weight + navy */
.column-detail-body strong { font-weight: 700; color: #0B2A5B; }

/* ─── Lists ─── blue bar bullet, numbered uses solid navy square */
.column-detail-body ul,
.column-detail-body ol {
  padding: 0;
  margin: 1.4em 0;
}
.column-detail-body ul li,
.column-detail-body ol li {
  list-style: none;
  position: relative;
  margin: 0.6em 0;
  line-height: 1.85;
}
.column-detail-body ul li {
  padding-left: 26px;
}
.column-detail-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.85em;
  width: 12px; height: 2px;
  background: #1667EA;
}
.column-detail-body ol {
  counter-reset: cas-ol;
}
.column-detail-body ol li {
  padding-left: 38px;
  counter-increment: cas-ol;
}
.column-detail-body ol li::before {
  content: counter(cas-ol);
  position: absolute;
  left: 0; top: 4px;
  width: 24px; height: 24px;
  background: #0B2A5B;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  font-feature-settings: "tnum";
}
.column-detail-body li > ul,
.column-detail-body li > ol { margin: 0.4em 0 0.4em 0; }
.column-detail-body li > ul li::before { background: #C9D2E5; }

/* ─── Tables ─── SaaS clean, navy header, light blue zebra */
.column-detail-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 36px 0;
  background: #fff;
}
.column-detail-body table thead th {
  /* (CHANGED 2026-05-11) ユーザー指示「表のヘッダー列は黒字」 */
  background: #F6F8FC;
  color: #0B2A5B;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  border: 0;
  border-bottom: 2px solid #0B2A5B;
  vertical-align: middle;
}
.column-detail-body table tbody th {
  background: #EFF4FF;
  color: #0B2A5B;
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid #E4E9F2;
  vertical-align: top;
  white-space: nowrap;
}
.column-detail-body table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid #E4E9F2;
  vertical-align: top;
  color: #1c2942;
}
.column-detail-body table tbody tr:nth-child(even) td { background: #F8FAFD; }
.column-detail-body table caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #5C6B86;
  letter-spacing: 0.06em;
  padding: 0 0 8px;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .column-detail-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

/* ─── Blockquote ─── soft blue-tinted bg, navy quote glyph */
.column-detail-body blockquote {
  position: relative;
  margin: 36px 0;
  padding: 20px 24px 20px 56px;
  background: #F6F8FC;
  color: #2c3a55;
  font-size: 15.5px;
  line-height: 1.85;
}
.column-detail-body blockquote::before {
  content: "\201C";
  position: absolute;
  left: 16px; top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
  color: #1667EA;
  font-style: normal;
}
.column-detail-body blockquote p { margin: 0; }
.column-detail-body blockquote p + p { margin-top: 0.8em; }
.column-detail-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: #5C6B86;
  font-style: normal;
}
.column-detail-body blockquote cite::before { content: "— "; }

/* ─── Code (inline + block) ─── */
.column-detail-body code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #F0F3F8;
  padding: 0.15em 0.4em;
  color: #0F4FBE;
}
.column-detail-body pre {
  margin: 28px 0;
  padding: 18px 20px;
  background: #0B2A5B;
  color: #F0F3F8;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
}
.column-detail-body pre code { background: transparent; color: inherit; padding: 0; }

/* ─── Horizontal rule ─── */
.column-detail-body hr {
  border: 0;
  height: 1px;
  background: #E4E9F2;
  margin: 56px auto;
  width: 60%;
}

/* ─── Images / figures ─── */
.column-detail-body figure { margin: 32px 0; }
.column-detail-body figure img,
.column-detail-body img { max-width: 100%; height: auto; display: block; }
.column-detail-body figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: #5C6B86;
  line-height: 1.6;
  padding-left: 10px;
  border-left: 2px solid #1667EA;
}

/* ─── Internal-link / related card ─── editorial pull, NO rounded box */
.cas-related-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 36px 0;
  padding: 18px 4px;
  border-top: 2px solid #0B2A5B;
  border-bottom: 1px solid #E4E9F2;
  text-decoration: none !important;
  color: #0B2A5B;
  background-image: none !important;
  transition: opacity .15s;
}
.cas-related-card:hover { opacity: 0.7; }
.cas-related-card-label {
  flex-shrink: 0;
  width: 96px;
  font-size: 11px;
  font-weight: 800;
  color: #1667EA;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cas-related-card-body { flex: 1; min-width: 0; }
.cas-related-card-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  color: #0B2A5B;
  margin: 0;
}
.cas-related-card-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #5C6B86;
  letter-spacing: 0.04em;
}
.cas-related-card-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1667EA;
}
@media (max-width: 600px) {
  .cas-related-card { gap: 12px; padding: 14px 4px; }
  .cas-related-card-label { width: auto; font-size: 10px; }
  .cas-related-card { flex-wrap: wrap; }
  .cas-related-card-body { flex-basis: 100%; }
}

/* ─── Anchored heading offset (already set elsewhere; reinforce) ─── */
.column-detail-body h2[id],
.column-detail-body h3[id],
.column-detail-body h4[id] { scroll-margin-top: 88px; }
/* ============================================================
   v3.1 patch (URITAI) — TOC reset + sidebar thumbs + breadcrumb tighten
   ============================================================ */

/* --- TOC inside .column-detail-body: nullify all article-body inheritance --- */
.column-detail-body .cas-toc {
  margin: 20px 0 36px;
  padding: 0;
  font-size: 14px;
}
.column-detail-body .cas-toc-heading {
  font-size: 12px;
  font-weight: 800;
  color: #0B2A5B;
  margin: 0 0 10px;
  padding: 0 0 6px;
  border-bottom: 1px solid #C9D2E5;
  letter-spacing: 0.06em;
}
.column-detail-body .cas-toc-heading::before { content: none; }
.column-detail-body .cas-toc ul,
.column-detail-body .cas-toc-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: cas-toc-h2;
}
.column-detail-body .cas-toc .cas-toc-list .cas-toc-list {
  margin: 2px 0 6px !important;
  padding-left: 18px !important;
  gap: 0;
  counter-reset: none;
}
.column-detail-body .cas-toc li,
.column-detail-body .cas-toc .cas-toc-item {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  position: relative;
}
.column-detail-body .cas-toc li::before,
.column-detail-body .cas-toc .cas-toc-item::before {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}
.column-detail-body .cas-toc a {
  display: block;
  padding: 1px 0 !important;
  text-decoration: none !important;
  background: none !important;
  background-image: none !important;
  color: #374151;
  line-height: 1.55 !important;
  font-size: 14px;
  transition: color .12s;
}
.column-detail-body .cas-toc a:hover {
  background: none !important;
  background-image: none !important;
  color: #1667EA;
  text-decoration: underline;
}
.column-detail-body .cas-toc-item.cas-toc-active > a {
  color: #1667EA;
  font-weight: 700;
}
.column-detail-body .cas-toc-h2 { counter-increment: cas-toc-h2; }
.column-detail-body .cas-toc-h2 > a {
  font-size: 14px;
  font-weight: 700;
  color: #0B2A5B;
  padding: 2px 0 !important;
}
.column-detail-body .cas-toc-h2 > a::before {
  content: counter(cas-toc-h2) ". ";
  color: #97A3B8;
  font-weight: 600;
  background: none !important;
  display: inline !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
}
.column-detail-body .cas-toc-h3 > a {
  font-size: 13px;
  color: #5C6B86;
  padding: 0 !important;
}
.column-detail-body .cas-toc-h3 > a::before {
  content: "";
  display: inline-block !important;
  width: 6px !important;
  height: 1px !important;
  background: #C9D2E5 !important;
  margin: 0 8px 4px 0 !important;
  vertical-align: middle;
  position: static !important;
}

/* --- Sidebar: restore thumbnails, tighten layout --- */
.cas-sidebar-list { gap: 16px; }
.cas-sidebar-item a {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  text-decoration: none !important;
  background: none !important;
  background-image: none !important;
}
.cas-sidebar-thumb {
  display: block !important;
  flex-shrink: 0 !important;
  width: 72px !important;
  height: 54px !important;
  overflow: hidden;
  background: #F0F3F8;
}
.cas-sidebar-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.cas-sidebar-thumb-empty {
  background: linear-gradient(135deg, #F0F3F8, #E4E9F2) !important;
}
.cas-sidebar-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #1c2942;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cas-sidebar-list-numbered .cas-sidebar-item {
  align-items: flex-start;
  gap: 8px;
}
.cas-sidebar-list-numbered .cas-sidebar-item::before {
  padding-top: 18px;
  width: 14px;
}

/* --- Breadcrumb-to-title tighten --- */
.column-detail .breadcrumb {
  margin-bottom: 4px !important;
  padding-top: 16px !important;
}
.column-detail-header {
  margin-top: 12px;
  padding-top: 0 !important;
}
.column-detail-header .column-detail-meta {
  margin-bottom: 12px;
}
.column-detail-header .column-detail-title {
  margin-top: 8px;
}
/* ============================================================
   v3.2 patch (URITAI) — breadcrumb gap kill + auto-card thumb
   ============================================================ */

.column-detail .breadcrumb {
  padding-top: 12px !important;
  margin-bottom: 0 !important;
}
.column-detail-header {
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  padding-top: 0 !important;
}
.column-detail-meta {
  margin-bottom: 8px !important;
}
.column-detail-title {
  margin: 0 !important;
}

/* --- Auto-converted related card with thumbnail --- */
.cas-related-card { gap: 16px !important; }
.cas-related-card-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  overflow: hidden;
  background: #F0F3F8;
}
.cas-related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cas-related-card-label {
  width: 80px !important;
}
@media (max-width: 600px) {
  .cas-related-card-thumb { width: 88px; height: 64px; }
}

/* ============================================================
   v3.3 patch — text color darken, hide hr, callout speech bubbles
   ============================================================ */

/* 1. text color: darker for readability */
.column-detail-body,
.column-detail-body p,
.column-detail-body li,
.column-detail-body td,
.column-detail-body th {
  color: #1c1917 !important;
}

/* 2. hide horizontal rule entirely (we use H2 top accent instead) */
.column-detail-body hr {
  display: none !important;
}

/* 3. callout / fukidashi speech-bubble style */
.column-detail-body .callout {
  display: flex;
  align-items: flex-start;       /* bubble shrinks to fit content */
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  position: relative;
}
.column-detail-body .callout-icon {
  flex-shrink: 0;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;                        /* image, label, name tightly stacked */
}
.column-detail-body .callout-icon::before {
  content: "";
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid currentColor;
  background-image: var(--callout-icon-image, none);
}
.column-detail-body .callout-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 1px 7px;
  border-radius: 99px;
  color: #fff;
  background: currentColor;
  line-height: 1.4;
  margin-top: 4px;
}
.column-detail-body .callout-name {
  margin-top: 2px;
}
.column-detail-body .callout-label::after {
  /* Trick: render label with background = currentColor, but text white.
     Use a child span override would be cleaner; CSS-only fallback below. */
}
.column-detail-body .callout-name {
  font-size: 12px;
  font-weight: 700;
  color: #1c1917;
}
.column-detail-body .callout-body {
  flex: 1;
  position: relative;
  padding: 22px 26px;
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 14px;
  color: #1c1917;
}
.column-detail-body .callout-body::before,
.column-detail-body .callout-body::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 0;
  height: 0;
  border-style: solid;
}
/* outer triangle (border color) — anchored to icon center */
.column-detail-body .callout-body::before {
  top: 28px;
  left: -14px;
  border-width: 8px 14px 8px 0;
  border-color: transparent currentColor transparent transparent;
}
/* inner triangle (white fill, 2px inset) */
.column-detail-body .callout-body::after {
  top: 30px;
  left: -10px;
  border-width: 6px 12px 6px 0;
  border-color: transparent #fff transparent transparent;
}
.column-detail-body .callout-body > *:first-child { margin-top: 0; }
.column-detail-body .callout-body > *:last-child { margin-bottom: 0; }
.column-detail-body .callout-body p { margin: 0 0 8px; line-height: 1.85; }
.column-detail-body .callout-body p:last-child { margin-bottom: 0; }

/* color variants — set color on .callout to drive border + label bg */
.column-detail-body .callout-point    { color: #E34D12; }   /* SHIRITAI orange */
.column-detail-body .callout-check    { color: #1976D2; }   /* blue */
.column-detail-body .callout-caution  { color: #C62828; }   /* red */
.column-detail-body .callout-note     { color: #555; }      /* neutral grey */
.column-detail-body .callout-qa       { color: #2E7D32; }   /* green */

/* Force the label text to white (currentColor would make it invisible on bg) */
.column-detail-body .callout-label { color: #fff !important; }

/* Body text needs to override "color: currentColor" so paragraphs aren't tinted */
.column-detail-body .callout-body,
.column-detail-body .callout-body p,
.column-detail-body .callout-body li,
.column-detail-body .callout-body strong {
  color: #1c1917;
}

/* SHIRITAI default character icon */
.column-detail-body .callout {
  --callout-icon-image: url('/wp-content/themes/shiritai/assets/shiritai-character.png');
}

/* Mobile: stack vertically */
@media (max-width: 600px) {
  .column-detail-body .callout {
    flex-direction: column;
    gap: 8px;
  }
  .column-detail-body .callout-icon {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .column-detail-body .callout-icon::before {
    width: 48px;
    height: 48px;
  }
  .column-detail-body .callout-body::before,
  .column-detail-body .callout-body::after {
    display: none;
  }
}

/* ============================================================
   v3.4 patch — main 740 / sidebar 320 / gap 60, responsive title
   ============================================================ */

/* Layout: fixed widths (referencing jinr.jp/blogcamp spec) */
.cas-column-layout {
  display: grid;
  grid-template-columns: 740px 320px !important;
  gap: 60px !important;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 1180px) {
  .cas-column-layout {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 40px !important;
    max-width: 1080px;
  }
}
@media (max-width: 980px) {
  .cas-column-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    max-width: 740px;
  }
}

/* Sidebar fixed 320 */
.cas-column-sidebar { width: 320px; max-width: 100%; }

/* Title responsive — smaller cap */
.column-detail-title,
.column-detail-header .column-detail-title {
  font-size: clamp(1.5rem, 2.2vw, 1.75rem) !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
}

/* ============================================================
   v3.5 patch — JIN-style "あわせて読みたい" related card
   ============================================================ */

.column-detail-body .cas-related-card,
.column-detail-body a.cas-related-card {
    display: grid;
    grid-template-columns: 100px 1fr 24px;
    align-items: center;
    gap: 16px;
    position: relative;
    padding: 24px 24px 18px;
    margin: 36px 0;
    border: 2px solid #d6d3d1;
    border-radius: 14px;
    text-decoration: none !important;
    color: #1c1917;
    transition: border-color .2s, transform .15s;
    background: #fff;
    background-image: none !important;
}
.column-detail-body .cas-related-card:hover,
.column-detail-body a.cas-related-card:hover {
    border-color: #E34D12;
    color: #1c1917;
    transform: translateY(-1px);
}
.column-detail-body .cas-related-card-label {
    position: absolute;
    top: -10px;
    left: 18px;
    width: auto !important;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #57534e;
    background: #fff;
    line-height: 1.6;
}
.column-detail-body .cas-related-card-thumb {
    grid-column: 1;
    width: 100px;
    height: 70px;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f4;
    flex-shrink: 0;
}
.column-detail-body .cas-related-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.column-detail-body .cas-related-card-thumb-empty {
    background: linear-gradient(135deg, #f5f5f4 25%, transparent 25%, transparent 50%, #f5f5f4 50%, #f5f5f4 75%, transparent 75%);
    background-size: 12px 12px;
}
.column-detail-body .cas-related-card-title {
    grid-column: 2;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    color: #1c1917;
}
.column-detail-body .cas-related-card-arrow {
    grid-column: 3;
    color: #a8a29e;
    font-size: 22px;
    line-height: 1;
    text-align: center;
}
@media (max-width: 600px) {
    .column-detail-body .cas-related-card {
        grid-template-columns: 80px 1fr 20px;
        padding: 20px 18px 14px;
    }
    .column-detail-body .cas-related-card-thumb { width: 80px; height: 56px; }
    .column-detail-body .cas-related-card-title { font-size: 14px; }
}

/* ============================================
   v3.2 PATCH (2026-05-11) — fill missing template class styles
   Added by Claude to fix CSS gaps audited via tools/audit_template_css.py.
   Covers: column page thumb / CTA / nav buttons, column archive filters,
   pricing flow numbering, hero / footer.
   ============================================ */

/* Column hero thumbnail */
.column-detail-thumb {
  margin: 24px 0 36px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-sub, #F6F8FC);
}
.column-detail-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* Bottom CTA card on column detail (.column-detail-cta) */
.column-detail-cta {
  margin: 56px 0 0;
  padding: 36px 32px;
  background: var(--primary-light, #EFF4FF);
  border-radius: 10px;
  border: 1px solid #DCE7FB;
  text-align: center;
}
@media (max-width: 600px) {
  .column-detail-cta { padding: 28px 20px; }
}

/* "← コラム一覧に戻る" return nav */
.column-nav {
  margin: 28px 0 0;
  display: flex;
  justify-content: center;
}
.btn-sm {
  font-size: 0.86rem;
  padding: 8px 16px;
}

/* Column archive filter pills */
.column-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.column-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #5C6B86;
  background: #fff;
  border: 1px solid #DCE7FB;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.column-filter-btn:hover,
.column-filter-btn.active,
.column-filter-btn[aria-current="true"] {
  color: #fff;
  background: var(--primary, #1667EA);
  border-color: var(--primary, #1667EA);
}

/* Pricing page extras */
.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary, #1667EA);
  color: #fff;
  border-radius: 50%;
  font-size: 0.92rem;
  font-weight: 800;
  margin-right: 8px;
}
.pricing-initial-desc {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--text-sub, #5C6B86);
  line-height: 1.7;
}

/* (REMOVED 2026-05-11) — broken .hero-content override
   Existing .hero .container grid in lines ~532-543 is the real layout.
   My audit incorrectly flagged .hero-content as missing CSS; it's a
   simple inner wrapper, no grid needed. */

/* (REMOVED 2026-05-11) — footer-copy rule was breaking .footer-bottom flex
   alignment (border-top drew a line only above the left flex item).
   .footer-bottom existing CSS already handles the typography. */

/* v3.2.1 PATCH (2026-05-11) — column-card thumb image fit */
.column-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* (REMOVED 2026-05-11) — v3.2.2 PATCH was redundant and regressed sidebar
   width to 280px at 980-1100px viewport. The earlier v3.4 patch at line
   ~5275 already implements main 740 / sidebar 320 / gap 60 with correct
   breakpoints. The body color #0B1F40 override remains needed: */
.column-detail-body { color: #0B1F40; }
