/* APP01専用。共通ページの段数に依存せず、各セクションの役割で指定する。 */
.to-page { --to-ink:#0b1628; --to-muted:#46586f; --to-blue:#1a6dff; --to-teal:#008273; --to-line:#d7e2f0; }
.to-page .to-wrap { width:min(1180px, calc(100% - 40px)); margin-inline:auto; }
.to-page .to-section { padding:64px 0; scroll-margin-top:88px; }
.to-page p { margin:0; }
.to-page .to-section h2 { font-size:30px !important; line-height:1.5 !important; }
.to-page .to-section h3 { font-size:18px !important; }
.to-page .to-lead { max-width:820px; color:var(--to-muted); font-size:16px; line-height:1.9; }
.to-page .to-eyebrow { font-size:12px; font-weight:700; color:#0c52c9; letter-spacing:.08em; margin-bottom:16px; }
.to-page .to-crumb { display:flex; flex-wrap:wrap; gap:6px 12px; padding-block:18px; font-size:12px !important; }
.to-page .to-hero { padding:48px 0 56px; background:radial-gradient(ellipse at 90% 15%,#ebe8fc,transparent 55%),#f8fbff; }
.to-page .to-hero-grid { display:grid; gap:32px; align-items:center; }
.to-page h1 { font-size:32px !important; line-height:1.4 !important; }
.to-page .to-hero-value { font-size:19px; line-height:1.7; font-weight:700; margin-bottom:16px; }
.to-page .to-badges { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0; }
.to-page .to-badges span,.to-page .to-badge { display:inline-block; background:#fff; border:1px solid var(--to-line); border-radius:24px; padding:5px 10px; font-size:12px; font-weight:700; }
.to-page .to-actions { display:flex; flex-wrap:wrap; gap:12px; }
.to-page a.to-btn { display:inline-flex; justify-content:center; align-items:center; gap:14px; min-height:50px; padding:14px 21px; border:1px solid var(--to-blue); border-radius:30px; font-size:15px; line-height:1.5; font-weight:700; text-decoration:none; color:#fff !important; background:var(--to-blue); transition:background .18s ease,box-shadow .18s ease; }
.to-page a.to-btn:hover { background:#0c52c9; box-shadow:0 8px 22px #1a6dff26; }
.to-page a.to-btn--secondary { background:#fff; color:#0c52c9 !important; border-color:#becfe7; }
.to-page a.to-btn--secondary:hover { background:#eaf2ff; }
.to-page a:focus-visible,.to-page summary:focus-visible { outline:3px solid #1364e4; outline-offset:5px; }
.to-page .to-hero-figure { margin:0; }
.to-page .to-hero-figure img { width:100%; height:auto; display:block; border-radius:16px; box-shadow:0 24px 50px #24376320; }
.to-page .to-hero-figure figcaption,.to-page .to-illustration figcaption { display:block !important; color:var(--to-muted); font-size:12px; line-height:1.7; margin-top:14px; }
.to-page .to-before { background:#f7f9fc; }
.to-page .to-before-grid { display:grid; gap:28px; align-items:center; margin-top:32px; }
.to-page .to-illustration { margin:0; }
.to-page .to-illustration img { width:100%; height:auto; display:block; border-radius:20px; }
.to-page .to-problems { display:grid; gap:12px; }
.to-page .to-problem { display:flex; gap:16px; background:white; border:1px solid var(--to-line); border-radius:14px; padding:20px; }
.to-page svg { width:28px; height:28px; flex-shrink:0; color:#0c52c9; }
.to-page .to-problem p { font-size:15px; line-height:1.7; color:var(--to-muted); }
.to-page .to-pain { margin-top:12px; padding:20px 22px; border:1px solid #edd5bd; border-left:4px solid #b86825; border-radius:12px; background:#fff6ed; color:#72472f; font-size:16px; line-height:1.7; }
.to-page .to-pain-label { display:flex; align-items:center; gap:10px; font-weight:500; }
.to-page .to-pain-label svg { width:20px; height:20px; color:#99521e; }
.to-page .to-pain strong { display:block; margin-top:8px; color:var(--to-ink); font-size:24px; font-weight:700; line-height:1.5; }
.to-page .to-pain strong span { display:inline-block; }
.to-page .to-pain strong .to-pain-emphasis { color:#914713; }
.to-page .to-workflow { background:linear-gradient(145deg,#f1fcf9,#ecf5ff); }
.to-page .to-bridge { margin:32px 0; padding:20px; border:1px solid #cbdfe8; border-radius:20px; background:#fff; box-shadow:0 12px 32px #24496006; }
.to-page .to-bridge-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; max-width:560px; margin-inline:auto; }
.to-page .to-bridge h3 { margin:0 0 16px !important; color:var(--to-ink) !important; font-size:18px !important; line-height:1.5 !important; }
.to-page .to-bridge-sources,.to-page .to-bridge-outcomes { list-style:none; margin:0; padding:0; display:grid; }
.to-page .to-bridge-sources { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.to-page .to-bridge-sources li { display:flex; flex-direction:column; align-items:center; gap:6px; margin:0; padding:12px 4px; border-radius:10px; background:#f4f7fb; text-align:center; }
.to-page .to-bridge-sources svg { width:24px; height:24px; color:#405e80; }
.to-page .to-bridge-sources strong { display:block; color:var(--to-ink); font-size:14px; line-height:1.6; }
.to-page .to-bridge-sources span { display:block; margin-top:2px; color:var(--to-muted); font-size:13px; line-height:1.6; }
.to-page .to-connector { display:flex; align-items:center; justify-content:center; height:28px; color:#6140b7; }
.to-page .to-connector svg { width:32px; height:24px; color:inherit; transform:rotate(90deg); }
.to-page .to-bridge-hub { display:flex; align-items:flex-start; gap:14px; padding:20px 16px; border:1px solid #cbb9ee; border-radius:16px; background:linear-gradient(145deg,#f7f3ff,#eee8fb); }
.to-page .to-bridge-hub-icon { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:40px; height:40px; border-radius:12px; background:#fff; color:#6140b7; }
.to-page .to-bridge-hub-icon svg { width:28px; height:28px; color:inherit; }
.to-page .to-bridge-hub-copy { min-width:0; }
.to-page .to-bridge-hub h3 { color:#513099 !important; margin:0 0 8px !important; font-size:20px !important; }
.to-page .to-bridge-hub p { font-size:14px; line-height:1.8; color:#503e71; }
.to-page .to-bridge-hub p span { display:inline-block; }
.to-page .to-bridge-development { display:inline-block; margin-top:14px; padding:4px 8px; border:1px solid #cbb9ee; border-radius:6px; background:#fff; color:#513099; font-size:12px; font-weight:700; line-height:1.6; }
.to-page .to-bridge-outcomes { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.to-page .to-bridge-outcomes li { display:flex; align-items:center; justify-content:center; gap:10px; margin:0; padding:12px; border:1px solid #d1e8e1; border-radius:10px; background:#f0faf6; color:#145e54; font-size:16px; line-height:1.6; font-weight:700; }
.to-page .to-bridge-outcomes svg { width:24px; height:24px; color:#008273; }
.to-page .to-bridge figcaption { display:block !important; padding-top:16px; margin-top:20px; border-top:1px solid #e1e8ee; color:var(--to-muted); font-size:13px; line-height:1.8; }
.to-page .to-steps { list-style:none; margin:32px 0 0; padding:0; display:grid; gap:28px; }
.to-page .to-step { position:relative; list-style:none; margin:0; padding:24px; background:#fff; border:1px solid #c9e3de; border-top:4px solid var(--to-teal); border-radius:16px; }
.to-page .to-step:not(:last-child)::after { content:"↓"; position:absolute; bottom:-30px; left:calc(50% - 9px); color:var(--to-teal); font-size:22px; }
.to-page .to-step-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.to-page .to-step-top svg { width:36px; height:36px; color:var(--to-teal); }
.to-page .to-number { font-size:28px; line-height:1; color:var(--to-teal); font-weight:700; }
.to-page .to-step > p { color:var(--to-muted); font-size:15px; }
.to-page .to-step-detail { border-top:1px solid #e1e9ef; padding-top:16px; margin-top:18px; }
.to-page .to-step-detail strong { font-size:14px; color:var(--to-teal); }
.to-page .to-step-detail p { margin-top:6px; font-size:15px; line-height:1.8; color:var(--to-muted); }
.to-page .to-mini-calendar,.to-page .to-mini-people,.to-page .to-mini-status,.to-page .to-mini-progress { height:110px; margin-top:22px; border:1px solid #dbe8ee; border-radius:10px; padding:14px; background:#f7fbfe; }
.to-page .to-mini-calendar { display:grid; grid-template-columns:repeat(5,1fr); gap:5px; }
.to-page .to-mini-calendar span { background:#e5eef5; border-radius:3px; }
.to-page .to-mini-calendar span:nth-child(3n) { background:#afdcf4; }
.to-page .to-mini-calendar span:nth-child(7n) { background:#88d8c6; }
.to-page .to-mini-people { display:flex; align-content:center; justify-content:center; flex-wrap:wrap; gap:6px; }
.to-page .to-mini-people i { display:block; width:32px; height:32px; border-radius:50%; background:radial-gradient(circle at 50% 35%,#fff 5px,transparent 6px),radial-gradient(ellipse at 50% 100%,#fff 11px,transparent 12px),#91c9e6; }
.to-page .to-mini-people span { width:100%; text-align:center; font-size:12px; color:#435a71; }
.to-page .to-mini-status { display:grid; gap:7px; }
.to-page .to-mini-status span { display:flex; justify-content:space-between; background:white; border-radius:5px; padding:2px 8px; font-size:12px; }
.to-page .to-mini-status b { color:var(--to-teal); }
.to-page .to-mini-progress { display:grid; gap:7px; }
.to-page .to-mini-progress span { font-size:12px; }
.to-page .to-mini-progress i { height:7px; border-radius:8px; background:linear-gradient(90deg,#68bcae 68%,#e0eaf0 68%); }
.to-page .to-mini-progress i:nth-child(3) { background:linear-gradient(90deg,#88bbef 44%,#e0eaf0 44%); }
.to-page .to-mini-progress i:nth-child(4) { background:linear-gradient(90deg,#aaa0d4 85%,#e0eaf0 85%); }
.to-page .to-note { margin-top:20px; font-size:12px; line-height:1.8; color:var(--to-muted); }
.to-page .to-mid-cta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:22px; margin-top:40px; padding:28px; border-radius:18px; background:white; border:1px solid #bbd8e7; }
.to-page .to-mid-cta strong { font-size:18px; }
.to-page .to-mid-cta p { font-size:15px; color:var(--to-muted); margin-top:8px; }
.to-page .to-scope h2 > span { display:block; }
.to-page .to-scope h2 > span > span,.to-page .to-scope-connection > span > span { display:inline-block; }
.to-page .to-scope-diagram { display:grid; gap:12px; margin-top:32px; }
.to-page .to-layer { --to-role:#0c52c9; padding:20px; border:1px solid #c8dbf4; border-top:4px solid var(--to-role); background:#f2f7ff; border-radius:16px; }
.to-page .to-layer-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.to-page .to-layer-header .to-badge { color:var(--to-role); border-color:#bed1ed; }
.to-page .to-layer-header svg { width:30px; height:30px; color:var(--to-role); }
.to-page .to-layer h3 { color:var(--to-ink) !important; font-size:24px !important; line-height:1.4 !important; margin:14px 0 4px !important; }
.to-page .to-layer .to-layer-product { font-size:14px; line-height:1.7; color:var(--to-muted); }
.to-page .to-layer ul { margin:18px 0 0; padding:16px 0 0; border-top:1px solid #cad9ed; list-style:none; display:grid; gap:10px; }
.to-page .to-layer li { display:flex; align-items:baseline; gap:10px; margin:0; list-style:none; font-size:16px; line-height:1.6; color:var(--to-ink); }
.to-page .to-layer li::before { content:""; flex-shrink:0; width:6px; height:6px; border-radius:50%; background:var(--to-role); }
.to-page .to-layer--app { --to-role:#6140b7; border-color:#d6cfec; border-top-color:var(--to-role); background:#f7f4ff; }
.to-page .to-layer--app .to-badge { border-color:#d6c9ed; }
.to-page .to-layer--app ul { border-color:#ddd4ed; }
.to-page .to-layer-link { display:flex; align-items:center; justify-content:center; gap:10px; color:#6140b7; }
.to-page .to-layer-link svg { width:28px; height:28px; color:inherit; transform:rotate(90deg); }
.to-page .to-layer-link span { font-size:13px; font-weight:700; }
.to-page .to-scope-connection { padding-top:8px; text-align:center; }
.to-page .to-scope-connection strong { display:block; font-size:16px; line-height:1.7; color:var(--to-ink); }
.to-page .to-scope-connection > span { display:block; margin-top:4px; color:var(--to-muted); font-size:14px; line-height:1.8; }
.to-page .to-scope-details { margin-top:28px; border:1px solid #becfe7; border-radius:12px; }
.to-page .to-scope-details summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 20px; font-size:16px; line-height:1.7; font-weight:700; cursor:pointer; list-style:none; border-radius:12px; }
.to-page .to-scope-details summary::-webkit-details-marker { display:none; }
.to-page .to-scope-details summary:hover { background:#f2f7ff; }
.to-page .to-scope-toggle { width:26px; height:26px; position:relative; flex-shrink:0; color:#0c52c9; }
.to-page .to-scope-toggle::before,.to-page .to-scope-toggle::after { content:""; position:absolute; left:5px; top:12px; width:16px; height:2px; background:currentColor; }
.to-page .to-scope-toggle::after { transform:rotate(90deg); }
.to-page .to-scope-details[open] .to-scope-toggle::after { display:none; }
.to-page .to-scope-details .to-table-scroll { padding:10px 20px 0; }
.to-page .to-scope-type { display:inline-block; padding:4px 8px; border-radius:5px; background:#eaf2ff; color:#0c52c9; font-size:13px; font-weight:700; line-height:1.6; white-space:nowrap; }
.to-page .to-scope-type--app { color:#6140b7; background:#f0eafa; }
.to-page .to-scope-details td { width:130px; }
.to-page .to-table-scroll { overflow-x:auto; }
.to-page table { width:100%; border-collapse:collapse; font-size:14px; border:0; margin:0 0 20px; }
.to-page caption { text-align:left; font-size:13px; color:var(--to-muted); padding-bottom:12px; }
.to-page th,.to-page td { text-align:left; padding:14px 12px; border:0; border-bottom:1px solid var(--to-line); }
.to-page tbody th { font-weight:400; }
.to-page thead { background:#f2f6fb; }
.to-page td { min-width:105px; }
.to-page .to-scope-note { padding:20px; margin-top:24px; border-left:3px solid #c78d2d; background:#fff9eb; font-size:14px; line-height:1.9; }
.to-page .to-scope-note strong { display:block; margin-bottom:6px; color:var(--to-ink); font-size:15px; line-height:1.7; }
.to-page .to-scope-note > span { display:block; color:var(--to-muted); }
.to-page .to-delivery { background:#f7f9fc; }
.to-page .to-delivery-steps { list-style:none; margin:32px 0 0; padding:0; display:grid; gap:20px; }
.to-page .to-delivery-steps li { list-style:none; margin:0; padding:0 0 0 20px; border-left:2px solid #bfd4ef; }
.to-page .to-delivery-steps span { display:block; color:#0c52c9; font-size:14px; font-weight:700; margin-bottom:8px; }
.to-page .to-delivery-steps p { font-size:15px; line-height:1.8; color:var(--to-muted); }
.to-page .to-final-cta { text-align:center; color:white; background:radial-gradient(ellipse at 90% 10%,#244e91,transparent 60%),#0b1628; }
.to-page .to-final-cta h2 { color:#fff !important; }
.to-page .to-final-cta .to-eyebrow { color:#aacdfc; }
.to-page .to-final-cta p { font-size:16px; }
.to-page .to-final-cta .to-eyebrow { font-size:12px; }
.to-page .to-consult { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; padding:0; margin:24px 0 30px; }
.to-page .to-consult li { list-style:none; margin:0; padding:8px 14px; font-size:14px; border:1px solid #536780; border-radius:8px; background:#ffffff0a; }
.to-page .to-related h2 { font-size:24px !important; }
.to-page .to-related-grid { display:grid; gap:16px; }
.to-page .to-related-grid a { display:block; padding:22px; border:1px solid var(--to-line); border-radius:12px; text-decoration:none; }
.to-page .to-related-grid strong { display:block; color:var(--to-ink); font-size:16px; }
.to-page .to-related-grid span { display:block; margin-top:8px; font-size:14px; }
.to-page .to-related-grid a:hover { background:#f2f7ff; }
/* 内容は初期状態から読める。画面内に入った要素だけ一度アニメーションする。 */
.to-page .to-reveal.is-entering { animation:to-reveal .5s ease both; }
.to-page .to-bridge.is-entering .to-connector { animation:to-connect .6s ease both; }
@keyframes to-reveal { from { opacity:0; translate:0 16px; } to { opacity:1; translate:0 0; } }
@keyframes to-connect { from { opacity:.2; scale:.5 1; } to { opacity:1; scale:1; } }
@media (max-width:599px) {
  .to-page .to-layer { padding:18px; }
  .to-page .to-layer h3 { margin-top:10px !important; }
  .to-page .to-layer ul { margin-top:12px; padding-top:12px; gap:8px; }
  .to-page .to-scope-details th,.to-page .to-scope-details td { padding:12px 6px; }
  .to-page .to-scope-details td { width:105px; }
  .to-page .to-scope-details .to-table-scroll { padding:10px 14px 0; }
  .to-page .to-actions .to-btn,.to-page .to-mid-cta .to-btn { width:100%; }
  .to-page .to-section h2 { font-size:26px !important; }
  .to-page .to-section { padding:52px 0; }
  .to-page .to-step { display:grid; grid-template-columns:90px minmax(0,1fr); column-gap:16px; padding:20px; }
  .to-page .to-step-top,.to-page .to-step h3 { grid-column:1 / -1; }
  .to-page .to-step-top { margin-bottom:12px; }
  .to-page .to-step-top svg { width:28px; height:28px; }
  .to-page .to-number { font-size:24px; }
  .to-page .to-step > p { display:none; }
  .to-page .to-step-detail { grid-column:2; grid-row:3; margin:6px 0 0; padding:0; border:0; }
  .to-page .to-step-detail strong { display:none; }
  .to-page .to-step-detail p { margin:0; }
  .to-page .to-mini-calendar,.to-page .to-mini-people,.to-page .to-mini-status,.to-page .to-mini-progress { grid-column:1; grid-row:3; height:96px; padding:8px; margin:8px 0 0; }
  .to-page .to-mini-people { gap:3px; }
  .to-page .to-mini-people i { width:21px; height:24px; }
  .to-page .to-mini-people span,.to-page .to-mini-status span,.to-page .to-mini-progress span { font-size:10px; }
  .to-page .to-mini-status span { padding:2px; }
  .to-page .to-mid-cta { padding:22px; }
}
@media (min-width:768px) {
  .to-page .to-wrap { width:min(1180px,calc(100% - 64px)); }
  .to-page .to-section { padding:80px 0; }
  .to-page .to-section h2 { font-size:36px !important; }
  .to-page .to-sp { display:none; }
  .to-page .to-hero { padding:72px 0; }
  .to-page .to-hero-grid { gap:36px; }
  .to-page h1 { font-size:38px !important; }
  .to-page .to-before-grid { grid-template-columns:1.15fr 1fr; gap:40px; }
  .to-page .to-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .to-page .to-step::after { display:none; }
  .to-page .to-scope-diagram { grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr); gap:16px; }
  .to-page .to-layer { padding:24px; }
  .to-page .to-layer-link { flex-direction:column; align-self:center; gap:6px; }
  .to-page .to-layer-link svg { width:32px; height:32px; transform:none; }
  .to-page .to-scope-connection { grid-column:1 / -1; padding-top:4px; }
  .to-page .to-delivery-steps { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
  .to-page .to-related-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:1024px) {
  .to-page .to-bridge { padding:28px; }
  .to-page .to-bridge-grid { grid-template-columns:minmax(0,1fr) 32px minmax(0,1.08fr) 32px minmax(0,1fr); gap:18px; align-items:center; max-width:none; }
  .to-page .to-bridge-sources { grid-template-columns:minmax(0,1fr); gap:8px; }
  .to-page .to-bridge-sources li { flex-direction:row; gap:12px; text-align:left; min-height:54px; padding:10px 14px; }
  .to-page .to-bridge-sources li > div { display:flex; flex:1; align-items:center; justify-content:space-between; gap:12px; }
  .to-page .to-bridge-sources strong { font-size:16px; }
  .to-page .to-bridge-sources span { margin:0; font-size:14px; }
  .to-page .to-connector svg { transform:none; }
  .to-page .to-bridge-hub { align-self:stretch; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:24px 16px; text-align:center; }
  .to-page .to-bridge-hub-icon { width:52px; height:52px; border-radius:14px; }
  .to-page .to-bridge-hub-icon svg { width:32px; height:32px; }
  .to-page .to-bridge-outcomes li { flex-direction:column; gap:8px; padding:14px 8px; }
  .to-page .to-bridge figcaption { text-align:center; }
}
@media (min-width:1100px) {
  .to-page .to-pain strong { font-size:28px; }
  .to-page .to-hero-grid { grid-template-columns: .85fr 1.15fr; }
  .to-page h1 { font-size:44px !important; }
  .to-page .to-steps { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
  .to-page .to-step { padding:22px 18px; }
  .to-page .to-step:not(:last-child)::after { content:"→"; display:block; bottom:auto; top:56px; left:auto; right:-22px; }
  .to-page .to-step:nth-child(2).is-entering { animation-delay:.12s; }
  .to-page .to-step:nth-child(3).is-entering { animation-delay:.24s; }
  .to-page .to-step:nth-child(4).is-entering { animation-delay:.36s; }
}
@media (prefers-reduced-motion:reduce) {
  .to-page .to-reveal.is-entering,.to-page .to-bridge.is-entering .to-connector { animation:none; }
  .to-page a.to-btn { transition:none; }
}

/* 同一ページ内の移動だけを滑らかにし、動きを減らす設定を尊重する。 */
@media (prefers-reduced-motion: no-preference) {
  html:has(.velmor-integration-skin.to-page) {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.velmor-integration-skin.to-page) {
    scroll-behavior: auto;
  }
}
