/* SK's Toolbox の紹介ページ。道具箱のように、小さなアプリが引き出しに並ぶ構成
   ダークモード（assets/site.css と同じ条件）では、下の .tb の変数だけを入れ替える */
.tb {
  --tb-ink: #f4f7fc;
  --tb-surface: #ffffff;
  --tb-line: rgba(15, 22, 40, .08);
  --tb-line-strong: rgba(15, 22, 40, .15);
  --tb-text: #0d1424;
  --tb-muted: #4f5a70;
  --tb-faint: #8b93a6;
  --tb-accent: #2088ff;
  --tb-accent-deep: #002a93;
  --tb-accent-soft: #e4f0ff;
  --tb-accent-text: #0a5bd1;
  --tb-shadow-lg: 0 24px 60px rgba(14, 30, 70, .14);
  --tb-display: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  background: var(--tb-ink);
  color: var(--tb-text);
  position: relative;
}
.tb::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 420px at 90% -5%, rgba(32, 136, 255, .30), transparent 62%),
    radial-gradient(640px 380px at -5% 20%, rgba(0, 42, 147, .12), transparent 60%);
}
.tb .wrap { max-width: 1120px; padding: 0 28px; margin: 0 auto; }
.tb .nb { white-space: nowrap; }
.tb em { font-style: normal; color: var(--tb-accent-text); }

/* ---------- Hero ---------- */
.tb-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 72px 0 56px; }
.tb-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tb-wordmark { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.tb-wordmark img { width: 40px; height: 40px; border-radius: 12px; }
.tb-tag { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--tb-accent-soft); color: var(--tb-accent-text); }
.tb-eyebrow { margin-top: 28px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tb-faint); }
.tb h1 { margin-top: 10px; font-size: clamp(34px, 5vw, 56px); line-height: 1.16; font-weight: 800; letter-spacing: -.03em; }
.tb-lead { margin-top: 22px; font-size: 17px; line-height: 1.85; color: var(--tb-muted); max-width: 560px; }
.tb-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.tb-btn:hover { transform: translateY(-1px); }
.tb-btn svg { width: 18px; height: 18px; }
.tb-btn-accent { background: var(--tb-accent); color: #fff; box-shadow: 0 12px 28px rgba(32, 136, 255, .32); }
.tb-btn-line { background: transparent; color: var(--tb-text); border-color: var(--tb-line-strong); }

/* 引き出し（ヒーローの右側）: 道具箱の中身を並べたもの */
.tb-box { position: relative; background: var(--tb-surface); border-radius: 28px; padding: 22px; box-shadow: var(--tb-shadow-lg); border: 1px solid var(--tb-line); }
.tb-box-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 16px; font-weight: 700; font-size: 14px; color: var(--tb-muted); }
.tb-box-head span { margin-left: auto; font-size: 12px; color: var(--tb-faint); font-weight: 600; }
.tb-box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tb-box-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--tb-text); font-size: 12px; font-weight: 700; }
.tb-box-grid img { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 6px 16px rgba(14, 30, 70, .14); }
.tb-box-foot { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--tb-accent-soft); display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--tb-accent-text); font-weight: 700; }
.tb-box-foot img { width: 36px; height: 36px; border-radius: 10px; flex: none; }

/* ---------- Section 共通 ---------- */
.tb-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tb-faint); }
.tb-h2 { margin-top: 10px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.tb-sub { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--tb-muted); max-width: 640px; }
.tb-drawers, .tb-places, .tb-feat-grid, .tb-privacy-grid { margin-top: 36px; }
.tb-section { padding: 56px 0; }

/* ---------- 引き出しの一覧（ミニアプリ） ---------- */
.tb-drawers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.tb-drawer { --c: var(--tb-accent); display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; padding: 22px; background: var(--tb-surface); border: 1px solid var(--tb-line); border-radius: 22px; text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tb-drawer:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 16px 36px rgba(14, 30, 70, .10); }
.tb-drawer img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 8px 20px rgba(14, 30, 70, .14); }
.tb-drawer h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.tb-drawer p { margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--tb-muted); }
.tb-drawer small { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--c); }

/* ---------- 見せ方（ホーム画面の並び） ---------- */
.tb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tb-split--reverse .tb-split-text { order: 2; }
.tb-phone { margin: 0 auto; width: min(300px, 80%); aspect-ratio: 9 / 18.5; border-radius: 40px; background: #0b1020; padding: 14px; box-shadow: var(--tb-shadow-lg); }
.tb-screen { width: 100%; height: 100%; border-radius: 28px; background: linear-gradient(160deg, #1d4bd6 0%, #0b1f66 100%); padding: 40px 18px 18px; display: flex; flex-direction: column; gap: 18px; }
.tb-screen-time { color: #fff; font-size: 44px; font-weight: 300; text-align: center; letter-spacing: -.02em; }
.tb-screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.tb-screen-grid { justify-items: center; }
.tb-screen-grid img { width: 64px; height: 64px; border-radius: 16px; }
.tb-screen-dock { margin-top: auto; background: rgba(255, 255, 255, .18); border-radius: 22px; padding: 12px 10px; display: flex; justify-content: center; gap: 22px; }
.tb-screen-dock img { width: 56px; height: 56px; border-radius: 14px; }
.tb-points { margin-top: 26px; display: grid; gap: 14px; }
.tb-points li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15px; line-height: 1.75; color: var(--tb-muted); }
.tb-points li b { color: var(--tb-text); }
.tb-points svg { width: 22px; height: 22px; color: var(--tb-accent); margin-top: 3px; }

/* ---------- プライバシー ---------- */
.tb-privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.tb-privacy-card { padding: 26px; border-radius: 22px; background: var(--tb-surface); border: 1px solid var(--tb-line); }
.tb-privacy-card svg { width: 30px; height: 30px; color: var(--tb-accent); }
.tb-privacy-card h3 { margin-top: 16px; font-size: 17px; font-weight: 800; }
.tb-privacy-card p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--tb-muted); }

/* ---------- 最後 ---------- */
.tb-final { text-align: center; padding: 96px 0 104px; }
.tb-final .tb-final-icon { display: block; margin: 0 auto; width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 16px 36px rgba(14, 30, 70, .18); }
.tb-final h2 { margin-top: 22px; font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.tb-final p { margin-top: 12px; color: var(--tb-muted); font-size: 16px; }
.tb-final .tb-cta { justify-content: center; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .tb-hero, .tb-split { grid-template-columns: 1fr; gap: 40px; }
  .tb-split--reverse .tb-split-text { order: 0; }
  .tb-privacy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tb .wrap { padding: 0 16px; }
  .tb-hero { padding: 40px 0 40px; gap: 40px; }
  .tb-drawers { grid-template-columns: 1fr; }
  .tb-section { padding: 40px 0; }
  .tb-final { padding: 72px 0 80px; }
  .tb-drawers, .tb-places, .tb-feat-grid, .tb-privacy-grid { margin-top: 28px; }
  .tb-box-grid { gap: 10px; }
  .tb-box-grid img { width: 52px; height: 52px; }
  .tb h1 { font-size: 34px; }
  .tb .nb { white-space: normal; }
}

/* ---------- 対応している場所・機能（追加分） ---------- */
.tb-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tb-pills span { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--tb-surface); border: 1px solid var(--tb-line); color: var(--tb-muted); }
.tb-pills .tb-pill-soon { border-style: dashed; color: var(--tb-faint); }
.tb-places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.tb-place { display: flex; flex-direction: column; padding: 26px; background: var(--tb-surface); border: 1px solid var(--tb-line); border-radius: 22px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.tb-place:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(14, 30, 70, .10); }
.tb-place--soon { border-style: dashed; background: transparent; }
.tb-place-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--tb-accent-soft); color: var(--tb-accent-text); }
.tb-place-ico svg { width: 24px; height: 24px; }
.tb-place-ico--line { background: #06c755; color: #fff; }
.tb-place-ico--kakao { background: #fee500; color: #3c1e1e; }
.tb-place-status { align-self: flex-start; margin-top: 16px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tb-accent-soft); color: var(--tb-accent-text); }
.tb-place--soon .tb-place-status { background: transparent; border: 1px dashed var(--tb-line-strong); color: var(--tb-faint); }
.tb-place h3 { margin-top: 12px; font-size: 18px; font-weight: 800; }
.tb-place p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--tb-muted); }
.tb-place-list { margin-top: 14px; padding-left: 18px; font-size: 13px; line-height: 1.8; color: var(--tb-muted); }
.tb-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.tb-feat { padding: 24px; background: var(--tb-surface); border: 1px solid var(--tb-line); border-radius: 22px; }
.tb-feat svg { width: 26px; height: 26px; color: var(--tb-accent); }
.tb-feat h3 { margin-top: 14px; font-size: 17px; font-weight: 800; }
.tb-feat p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--tb-muted); }
@media (max-width: 900px) {
  .tb-places, .tb-feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tb-places, .tb-feat-grid { grid-template-columns: 1fr; }
}
