:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --indigo: #4f46e5;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --green: #16a34a;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --bg-gray: #f9fafb;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.75;
  background: #fff;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(860px, calc(100% - 40px)); }
.section { padding: 88px 0; }
.gray { background: var(--bg-gray); }
.blue-soft { background: linear-gradient(135deg, #eff6ff, #eef2ff); }
.indigo-soft { background: linear-gradient(135deg, #eef2ff, #eff6ff, #ecfeff); }
.center { text-align: center; }

h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.45rem); line-height: 1.22; letter-spacing: -0.04em; margin-bottom: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.32; letter-spacing: -0.035em; margin-bottom: 16px; }
h3 { line-height: 1.45; }
p { color: var(--muted); }
strong { color: var(--text); }

.eyebrow { font-weight: 800; letter-spacing: 0.02em; margin-bottom: 10px; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.red { color: var(--red); }
.eyebrow.green { color: var(--green); }
.eyebrow.indigo { color: var(--indigo); }
.section-heading { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.section-heading p:last-child { margin-bottom: 0; }
.section-heading.light h2,
.section-heading.light p { color: #fff; }
.section-heading.light p { opacity: .86; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(15, 23, 42, .2); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-white { background: #fff; color: var(--blue-dark); }

.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hero {
  padding: 84px 0 76px;
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 68, 68, .16), transparent 28%),
    linear-gradient(135deg, #fff1f2 0%, #fff7ed 48%, #fefce8 100%);
}
.hero-eyebrow { color: #1d4ed8; display: flex; gap: 10px; align-items: center; }
.icon-dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: #dbeafe; }
.hero-title-wrap { display: flex; gap: 18px; align-items: flex-start; margin: 18px 0 24px; }
.alert-icon {
  width: 58px; height: 58px; border-radius: 16px; background: #fee2e2; color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; flex: 0 0 auto;
}
.hero-kicker { margin: 0 0 8px; color: var(--red-dark); font-weight: 800; }
h1 span { color: var(--red); }
.hero-card {
  width: min(760px, 100%);
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  margin-bottom: 28px;
}
.hero-card p { font-size: 1.13rem; color: #1f2937; margin-bottom: 10px; }
.hero-card strong { color: var(--blue); }
.hero-card .sub-text { font-size: .96rem; color: var(--muted); margin-bottom: 0; }
.hero-badges, .final-badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.hero-badges li, .final-badges li { color: #374151; position: relative; padding-left: 18px; font-size: .95rem; }
.hero-badges li::before, .final-badges li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 8px; background: #22c55e; border-radius: 999px; }

.section-dark { padding: 88px 0; background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #7c3aed); color: #fff; }
.logos-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); text-align: center; margin-bottom: 32px; }
.logos-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.logos-card img { margin-top: 18px; }
.note { font-size: .9rem; color: #6b7280; }
.glass-card, .trust-message {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
}
.glass-card h3, .glass-card p, .trust-message h3, .trust-message p { color: #fff; }
.mini-label { display: inline-block; background: #facc15; color: #111827; font-size: .78rem; font-weight: 900; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.trust-message { margin-top: 32px; text-align: center; padding: 34px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.pill-row span { background: #fff; color: var(--indigo); border-radius: 12px; padding: 10px 18px; font-weight: 900; }

.card, .case-card, .benefit-box, .migration-card, .estimate-card, .small-points > div, .cta-cards > article, .company-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}
.card { padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon, .round-icon, .cta-icon {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; font-weight: 900; margin-bottom: 14px; font-size: 1.32rem;
}
.card-icon.red { background: #fee2e2; color: var(--red); }
.card-icon.blue { background: #dbeafe; color: var(--blue); }
.card-icon.indigo { background: #e0e7ff; color: var(--indigo); }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: .95rem; margin-bottom: 0; }

.cta-box { margin-top: 46px; border-radius: var(--radius); padding: 34px; text-align: center; }
.cta-box p { font-size: 1.12rem; color: #1f2937; }
.cta-box.warning { background: linear-gradient(90deg, #fff1f2, #fff7ed); border: 1px solid #fecaca; }
.cta-box.warning strong { color: var(--red); }
.white-box { background: #fff; border: 2px solid #bfdbfe; box-shadow: var(--shadow); }

.step-grid article { text-align: center; }
.round-icon { border-radius: 999px; background: #dbeafe; color: var(--blue); width: 64px; height: 64px; font-size: 1rem; }
.step-grid p { font-size: .94rem; }
.benefit-box { padding: 34px; background: linear-gradient(135deg, #eff6ff, #eef2ff); margin: 34px 0; }
.benefit-box h3 { text-align: center; font-size: 1.35rem; }
.benefit-box .grid > div, .small-points > div { padding: 22px; background: #fff; border-radius: 14px; }
.benefit-box p, .small-points p { font-size: .94rem; margin-bottom: 0; }

.case-card { padding: 28px; }
.case-card h3 { margin-bottom: 18px; }
.case-card p { margin: 4px 0 14px; font-size: .94rem; }
.problem-label { color: var(--red); }
.solution-label { color: var(--green); }

.migration h2 span { color: var(--indigo); }
.migration-card { padding: 38px; text-align: center; margin-bottom: 32px; box-shadow: var(--shadow); }
.compare-row { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 30px 0; }
.compare-box { max-width: 310px; text-align: left; border-radius: var(--radius); border: 2px solid; padding: 24px; }
.compare-box span { display: block; text-align: center; font-size: 2.4rem; }
.compare-box h4 { text-align: center; font-size: 1.15rem; margin: 8px 0 10px; }
.compare-box.orange { background: #fff7ed; border-color: #fdba74; }
.compare-box.indigo { background: #eef2ff; border-color: #a5b4fc; }
.compare-box ul { margin-bottom: 0; padding-left: 22px; color: var(--muted); }
.arrow { font-size: 2.3rem; font-weight: 900; color: var(--indigo); }
.success-line { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; color: #15803d; font-weight: 800; padding: 18px; margin: 0; }

.strength-list article { display: flex; gap: 18px; }
.strength-list article > span { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: #dcfce7; color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.strength-list h3 { margin-bottom: 8px; }
.strength-list p { margin-bottom: 0; }
.green-message { background: linear-gradient(90deg, #f0fdf4, #eff6ff); border: 2px solid #bbf7d0; color: var(--text); }
.green-message h3, .green-message p { color: var(--text); }
.green-message strong { color: #15803d; }
.green-message .pill-row span { color: var(--blue); box-shadow: 0 8px 20px rgba(15,23,42,.05); }

.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.flow-list li { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 24px rgba(15, 23, 42, .06); position: relative; }
.flow-list li span { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 999px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; }
.flow-list h3 { margin-bottom: 4px; }
.flow-list p { margin-bottom: 0; }
.strong-note { margin-top: 28px; font-weight: 800; }

.estimate-card { max-width: 760px; margin: 0 auto; padding: 0; overflow: hidden; }
.estimate-card h3 { text-align: center; padding: 28px 28px 8px; }
.estimate-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 1px solid var(--border); padding: 18px 28px; }
.estimate-row p { margin-bottom: 0; font-size: .92rem; }
.estimate-row span { font-weight: 800; white-space: nowrap; }
.estimate-total { display: flex; justify-content: space-between; gap: 20px; align-items: center; background: #eff6ff; padding: 24px 28px; }
.estimate-total span { color: var(--blue); font-size: 1.6rem; font-weight: 900; }
.small-points { margin-top: 34px; }
.small-points > div { text-align: center; background: var(--bg-gray); }

.faq-list { display: grid; gap: 14px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 18px rgba(15,23,42,.04); overflow: hidden; }
summary { cursor: pointer; font-weight: 800; padding: 18px 22px; list-style: none; position: relative; padding-right: 52px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: #6b7280; font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 20px; margin: 0; }

.final-cta { padding: 88px 0; background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; }
.cta-cards { margin-bottom: 34px; }
.cta-cards > article { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); padding: 26px; text-align: center; backdrop-filter: blur(8px); }
.cta-cards h3, .cta-cards p { color: #fff; }
.cta-cards p { opacity: .84; }
.cta-icon { border-radius: 999px; color: #fff; width: 58px; height: 58px; }
.red-bg { background: #ef4444; }
.blue-bg { background: #3b82f6; }
.green-bg { background: #22c55e; }
.company-card { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); padding: 32px; color: #fff; text-align: center; }
.company-card h3, .company-card h4, .company-card p, .company-card a { color: #fff; }
.company-card p { opacity: .86; }
.company-card .tel a { font-size: 1.7rem; font-weight: 900; text-decoration: none; }
.final-badges { justify-content: center; }
.final-badges li { color: rgba(255,255,255,.85); }

.footer { padding: 32px 0; background: #111827; }
.footer p { color: #9ca3af; margin-bottom: 4px; font-size: .88rem; }
.footer p:last-child { color: #6b7280; font-size: .78rem; }

@media (max-width: 920px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-row { flex-direction: column; }
  .arrow { transform: rotate(90deg); }
}

@media (max-width: 680px) {
  .container, .container.narrow { width: min(100% - 28px, 1120px); }
  .section, .section-dark, .final-cta { padding: 64px 0; }
  .hero { padding: 58px 0; }
  .hero-title-wrap { gap: 12px; }
  .alert-icon { width: 44px; height: 44px; font-size: 26px; border-radius: 12px; }
  .hero-card { padding: 20px; }
  .hero-card p { font-size: 1rem; }
  .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .logos-card, .trust-message, .benefit-box, .migration-card, .cta-box, .company-card { padding: 24px; }
  .strength-list article, .flow-list li { gap: 14px; }
  .flow-list li { flex-direction: column; }
  .estimate-row, .estimate-total { flex-direction: column; gap: 8px; }
  .estimate-total span { font-size: 1.35rem; }
  .hero-badges, .final-badges { display: grid; gap: 10px; }
}
