/* Tickwork 宣伝サイト（tickwork.jp）
   CSP（style-src 'self'）のため、スタイルはすべてこのファイルに置く（style 属性は使わない）。
   フォント：日本語はシステムフォント。英字の見出しラベルと数字だけ Manrope（assets/fonts、SIL OFL 1.1）。
   色：Graphite #1C1F26・Ink #15171C・Mint #34E0A1（暗い背景）・Mint Deep #0FA874（明るい背景）＝ brand/README.md */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-wght.woff2") format("woff2-variations"), url("fonts/manrope-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122, U+2191, U+2193, U+2212;
}

:root {
  --ink: #15171C;
  --graphite: #1C1F26;
  --graphite-2: #262A33;
  --graphite-3: #121419;
  --mint: #34E0A1;
  --mint-deep: #0FA874;
  --mint-ink: #0A7D56;      /* 白地の小さな文字（コントラスト 5:1） */
  --paper: #FFFFFF;
  --paper-2: #F7F8FA;
  --warn-bg: #FFF4D6;
  --warn-line: #E8B93B;

  /* 文脈ごとの色（暗い帯の中では下で上書き） */
  --fg: #15171C;
  --fg-2: #3B414D;
  --fg-3: #646B78;
  --hair: rgba(21, 23, 28, .08);
  --hair-2: rgba(21, 23, 28, .14);
  --tint: rgba(15, 168, 116, .08);
  --accent: #0FA874;
  --accent-ink: #0A7D56;
  --hover: rgba(21, 23, 28, .04);

  --f-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --f-en: "Manrope", "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", system-ui, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --sh-2: 0 2px 4px -2px rgba(16, 24, 40, .06), 0 12px 24px -8px rgba(16, 24, 40, .10);
  --sh-3: 0 4px 8px -4px rgba(16, 24, 40, .06), 0 24px 48px -16px rgba(16, 24, 40, .16), 0 48px 96px -32px rgba(16, 24, 40, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --header-h: 64px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%230FA874' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  font-size: 16px;
}
@media (min-width: 960px) { :root { --header-h: 72px; } }

/* 暗い帯 */
.hero, .section.dark, .page-head, .page-hero, .cta-band, .contact-box, .notfound, .site-header, .site-footer, .mobile-cta, .side-cta {
  --fg: #F4F6F8;
  --fg-2: #C3C9D2;
  --fg-3: #959DAA;
  --hair: rgba(255, 255, 255, .08);
  --hair-2: rgba(255, 255, 255, .18);
  --tint: rgba(52, 224, 161, .10);
  --accent: #34E0A1;
  --accent-ink: #34E0A1;
  --hover: rgba(255, 255, 255, .06);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--graphite-3); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-jp);
  font-size: 1rem;
  color: var(--fg);
  background: var(--ink);
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 960px) { body { font-size: 1.0625rem; } }
main { display: block; background: var(--paper); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; font-weight: 700; letter-spacing: .02em; color: var(--fg); font-feature-settings: "palt" 1; }
h1, h2, h3, .point-title, .cta-band h2, .steps-foot strong { word-break: keep-all; line-break: strict; overflow-wrap: anywhere; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 700; }
.nb { display: inline-block; }
.nw { white-space: nowrap; }
.accent { color: var(--accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--mint); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 32px; } }

/* ---------- 暗い帯の背景（ミントの光・細い格子・粒子） ---------- */
.hero, .section.dark, .page-head, .page-hero, .cta-band, .contact-box, .notfound {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(var(--glow-size, 70% 60%) at var(--glow-at, 50% -10%), rgba(52, 224, 161, .17) 0%, rgba(52, 224, 161, .05) 40%, rgba(52, 224, 161, 0) 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(15, 168, 116, .10) 0%, rgba(15, 168, 116, 0) 70%),
    radial-gradient(40% 50% at 0% 85%, rgba(70, 110, 200, .07) 0%, rgba(70, 110, 200, 0) 70%),
    linear-gradient(180deg, #15171C 0%, var(--graphite) 100%);
}
.hero::before, .section.dark::before, .page-head::before, .page-hero::before, .cta-band::before, .contact-box::before, .notfound::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(var(--grid-size, 70% 60%) at var(--glow-at, 50% -10%), #000 0%, transparent 72%);
  mask-image: radial-gradient(var(--grid-size, 70% 60%) at var(--glow-at, 50% -10%), #000 0%, transparent 72%);
}
.hero::after, .section.dark::after, .page-head::after, .page-hero::after, .cta-band::after, .contact-box::after, .notfound::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .09; mix-blend-mode: soft-light;
}

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: .9375rem; letter-spacing: .06em; line-height: 1.4; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn::after {
  content: ""; flex: none; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:hover::after { transform: translateX(3px); }
.btn-grad {
  color: #052618;
  background: linear-gradient(135deg, #5BF0B8 0%, #34E0A1 38%, #12BE84 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 60, 40, .18), 0 1px 2px rgba(6, 60, 40, .25), 0 8px 24px -6px rgba(52, 224, 161, .55);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 60, 40, .18), 0 2px 4px rgba(6, 60, 40, .2), 0 14px 32px -8px rgba(52, 224, 161, .7); }
.btn-outline { color: var(--fg); background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn-outline:hover { background: var(--hover); box-shadow: inset 0 0 0 1px var(--fg-3); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 200px; max-width: 280px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after { transition: none; } .btn:hover, .btn:hover::after { transform: none; } }

.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--accent-ink); font-size: .9375rem; }
.more-link::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transition: transform .3s var(--ease); }
.more-link:hover { text-decoration: none; }
.more-link:hover::after { transform: translateX(3px); }

/* ---------- ブランドマークのアニメーション（brand/tickwork_mark_animated_on_*.svg と同じ形・時間） ---------- */
.tw-anim { overflow: visible; color: #fff; }
.tw-orbit { transform-box: view-box; transform-origin: 512px 512px; }
.tw-dot, .tw-halo { transform-box: fill-box; transform-origin: center; fill: var(--mint); }
.tw-halo { opacity: 0; }
.tw-play .tw-orbit, .tw-loop .tw-orbit, .tw-replay .tw-orbit { animation: tw-orbit 2.3s both; }
.tw-play .tw-draw, .tw-loop .tw-draw, .tw-replay .tw-draw { animation: tw-draw 2.3s both; }
.tw-play .tw-dot, .tw-loop .tw-dot, .tw-replay .tw-dot { animation: tw-flash 2.3s both; }
.tw-play .tw-halo, .tw-loop .tw-halo, .tw-replay .tw-halo { animation: tw-halo 2.3s both; }
.tw-loop { animation: tw-fade 2.3s infinite; }
.tw-loop .tw-orbit, .tw-loop .tw-draw, .tw-loop .tw-dot, .tw-loop .tw-halo { animation-iteration-count: infinite; }
@keyframes tw-orbit { 0% { transform: rotate(46deg); animation-timing-function: cubic-bezier(.55, 0, .35, 1); } 52%, 100% { transform: rotate(360deg); } }
@keyframes tw-draw { 0% { stroke-dashoffset: 100; animation-timing-function: cubic-bezier(.55, 0, .35, 1); } 52%, 100% { stroke-dashoffset: 0; } }
@keyframes tw-flash { 0%, 52% { transform: scale(1); } 65% { transform: scale(1.5); } 78%, 100% { transform: scale(1); } }
@keyframes tw-halo { 0%, 51.9% { opacity: 0; transform: scale(1); } 52% { opacity: .8; transform: scale(1); animation-timing-function: cubic-bezier(0, 0, .3, 1); } 80%, 100% { opacity: 0; transform: scale(3.2); } }
@keyframes tw-fade { 0%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
/* ヘッダーのロゴ：同じセッションの 2 ページ目以降とトップページ（ヒーローで再生）では読み込み時に動かさない。ホバー／フォーカスで再生（main.js） */
.tw-seen .brand .tw-play *, .is-home .brand .tw-play * { animation: none; }
html .brand .tw-anim.tw-replay .tw-orbit { animation: tw-orbit 2.3s both; }
html .brand .tw-anim.tw-replay .tw-draw { animation: tw-draw 2.3s both; }
html .brand .tw-anim.tw-replay .tw-dot { animation: tw-flash 2.3s both; }
html .brand .tw-anim.tw-replay .tw-halo { animation: tw-halo 2.3s both; }
@media (prefers-reduced-motion: reduce) {
  .tw-anim, .tw-anim *, html .brand .tw-anim.tw-replay * { animation: none !important; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 23, 28, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header { background: rgba(21, 23, 28, .86); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
}
.menu-open .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: none; color: #fff; padding: 6px 0; border-radius: 6px; }
.tw-lockup { display: block; width: 118px; height: auto; overflow: visible; }
@media (min-width: 960px) { .tw-lockup { width: 128px; } }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 14px;
  border: 0; box-shadow: inset 0 0 0 1px var(--hair-2); background: transparent; color: var(--fg); border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .8125rem; letter-spacing: .08em; cursor: pointer;
}
.nav-toggle .bars { width: 16px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle .bars::before { top: 1px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--fg-2); font-weight: 600; font-size: .875rem; letter-spacing: .06em; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; color: #052618;
  background: linear-gradient(135deg, #5BF0B8 0%, #34E0A1 38%, #12BE84 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 18px -6px rgba(52, 224, 161, .5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.site-nav .nav-cta:hover { color: #052618; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 24px -6px rgba(52, 224, 161, .65); }
.sub-toggle {
  font: inherit; font-weight: 600; font-size: .875rem; letter-spacing: .06em; color: var(--fg-2); background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: color .2s;
}
.sub-toggle::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease);
}
.sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { color: #fff; }
.nav-group-label { display: none; }
.subnav ul { display: grid; gap: 4px; }
.subnav a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; color: var(--fg); }
.subnav a:hover, .subnav a[aria-current="page"] { background: rgba(255, 255, 255, .05); color: #fff; }
.sub-icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--mint);
  background: linear-gradient(180deg, rgba(52, 224, 161, .14), rgba(52, 224, 161, .06)); box-shadow: inset 0 0 0 1px rgba(52, 224, 161, .18);
}
.sub-icon svg { width: 22px; height: 22px; }
.sub-text { display: grid; line-height: 1.5; }
.sub-text b { font-size: .875rem; font-weight: 700; }
.sub-text small { font-size: .75rem; color: var(--fg-3); font-weight: 500; letter-spacing: .02em; }
.nav-extra { display: none; }

/* JS なし：メニューは常に表示（折り返し）。機能の一覧はフォーカス／ホバーで開く */
html:not(.js) .site-header { position: static; }
html:not(.js) .site-header .wrap { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: block; width: 100%; }
html:not(.js) .nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
html:not(.js) .subnav { display: none; }
html:not(.js) .has-sub:focus-within .subnav, html:not(.js) .has-sub:hover .subnav { display: block; }

/* スマホ・タブレット：全画面のメニュー（暗い） */
@media (max-width: 959px) {
  .js .site-nav.open {
    display: block; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 60;
    background:
      radial-gradient(80% 50% at 100% 0%, rgba(52, 224, 161, .12), rgba(52, 224, 161, 0) 70%),
      var(--ink);
    overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px calc(32px + env(safe-area-inset-bottom));
    animation: menu-in .35s var(--ease) both;
  }
  .js .site-nav.open .sub-toggle { display: none; }
  .js .site-nav.open .nav-group-label { display: block; font-family: var(--f-en); font-size: .6875rem; font-weight: 700; color: var(--fg-3); letter-spacing: .2em; padding: 18px 2px 10px; }
  .js .site-nav.open .subnav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .js .site-nav.open .subnav a {
    flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; height: 100%;
    background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  }
  .js .site-nav.open .sub-text b { font-size: .875rem; line-height: 1.5; }
  .js .site-nav.open .sub-text small { display: none; }
  .js .site-nav.open .nav-list > li:not(.has-sub):not(.nav-cta-item) > a {
    display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--hair);
    font-size: 1.0625rem; color: var(--fg);
  }
  .js .site-nav.open .nav-list > li:not(.has-sub):not(.nav-cta-item) > a::after {
    content: ""; width: 16px; height: 16px; background: var(--fg-3); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat;
  }
  .js .site-nav.open .nav-list > li.has-sub { padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
  .js .site-nav.open .nav-list > li > a[aria-current="page"] { color: var(--mint); }
  .js .site-nav.open .nav-cta-item { margin-top: 28px; }
  .js .site-nav.open .nav-cta { display: flex; justify-content: center; min-height: 54px; font-size: 1rem; }
  .js .site-nav.open .nav-extra { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 26px; }
  .js .site-nav.open .nav-extra a { font-size: .8125rem; color: var(--fg-3); font-weight: 500; }
  .menu-open, .menu-open body { overflow: hidden; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* パソコン：横並びのナビ＋「機能」のドロップダウン */
@media (min-width: 960px) {
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; position: static; width: auto; }
  .nav-list, html:not(.js) .nav-list { display: flex; align-items: center; gap: 30px; }
  .nav-list > li { position: relative; }
  .nav-list > li > a:not(.nav-cta), .sub-toggle { position: relative; display: inline-flex; align-items: center; height: var(--header-h); }
  .nav-list > li > a[aria-current="page"], .has-sub.is-current .sub-toggle { color: #fff; }
  .nav-list > li > a[aria-current="page"]::before, .has-sub.is-current .sub-toggle::before {
    content: ""; position: absolute; left: 50%; bottom: 14px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mint);
    box-shadow: 0 0 8px rgba(52, 224, 161, .8);
  }
  .has-sub.is-current .sub-toggle::before { margin-left: -9px; }
  .nav-cta-item { margin-left: 4px; }
  .subnav, html:not(.js) .subnav {
    display: none; position: absolute; top: calc(100% - 8px); left: -28px; width: 640px; z-index: 60;
    background: rgba(30, 34, 41, .96); border-radius: 22px; padding: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 60px -12px rgba(0, 0, 0, .55), 0 8px 20px -8px rgba(0, 0, 0, .4);
  }
  @supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
    .subnav, html:not(.js) .subnav { background: rgba(30, 34, 41, .86); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
  }
  .has-sub.open .subnav { display: block; animation: dd-in .25s var(--ease) both; }
  html:not(.js) .has-sub:focus-within .subnav, html:not(.js) .has-sub:hover .subnav { display: block; }
  .subnav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.js) .site-header .wrap { height: var(--header-h); flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  html:not(.js) .site-nav { width: auto; }
}
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .sub-toggle::after, .nav-toggle .bars::before, .nav-toggle .bars::after { transition: none; }
  .js .site-nav.open, .has-sub.open .subnav { animation: none; }
}

/* ---------- 共通セクション ---------- */
.section { padding: 80px 0; position: relative; background: var(--paper); }
@media (min-width: 900px) { .section { padding: 136px 0; } }
.section.tight { padding: 72px 0; }
@media (min-width: 900px) { .section.tight { padding: 120px 0; } }
.section.soft, .section.mint { background: var(--paper-2); }
.section.dark { --glow-at: 50% 0%; --glow-size: 60% 70%; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
@media (min-width: 900px) { .section-head { margin-bottom: 72px; } }
.section-head.compact { margin-bottom: 40px; }
@media (min-width: 900px) { .section-head.compact { margin-bottom: 56px; } }
.section-head h2 { font-size: clamp(1.625rem, 1.15rem + 1.7vw, 2.5rem); margin-bottom: .45em; }
.section-head p { color: var(--fg-2); margin: 0; }
.section-head.split { text-align: left; max-width: none; display: grid; gap: 16px; }
.section-head.split h2 { margin: 0; }
.section-head.split p { margin-bottom: 14px; }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
  .section-head.split > div:last-child { justify-self: end; text-align: right; }
}
.en {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); font-size: .75rem; font-weight: 700; letter-spacing: .2em;
  color: var(--accent-ink); margin-bottom: 14px; line-height: 1;
}
.en::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.note-small { font-size: .8125rem; color: var(--fg-3); letter-spacing: .02em; }
.image-note { font-size: .75rem; color: var(--fg-3); margin: 16px 0 0; text-align: right; letter-spacing: .02em; line-height: 1.6; }

/* ---------- ヒーロー（トップ） ---------- */
.hero { --overlap: clamp(72px, 13vw, 210px); --glow-at: 50% 4%; --glow-size: 65% 55%; --grid-size: 60% 55%; padding: 48px 0 0; text-align: center; overflow: visible; z-index: 2; }
@media (min-width: 960px) { .hero { padding-top: 64px; } }
.hero .wrap { position: relative; display: grid; justify-items: center; }
.hero-text { display: grid; justify-items: center; max-width: 880px; }
.hero-mark { position: relative; width: 56px; height: 56px; margin-bottom: 24px; }
@media (min-width: 960px) { .hero-mark { width: 72px; height: 72px; margin-bottom: 28px; } }
.hero-mark::before {
  content: ""; position: absolute; inset: -90%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(52, 224, 161, .22) 0%, rgba(52, 224, 161, .06) 40%, rgba(52, 224, 161, 0) 70%);
}
.hero-mark svg { width: 100%; height: 100%; display: block; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; color: var(--fg-2); font-weight: 600; font-size: .8125rem; letter-spacing: .1em;
  padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair);
}
.hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(52, 224, 161, .18), 0 0 12px rgba(52, 224, 161, .8); }
.hero h1 { font-size: clamp(1.875rem, 1.05rem + 3.4vw, 3.625rem); line-height: 1.4; margin: 24px 0 22px; letter-spacing: .02em; }
.hero h1 .accent {
  color: var(--mint);
  background: linear-gradient(120deg, #7DF5C8 0%, #34E0A1 45%, #19C489 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .bracket { color: rgba(244, 246, 248, .55); }
.hero-lead { font-size: 1rem; color: var(--fg-2); margin: 0 0 32px; max-width: 680px; word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 960px) { .hero-lead { font-size: 1.0625rem; } }
.hero-lead strong { color: var(--fg); }
.hero .btn-row { justify-content: center; width: 100%; }
.check-tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 760px; }
.check-tags li { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; color: var(--fg-3); letter-spacing: .04em; white-space: nowrap; }
.check-tags li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--mint); opacity: .9; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.hero-visual { position: relative; z-index: 2; width: 100%; max-width: 1080px; margin: 48px 0 calc(var(--overlap) * -1); }
@media (min-width: 960px) { .hero-visual { margin-top: 56px; } }
.hero-visual::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 10%; height: 70%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 224, 161, .22), rgba(52, 224, 161, 0)); filter: blur(20px);
}
.hero .image-note { color: #646B78; text-align: center; }
.hero + .section { padding-top: calc(var(--overlap, 120px) + 72px); }
@media (min-width: 900px) { .hero + .section { padding-top: calc(var(--overlap, 120px) + 112px); } }
.hero + .section { --overlap: clamp(72px, 13vw, 210px); }

/* 読み込み時の順番：マーク（0〜1.8 秒）→ 見出し・説明 → 画面（〜2.2 秒） */
@media (prefers-reduced-motion: no-preference) {
  .hero-badge { animation: intro-up .7s var(--ease) .75s both; }
  .hero h1 { animation: intro-up .8s var(--ease) .85s both; }
  .hero-lead { animation: intro-up .8s var(--ease) .98s both; }
  .hero .btn-row { animation: intro-up .8s var(--ease) 1.08s both; }
  .check-tags { animation: intro-up .8s var(--ease) 1.16s both; }
  .hero-visual { animation: intro-rise 1s cubic-bezier(.16, .84, .3, 1) 1.15s both; }
  .hero-mark::before { animation: glow-in 1.6s ease-out .9s both; }
}
@keyframes intro-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes glow-in { 0% { opacity: 0; transform: scale(.6); } 40% { opacity: 1; transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }

/* ---------- 端末フレーム（CSS で描画、ガラスの反射つき） ---------- */
.device-stage { position: relative; padding: 0 12% 6% 2%; transform-origin: 50% 100%; }
.device-stage[data-tilt] { transform: perspective(2400px) rotateX(var(--tilt, 0deg)); }
@media (prefers-reduced-motion: no-preference) { .js .device-stage[data-tilt] { --tilt: 12deg; } }
.laptop { position: relative; }
.laptop-screen {
  position: relative; border-radius: 16px 16px 6px 6px; padding: 1.7% 1.7% 2.2%;
  background: linear-gradient(180deg, #2B2F38 0%, #121419 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 4px rgba(0, 0, 0, .2), 0 30px 60px -20px rgba(0, 0, 0, .45), 0 60px 120px -40px rgba(10, 30, 25, .5);
}
.laptop-screen::before { content: ""; position: absolute; top: .7%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3A3F4A; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.laptop-screen::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 28%, rgba(255, 255, 255, 0) 42%);
}
.laptop-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 4px; background: #F5F6F8; }
.laptop-base {
  position: relative; height: 0; padding-bottom: 2.6%; margin: 0 -7%;
  background: linear-gradient(180deg, #F1F2F4 0%, #D3D6DB 45%, #A9AEB6 100%);
  border-radius: 2px 2px 20px 20px / 2px 2px 70% 70%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 28px -16px rgba(0, 0, 0, .45);
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 34%; margin-left: -7.5%; background: linear-gradient(180deg, #B9BDC4, #CDD0D5); border-radius: 0 0 10px 10px; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 24%; min-width: 0;
  background: linear-gradient(160deg, #2A2D34 0%, #0B0C0F 40%); border-radius: 16% / 7.6%; padding: 2.6%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 3px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .25), 0 30px 50px -18px rgba(0, 0, 0, .55), 0 50px 90px -40px rgba(10, 30, 25, .45);
}
.phone::before { content: ""; position: absolute; top: 4.4%; left: 50%; width: 27%; height: 2.5%; transform: translateX(-50%); background: #0B0C0F; border-radius: 999px; z-index: 2; }
.phone::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: linear-gradient(125deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, 0) 45%);
}
.phone img { width: 100%; aspect-ratio: 360 / 760; border-radius: 12.5% / 5.9%; object-fit: cover; }
.phone.solo { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.phone-pair { display: flex; justify-content: center; gap: 6%; align-items: flex-end; }
.phone-pair .phone { position: relative; width: 44%; max-width: 240px; }
.phone-pair .phone:nth-child(1) { transform: perspective(1600px) rotateY(14deg) rotateZ(-1deg); }
.phone-pair .phone:nth-child(2) { margin-bottom: 9%; transform: perspective(1600px) rotateY(-14deg) rotateZ(1deg); }

.paper-stage { position: relative; padding: 0 0 8% 0; }
.paper {
  background: #fff; border-radius: 6px; overflow: hidden; width: 74%; margin-left: 8%;
  transform: perspective(1600px) rotateY(-12deg) rotateZ(-2deg);
  box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 30px 60px -20px rgba(0, 0, 0, .5), 0 12px 24px -12px rgba(0, 0, 0, .3);
}
.paper img { width: 100%; aspect-ratio: 910 / 1055; }
.paper-stage .float-chip { position: absolute; right: 0; bottom: 16%; }
.float-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: #15171C; font-weight: 600; font-size: .8125rem; letter-spacing: .04em; line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 1px 2px rgba(16, 24, 40, .08), 0 14px 30px -10px rgba(16, 24, 40, .35);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .float-chip { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); }
}
.float-chip .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #0A7D56; flex: none; background: rgba(15, 168, 116, .12); }
.float-chip svg { width: 16px; height: 16px; }
.chat-stage { position: relative; padding: 0 14%; }
.chat-stage .phone.solo { max-width: 260px; }
.chat-stage .float-chip { position: absolute; }
.chat-stage .chip-a { left: 0; top: 30%; }
.chat-stage .chip-b { right: 0; top: 52%; }
.chat-stage .chip-c { left: 2%; bottom: 16%; }
@media (max-width: 599px) {
  .chat-stage { padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .chat-stage .phone.solo { flex: none; width: 240px; max-width: 68%; margin: 0 16% 12px; }
  .chat-stage .float-chip { position: static; font-size: .75rem; padding: 5px 12px 5px 5px; }
  .chat-stage .float-chip .dot { width: 24px; height: 24px; }
}

/* ---------- POINT（機能ページ） ---------- */
.points { display: grid; }
.point { display: grid; gap: 36px; align-items: center; padding: 56px 0; border-top: 1px solid var(--hair); }
.point:first-child { border-top: 0; padding-top: 0; }
.point:last-child { padding-bottom: 0; }
@media (min-width: 900px) {
  .point { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 80px; padding: 96px 0; }
  .point.reverse .point-text { order: 2; }
  .point.reverse .point-visual { order: 1; }
}
.point-label { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.point-no { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--f-en); line-height: 1; flex: none; }
.point-no small { font-size: .6875rem; font-weight: 700; letter-spacing: .2em; color: var(--fg-3); }
.point-no b {
  font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; color: var(--accent);
  background: linear-gradient(160deg, #34E0A1 0%, #0FA874 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.point-kicker { position: relative; font-weight: 600; color: var(--fg-2); font-size: .875rem; letter-spacing: .08em; padding-left: 17px; }
.point-kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--hair-2); }
.point-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.45; margin-bottom: .75em; }
.point-text > p { color: var(--fg-2); text-wrap: pretty; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 500; font-size: .9375rem; line-height: 1.7; color: var(--fg); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(15, 168, 116, .1) var(--check) center / 15px no-repeat;
}
.point-note, .hero-caution {
  margin: 24px 0 0; padding: 16px 20px; border-radius: var(--r-sm); font-size: .9375rem; line-height: 1.85; color: var(--fg-2);
  background: var(--tint); box-shadow: inset 2px 0 0 var(--accent);
}
.point-note strong, .hero-caution strong { color: var(--fg); }
.point-visual { min-width: 0; }
.point-visual > .laptop { margin: 0 7%; }
.point.wide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.point.wide .point-text { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.point.wide .point-label, .point.wide .point-title { margin: 0; }
.mini-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .mini-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .mini-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .mini-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini-cards li { display: grid; gap: 16px; align-content: start; background: var(--paper); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); }
.mini-cards h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.mini-cards p { font-size: .875rem; color: var(--fg-2); margin: 0; line-height: 1.8; letter-spacing: .02em; }

/* 角丸の四角いアイコン（共通） */
.icon-sq, .mini-card-icon, .tile-icon, .flow-icon, .doc-icon, .rel-icon, .mini-icon, .icon-circle {
  flex: none; display: grid; place-items: center; color: var(--accent-ink);
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 168, 116, .11), rgba(15, 168, 116, .05));
  box-shadow: inset 0 0 0 1px rgba(15, 168, 116, .14);
}
.icon-sq svg, .mini-card-icon svg, .tile-icon svg, .flow-icon svg, .doc-icon svg, .rel-icon svg, .mini-icon svg, .icon-circle svg { width: 24px; height: 24px; }
.dark .icon-sq, .dark .icon-circle {
  color: var(--mint); background: linear-gradient(180deg, rgba(52, 224, 161, .14), rgba(52, 224, 161, .04)); box-shadow: inset 0 0 0 1px rgba(52, 224, 161, .2);
}

/* ---------- トップ：主な機能のカード ---------- */
.tile-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 960px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.tile {
  display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--r); overflow: hidden;
  text-decoration: none; color: var(--fg); box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-3), inset 0 0 0 1px rgba(15, 168, 116, .22); }
.tile-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(120% 100% at 0% 0%, #E3F6EE 0%, #EEF2F5 55%, #E9EDF2 100%);
  box-shadow: inset 0 -1px 0 var(--hair);
}
.tile-thumb img { position: absolute; transition: transform .6s var(--ease); }
.tile-thumb .wide { left: 9%; top: 14%; width: 104%; max-width: none; border-radius: 8px 0 0 0; box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 16px 32px -12px rgba(16, 24, 40, .3); }
.tile-thumb .tall { right: 7%; top: 20%; width: 24%; border-radius: 14px; border: 4px solid #0F1115; box-shadow: 0 16px 28px -10px rgba(0, 0, 0, .45); }
.tile-thumb .tall.solo { right: auto; left: 50%; width: 30%; top: 12%; margin-left: -15%; }
.tile-thumb .paper { left: 50%; top: 12%; width: 42%; margin-left: -21%; border-radius: 4px; transform: rotate(-2deg); box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 16px 32px -12px rgba(16, 24, 40, .3); }
.tile:hover .tile-thumb img { transform: translateY(-6px); }
.tile:hover .tile-thumb .paper { transform: translateY(-6px) rotate(-2deg); }
.tile-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px 22px; flex: 1; }
.tile-text { display: grid; gap: 2px; min-width: 0; }
.tile-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.5; letter-spacing: .02em; }
.tile-desc { font-size: .8125rem; color: var(--fg-3); line-height: 1.6; letter-spacing: .02em; }
.tile-arrow {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--fg-2);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.tile-arrow::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transition: transform .35s var(--ease); }
.tile:hover .tile-arrow { background: var(--mint-deep); color: #fff; box-shadow: 0 6px 14px -6px rgba(15, 168, 116, .7); }
.tile:hover .tile-arrow::before { transform: translateX(2px); }
.tile-note { text-align: left; margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .tile, .tile-thumb img, .tile-arrow, .tile-arrow::before { transition: none; } .tile:hover, .tile:hover .tile-thumb img { transform: none; } }

/* ---------- トップ：特長（暗い帯、枠なし・細い区切り線） ---------- */
.strength-grid { list-style: none; padding: 0; margin: 0; display: grid; }
.strength-grid li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; align-items: center; padding: 32px 0; border-top: 1px solid var(--hair); }
.strength-grid li:first-child { border-top: 0; padding-top: 0; }
.strength-grid .num { grid-column: 1 / -1; font-family: var(--f-en); font-size: .8125rem; font-weight: 600; color: var(--mint); letter-spacing: .14em; margin-bottom: 20px; }
.strength-grid h3 { font-size: 1.1875rem; margin: 0; line-height: 1.5; }
.strength-grid p { grid-column: 1 / -1; color: var(--fg-2); font-size: .9375rem; margin: 18px 0 16px; line-height: 1.9; }
.strength-grid .more-link { grid-column: 1 / -1; justify-self: start; font-size: .875rem; }
@media (min-width: 900px) {
  .strength-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strength-grid li { padding: 4px 40px 8px; border-top: 0; border-left: 1px solid var(--hair); align-content: start; }
  .strength-grid li:first-child { border-left: 0; padding-left: 0; padding-top: 4px; }
  .strength-grid li:last-child { padding-right: 0; }
  .strength-grid h3 { font-size: 1.25rem; }
}

/* ---------- 機能一覧（細い線で区切ったグリッド） ---------- */
.feature-cats { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.feature-cats a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2);
  text-decoration: none; color: var(--fg); font-weight: 600; font-size: .875rem; transition: background-color .25s, box-shadow .25s;
}
.feature-cats a::after { content: ""; width: 13px; height: 13px; background: var(--accent); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; }
.feature-cats a:hover { background: var(--tint); box-shadow: inset 0 0 0 1px rgba(15, 168, 116, .35); }
.feature-grid {
  list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--hair); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2), 0 0 0 1px var(--hair);
}
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature-grid li { background: var(--paper); }
.feature-grid a { position: relative; display: block; height: 100%; padding: 22px 18px 24px; text-decoration: none; color: var(--fg); transition: background-color .3s var(--ease); }
@media (min-width: 720px) { .feature-grid a { padding: 32px 28px 34px; } }
.feature-grid .icon-circle { margin: 0 0 20px; }
.feature-grid a::after {
  content: ""; position: absolute; right: 22px; top: 30px; width: 16px; height: 16px; background: var(--accent);
  -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; opacity: 0; transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.feature-grid a:hover { background: #FBFCFC; }
.feature-grid a:hover::after { opacity: 1; transform: none; }
.feature-grid h3 { font-size: .9375rem; margin: 0 0 4px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 720px) { .feature-grid h3 { font-size: 1rem; } }
.feature-grid p { font-size: .8125rem; color: var(--fg-3); margin: 0; line-height: 1.7; letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 719px) { .feature-grid a::after { display: none; } }

/* 管理画面と社員アプリ */
.two-col { display: grid; gap: 20px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 24px; } }
.screen-card { background: var(--paper); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); display: grid; gap: 20px; }
@media (min-width: 600px) { .screen-card { padding: 40px; grid-template-columns: 56px 1fr; align-items: start; gap: 24px; } }
.screen-card .icon-circle { width: 56px; height: 56px; border-radius: 16px; }
.screen-card .icon-circle svg { width: 28px; height: 28px; }
.screen-card .tag { display: inline-block; font-family: var(--f-en); color: var(--accent-ink); font-size: .75rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 6px; }
.screen-card h3 { font-size: 1.375rem; margin-bottom: .6em; }
.screen-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.screen-card li { position: relative; padding: 10px 0 10px 20px; font-size: .9375rem; border-top: 1px solid var(--hair); line-height: 1.7; }
.screen-card li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- CTA（暗いパネル＋ミントの光） ---------- */
.cta-section { padding: 0 0 80px; background: var(--paper); }
@media (min-width: 900px) { .cta-section { padding-bottom: 120px; } }
.section.tight + .cta-section, .section + .cta-section { padding-top: 0; }
.soft + .cta-section, .mint + .cta-section, .dark + .cta-section, .related + .cta-section { padding-top: 80px; }
@media (min-width: 900px) { .soft + .cta-section, .mint + .cta-section, .dark + .cta-section { padding-top: 120px; } .related + .cta-section { padding-top: 96px; } }
.cta-band {
  --glow-at: 50% 0%; --glow-size: 60% 90%; --grid-size: 55% 90%;
  border-radius: 32px; padding: 64px 22px 56px; text-align: center;
  box-shadow: 0 30px 80px -30px rgba(16, 24, 40, .45), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
@media (min-width: 900px) { .cta-band { padding: 88px 48px 80px; } }
.cta-mark { width: 44px; height: 44px; margin: 0 auto 22px; }
.cta-mark svg { width: 100%; height: 100%; display: block; }
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); margin-bottom: .5em; }
.cta-band p { color: var(--fg-2); margin: 0 auto 36px; max-width: 560px; text-wrap: balance; }
.cta-band .btn-row { justify-content: center; }
.cta-band.is-visible .tw-anim .tw-orbit { animation: tw-orbit 2.3s both .3s; }
.cta-band.is-visible .tw-anim .tw-draw { animation: tw-draw 2.3s both .3s; }
.cta-band.is-visible .tw-anim .tw-dot { animation: tw-flash 2.3s both .3s; }
.cta-band.is-visible .tw-anim .tw-halo { animation: tw-halo 2.3s both .3s; }

/* ---------- 安全（細い線で区切ったグリッド） ---------- */
.security-grid {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr);
  background: var(--hair); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2), 0 0 0 1px var(--hair);
}
@media (min-width: 640px) { .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .security-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.security-grid li { background: var(--paper); padding: 28px 24px 30px; display: grid; gap: 10px; align-content: start; scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 960px) { .security-grid li { padding: 40px 36px 42px; } }
.security-grid .mini-icon { margin-bottom: 12px; }
.security-grid strong { font-size: 1.0625rem; line-height: 1.5; }
.security-grid span:not(.mini-icon) { font-size: .875rem; color: var(--fg-2); line-height: 1.85; }

/* ---------- 業種 ---------- */
.industry-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 14px; }
@media (min-width: 900px) { .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; } }
.industry-grid li { text-align: center; }
.industry-grid .illust { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 30px; overflow: hidden; box-shadow: var(--sh-2), 0 0 0 1px var(--hair); }
@media (min-width: 900px) { .industry-grid .illust { width: 152px; height: 152px; border-radius: 36px; } }
.industry-grid .illust svg { width: 100%; height: 100%; display: block; }
.industry-grid h3 { font-size: 1.0625rem; margin: 0 0 10px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pills span { color: var(--accent-ink); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(15, 168, 116, .25); font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; letter-spacing: .02em; line-height: 1.7; }
.industry-note { text-align: center; margin: 48px 0 0; }

/* ---------- 導入の流れ ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.steps li { text-align: center; position: relative; }
.step-circle {
  position: relative; width: 136px; height: 136px; margin: 0 auto 24px; border-radius: 36px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair);
}
.step-circle .step-label { font-family: var(--f-en); font-weight: 700; letter-spacing: .16em; color: var(--accent-ink); font-size: .75rem; line-height: 1; }
.step-circle svg { width: 36px; height: 36px; color: var(--fg); }
@media (min-width: 900px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 68px; left: calc(50% + 92px); right: calc(-50% + 92px - 40px);
    border-top: 1px dashed rgba(15, 168, 116, .45);
  }
}
.steps h3 { font-size: 1.1875rem; margin-bottom: .5em; }
.steps p { color: var(--fg-2); font-size: .9375rem; max-width: 320px; margin: 0 auto; }
.steps-foot { text-align: center; margin: 56px auto 0; max-width: 760px; padding: 24px 28px; border-radius: var(--r); background: var(--tint); }
.steps-foot strong { font-size: clamp(1.0625rem, 1rem + .6vw, 1.3125rem); display: block; line-height: 1.7; font-weight: 700; }

/* ---------- FAQ（線で区切った一覧） ---------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--hair-2); }
.faq details { border-bottom: 1px solid var(--hair-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 52px 24px 0; display: flex; gap: 16px; align-items: flex-start;
  font-weight: 700; position: relative; line-height: 1.7; transition: color .2s;
}
.faq summary:hover { color: var(--accent-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq .a::before { flex: none; width: 24px; font-family: var(--f-en); font-weight: 700; font-size: 1.125rem; line-height: 1.5; letter-spacing: 0; }
.faq summary::before { content: "Q"; color: var(--accent); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hair-2);
  background: linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { display: flex; gap: 16px; padding: 0 52px 28px 0; color: var(--fg-2); }
.faq .a::before { content: "A"; color: var(--fg-3); }
.faq .a p { margin: 0; font-size: .9375rem; }
.faq .a a { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- お問い合わせ ---------- */
.contact-box {
  --glow-at: 100% 100%; --glow-size: 60% 80%; --grid-size: 60% 80%;
  display: grid; gap: 32px; border-radius: 32px; padding: 44px 22px; box-shadow: 0 30px 80px -30px rgba(16, 24, 40, .45);
}
@media (min-width: 900px) { .contact-box { grid-template-columns: 1.1fr .9fr; padding: 72px; align-items: center; gap: 56px; } }
.contact-box h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.contact-box p { color: var(--fg-2); }
.contact-card { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); border-radius: var(--r); padding: 26px; margin: 0; }
.contact-card dt { font-size: .75rem; color: var(--fg-3); font-weight: 600; letter-spacing: .08em; }
.contact-card dd { margin: 2px 0 18px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.7; }
.contact-card dd:last-child { margin-bottom: 0; }
.contact-card a { color: var(--mint); }
.contact-cols { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 900px) { .contact-cols { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; } }
.contact-panel { border-radius: var(--r-lg); padding: 28px 24px; background: var(--paper); box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); }
@media (min-width: 600px) { .contact-panel { padding: 40px; } }
.contact-panel h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 14px; margin-bottom: .6em; }
.contact-panel > p { color: var(--fg-2); font-size: .9375rem; margin-bottom: 0; }
.link-list { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; }
.link-list a { display: block; padding: 14px 30px 14px 0; border-bottom: 1px solid var(--hair); color: var(--fg); text-decoration: none; font-weight: 600; font-size: .9375rem; position: relative; line-height: 1.6; }
.link-list a::after { content: ""; position: absolute; right: 4px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; background: var(--accent); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transition: transform .3s var(--ease); }
.link-list a:hover { color: var(--accent-ink); }
.link-list a:hover::after { transform: translateX(3px); }
.contact-privacy { margin: 24px 0 0; text-align: center; }
.info-note { display: flex; gap: 16px; align-items: center; margin-top: 32px; background: var(--paper-2); border-radius: var(--r); padding: 20px 24px; }
.info-note p { margin: 0; font-size: .9375rem; color: var(--fg-2); }

/* ---------- プレースホルダ（公開前に記入） ---------- */
.ph { background: var(--warn-bg); color: #5C4300; border: 1px dashed var(--warn-line); border-radius: 4px; padding: 0 4px; font-weight: 700; }
.contact-box .ph, .site-footer .ph { background: rgba(232, 185, 59, .18); color: #FFE29A; border-color: rgba(232, 185, 59, .6); }

/* ---------- 固定のお問い合わせ（右端の縦タブ／スマホの下部バー） ---------- */
.side-cta {
  display: none; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40;
  background: rgba(21, 23, 28, .88); color: #fff; text-decoration: none; border-radius: 14px 0 0 14px;
  padding: 20px 12px 18px; writing-mode: vertical-rl; font-weight: 600; letter-spacing: .24em; font-size: .8125rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 32px -8px rgba(0, 0, 0, .35); align-items: center; gap: 12px;
  transition: background-color .3s var(--ease), padding .3s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) { .side-cta { background: rgba(21, 23, 28, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); } }
.side-cta:hover { background: var(--ink); padding-right: 16px; }
.side-cta svg { width: 18px; height: 18px; writing-mode: horizontal-tb; color: var(--mint); }
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(21, 23, 28, .92); border-top: 1px solid rgba(255, 255, 255, .08);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) { .mobile-cta { background: rgba(21, 23, 28, .74); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); } }
.mobile-cta .btn { min-height: 46px; padding: 8px 10px; font-size: .875rem; letter-spacing: .04em; }
.mobile-cta .btn::after { display: none; }
.menu-open .mobile-cta { display: none; }
body.has-mobile-cta { padding-bottom: 68px; }
@media (min-width: 960px) {
  .side-cta { display: inline-flex; }
  .mobile-cta { display: none; }
  body.has-mobile-cta { padding-bottom: 0; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--graphite-3); color: var(--fg-3); padding: 64px 0 36px; font-size: .875rem; border-top: 1px solid rgba(255, 255, 255, .05); }
@media (min-width: 900px) { .site-footer { padding-top: 88px; } }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: 64px; } }
.footer-brand img { width: 120px; margin-bottom: 20px; }
.footer-brand p { margin: 0 0 14px; line-height: 1.9; }
.footer-brand p:first-of-type { color: var(--fg-2); }
.footer-brand a { color: var(--fg-2); }
.footer-sitemap { display: grid; gap: 32px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-sitemap > div:first-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer-sitemap { grid-template-columns: 2fr 1fr 1fr; } .footer-sitemap > div:first-child { grid-column: auto; } }
.footer-sitemap h2 { font-size: .75rem; color: var(--fg-3); letter-spacing: .16em; margin: 0 0 16px; font-weight: 600; }
.footer-sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-sitemap > div:first-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.footer-sitemap a { color: var(--fg-2); text-decoration: none; font-weight: 500; line-height: 1.6; font-size: .875rem; word-break: keep-all; overflow-wrap: anywhere; transition: color .2s; }
.footer-sitemap a:hover { color: #fff; }
.footer-sitemap a[aria-current="page"] { color: var(--mint); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .07); margin: 56px 0 0; padding-top: 24px; font-size: .75rem; font-family: var(--f-en); letter-spacing: .06em; }

/* ---------- 下位ページの見出し（暗い帯） ---------- */
.page-head { --glow-at: 80% -20%; --glow-size: 60% 90%; --grid-size: 60% 100%; padding: 40px 0 56px; }
@media (min-width: 900px) { .page-head { padding: 48px 0 96px; } }
.page-head h1 { font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem); margin: 0 0 14px; }
.page-head .en { display: flex; margin: 48px 0 18px; }
@media (min-width: 900px) { .page-head .en { margin-top: 72px; } }
.page-head p { color: var(--fg-2); margin: 0; max-width: 720px; }
.breadcrumb { font-size: .8125rem; color: var(--fg-3); letter-spacing: .04em; }
.breadcrumb a { color: var(--fg-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; color: var(--fg-3); opacity: .7; }
.breadcrumb [aria-current="page"] { color: var(--fg-3); }
.draft-banner { background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); color: #4A3600; font-weight: 700; text-align: center; padding: 12px 20px; font-size: .9375rem; }

/* 機能ページのヒーロー（暗い帯、画面は少し傾ける） */
.page-hero { --glow-at: 85% 10%; --glow-size: 55% 80%; --grid-size: 60% 90%; padding: 28px 0 64px; }
@media (min-width: 960px) { .page-hero { padding: 40px 0 104px; } }
.page-hero-grid { display: grid; gap: 40px; align-items: center; margin-top: 40px; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; margin-top: 56px; } }
.page-hero h1 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3.125rem); line-height: 1.4; margin: 0 0 20px; }
.page-hero .en { display: flex; }
.page-hero-lead { color: var(--fg-2); margin-bottom: 24px; text-wrap: pretty; }
.page-hero-visual { min-width: 0; position: relative; }
.page-hero-visual::before {
  content: ""; position: absolute; inset: 5% 0 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 224, 161, .2), rgba(52, 224, 161, 0)); filter: blur(10px);
}
.page-hero-visual .laptop.solo { margin: 0 6%; transform: perspective(2000px) rotateY(-11deg) rotateX(3deg); transform-origin: 40% 50%; }
.page-hero-visual .phone-pair { max-width: 400px; margin: 0 auto; }
.page-hero-visual .paper-stage { max-width: 440px; margin: 0 auto; }
.page-hero-visual .chat-stage { max-width: 470px; margin: 0 auto; }
.page-hero-visual .chat-stage .phone.solo { max-width: 232px; }
.page-hero .image-note { text-align: center; margin-top: 24px; }
.hero-jump { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2);
  text-decoration: none; color: var(--fg); font-weight: 600; font-size: .8125rem; transition: background-color .25s;
}
.hero-jump a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--mint); border-bottom: 1.5px solid var(--mint); transform: translateY(-2px) rotate(45deg); }
.hero-jump a:hover { background: var(--hover); }
.page-hero + .section .chat-stage .phone.solo { max-width: 220px; }

/* 給与：3つの手順・役割分担 */
.flow-steps { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 16px; max-width: 500px; }
.flow-steps li { position: relative; display: flex; gap: 18px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair); }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; left: 44px; bottom: -17px; height: 18px; border-left: 1px dashed rgba(15, 168, 116, .6); }
.flow-steps b { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; line-height: 1.5; }
.flow-steps b small { font-family: var(--f-en); font-size: .75rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .1em; }
.flow-steps b small::before { content: "0"; }
.flow-steps span:not(.flow-icon) { display: block; font-size: .875rem; color: var(--fg-2); line-height: 1.75; margin-top: 2px; }
.role-split { display: grid; gap: 14px; align-items: stretch; max-width: 540px; margin: 0 auto; }
@media (min-width: 600px) { .role-split { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); } }
.role-box { background: var(--paper); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); }
.role-box.is-us { box-shadow: var(--sh-2), inset 0 0 0 1.5px rgba(15, 168, 116, .55); background: linear-gradient(180deg, #F2FBF7, #fff); }
.role-tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--fg-2); margin-bottom: 12px; line-height: 1.7; }
.role-box.is-us .role-tag { color: #fff; background: var(--mint-ink); box-shadow: none; font-family: var(--f-en); font-weight: 700; letter-spacing: .04em; }
.role-box h3 { font-size: 1.125rem; margin: 0 0 10px; }
.role-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.role-box li { position: relative; padding-left: 16px; font-size: .875rem; line-height: 1.75; }
.role-box li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.role-arrow { align-self: center; justify-self: center; width: 18px; height: 18px; background: var(--accent); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transform: rotate(90deg); }
@media (min-width: 600px) { .role-arrow { transform: none; } }

/* 帳票の流れ */
.doc-flow { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 520px; }
@media (min-width: 600px) { .doc-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.doc-flow li { position: relative; background: var(--paper); border-radius: var(--r); padding: 22px 8px 18px; text-align: center; font-weight: 700; font-size: .9375rem; display: grid; justify-items: center; gap: 12px; box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair); }
@media (min-width: 600px) {
  .doc-flow li:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 40px; width: 12px; height: 12px; background: var(--accent); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; }
}
.doc-flow-foot { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }
.doc-flow-foot span { color: var(--accent-ink); background: var(--tint); font-weight: 600; font-size: .8125rem; padding: 4px 14px; border-radius: 999px; }

/* 在庫：対応コード・ラベル */
.code-pills { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.code-pills li { background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-2); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: .8125rem; font-family: var(--f-en), var(--f-jp); }
.label-sheet { max-width: 420px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(16, 24, 40, .12)); }
.label-sheet svg { width: 100%; height: auto; display: block; }

/* チャット：POINT のカード */
.point-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .point-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.point-cards > li { background: var(--paper); border-radius: var(--r-lg); padding: 32px 26px; box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); }
@media (min-width: 900px) { .point-cards > li { padding: 40px 36px; } }
.point-cards .point-label { justify-content: space-between; margin-bottom: 24px; }
.point-cards .icon-circle { margin: 0; }
.point-cards h3 { font-size: 1.25rem; }
.point-cards p { color: var(--fg-2); font-size: .9375rem; margin: 0; }
.point-cards .check-list { margin-top: 20px; }

/* 関連する機能 */
.related { padding: 72px 0 0; background: var(--paper); }
@media (min-width: 900px) { .related { padding-top: 104px; } }
.related-title { font-size: 1.125rem; margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
.related-title::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .related-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.related-list a {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: 16px; background: var(--paper);
  box-shadow: var(--sh-1), inset 0 0 0 1px var(--hair); text-decoration: none; color: var(--fg); font-weight: 600; font-size: .875rem; line-height: 1.5;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.related-list a:hover { transform: translateY(-3px); box-shadow: var(--sh-2), inset 0 0 0 1px rgba(15, 168, 116, .3); }
.related-list span { word-break: keep-all; overflow-wrap: anywhere; }
.rel-icon { width: 38px; height: 38px; border-radius: 11px; }
.rel-icon svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .related-list a { transition: none; } .related-list a:hover { transform: none; } }

/* 規約などの本文 */
.prose { max-width: 820px; padding-top: 56px; padding-bottom: 96px; }
@media (min-width: 900px) { .prose { padding-top: 80px; padding-bottom: 120px; } }
.prose.short { padding-bottom: 72px; }
.prose h2 { font-size: 1.25rem; margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--hair); line-height: 1.55; }
.prose h2:first-of-type { margin-top: 1.6em; }
.prose h3 { font-size: 1.0625rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--fg-2); }
.prose li { margin-bottom: .5em; }
.prose .meta { color: var(--fg-3); font-size: .875rem; }
.prose .toc { background: var(--paper-2); border-radius: var(--r); padding: 26px 30px; margin: 32px 0; }
.prose .toc ol { margin: 0; }
.prose .toc li { margin-bottom: .2em; }
.prose .toc a { color: var(--fg); text-decoration: none; font-size: .9375rem; }
.prose .toc a:hover { color: var(--accent-ink); text-decoration: underline; }
@media (min-width: 800px) { .prose .toc ol { columns: 2; column-gap: 48px; } }
.info-table { width: 100%; border-collapse: collapse; margin: 0 0 40px; border-top: 1px solid var(--hair-2); }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 22px 8px; border-bottom: 1px solid var(--hair-2); overflow-wrap: anywhere; line-height: 1.8; }
.info-table th { width: 28%; color: var(--fg-3); font-weight: 600; font-size: .9375rem; padding-left: 0; }
.info-table td { color: var(--fg); }
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding: 18px 0 2px; }
  .info-table td { padding: 0 0 18px; }
}

/* 404（暗い帯＋繰り返すマーク） */
.notfound { --glow-at: 50% 30%; --glow-size: 60% 60%; --grid-size: 60% 70%; text-align: center; padding: 96px 0 120px; }
@media (min-width: 900px) { .notfound { padding: 136px 0 160px; } }
.notfound-mark { width: 72px; height: 72px; margin: 0 auto 28px; }
.notfound-mark svg { width: 100%; height: 100%; display: block; }
.notfound .code {
  font-family: var(--f-en); font-size: clamp(4rem, 3rem + 4vw, 6rem); font-weight: 700; line-height: 1; margin: 0 0 18px; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 20%, rgba(255, 255, 255, .35)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.notfound h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.notfound p { color: var(--fg-2); }
.notfound .btn-row { justify-content: center; margin-top: 36px; }
.notfound-links { list-style: none; padding: 0; margin: 32px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; font-size: .9375rem; }
.notfound-links a { color: var(--fg-2); }

/* ---------- スクロールで表示（JS があり、動きを減らす設定でないときだけ） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js li.reveal:nth-child(3n+2) { transition-delay: .08s; }
  .js li.reveal:nth-child(3n) { transition-delay: .16s; }
  .js .feature-grid li.reveal:nth-child(4n+2) { transition-delay: .06s; }
  .js .feature-grid li.reveal:nth-child(4n+3) { transition-delay: .12s; }
  .js .feature-grid li.reveal:nth-child(4n) { transition-delay: .18s; }
  .js .feature-grid li.reveal:nth-child(4n+1) { transition-delay: 0s; }
}

/* 短い説明文は行末に1〜2文字だけ残らないように */
.section-head p, .feature-grid p, .feature-grid h3, .steps p, .tile-desc, .strength-grid p, .mini-cards p, .point-cards p, .industry-note, .faq summary, .image-note { text-wrap: balance; }

/* スマホ：トップのヒーロー */
@media (max-width: 599px) {
  .hero h1 { margin: 20px 0 18px; }
  .hero .btn-row .btn { flex: 1 1 140px; }
  .check-tags { gap: 6px 16px; }
  .device-stage { padding: 0 10% 6% 0; }
  .phone { width: 27%; }
}

/* 折り返しの調整 */
.btn { white-space: nowrap; }
.tile-name, .tile-desc, .mini-cards h3, .point-cards h3, .flow-steps b, .doc-flow li, .related-list span, .sub-text b, .contact-panel h2, .security-grid strong { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .btn { padding: 12px 18px; }
  .tile-thumb { aspect-ratio: 16 / 8; }
}
