/* hitokoma — 法人向け予約管理サービスの LP（制作見本）
   設計: FLOCSS（l- レイアウト / c- 部品 / p- ページ固有 / m- 製品画面モック / u- ユーティリティ / is- 状態）+ BEM。モバイルファースト。
   色: 主色はひとつ（hitokoma ブルー）。状態色は成功・注意・エラーだけ。モック内の色分けはモックの中でしか使わない */

/* ==========================================================================
   Foundation
   ========================================================================== */
:root {
  --c-primary: #2257e6;
  --c-primary-hover: #1a46c4;
  --c-primary-50: #f1f5ff;
  --c-primary-100: #e3ebff;
  --c-primary-200: #c7d6fe;
  --c-primary-300: #93adf8;
  --c-ink: #0f1b2d;
  --c-text: #2a3547;
  --c-muted: #5b6678;
  --c-subtle: #8b95a7;
  --c-line: #e2e7ef;
  --c-line-strong: #cbd3df;
  --c-bg: #fff;
  --c-bg-soft: #f5f7fb;
  --c-navy: #0f1b2d;
  --c-success: #0f7a55;
  --c-success-50: #e6f5ee;
  --c-warning: #9a5600;
  --c-warning-50: #fff3df;
  --c-danger: #c8322c;
  --c-danger-50: #fdeeed;

  /* 画面モックの色分け（モック内だけ） */
  --c-cat-blue: #2257e6;
  --c-cat-blue-bg: #e7eefe;
  --c-cat-teal: #0d8570;
  --c-cat-teal-bg: #e0f3ee;
  --c-cat-amber: #b77400;
  --c-cat-amber-bg: #fcf0d9;
  --c-cat-violet: #6b4fd8;
  --c-cat-violet-bg: #eeeafc;
  --c-cat-rose: #c8446a;
  --c-cat-rose-bg: #fbe8ee;

  --ff-base: "Plus Jakarta Sans", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --ff-en: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 60px;
  --section-y: 72px;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 1px 2px rgb(15 27 45 / .04), 0 8px 24px -12px rgb(15 27 45 / .12);
  --shadow-mock: 0 2px 6px rgb(15 27 45 / .05), 0 24px 48px -20px rgb(15 27 45 / .24), 0 48px 100px -40px rgb(34 87 230 / .3);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232257e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-check-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a55' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3adbd' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8322c' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E");
  --i-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23c7d6fe'%3E%3Crect x='1' y='1' width='6' height='6' rx='1.6'/%3E%3Crect x='9' y='1' width='6' height='6' rx='1.6'/%3E%3Crect x='17' y='1' width='6' height='6' rx='1.6'/%3E%3Crect x='1' y='9' width='6' height='6' rx='1.6'/%3E%3Crect x='9' y='9' width='6' height='6' rx='1.6'/%3E%3Crect x='1' y='17' width='6' height='6' rx='1.6'/%3E%3Crect x='9' y='17' width='6' height='6' rx='1.6'/%3E%3Crect x='17' y='17' width='6' height='6' rx='1.6'/%3E%3C/g%3E%3Crect x='17' y='9' width='6' height='6' rx='1.6' fill='%232257e6'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --header-h: 68px;
    --section-y: 96px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --section-y: 120px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-base);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  text-autospace: normal;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

table {
  border-collapse: collapse;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

/* 短い導入文・箇条書きは文節で折る（対応ブラウザのみ。他は通常の折り返し） */
.p-hero__lead,
.c-section-head__lead,
.p-cta__text,
.p-trial__lead,
.p-feature__text,
.c-check-list li {
  word-break: auto-phrase;
}

.p-hero__lead,
.c-section-head__lead,
.p-cta__text,
.p-trial__lead {
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--c-primary-300);
  outline-offset: 2px;
}

::selection {
  background: var(--c-primary-200);
  color: var(--c-ink);
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-section {
  padding-block: var(--section-y);
}

.l-section--soft {
  background: var(--c-bg-soft);
}

/* ---------- header ---------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.l-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: 0 6px 20px -16px rgb(15 27 45 / .4);
}

.l-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-header__logo {
  margin-right: auto;
}

.l-header__nav,
.l-header__login,
.l-header__actions .l-header__doc {
  display: none;
}

.l-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.l-header__toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  background: none;
  color: var(--c-ink);
}

.l-header__toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.l-header__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}

.l-header__toggle-bars span:nth-child(1) { top: 0; }
.l-header__toggle-bars span:nth-child(2) { top: 6px; }
.l-header__toggle-bars span:nth-child(3) { top: 12px; }

.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(2) { opacity: 0; }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

html:not(.js) .l-header__toggle {
  display: none;
}

@media (min-width: 1024px) {
  .l-header__actions {
    gap: 8px;
  }

  .l-header__logo {
    margin-right: 28px;
  }

  .l-header__nav {
    display: block;
    margin-right: auto;
  }

  .l-header__nav-list {
    display: flex;
    gap: 2px;
  }

  .l-header__nav-link {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-s);
    color: var(--c-text);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s, background-color .2s;
  }

  .l-header__nav-link:hover {
    background: var(--c-primary-50);
    color: var(--c-primary);
  }

  .l-header__nav-link.is-current {
    color: var(--c-primary);
    box-shadow: inset 0 -2px 0 var(--c-primary);
    border-radius: 0;
  }

  .l-header__login {
    display: inline-block;
    padding: 8px 10px;
    color: var(--c-text);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
  }

  .l-header__login:hover {
    color: var(--c-primary);
  }

  .l-header__toggle {
    display: none;
  }
}

@media (min-width: 1200px) {
  .l-header__actions .l-header__doc {
    display: inline-flex;
  }
}

/* ---------- スマートフォンのメニュー ----------
   ヘッダーの backdrop-filter が fixed の基準を奪うので、ヘッダー直下に absolute で置き、
   高さは「画面の高さ − ヘッダー下端の位置（--menu-top、開くときに JS が入れる）」にする */
.l-sp-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: calc(100dvh - var(--menu-top, var(--header-h)));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--gutter) 40px;
  border-top: 1px solid var(--c-line);
  background: #fff;
  animation: menu-in .3s var(--ease);
}

.l-sp-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.l-sp-menu__list a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--c-subtle);
  border-right: 2px solid var(--c-subtle);
  transform: rotate(45deg);
}

.l-sp-menu__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.l-sp-menu__login {
  justify-self: center;
  padding: 10px;
  color: var(--c-muted);
  font-size: 14px;
}

html.is-menu-open {
  overflow: hidden;
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1024px) {
  .l-sp-menu {
    display: none;
  }
}

/* ---------- footer ---------- */
.l-footer {
  padding: 56px 0 112px;
  background: var(--c-navy);
  color: rgb(255 255 255 / .75);
  font-size: 14px;
}

.l-footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgb(255 255 255 / .12);
}

.l-footer__tagline {
  margin-top: 16px;
  color: #fff;
  font-weight: 700;
}

.l-footer__company {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
}

.l-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

.l-footer__heading {
  color: rgb(255 255 255 / .6);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
}

.l-footer__col ul {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.l-footer__col a {
  display: inline-block;
  padding: 6px 0;
  color: rgb(255 255 255 / .88);
  text-decoration: none;
}

.l-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.l-footer__disclaimer {
  margin-top: 28px;
  color: rgb(255 255 255 / .72);
  font-size: 12.5px;
}

.l-footer__copy {
  margin-top: 8px;
  color: rgb(255 255 255 / .6);
  font-size: 12px;
}

@media (min-width: 768px) {
  .l-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .l-footer {
    padding-bottom: 40px;
  }

  .l-footer__top {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
  }
}

/* ==========================================================================
   Component
   ========================================================================== */
.c-skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1100;
  padding: 10px 16px;
  border-radius: var(--radius-m);
  background: var(--c-ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-300%);
  transition: transform .2s;
}

.c-skip-link:focus {
  transform: none;
}

.c-icon {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* ---------- logo ---------- */
.c-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-ink);
  text-decoration: none;
}

.c-logo__mark {
  --mark-on: var(--c-primary);
  --mark-off: #c9d3e5;
  width: 26px;
  height: 26px;
}

.c-logo__text {
  font-family: var(--ff-en);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
}

.c-logo--invert {
  color: #fff;
}

.c-logo--invert .c-logo__mark {
  --mark-on: #7d9dff;
  --mark-off: rgb(255 255 255 / .24);
}

/* ---------- button ---------- */
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-m);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .15s;
}

.c-button .c-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: transform .2s var(--ease);
}

.c-button:hover .c-icon {
  transform: translateX(2px);
}

.c-button:active {
  transform: translateY(1px);
}

.c-button--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgb(15 27 45 / .12), 0 10px 22px -12px rgb(34 87 230 / .7);
}

.c-button--primary:hover {
  background: var(--c-primary-hover);
}

.c-button--outline {
  border-color: var(--c-primary-200);
  background: #fff;
  color: var(--c-primary);
}

.c-button--outline:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-50);
}

.c-button--white {
  background: #fff;
  color: var(--c-primary);
  box-shadow: 0 10px 24px -14px rgb(15 27 45 / .6);
}

.c-button--white:hover {
  background: var(--c-primary-50);
}

.c-button--ghost-white {
  border-color: rgb(255 255 255 / .55);
  color: #fff;
}

.c-button--ghost-white:hover {
  border-color: #fff;
  background: rgb(255 255 255 / .1);
}

.c-button--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.c-button--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 16px;
}

.c-button--block {
  display: flex;
  width: 100%;
  white-space: normal;
}

/* ---------- 見出しまわり ---------- */
.c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-primary);
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.c-eyebrow::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--i-mark) center / contain no-repeat;
}

.c-section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.c-section-head__title {
  margin-top: 12px;
  font-size: clamp(24px, 5.8vw, 40px);
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.c-section-head__lead {
  max-width: 36em;
  color: var(--c-muted);
  font-size: 15px;
}

@media (min-width: 1024px) {
  .c-section-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    column-gap: 64px;
    margin-bottom: 56px;
  }

  .c-section-head__lead {
    padding-bottom: 6px;
    font-size: 16px;
  }

  .c-section-head--stack {
    grid-template-columns: minmax(0, 1fr);
  }
}

.c-note {
  margin-top: 24px;
  color: var(--c-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.c-check-list {
  display: grid;
  gap: 10px;
}

.c-check-list li {
  position: relative;
  padding-left: 32px;
}

.c-check-list li::before {
  content: "";
  position: absolute;
  top: .25em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-primary-100) var(--i-check) center / 13px no-repeat;
}

/* ---------- 架空の導入企業ロゴ（CSS と文字で組む） ---------- */
.c-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #7b8699;
  line-height: 1;
  white-space: nowrap;
}

.c-brand b {
  font-family: var(--ff-en);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.c-brand small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.c-brand__mark {
  flex: none;
  width: 18px;
  height: 18px;
}

.c-brand--nolva .c-brand__mark {
  border: 4px solid currentColor;
  border-radius: 50%;
}

.c-brand--nolva small {
  font-weight: 500;
  font-size: 13px;
}

.c-brand--pelio .c-brand__mark {
  border-radius: 0 70% 0 70%;
  background: currentColor;
}

.c-brand--pelio b {
  font-weight: 700;
  letter-spacing: .01em;
}

.c-brand--quon .c-brand__mark {
  width: 16px;
  background: linear-gradient(currentColor, currentColor) 0 0 / 5px 100% no-repeat, linear-gradient(currentColor, currentColor) 9px 0 / 5px 100% no-repeat;
  transform: skewX(-16deg);
}

.c-brand--quon b {
  font-style: italic;
  letter-spacing: .04em;
}

.c-brand--quon small {
  letter-spacing: .22em;
}

.c-brand--arvo .c-brand__mark {
  width: 17px;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 3px 55% no-repeat,
    linear-gradient(currentColor, currentColor) 7px 100% / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 14px 100% / 3px 70% no-repeat;
}

.c-brand--arvo small,
.c-brand--mirel small,
.c-brand--kestra small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
}

.c-brand--mirel .c-brand__mark {
  border: 2.5px solid currentColor;
  border-radius: 6px;
  background:
    linear-gradient(currentColor, currentColor) center / 3px 9px no-repeat,
    linear-gradient(currentColor, currentColor) center / 9px 3px no-repeat;
}

.c-brand--mirel b {
  font-weight: 500;
  letter-spacing: .06em;
}

.c-brand--tessa .c-brand__mark {
  width: 24px;
  height: 14px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0 3px, transparent 3.5px);
}

.c-brand--tessa b {
  font-weight: 700;
}

.c-brand--elnoa .c-brand__mark {
  border: 2.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.c-brand--elnoa b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2em;
}

.c-brand--elnoa small {
  letter-spacing: .2em;
}

.c-brand--kestra .c-brand__mark {
  width: 17px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 0 / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 11px 0 / 3px 100% no-repeat;
}

/* ---------- タブ（機能・フォームで共用。見た目は p- 側） ---------- */
.c-tabs__tab {
  border: 0;
  background: none;
}

.c-tabs__panel {
  animation: panel-in .45s var(--ease);
}

.c-tabs__panel:focus-visible {
  outline-offset: 4px;
}

html:not(.js) .c-tabs__list {
  display: none;
}

html:not(.js) .c-tabs__panel + .c-tabs__panel {
  margin-top: 24px;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- アコーディオン ---------- */
.c-accordion {
  border-bottom: 1px solid var(--c-line);
}

.c-accordion__heading {
  font-size: inherit;
  word-break: normal;
}

.c-accordion__button {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 20px 4px;
  border: 0;
  background: none;
  color: var(--c-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

.c-accordion__button::before {
  content: "Q";
  flex: none;
  width: 18px;
  color: var(--c-primary);
  font-family: var(--ff-en);
  font-weight: 800;
}

.c-accordion__button .c-icon {
  margin-top: 2px;
  margin-left: auto;
  color: var(--c-subtle);
  transition: transform .3s var(--ease);
}

.c-accordion__button:hover {
  color: var(--c-primary);
}

.c-accordion__button[aria-expanded="true"] .c-icon {
  transform: rotate(180deg);
}

.c-accordion__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s var(--ease);
}

.c-accordion__inner {
  min-height: 0;
  overflow: hidden;
}

.c-accordion__inner p {
  padding: 0 36px 22px 34px;
  color: var(--c-text);
  font-size: 15px;
}

.js .c-accordion__panel:not(.is-open) {
  grid-template-rows: 0fr;
}

.js .c-accordion__panel:not(.is-open) .c-accordion__inner {
  visibility: hidden;
  transition: visibility 0s .35s;
}

/* ---------- 切り替えスイッチ（料金の月払い / 年払い） ---------- */
.c-segmented {
  display: flex;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
}

.c-segmented__option {
  position: relative;
}

.c-segmented__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.c-segmented__option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 700;
  transition: background-color .25s, color .25s;
}

.c-segmented__option em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-success-50);
  color: var(--c-success);
  font-size: 11.5px;
  font-style: normal;
}

.c-segmented__option input:checked + span {
  background: var(--c-ink);
  color: #fff;
}

.c-segmented__option input:checked + span em {
  background: rgb(255 255 255 / .16);
  color: #a8f0d2;
}

.c-segmented__option input:focus-visible + span {
  outline: 3px solid var(--c-primary-300);
  outline-offset: 2px;
}

/* ---------- フォーム ---------- */
.c-form__progress {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.c-form__progress-text {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 700;
}

.c-form__progress-text.is-complete {
  color: var(--c-success);
}

.c-form__progress-bar {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--c-line);
}

.c-form__progress-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--c-primary);
  transition: width .4s var(--ease), background-color .3s;
}

.c-form__progress-text.is-complete + .c-form__progress-bar i {
  background: var(--c-success);
}

html:not(.js) .c-form__progress {
  display: none;
}

.c-form__summary {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid #f1c2bf;
  border-radius: var(--radius-m);
  background: var(--c-danger-50);
  color: var(--c-danger);
  font-size: 14px;
}

.c-form__summary p {
  font-weight: 700;
}

.c-form__summary ul {
  margin-top: 6px;
  padding-left: 1.2em;
  list-style: disc;
}

.c-form__summary a {
  color: inherit;
}

.c-form__grid {
  display: grid;
  gap: 20px;
}

.c-field {
  position: relative;
  min-width: 0;
}

.c-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
}

.c-field__req,
.c-field__opt {
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.c-field__req {
  background: var(--c-danger);
  color: #fff;
}

.c-field__opt {
  background: var(--c-line);
  color: var(--c-muted);
}

.c-field__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-m);
  background: #fff;
  color: var(--c-ink);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.c-field__input::placeholder {
  color: #6b7688;
}

.c-field__input:hover {
  border-color: #aab4c4;
}

.c-field__input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-100);
}

.c-field.is-valid input.c-field__input {
  padding-right: 44px;
  background: #fff var(--i-check-success) right 14px center / 18px no-repeat;
}

.c-field.is-invalid .c-field__input {
  border-color: var(--c-danger);
  background-color: #fffafa;
}

.c-field.is-invalid .c-field__input:focus {
  box-shadow: 0 0 0 4px var(--c-danger-50);
}

.c-field__select {
  position: relative;
  display: block;
}

.c-field__select select {
  padding-right: 44px;
  appearance: none;
  cursor: pointer;
}

.c-field__select .c-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--c-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.c-field__error {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  color: var(--c-danger);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.c-field__error::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: var(--i-alert) center / contain no-repeat;
}

.c-field__error:empty {
  display: none;
}

.c-field__hint {
  margin-top: 8px;
  color: var(--c-warning);
  font-size: 12.5px;
  line-height: 1.6;
}

.c-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c-chips__item {
  position: relative;
}

.c-chips__item input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.c-chips__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-m);
  background: #fff;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}

.c-chips__item input:hover + span {
  border-color: #aab4c4;
}

.c-chips__item input:checked + span {
  border-color: var(--c-primary);
  background: var(--c-primary-50);
  color: var(--c-primary);
  box-shadow: inset 0 0 0 1px var(--c-primary);
}

.c-chips__item input:focus-visible + span {
  outline: 3px solid var(--c-primary-300);
  outline-offset: 2px;
}

.c-field.is-invalid .c-chips__item span {
  border-color: #e6a7a3;
}

.c-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  cursor: pointer;
}

.c-check input {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.c-check__box {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 6px;
  background: #fff;
  color: transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}

.c-check__box .c-icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.c-check input:checked + .c-check__box {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}

.c-check input:focus-visible + .c-check__box {
  outline: 3px solid var(--c-primary-300);
  outline-offset: 2px;
}

.c-check a {
  color: var(--c-primary);
  text-underline-offset: 3px;
}

.c-field.is-invalid .c-check__box {
  border-color: var(--c-danger);
}

.c-form__submit {
  margin-top: 28px;
}

.c-form__note {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 12.5px;
  text-align: center;
}

.c-form__doc {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--radius-m);
  background: var(--c-bg-soft);
}

.c-form__doc p {
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.7;
}

.c-form__doc-thumb {
  display: grid;
  flex: none;
  align-content: space-between;
  width: 84px;
  height: 108px;
  padding: 10px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--c-primary), #173ca3);
  color: #fff;
  box-shadow: 4px 6px 0 -1px #fff, 5px 7px 0 -1px var(--c-line-strong), 0 12px 20px -12px rgb(15 27 45 / .5);
  line-height: 1.2;
}

.c-form__doc-thumb .c-logo__mark {
  --mark-on: #fff;
  --mark-off: rgb(255 255 255 / .3);
  width: 18px;
  height: 18px;
}

.c-form__doc-thumb b {
  font-family: var(--ff-en);
  font-size: 13px;
}

.c-form__doc-thumb small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: .85;
}

@media (min-width: 600px) {
  .c-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
  }

  .c-field--full {
    grid-column: 1 / -1;
  }

  .c-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.c-form-done {
  padding: 8px 0;
  text-align: center;
  animation: panel-in .45s var(--ease);
}

.c-form-done__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-success-50);
  color: var(--c-success);
}

.c-form-done__icon .c-icon {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
}

.c-form-done__title {
  margin-top: 16px;
  font-size: 22px;
}

.c-form-done__title:focus {
  outline: none;
}

.c-form-done__text {
  margin-top: 12px;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.c-form-done__steps {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  counter-reset: step;
  text-align: left;
}

.c-form-done__steps li {
  position: relative;
  padding: 14px 16px 14px 56px;
  border-radius: var(--radius-m);
  background: var(--c-bg-soft);
  color: var(--c-muted);
  font-size: 14px;
  counter-increment: step;
}

.c-form-done__steps li::before {
  content: counter(step);
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 800;
}

.c-form-done__steps b {
  display: block;
  color: var(--c-ink);
  font-size: 15px;
}

.c-form-done .c-button {
  margin-top: 20px;
}

.c-form-done__demo {
  margin-top: 20px;
  color: var(--c-muted);
  font-size: 12.5px;
}

/* ---------- トースト ---------- */
.c-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  z-index: 200;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: var(--radius-m);
  background: var(--c-ink);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 16px 32px -12px rgb(15 27 45 / .5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s, transform .25s var(--ease);
}

.c-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 1024px) {
  .c-toast {
    bottom: 32px;
  }
}

/* ---------- 製品画面のモック（共通の枠） ---------- */
.c-browser {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 1em;
  background: #fff;
  box-shadow: var(--shadow-mock);
}

.c-browser__bar {
  display: flex;
  align-items: center;
  gap: 1em;
  height: 2.6em;
  padding: 0 1em;
  border-bottom: 1px solid var(--c-line);
  background: #f3f5f9;
}

.c-browser__dots {
  display: flex;
  gap: .45em;
}

.c-browser__dots span {
  width: .75em;
  height: .75em;
  border-radius: 50%;
  background: #d3d9e3;
}

.c-browser__url {
  flex: 1;
  max-width: 24em;
  margin-inline: auto;
  padding: .25em 1em;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-muted);
  font-size: .85em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c-phone {
  padding: .45em;
  border-radius: 2.4em;
  background: var(--c-navy);
  box-shadow: var(--shadow-mock);
}

.c-phone__screen {
  overflow: hidden;
  border-radius: 2em;
  background: #fff;
}

.c-phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7em 1.3em .3em;
  color: var(--c-ink);
  font-size: .7em;
  font-weight: 700;
}

.c-phone__island {
  width: 4.6em;
  height: 1.3em;
  border-radius: 999px;
  background: var(--c-navy);
}

.c-phone__battery {
  width: 1.9em;
  height: .9em;
  border: .15em solid var(--c-ink);
  border-radius: .3em;
}

.c-window {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 1.1em;
  background: #fff;
  box-shadow: var(--shadow-mock);
  font-size: clamp(9px, 2.05cqw, 13px);
  line-height: 1.4;
  letter-spacing: 0;
}

.c-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: .85em 1.2em;
  border-bottom: 1px solid var(--c-line);
  background: #fafbfd;
}

.c-window__title {
  color: var(--c-ink);
  font-size: .95em;
  font-weight: 700;
}

.c-window__chip {
  padding: .25em .75em;
  border-radius: 999px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  font-size: .78em;
  font-weight: 700;
  white-space: nowrap;
}

.c-window__chip.is-ok {
  background: var(--c-success-50);
  color: var(--c-success);
}

.c-window__body {
  padding: 1.3em;
}

.c-window .c-icon,
.p-hero__stage .c-icon {
  width: 1.3em;
  height: 1.3em;
}

/* ==========================================================================
   Project
   ========================================================================== */

/* ---------- FV ---------- */
.p-hero {
  position: relative;
  overflow: clip;
  padding-block: 40px 64px;
  background: linear-gradient(180deg, #fff 55%, var(--c-primary-50) 100%);
}

/* 背景は時間割のような薄いグリッド */
.p-hero__bg {
  --cw: 88px;
  --ch: 44px;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--c-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c-line) 1px, transparent 1px);
  background-position: -1px -1px;
  background-size: var(--cw) var(--ch);
  -webkit-mask-image: radial-gradient(110% 80% at 80% 20%, #000 0%, rgb(0 0 0 / .55) 40%, transparent 75%);
  mask-image: radial-gradient(110% 80% at 80% 20%, #000 0%, rgb(0 0 0 / .55) 40%, transparent 75%);
  pointer-events: none;
}

.p-hero__inner {
  position: relative;
  display: grid;
  gap: 48px;
}

.p-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--c-primary-200);
  border-radius: 999px;
  background: #fff;
  color: var(--c-primary);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}

.p-hero__eyebrow-mark {
  --mark-on: var(--c-primary);
  --mark-off: var(--c-primary-200);
  flex: none;
  width: 16px;
  height: 16px;
}

.p-hero__title {
  margin-top: 20px;
  font-size: clamp(28px, 8.6vw, 48px);
  line-height: 1.32;
  letter-spacing: .01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-hero__lead {
  max-width: 30em;
  margin-top: 20px;
  font-size: 16px;
}

.p-hero__actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.p-hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 20px;
  color: var(--c-muted);
  font-size: 13.5px;
}

.p-hero__assurances li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.p-hero__assurances .c-icon {
  width: 16px;
  height: 16px;
  color: var(--c-success);
  stroke-width: 2.6;
}

/* 画面モック: 中身は em で組み、容器の幅に比例して拡大縮小する */
.p-hero__visual {
  container-type: inline-size;
}

.p-hero__stage {
  position: relative;
  width: 150%;
  padding: 0 0 14% 11%;
  font-size: 2.78cqw;
  line-height: 1.35;
  letter-spacing: 0;
}

.p-hero__phone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 27%;
}

.p-hero__notice {
  position: absolute;
  top: -2.2em;
  left: 27%;
  display: flex;
  gap: .8em;
  width: 21em;
  padding: .9em 1em;
  border-radius: .9em;
  background: #fff;
  box-shadow: 0 1.2em 2.8em -.8em rgb(15 27 45 / .35), 0 0 0 1px rgb(15 27 45 / .06);
  color: var(--c-text);
  font-size: .9em;
  line-height: 1.5;
}

.p-hero__notice-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.6em;
  height: 2.6em;
  border-radius: .7em;
  background: var(--c-primary);
  color: #fff;
}

.p-hero__notice-text b {
  display: block;
  color: var(--c-ink);
  font-size: 1.05em;
}

.p-hero__notice-sub {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  margin-top: .15em;
  color: var(--c-success);
  font-weight: 700;
}

.p-hero__notice-sub .c-icon {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2.6;
}

.js .p-hero__notice {
  opacity: 0;
  transform: translateY(-.8em) scale(.97);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.js .p-hero__notice.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 600px) {
  .p-hero__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .p-hero__stage {
    width: 100%;
    padding: 0 0 12% 11%;
    font-size: 1.78cqw;
  }

  .p-hero__notice {
    top: -1.6em;
    right: -1.2em;
    left: auto;
  }
}

@media (min-width: 1024px) {
  .p-hero {
    padding-block: 64px 96px;
  }

  .p-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 40px;
  }

  .p-hero__title {
    font-size: clamp(38px, 3.7vw, 50px);
  }
}

/* 管理画面（FV） */
.c-app {
  display: grid;
  grid-template-columns: 5.2em minmax(0, 1fr);
}

.c-app__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3em;
  padding: 1.2em 0;
  background: var(--c-navy);
  color: rgb(255 255 255 / .6);
}

.c-app__mark {
  --mark-on: #7d9dff;
  --mark-off: rgb(255 255 255 / .22);
  width: 1.9em;
  height: 1.9em;
}

.c-app__nav {
  display: grid;
  gap: .45em;
  width: 100%;
  padding: 0 .55em;
}

.c-app__nav li {
  display: grid;
  justify-items: center;
  gap: .25em;
  padding: .55em 0;
  border-radius: .6em;
  font-size: .78em;
}

.c-app__nav li .c-icon {
  width: 1.9em;
  height: 1.9em;
}

.c-app__nav li.is-current {
  background: rgb(255 255 255 / .12);
  color: #fff;
}

.c-app__main {
  min-width: 0;
  padding: 1.1em 1.2em 1.2em;
}

.c-app__toolbar {
  display: flex;
  align-items: center;
  gap: .8em;
  font-size: .95em;
}

.c-app__select {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .35em .5em .35em .75em;
  border: 1px solid var(--c-line);
  border-radius: .5em;
  color: var(--c-ink);
  font-weight: 700;
}

.p-hero__stage .c-app__select .c-icon {
  width: 1.1em;
  height: 1.1em;
}

.c-app__day {
  color: var(--c-ink);
  font-weight: 700;
}

.c-app__seg {
  display: inline-flex;
  margin-left: auto;
  padding: .2em;
  border-radius: .5em;
  background: var(--c-bg-soft);
}

.c-app__seg span {
  padding: .2em .75em;
  border-radius: .4em;
  color: var(--c-muted);
  font-size: .9em;
}

.c-app__seg .is-on {
  background: #fff;
  color: var(--c-ink);
  font-weight: 700;
  box-shadow: 0 1px 2px rgb(15 27 45 / .14);
}

.c-app__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7em;
  margin: .9em 0;
}

.c-app__kpi {
  padding: .55em .8em;
  border: 1px solid var(--c-line);
  border-radius: .6em;
}

.c-app__kpi > span {
  display: block;
  color: var(--c-muted);
  font-size: .8em;
}

.c-app__kpi b {
  display: block;
  margin-top: .1em;
  color: var(--c-ink);
  font-family: var(--ff-en);
  font-size: 1.45em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.c-app__kpi small {
  margin-left: .2em;
  color: var(--c-muted);
  font-size: .55em;
  font-weight: 700;
}

.p-cal {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: .7em;
}

.p-cal__head,
.p-cal__grid {
  display: grid;
  grid-template-columns: 3.4em repeat(4, minmax(0, 1fr));
}

.p-cal__head {
  border-bottom: 1px solid var(--c-line);
  background: #fafbfd;
}

.p-cal__head span {
  display: flex;
  align-items: center;
  gap: .4em;
  padding: .55em .5em;
  border-left: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: .85em;
  font-weight: 700;
  white-space: nowrap;
}

.p-cal__head span:first-child {
  border-left: 0;
}

.p-cal__head i {
  display: inline-grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font-size: .8em;
  font-style: normal;
}

.p-cal__head i.is-room {
  border-radius: .35em;
  background: var(--c-subtle);
}

.p-cal__grid {
  grid-template-rows: repeat(8, 2.55em);
  background: repeating-linear-gradient(to bottom, transparent 0 calc(2.55em - 1px), var(--c-line) calc(2.55em - 1px) 2.55em);
}

.p-cal__col {
  grid-row: 1 / -1;
  border-left: 1px solid var(--c-line);
}

.p-cal__time {
  grid-column: 1;
  padding: .35em .55em 0 0;
  color: var(--c-subtle);
  font-size: .72em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.p-cal__free,
.p-cal__item {
  position: relative;
  z-index: 1;
  margin: .2em .25em;
  border-radius: .45em;
  font-size: .76em;
}

.p-cal__free {
  display: grid;
  place-items: center;
  border: 1px dashed var(--c-line-strong);
  color: var(--c-subtle);
}

.p-cal__item {
  overflow: hidden;
  padding: .3em .5em;
  border-left: .3em solid var(--cat);
  background: var(--cat-bg);
  color: var(--c-ink);
  line-height: 1.3;
  white-space: nowrap;
}

.p-cal__item b {
  display: block;
  font-weight: 700;
}

.p-cal__item i {
  position: absolute;
  right: .4em;
  bottom: .35em;
  padding: .05em .4em;
  border-radius: .3em;
  background: #fff;
  color: var(--c-muted);
  font-size: .85em;
  font-style: normal;
}

.p-cal__item--blue { --cat: var(--c-cat-blue); --cat-bg: var(--c-cat-blue-bg); }
.p-cal__item--teal { --cat: var(--c-cat-teal); --cat-bg: var(--c-cat-teal-bg); }
.p-cal__item--amber { --cat: var(--c-cat-amber); --cat-bg: var(--c-cat-amber-bg); }
.p-cal__item--violet { --cat: var(--c-cat-violet); --cat-bg: var(--c-cat-violet-bg); }
.p-cal__item--rose { --cat: var(--c-cat-rose); --cat-bg: var(--c-cat-rose-bg); }

.p-cal__item--break {
  --cat: var(--c-line-strong);
  --cat-bg: repeating-linear-gradient(135deg, #f1f3f7 0 .4em, #fff .4em .8em);
  display: grid;
  place-items: center;
  color: var(--c-subtle);
}

.p-cal__item.is-new {
  box-shadow: 0 0 0 .16em var(--c-primary), 0 .5em 1.2em -.4em rgb(34 87 230 / .5);
}

.p-cal__item.is-new i {
  background: var(--c-primary);
  color: #fff;
}

.js .p-cal__item[data-hero-fill] {
  opacity: 0;
  transform: scale(.9);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.js .p-cal__item[data-hero-fill].is-in {
  opacity: 1;
  transform: none;
}

/* お客さまの予約画面（FV） */
.p-book {
  padding: .5em .9em 1.1em;
}

.p-book__shop {
  color: var(--c-muted);
  font-size: .72em;
  font-weight: 700;
}

.p-book__step {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: .3em;
  color: var(--c-ink);
  font-size: .95em;
  font-weight: 700;
}

.p-book__step span {
  color: var(--c-subtle);
  font-size: .75em;
}

.p-book__days {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .3em;
  margin-top: .7em;
}

.p-book__days span {
  display: grid;
  justify-items: center;
  padding: .35em 0;
  border-radius: .5em;
  color: var(--c-muted);
  font-size: .68em;
}

.p-book__days b {
  color: var(--c-ink);
  font-size: 1.35em;
}

.p-book__days .is-on {
  background: var(--c-primary);
  color: rgb(255 255 255 / .85);
}

.p-book__days .is-on b {
  color: #fff;
}

.p-book__times {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35em;
  margin-top: .7em;
}

.p-book__times span {
  padding: .45em 0;
  border: 1px solid var(--c-primary-200);
  border-radius: .45em;
  color: var(--c-primary);
  font-size: .72em;
  font-weight: 700;
  text-align: center;
  transition: background-color .3s, color .3s, border-color .3s;
}

.p-book__times .is-full {
  border-color: var(--c-line);
  background: var(--c-bg-soft);
  color: var(--c-subtle);
  text-decoration: line-through;
}

.p-book__times [data-hero-pick],
.p-book__times .is-picked {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}

.js .p-book__times [data-hero-pick]:not(.is-picked) {
  border-color: var(--c-primary-200);
  background: #fff;
  color: var(--c-primary);
}

.p-book__menu {
  display: flex;
  justify-content: space-between;
  margin-top: .8em;
  padding-top: .6em;
  border-top: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: .7em;
}

.p-book__cta {
  display: block;
  margin-top: .7em;
  padding: .6em 0;
  border-radius: .55em;
  background: var(--c-primary);
  color: #fff;
  font-size: .72em;
  font-weight: 700;
  text-align: center;
}

/* ---------- 導入企業 ---------- */
.p-logos {
  padding-block: 40px 44px;
  border-bottom: 1px solid var(--c-line);
}

.p-logos__title {
  color: var(--c-text);
  font-size: 15px;
  letter-spacing: .04em;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-logos__title .u-tnum {
  color: var(--c-primary);
  font-family: var(--ff-en);
  font-size: 1.4em;
  font-weight: 800;
}

.p-logos__title small {
  display: block;
  margin-top: 2px;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 400;
}

.p-logos__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
  margin-top: 28px;
}

@media (min-width: 600px) {
  .p-logos__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* PC は 4 列 × 2 行。ロゴの幅がまちまちなので、列幅に余裕を持たせて中央に置く */
@media (min-width: 1024px) {
  .p-logos__list {
    max-width: 1000px;
    margin-inline: auto;
    gap: 30px 40px;
  }
}

/* ---------- 課題 ---------- */
.p-problems__list {
  display: grid;
  gap: 16px;
}

.p-problems__item {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
}

.p-problems__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-primary-50);
  color: var(--c-primary);
}

.p-problems__icon .c-icon {
  width: 26px;
  height: 26px;
}

.p-problems__title {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-problems__text {
  margin: 12px 0 24px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.p-problems__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 4px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--c-line-strong);
}

.p-problems__stat b {
  color: var(--c-ink);
  font-family: var(--ff-en);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.p-problems__unit {
  color: var(--c-ink);
  font-size: 16px;
  font-weight: 700;
}

.p-problems__caption {
  flex-basis: 100%;
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 12.5px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-problems__caption sup {
  font-size: .8em;
}

@media (min-width: 900px) {
  .p-problems__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .p-problems__item {
    padding: 32px 28px 28px;
  }
}

/* ---------- 導入前後の比較 ---------- */
.p-compare__table {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
}

.p-compare__head {
  display: none;
}

.p-compare__row {
  padding: 20px 18px;
}

.p-compare__row + .p-compare__row {
  border-top: 1px solid var(--c-line);
}

.p-compare__topic {
  font-size: 16px;
}

.p-compare__before,
.p-compare__after {
  position: relative;
  margin-top: 10px;
  padding: 12px 14px 12px 42px;
  border-radius: var(--radius-m);
  font-size: 14.5px;
  line-height: 1.7;
}

.p-compare__before {
  background: var(--c-bg-soft);
  color: var(--c-muted);
}

.p-compare__after {
  background: var(--c-primary-50);
  color: var(--c-ink);
  font-weight: 400;
}

.p-compare__label {
  display: block;
  color: var(--c-muted); /* --c-subtle だと薄い地の上で 2.8:1 になるため */
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
}

.p-compare__after .p-compare__label {
  color: var(--c-primary);
}

.p-compare__before .c-icon,
.p-compare__after .c-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 18px;
  height: 18px;
}

.p-compare__before .c-icon {
  color: #a3adbd;
  stroke-width: 2.4;
}

.p-compare__after .c-icon {
  color: var(--c-primary);
  stroke-width: 2.6;
}

@media (min-width: 900px) {
  .p-compare__head,
  .p-compare__row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr);
  }

  .p-compare__head {
    background: var(--c-bg-soft);
    color: var(--c-muted);
    font-size: 13px;
    font-weight: 700;
  }

  .p-compare__head span {
    padding: 14px 24px;
  }

  .p-compare__head-after {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-primary);
    color: #fff;
  }

  .p-compare__head-after .c-logo__mark {
    --mark-on: #fff;
    --mark-off: rgb(255 255 255 / .35);
    width: 16px;
    height: 16px;
  }

  .p-compare__row {
    padding: 0;
    border-top: 1px solid var(--c-line);
  }

  .p-compare__topic {
    display: flex;
    align-items: center;
    padding: 22px 24px;
  }

  .p-compare__before,
  .p-compare__after {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 22px 24px 22px 56px;
    border-radius: 0;
    font-size: 15px;
  }

  .p-compare__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .p-compare__before .c-icon,
  .p-compare__after .c-icon {
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
  }
}

/* ---------- 機能 ---------- */
.p-features__tablist {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--gutter) * -1) 20px;
  padding: 4px var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.p-features__tablist::-webkit-scrollbar {
  display: none;
}

.p-features__tablist .c-tabs__tab {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  scroll-snap-align: start;
  transition: background-color .2s, color .2s, border-color .2s;
}

.p-features__tablist .c-tabs__tab .c-icon {
  width: 18px;
  height: 18px;
}

.p-features__tablist .c-tabs__tab:hover {
  color: var(--c-primary);
}

.p-features__tablist .c-tabs__tab[aria-selected="true"] {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}

.p-feature {
  display: grid;
  gap: 32px;
  padding: 28px 20px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  background: #fff;
}

.p-feature__label {
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
}

.p-feature__title {
  margin-top: 8px;
  font-size: clamp(21px, 5.4vw, 28px);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-feature__text {
  margin-top: 14px;
  color: var(--c-muted);
}

.p-feature .c-check-list {
  margin-top: 22px;
  font-size: 15px;
}

.p-feature__visual {
  container-type: inline-size;
  min-width: 0;
}

@media (min-width: 1024px) {
  .p-features__tablist {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 24px;
    padding: 6px;
    overflow: visible;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: #fff;
  }

  .p-features__tablist .c-tabs__tab {
    justify-content: center;
    border: 0;
    border-radius: 10px;
  }

  .p-feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 56px;
    padding: 56px;
  }
}

/* 機能タブのモック: 予約ページ */
.m-book__steps {
  display: flex;
  flex-wrap: wrap;
  gap: .4em 1.2em;
  color: var(--c-subtle);
  font-size: .85em;
}

.m-book__steps li {
  display: flex;
  align-items: center;
  gap: .4em;
}

.m-book__steps i {
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  font-size: .9em;
  font-style: normal;
}

.m-book__steps .is-done i {
  border-color: transparent;
  background: var(--c-primary-100);
  color: var(--c-primary);
}

.m-book__steps .is-on {
  color: var(--c-ink);
  font-weight: 700;
}

.m-book__steps .is-on i {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}

.m-book__week {
  display: grid;
  grid-template-columns: 3.6em repeat(6, minmax(0, 1fr));
  gap: .3em;
  margin-top: 1em;
  font-size: .85em;
  text-align: center;
}

.m-book__week > span {
  padding: .45em 0;
  border-radius: .4em;
  font-variant-numeric: tabular-nums;
}

.m-book__week > span i {
  display: block;
  color: var(--c-subtle);
  font-size: .82em;
  font-style: normal;
}

.m-book__corner {
  color: var(--c-ink);
  font-weight: 700;
  text-align: left;
}

.m-book__week .is-today {
  color: var(--c-primary);
  font-weight: 700;
}

.m-book__week .is-sat i { color: #2f6ad8; }
.m-book__week .is-sun i { color: #cf4a5c; }

.m-book__t {
  padding-right: .4em;
  color: var(--c-subtle);
  text-align: right;
}

.m-book__week .o {
  background: var(--c-primary-50);
  color: var(--c-primary);
  font-weight: 700;
}

.m-book__week .x {
  background: var(--c-bg-soft);
  color: #b3bccb;
}

.m-book__week .is-picked {
  background: var(--c-primary);
  color: #fff;
  font-size: .92em;
  box-shadow: 0 0 0 .2em var(--c-primary-200);
}

.m-book__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8em 1em;
  margin-top: 1.1em;
  padding-top: 1em;
  border-top: 1px solid var(--c-line);
  font-size: .88em;
}

.m-book__foot p {
  color: var(--c-ink);
  font-weight: 700;
}

.m-book__foot small {
  display: block;
  color: var(--c-subtle);
  font-weight: 400;
}

.m-btn {
  display: inline-block;
  padding: .6em 1.2em;
  border-radius: .5em;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.m-btn--sm {
  padding: .3em .9em;
  font-size: .8em;
}

/* 機能タブのモック: 空き枠の計算 */
.m-slots {
  font-size: .9em;
}

.m-slots__scale,
.m-slots__row {
  display: grid;
  grid-template-columns: 5.6em minmax(0, 1fr);
  align-items: center;
}

.m-slots__scale {
  grid-template-columns: 5.6em repeat(8, minmax(0, 1fr));
  padding-bottom: .3em;
  color: var(--c-subtle);
  font-size: .85em;
  font-variant-numeric: tabular-nums;
}

.m-slots__row {
  padding: .45em 0;
  border-top: 1px solid var(--c-line);
}

.m-slots__name {
  color: var(--c-ink);
  font-weight: 700;
}

.m-slots__name small {
  display: block;
  color: var(--c-subtle);
  font-size: .8em;
  font-weight: 400;
}

.m-slots__lane {
  position: relative;
  height: 2.3em;
  border-radius: .3em;
  background: repeating-linear-gradient(to right, var(--c-line) 0 1px, transparent 1px 12.5%);
}

.m-slots__lane i,
.m-slots__lane b {
  position: absolute;
  left: calc(var(--s) / 8 * 100%);
  width: calc(var(--w) / 8 * 100%);
}

.m-slots__lane i {
  top: .35em;
  bottom: .35em;
  border-radius: .35em;
  background: #c8d1df;
}

.m-slots__lane i.is-prep,
.m-slots__legend i.is-prep {
  background: repeating-linear-gradient(135deg, #c8d1df 0 .25em, #eef1f6 .25em .5em);
}

.m-slots__row--result .m-slots__name {
  color: var(--c-primary);
  font-size: .9em;
  line-height: 1.3;
}

.m-slots__lane b {
  top: .15em;
  bottom: .15em;
  display: flex;
  align-items: center;
  padding: 0 .5em;
  overflow: hidden;
  border: .12em solid var(--c-primary);
  border-radius: .4em;
  background: var(--c-primary-50);
  color: var(--c-primary);
  font-size: .82em;
  white-space: nowrap;
}

.m-slots__legend {
  display: flex;
  flex-wrap: wrap;
  gap: .4em 1.2em;
  margin-top: 1em;
  color: var(--c-muted);
  font-size: .85em;
}

.m-slots__legend i {
  display: inline-block;
  width: 1.4em;
  height: .8em;
  margin-right: .4em;
  border-radius: .2em;
  background: #c8d1df;
  vertical-align: -.05em;
}

.m-slots__legend i.is-open {
  border: .12em solid var(--c-primary);
  background: var(--c-primary-50);
}

/* 機能タブのモック: リマインド */
.m-remind {
  display: grid;
  gap: 1.3em;
}

.m-remind__timeline {
  position: relative;
  display: grid;
  gap: 1em;
}

.m-remind__timeline::before {
  content: "";
  position: absolute;
  top: .8em;
  bottom: .8em;
  left: .5em;
  width: 2px;
  background: var(--c-line);
}

.m-remind__timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr) auto;
  align-items: center;
  gap: .8em;
  padding-left: 1.9em;
  font-size: .92em;
}

.m-remind__timeline li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.1em;
  height: 1.1em;
  margin-top: -.55em;
  border: 2px solid var(--c-line-strong);
  border-radius: 50%;
  background: #fff;
}

.m-remind__timeline li.is-sent::before {
  border-color: var(--c-success);
  background: var(--c-success) var(--i-check-white) center / .7em no-repeat;
}

.m-remind__when {
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}

.m-remind__what {
  display: flex;
  align-items: center;
  gap: .4em;
  min-width: 0;
  color: var(--c-ink);
  font-weight: 700;
}

.m-remind__what .c-icon {
  color: var(--c-primary);
}

.m-remind__state {
  padding: .2em .65em;
  border-radius: 999px;
  background: var(--c-bg-soft);
  color: var(--c-muted);
  font-size: .85em;
  font-weight: 700;
  white-space: nowrap;
}

.m-remind__timeline .is-sent .m-remind__state {
  background: var(--c-success-50);
  color: var(--c-success);
}

.m-remind__bubble {
  width: min(100%, 27em);
  margin-left: auto;
  padding: 1em 1.1em;
  border: 1px solid var(--c-line);
  border-radius: 1.1em 1.1em .3em 1.1em;
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-size: .92em;
  line-height: 1.55;
}

.m-remind__from {
  margin-bottom: .3em;
  color: var(--c-muted);
  font-size: .85em;
  font-weight: 700;
}

.m-remind__actions {
  display: flex;
  gap: .5em;
  margin-top: .8em;
}

.m-remind__actions span {
  flex: 1;
  padding: .45em;
  border: 1px solid var(--c-primary-200);
  border-radius: .5em;
  background: #fff;
  color: var(--c-primary);
  font-weight: 700;
  text-align: center;
}

/* 機能タブのモック: 事前決済 */
.m-pay {
  display: grid;
  gap: 1.1em;
}

.m-pay__policy {
  border: 1px solid var(--c-line);
  border-radius: .7em;
}

.m-pay__policy div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  padding: .7em 1em;
  font-size: .92em;
}

.m-pay__policy div + div {
  border-top: 1px solid var(--c-line);
}

.m-pay__policy dd {
  color: var(--c-ink);
  font-weight: 700;
  white-space: nowrap;
}

.m-pay__policy b {
  font-family: var(--ff-en);
  font-size: 1.3em;
}

.m-pay__toggles {
  display: grid;
  gap: .5em;
}

.m-pay__toggles li {
  display: flex;
  align-items: center;
  gap: .7em;
  color: var(--c-ink);
  font-size: .92em;
}

.m-toggle {
  position: relative;
  flex: none;
  width: 2.5em;
  height: 1.45em;
  border-radius: 999px;
  background: var(--c-line-strong);
}

.m-toggle::after {
  content: "";
  position: absolute;
  top: .2em;
  left: .2em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 27 45 / .3);
}

.m-toggle.is-on {
  background: var(--c-primary);
}

.m-toggle.is-on::after {
  left: 1.25em;
}

.m-pay__list {
  display: grid;
  gap: .5em;
}

.m-pay__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .3em 1em;
  padding: .75em .9em;
  border-radius: .6em;
  background: var(--c-bg-soft);
  font-size: .9em;
}

.m-pay__list span {
  color: var(--c-ink);
  font-weight: 700;
}

.m-pay__list small {
  display: block;
  color: var(--c-muted);
  font-weight: 400;
}

.m-pay__list b {
  color: var(--c-ink);
  font-family: var(--ff-en);
  font-variant-numeric: tabular-nums;
}

.m-pay__list em {
  grid-column: 1 / -1;
  justify-self: start;
  padding: .15em .65em;
  border-radius: 999px;
  font-size: .85em;
  font-style: normal;
  font-weight: 700;
}

.m-pay__list em.is-ok {
  background: var(--c-success-50);
  color: var(--c-success);
}

.m-pay__list em.is-warn {
  background: var(--c-warning-50);
  color: var(--c-warning);
}

/* 機能タブのモック: 複数店舗 */
.m-stores__row {
  display: grid;
  grid-template-columns: 6.6em 5em minmax(0, 1fr) 3em;
  align-items: center;
  gap: .8em;
  padding: .7em .2em;
  border-top: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: .9em;
  font-variant-numeric: tabular-nums;
}

.m-stores__row--head {
  border-top: 0;
  padding-top: 0;
  color: var(--c-subtle);
  font-size: .8em;
  font-weight: 700;
}

.m-stores__row > span:first-child {
  font-weight: 700;
}

.m-stores__flag {
  display: block;
  width: fit-content;
  margin-top: .2em;
  padding: .05em .5em;
  border-radius: 999px;
  background: var(--c-warning-50);
  color: var(--c-warning);
  font-size: .75em;
  font-style: normal;
}

.m-stores__bar {
  display: flex;
  align-items: center;
  gap: .6em;
}

.m-stores__bar i {
  flex: 1;
  height: .55em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-primary) calc(var(--v) * 100%), var(--c-primary-100) 0);
}

.m-stores__row.is-alert .m-stores__bar i {
  background: linear-gradient(90deg, #d98a1a calc(var(--v) * 100%), var(--c-warning-50) 0);
}

.m-stores__roles {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .5em;
  margin-top: .6em;
  padding-top: 1em;
  border-top: 1px solid var(--c-line);
}

.m-stores__roles p {
  width: 100%;
  color: var(--c-subtle);
  font-size: .8em;
  font-weight: 700;
}

.m-role {
  display: inline-flex;
  flex-direction: column;
  padding: .45em .8em;
  border: 1px solid var(--c-line);
  border-radius: .6em;
  color: var(--c-ink);
  font-size: .85em;
  font-weight: 700;
}

.m-role small {
  color: var(--c-muted);
  font-size: .85em;
  font-weight: 400;
}

/* 機能タブのモック: 分析 */
.m-analytics__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6em;
}

.m-analytics__kpis div {
  padding: .7em .8em;
  border: 1px solid var(--c-line);
  border-radius: .6em;
}

.m-analytics__kpis span {
  display: block;
  color: var(--c-muted);
  font-size: .78em;
  white-space: nowrap;
}

.m-analytics__kpis b {
  display: block;
  margin-top: .1em;
  color: var(--c-ink);
  font-family: var(--ff-en);
  font-size: 1.5em;
  font-weight: 800;
}

.m-analytics__kpis em {
  color: var(--c-success);
  font-size: .8em;
  font-style: normal;
  font-weight: 700;
}

.m-analytics__charts {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: .7em;
  margin-top: .7em;
}

.m-analytics__charts > div {
  padding: .8em;
  border: 1px solid var(--c-line);
  border-radius: .6em;
}

.m-analytics__charts p {
  color: var(--c-muted);
  font-size: .8em;
  font-weight: 700;
}

.m-analytics__plot {
  display: flex;
  align-items: flex-end;
  gap: .45em;
  height: 8em;
  margin-top: .6em;
  border-bottom: 1px solid var(--c-line-strong);
  background: repeating-linear-gradient(to top, transparent 0 calc(2em - 1px), var(--c-line) calc(2em - 1px) 2em);
}

.m-analytics__plot i {
  flex: 1;
  height: calc(var(--v) * 100%);
  border-radius: .3em .3em 0 0;
  background: var(--c-primary-200);
}

.m-analytics__plot i.is-now {
  background: var(--c-primary);
}

.m-analytics__donut svg {
  display: block;
  width: 6.4em;
  height: 6.4em;
  margin: .6em auto .5em;
}

.m-analytics__donut ul {
  display: grid;
  gap: .15em;
  color: var(--c-text);
  font-size: .78em;
}

.m-analytics__donut li i {
  display: inline-block;
  width: .75em;
  height: .75em;
  margin-right: .4em;
  border-radius: 2px;
  background: var(--c-line);
}

.m-analytics__donut li i.is-web { background: var(--c-primary); }
.m-analytics__donut li i.is-tel { background: var(--c-primary-300); }

/* ---------- 導入効果 ---------- */
.p-results__list {
  display: grid;
  gap: 16px;
}

.p-results__item {
  padding: 28px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
}

.p-results__label {
  min-height: 42px;
  font-size: 15px;
  line-height: 1.45;
}

.p-results__label small {
  display: block;
  color: var(--c-muted);
  font-size: 12.5px;
  font-weight: 400;
}

.p-results__value {
  margin-top: 14px;
  color: var(--c-primary);
  font-family: var(--ff-en);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}

.p-results__value span {
  font-size: 2.2em;
}

.p-results__bars {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.p-results__bar {
  display: grid;
  grid-template-columns: 3.6em minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.p-results__bar dt {
  color: var(--c-muted);
}

.p-results__bar dd {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-results__bar i {
  width: calc(var(--v) * 68%);
  height: 10px;
  border-radius: 999px;
  background: var(--c-line-strong);
}

.p-results__bar.is-after i {
  background: var(--c-primary);
}

.p-results__bar span {
  color: var(--c-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .p-results__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .p-results__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ---------- 中間 CTA ---------- */
.p-cta {
  position: relative;
  overflow: clip;
  padding-block: 56px;
  background: var(--c-primary);
  color: #fff;
}

.p-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / .12) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / .12) 1px, transparent 1px);
  background-size: 88px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}

.p-cta__inner {
  position: relative;
  display: grid;
  gap: 28px;
}

.p-cta__title {
  color: #fff;
  font-size: clamp(24px, 6.2vw, 36px);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-cta__text {
  margin-top: 10px;
  color: rgb(255 255 255 / .88);
}

.p-cta__actions {
  display: grid;
  gap: 12px;
}

@media (min-width: 600px) {
  .p-cta__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .p-cta {
    padding-block: 72px;
  }

  .p-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
  }
}

/* ---------- 業種別 ---------- */
.p-usecases__list {
  display: grid;
  gap: 16px;
}

.p-usecases__item {
  display: grid;
  grid-template-areas:
    "icon title"
    "text text"
    "tags tags";
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
}

.p-usecases__icon {
  display: grid;
  grid-area: icon;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-primary-50);
  color: var(--c-primary);
}

.p-usecases__icon .c-icon {
  width: 24px;
  height: 24px;
}

.p-usecases__title {
  grid-area: title;
  font-size: 17px;
}

.p-usecases__text {
  grid-area: text;
  margin-top: 14px;
  color: var(--c-muted);
  font-size: 14.5px;
}

.p-usecases__tags {
  display: flex;
  grid-area: tags;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.p-usecases__tags li {
  padding: 3px 10px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-bg-soft);
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 400;
}

@media (min-width: 600px) {
  .p-usecases__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .p-usecases__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .p-usecases__item {
    padding: 28px;
  }
}

/* ---------- 導入事例 ---------- */
.p-cases__list {
  display: grid;
  gap: 20px;
}

.p-case {
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.p-case__head {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
}

.p-case__head .c-brand {
  color: var(--c-ink);
}

.p-case__meta {
  color: var(--c-muted);
  font-size: 12.5px;
}

.p-case__title {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-case__stats {
  margin-top: 20px;
  padding: 4px 16px;
  border-radius: var(--radius-m);
  background: var(--c-primary-50);
}

.p-case__stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.p-case__stats div + div {
  border-top: 1px solid var(--c-primary-100);
}

.p-case__stats dt {
  color: var(--c-text);
  font-size: 13px;
  line-height: 1.5;
}

.p-case__stats dd {
  flex: none;
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.p-case__stats b {
  color: var(--c-primary);
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.p-case__issue {
  margin: 20px 0 22px;
  color: var(--c-text);
  font-size: 14px;
}

.p-case__issue span {
  display: block;
  margin-bottom: 4px;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 700;
}

.p-case__quote {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.p-case__quote p {
  padding-left: 14px;
  border-left: 3px solid var(--c-primary-200);
  color: var(--c-ink);
  font-size: 14.5px;
}

.p-case__quote footer {
  margin-top: 8px;
  padding-left: 17px;
  color: var(--c-muted);
  font-size: 12.5px;
}

.p-case__quote footer::before {
  content: "— ";
}

@media (min-width: 1024px) {
  .p-cases__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .p-case {
    padding: 32px 28px 28px;
  }
}

/* ---------- ROI シミュレーター ---------- */
.p-roi__panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.p-roi__form {
  display: grid;
  gap: 26px;
  padding: 28px 20px;
}

.p-roi__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.p-roi__label {
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.p-roi__input {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 700;
}

.p-roi__input input {
  width: 6.4em;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--c-ink);
  font-family: var(--ff-en);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  appearance: textfield;
}

.p-roi__input input::-webkit-outer-spin-button,
.p-roi__input input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.p-roi__input input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-100);
}

.p-roi__range {
  --p: 50%;
  display: block;
  width: 100%;
  height: 32px;
  margin: 8px 0 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.p-roi__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-primary) var(--p), var(--c-line) var(--p));
}

.p-roi__range::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border: 2px solid var(--c-primary);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgb(15 27 45 / .25);
  appearance: none;
}

.p-roi__range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--c-line);
}

.p-roi__range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--c-primary);
}

.p-roi__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--c-primary);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgb(15 27 45 / .25);
}

.p-roi__range:focus {
  outline: none;
}

.p-roi__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px var(--c-primary-200);
}

.p-roi__range:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 5px var(--c-primary-200);
}

.p-roi__scale {
  display: flex;
  justify-content: space-between;
  color: var(--c-subtle);
  font-size: 11.5px;
}

.p-roi__result {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 20px;
  background: var(--c-navy);
  color: #fff;
}

.p-roi__loss-label {
  color: rgb(255 255 255 / .78);
  font-size: 14px;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-roi__loss-value {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.p-roi__loss-value b {
  margin: 0 .08em;
  font-family: var(--ff-en);
  font-size: clamp(44px, 11vw, 60px);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.p-roi__breakdown {
  border-top: 1px solid rgb(255 255 255 / .14);
}

.p-roi__breakdown div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / .14);
}

.p-roi__breakdown dt {
  color: rgb(255 255 255 / .82);
  font-size: 14px;
}

.p-roi__breakdown dt small {
  display: block;
  color: rgb(255 255 255 / .6);
  font-size: 12px;
}

.p-roi__breakdown dd {
  flex: none;
  font-family: var(--ff-en);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.p-roi__breakdown .is-gain {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.p-roi__breakdown .is-gain dd {
  color: #9db8ff;
  font-size: 24px;
}

@media (min-width: 600px) {
  .p-roi__breakdown .is-gain {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
}

.p-roi__net {
  word-break: auto-phrase;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  background: rgb(255 255 255 / .08);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.p-roi__net.is-negative {
  background: rgb(255 180 80 / .12);
  color: #ffd9a3;
}

.p-roi__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.p-roi__result .c-button--outline {
  border-color: rgb(255 255 255 / .4);
  background: transparent;
  color: #fff;
}

.p-roi__result .c-button--outline:hover {
  border-color: #fff;
  background: rgb(255 255 255 / .08);
}

.p-roi__result .c-button--primary {
  background: #fff;
  color: var(--c-primary);
  box-shadow: none;
}

.p-roi__result .c-button--primary:hover {
  background: var(--c-primary-50);
}

.p-roi__assumptions {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-l);
  background: var(--c-bg-soft);
  font-size: 13px;
  line-height: 1.7;
}

.p-roi__assumptions-title {
  color: var(--c-ink);
  font-weight: 700;
}

.p-roi__assumptions-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.p-roi__assumptions-list dt {
  color: var(--c-ink);
  font-weight: 700;
}

.p-roi__assumptions-list dd {
  color: var(--c-muted);
}

.p-roi__assumptions-note {
  margin-top: 10px;
  color: var(--c-muted);
}

@media (min-width: 768px) {
  .p-roi__assumptions {
    padding: 24px 28px;
  }

  .p-roi__assumptions-list div {
    display: grid;
    grid-template-columns: 9.5em minmax(0, 1fr);
    gap: 16px;
  }
}

@media (min-width: 600px) {
  .p-roi__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .p-roi__form,
  .p-roi__result {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .p-roi__panel {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .p-roi__form {
    gap: 30px;
    padding: 48px;
  }

  .p-roi__result {
    padding: 48px 44px;
  }
}

/* ---------- 料金 ---------- */
.p-pricing__billing {
  margin: 0 auto 36px;
}

.p-pricing__plans {
  display: grid;
  gap: 24px;
}

.p-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  background: #fff;
}

.p-plan--featured {
  border: 2px solid var(--c-primary);
  box-shadow: 0 24px 48px -28px rgb(34 87 230 / .45);
}

.p-plan__badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.p-plan__name {
  font-size: 20px;
}

.p-plan__target {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.6;
}

.p-plan__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-height: 52px;
  margin-top: 20px;
  color: var(--c-ink);
}

.p-plan__yen {
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 800;
}

.p-plan__amount {
  font-family: var(--ff-en);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  transition: opacity .16s;
}

.p-plan__unit {
  margin-left: 4px;
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 700;
}

.p-plan__price--text {
  align-items: center;
  font-size: 24px;
  font-weight: 700;
}

.p-plan__billing {
  min-height: 1.7em;
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.6;
  transition: opacity .16s;
}

.p-plan__amount.is-switching,
.p-plan__billing.is-switching {
  opacity: 0;
}

.p-plan .c-button {
  margin-top: 20px;
}

.p-plan__features {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 14.5px;
}

.p-plan__features li {
  position: relative;
  padding-left: 26px;
}

.p-plan__features li::before {
  content: "";
  position: absolute;
  top: .3em;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--i-check) center / 16px no-repeat;
}

.p-plan__features li.is-lead {
  padding-left: 0;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 700;
}

.p-plan__features li.is-lead::before {
  content: none;
}

.p-pricing__note {
  text-align: center;
}

@media (min-width: 1024px) {
  .p-pricing__plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .p-plan {
    padding: 36px 32px 32px;
  }

  .p-plan__target {
    min-height: 3.2em;
  }
}

/* 機能の比較表 */
.p-matrix {
  margin-top: 40px;
}

.p-matrix__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-m);
  background: #fff;
  color: var(--c-ink);
  font-weight: 700;
  transition: border-color .2s, color .2s;
}

.p-matrix__toggle:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.p-matrix__toggle .c-icon {
  transition: transform .3s var(--ease);
}

.p-matrix__toggle[aria-expanded="true"] .c-icon {
  transform: rotate(180deg);
}

html:not(.js) .p-matrix__toggle {
  display: none;
}

.js .p-matrix__body:not(.is-open) {
  display: none;
}

.p-matrix__body {
  margin-top: 16px;
  overflow: clip;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
  animation: panel-in .4s var(--ease);
}

.p-matrix__table {
  width: 100%;
  table-layout: fixed;
  font-size: 12.5px;
  line-height: 1.5;
}

.p-matrix__col-feature {
  width: 36%;
}

.p-matrix__col-featured {
  background: var(--c-primary-50);
}

.p-matrix__table th,
.p-matrix__table td {
  padding: 11px 4px;
  border-bottom: 1px solid var(--c-line);
  text-align: center;
  vertical-align: middle;
}

.p-matrix__table thead th {
  position: sticky;
  top: var(--header-h);
  z-index: 1;
  padding-block: 14px;
  background: #fff;
  box-shadow: inset 0 -1px 0 var(--c-line-strong);
  color: var(--c-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-matrix__table thead th:nth-child(3) {
  background: var(--c-primary);
  color: #fff;
}

.p-matrix__table tbody th[scope="row"] {
  padding-left: 12px;
  color: var(--c-text);
  font-weight: 400;
  text-align: left;
  word-break: auto-phrase;
}

.p-matrix__table .p-matrix__group th {
  padding: 9px 12px;
  background: var(--c-bg-soft);
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: left;
}

.p-matrix__yes,
.p-matrix__no {
  display: inline-block;
  width: 20px;
  height: 20px;
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
  text-indent: 110%;
}

.p-matrix__yes {
  background: var(--i-check) center / 18px no-repeat;
}

.p-matrix__no {
  background: var(--i-minus) center / 16px no-repeat;
}

@media (min-width: 768px) {
  .p-matrix__col-feature {
    width: 34%;
  }

  .p-matrix__table {
    font-size: 14px;
  }

  .p-matrix__table th,
  .p-matrix__table td {
    padding: 13px 12px;
  }

  .p-matrix__table thead th {
    font-size: 14px;
    letter-spacing: .02em;
  }

  .p-matrix__table tbody th[scope="row"] {
    padding-left: 24px;
  }

  .p-matrix__table .p-matrix__group th {
    padding: 10px 24px;
  }
}

/* ---------- セキュリティ・サポート ---------- */
.p-trust__grid {
  display: grid;
  gap: 20px;
}

.p-trust__col {
  padding: 28px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  background: #fff;
}

.p-trust__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.p-trust__heading .c-icon {
  width: 28px;
  height: 28px;
  color: var(--c-primary);
}

.p-trust__list {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.p-trust__list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
}

.p-trust__list li > .c-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--c-primary-50);
  color: var(--c-primary);
}

.p-trust__list h4 {
  font-size: 15.5px;
}

.p-trust__list p {
  margin-top: 4px;
  color: var(--c-muted);
  font-size: 14px;
}

.p-trust__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.p-trust__badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 700;
}

.p-trust__badges li::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--i-check) center / contain no-repeat;
}

@media (min-width: 768px) {
  .p-trust__col {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .p-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .p-trust__badges {
    justify-content: center;
    margin-top: 28px;
  }
}

/* ---------- 導入の流れ ---------- */
.p-flow__list {
  display: grid;
  gap: 28px;
}

.p-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0 12px;
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
}

.p-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-right: 2px solid var(--c-primary-300);
  border-bottom: 2px solid var(--c-primary-300);
  transform: rotate(45deg);
}

.p-flow__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--ff-en);
  font-size: 15px;
  font-weight: 800;
}

.p-flow__time {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  font-size: 12.5px;
  font-weight: 700;
}

.p-flow__time .c-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.p-flow__title {
  grid-column: 1 / -1;
  margin-top: 16px;
  font-size: 17px;
}

.p-flow__text {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 14px;
}

@media (min-width: 1024px) {
  .p-flow__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .p-flow__item {
    align-content: start;
  }

  .p-flow__item:not(:last-child)::after {
    top: 50%;
    right: -21px;
    bottom: auto;
    left: auto;
    margin: -6px 0 0;
    border-right: 2px solid var(--c-primary-300);
    border-bottom: 0;
    border-top: 2px solid var(--c-primary-300);
  }
}

/* ---------- よくある質問 ---------- */
.p-faq__inner {
  display: grid;
  gap: 32px;
}

.p-faq__side .c-section-head {
  margin-bottom: 24px;
}

.p-faq__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-faq__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s, border-color .2s, background-color .2s;
}

.p-faq__nav a:hover {
  border-color: var(--c-primary-200);
  color: var(--c-primary);
}

.p-faq__contact {
  margin-top: 24px;
  color: var(--c-muted);
  font-size: 13.5px;
}

.p-faq__contact a {
  color: var(--c-primary);
  text-underline-offset: 3px;
}

.p-faq__groups {
  display: grid;
  gap: 40px;
}

.p-faq__group-title {
  margin-bottom: 8px;
  color: var(--c-primary);
  font-size: 14px;
  letter-spacing: .08em;
}

.p-faq__group .c-accordion:first-of-type {
  border-top: 1px solid var(--c-line);
}

@media (min-width: 1024px) {
  .p-faq__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
    gap: 64px;
  }

  .p-faq__side {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }

  .p-faq__nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .p-faq__nav a {
    display: flex;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--radius-s);
  }

  .p-faq__nav a:hover {
    background: var(--c-bg-soft);
  }
}

/* ---------- 申込みフォーム ---------- */
.p-trial {
  position: relative;
  overflow: clip;
  background: var(--c-bg-soft);
}

.p-trial__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--c-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c-line) 1px, transparent 1px);
  background-size: 88px 44px;
  -webkit-mask-image: radial-gradient(80% 70% at 10% 10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(80% 70% at 10% 10%, #000 0%, transparent 70%);
  pointer-events: none;
}

.p-trial__inner {
  position: relative;
  display: grid;
  gap: 40px;
}

.p-trial__title {
  margin-top: 12px;
  font-size: clamp(26px, 6.6vw, 40px);
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-trial__lead {
  margin-top: 16px;
  color: var(--c-muted);
}

.p-trial__points {
  margin-top: 24px;
}

.p-trial__tel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
}

.p-trial__tel .c-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--c-primary-50);
  color: var(--c-primary);
}

.p-trial__tel p {
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.5;
}

.p-trial__tel a {
  display: block;
  color: var(--c-ink);
  font-family: var(--ff-en);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}

.p-trial__tel small {
  font-size: 12px;
}

.p-trial__card {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 30px 60px -30px rgb(15 27 45 / .28);
}

.p-trial__tablist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-soft);
}

.p-trial__tab {
  min-height: 56px;
  padding: 8px;
  border-bottom: 3px solid transparent;
  color: var(--c-muted);
  font-size: 15px;
  font-weight: 700;
  transition: color .2s, background-color .2s;
}

.p-trial__tab:hover {
  color: var(--c-primary);
}

.p-trial__tab:focus-visible {
  outline-offset: -3px;
}

.p-trial__tab[aria-selected="true"] {
  border-bottom-color: var(--c-primary);
  background: #fff;
  color: var(--c-primary);
}

.p-trial__panel {
  padding: 28px 20px 32px;
}

@media (min-width: 768px) {
  .p-trial__panel {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .p-trial__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 64px;
  }

  .p-trial__intro {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

/* ---------- スマートフォンの追従 CTA ---------- */
.p-float-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-line);
  background: rgb(255 255 255 / .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px -18px rgb(15 27 45 / .4);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform .35s var(--ease), visibility 0s .35s;
}

.p-float-cta.is-visible {
  visibility: visible;
  transform: none;
  transition: transform .35s var(--ease);
}

.p-float-cta .c-button {
  min-height: 48px;
}

.p-float-cta__doc {
  flex: none;
  padding-inline: 16px;
}

html:not(.js) .p-float-cta {
  display: none;
}

@media (min-width: 1024px) {
  .p-float-cta {
    display: none;
  }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.u-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.u-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.u-tnum {
  font-variant-numeric: tabular-nums;
}

.u-nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   動きを減らす設定
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
