/* ==========================================================================
   Talentwork LP — talentwork.css
   ../assets/css/style.css（共通ヘッダー・フッター）の後に読み込みます。

   デザインの決まりごと
   - 地はクリーム（paper）。ラベンダーとピーチの丸いパネルをはさみ、明るくリズムを作る。黒は使わない（文字は深いプラム）。
   - アクセントはオレンジと紫。大きな数字と標語はオレンジ→紫のグラデーション文字。小さい文字にオレンジは使わない。
   - 書体: 日本語は Zen Maru Gothic、数字と英字は Bricolage Grotesque、英語の見出し飾りは Instrument Serif（イタリック）。
   - カードでレイアウトしない。区切りは余白と細い線（hairline）。
     角丸と影はプロダクトUIの面（.tw-ui / .tw-phone）だけに使う。
   - モチーフ「スレッドと点」: ○ 輪＝AIが聞く ／ ● 黒い点＝店長が返す ／ ● オレンジ＝記録された
   - 緑はLINEのデモ画面の中だけ（送ったメッセージ・ボタン・チェックイン）。LINEで聞いて、オレンジで記録が残る。
   - 動きは 150〜500ms。ずっと動くのは点の行き来（pulse）だけ。reduced-motion では止める。
   ========================================================================== */

.tw-page {
  /* 地と文字（黒は使わない。いちばん濃い色は深いプラム） */
  --tw-paper: #FFF9F2;
  --tw-surface: #FFFFFF;
  --tw-ink: #2B2148;
  --tw-text: #4A4262;
  --tw-mute: #6B6385;
  --tw-faint: #CDC3E6;
  --tw-hair: rgba(43, 33, 72, .1);
  --tw-hair-2: rgba(43, 33, 72, .18);
  /* 色つきのパネル（ラベンダー・ピーチ） */
  --tw-lav: #F1EBFF;
  --tw-lav-2: #E4DAFF;
  --tw-peach: #FFEEDF;
  --tw-peach-2: #FFD9BF;
  --tw-night: var(--tw-lav);
  --tw-on-night: var(--tw-ink);
  --tw-night-mute: var(--tw-mute);
  --tw-night-hair: rgba(108, 75, 244, .16);
  /* アクセント: オレンジと紫 */
  --tw-accent: #FF7F3F;
  --tw-accent-deep: #E2581B;
  --tw-accent-hover: #FF9257;
  --tw-accent-soft: #FFE1CC;
  --tw-accent-tint: #FFF2E8;
  --tw-purple: #6C4BF4;
  --tw-purple-2: #9A82FF;
  --tw-purple-deep: #5634D6;
  --tw-grad: linear-gradient(100deg, #E2581B 0%, #FF7F3F 30%, #A35CF0 70%, #6C4BF4 100%);
  /* デモのLINE画面だけで使う色（ページの地やボタンには使わない） */
  --tw-chat: #A7BBD8;
  --tw-me: #9DE283;
  --tw-line: #06C755;
  --tw-line-dark: #05A949;
  --tw-link: #2F5D8A;

  --tw-font: "Bricolage Grotesque", "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --tw-mono: "Bricolage Grotesque", "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --tw-serif: "Instrument Serif", "Zen Maru Gothic", serif;

  --tw-ease: cubic-bezier(.2, .7, .2, 1);
  --tw-pop: cubic-bezier(.34, 1.4, .64, 1);
  --tw-gutter: 20px;
  --tw-max: 1240px;
  --tw-sec: 112px;
  --tw-head: 72px;
  --tw-inset: 8px;
  --tw-radius: 32px;

  --tw-shadow-ui: 0 0 0 1px rgba(76, 52, 170, .08), 0 2px 4px rgba(76, 52, 170, .05), 0 28px 56px -28px rgba(76, 52, 170, .34);
  --tw-shadow-float: 0 0 0 1px rgba(76, 52, 170, .08), 0 6px 14px rgba(76, 52, 170, .08), 0 40px 80px -32px rgba(76, 52, 170, .45);

  background: var(--tw-paper);
  color: var(--tw-text);
}
@media (min-width: 860px) {
  .tw-page { --tw-gutter: 40px; --tw-sec: 168px; --tw-inset: 16px; --tw-radius: 48px; }
}

/* ----- 共通ヘッダー（このページだけ） ----- */
.tw-page .header {
  background: rgba(246, 244, 239, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--tw-ease);
}
.tw-page .header.is-scrolled { box-shadow: none; border-bottom-color: var(--tw-hair); }
.tw-page .header__btn--yellow { background: transparent; color: var(--tw-ink); box-shadow: inset 0 0 0 1px var(--tw-hair-2); }
.tw-page .header__btn--gradient { background: var(--tw-ink); color: var(--tw-paper); }
@media (max-width: 860px) {
  .tw-page .header__nav { background: var(--tw-paper); }
}

/* ----- 土台 ----- */
.tw {
  font-family: var(--tw-font);
  overflow-x: clip;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
.tw-wrap {
  width: 100%;
  max-width: calc(var(--tw-max) + var(--tw-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--tw-gutter);
}
.tw-section { padding: var(--tw-sec) 0; }
.tw-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tw-nw { white-space: nowrap; }
.tw-wordmark { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.03em; }
.tw-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tw-mark { width: 24px; height: 24px; color: var(--tw-ink); flex: none; }
.tw-br-md { display: none; }
@media (min-width: 860px) { .tw-br-md { display: inline; } .tw-br-sm { display: none; } }

/* 見出しは語の途中で折らない（iPhone の Safari は auto-phrase 非対応のため <wbr> で折る） */
.tw h2, .tw h3, .tw-hero__name, .tw-statement__big, .tw-lane__track li, .tw-compare__note, .tw-val,
.tw-pipe__title, .tw-progress span, .tw-replies__label, .tw-hero__for, .tw-loop__return, .tw-proof__lead {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@supports (word-break: auto-phrase) {
  .tw p { word-break: auto-phrase; }
}

/* ----- 文字のスケール ----- */
.tw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font: 500 12px/1 var(--tw-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tw-mute);
}
.tw-kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.tw-kicker--h { font: 600 13px/1.4 var(--tw-font); letter-spacing: .04em; text-transform: none; }

.tw-d2 {
  margin: 0;
  font-size: clamp(38px, 6.6vw, 84px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
  color: var(--tw-ink);
  font-feature-settings: "palt";
}
.tw-h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.04em;
  color: var(--tw-ink);
  font-feature-settings: "palt";
}
.tw-lead {
  margin: 28px 0 0;
  max-width: 30em;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.95;
  color: var(--tw-text);
}
.tw-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--tw-mute); max-width: 46em; }

/* ----- ボタン ----- */
.tw-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.tw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font: 700 16px/1 var(--tw-font);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .2s var(--tw-ease), box-shadow .2s var(--tw-ease), transform .15s var(--tw-ease), color .2s;
}
.tw-btn:active { transform: scale(.975); }
.tw-btn .tw-icon { transition: transform .25s var(--tw-ease); }
.tw-btn:hover .tw-icon { transform: translateX(3px); }
.tw-btn--primary { background: var(--tw-accent); color: var(--tw-ink); padding-right: 22px; }
.tw-btn--primary:hover { background: var(--tw-accent-hover); }
.tw-btn--ghost { color: var(--tw-ink); box-shadow: inset 0 0 0 1px var(--tw-hair-2); }
.tw-btn--ghost:hover { background: var(--tw-lav); }
.tw a:focus-visible, .tw button:focus-visible { outline: 2px solid var(--tw-accent); outline-offset: 3px; }
.tw-textlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--tw-ease);
}
.tw-textlink:hover { background-size: 100% 1px; }
.tw-textlink .tw-icon { width: 16px; height: 16px; }

/* ----- 出てくる動き（JSがあるときだけ） ----- */
.tw-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .5s var(--tw-ease), transform .5s var(--tw-ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.tw-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   プロダクトUIの部品
   ========================================================================== */
.tw-ui {
  background: var(--tw-surface);
  border-radius: 16px;
  box-shadow: var(--tw-shadow-ui);
  color: var(--tw-ink);
  line-height: 1.6;
}
.tw-ui__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--tw-hair);
  font-size: 14px; font-weight: 700;
}
.tw-ui__bar p { margin: 0; }
.tw-ui__bar .tw-mark { width: 22px; height: 22px; }
.tw-chip {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tw-paper);
  font-size: 12px; font-weight: 500; color: var(--tw-text);
}

/* スマホ（トーク画面） */
.tw-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 620px;
  padding: 7px;
  border-radius: 40px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(108, 75, 244, .14), var(--tw-shadow-float);
  color: var(--tw-ink);
  line-height: 1.6;
}
.tw-phone::before {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 33px;
  background: var(--tw-chat);
}
.tw-phone > * { position: relative; }
.tw-phone__bar {
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 26px 16px 12px;
  border-radius: 33px 33px 0 0;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--tw-hair);
}
.tw-phone__bar .tw-icon { width: 18px; height: 18px; color: var(--tw-mute); }
.tw-phone__title { margin: 0; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.3; }
.tw-phone__title small { display: block; font-size: 10.5px; font-weight: 500; color: var(--tw-mute); }
.tw-phone__title[data-name]::before, .tw-phone__title small[data-name]::before { content: attr(data-name); }
.tw-phone__input {
  display: flex; align-items: center; gap: 8px;
  margin-top: auto;
  padding: 10px 14px 18px;
  border-radius: 0 0 33px 33px;
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid var(--tw-hair);
  font-size: 12px; color: var(--tw-faint);
}
.tw-phone__input .tw-icon { width: 16px; height: 16px; color: var(--tw-mute); }
.tw-phone__input span { flex: 1; padding: 6px 12px; border-radius: 999px; background: var(--tw-paper); }

.tw-chat {
  list-style: none;
  margin: 0;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.tw-chat__divider {
  align-self: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(24, 36, 58, .26);
  font: 500 10.5px/1.6 var(--tw-mono);
  letter-spacing: .02em;
  color: #fff;
}
.tw-msg { display: flex; align-items: flex-start; gap: 7px; flex: none; }
.tw-msg--me { justify-content: flex-end; }
.tw-avatar {
  display: grid; place-items: center;
  width: 28px; height: 28px; flex: none;
  border-radius: 50%;
  background: var(--tw-ink);
}
.tw-avatar .tw-mark { width: 22px; height: 22px; color: #fff; }
.tw-bubble {
  margin: 0;
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--tw-ink);
}
.tw-msg--me .tw-bubble, .tw-bubble--me { border-radius: 16px 4px 16px 16px; background: var(--tw-me); }
.tw-flex {
  flex: 1;
  max-width: 86%;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  overflow: hidden;
  font-size: 12.5px;
  color: var(--tw-ink);
}
.tw-flex__head { display: flex; flex-direction: column; margin: 0; padding: 10px 12px 0; }
.tw-flex__title { font-weight: 700; font-size: 12.5px; }
.tw-flex__sub { font-size: 11px; color: var(--tw-mute); }
.tw-flex__text { margin: 0; padding: 8px 12px 10px; line-height: 1.6; }
.tw-flex__head + .tw-flex__text { padding-top: 4px; }
.tw-flex__btns { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--tw-hair); }
.tw-flex__btn {
  padding: 8px 4px;
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--tw-link);
  transition: background-color .15s var(--tw-ease), color .15s var(--tw-ease);
}
.tw-flex__btn + .tw-flex__btn { border-left: 1px solid var(--tw-hair); }
.tw-flex__btn--picked, .tw-flex__btn.is-pressed { background: var(--tw-line); color: #fff; }
.tw-flex__btns--stack { grid-template-columns: 1fr; }
.tw-flex__btns--stack .tw-flex__btn + .tw-flex__btn { border-left: 0; border-top: 1px solid var(--tw-hair); }
.tw-flex__primary {
  margin: 0 12px 12px;
  padding: 9px 4px;
  border-radius: 8px;
  background: var(--tw-line);
  color: #fff;
  text-align: center;
  font-size: 12.5px; font-weight: 700;
  transition: background-color .15s var(--tw-ease), transform .15s var(--tw-ease);
}
.tw-flex__primary.is-pressed { background: var(--tw-line-dark); transform: scale(.97); }
.tw-flex__rows { margin: 0; padding: 2px 12px 8px; }
.tw-flex__rows div { display: grid; grid-template-columns: 76px 1fr; gap: 6px; padding: 5px 0; border-top: 1px solid var(--tw-hair); font-size: 11.5px; line-height: 1.45; }
.tw-flex__rows dt { color: var(--tw-mute); }
.tw-flex__rows dd { margin: 0; font-weight: 700; }
.tw-flex__action { margin: 0; padding: 9px 4px; border-top: 1px solid var(--tw-hair); text-align: center; font-size: 12px; font-weight: 700; color: var(--tw-link); }

/* リッチメニュー（LINE公式アカウントの下のメニュー） */
.tw-rich { margin-top: auto; border-radius: 0 0 33px 33px; background: #fff; border-top: 1px solid var(--tw-hair); overflow: hidden; }
.tw-rich__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tw-rich__tiles span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 2px 9px; font-size: 10px; font-weight: 700; line-height: 1.2; color: var(--tw-ink); white-space: nowrap; }
.tw-rich__tiles span + span { border-left: 1px solid var(--tw-hair); }
.tw-rich__tiles .tw-icon { width: 20px; height: 20px; color: var(--tw-line); stroke-width: 1.9; }
.tw-rich__bar { margin: 0; padding: 4px 0 12px; border-top: 1px solid var(--tw-hair); text-align: center; font-size: 10px; font-weight: 600; color: var(--tw-mute); }
.tw-rich__bar::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 2px 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }

/* LINEの中で開く画面（チェックイン） */
.tw-phone > .tw-liff {
  position: absolute;
  left: 7px; right: 7px; bottom: 7px;
  z-index: 3;
  height: 60%;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 18px 18px;
  border-radius: 18px 18px 33px 33px;
  background: #fff;
  box-shadow: 0 -12px 32px rgba(15, 25, 45, .22);
}
.tw-liff__head { display: flex; align-items: center; justify-content: space-between; align-self: stretch; margin: 0 -18px; padding: 12px 18px; border-bottom: 1px solid var(--tw-hair); font-size: 12.5px; font-weight: 700; }
.tw-liff__head .tw-icon { width: 16px; height: 16px; color: var(--tw-mute); }
.tw-liff__place { margin: 14px 0 0; font-size: 11.5px; color: var(--tw-mute); }
.tw-liff__done { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: auto 0 0; font-size: 15px; font-weight: 700; }
.tw-liff__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tw-line); color: #fff; }
.tw-liff__check .tw-icon { width: 30px; height: 30px; stroke-width: 2.6; }
.tw-liff__time { margin: 6px 0 auto; font: 500 12px var(--tw-mono); color: var(--tw-mute); }
.tw-js [data-scene] .tw-liff[data-at]:not(.is-on) { transform: translate3d(0, 30%, 0); }

/* スキルの段階: ○ まだ ／ ◐ 練習中 ／ ● 認定 */
.tw-lv {
  position: relative;
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--tw-ink);
  flex: none;
  transition: background-color .4s var(--tw-ease), box-shadow .4s var(--tw-ease);
}
.tw-lv--0 { box-shadow: inset 0 0 0 1.5px var(--tw-faint); }
.tw-lv--1 { background: linear-gradient(90deg, var(--tw-ink) 50%, transparent 50%); }
.tw-lv--2 { background: var(--tw-ink); }
.tw-lv--2.tw-lv--target { background: var(--tw-accent); box-shadow: inset 0 0 0 1.5px var(--tw-accent); }
.tw-lv--target::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--tw-accent);
  opacity: 0;
  pointer-events: none;
}
.tw-lv--target.is-landed::after { animation: tw-ripple 1s var(--tw-ease) 2; }
@keyframes tw-ripple {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}

.tw-matrix { display: grid; font-size: 12.5px; }
.tw-matrix__row {
  display: grid;
  grid-template-columns: 76px repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  min-height: 40px;
  border-bottom: 1px solid var(--tw-hair);
}
.tw-matrix__row > span:first-child { justify-self: start; font-weight: 700; }
.tw-matrix__row--head { min-height: 34px; font-size: 11px; color: var(--tw-mute); }
.tw-matrix__row--head > span:first-child { font-weight: 500; }
.tw-matrix__row--target { background: var(--tw-accent-tint); }
.tw-legend { display: flex; gap: 16px; margin: 12px 0 0; font-size: 11px; color: var(--tw-mute); }
.tw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tw-legend .tw-lv { width: 10px; height: 10px; }

/* ==========================================================================
   1. ヒーロー
   ========================================================================== */
.tw-hero {
  position: relative;
  padding: calc(var(--tw-head) + 40px) 0 72px;
  overflow: clip;
}
.tw-hero__grid { display: grid; gap: 56px; }
.tw-hero__copy { position: relative; z-index: 2; }
.tw-hero__category {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 28px;
  font: 500 12px/1 var(--tw-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tw-text);
}
.tw-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--tw-accent); }
.tw-live::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--tw-accent);
  animation: tw-live 2.8s var(--tw-ease) infinite;
}
@keyframes tw-live {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(2.8); opacity: 0; }
}
.tw-hero__title { margin: 0; color: var(--tw-ink); font-weight: 700; }
.tw-hero__name { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; line-height: 1; }
.tw-hero__name .tw-mark { width: 30px; height: 30px; }
/* 標語の改行位置は site.config.json の taglineBreak（ビルドで <br> にする） */
.tw-hero__tagline {
  display: block;
  word-break: keep-all;
  margin-top: 22px;
  font-size: clamp(60px, 18.5vw, 132px);
  line-height: 1;
  letter-spacing: -.055em;
  font-feature-settings: "palt";
}
.tw-hero__sub {
  margin: 32px 0 0;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.02em;
  color: var(--tw-ink);
}
.tw-hero__for { margin: 10px 0 0; font-size: 15px; color: var(--tw-mute); }

/* 利用シーンのカルーセル（重ねたプロダクトUI） */
.tw-hero__proof { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: 13px; line-height: 1.6; color: var(--tw-text); word-break: keep-all; overflow-wrap: anywhere; }
.tw-hero__proof-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--tw-accent); }
.tw-hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; margin: 0; }
.tw-scenes { position: relative; width: 100%; max-width: 420px; height: 556px; touch-action: pan-y; }
.tw-scene { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .45s var(--tw-ease), visibility 0s linear .45s; }
.tw-scene.is-active { visibility: visible; opacity: 1; transition: opacity .45s var(--tw-ease); }
.tw-scene__art { position: absolute; inset: 36px 0 0; }
.tw-scene__art > * { position: absolute; translate: 0 var(--py, 0px); }

.tw-who {
  left: 2px; top: -30px;
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  font: 500 11px/1 var(--tw-mono);
  letter-spacing: .06em;
  color: var(--tw-text);
  white-space: nowrap;
}
.tw-who i { width: 8px; height: 8px; border-radius: 50%; background: var(--tw-line); }
.tw-who--hq { display: none; }
.tw-who--hq i { background: var(--tw-accent); }

.tw-scene__phone { left: 0; top: 0; width: 252px; height: 500px; z-index: 2; }
.tw-scene__phone .tw-chat { justify-content: flex-end; }

/* 本社の画面（スマホでは結果だけの小さなカード） */
.tw-hq {
  right: 0; top: 0;
  z-index: 3;
  width: 196px;
  padding: 12px 14px 14px;
  box-shadow: var(--tw-shadow-float);
}
.tw-hq--matrix, .tw-hq__side, .tw-hqlist li:not(.tw-hqlist__target), .tw-bars li:not(.tw-bars__target) { display: none; }
.tw-hq__bar { display: flex; flex-direction: column; gap: 2px; }
.tw-hq__title { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.4; }
.tw-hq__meta { margin: 0; font: 500 10px var(--tw-mono); color: var(--tw-mute); }
.tw-stat { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 0; font-family: var(--tw-font); line-height: 1; }
.tw-stat b { font-size: 34px; font-weight: 600; letter-spacing: -.05em; }
.tw-stat span { font-size: 12px; font-weight: 600; color: var(--tw-mute); }
.tw-stat__label { margin: 4px 0 8px; font-size: 10.5px; color: var(--tw-mute); }
.tw-hqlist, .tw-bars { list-style: none; margin: 0; padding: 0; }
.tw-hqlist li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--tw-hair); font-size: 11.5px; }
.tw-hqlist li > span:first-child { font-weight: 700; }
.tw-hqlist li > span:nth-child(2) { font: 500 10.5px var(--tw-mono); color: var(--tw-mute); }
.tw-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.tw-state i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--tw-ink); transition: background-color .4s var(--tw-ease); }
.tw-state--wait i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tw-faint); }
.tw-state--wait { color: var(--tw-mute); }
.tw-bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--tw-hair); font-size: 11px; }
.tw-bars li > span:last-child { font: 600 11px var(--tw-font); }
.tw-bars__track { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 3px; background: var(--tw-hair); overflow: hidden; }
.tw-bars__track i { position: relative; display: block; width: calc(var(--v) * 1%); height: 100%; border-radius: 3px; background: var(--tw-ink); transform-origin: left center; transition: transform .8s var(--tw-ease) .3s, background-color .4s var(--tw-ease); }
.tw-js .tw-scene:not(.is-active) .tw-bars__track i { transform: scaleX(0); }
.tw-scene.is-landed .tw-bars__target .tw-bars__track i,
.tw-scene.is-landed .tw-hqlist__target .tw-state i { background: var(--tw-accent); }
.tw-hqlist__target, .tw-bars__target { transition: background-color .5s var(--tw-ease); }
.tw-scene.is-landed .tw-hqlist__target, .tw-scene.is-landed .tw-bars__target { background: var(--tw-accent-tint); }
.tw-state i::after, .tw-bars__track i::after { content: none; }

.tw-notif {
  z-index: 3;
  right: 0; top: 0;
  width: 204px;
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: var(--tw-shadow-float);
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tw-notif__who { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 11px; font-weight: 700; }
.tw-notif__who .tw-mark { width: 18px; height: 18px; }
.tw-notif__who time { margin-left: auto; font: 500 10px var(--tw-mono); color: var(--tw-mute); }
.tw-notif__text { margin: 6px 0 0; font-size: 12px; line-height: 1.6; }
.tw-notif__reply {
  display: table;
  margin: 8px 0 0 auto;
  padding: 4px 10px;
  border-radius: 12px 4px 12px 12px;
  background: var(--tw-me);
  font-size: 11.5px;
}
.tw-record {
  z-index: 4;
  right: 0; bottom: 8px;
  width: 208px;
  padding: 14px 16px 10px;
  box-shadow: var(--tw-shadow-float);
}
.tw-record__head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 700; }
.tw-record__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tw-accent); }
.tw-record__rows { margin: 0; font-size: 12px; }
.tw-record__rows div { display: grid; grid-template-columns: 52px 1fr; gap: 6px; padding: 5px 0; border-top: 1px solid var(--tw-hair); }
.tw-record__rows dt { color: var(--tw-mute); font-size: 11px; }
.tw-record__rows dd { margin: 0; font-weight: 600; }
.tw-scene__thread { display: none; }
.tw-thread { fill: none; stroke: var(--tw-accent); stroke-width: 1.5; stroke-linecap: round; }
.tw-thread__end { fill: var(--tw-accent); }

/* シーンの切り替え */
.tw-scenetabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%; max-width: 420px;
  margin-top: 22px;
}
.tw-scenetabs__tab {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  min-width: 0;
  padding: 12px 0 0;
  border: 0; background: none;
  text-align: left;
  font-family: var(--tw-font);
  color: var(--tw-mute);
  cursor: pointer;
  transition: color .25s var(--tw-ease);
}
.tw-scenetabs__tab::before, .tw-scenetabs__tab::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 1px; }
.tw-scenetabs__tab::before { right: 0; background: var(--tw-hair); }
.tw-scenetabs__tab::after { width: 0; background: var(--tw-ink); }
.tw-scenetabs__tab:hover, .tw-scenetabs__tab[aria-selected="true"] { color: var(--tw-ink); }
.tw-scenetabs__tab[aria-selected="true"]::after { width: 100%; }
.tw-hero__visual.is-auto .tw-scenetabs__tab[aria-selected="true"]::after { animation: tw-fill var(--dur, 8s) linear both; }
.tw-hero__visual.is-hold .tw-scenetabs__tab[aria-selected="true"]::after { animation-play-state: paused; }
.tw-scenetabs__no { font: 500 10.5px/1 var(--tw-mono); color: var(--tw-mute); }
.tw-scenetabs__tab b { font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.tw-scenetabs__cap { display: none; font-size: 11.5px; line-height: 1.5; color: var(--tw-mute); }
.tw-scenetabs__tab:focus-visible { outline-offset: 4px; border-radius: 4px; }
.tw-hero__tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 420px; margin-top: 12px; }
.tw-hero__note { margin: 0 0 0 auto; font-size: 11px; color: var(--tw-mute); }
.tw-pause {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px;
  border: 0; border-radius: 999px;
  background: transparent;
  font: 500 11px/1 var(--tw-mono);
  letter-spacing: .04em;
  color: var(--tw-mute);
  cursor: pointer;
  transition: color .2s, background-color .2s;
}
.tw-pause:hover { color: var(--tw-ink); background: var(--tw-lav); }
.tw-pause .tw-icon { width: 13px; height: 13px; }
.tw-pause[hidden] { display: none; }

/* 再生の動き（JSがあるとき） */
.tw-js [data-scene] [data-at] { transition: opacity .45s var(--tw-ease), transform .45s var(--tw-ease); }
.tw-js [data-scene] [data-at]:not(.is-on) { opacity: 0; transform: translate3d(0, 10px, 0); }
.tw-js [data-scene] .tw-notif[data-at]:not(.is-on) { transform: translate3d(0, -10px, 0) scale(.98); }
.tw-js [data-scene] .tw-record[data-at]:not(.is-on) { transform: translate3d(-24px, 12px, 0) scale(.96); }
.tw-js [data-scene] .tw-msg--me[data-at]:not(.is-on) { transform: translate3d(0, 6px, 0) scale(.96); transform-origin: right bottom; }
.tw-js [data-scene] .tw-scene__thread[data-at] { transform: none; }
.tw-js [data-scene] .tw-thread { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset .6s var(--tw-ease) .2s; }
.tw-js [data-scene] .tw-scene__thread.is-on .tw-thread { stroke-dashoffset: 0; }
.tw-scene.is-landed .tw-hq .tw-lv--target { background: var(--tw-accent); box-shadow: inset 0 0 0 1.5px var(--tw-accent); }
.tw-scene.is-landed .tw-matrix__row--target { background: var(--tw-accent-tint); }
.tw-hq .tw-matrix__row--target { background: transparent; transition: background-color .5s var(--tw-ease); }

.tw-msg { position: relative; }
.tw-typing { display: none; }
.tw-js [data-scene] .tw-msg.is-typing { opacity: 1; transform: none; }
.tw-msg.is-typing > :not(.tw-avatar):not(.tw-typing) { visibility: hidden; }
.tw-msg.is-typing .tw-typing {
  position: absolute; left: 35px; top: 0;
  display: inline-flex; gap: 4px; align-items: center;
  height: 30px; padding: 0 12px;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
}
.tw-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--tw-mute); animation: tw-typing 1s var(--tw-ease) infinite; }
.tw-typing i:nth-child(2) { animation-delay: .15s; }
.tw-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tw-typing { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

@media (min-width: 700px) {
  .tw-scenes { width: 720px; max-width: none; height: 666px; }
  .tw-who--hq { display: inline-flex; left: 556px; top: 534px; }
  .tw-hq, .tw-hq--matrix {
    display: grid;
    grid-template-columns: 56px 1fr;
    left: 236px; top: 92px; right: auto; bottom: auto;
    width: 540px; height: 430px;
    padding: 0;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--tw-shadow-ui);
  }
  .tw-hq__side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; border-right: 1px solid var(--tw-hair); background: #FAF8FF; }
  .tw-hqlist li:not(.tw-hqlist__target), .tw-bars li:not(.tw-bars__target) { display: grid; }
  .tw-hq__logo { width: 26px; height: 26px; margin-bottom: 10px; }
  .tw-hq__nav { width: 22px; height: 5px; border-radius: 3px; background: var(--tw-hair); }
  .tw-hq__nav.is-on { background: var(--tw-purple); }
  .tw-hq__main { min-width: 0; padding: 0 24px 18px 92px; }
  .tw-hq__bar { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 20px 0 12px; }
  .tw-hq__title { font-size: 16px; letter-spacing: -.01em; }
  .tw-hq__meta { font-size: 11px; }
  .tw-stat b { font-size: 52px; }
  .tw-stat span { font-size: 14px; }
  .tw-stat__label { margin: 6px 0 16px; font-size: 12px; }
  .tw-hqlist li { padding: 10px 8px; margin: 0 -8px; font-size: 12.5px; }
  .tw-bars li { grid-template-columns: 116px 1fr 40px; gap: 10px; padding: 9px 8px; margin: 0 -8px; font-size: 12px; }
  .tw-bars li > span:first-child { white-space: nowrap; }
  .tw-bars__track { grid-column: auto; grid-row: auto; height: 8px; }
  .tw-bars li > span:last-child { text-align: right; font-size: 12px; }
  .tw-scene__phone { left: 8px; top: 0; width: 300px; height: 620px; }
  .tw-scene__phone .tw-chat { justify-content: flex-start; }
  .tw-notif { left: 372px; right: auto; top: 22px; width: 292px; padding: 14px 16px; }
  .tw-notif__text { font-size: 13px; }
  .tw-record { left: 250px; right: auto; bottom: auto; top: 404px; width: 264px; }
  .tw-js .tw-scene__thread { display: block; left: 0; top: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
  .tw-scenetabs, .tw-hero__tools { max-width: 720px; }
  .tw-scenetabs { gap: 16px; }
  .tw-scenetabs__tab b { font-size: 14px; }
  .tw-scenetabs__cap { display: block; }
}
@media (min-width: 1100px) {
  .tw-hero { min-height: 100svh; display: flex; align-items: center; padding-bottom: 72px; }
  .tw-hero > .tw-wrap { width: 100%; }
  .tw-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
  .tw-hero__tagline { font-size: clamp(96px, 9vw, 128px); }
  .tw-hero__visual { align-items: flex-start; }
}
@media (max-width: 699px) {
  .tw-ctas .tw-btn { flex: 1 1 auto; }
}
/* 背の低いスマホでも、最初の画面にボタンまで入れる */
@media (max-width: 699px) and (max-height: 700px) {
  .tw-hero { padding-top: calc(var(--tw-head) + 20px); }
  .tw-hero__category { margin-bottom: 16px; }
  .tw-hero__tagline { margin-top: 12px; font-size: min(17vw, 132px); }
  .tw-hero__sub { margin-top: 18px; font-size: 18px; }
  .tw-hero__for { margin-top: 6px; font-size: 13.5px; }
  .tw-hero .tw-ctas { margin-top: 22px; }
  .tw-hero .tw-btn { min-height: 50px; }
}
@media (max-width: 359px) {
  .tw-scenes { height: 516px; }
  .tw-scene__phone { width: 224px; height: 460px; }
  .tw-notif { width: 176px; }
  .tw-record, .tw-hq { width: 180px; }
  .tw-scenetabs { gap: 6px; }
  .tw-scenetabs__tab b { font-size: 12px; }
}

/* ==========================================================================
   2. ステートメント
   ========================================================================== */
.tw-statement { padding: 120px 0 var(--tw-sec); }
.tw-statement__big {
  margin: 0;
  font-size: clamp(36px, 6.6vw, 92px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.05em;
  color: var(--tw-ink);
  font-feature-settings: "palt";
}
.tw-statement__big > span { transition: color .5s var(--tw-ease); }
.tw-js .tw-statement__big[data-ink] > span:not(.is-lit) { color: var(--tw-faint); }
.tw-statement__paren { font-size: .44em; letter-spacing: -.01em; font-weight: 600; vertical-align: .3em; margin: 0 .2em; }
.tw-statement__small {
  margin: 48px 0 0;
  max-width: 28em;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.8;
  color: var(--tw-text);
}
@media (min-width: 860px) {
  .tw-statement { min-height: 92svh; display: flex; align-items: center; }
  .tw-statement > .tw-wrap { width: 100%; }
  .tw-statement__small { margin-left: auto; padding-left: 28px; border-left: 2px solid var(--tw-accent); }
}

/* ==========================================================================
   3. 課題
   ========================================================================== */
.tw-problems { border-top: 1px solid var(--tw-hair); }
.tw-problems__grid { display: grid; gap: 56px; }
.tw-crowd {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0 0 56px;
  height: 200px;
}
.tw-crowd__hr {
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding-right: 24px;
  border-right: 1px solid var(--tw-hair-2);
}
.tw-crowd__dots { display: flex; gap: 8px; }
.tw-crowd__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--tw-accent); }
.tw-crowd__label { font: 500 11px/1.4 var(--tw-mono); letter-spacing: .06em; color: var(--tw-mute); white-space: nowrap; }
.tw-crowd__stores { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-left: 24px; overflow: hidden; }
.tw-crowd__field {
  position: absolute; left: 24px; top: 0;
  width: calc(100% - 24px); height: calc(100% - 28px);
  fill: var(--tw-ink);
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
  mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.tw-js .tw-crowd .tw-crowd__field { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--tw-ease) .2s; }
.tw-js .tw-crowd.is-in .tw-crowd__field { clip-path: inset(0 0 0 0); }

.tw-issues { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tw-hair-2); }
.tw-issue {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 8px;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--tw-hair);
}
.tw-issue__no { grid-row: span 2; font: 500 13px/2.1 var(--tw-mono); color: var(--tw-mute); }
.tw-issue__title { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.45; letter-spacing: -.025em; color: var(--tw-ink); }
.tw-issue__body { margin: 12px 0 0; max-width: 34em; font-size: 15.5px; line-height: 1.95; }
.tw-problems .tw-d2 { font-size: clamp(28px, 8.2vw, 48px); }
@media (min-width: 1000px) { .tw-problems .tw-d2 { font-size: clamp(40px, 3.9vw, 56px); } }
@media (min-width: 1000px) {
  .tw-problems__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .tw-problems__head { position: sticky; top: calc(var(--tw-head) + 56px); }
  .tw-crowd { height: 240px; margin-top: 8px; }
}

/* ==========================================================================
   4. 従来のタレマネとの違い
   ========================================================================== */
.tw-compare-sec { background: var(--tw-surface); }
.tw-compare-sec__head { display: grid; margin-bottom: 72px; }
@media (min-width: 1000px) {
  .tw-compare-sec__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 64px; align-items: end; }
  .tw-compare-sec__head .tw-kicker { grid-column: 1 / -1; justify-self: start; }
  .tw-compare-sec__head .tw-lead { margin: 0; }
}

.tw-lanes { margin: 0 0 96px; border-top: 1px solid var(--tw-hair-2); }
.tw-lane { position: relative; display: grid; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--tw-hair); }
.tw-lane__label { margin: 0; font-size: 14px; font-weight: 700; color: var(--tw-ink); }
.tw-lane--legacy .tw-lane__label { color: var(--tw-mute); }
.tw-lane__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0; padding: 0;
  font-size: 14px;
  line-height: 1.5;
}
.tw-lane__track::before {
  content: "";
  position: absolute; left: 7px; right: 33%; top: 7px;
  border-top: 1.5px solid var(--tw-ink);
}
.tw-lane--legacy .tw-lane__track::before { border-top: 1.5px dashed var(--tw-faint); }
.tw-lane__track li { position: relative; display: flex; flex-direction: column; gap: 14px; padding-right: 10px; color: var(--tw-ink); font-weight: 600; }
.tw-lane--legacy .tw-lane__track li { color: var(--tw-mute); font-weight: 500; }
.tw-lane__track i { position: relative; width: 15px; height: 15px; border-radius: 50%; background: var(--tw-surface); }
.tw-lane--legacy .tw-lane__track i { border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--tw-faint); }
.tw-lane--tw li:nth-child(1) i { box-shadow: inset 0 0 0 2px var(--tw-ink); }
.tw-lane--tw li:nth-child(2) i { background: var(--tw-ink); }
.tw-lane--tw li:nth-child(3) i { background: var(--tw-accent); }
.tw-lane__pulse { display: none; }
@media (min-width: 860px) {
  .tw-lane { grid-template-columns: 220px 1fr; align-items: start; padding: 36px 0; }
  .tw-lane__label { line-height: 1.2; }
  .tw-lane__track { font-size: 16px; }
  .tw-lane__pulse {
    display: block;
    position: absolute;
    left: 220px; top: 39px;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--tw-accent);
    opacity: 0;
  }
  @media (prefers-reduced-motion: no-preference) {
    .tw-lane--tw.is-in .tw-lane__pulse { animation: tw-lane 3.6s var(--tw-ease) .6s infinite; }
  }
}
@keyframes tw-lane {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(calc((100cqw - 220px) * .667)); opacity: 0; }
}
.tw-lanes { container-type: inline-size; }

/* 比較表 */
.tw-compare { width: 100%; border-collapse: collapse; }
.tw-compare thead th { padding: 0 20px 18px; text-align: left; font-size: 14px; font-weight: 700; vertical-align: bottom; }
.tw-compare thead .tw-compare__legacy { color: var(--tw-mute); }
.tw-compare thead .tw-compare__tw { color: var(--tw-ink); }
.tw-compare thead .tw-compare__tw .tw-mark { width: 22px; height: 22px; vertical-align: -6px; margin-right: 8px; }
.tw-compare tbody th { text-align: left; font-weight: 700; color: var(--tw-ink); }
.tw-compare td, .tw-compare tbody th { border-top: 1px solid var(--tw-hair); }
.tw-compare__tw { background: var(--tw-accent-tint); }
.tw-compare thead .tw-compare__tw { box-shadow: inset 0 3px 0 var(--tw-accent); padding-top: 18px; }
.tw-compare__legacy { color: var(--tw-mute); }
.tw-mark-yes { font-size: 20px; line-height: 1; font-weight: 400; }
.tw-compare__tw .tw-mark-yes { color: var(--tw-ink); }
.tw-val { font-weight: 600; }
.tw-compare__tw .tw-val { color: var(--tw-ink); font-weight: 700; }
.tw-compare__note { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--tw-mute); }
.tw-compare__corner { border: 0; }
@media (max-width: 759px) {
  .tw-compare, .tw-compare tbody { display: block; }
  .tw-compare thead, .tw-compare colgroup { display: none; }
  .tw-compare tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    border-top: 1px solid var(--tw-hair-2);
  }
  .tw-compare tbody th { grid-column: 1 / -1; padding: 18px 0 10px; border: 0; font-size: 16px; line-height: 1.5; }
  .tw-compare td { border: 0; padding: 10px 12px 16px; font-size: 14px; line-height: 1.5; }
  .tw-compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    font: 500 10.5px/1.3 var(--tw-mono);
    letter-spacing: .04em;
    color: var(--tw-mute);
  }
  .tw-compare td.tw-compare__legacy { padding-left: 0; }
  .tw-compare td.tw-compare__tw { box-shadow: inset 0 2px 0 var(--tw-accent); }
}
@media (min-width: 760px) {
  .tw-compare__col-label { width: 40%; }
  .tw-compare__col-legacy { width: 24%; }
  .tw-compare tbody th { padding: 22px 24px 22px 0; font-size: 17px; line-height: 1.5; }
  .tw-compare td { padding: 22px 20px; font-size: 15px; line-height: 1.5; vertical-align: top; }
}
.tw-compare-foot { display: grid; gap: 8px; margin-top: 48px; }
.tw-compare-foot__main { margin: 0; max-width: 36em; font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; line-height: 1.65; letter-spacing: -.02em; color: var(--tw-ink); }

/* ==========================================================================
   5. 仕組み（夜のセクション・スクロールで画面が進む）
   ========================================================================== */
.tw-how { background: var(--tw-night); color: var(--tw-on-night); }
.tw-how .tw-kicker { color: var(--tw-night-mute); }
.tw-how .tw-d2 { color: var(--tw-on-night); font-size: clamp(36px, 5.2vw, 72px); }
.tw-how .tw-lead { color: var(--tw-night-mute); }
.tw-how__intro { display: grid; gap: 56px; margin-bottom: 120px; }
@media (min-width: 1000px) {
  .tw-how__intro { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
}

/* ループの輪 */
.tw-loop { position: relative; width: min(440px, 100% - 72px); margin: 0 auto; aspect-ratio: 1; }
.tw-loop__ring { width: 100%; height: 100%; overflow: visible; }
.tw-loop__track { fill: none; stroke: rgba(108, 75, 244, .3); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.tw-loop__node { fill: #fff; stroke: var(--tw-purple); stroke-width: 2; }
.tw-loop__orbit { transform-origin: 200px 200px; animation: tw-orbit 16s linear infinite; }
.tw-loop__orbit circle { fill: var(--tw-accent); }
@keyframes tw-orbit { to { transform: rotate(360deg); } }
.tw-loop__labels { list-style: none; margin: 0; padding: 0; }
.tw-loop__labels li {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  padding: 4px 8px;
  background: var(--tw-night);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.tw-loop__labels b { font-size: clamp(12px, 1.3vw, 16px); font-weight: 700; color: var(--tw-on-night); }
.tw-loop__labels span { font: 500 10px var(--tw-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tw-night-mute); }
.tw-loop__return {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  margin: 0;
  text-align: center;
  font-size: clamp(12px, 1.25vw, 15px);
  line-height: 1.75;
  color: var(--tw-night-mute);
}

/* ストーリー */
.tw-story { position: relative; display: grid; }
.tw-story__title { margin: 0 0 8px; font: 500 12px/1.4 var(--tw-mono); letter-spacing: .1em; color: var(--tw-night-mute); }
.tw-story__sticky {
  position: sticky;
  top: var(--tw-head);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  padding: 12px 0 18px;
  background: var(--tw-night);
}
.tw-story__sticky::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  height: 36px;
  background: linear-gradient(var(--tw-night), rgba(241, 235, 255, 0));
  pointer-events: none;
}

.tw-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%; max-width: 520px;
  list-style: none;
  margin: 0; padding: 0;
}
.tw-progress::before {
  content: "";
  position: absolute; left: 10%; right: 10%; top: 6px;
  border-top: 1.5px dashed rgba(108, 75, 244, .3);
}
.tw-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tw-progress i {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--tw-night);
  box-shadow: inset 0 0 0 1.5px var(--tw-night-mute);
  transition: background-color .35s var(--tw-ease), box-shadow .35s var(--tw-ease), transform .35s var(--tw-ease);
}
.tw-progress span { font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--tw-night-mute); text-align: center; transition: color .35s var(--tw-ease), opacity .35s var(--tw-ease); }
.tw-progress li.is-done i { background: var(--tw-purple); box-shadow: inset 0 0 0 1.5px var(--tw-purple); }
.tw-progress li.is-now i { background: var(--tw-accent); box-shadow: inset 0 0 0 1.5px var(--tw-accent), 0 0 0 5px rgba(255, 127, 63, .22); transform: scale(1.08); }
.tw-progress li.is-now span { color: var(--tw-on-night); }

.tw-device { position: relative; width: 296px; height: 384px; }
.tw-device .tw-phone { position: absolute; }
.tw-device__manager { left: 0; top: 0; width: 236px; height: 384px; transition: transform .5s var(--tw-ease), opacity .5s var(--tw-ease), filter .5s var(--tw-ease); }
.tw-device__manager .tw-chat { justify-content: flex-end; }
.tw-device__staff {
  left: 82px; top: 26px;
  width: 214px; height: 350px;
  z-index: 3;
  transition: transform .5s var(--tw-ease), opacity .5s var(--tw-ease);
}
.tw-device__staff .tw-chat { justify-content: flex-start; }
.tw-panel {
  position: absolute;
  right: -4px; top: 58px;
  z-index: 2;
  width: 200px;
  padding: 12px 14px;
  box-shadow: var(--tw-shadow-float);
  transition: transform .5s var(--tw-ease), opacity .5s var(--tw-ease);
}
.tw-panel__head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 700; }
.tw-panel__head .tw-mark { width: 20px; height: 20px; }
.tw-panel__rows { list-style: none; margin: 0; padding: 0; font-size: 11.5px; }
.tw-panel__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--tw-hair); }
.tw-panel__row > span:first-child { font-weight: 700; white-space: nowrap; }
.tw-panel__state { display: inline-flex; align-items: center; gap: 6px; color: var(--tw-text); white-space: nowrap; }
.tw-panel__state .tw-lv { width: 10px; height: 10px; }
.tw-panel__row--target { margin: 0 -14px; padding: 6px 14px; background: var(--tw-accent-tint); }
.tw-panel__foot { margin: 6px 0 0; font: 500 10px var(--tw-mono); color: var(--tw-mute); }

/* ステップに応じた画面の状態（JSが data-step を付ける。JSなしは最終状態） */
.tw-panel__state--done, .tw-panel__foot-done { display: none; }
.tw-story:not([data-step]) .tw-panel__state--mid, .tw-story[data-step="5"] .tw-panel__state--mid,
.tw-story:not([data-step]) .tw-panel__foot-mid, .tw-story[data-step="5"] .tw-panel__foot-mid { display: none; }
.tw-story:not([data-step]) .tw-panel__state--done, .tw-story[data-step="5"] .tw-panel__state--done { display: inline-flex; }
.tw-story:not([data-step]) .tw-panel__foot-done, .tw-story[data-step="5"] .tw-panel__foot-done { display: inline; }
.tw-story .is-future { display: none; }
.tw-story .is-entering { animation: tw-enter .42s var(--tw-ease) both; }
@keyframes tw-enter { from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.98); } }
.tw-story:not([data-step]) .tw-device__staff { display: none; }
.tw-story[data-step]:not([data-step="4"]) .tw-device__staff { opacity: 0; transform: translate3d(28px, 0, 0) scale(.97); pointer-events: none; }
/* 記録欄は「まとめる」と「確かめて活かす」のときだけ手前に出る */
.tw-story[data-step="1"] .tw-panel, .tw-story[data-step="3"] .tw-panel, .tw-story[data-step="4"] .tw-panel { opacity: 0; transform: translate3d(0, -12px, 0) scale(.97); }
.tw-story[data-step="4"] .tw-device__manager { transform: translate3d(-18px, 0, 0) scale(.94); opacity: .45; filter: blur(1.5px); }

.tw-steps { list-style: none; margin: 0; padding: 0; }
.tw-step { padding: 28px 0 56px; }
.tw-step__label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 14px; }
.tw-step__no { font: 500 12px var(--tw-mono); color: var(--tw-night-mute); }
.tw-step__ja { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; color: var(--tw-on-night); font-feature-settings: "palt"; }
.tw-step__en { font: 500 11px var(--tw-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tw-night-mute); }
.tw-step__body { margin: 0; max-width: 26em; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.85; color: var(--tw-on-night); }
.tw-step__ex { margin: 18px 0 0; max-width: 30em; padding-left: 16px; border-left: 2px solid rgba(108, 75, 244, .22); font-size: 14px; line-height: 1.9; color: var(--tw-night-mute); }
.tw-step__extag { display: inline-block; margin-right: 8px; font: 500 11px var(--tw-mono); color: var(--tw-accent); }
.tw-js .tw-story[data-step] .tw-step { opacity: .28; transition: opacity .4s var(--tw-ease); }
.tw-js .tw-story[data-step] .tw-step.is-now { opacity: 1; }

@media (max-width: 999px) {
  /* 固定する画面の親をストーリー全体にする（1列のときは親が画面の高さしかないため） */
  .tw-story__stage { display: contents; }
  .tw-story__steps { position: relative; z-index: 1; }
  .tw-step { min-height: 48svh; }
  .tw-step:last-child { min-height: 0; padding-bottom: 24px; }
  .tw-js .tw-story[data-step] .tw-progress li:not(.is-now) span { opacity: 0; }
}
@media (max-width: 359px) {
  .tw-device { width: 272px; }
  .tw-device__manager { width: 220px; }
  .tw-device__staff { left: 72px; width: 200px; }
  .tw-panel { width: 188px; }
  .tw-panel__state { font-size: 10.5px; }
}
@media (max-width: 999px) and (max-height: 640px) {
  /* 低い画面では画面を固定しない */
  .tw-story__sticky { position: relative; top: 0; }
  .tw-story__sticky::after { display: none; }
  .tw-step { min-height: 0; }
}
@media (min-width: 1000px) {
  .tw-story { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
  .tw-story__stage { align-self: stretch; }
  .tw-story__sticky {
    top: calc(var(--tw-head) + 24px);
    height: calc(100svh - var(--tw-head) - 48px);
    min-height: 680px;
    justify-content: center;
    gap: 40px;
    padding: 0;
  }
  .tw-story__sticky::after { display: none; }
  .tw-device { width: 540px; height: 600px; }
  .tw-device__manager { left: 20px; width: 290px; height: 600px; }
  .tw-device__staff { left: 236px; top: 48px; width: 280px; height: 520px; }
  .tw-panel { right: 0; top: 96px; width: 256px; padding: 16px 18px; }
  .tw-panel__row--target { margin: 0 -18px; padding: 6px 18px; }
  .tw-panel__rows { font-size: 12.5px; }
  .tw-story__steps { padding-top: 16vh; }
  .tw-step { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .tw-step:last-child { min-height: 66svh; }
}

.tw-before { margin: 120px 0 0; padding-top: 48px; border-top: 1px solid var(--tw-night-hair); display: grid; gap: 16px; }
.tw-before__tag { margin: 0; font: 500 12px var(--tw-mono); letter-spacing: .1em; color: var(--tw-night-mute); }
.tw-before__text { margin: 0; }
.tw-before__text p { margin: 0; max-width: 30em; font-size: clamp(20px, 2.4vw, 32px); font-weight: 700; line-height: 1.6; letter-spacing: -.03em; color: var(--tw-night-mute); }
.tw-before__now { color: var(--tw-on-night); }
@media (min-width: 860px) {
  .tw-before { grid-template-columns: 220px 1fr; }
}

/* ==========================================================================
   6. 評価・スキル・育成
   ========================================================================== */
.tw-domains__title {
  margin: 0;
  font-size: clamp(64px, 8.6vw, 128px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--tw-ink);
  font-feature-settings: "palt";
}
.tw-domains__word { display: block; transition: color .35s var(--tw-ease); }
.tw-domains__sep { display: none; color: var(--tw-accent); font-weight: 400; }
@media (min-width: 760px) {
  .tw-domains__word { display: inline; }
  .tw-domains__sep { display: inline; }
}
.tw-domains__title.is-tabbed .tw-domains__word { cursor: pointer; color: var(--tw-faint); }
.tw-domains__title.is-tabbed .tw-domains__word:hover { color: var(--tw-mute); }
.tw-domains__title.is-tabbed .tw-domains__word.is-active { color: var(--tw-ink); }
.tw-domains__lead { margin-top: 36px; }

.tw-tabs { margin-top: 72px; }
.tw-tabs__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.tw-tabs__list[hidden] { display: none; }
.tw-tabs__tab {
  position: relative;
  padding: 16px 0 0;
  border: 0;
  background: none;
  text-align: left;
  font: 600 14px/1.4 var(--tw-font);
  color: var(--tw-mute);
  cursor: pointer;
  transition: color .25s var(--tw-ease);
}
.tw-tabs__tab::before, .tw-tabs__tab::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; }
.tw-tabs__tab::before { right: 0; background: var(--tw-hair); }
.tw-tabs__tab::after { width: 0; background: var(--tw-ink); }
.tw-tabs__tab:hover { color: var(--tw-ink); }
.tw-tabs__tab[aria-selected="true"] { color: var(--tw-ink); }
.tw-tabs__tab[aria-selected="true"]::after { width: 100%; }
.tw-tabs.is-auto .tw-tabs__tab[aria-selected="true"]::after { animation: tw-fill var(--tw-auto, 7s) linear both; }
@keyframes tw-fill { from { width: 0; } to { width: 100%; } }

.tw-domain { display: grid; gap: 32px; padding: 40px 0; border-top: 1px solid var(--tw-hair); }
.tw-tabs.is-ready .tw-domain { border-top: 0; padding: 0; }
.tw-tabs.is-ready .tw-domain[hidden] { display: none; }
.tw-domain.is-entering .tw-domain__text, .tw-domain.is-entering .tw-ui { animation: tw-enter .45s var(--tw-ease) both; }
.tw-domain.is-entering .tw-ui { animation-delay: .06s; }
.tw-domain__title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font-size: 22px; font-weight: 700; color: var(--tw-ink); }
.tw-domain__no { font: 500 12px var(--tw-mono); color: var(--tw-mute); }
.tw-domain__text p { margin: 0 0 12px; max-width: 28em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.95; }
.tw-domain .tw-ui { width: 100%; max-width: 560px; }
@media (min-width: 900px) {
  .tw-domain { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .tw-domain .tw-ui { justify-self: end; }
  .tw-tabs.is-ready .tw-domain { min-height: 400px; }
}

.tw-log__list { list-style: none; margin: 0; padding: 4px 0; }
.tw-log__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 14px 18px;
  border-bottom: 1px solid var(--tw-hair);
  font-size: 13.5px;
}
.tw-log__item:last-child { border-bottom: 0; }
.tw-log__item time { font: 500 11.5px var(--tw-mono); color: var(--tw-mute); }
.tw-log__item p { margin: 0; font-weight: 600; }
.tw-log__item small { display: block; font-size: 12px; font-weight: 400; color: var(--tw-mute); }
.tw-log__item > span { font-size: 11.5px; color: var(--tw-mute); }
.tw-log__item--new { background: var(--tw-accent-tint); }
.tw-log__item--new p::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--tw-accent); }
.tw-sheet { padding-bottom: 16px; }
.tw-sheet .tw-matrix, .tw-sheet .tw-legend { margin-left: 18px; margin-right: 18px; }
.tw-sheet .tw-matrix__row { grid-template-columns: 84px repeat(4, minmax(0, 1fr)); min-height: 46px; }
.tw-grow { background: var(--tw-chat); }
.tw-chat--flat { padding: 20px 18px; gap: 12px; }
.tw-chat--flat .tw-flex { max-width: 340px; }

.tw-domains__base { margin: 96px 0 0; padding-top: 32px; border-top: 1px solid var(--tw-hair); max-width: 44em; font-size: 15px; line-height: 1.95; color: var(--tw-mute); }

/* ==========================================================================
   7. 選ぶ理由
   ========================================================================== */
.tw-reasons { background: var(--tw-surface); }
.tw-reasons__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 140px; }
.tw-reason { display: grid; gap: 48px; }
.tw-reason__no { margin: 0 0 20px; font: 500 13px var(--tw-mono); color: var(--tw-mute); }
.tw-reason__title {
  margin: 0;
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.06em;
  color: var(--tw-ink);
  font-feature-settings: "palt";
}
.tw-reason__body { margin-top: 32px; max-width: 30em; }
.tw-reason__body p { margin: 0 0 12px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.95; }
.tw-replies { display: grid; gap: 28px; padding: 32px 24px; border-radius: 20px; background: var(--tw-chat); align-self: center; }
.tw-replies__item { display: grid; gap: 10px; }
.tw-replies__label { margin: 0; font: 500 11px var(--tw-mono); letter-spacing: .06em; color: var(--tw-mute); }
.tw-replies .tw-flex { max-width: 320px; font-size: 14px; }
.tw-replies .tw-flex__text { font-size: 14px; padding: 12px 16px; }
.tw-replies .tw-flex__btn { font-size: 13.5px; padding: 11px 4px; }
.tw-replies .tw-bubble { justify-self: end; font-size: 14px; padding: 10px 16px; max-width: none; }
.tw-js .tw-replies .tw-flex__btn--tap { background: transparent; color: var(--tw-link); transition: background-color .15s var(--tw-ease) .7s, color .15s var(--tw-ease) .7s; }
.tw-js .tw-replies.is-in .tw-flex__btn--tap { background: var(--tw-line); color: #fff; }
.tw-js .tw-replies .tw-bubble--me { opacity: 0; transform: translate3d(0, 6px, 0) scale(.96); transform-origin: right bottom; transition: opacity .35s var(--tw-ease) 1.1s, transform .35s var(--tw-ease) 1.1s; }
.tw-js .tw-replies.is-in .tw-bubble--me { opacity: 1; transform: none; }

.tw-people { margin: 0; }
.tw-people__dots { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.tw-people__dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--tw-faint); }
.tw-people__dots i.is-staff { background: var(--tw-ink); }
.tw-js .tw-people .tw-people__dots i { opacity: 0; transform: scale(.4); transition: opacity .3s var(--tw-ease), transform .3s var(--tw-ease); transition-delay: calc(var(--i, 0) * 14ms); }
.tw-js .tw-people.is-in .tw-people__dots i { opacity: 1; transform: none; }
.tw-people__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 12.5px; color: var(--tw-mute); }
.tw-people__legend span { display: inline-flex; align-items: center; gap: 8px; }
.tw-people__k { width: 10px; height: 10px; border-radius: 50%; }
.tw-people__k--staff { background: var(--tw-ink); }
.tw-people__k--part { background: var(--tw-faint); }
.tw-people__bracket {
  position: relative;
  max-width: 760px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1.5px solid var(--tw-ink);
  font-size: 14px; font-weight: 700; color: var(--tw-ink);
}
.tw-people__bracket::before, .tw-people__bracket::after { content: ""; position: absolute; top: -9px; height: 9px; border-left: 1.5px solid var(--tw-ink); }
.tw-people__bracket::before { left: 0; }
.tw-people__bracket::after { right: 0; }
.tw-people__bracket span { display: inline-flex; align-items: center; gap: 8px; }
.tw-people__bracket span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tw-accent); }
@media (min-width: 1000px) {
  .tw-reason--line { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .tw-reason--price { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: end; }
  .tw-reason--price .tw-people { padding-bottom: 12px; }
  .tw-replies { padding: 44px 40px; }
}

/* ==========================================================================
   8. つなぎ方
   ========================================================================== */
.tw-data__head { display: grid; gap: 40px; margin-bottom: 72px; }
.tw-data__count { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.tw-data__count b { font: 600 clamp(88px, 13vw, 184px)/.86 var(--tw-font); letter-spacing: -.07em; color: var(--tw-ink); }
.tw-data__count b span { color: var(--tw-accent); margin-left: .02em; }
.tw-data__count-label { font: 500 12px var(--tw-mono); letter-spacing: .08em; color: var(--tw-mute); }
@media (min-width: 1000px) {
  .tw-data__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; }
  .tw-data__count { align-items: flex-end; text-align: right; }
}
.tw-pipe { margin: 0; display: grid; justify-items: start; }
.tw-pipe__node { display: flex; align-items: center; gap: 18px; }
.tw-pipe__glyph {
  display: grid; place-items: center;
  width: 64px; height: 64px; flex: none;
  border-radius: 16px;
  background: var(--tw-surface);
  box-shadow: var(--tw-shadow-ui);
}
.tw-pipe__glyph--db { grid-template-rows: repeat(4, 5px); gap: 5px; place-content: center; }
.tw-pipe__glyph--db i { width: 30px; height: 5px; border-radius: 2px; background: var(--tw-hair-2); }
.tw-pipe__glyph--db i:first-child { background: var(--tw-mute); }
.tw-pipe__glyph--tw { background: var(--tw-ink); }
.tw-pipe__glyph--tw .tw-mark { width: 44px; height: 44px; color: #fff; }
.tw-pipe__glyph--people { grid-auto-flow: column; gap: 6px; place-content: center; }
.tw-pipe__glyph--people i { width: 16px; height: 28px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--tw-ink); }
.tw-pipe__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--tw-ink); }
.tw-pipe__title > span:not(.tw-wordmark) { display: block; font-size: 13px; font-weight: 500; color: var(--tw-mute); }
.tw-pipe__node--tw .tw-pipe__title .tw-wordmark { font-size: 20px; }
.tw-pipe__link { position: relative; display: flex; align-items: center; height: 96px; margin-left: 31px; }
.tw-pipe__line { position: relative; width: 1.5px; height: 100%; background: var(--tw-hair-2); }
.tw-pipe__link p { margin: 0 0 0 30px; font: 500 12px/1.4 var(--tw-mono); letter-spacing: .04em; color: var(--tw-mute); }
.tw-pipe__dot { position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; opacity: 0; }
.tw-pipe__dot--r, .tw-pipe__dot--reply { background: var(--tw-ink); }
.tw-pipe__dot--l, .tw-pipe__dot--ask { background: var(--tw-paper); box-shadow: inset 0 0 0 1.5px var(--tw-ink); }
.tw-pipe__link--line .tw-pipe__line { background: var(--tw-ink); }
@media (prefers-reduced-motion: no-preference) {
  .tw-pipe__dot--r, .tw-pipe__dot--ask { animation: tw-down 3.2s var(--tw-ease) infinite; }
  .tw-pipe__dot--l, .tw-pipe__dot--reply { animation: tw-up 3.2s var(--tw-ease) 1.6s infinite; }
}
@keyframes tw-down { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 9px); opacity: 0; } }
@keyframes tw-up { 0% { top: calc(100% - 9px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }
@keyframes tw-right { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes tw-left { 0% { left: calc(100% - 9px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@media (min-width: 1000px) {
  .tw-pipe {
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: start;
    justify-items: stretch;
  }
  .tw-pipe__node { flex-direction: column; align-items: flex-start; gap: 22px; }
  .tw-pipe__node--tw { align-items: center; text-align: center; }
  .tw-pipe__link { flex-direction: column; align-items: stretch; gap: 14px; height: auto; margin: 31px 24px 0; }
  .tw-pipe__line { width: 100%; height: 1.5px; }
  .tw-pipe__link p { margin: 0; text-align: center; }
  .tw-pipe__dot { top: 50%; left: 0; margin: -4.5px 0 0; }
  .tw-pipe__dot--r, .tw-pipe__dot--ask { animation-name: tw-right; }
  .tw-pipe__dot--l, .tw-pipe__dot--reply { animation-name: tw-left; }
}

.tw-data__body { display: grid; gap: 24px; margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--tw-hair); }
.tw .tw-data__lead { word-break: keep-all; overflow-wrap: anywhere; }
.tw-data__lead { margin: 0; max-width: 22em; font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; line-height: 1.6; letter-spacing: -.02em; color: var(--tw-ink); }
.tw-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tw-points li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.8; }
.tw-points .tw-icon { margin-top: 5px; color: var(--tw-accent); stroke-width: 2.2; }
@media (min-width: 1000px) {
  .tw-data__body { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; }
}

/* ==========================================================================
   9. 料金（夜のセクション）
   ========================================================================== */
.tw-pricing { background: var(--tw-night); color: var(--tw-on-night); }
.tw-pricing .tw-kicker { color: var(--tw-night-mute); }
.tw-pricing__grid { display: grid; gap: 72px; }
.tw-price__main { display: flex; align-items: baseline; flex-wrap: wrap; margin: 0; color: var(--tw-on-night); font-family: var(--tw-font); line-height: 1; }
.tw-price__pre { width: 100%; margin-bottom: 8px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; }
.tw-price__num { font-size: clamp(120px, 20vw, 248px); font-weight: 600; letter-spacing: -.07em; line-height: .86; }
.tw-price__unit { margin-left: .12em; font-size: clamp(32px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.04em; }
.tw-price__sub { margin: 32px 0 0; max-width: 30em; font-size: 15px; color: var(--tw-night-mute); }
.tw-price__body { margin: 28px 0 0; max-width: 28em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.9; }
.tw-price__highlight { margin: 20px 0 0; max-width: 28em; padding-left: 18px; border-left: 2px solid var(--tw-accent); font-size: clamp(16px, 1.4vw, 18px); font-weight: 600; line-height: 1.9; }

.tw-costs { width: 100%; border-collapse: collapse; }
.tw-costs caption { padding-bottom: 20px; text-align: left; font-size: 14px; font-weight: 700; color: var(--tw-on-night); }
.tw-costs thead { display: none; }
.tw-costs tbody, .tw-costs tr { display: block; }
.tw-costs tr { padding: 18px 0 20px; border-top: 1px solid var(--tw-night-hair); }
.tw-costs th, .tw-costs td { display: block; padding: 0; text-align: left; }
.tw-costs tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 12px; align-items: baseline; }
.tw-costs td { display: contents; }
.tw-costs tbody th { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--tw-on-night); }
.tw-costs__paren { font-size: 12.5px; font-weight: 500; color: var(--tw-night-mute); }
.tw-costs__val { font: 600 15px/1.4 var(--tw-font); color: var(--tw-night-mute); text-align: right; white-space: nowrap; }
.tw-costs__tw .tw-costs__val { color: var(--tw-on-night); }
.tw-costs__tw th .tw-wordmark { font-size: 17px; }
.tw-range { grid-column: 1 / -1; position: relative; display: block; height: 8px; }
.tw-range::before { content: ""; position: absolute; left: 0; right: 0; top: 3.5px; border-top: 1px solid var(--tw-night-hair); }
.tw-range::after {
  content: "";
  position: absolute; top: 0; height: 8px;
  left: calc(var(--a) / 500 * 100%);
  width: calc((var(--b) - var(--a)) / 500 * 100%);
  border-radius: 4px;
  background: #C9BCEB;
  transform-origin: left center;
  transition: transform .8s var(--tw-ease) .2s;
}
.tw-range--from::after {
  width: calc(90 / 500 * 100%);
  top: 3px; height: 0;
  border-radius: 0;
  background: none;
  border-top: 1.5px dashed var(--tw-accent);
}

.tw-range__dot { position: absolute; top: -1px; left: calc(var(--a) / 500 * 100%); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--tw-accent); }
.tw-js .tw-costs-wrap .tw-range::after { transform: scaleX(0); }
.tw-js .tw-costs-wrap.is-in .tw-range::after { transform: none; }
.tw-costs__axis {
  display: flex; justify-content: space-between;
  margin: 0 0 24px;
  padding-top: 10px;
  border-top: 1px solid var(--tw-night-hair);
  font: 500 10.5px var(--tw-mono);
  color: var(--tw-night-mute);
}
.tw-pricing .tw-note { color: var(--tw-night-mute); }
.tw-pricing__cta { display: grid; gap: 28px; margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--tw-night-hair); }
.tw-pricing__cta-lead { margin: 0; max-width: 30em; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; line-height: 1.8; color: var(--tw-on-night); }
.tw-pricing__cta .tw-btn { justify-self: start; }
@media (min-width: 1000px) {
  .tw-pricing__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 96px; align-items: end; }
  .tw-pricing__cta { grid-template-columns: 1fr auto; align-items: center; gap: 64px; }
}

/* ==========================================================================
   10. 対象と実績
   ========================================================================== */
.tw-proof__record { display: grid; gap: 40px; margin: 56px 0 140px; }
.tw-proof__num {
  margin: 0;
  font: 600 clamp(104px, 22vw, 280px)/.84 var(--tw-font);
  letter-spacing: -.07em;
  color: var(--tw-ink);
}
.tw-proof__field {
  width: 100%;
  max-width: 640px;
  margin-top: 28px;
  aspect-ratio: 70 / 40;
  background-image: radial-gradient(circle, var(--tw-ink) 0 1.1px, transparent 1.4px);
  background-size: calc(100% / 70) calc(100% / 40);
  opacity: .5;
}
.tw-js .tw-proof__figure .tw-proof__field { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s steps(40, end) .3s; }
.tw-js .tw-proof__figure.is-in .tw-proof__field { clip-path: inset(0 0 0 0); }
.tw-proof__statement { margin: 0; max-width: 18em; word-break: keep-all; overflow-wrap: anywhere; font-size: clamp(24px, 2.8vw, 38px); font-weight: 700; line-height: 1.5; letter-spacing: -.035em; color: var(--tw-ink); font-feature-settings: "palt"; }
.tw-proof__text .tw-kicker { margin-bottom: 20px; }
.tw-proof__targets { display: grid; gap: 40px; }
.tw-proof__lead { margin: 0; max-width: 16em; word-break: keep-all !important; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; line-height: 1.55; letter-spacing: -.03em; color: var(--tw-ink); font-feature-settings: "palt"; }
.tw-targets { margin: 0; border-top: 1px solid var(--tw-hair-2); }
.tw-target { display: grid; gap: 8px; padding: 26px 0 28px; border-bottom: 1px solid var(--tw-hair); }
.tw-target dt { font: 500 12px var(--tw-mono); letter-spacing: .06em; color: var(--tw-mute); }
.tw-target dd { margin: 0; max-width: 32em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.9; color: var(--tw-ink); }
@media (min-width: 1000px) {
  .tw-proof__record { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
  .tw-proof__targets { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .tw-target { grid-template-columns: 160px 1fr; gap: 24px; }
  .tw-target dt { padding-top: 6px; }
}

/* ==========================================================================
   11. CTA（夜のセクション）
   ========================================================================== */
.tw-closing {
  position: relative;
  overflow: hidden;
  padding: calc(var(--tw-sec) + 24px) 0 var(--tw-sec);
  background: var(--tw-night);
  color: var(--tw-on-night);
  text-align: center;
}
.tw-closing__threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tw-closing__threads path { fill: none; stroke: rgba(108, 75, 244, .35); stroke-width: 1.6; stroke-dasharray: 2 9; stroke-linecap: round; }
.tw-closing__hub { fill: var(--tw-accent); }
@media (prefers-reduced-motion: no-preference) {
  .tw-closing__threads path { animation: tw-flow 2.4s linear infinite; }
}
@keyframes tw-flow { to { stroke-dashoffset: -22; } }
.tw-closing__inner { position: relative; }
.tw-closing__name { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 32px; font-size: 20px; }
.tw-closing__name .tw-mark { width: 28px; height: 28px; color: var(--tw-on-night); }
.tw-closing__title {
  margin: 0 auto;
  font-size: clamp(30px, 8.6vw, 104px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.055em;
  color: var(--tw-on-night);
  font-feature-settings: "palt";
}
.tw-closing__body { max-width: 32em; margin: 36px auto 0; }
.tw-closing__body p { margin: 0 0 8px; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.9; color: var(--tw-night-mute); }
.tw-ctas--center { justify-content: center; }
.tw-closing__more { margin: 24px 0 0; font-size: 15px; }
.tw-closing__meta { display: grid; gap: 14px; max-width: 760px; margin: 120px auto 0; padding-top: 40px; border-top: 1px solid var(--tw-night-hair); }
.tw-mission { margin: 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--tw-night-mute); }
.tw-mission strong { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: var(--tw-on-night); letter-spacing: -.01em; }
.tw-company, .tw-trademark { margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--tw-night-mute); }
.tw-company .tw-textlink { margin-left: 8px; color: var(--tw-on-night); }

/* ----- スマホの相談ボタン ----- */
.tw-dock { display: none; }
@media (max-width: 859px) {
  .tw-js .tw-dock {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 244, 239, .86);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--tw-hair);
    transform: translate3d(0, 110%, 0);
    transition: transform .35s var(--tw-ease);
  }
  .tw-js .tw-dock.is-on { transform: none; }
  .tw-dock__btn { width: 100%; min-height: 50px; }
}

/* ==========================================================================
   ポップな見た目（書体・色・形）
   明るさとデザイン性: 丸ゴシックの太い見出し、オレンジ→紫のグラデーション文字、
   マーカー、押せる手触りのボタン、斜めのステッカー、丸いパネル。黒は使わない。
   ========================================================================== */
.tw { font-family: var(--tw-font); color: var(--tw-text); }
.tw-hero__tagline, .tw-d2, .tw-h2, .tw-statement__big, .tw-reason__title, .tw-domains__title, .tw-closing__title {
  font-family: "Bricolage Grotesque", "Zen Maru Gothic", sans-serif;
  font-weight: 900;
}
.tw-d2, .tw-h2, .tw-statement__big { letter-spacing: -.03em; }
.tw-hero__sub, .tw-issue__title, .tw-step__ja, .tw-domain__title, .tw-proof__statement, .tw-proof__lead,
.tw-compare-foot__main, .tw-data__lead, .tw-before__text p, .tw-pricing__cta-lead, .tw-mission strong, .tw-pipe__title {
  font-family: "Bricolage Grotesque", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

/* グラデーション文字（標語と大きな数字） */
.tw-hero__tagline, .tw-price__num, .tw-proof__num, .tw-data__count b,
.tw-domains__title.is-tabbed .tw-domains__word.is-active {
  background: var(--tw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.tw-data__count b span { color: inherit; }

/* マーカー */
.tw-hl {
  padding: 0 .04em;
  background: linear-gradient(transparent 60%, var(--tw-peach-2) 60%, var(--tw-peach-2) 94%, transparent 94%) 0 0 / 100% 100% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tw-hl--lav { background-image: linear-gradient(transparent 60%, var(--tw-lav-2) 60%, var(--tw-lav-2) 94%, transparent 94%); }
.tw-js [data-reveal] .tw-hl { background-size: 0% 100%; transition: background-size .7s var(--tw-ease) .35s; }
.tw-js [data-reveal].is-in .tw-hl { background-size: 100% 100%; }

/* セクションの見出しラベル（英語のイタリック＋日本語のピル） */
.tw-kicker {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 14px;
  margin: 0 0 28px;
  font: 700 13px/1 "Zen Maru Gothic", sans-serif;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--tw-purple);
}
.tw-kicker::before { content: none; }
.tw-kicker em { font: italic 400 clamp(28px, 2.8vw, 38px)/1 var(--tw-serif); letter-spacing: -.01em; color: var(--tw-purple); }
.tw-kicker > span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 6px; border-radius: 999px; background: var(--tw-lav); color: var(--tw-purple-deep); }
.tw-kicker > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tw-accent); }
.tw-how .tw-kicker, .tw-pricing .tw-kicker { color: var(--tw-purple); }
.tw-how .tw-kicker > span, .tw-pricing .tw-kicker > span { background: #fff; }

/* ボタン（押すと沈む） */
.tw-btn {
  font: 900 16px/1 "Zen Maru Gothic", sans-serif;
  letter-spacing: .02em;
  transition: transform .18s var(--tw-pop), box-shadow .18s var(--tw-ease), background-color .2s var(--tw-ease);
}
.tw-ctas { margin-top: 40px; padding-bottom: 6px; }
.tw-btn--primary { background: var(--tw-accent); color: var(--tw-ink); box-shadow: 0 5px 0 var(--tw-accent-deep), 0 16px 26px -12px rgba(226, 88, 27, .6); }
.tw-btn--primary:hover { background: var(--tw-accent-hover); transform: translateY(-2px); box-shadow: 0 7px 0 var(--tw-accent-deep), 0 20px 30px -12px rgba(226, 88, 27, .6); }
.tw-btn--primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--tw-accent-deep), 0 6px 12px -8px rgba(226, 88, 27, .6); }
.tw-btn--ghost { background: #fff; color: var(--tw-purple-deep); box-shadow: inset 0 0 0 2px var(--tw-lav-2), 0 5px 0 var(--tw-lav-2); }
.tw-btn--ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--tw-purple-2), 0 7px 0 var(--tw-lav-2); }
.tw-btn--ghost:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--tw-purple-2), 0 1px 0 var(--tw-lav-2); }
.tw-textlink { color: var(--tw-purple-deep); }

/* プロダクトマークとアバター */
.tw-mark { color: var(--tw-purple); }
.tw-avatar { background: var(--tw-grad); }

/* 共通ヘッダー */
.tw-page .header { background: rgba(255, 249, 242, .9); }
.tw-page .header__btn--yellow { background: #fff; color: var(--tw-purple-deep); box-shadow: inset 0 0 0 1.5px var(--tw-lav-2); }
.tw-page .header__btn--gradient { background: var(--tw-purple); color: #fff; }
@media (max-width: 860px) { .tw-page .header__nav { background: var(--tw-paper); } }

/* ----- ヒーロー ----- */
.tw-hero { isolation: isolate; }
.tw-hero::before, .tw-hero::after {
  content: "";
  position: absolute; z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.tw-hero::before { width: 520px; height: 520px; right: -180px; top: -60px; background: radial-gradient(circle, rgba(154, 130, 255, .42), rgba(154, 130, 255, 0) 64%); animation: tw-drift 18s ease-in-out infinite alternate; }
.tw-hero::after { width: 460px; height: 460px; left: -200px; top: 38%; background: radial-gradient(circle, rgba(255, 158, 106, .4), rgba(255, 158, 106, 0) 64%); animation: tw-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes tw-drift { to { transform: translate3d(-36px, 28px, 0) scale(1.08); } }
@media (min-width: 1100px) {
  .tw-hero::before { width: 900px; height: 900px; right: -220px; top: -240px; }
  .tw-hero::after { width: 760px; height: 760px; left: -280px; top: 30%; }
}
.tw-hero__category { gap: 12px; margin-bottom: 24px; font: italic 400 clamp(21px, 2vw, 27px)/1.1 var(--tw-serif); letter-spacing: 0; text-transform: none; color: var(--tw-purple); }
.tw-hero__name { font-size: 24px; color: var(--tw-ink); }
.tw-hero__name .tw-mark { width: 32px; height: 32px; }
.tw-hero__tagline { margin-top: 18px; letter-spacing: -.035em; line-height: 1.04; padding-bottom: .04em; }
.tw-hero__sub { color: var(--tw-ink); }
.tw-hero__for { color: var(--tw-text); }
.tw-hero__head { position: relative; }

/* ステッカー */
.tw-sticker {
  position: absolute; z-index: 6;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px 8px;
  border-radius: 999px;
  font: 900 14px/1 "Zen Maru Gothic", sans-serif;
  letter-spacing: .03em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 12px 24px -12px rgba(76, 52, 170, .55);
  animation: tw-float 5.5s ease-in-out infinite;
}
.tw-sticker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.tw-sticker--a { left: calc(var(--tw-tag, 72px) * 2.95); top: calc(42px + var(--tw-tag, 72px) * .2); rotate: -8deg; background: var(--tw-purple); color: #fff; }
.tw-sticker--b { right: 4px; top: -2px; rotate: 6deg; background: var(--tw-accent); color: var(--tw-ink); animation-delay: -2.5s; }
@keyframes tw-float { 50% { transform: translateY(-5px); } }
.tw-hero__head { --tw-tag: clamp(60px, 18.5vw, 132px); }
@media (max-width: 699px) and (max-height: 700px) { .tw-hero__head { --tw-tag: min(17vw, 132px); } }
@media (min-width: 700px) {
  .tw-sticker--b { right: auto; left: 196px; top: -4px; }
}
@media (min-width: 1100px) {
  .tw-hero__head { --tw-tag: clamp(96px, 9vw, 128px); }
  .tw-sticker { font-size: 15px; padding: 10px 18px 9px; }
}

.tw-statement__small { border-left-color: var(--tw-purple); }
.tw-js .tw-statement__big[data-ink] > span:not(.is-lit) { color: #DDD4F3; }
.tw-scenetabs__tab::after { background: var(--tw-purple); }
.tw-scenetabs__tab[aria-selected="true"] b { color: var(--tw-purple-deep); }
.tw-hq__nav.is-on { background: var(--tw-purple); }
.tw-bars__track i { background: var(--tw-purple-2); }
.tw-state i { background: var(--tw-purple); }

/* ----- 課題 ----- */
.tw-problems { border-top: 0; }
.tw-issue { grid-template-columns: 60px 1fr; }
.tw-issue__no {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--tw-lav);
  font: 800 14px/1 "Bricolage Grotesque", sans-serif;
  color: var(--tw-purple-deep);
}
.tw-issue:nth-child(even) .tw-issue__no { background: var(--tw-peach); color: var(--tw-accent-deep); }
.tw-issues { border-top-color: var(--tw-hair); }
.tw-crowd__field { fill: var(--tw-purple); opacity: .5; }
.tw-crowd__dots i { width: 16px; height: 16px; box-shadow: 0 0 0 6px var(--tw-accent-soft); }

/* ----- 違い ----- */
.tw-compare__tw { background: #F7F3FF; }
.tw-compare thead .tw-compare__tw { box-shadow: inset 0 4px 0 var(--tw-purple); color: var(--tw-purple-deep); border-radius: 14px 14px 0 0; }
.tw-compare__tw .tw-mark-yes { color: var(--tw-purple); font-weight: 900; }
.tw-lane__track::before { border-top-color: var(--tw-purple); border-top-width: 2px; }
.tw-lane--legacy .tw-lane__track::before { border-top: 2px dashed var(--tw-faint); }
.tw-lane--tw li:nth-child(1) i { box-shadow: inset 0 0 0 2.5px var(--tw-purple); }
.tw-lane--tw li:nth-child(2) i { background: var(--tw-purple); }
.tw-lane--tw .tw-lane__label { color: var(--tw-purple-deep); }
@media (max-width: 759px) {
  .tw-compare td.tw-compare__tw { box-shadow: inset 0 3px 0 var(--tw-purple); border-radius: 10px 10px 0 0; }
}

/* ----- 丸いパネル（仕組み・料金・最後のご相談） ----- */
.tw-how, .tw-pricing, .tw-closing { margin-left: var(--tw-inset); margin-right: var(--tw-inset); border-radius: var(--tw-radius); }
.tw-how { background: var(--tw-lav); }
.tw-loop__orbit circle { fill: var(--tw-accent); }
.tw-loop__labels li { background: var(--tw-lav); }
.tw-loop__labels span { color: var(--tw-mute); }
.tw-step__no { color: var(--tw-purple); font-weight: 800; }
.tw-step__extag { color: var(--tw-accent-deep); font-weight: 800; }
.tw-story__title { color: var(--tw-purple); }
.tw-before { border-top-color: rgba(108, 75, 244, .2); }
.tw-before__tag { font: italic 400 26px/1 var(--tw-serif); letter-spacing: 0; color: var(--tw-purple); }

.tw-pricing { --tw-night: var(--tw-peach); --tw-night-hair: rgba(226, 88, 27, .18); background: var(--tw-peach); }
.tw-price__pre { color: var(--tw-ink); }
.tw-price__unit { color: var(--tw-ink); }
.tw-price__highlight { border-left-color: var(--tw-purple); }
.tw-costs__tw th .tw-wordmark { color: var(--tw-purple-deep); }

.tw-closing { background: linear-gradient(125deg, #FFE5D2 0%, #FCE4F1 48%, #E7DCFF 100%); }
.tw-closing__name { color: var(--tw-ink); }
.tw-closing__body p { color: var(--tw-text); }
.tw-closing__meta { border-top-color: rgba(108, 75, 244, .2); }
.tw-closing__hub { fill: var(--tw-accent); }

/* ----- 評価・スキル・育成 ----- */
.tw-domains__title.is-tabbed .tw-domains__word { color: #DDD4F3; }
.tw-domains__title.is-tabbed .tw-domains__word:hover { color: var(--tw-purple-2); }
.tw-domains__sep { color: var(--tw-accent); }
.tw-tabs__list {
  display: inline-grid; grid-auto-flow: column; grid-template-columns: none;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--tw-lav);
}
.tw-tabs__list[hidden] { display: none; }
.tw-tabs__tab {
  padding: 11px 22px 12px;
  border-radius: 999px;
  overflow: hidden;
  font: 700 14px/1 "Zen Maru Gothic", sans-serif;
  color: var(--tw-mute);
  transition: color .2s var(--tw-ease), background-color .2s var(--tw-ease), box-shadow .2s var(--tw-ease);
}
.tw-tabs__tab::before { content: none; }
.tw-tabs__tab::after { left: 18px; right: 18px; top: auto; bottom: 5px; width: auto; height: 2px; background: var(--tw-purple); transform: scaleX(0); transform-origin: left center; }
.tw-tabs__tab[aria-selected="true"] { background: #fff; color: var(--tw-purple-deep); box-shadow: 0 6px 14px -6px rgba(76, 52, 170, .35); }
.tw-tabs__tab[aria-selected="true"]::after { width: auto; }
.tw-tabs.is-auto .tw-tabs__tab[aria-selected="true"]::after { animation: tw-scale var(--tw-auto, 7s) linear both; }
@keyframes tw-scale { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tw-domain__no { color: var(--tw-purple); font-weight: 800; }

/* ----- 選ぶ理由 ----- */
.tw-reason__no { font: italic 400 40px/1 var(--tw-serif); color: var(--tw-purple); }
.tw-people__dots i { background: #FFC9A6; }
.tw-people__dots i.is-staff { background: var(--tw-purple); }
.tw-people__k--staff { background: var(--tw-purple); }
.tw-people__k--part { background: #FFC9A6; }
.tw-people__bracket { border-top-color: var(--tw-purple); color: var(--tw-purple-deep); }
.tw-people__bracket::before, .tw-people__bracket::after { border-left-color: var(--tw-purple); }

/* ----- つなぎ方 ----- */
.tw-pipe__glyph--tw { background: var(--tw-grad); }
.tw-pipe__line { background: rgba(108, 75, 244, .25); }
.tw-pipe__link--line .tw-pipe__line { background: var(--tw-purple); }
.tw-pipe__dot--r, .tw-pipe__dot--reply { background: var(--tw-accent); }
.tw-pipe__dot--l, .tw-pipe__dot--ask { background: #fff; box-shadow: inset 0 0 0 2px var(--tw-purple); }
.tw-pipe__glyph--db i:first-child { background: var(--tw-purple-2); }
.tw-pipe__glyph--people i { box-shadow: inset 0 0 0 2px var(--tw-purple); }
.tw-points .tw-icon { color: var(--tw-purple); }
.tw-data__count-label { font: 700 13px "Zen Maru Gothic", sans-serif; letter-spacing: .04em; color: var(--tw-purple); }

/* ----- 実績 ----- */
.tw-proof__field { background-image: radial-gradient(circle, var(--tw-purple) 0 1.1px, transparent 1.4px); opacity: .5; }

/* ----- スマホの相談ボタン ----- */
@media (max-width: 859px) {
  .tw-js .tw-dock { background: rgba(255, 249, 242, .9); }
}

/* ----- 動きを減らす設定 ----- */
@media (prefers-reduced-motion: reduce) {
  .tw *, .tw *::before, .tw *::after { animation: none !important; transition: none !important; }
  .tw-js [data-reveal] { opacity: 1; transform: none; }
  .tw-js [data-scene] [data-at]:not(.is-on) { opacity: 1; transform: none; }
  .tw-js [data-scene] .tw-thread { stroke-dashoffset: 0; }
  .tw-js .tw-crowd .tw-crowd__field, .tw-js .tw-proof__figure .tw-proof__field { clip-path: none; }
  .tw-js .tw-statement__big[data-ink] > span:not(.is-lit) { color: inherit; }
  .tw-js .tw-people .tw-people__dots i, .tw-js .tw-replies .tw-bubble--me { opacity: 1; transform: none; }
  .tw-js .tw-costs-wrap .tw-range::after { transform: none; }
  .tw-loop__orbit { display: none; }
  .tw-js [data-reveal] .tw-hl { background-size: 100% 100%; }
}

@media print {
  .tw-js [data-reveal], .tw-js [data-scene] [data-at] { opacity: 1 !important; transform: none !important; }
  .tw-dock, .tw-pause { display: none !important; }
}
