.pc-tax { font-size: 0.65rem; line-height: 1.2; white-space: nowrap; opacity: .85; }
@media (min-width: 1025px) {
  .pc-price:has(.pc-tax) .pc-amount { font-size: clamp(1.75rem, calc(9.7vw - 73px), 2.7rem); }
}
/* 印4: 自動で流れる見本の 2 周目（読み上げでは飛ばす） */
.mail-phone-card.is-loop-copy { pointer-events: auto; }
/* 印11: 締めの帯は「フリープラン、」の後で改行。スマホは「営業へ。」の後でも改行 */
.br-sp { display: none; }
@media (max-width: 767px) { .br-sp { display: inline; } }

/* 11/18 03:06 東さん（スマホ） */
@media (max-width: 767px) {
  /* 印1: 足元は中央揃え */
  .site-footer .footer-inner { justify-items: center; text-align: center; }
  .site-footer .footer-logo { justify-content: center; }
  .site-footer .footer-links { align-items: center; justify-content: center; }
  .site-footer .footer-copyright { text-align: center; }
  /* 印2: 締めの帯のボタンは他のボタンと同じ横幅・文字は中央 */
  .closing-btns { flex-direction: column; align-items: stretch; }
  .closing-btns .btn { width: 100%; justify-content: center; text-align: center; }
  /* 印3: 価格とその下の文字は中央・（税抜）は円の横 */
  .price-card .pc-price { justify-content: center; }
  .price-card .pc-tax { font-size: 12px; margin-left: 2px; }
  .price-card .pc-note-alert, .price-card .pc-note-featured, .price-card .pc-note-muted { text-align: center; }
  .price-card .pc-features { align-items: center; text-align: center; }
  /* 印4: クリックした会社の見出しの行は中央にまとめる */
  .cl-head { flex-wrap: wrap; justify-content: center; gap: 8px 8px; text-align: center; }
  .cl-head strong { order: 1; white-space: nowrap; }
  .cl-head .cl-count { order: 2; }
  .cl-head::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
  .cl-head .cl-chip, .cl-head .cl-chip + .cl-chip { order: 4; margin-left: 0; }
}

#application-docs {
  width: min(860px, calc(100% - 24px));
  height: calc(100% - 24px);
  max-height: 840px;
  padding: 0;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line-navy);
  border-radius: 12px;
}
#application-docs[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#application-docs::backdrop { background: rgba(13, 27, 53, 0.72); }
.application-docs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line-navy);
}
.application-docs-header h2 { margin: 0; font-size: 1rem; }
.application-docs-header button {
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
#application-docs iframe { width: 100%; height: 100%; border: 0; }

.header-menu-toggle { display: none; }
@media (min-width: 768px) { .header-actions { order: 1; } }
@media (max-width: 767px) {
  .site-header:not(.has-menu-toggle) .header-inner { height: auto; flex-wrap: wrap; padding-block: 8px; }
  .site-header:not(.has-menu-toggle) .header-nav { position: static; order: 1; }
  .header-inner { gap: 6px; }
  .header-actions { display: flex; align-items: center; gap: 4px; }
  .header-cta { gap: 4px; padding-inline: 6px; font-size: 0.78rem; white-space: nowrap; }
  .has-menu-toggle .header-menu-toggle {
    display: grid;
    flex: 0 0 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line-white);
    border-radius: 6px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }
  .header-menu-toggle span { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px, 0 6px; }
  .header-menu-toggle[aria-expanded="true"] { border-color: var(--orange); }
  .site-header .header-nav {
    position: absolute;
    inset: 100% 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0 12px;
    padding: 8px 18px;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--orange);
  }
  .site-header:not(.has-menu-toggle) .header-nav, .site-header .header-nav.is-open { display: grid; }
  .header-nav .nav-link { display: flex; align-items: center; min-height: 44px; }
  :is(#feature-score, #safety, #pricing, #faq) { scroll-margin-top: 62px; }
}
@media (max-width: 370px) {
  .pc-price:has(.pc-tax) .pc-amount { font-size: 2.5rem; }
}
@media (max-width: 385px) {
  .header-inner .brand-logo { gap: 6px; font-size: 1.1rem; }
  .header-inner .brand-mark { width: 26px; height: 26px; }
}
@media (max-width: 350px) {
  .header-inner { padding-inline: 10px; }
  .header-inner .brand-logo { font-size: 0.95rem; }
  .header-cta { font-size: 0.7rem; }
}

/* 11/22 スマホの表示速度: 画面の外の区切りは見える所に来てから組み立てる（PC は今のまま） */
@media (max-width: 767px) {
  main > section.section:not(.problem-section) { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
}
@media (max-width: 767px) {
  html.cv-done main > section.section { content-visibility: visible; }
}

/* 11/22 東さん「数字のアニメーションをやめたのか」: 会社の一覧を今の管理画面の列・札の色の動く表に戻す（animlist.js と組む） */
.cl-method { display: block; margin-top: 1px; font-size: 0.7rem; font-weight: 500; color: #6B7890; }
.cl-meta small { display: block; margin-top: 1px; font-size: 0.7rem; font-weight: 500; color: #6B7890; }
.cl-n { font-variant-numeric: tabular-nums; }
.cl-touches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; white-space: normal; }
.cl-touch { display: flex; flex-direction: column; min-width: 0; padding: 2px 5px; border: 1px solid #E5EAF1; border-radius: 6px; background: #fff; color: #6B7890; font-size: 0.68rem; line-height: 1.45; overflow-wrap: anywhere; }
.cl-touch b { font-weight: 600; }
.cl-touch.sent { background: var(--navy); color: #fff; border-color: var(--navy); }
.cl-touch.scheduled { color: var(--navy); border-color: var(--navy); }
.cl-touch.stopped { background: #FFF3EC; color: #C2410C; border-color: #FFC6A2; }
.cl-reactions { display: flex; flex-wrap: wrap; gap: 4px; white-space: normal; }
.cl-badge { display: inline-block; padding: 2px 7px; border-radius: 6px; background: #EDF1F8; color: var(--navy); font-size: 0.7rem; line-height: 1.5; }
.cl-badge time { display: block; color: #6B7890; }
.cl-badge.bot { background: #F6F8FB; color: #6B7890; border: 1px solid #E5EAF1; }
.cl-badge.outcome { background: #FFF3EC; color: #C2410C; }
.click-list .cl-table { table-layout: fixed; }
.click-list .cl-table th:nth-child(1) { width: 27%; }
.click-list .cl-table th:nth-child(2) { width: 17%; }
.click-list .cl-table th:nth-child(3) { width: 34%; }
.click-list .cl-table th:nth-child(4) { width: 22%; }
/* 行は区切りが画面に入ってから 1 行ずつ左から（前の clRow・0.12 秒ずつ） */
.click-list .cl-table tbody tr { animation: none; }
.click-list.cl-armed .cl-table tbody tr { opacity: 0; }
.click-list.cl-run .cl-table tbody tr { animation: clRow 0.5s ease both; opacity: 1; }
.click-list.cl-run .cl-table tbody tr:nth-child(2) { animation-delay: 0.12s; }
.click-list.cl-run .cl-table tbody tr:nth-child(3) { animation-delay: 0.24s; }
.click-list.cl-run .cl-table tbody tr:nth-child(4) { animation-delay: 0.36s; }
.click-list.cl-run .cl-table tbody tr:nth-child(5) { animation-delay: 0.48s; }
.click-list.cl-run .cl-table tbody tr:nth-child(6) { animation-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
  .click-list.cl-armed .cl-table tbody tr { opacity: 1; }
  .click-list.cl-run .cl-table tbody tr { animation: none; }
}
/* スマホは横に流さず、1 社を 1 枚に（会社名→1〜4通目の状態→反応）。言葉の途中で折らない */
@media (max-width: 767px) {
  .click-list .cl-table, .click-list .cl-table tbody { display: block; width: 100%; }
  .click-list .cl-table thead { display: none; }
  .click-list .cl-table tbody tr { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 2px 12px; border-bottom: 1px solid #E5EAF1; }
  .click-list .cl-table td { display: block; width: auto; padding: 0; border: 0; white-space: normal; }
  .click-list .cl-table td:nth-child(2) { display: none; }
  .cl-co { word-break: keep-all; }
  .cl-method { display: none; }
  .cl-touches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cl-touch { overflow-wrap: normal; word-break: keep-all; padding: 2px 4px; }
  .cl-badge { white-space: nowrap; }
  .cl-badge time { display: inline; margin-left: 4px; }
}
