/* =========================================================
   MAGNUM SYNC（マグナムシンク）LP
   ========================================================= */
:root {
  --navy: #0b1640;
  --navy-2: #13235e;
  --navy-3: #1d327a;
  --cyan: #22d3ee;
  --teal: #0891b2;
  --orange: #ff7a1a;
  --orange-2: #ff9a3d;
  --pink: #ff4f8b;
  --bg: #f5f8ff;
  --bg-2: #eaf1ff;
  --white: #ffffff;
  --text: #1a2340;
  --muted: #5b6585;
  --line: #d9e2f5;
  --ok: #10b981;
  --ng: #ef4444;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 22, 64, .10);
  --shadow-lg: 0 24px 60px rgba(11, 22, 64, .18);
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border-radius: 0; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.ico { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } .pc-only { display: none; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 16px 32px; border-radius: 6px; border: 0;
  font: 700 1rem/1.3 var(--font-ja); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn .ico { font-size: 1.2em; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 10px 24px rgba(255, 90, 60, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 90, 60, .45); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { color: var(--navy); background: #fff; border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 20px 44px; font-size: 1.15rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- お知らせバー ---------- */
.notice-bar {
  background: var(--navy); color: #cfe9ff; font-size: .82rem; text-align: left;
  padding: 8px 16px; line-height: 1.6;
}
.notice-bar strong { color: var(--cyan); }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-3), var(--teal)); color: #fff; font-size: 22px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font: 800 1.15rem/1.1 var(--font-en); letter-spacing: .04em; color: var(--navy); }
.logo-text small { font-size: .7rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--navy); }
.nav a:hover { color: var(--teal); }
/* PC のヘッダーのメニューには「コラム」「お申込み・お問合せ」を出さない（スマホのメニューとフッターには残す。2026-11-28 のユーザーの指示） */
@media (min-width: 961px) { .nav a[href="/column"], .nav a[href="#apply"], .nav a[href="/#apply"] { display: none; } }
.header .btn { padding: 11px 22px; font-size: .9rem; }
.menu-btn { display: none; background: none; border: 0; font-size: 28px; color: var(--navy); cursor: pointer; padding: 4px; }

@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 16px 24px; border-top: 1px solid var(--line); }
  .menu-btn { display: block; }
  .header .btn-head { display: none; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(34,211,238,.22), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(255,122,26,.16), transparent 60%),
    linear-gradient(160deg, #081033, var(--navy) 50%, #0f1f57);
  padding: 64px 0 80px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-badge-new {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 8px;
  background: rgba(255,79,139,.14); border: 1px solid rgba(255,79,139,.5); font-size: .88rem; font-weight: 700; margin-bottom: 20px;
  text-decoration: none;
}
.hero-badge-new span { background: var(--pink); padding: 3px 10px; border-radius: 8px; font: 800 .72rem/1.4 var(--font-en); }
.hero-eyebrow { font: 700 .9rem/1.4 var(--font-en); letter-spacing: .2em; color: var(--cyan); margin-bottom: 12px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.35; font-weight: 900; letter-spacing: .02em; }
.hero h1 .hl { background: linear-gradient(90deg, var(--cyan), #8be9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 18px; font-size: 1.05rem; color: #c8d6ff; }
.hero-lead b { color: #fff; }
.hero-price { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.price-chip {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
}
.price-chip .ico { font-size: 26px; color: var(--cyan); }
.price-chip small { display: block; font-size: .72rem; color: #a9b8e8; line-height: 1.3; }
.price-chip b { display: block; font-size: 1.15rem; line-height: 1.3; }
.price-chip b em { font-style: normal; font-size: .72rem; font-weight: 500; color: #a9b8e8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta-note { font-size: .8rem; color: #a9b8e8; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.hero-cta-note span { display: inline-flex; align-items: center; gap: 4px; }
.hero-cta-note .ico { color: var(--ok); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); font-weight: 700; font-size: .85rem; line-height: 1.3;
  animation: floaty 4s ease-in-out infinite;
}
.hero-float .ico-wrap { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 18px; }
.hero-float small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); }
.hero-float.f1 { left: -18px; bottom: 14%; }
.hero-float.f1 .ico-wrap { background: var(--ok); }
.hero-float.f2 { right: -12px; top: -18px; animation-delay: -2s; }
.hero-float.f2 .ico-wrap { background: var(--pink); }
@keyframes floaty { 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-float.f1 { left: 8px; }
  .hero-float.f2 { right: 8px; }
}

/* ---------- 対応業種 ---------- */
.industries { background: #fff; padding: 28px 0; border-bottom: 1px solid var(--line); }
.industries-inner { display: flex; align-items: center; gap: 20px; }
.industries-title { flex-shrink: 0; font-weight: 900; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.industries-title .ico { color: var(--teal); font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; background: var(--bg-2); color: var(--navy-2); font-size: .85rem; font-weight: 700; }
.chip .ico { color: var(--teal); }
@media (max-width: 760px) { .industries-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-tint { background: var(--bg-2); }
.section-dark { background: linear-gradient(160deg, #081033, var(--navy) 60%, #0f1f57); color: #fff; }
.sec-head { text-align: left; margin-bottom: 56px; }
.sec-en { font: 800 .85rem/1.4 var(--font-en); letter-spacing: .25em; color: var(--teal); display: block; margin-bottom: 10px; }
.section-dark .sec-en { color: var(--cyan); }
.sec-title { font-size: clamp(1.55rem, 3.2vw, 2.3rem); line-height: 1.45; font-weight: 900; color: var(--navy); }
.section-dark .sec-title { color: #fff; }
.sec-title .mark { background: linear-gradient(transparent 62%, rgba(34,211,238,.45) 62%); }
.sec-title .orange { color: var(--orange); }
.sec-lead { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }
.section-dark .sec-lead { color: #c8d6ff; }
@media (max-width: 640px) { .section { padding: 64px 0; } .sec-head { margin-bottom: 36px; } }

/* ---------- お悩み ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.problem-img img { width: 100%; box-shadow: var(--shadow); }
.problem-list { display: grid; gap: 14px; }
.problem-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 8px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(11,22,64,.05); font-weight: 700;
}
.problem-list .ico-wrap { width: 38px; height: 38px; border-radius: 6px; background: #fff1f1; color: var(--ng); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.problem-list small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.arrow-down { display: flex; flex-direction: column; align-items: flex-start; margin: 56px 0 0; color: var(--navy); text-align: left; }
.arrow-down .tri { width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-top: 28px solid var(--teal); margin-bottom: 18px; }
.arrow-down p { font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 900; line-height: 1.5; }
.arrow-down p b { color: var(--teal); }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 仕組み（フロー） ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.flow-step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 22px 26px; text-align: left; box-shadow: var(--shadow); border: 1px solid var(--line); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%) rotate(45deg);
  border-top: 3px solid var(--teal); border-right: 3px solid var(--teal); z-index: 2;
}
.flow-num { font: 800 .75rem/1 var(--font-en); letter-spacing: .15em; color: var(--teal); }
.flow-ico { width: 72px; height: 72px; margin: 12px 0 14px; border-radius: 6px; display: grid; place-items: center; font-size: 34px; color: #fff; background: linear-gradient(135deg, var(--navy-3), var(--teal)); box-shadow: 0 10px 20px rgba(8,145,178,.3); }
.flow-step:last-child .flow-ico { background: linear-gradient(135deg, var(--orange), var(--pink)); box-shadow: 0 10px 20px rgba(255,90,60,.3); }
.flow-step h3 { font-size: 1.08rem; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.flow-step p { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.flow-badges { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 36px; }
.flow-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 8px; background: #fff; border: 1.5px solid var(--teal); color: var(--navy); font-weight: 700; font-size: .92rem; }
.flow-badges .ico { color: var(--teal); font-size: 1.2em; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow-step:not(:last-child)::after { right: 50%; top: auto; bottom: -20px; transform: translateX(50%) rotate(135deg); display: block; }
}

/* ---------- 新機能：写真サイズ自動最適化 ---------- */
.newfeat { position: relative; overflow: hidden; }
.newfeat::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,79,139,.25), transparent 65%); pointer-events: none;
}
.new-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 8px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--orange), var(--pink)); color: #fff; font-weight: 800; font-size: .88rem;
}
.new-label .ico { font-size: 1.1em; }
.newfeat-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; position: relative; }
.newfeat-top .sec-head { text-align: left; margin: 0; }
.newfeat-top img { width: 100%; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.newfeat-catch { margin-top: 22px; display: grid; gap: 10px; }
.newfeat-catch li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 1.05rem; }
.newfeat-catch .ico { color: var(--cyan); font-size: 1.3em; }
@media (max-width: 860px) { .newfeat-top { grid-template-columns: 1fr; gap: 28px; } }

.demo { background: #fff; color: var(--text); border-radius: 6px; padding: 36px; box-shadow: var(--shadow-lg); position: relative; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.demo-head h3 { font-size: 1.3rem; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.demo-head h3 .ico { color: var(--teal); }
.demo-toggle { display: inline-flex; padding: 5px; background: var(--bg-2); border-radius: 8px; }
.demo-toggle button {
  border: 0; background: transparent; padding: 10px 20px; border-radius: 8px; cursor: pointer;
  font: 700 .9rem/1.2 var(--font-ja); color: var(--muted); display: inline-flex; align-items: center; gap: 6px;
}
.demo-toggle button.is-active[data-mode="before"] { background: #fff; color: var(--ng); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.demo-toggle button.is-active[data-mode="after"] { background: linear-gradient(135deg, var(--navy-3), var(--teal)); color: #fff; box-shadow: 0 4px 12px rgba(8,145,178,.3); }
.demo-body { display: grid; grid-template-columns: 220px 60px 1fr; gap: 16px; align-items: center; }
.demo-source { text-align: left; }
.demo-source .frame { aspect-ratio: 2 / 3; }
.demo-label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 8px; }
.demo-arrow { display: grid; place-items: center; color: var(--teal); font-size: 40px; }
.demo-portals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.portal { text-align: left; }
.portal-name { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.portal-ratio { font: 700 .7rem/1 var(--font-en); color: var(--muted); background: var(--bg-2); padding: 3px 6px; border-radius: 4px; }
.frame { position: relative; overflow: hidden; background: #e8edf7; border: 2px solid var(--line); border-radius: 0; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: all .6s cubic-bezier(.4,.1,.2,1); border-radius: 0; }
.frame .guide { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.frame .guide::before, .frame .guide::after { content: ""; position: absolute; background: rgba(34,211,238,.9); }
.frame .guide::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.frame .guide::after { top: 50%; left: 0; right: 0; height: 1px; }
.r-34 { aspect-ratio: 3 / 4; }
.r-23 { aspect-ratio: 2 / 3; }
.r-11 { aspect-ratio: 1 / 1; }
.r-43 { aspect-ratio: 4 / 3; }
.portal-status { margin-top: 8px; font-size: .8rem; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; min-height: 1.6em; }

/* Before：よくある失敗 */
.demo[data-mode="before"] .portal-status { color: var(--ng); }
.demo[data-mode="before"] .p1 img { object-fit: fill; }
.demo[data-mode="before"] .p2 img { object-fit: cover; object-position: 50% 0%; transform: scale(1.35); transform-origin: 100% 0; }
.demo[data-mode="before"] .p3 img { object-fit: cover; object-position: 50% 100%; }
.demo[data-mode="before"] .p4 img { object-fit: cover; object-position: 100% 0%; transform: scale(1.2) translateX(18%); }
.demo[data-mode="before"] .frame.bad { border-color: #fca5a5; }
/* After：最適化 */
.demo[data-mode="after"] .portal-status { color: var(--ok); }
.demo[data-mode="after"] .portals .frame { border-color: var(--cyan); }
.demo[data-mode="after"] .guide { opacity: .55; }
.demo-note { margin-top: 22px; font-size: .9rem; color: var(--muted); text-align: left; }
.demo-note b { color: var(--navy); }

@media (max-width: 900px) {
  .demo { padding: 24px 18px; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-source { max-width: 160px; margin: 0; }
  .demo-arrow { transform: rotate(90deg); }
  .demo-portals { grid-template-columns: repeat(2, 1fr); align-items: start; }
}

.newfeat-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.np-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px 24px; }
.np-card .np-ico { width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; font-size: 28px; color: var(--navy); background: var(--cyan); margin-bottom: 16px; }
.np-card h3 { font-size: 1.12rem; margin-bottom: 8px; line-height: 1.5; }
.np-card p { font-size: .9rem; color: #c8d6ff; line-height: 1.75; }
@media (max-width: 860px) { .newfeat-points { grid-template-columns: 1fr; } }

/* ---------- 同期できる項目 ---------- */
.items-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.item-card { background: #fff; border-radius: var(--radius); padding: 28px 16px 24px; text-align: left; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s; }
.item-card:hover { transform: translateY(-4px); }
.item-ico { width: 68px; height: 68px; margin: 0 0 14px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; }
.item-card:nth-child(1) .item-ico { background: #e0f7fb; color: var(--teal); }
.item-card:nth-child(2) .item-ico { background: #ffe9f1; color: var(--pink); }
.item-card:nth-child(3) .item-ico { background: #eef0ff; color: #5b5bd6; }
.item-card:nth-child(4) .item-ico { background: #fff3e6; color: var(--orange); }
.item-card:nth-child(5) .item-ico { background: #e7f9f1; color: var(--ok); }
.item-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.item-card p { font-size: .82rem; color: var(--muted); line-height: 1.65; }
@media (max-width: 960px) { .items-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .items-grid { grid-template-columns: 1fr 1fr; } .item-card:last-child { grid-column: 1 / -1; } }

/* ---------- 比較 ---------- */
.compare-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: center; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 20px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: #f0f3fa; font-size: .95rem; color: var(--muted); }
.compare thead th.us { background: linear-gradient(135deg, var(--navy-3), var(--teal)); color: #fff; font-size: 1.05rem; }
.compare tbody th { text-align: left; font-size: .92rem; color: var(--navy); white-space: nowrap; }
.compare tbody th .ico { color: var(--teal); margin-right: 6px; vertical-align: -3px; font-size: 1.15em; }
.compare td.us { background: #effbfe; font-weight: 900; color: var(--navy); font-size: 1.1rem; }
.compare td.us .ico { color: var(--ok); vertical-align: -4px; font-size: 1.2em; }
.compare td.them { color: var(--muted); }
.compare small { font-size: .72rem; font-weight: 500; }
.saving {
  border-radius: 6px; padding: 36px 28px; text-align: left; color: #fff;
  background: linear-gradient(150deg, var(--orange), var(--pink)); box-shadow: 0 20px 44px rgba(255,90,60,.35);
}
.saving img { width: 160px; margin: 0 0 10px; border-radius: 0; }
.saving p { font-weight: 700; }
.saving .big { font: 900 4rem/1 var(--font-en); margin: 6px 0; }
.saving .big small { font-size: 1.4rem; }
.saving .note { font-size: .78rem; font-weight: 400; opacity: .9; margin-top: 10px; }
@media (max-width: 860px) {
  .compare-wrap { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 8px; font-size: .85rem; }
  .compare tbody th { white-space: normal; }
}

/* ---------- 機能（ジグザグ） ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.reverse .feature-img { order: 2; }
.feature-img { position: relative; }
.feature-img img { width: 100%; box-shadow: var(--shadow-lg); }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; font: 800 .8rem/1 var(--font-en); letter-spacing: .15em; color: var(--teal); margin-bottom: 12px; }
.feature-tag .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; letter-spacing: 0; }
.feature h3 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.45; color: var(--navy); font-weight: 900; margin-bottom: 16px; }
.feature p { color: var(--muted); }
.feature-list { margin-top: 18px; display: grid; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; color: var(--text); }
.feature-list .ico { color: var(--ok); font-size: 1.25em; margin-top: 4px; }
.option-box { margin-top: 20px; padding: 14px 18px; border-radius: 6px; background: #fff7ef; border: 1px dashed var(--orange); font-size: .88rem; color: var(--text); display: flex; gap: 10px; align-items: flex-start; }
.option-box .ico { color: var(--orange); font-size: 1.3em; margin-top: 3px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse .feature-img { order: 0; }
  .feature + .feature { margin-top: 64px; }
}

/* ---------- メリット ---------- */
.merits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.merit { position: relative; background: #fff; border-radius: 6px; padding: 40px 28px 30px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.merit-num { position: absolute; right: 18px; top: 6px; font: 900 4.5rem/1 var(--font-en); color: var(--bg-2); }
.merit-ico { position: relative; width: 64px; height: 64px; border-radius: 6px; display: grid; place-items: center; font-size: 32px; color: #fff; background: linear-gradient(135deg, var(--navy-3), var(--teal)); margin-bottom: 18px; }
.merit h3 { position: relative; font-size: 1.25rem; color: var(--navy); margin-bottom: 6px; }
.merit .sub { position: relative; font-weight: 700; color: var(--teal); font-size: .9rem; margin-bottom: 10px; }
.merit p { position: relative; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .merits { grid-template-columns: 1fr; } }

/* ---------- 同期パターン ---------- */
.patterns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pattern { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 32px; }
.pattern-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pattern-head .num { font: 900 2.2rem/1 var(--font-en); color: var(--cyan); }
.pattern-head h3 { font-size: 1.2rem; line-height: 1.4; }
.pattern-flow { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; }
.pf-node { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 96px; text-align: left; font-size: .8rem; font-weight: 700; line-height: 1.4; }
.pf-node .circle { width: 68px; height: 68px; border-radius: 6px; display: grid; place-items: center; font-size: 30px; background: #fff; color: var(--navy); }
.pf-node.src .circle { background: var(--cyan); }
.pf-node.excel .circle { background: #21a366; color: #fff; }
.pf-arrow { color: var(--cyan); font-size: 26px; }
.pf-multi { display: grid; gap: 6px; }
.pf-multi .pf-node { flex-direction: row; width: auto; gap: 8px; }
.pf-multi .circle { width: 40px; height: 40px; border-radius: 6px; font-size: 20px; }
.pattern p { margin-top: 20px; font-size: .9rem; color: #c8d6ff; }
@media (max-width: 860px) { .patterns { grid-template-columns: 1fr; } .pattern { padding: 24px 18px; } }

/* ---------- 料金 ---------- */
.price-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.price-card { background: #fff; border-radius: 6px; padding: 40px 36px; box-shadow: var(--shadow-lg); border: 2px solid var(--teal); position: relative; }
.price-card .ribbon { position: absolute; top: -16px; left: 28px; white-space: nowrap; background: linear-gradient(135deg, var(--orange), var(--pink)); color: #fff; font-weight: 800; padding: 6px 22px; border-radius: 8px; font-size: .9rem; }
.price-card h3 { text-align: left; font-size: 1.1rem; color: var(--muted); font-weight: 700; }
.price-amount { text-align: left; color: var(--navy); margin: 8px 0 4px; }
.price-amount b { font: 900 4rem/1 var(--font-en); }
.price-amount span { font-weight: 700; font-size: 1.2rem; }
.price-amount small { font-size: .85rem; color: var(--muted); }
.price-unit { text-align: left; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.price-free { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.price-free div { background: var(--bg-2); border-radius: 8px; padding: 14px; text-align: left; }
.price-free small { display: block; font-size: .78rem; color: var(--muted); font-weight: 700; }
.price-free b { font-size: 1.5rem; color: var(--orange); font-weight: 900; }
.price-includes { display: grid; gap: 10px; margin-bottom: 26px; }
.price-includes li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; font-weight: 700; }
.price-includes .ico { color: var(--ok); font-size: 1.25em; margin-top: 3px; }
.price-includes .new-dot { font: 800 .62rem/1 var(--font-en); color: #fff; background: var(--pink); padding: 3px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.price-card .btn { width: 100%; }
.price-side { display: grid; gap: 20px; align-content: start; }
.discount { background: #fff; border-radius: 6px; padding: 26px; box-shadow: var(--shadow); }
.discount h4, .opt-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--navy); margin-bottom: 16px; }
.discount h4 .ico, .opt-card h4 .ico { color: var(--teal); font-size: 1.3em; }
.discount-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 6px; background: var(--bg); }
.discount-row + .discount-row { margin-top: 10px; }
.discount-row b { color: var(--navy); }
.discount-row .off { background: var(--orange); color: #fff; font-weight: 800; padding: 4px 12px; border-radius: 8px; font-size: .88rem; white-space: nowrap; }
.discount-row.best .off { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.discount-row small { display: block; font-size: .78rem; color: var(--muted); }
.opt-card { background: #fff; border-radius: 6px; padding: 26px; box-shadow: var(--shadow); }
.opt-card .opt-price { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.opt-card .opt-price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.opt-card p { font-size: .86rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) { .price-main { grid-template-columns: 1fr; } .price-card { padding: 36px 22px; } }

/* 料金シミュレーター */
.calc { margin-top: 48px; background: #fff; border-radius: 6px; padding: 36px; box-shadow: var(--shadow); }
.calc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.calc-head .ico { font-size: 30px; color: var(--teal); }
.calc-head h3 { font-size: 1.3rem; color: var(--navy); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 24px; align-items: end; }
.calc-field label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.stepper button { width: 48px; height: 52px; border: 0; background: var(--bg-2); color: var(--navy); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: #dbe6ff; }
.stepper input { flex: 1; min-width: 0; height: 52px; border: 0; text-align: center; font: 800 1.3rem var(--font-en); color: var(--navy); }
.seg { display: flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { flex: 1; height: 52px; border: 0; background: #fff; cursor: pointer; font: 700 .88rem var(--font-ja); color: var(--muted); }
.seg button + button { border-left: 1.5px solid var(--line); }
.seg button.is-active { background: var(--navy); color: #fff; }
.calc-result { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-box { border-radius: 6px; padding: 20px 22px; background: var(--bg); }
.calc-box.main { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; }
.calc-box small { display: block; font-size: .82rem; opacity: .85; font-weight: 700; }
.calc-box b { font: 900 2.2rem/1.2 var(--font-en); }
.calc-box b span { font: 700 1rem var(--font-ja); }
.calc-box .detail { font-size: .8rem; opacity: .8; margin-top: 4px; }
.calc-note { margin-top: 14px; font-size: .78rem; color: var(--muted); }
@media (max-width: 860px) { .calc { padding: 26px 18px; } .calc-grid, .calc-result { grid-template-columns: 1fr; } }

/* 料金例 */
.examples { margin-top: 48px; }
.examples h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.examples h3 .ico { color: var(--teal); }
.table-scroll { overflow-x: auto; border-radius: 6px; box-shadow: var(--shadow); }
.ex-table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; font-size: .92rem; }
.ex-table th, .ex-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.ex-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.ex-table tbody th { text-align: left; color: var(--navy); }
.ex-table tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.ex-table td.hl { color: var(--orange); font-weight: 900; }
.ex-note { font-size: .78rem; color: var(--muted); margin-top: 10px; }
/* スマホ：横スクロールさせず、1例ずつのカード表示にする */
@media (max-width: 640px) {
  .table-scroll { overflow: visible; box-shadow: none; }
  .ex-table { min-width: 0; background: transparent; }
  .ex-table thead { display: none; }
  .ex-table tbody { display: grid; gap: 12px; }
  .ex-table tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; }
  .ex-table tbody th { grid-column: 1 / -1; padding: 12px 14px; background: var(--navy); color: #fff; border-bottom: 0; }
  .ex-table tbody th small { display: inline; margin-left: 8px; color: #b8c6ef; }
  .ex-table td { padding: 10px 12px; border-bottom: 0; font-weight: 700; font-size: .9rem; }
  .ex-table td + td { border-left: 1px solid var(--line); }
  .ex-table td::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
}

/* ---------- 導入の流れ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-ico { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-2); color: var(--teal); font-size: 26px; }
.step-num { font: 900 .78rem/1 var(--font-en); color: var(--orange); letter-spacing: .1em; }
.step h3 { font-size: 1.05rem; color: var(--navy); line-height: 1.5; }
.step p { font-size: .87rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(11,22,64,.05); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 800 1rem var(--font-en); }
.faq .toggle { margin-left: auto; font-size: 22px; color: var(--teal); transition: transform .3s; }
.faq details[open] .toggle { transform: rotate(45deg); }
.faq .answer { display: flex; gap: 14px; padding: 0 22px 22px; color: var(--muted); }
.faq .a { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff1e6; color: var(--orange); font: 800 1rem var(--font-en); }
.faq .answer p { padding-top: 5px; }
.faq .is-new summary::after { content: "NEW"; order: 2; font: 800 .62rem/1 var(--font-en); color: #fff; background: var(--pink); padding: 3px 6px; border-radius: 4px; }
.faq .is-new .toggle { order: 3; margin-left: 0; }
.faq .is-new summary span.qtext { flex: 1; }

/* ---------- 最終CTA ---------- */
.final-cta { position: relative; overflow: hidden; color: #fff; padding: 96px 0; background: linear-gradient(160deg, #081033, var(--navy) 55%, #102a6b); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; }
.final-grid img { width: 100%; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.final-cta .sec-en { color: var(--cyan); }
.final-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.45; font-weight: 900; }
.final-cta h2 em { font-style: normal; color: var(--cyan); }
.final-cta p.lead { margin: 18px 0 26px; color: #c8d6ff; }
.final-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.final-points span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,.1); font-weight: 700; font-size: .88rem; }
.final-points .ico { color: var(--cyan); }
@media (max-width: 860px) { .final-grid { grid-template-columns: 1fr; gap: 28px; } .final-cta { padding: 64px 0; } }

/* ---------- フォーム ---------- */
.form-wrap { max-width: 820px; margin: 0; background: #fff; border-radius: 6px; padding: 44px; box-shadow: var(--shadow-lg); }
.form-type { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.form-type label { position: relative; cursor: pointer; }
.form-type input { position: absolute; opacity: 0; }
.form-type span { display: flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 16px; border-radius: 8px; border: 2px solid var(--line); font-weight: 700; color: var(--muted); transition: all .2s; text-align: left; line-height: 1.4; }
.form-type span .ico { font-size: 1.3em; }
.form-type input:checked + span { border-color: var(--teal); background: #effbfe; color: var(--navy); }
.form-type input:focus-visible + span { outline: 3px solid rgba(34,211,238,.5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.req, .opt { font-size: .7rem; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.req { background: var(--ng); color: #fff; }
.opt { background: var(--bg-2); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 6px; border: 1.5px solid var(--line); background: var(--bg);
  font: 400 1rem/1.5 var(--font-ja); color: var(--text); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field.has-error input, .field.has-error textarea { border-color: var(--ng); background: #fff7f7; }
.field .err { display: none; color: var(--ng); font-size: .8rem; margin-top: 4px; }
.field.has-error .err { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 6px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 500; color: var(--text); margin: 0; }
.radio-row input { accent-color: var(--teal); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.agree { margin-top: 24px; text-align: left; }
.agree label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--teal); }
.agree a { color: var(--teal); }
.form-submit { text-align: left; margin-top: 26px; }
.form-submit .btn { min-width: 300px; }
.form-foot { text-align: left; font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-done { display: none; text-align: left; padding: 20px 0; }
.form-done .ico { font-size: 64px; color: var(--ok); margin: 0 0 12px; }
.form-done h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.form-done p { color: var(--muted); }
.form-wrap.is-done form { display: none; }
.form-wrap.is-done .form-done { display: block; }
@media (max-width: 680px) {
  .form-wrap { padding: 28px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit .btn { min-width: 0; width: 100%; }
}

/* ---------- トースト ---------- */
.toast-area { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(460px, calc(100% - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 8px; color: #fff; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; font-weight: 700; font-size: .92rem; line-height: 1.6; }
.toast .ico { font-size: 1.4em; margin-top: 1px; }
.toast.success { background: #0f9f6e; }
.toast.error { background: #d93636; }
.toast button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: .8; padding: 0 2px; }
.toast.is-leaving { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ---------- フッター ---------- */
.footer { background: #060c26; color: #8f9cc8; padding: 48px 0 100px; font-size: .85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text small { color: #8f9cc8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copy { margin-top: 24px; text-align: left; font: 600 .78rem var(--font-en); letter-spacing: .1em; }

/* ---------- 追従CTA（スマホ） ---------- */
.float-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); display: none; box-shadow: 0 -6px 20px rgba(11,22,64,.08); }
.float-cta .btn { width: 100%; padding: 14px; }
.float-cta small { display: block; text-align: left; font-size: .72rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .float-cta.is-show { display: block; } .toast-area { bottom: 96px; } }

/* ---------- スクロール表示 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* 運営サーバーに取り込んだときの追加（Turnstile の欄は設定があるときだけ出す） */
.field[hidden] { display: none !important; }
#turnstile { min-height: 65px; }
