* {
  box-sizing: border-box;
}

:root {
  --primary: #8c6de6;
  --primary-dark: #7E5DDD;
  --page-bg: #DDE0F4;
  --soft-bg: #F7F7FC;
  --soft-bg-2: #EEF0FA;
  --card-bg: rgba(255,255,255,0.92);
  --text: #2E2E3A;
  --muted: #66667A;
  --border: rgba(140,109,230,0.16);
  --shadow: 0 14px 36px rgba(140,109,230,0.10);
  --footer: #4B4A6B;
  --footer-text: #F3F2FB;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #DDE0F4 0%, #F7F7FC 48%, #DDE0F4 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #DDE0F4;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(140,109,230,0.08);
}

.desktop-header {
  height: 82px;
  display: grid;
  grid-template-columns: 178px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img,
.mobile-brand img,
.drawer-logo img,
.footer-brand img {
  width: 148px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.main-nav a {
  color: #554B7A;
  font-size: 15px;
  padding: 9px 13px;
  border-radius: 999px;
  transition: 0.22s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(255,255,255,0.82);
  box-shadow: inset 0 0 0 1px var(--border);
}

.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  background: #8c6de6;
  color: #FFFFFF;
  border-radius: 999px;
  border: none;
  box-shadow: 0 10px 22px rgba(140,109,230,0.22);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 0.22s ease;
  white-space: nowrap;
}

.main-btn:hover {
  background: #7E5DDD;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(140,109,230,0.28);
}

.mobile-header {
  display: none;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #DDE0F4;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.68);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

.mobile-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-brand img {
  width: 126px;
}

.mobile-reg {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.34);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 84vw;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7FC 100%);
  box-shadow: 18px 0 36px rgba(46,46,58,0.14);
  transform: translateX(-104%);
  transition: transform 0.28s ease;
  padding: 18px;
  overflow-y: auto;
}

.drawer-open {
  overflow: hidden;
}

.drawer-open .drawer-mask {
  opacity: 1;
  visibility: visible;
}

.drawer-open .mobile-drawer {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.drawer-logo img {
  width: 132px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.drawer-nav {
  display: grid;
  gap: 8px;
  padding: 18px 0;
}

.drawer-nav a {
  padding: 12px 14px;
  border-radius: 16px;
  color: #554B7A;
  background: rgba(238,240,250,0.75);
  border: 1px solid transparent;
}

.drawer-nav a.active,
.drawer-nav a:hover {
  color: var(--primary);
  background: #FFFFFF;
  border-color: var(--border);
}

.drawer-note {
  padding: 16px;
  border-radius: 20px;
  background: #EEF0FA;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.drawer-note strong {
  color: var(--primary);
}

.site-main {
  min-height: 60vh;
}

.hero-page {
  padding: 46px 0 18px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-panel.no-image {
  grid-template-columns: 1fr;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(140,109,230,0.10);
  border: 1px solid rgba(140,109,230,0.14);
  font-weight: 700;
  font-size: 13px;
}

h1,
h2,
h3 {
  color: #8c6de6;
  line-height: 1.28;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 14px;
}

.lead {
  font-size: 18px;
  color: #4B4A6B;
}

.muted {
  color: var(--muted);
}

.text-link {
  color: #8c6de6;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.content-img,
.zone-card img,
.app-section img,
.banner-slider img,
.page-image img,
.feature-row img {
  max-width: 100%;
  height: auto;
}

.page-image {
  border-radius: 26px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px;
}

.page-image img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 18px;
  background: #F7F7FC;
}

.banner-slider {
  max-width: 1200px;
  height: 390px;
  margin: 28px auto 36px;
  border-radius: 26px;
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(140,109,230,0.10);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(140,109,230,0.12);
}

.banner-track,
.banner-slide {
  position: absolute;
  inset: 0;
}

.banner-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF0FA 100%);
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(140,109,230,0.18);
  background: rgba(255,255,255,0.75);
  color: #8c6de6;
  font-size: 28px;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 8px 22px rgba(140,109,230,0.14);
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-50%) scale(1.04);
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(140,109,230,0.25);
  cursor: pointer;
  padding: 0;
}

.slider-dot.active {
  width: 22px;
  border-radius: 999px;
  background: #8c6de6;
}

.capsule-wrap {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: thin;
}

.capsule {
  min-width: 174px;
  flex: 1;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: 0 12px 24px rgba(140,109,230,0.08);
  transition: 0.2s ease;
}

.capsule:hover {
  border-color: rgba(140,109,230,0.36);
  transform: translateY(-2px);
}

.capsule .num,
.info-card .num,
.service-card .num {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.capsule strong {
  display: block;
  color: #2E2E3A;
  margin: 4px 0;
}

.capsule p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
}

.section {
  padding: 42px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-title p {
  color: var(--muted);
  max-width: 660px;
  margin: 0;
}

.intro-strip {
  margin-top: 22px;
  padding: 24px 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.90), rgba(238,240,250,0.86));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.zone-card,
.info-card,
.service-card,
.faq-item,
.notice-box,
.contact-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: 0 14px 36px rgba(140,109,230,0.10);
  border-radius: 24px;
}

.info-card,
.service-card,
.faq-item,
.notice-box,
.contact-card {
  padding: 22px;
}

.feature-list {
  display: grid;
  gap: 28px;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-row.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature-image {
  border-radius: 24px;
  background: #F7F7FC;
  padding: 14px;
  border: 1px solid rgba(140,109,230,0.12);
}

.feature-image img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 18px;
}

.points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.points li {
  padding: 7px 12px;
  border-radius: 999px;
  color: #554B7A;
  background: #EEF0FA;
  border: 1px solid rgba(140,109,230,0.12);
  font-size: 14px;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.zone-card {
  overflow: hidden;
  min-height: 100%;
}

.zone-card .zone-image {
  height: 170px;
  padding: 14px 14px 0;
}

.zone-card .zone-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  background: #F7F7FC;
}

.zone-card .zone-body {
  padding: 18px;
}

.zone-card.text-only {
  padding: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,240,250,0.82));
}

.app-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,240,250,0.90));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.app-visual {
  border-radius: 28px;
  background: #FFFFFF;
  padding: 18px;
  border: 1px solid var(--border);
}

.app-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 22px;
  background: #F7F7FC;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: #554B7A;
}

.security-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: start;
}

.security-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.content-panel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.article-main {
  display: grid;
  gap: 18px;
}

.sidebar-stack {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 102px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.notice-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,240,250,0.88));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.site-footer {
  margin-top: 52px;
  background: #4B4A6B;
  color: #F3F2FB;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1.05fr;
  gap: 30px;
  padding: 46px 0 30px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-reminder p {
  color: rgba(243,242,251,0.82);
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links h3,
.footer-reminder h3 {
  color: #FFFFFF;
  font-size: 17px;
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(243,242,251,0.82);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 14px;
  color: rgba(243,242,251,0.76);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .desktop-header {
    grid-template-columns: 150px 1fr auto;
    gap: 12px;
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 14px;
  }

  .banner-slider {
    height: 310px;
  }

  .info-grid,
  .zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid,
  .security-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
  }
}

@media (max-width: 820px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .site-main {
    padding-top: 0;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  .hero-page {
    padding-top: 26px;
  }

  .hero-panel,
  .hero-panel.no-image,
  .feature-row,
  .feature-row.reverse,
  .app-section,
  .security-layout {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .feature-row.reverse .feature-text {
    order: 2;
  }

  .feature-row.reverse .feature-image {
    order: 1;
  }

  .banner-slider {
    height: 230px;
    margin: 20px auto 24px;
    border-radius: 20px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    display: block;
  }

  .info-grid,
  .faq-grid,
  .service-grid,
  .contact-grid,
  .footer-grid,
  .security-card-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zone-card .zone-image {
    height: 138px;
  }
}

@media (max-width: 520px) {
  body {
    line-height: 1.7;
  }

  h1 {
    font-size: 30px;
  }

  .mobile-reg {
    padding: 0 12px;
    min-height: 36px;
  }

  .mobile-brand img {
    width: 112px;
  }

  .banner-slider {
    height: 190px;
  }

  .banner-slide img {
    object-fit: contain;
    background: #FFFFFF;
  }

  .capsule {
    min-width: 168px;
  }

  .intro-strip,
  .content-panel {
    padding: 20px;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .feature-row,
  .app-section {
    border-radius: 24px;
  }
}
