:root {
    --bg: #F8F6FF;
    --nav: rgba(255,255,255,0.94);
    --title: #211B2E;
    --brand: #7B5CFF;
    --purple: #5B3FE8;
    --blue: #3F8CFF;
    --pink: #FF6FAE;
    --lavender: #EDE8FF;
    --blue-soft: #EAF3FF;
    --orange: #FF9B5C;
    --text: #2F2A3A;
    --muted: #6F687A;
    --light: #A09AAD;
    --card: #FFFFFF;
    --line: rgba(123,92,255,0.16);
    --shadow: 0 18px 42px rgba(91,63,232,0.12);
    --grad: linear-gradient(135deg, #7B5CFF 0%, #3F8CFF 52%, #FF6FAE 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--pink); }
img { max-width: 100%; height: auto; display: block; }
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: var(--nav);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 26px rgba(91,63,232,0.12);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 72px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.site-logo, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--title);
    font-weight: 900;
    letter-spacing: .04em;
    white-space: nowrap;
}
.site-logo img { max-height: 44px; }
.footer-logo img { max-height: 42px; }
.nav-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}
.nav-core a {
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 15px;
    white-space: nowrap;
}
.nav-core a:hover, .nav-core a.active, .drawer-nav a.active {
    color: var(--purple);
    background: rgba(123,92,255,0.12);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.main-btn, .ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
.main-btn {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 14px 32px rgba(91,63,232,0.20);
}
.main-btn:hover { color: #fff; transform: translateY(-2px); }
.main-btn.compact { min-height: 40px; padding: 0 18px; }
.ghost-btn { border: 1px solid var(--line); background: #fff; color: var(--purple); }
.menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 16px;
    background: rgba(123,92,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--purple); }
.menu-left { display: none; }
.drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(33,27,46,0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    width: min(380px, 88vw);
    height: 100vh;
    background: #fff;
    transform: translateX(105%);
    transition: transform .25s ease;
    box-shadow: -18px 0 46px rgba(33,27,46,0.18);
    padding: 22px;
    overflow-y: auto;
}
.drawer-open { overflow: hidden; }
.drawer-open .drawer { transform: translateX(0); }
.drawer-open .drawer-mask { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; color: var(--title); font-size: 22px; }
.drawer-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--lavender); color: var(--purple); font-size: 26px; cursor: pointer; }
.drawer-intro { margin: 12px 0 18px; color: var(--muted); font-size: 14px; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-nav a { padding: 12px 14px; border-radius: 16px; background: #F8F6FF; color: var(--text); font-weight: 700; }
.hero, .section, .page-main, .site-footer, .home-main { position: relative; }
.wrap, .footer-inner, .footer-bottom, .hero-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}
.hero {
    padding: 80px 0 52px;
    background: radial-gradient(circle at 20% 12%, rgba(255,111,174,.22), transparent 28%), radial-gradient(circle at 86% 22%, rgba(63,140,255,.22), transparent 30%), linear-gradient(135deg, #F8F6FF 0%, #F0F7FF 52%, #F3F0FF 100%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 44px; align-items: center; }
.kicker, .section-kicker, .label, .tag, .badge { color: var(--brand); font-weight: 900; letter-spacing: .08em; }
h1, h2, h3, .section-title { color: var(--title); line-height: 1.22; margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); margin-bottom: 14px; }
h2, .section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
h3 { font-size: 21px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-tags span, .pill, .mini-tag { border-radius: 999px; background: rgba(255,255,255,.78); border: 1px solid var(--line); padding: 8px 13px; color: var(--purple); font-weight: 800; }
.hero-visual { position: relative; }
.hero-visual img, .content-img, .zone-card img, .app-section img, .page-hero-img img { object-fit: contain; border-radius: 26px; box-shadow: var(--shadow); background: #fff; }
.float-card { position: absolute; left: -20px; bottom: 22px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); width: min(250px, 62%); }
.float-card strong { display: block; color: var(--title); }
.section { padding: 58px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card, .zone-card, .info-card, .review-card, .question-card, .notice-box, .page-card {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 22px;
}
.card, .info-card, .review-card, .question-card, .notice-box, .page-card { padding: 24px; }
.card h3, .info-card h3, .question-card h3 { margin-bottom: 8px; }
.card p, .info-card p, .review-card p, .question-card p, .page-card p { color: var(--muted); margin-bottom: 0; }
.capsule-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pill-card { padding: 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 24px rgba(91,63,232,0.08); }
.pill-card strong { display: block; color: var(--title); }
.pill-card p { margin: 3px 0 5px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.media-block { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 34px; align-items: center; }
.media-block.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.media-text p { color: var(--muted); }
.feature-list { display: grid; gap: 12px; margin-top: 18px; }
.feature-list span { display: block; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.zone-card { overflow: hidden; }
.zone-card .zone-body { padding: 22px; }
.zone-card p { color: var(--muted); }
.text-link { color: var(--purple); font-weight: 900; }
.notice-box { background: linear-gradient(135deg, #FFFFFF 0%, #F3F0FF 100%); }
.notice-box ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.page-main { padding-bottom: 34px; }
.inner-page-hero { padding: 62px 0 34px; background: radial-gradient(circle at 15% 18%, rgba(123,92,255,.15), transparent 28%), radial-gradient(circle at 88% 10%, rgba(255,111,174,.14), transparent 32%); }
.inner-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr); gap: 36px; align-items: center; }
.inner-page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero-img img { width: 100%; }
.page-section { padding: 36px 0; }
.page-card + .page-card { margin-top: 20px; }
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { position: relative; padding: 18px 18px 18px 58px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.step:before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.faq-list { display: grid; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 12px 26px rgba(91,63,232,0.09); }
.faq-item h2, .faq-item h3 { font-size: 20px; margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--muted); }
.site-footer { margin-top: 44px; background: #211B2E; color: #F1ECFF; padding: 52px 0 24px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 1.2fr); gap: 40px; }
.footer-brand p { color: rgba(241,236,255,.76); }
.footer-logo { color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h3 { color: #fff; margin-bottom: 10px; font-size: 18px; }
.footer-links a { display: block; color: rgba(241,236,255,.78); margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; margin-top: 28px; border-top: 1px solid rgba(241,236,255,.16); color: rgba(241,236,255,.72); font-size: 14px; }
.footer-bottom a { color: #fff; }
.bottom-tabs { display: none; }
@media (max-width: 1080px) {
    .nav-core { gap: 4px; }
    .nav-core a { padding: 8px 9px; font-size: 14px; }
    .grid-4, .capsule-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-inner, .inner-grid, .media-block, .media-block.reverse { grid-template-columns: 1fr; }
    .float-card { left: 16px; }
}
@media (max-width: 760px) {
    body { padding-bottom: 76px; }
    .header-inner { min-height: 66px; padding: 0 14px; display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; }
    .menu-left { display: inline-flex; }
    .menu-right { display: none; }
    .site-logo { justify-self: center; }
    .site-logo img { max-height: 38px; }
    .nav-core { display: none; }
    .header-actions { justify-self: end; }
    .main-btn.compact { min-height: 36px; padding: 0 12px; font-size: 13px; }
    .hero { padding-top: 48px; }
    .wrap, .footer-inner, .footer-bottom, .hero-inner { width: min(100% - 28px, 1200px); }
    .grid-4, .grid-3, .grid-2, .capsule-grid { grid-template-columns: 1fr; }
    .pill-card { border-radius: 22px; }
    .section-head { display: block; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .drawer { left: 0; right: auto; transform: translateX(-105%); }
    .drawer-open .drawer { transform: translateX(0); }
    .bottom-tabs {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 10px;
        z-index: 9998;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 8px;
        border-radius: 22px;
        background: rgba(255,255,255,.94);
        backdrop-filter: blur(10px);
        box-shadow: 0 16px 36px rgba(91,63,232,.18);
        border: 1px solid var(--line);
    }
    .bottom-tabs a { text-align: center; border-radius: 16px; padding: 8px 4px; color: var(--text); font-weight: 800; background: #F8F6FF; }
    h1 { font-size: 42px; }
    .section { padding: 42px 0; }
}
