html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.vl-display,
.vl-h2,
.vl-h3,
.vl-lead,
.vl-eyebrow,
.vl-kicker,
.vl-chip,
.vl-tag,
.vl-btn,
.head-tel .lbl,
.head-tel .num,
.topo-card .sub,
.topo-hub .hub-num,
.topo-hub .hub-st,
.cp-call .sub,
.cp-call .timer,
.cp-row .ext,
.plan .pname,
.plan .pprice,
.plan .ribbon,
.ctastrip .num,
.foot-col h4 {
  letter-spacing: 0;
}

.site-header .vl-btn {
  flex: none;
}

.vl-btn svg {
  width: 1em;
  height: 1em;
}

.vl-badge .vl-bdot {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.vl-card {
  padding: 30px 28px;
}

.site .display {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero .vl-lead,
.section-head .vl-lead {
  word-break: auto-phrase;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.related-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius);
  background: var(--surface-card);
  transition: transform var(--dur-base) ease, box-shadow var(--dur-base) ease, border-color var(--dur-base) ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: var(--border-accent);
}

.related-card i,
.related-card svg {
  width: 28px;
  height: 28px;
  color: var(--text-accent);
}

.related-card h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.related-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.related-card .vl-textlink {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site {
    overflow-x: clip;
  }

  .wrap {
    min-width: 0;
  }

  .headbar {
    height: auto;
    min-height: var(--header-h);
    padding-block: 12px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .headbar .logo {
    max-width: min(58vw, 230px);
    height: auto;
  }

  .site-header .vl-btn {
    margin-left: 0;
    font-size: 0.8rem;
    padding-inline: 0.9em;
  }

  .cp-body {
    grid-template-columns: 1fr;
  }

  .cp-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--vl-app-border);
  }

  .cp-nav {
    justify-content: center;
    padding-inline: 8px;
  }
}

@media (max-width: 620px) {
  .funcs,
  .topo-ends,
  .steps,
  .cp-stats {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    padding-block: 48px 64px;
  }

  .cta-row {
    display: grid;
  }

  .cta-row .vl-btn {
    width: 100%;
  }

  .risk-row {
    display: grid;
  }

  .cp-side {
    grid-template-columns: 1fr 1fr;
  }

  .foot-top {
    grid-template-columns: 1fr;
  }

  .tbl-wrap {
    overflow-x: visible;
  }

  table.cmp {
    min-width: 0;
    table-layout: fixed;
  }

  table.cmp th,
  table.cmp td {
    padding: 12px 9px;
    font-size: 0.76rem;
    line-height: 1.55;
    word-break: auto-phrase;
    overflow-wrap: anywhere;
  }

  table.cmp tbody th {
    width: 24%;
  }

  .faq-a {
    padding-left: 0;
  }
}

/* ============================================================
   VoiceLine ブランドロックアップ（ヒーロー）— 明背景版
   全サイト共通様式：マーク＋2トーンVoiceLine＋製品サブラベル
   ============================================================ */
.vl-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  text-decoration: none;
}
.vl-hero-brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  filter: drop-shadow(0 6px 14px oklch(0.4 0.03 235 / 0.18));
}
.vl-hero-brand-name {
  font-weight: 900;
  font-size: 1.95rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--vl-ink);
}
.vl-hero-brand-name span { color: var(--vl-accent); }
.vl-hero-brand-sub {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--vl-accent-wash);
  color: var(--vl-accent-d);
  border: 1px solid var(--vl-accent-line);
}
@media (max-width: 520px) {
  .vl-hero-brand-name { font-size: 1.7rem; }
  .vl-hero-brand-sub { font-size: 0.76rem; }
}

/* 大型ロックアップ（TOPと同サイズ感）— VoiceLine＋製品名を主役に */
.vl-hero-brand--xl { align-items: center; gap: clamp(12px, 1.6vw, 20px); margin-bottom: 18px; }
.vl-hero-brand--xl .vl-hero-brand-mark { width: clamp(46px, 5.2vw, 64px); height: clamp(46px, 5.2vw, 64px); }
.vl-hero-brand-stack { display: flex; flex-direction: column; gap: 4px; }
.vl-hero-brand--xl .vl-hero-brand-name {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
}
.vl-hero-brand-product {
  font-weight: 800;
  font-size: clamp(1.4rem, 2.9vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--vl-accent);
}
/* 価値見出しはタグラインとして一段下のサイズへ */
.hero-tagline-sub {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem) !important;
  line-height: 1.3 !important;
  margin-top: 10px;
}
@media (max-width: 520px) {
  .vl-hero-brand--xl .vl-hero-brand-name { font-size: 2.4rem; }
  .vl-hero-brand-product { font-size: 1.3rem; }
}

/* 「VoiceLine PBX」を1行・同サイズ、版名を改行。PBX はアンバー/ゴールド（明背景用に濃いめ） */
.vl-hero-brand-name { white-space: nowrap; }
.vl-hero-brand-name .vl-pbx-pop { color: oklch(0.64 0.16 72); }
