:root {
  --blue: #3f8fe5;
  --blue-dark: #2875c7;
  --blue-soft: #eaf4ff;
  --ink: #1f2d3d;
  --text: #34495e;
  --muted: #6f7f90;
  --line: #d8e4f0;
  --light: #f4f7fb;
  --lighter: #eef3f9;
  --shadow: 0 12px 32px rgba(43, 97, 153, 0.10);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
a { color: #2f83d8; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 12000; padding: 10px 16px; background: #fff; border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5edf5;
  box-shadow: 0 6px 20px rgba(43,97,153,0.08);
}
.header-inner {
  max-width: 1240px;
  min-height: 70px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-logo, .drawer-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-logo img { display: block; max-height: 44px; width: auto; }
.nav-core { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1; }
.nav-core a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; white-space: nowrap; font-size: 15px; }
.nav-core a:hover, .nav-core a.active { color: var(--blue-dark); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; position: relative; z-index: 10001; }
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  background: var(--blue);
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(63,143,229,0.22);
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  border: 0;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.main-btn:hover { background: #2f7fd3; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(63,143,229,0.26); }
.main-btn:focus-visible, .menu-button:focus-visible, .drawer-close:focus-visible, a:focus-visible { outline: 3px solid rgba(63,143,229,.35); outline-offset: 3px; }
.secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; color: var(--blue-dark); background: #fff; font-weight: 700; }
.secondary-btn:hover { border-color: var(--blue); background: var(--blue-soft); }
.menu-button { width: 46px; height: 46px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; position: relative; z-index: 10002; }
.menu-button span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.drawer-overlay { position: fixed; inset: 0; z-index: 10010; background: rgba(18, 37, 58, .46); opacity: 0; transition: opacity .22s ease; }
.drawer-overlay.is-visible { opacity: 1; }
.site-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(390px, 88vw); z-index: 10020; background: #fff; padding: 20px; box-shadow: -20px 0 50px rgba(31,45,61,.18); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; }
.site-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #e5edf5; }
.drawer-logo img { max-height: 40px; width: auto; }
.drawer-close { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 30px; line-height: 1; border-radius: 10px; cursor: pointer; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 18px 0; }
.drawer-nav a { color: var(--text); text-decoration: none; padding: 11px 12px; background: var(--light); border: 1px solid transparent; border-radius: 9px; }
.drawer-nav a:hover, .drawer-nav a.active { color: var(--blue-dark); background: var(--blue-soft); border-color: #cbe2fa; }
.drawer-download { width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 84px 0; }
.section-light { background: var(--light); }
.section-blue-soft { background: linear-gradient(180deg, #f6fbff 0%, #edf6ff 100%); }
.section-kicker { margin: 0 0 8px; color: var(--blue-dark); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-title { margin: 0; color: var(--ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.25; letter-spacing: -.02em; }
.section-lead { max-width: 760px; margin: 16px auto 0; color: var(--muted); font-size: 17px; }
.section-heading { text-align: center; margin-bottom: 42px; }
.hero { position: relative; overflow: hidden; padding: 74px 0 72px; background: radial-gradient(circle at 80% 20%, #e7f3ff 0, rgba(231,243,255,.4) 25%, transparent 52%), linear-gradient(180deg,#fff 0,#f7fbff 100%); }
.hero::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; left: -170px; bottom: -190px; background: rgba(63,143,229,.08); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; position: relative; }
.hero-copy h1 { margin: 10px 0 18px; color: var(--ink); font-size: clamp(40px, 6vw, 68px); line-height: 1.08; letter-spacing: -.04em; }
.hero-copy h2 { margin: 0 0 20px; color: var(--blue-dark); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; }
.hero-copy p { margin: 0; font-size: 17px; color: var(--muted); max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.hero-links a { text-decoration: none; font-weight: 700; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--text); }
.hero-points li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 8px; }
.hero-visual { display: flex; justify-content: center; align-items: center; min-height: 520px; }
.hero-visual img { width: min(100%, 480px); max-height: 610px; object-fit: contain; display: block; filter: drop-shadow(0 24px 32px rgba(43,97,153,.16)); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: -28px; position: relative; z-index: 3; }
.info-card, .category-card, .review-card, .faq-card, .article-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(43,97,153,.06); }
.info-card { padding: 24px; }
.info-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 19px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; }
.category-card { padding: 28px; min-height: 190px; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.category-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); }
.category-card:last-child { grid-column: 1 / -1; min-height: auto; }
.category-card h3 { margin: 0 0 10px; color: var(--blue-dark); font-size: 22px; }
.category-card p { margin: 0 0 16px; color: var(--muted); flex: 1; }
.text-link { color: #2f83d8; font-weight: 800; text-decoration: none; }
.text-link::after { content: " →"; }
.feature-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.feature-row.reverse { grid-template-columns: 1.1fr .9fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual { display: flex; align-items: center; justify-content: center; min-height: 360px; }
.feature-visual img { width: min(100%, 470px); max-height: 420px; object-fit: contain; display: block; }
.feature-copy h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(30px,4vw,44px); line-height: 1.25; }
.feature-copy p { margin: 0 0 18px; color: var(--muted); }
.feature-copy ul { margin: 18px 0 24px; padding-left: 20px; }
.feature-copy li { margin-bottom: 7px; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.split-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.split-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.split-card img { width: 100%; height: 250px; object-fit: contain; display: block; margin-bottom: 20px; }
.split-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 25px; }
.split-card p { margin: 0; color: var(--muted); }
.notice-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.notice-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.notice-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.notice-card h3 { margin: 14px 0 8px; color: var(--ink); font-size: 19px; }
.notice-card p { margin: 0; color: var(--muted); font-size: 14px; }
.review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.review-card { padding: 24px; }
.review-card p { margin: 0; color: var(--text); }
.review-card strong { display: block; margin-top: 14px; color: var(--blue-dark); font-size: 14px; }
.faq-list { display: grid; gap: 14px; }
details.faq-card { padding: 0 22px; }
details.faq-card summary { cursor: pointer; padding: 20px 38px 20px 0; color: var(--ink); font-weight: 800; position: relative; list-style: none; }
details.faq-card summary::-webkit-details-marker { display: none; }
details.faq-card summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 25px; }
details[open].faq-card summary::after { content: "−"; }
details.faq-card p { margin: 0; padding: 0 0 22px; color: var(--muted); }
.risk-box { padding: 28px; background: #fff8e9; border: 1px solid #f0d89e; border-radius: 12px; color: #735619; }
.page-hero { padding: 72px 0 58px; background: linear-gradient(180deg,#f5faff 0,#fff 100%); border-bottom: 1px solid #e8eff6; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.breadcrumbs a { text-decoration: none; }
.page-hero h1 { margin: 0 0 14px; color: var(--ink); font-size: clamp(36px,5vw,56px); line-height: 1.15; }
.page-hero p { max-width: 790px; margin: 0; color: var(--muted); font-size: 18px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 36px; align-items: start; }
.article-main { min-width: 0; }
.article-card { padding: 34px; margin-bottom: 24px; }
.article-card h2 { margin: 0 0 14px; color: var(--ink); font-size: 28px; line-height: 1.3; }
.article-card h3 { margin: 24px 0 10px; color: var(--blue-dark); font-size: 21px; }
.article-card p { margin: 0 0 14px; }
.article-card p:last-child { margin-bottom: 0; }
.article-card ul, .article-card ol { padding-left: 22px; }
.article-card li { margin-bottom: 8px; }
.sidebar { position: sticky; top: 94px; display: grid; gap: 18px; }
.sidebar-card { padding: 22px; background: var(--light); border: 1px solid var(--line); border-radius: 12px; }
.sidebar-card h2 { margin: 0 0 12px; color: var(--ink); font-size: 19px; }
.sidebar-card a { display: block; padding: 7px 0; text-decoration: none; }
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { position: relative; padding: 24px 24px 24px 76px; background: var(--light); border-radius: 12px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.term-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.term { padding: 22px; background: var(--light); border-radius: 12px; }
.term h3 { margin-top: 0; }
.callout { margin: 22px 0; padding: 20px 22px; background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; }
.site-footer { background: #438ddf; color: #fff; }
.footer-inner { width: min(1160px,calc(100% - 40px)); margin: 0 auto; padding: 58px 0 38px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.footer-brand img { max-height: 48px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 470px; color: rgba(255,255,255,.88); }
.footer-download { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; color: #fff; text-decoration: none; font-weight: 800; }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.footer-links h2 { margin: 0 0 12px; color: #fff; font-size: 17px; }
.footer-links a { display: block; color: rgba(255,255,255,.86); text-decoration: none; margin: 7px 0; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-risk { width: min(1160px,calc(100% - 40px)); margin: 0 auto; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.86); font-size: 14px; }
.footer-bottom { padding: 18px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.76); font-size: 14px; }
@media (max-width: 1020px) {
  .nav-core { display: none; }
  .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-card:last-child { grid-column: 1 / -1; }
  .review-grid, .notice-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .header-inner { min-height: 62px; padding: 0 14px; gap: 8px; }
  .site-logo img { max-height: 34px; max-width: 118px; }
  .header-actions { gap: 7px; }
  .header-download { min-height: 44px; padding: 0 13px; font-size: 14px; }
  .menu-button { width: 44px; height: 44px; }
  .drawer-nav { grid-template-columns: 1fr; }
  .container, .narrow { width: min(100% - 32px, 1160px); }
  .section { padding: 62px 0; }
  .hero { padding: 52px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy h1 { font-size: clamp(38px,12vw,54px); }
  .hero-visual { min-height: 360px; order: 2; }
  .hero-visual img { max-height: 430px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-actions .main-btn, .hero-actions .secondary-btn { flex: 1 1 160px; }
  .info-grid { grid-template-columns: 1fr; margin-top: 0; }
  .category-grid { grid-template-columns: 1fr; gap: 18px; }
  .category-card:last-child { grid-column: auto; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .feature-visual { min-height: 260px; }
  .split-grid, .review-grid, .notice-list, .term-grid { grid-template-columns: 1fr; }
  .article-card { padding: 24px 20px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 430px) {
  .site-logo img { max-width: 96px; max-height: 31px; }
  .header-download { padding: 0 10px; font-size: 13px; }
  .footer-links { grid-template-columns: 1fr; }
}
