:root {
  --brand: rgb(89, 126, 247);
  --brand-hex: #597EF7;
  --brand-dark: #1D2B5F;
  --text: #222222;
  --muted: #5B647A;
  --soft: #ECF0FF;
  --page: #F6F8FF;
  --sky: #EAF7FF;
  --white: #FFFFFF;
  --line: rgba(89, 126, 247, 0.16);
  --shadow: 0 16px 40px rgba(89, 126, 247, 0.10);
  --header-bg: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%);
  --hero-bg: radial-gradient(circle at 18% 20%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 32%), linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%);
  --btn: linear-gradient(135deg, #7580EE 0%, #597EF7 48%, #7AC4F5 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: #F6F8FF;
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 14px; color: var(--muted); }
h1, h2, h3 { color: var(--brand-dark); line-height: 1.25; margin: 0; }
ul { padding-left: 20px; margin: 0; }
li { color: var(--muted); margin: 8px 0; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(89, 126, 247, 0.10);
  border-bottom: 1px solid rgba(89,126,247,0.12);
}
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(89, 126, 247, 0.16); }
.header-desktop {
  height: 76px;
  display: grid;
  grid-template-columns: 185px 1fr auto;
  align-items: center;
  gap: 18px;
}
.brand-logo { width: 150px; max-height: 54px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.desktop-nav a {
  color: #1D2B5F;
  font-size: 15px;
  font-weight: 700;
  padding: 9px 13px;
  border-radius: 999px;
  transition: .25s ease;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--brand-hex);
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 0 0 1px rgba(89,126,247,0.14);
}
.header-mobile { display: none; }

.main-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  background: linear-gradient(135deg, #7580EE 0%, #597EF7 48%, #7AC4F5 100%);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(89, 126, 247, 0.28);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 0;
  white-space: nowrap;
}
.main-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.85) 35%, transparent 70%);
  transform: translateX(-120%);
  animation: btnShine 2.4s infinite;
  z-index: -1;
}
.main-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow:
    0 0 8px rgba(122,196,245,.55),
    0 0 18px rgba(89,126,247,.35);
  pointer-events: none;
}
.main-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(89, 126, 247, 0.34); }
@keyframes btnShine {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.site-main { min-height: 60vh; }
.hero-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%);
  padding: 68px 0 42px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  right: -110px;
  top: 20px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(122,196,245,0.22);
  filter: blur(12px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}
.hero-kicker,
.section-kicker,
.page-kicker,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-hex);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(89,126,247,0.18);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(89,126,247,0.08);
}
.hero-title {
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 62px);
  color: rgb(89, 126, 247);
  letter-spacing: -.04em;
}
.hero-copy { margin-top: 20px; max-width: 640px; font-size: 17px; color: #3F4A66; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { color: #5B647A; font-size: 14px; }
.hero-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(89,126,247,0.16);
  color: #1D2B5F;
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 700;
}
.hero-panel {
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(89,126,247,0.18);
  border-radius: 34px;
  box-shadow: 0 26px 60px rgba(89,126,247,0.14);
  padding: 20px;
  backdrop-filter: blur(16px);
}
.hero-visual {
  min-height: 345px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(236,240,255,0.72));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.hero-visual img { max-height: 385px; width: 100%; object-fit: contain; }
.hero-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.hero-mini-card {
  padding: 15px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(89,126,247,0.14);
}
.hero-mini-card strong { display: block; color: var(--brand-hex); font-size: 18px; }
.hero-mini-card span { color: #5B647A; font-size: 13px; }

.section { padding: 70px 0; }
.section.alt { background: #FFFFFF; }
.section.soft { background: #ECF0FF; }
.section.deep { background: linear-gradient(135deg, #1F1F1F 0%, #2B2B2B 100%); }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.deep p, .section.deep li { color: rgba(255,255,255,0.78); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.section-title { font-size: clamp(26px, 3.5vw, 42px); margin-top: 12px; }
.section-lead { max-width: 650px; color: #5B647A; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card,
.card {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(89,126,247,0.16);
  box-shadow: 0 16px 40px rgba(89,126,247,0.10);
  border-radius: 24px;
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.quick-card:hover, .card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(89,126,247,0.14); border-color: rgba(89,126,247,0.25); }
.card-num { color: var(--brand-hex); font-weight: 900; font-size: 22px; }
.quick-card h3, .card h3 { font-size: 21px; margin: 8px 0 8px; }
.text-link { color: var(--brand-hex); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(236,240,255,0.82));
  border: 1px solid rgba(89,126,247,0.16);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.stat-value { color: var(--brand-hex); font-size: 34px; line-height: 1; font-weight: 900; }
.stat-card h3 { margin: 14px 0 8px; font-size: 21px; }

.bento-grid { display: grid; grid-template-columns: 1.35fr .95fr; grid-template-rows: repeat(3, minmax(142px, auto)); gap: 18px; }
.bento-card {
  border: 1px solid rgba(89,126,247,0.16);
  box-shadow: var(--shadow);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.88);
  display: grid;
  grid-template-columns: 1fr 250px;
  min-height: 100%;
}
.bento-card.large { grid-row: span 3; grid-template-columns: 1fr; }
.bento-content { padding: 26px; }
.bento-card h3 { font-size: 26px; margin: 10px 0 12px; }
.bento-card.large h3 { font-size: 34px; }
.bento-image {
  min-height: 160px;
  background: linear-gradient(135deg, #F7F9FF, #EAF7FF);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.bento-card.large .bento-image { min-height: 286px; }
.bento-image img { width: 100%; max-height: 300px; object-fit: contain; }

.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(89,126,247,0.16);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.feature-card h3 { font-size: 30px; margin: 10px 0 14px; }
.feature-points { display: grid; gap: 10px; margin: 18px 0; }
.feature-points span {
  color: #1D2B5F;
  background: #F6F8FF;
  border: 1px solid rgba(89,126,247,0.12);
  border-radius: 16px;
  padding: 10px 12px;
  font-weight: 700;
}
.feature-image { margin-top: 20px; height: 220px; background: linear-gradient(135deg, #F7F9FF, #EAF7FF); border-radius: 22px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.feature-image img { max-height: 190px; object-fit: contain; }

.app-band {
  background: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 55%, #EAF7FF 100%);
  border: 1px solid rgba(89,126,247,0.18);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 22px 56px rgba(89,126,247,0.12);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 32px;
}
.app-visual { min-height: 340px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.56); border-radius: 28px; padding: 18px; }
.app-visual img { max-height: 360px; object-fit: contain; }
.app-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.app-list span { background: rgba(255,255,255,0.78); border: 1px solid rgba(89,126,247,0.15); border-radius: 16px; padding: 12px; color: #1D2B5F; font-weight: 800; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { background: rgba(255,255,255,0.88); border: 1px solid rgba(89,126,247,0.16); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.service-card .tag { display: inline-block; color: var(--brand-hex); background: #ECF0FF; border-radius: 999px; padding: 4px 10px; font-weight: 900; font-size: 13px; }
.service-card h3 { margin: 12px 0 8px; font-size: 21px; }

.faq-list { display: grid; gap: 14px; }
.faq-item { background: rgba(255,255,255,0.90); border: 1px solid rgba(89,126,247,0.16); border-radius: 22px; padding: 22px; box-shadow: 0 12px 32px rgba(89,126,247,0.08); }
.faq-item h3 { font-size: 20px; margin-bottom: 8px; color: var(--brand-dark); }

.notice-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(236,240,255,0.88));
  border: 1px solid rgba(89,126,247,0.22);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.notice-card strong { color: var(--brand-hex); }

.page-hero {
  background: var(--hero-bg);
  padding: 64px 0 42px;
}
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.page-title { margin-top: 16px; font-size: clamp(34px, 5vw, 56px); color: var(--brand-hex); letter-spacing: -.035em; }
.page-lead { margin-top: 18px; font-size: 17px; color: #3F4A66; max-width: 720px; }
.page-visual { min-height: 320px; background: rgba(255,255,255,0.64); border: 1px solid rgba(89,126,247,0.18); border-radius: 32px; padding: 20px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.page-visual img { max-height: 315px; object-fit: contain; }
.content-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.article-card { background: #fff; border: 1px solid rgba(89,126,247,0.14); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); }
.article-card h2 { font-size: 30px; margin: 28px 0 14px; }
.article-card h2:first-child { margin-top: 0; }
.article-card h3 { font-size: 23px; margin: 20px 0 10px; }
.side-stack { display: grid; gap: 16px; position: sticky; top: 96px; }
.side-card { background: rgba(255,255,255,0.88); border: 1px solid rgba(89,126,247,0.16); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 21px; margin-bottom: 8px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill-row span { color: var(--brand-hex); background: #ECF0FF; border: 1px solid rgba(89,126,247,0.12); border-radius: 999px; padding: 7px 12px; font-weight: 800; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.info-box { background: #F6F8FF; border: 1px solid rgba(89,126,247,0.14); border-radius: 20px; padding: 18px; }
.info-box strong { display: block; color: var(--brand-hex); font-size: 20px; margin-bottom: 8px; }
.timeline { display: grid; gap: 12px; margin-top: 18px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 16px; border: 1px solid rgba(89,126,247,0.14); border-radius: 18px; background: #F6F8FF; }
.timeline-item strong { color: var(--brand-hex); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-box { background: #fff; border: 1px solid rgba(89,126,247,0.16); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }

.site-footer { background: linear-gradient(135deg, #1F1F1F 0%, #2B2B2B 100%); color: rgba(255,255,255,0.82); padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .8fr); gap: 30px; }
.footer-logo { width: 145px; max-height: 52px; object-fit: contain; filter: brightness(1.05); margin-bottom: 18px; }
.footer-brand p, .footer-note { color: rgba(255,255,255,0.72); }
.footer-note { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; margin-top: 14px; }
.footer-col h3 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.72); margin: 9px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; border-top: 1px solid rgba(255,255,255,0.10); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,0.60); font-size: 14px; }

.drawer-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.42); opacity: 0; visibility: hidden; z-index: 10000; transition: .25s ease; }
.drawer-mask.show { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; left: 0; height: 100vh; width: 84vw; max-width: 320px; background: linear-gradient(135deg, #FFFFFF 0%, #ECF0FF 100%); z-index: 10001; transform: translateX(-104%); transition: transform .28s ease; box-shadow: 18px 0 42px rgba(29,43,95,0.18); padding: 18px; overflow-y: auto; }
.mobile-drawer.open { transform: translateX(0); }
.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer-logo img { width: 138px; max-height: 50px; object-fit: contain; }
.drawer-close { width: 38px; height: 38px; border: 1px solid rgba(89,126,247,0.18); background: #fff; color: var(--brand-dark); border-radius: 50%; font-size: 28px; line-height: 32px; cursor: pointer; }
.drawer-nav { display: grid; gap: 10px; }
.drawer-nav a { display: block; color: var(--brand-dark); background: rgba(255,255,255,0.78); border: 1px solid rgba(89,126,247,0.12); border-radius: 16px; padding: 13px 16px; font-weight: 800; }
.drawer-nav a.active { color: var(--brand-hex); background: #FFFFFF; box-shadow: 0 10px 24px rgba(89,126,247,0.10); }

@media (max-width: 1050px) {
  .header-desktop { grid-template-columns: 150px 1fr auto; gap: 10px; }
  .desktop-nav a { padding: 8px 8px; font-size: 14px; }
  .brand-logo { width: 132px; }
  .quick-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-card.large { grid-row: auto; }
  .content-wrap { grid-template-columns: 1fr; }
  .side-stack { position: static; }
}

@media (max-width: 820px) {
  .header-desktop { display: none; }
  .site-header { background: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%); }
  .header-mobile { height: 66px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 8px; width: min(100%, calc(100% - 24px)); margin: 0 auto; }
  .menu-toggle { width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(89,126,247,0.18); border-radius: 14px; background: rgba(255,255,255,0.78); cursor: pointer; }
  .menu-toggle span { width: 20px; height: 2px; border-radius: 4px; background: #1D2B5F; }
  .mobile-brand { justify-self: center; }
  .mobile-brand .brand-logo { width: 120px; max-height: 46px; object-fit: contain; }
  .mobile-action { min-height: 38px; padding: 0 13px; font-size: 13px; }
  .hero-section { padding: 40px 0 32px; }
  .hero-grid, .page-hero-grid, .app-band, .two-col { grid-template-columns: 1fr; }
  .hero-title, .page-title { font-size: 38px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-panel { padding: 14px; border-radius: 26px; }
  .hero-visual { min-height: 260px; }
  .hero-mini { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-head { display: block; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-grid, .service-grid, .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .bento-card { grid-template-columns: 1fr; }
  .bento-card.large h3 { font-size: 28px; }
  .app-list { grid-template-columns: 1fr; }
  .page-visual { min-height: 250px; }
  .article-card { padding: 22px; border-radius: 24px; }
  .timeline-item { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, 1180px); }
  .quick-grid { grid-template-columns: 1fr; }
  .hero-title, .page-title { font-size: 32px; }
  .hero-copy, .page-lead { font-size: 15px; }
  .quick-card, .card, .feature-card, .service-card, .notice-card { padding: 18px; border-radius: 20px; }
  .app-band { padding: 18px; border-radius: 24px; }
  .app-visual { min-height: 260px; }
  .hero-mini-card { padding: 13px; }
}
