:root {
    --bg: #FFF8FB;
    --surface: #FFFFFF;
    --pink-soft: #FFF0F5;
    --purple-soft: #F6F2FF;
    --gray-soft: #F8F6F7;
    --text: #33262D;
    --body: #51444B;
    --muted: #7C6C75;
    --subtle: #A09199;
    --brand: #FF5F9F;
    --brand-deep: #D94A82;
    --coral: #FF92AA;
    --purple: #8973E6;
    --purple-deep: #6150AD;
    --border: rgba(255,95,159,0.16);
    --shadow: 0 14px 36px rgba(70,42,57,0.08);
    --shadow-strong: 0 20px 48px rgba(217,74,130,0.15);
    --header-h: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--body);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.72;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(137,115,230,.35);
    outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
.shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.site-main { padding-top: var(--header-h); }
.skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 1000; transform: translateY(-180%);
    background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 200; }
.brand-bar { background: rgba(255,248,251,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.brand-bar-inner { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-wordmark { display: flex; gap: 12px; align-items: baseline; min-width: 0; }
.brand-title { color: var(--text); font-weight: 800; }
.brand-tagline { color: var(--muted); font-size: 13px; white-space: nowrap; }
.utility-nav { display: flex; gap: 8px; }
.utility-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--muted); border-radius: 12px; font-size: 14px; }
.utility-nav a:hover, .utility-nav a.is-active { color: var(--brand-deep); background: var(--pink-soft); }
.main-nav-wrap { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); box-shadow: 0 8px 26px rgba(70,42,57,.05); backdrop-filter: blur(14px); }
.main-nav-inner { height: 80px; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 18px; }
.menu-button, .menu-close {
    border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 14px; min-height: 44px; padding: 0 14px; cursor: pointer;
}
.menu-button { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.menu-lines { width: 18px; display: inline-grid; gap: 3px; }
.menu-lines span { height: 2px; border-radius: 99px; background: var(--brand-deep); display: block; }
.nav-logo { min-width: 112px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: var(--brand-deep); font-size: 20px; white-space: nowrap; }
.nav-logo img { width: auto; max-width: 128px; max-height: 48px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 4px; white-space: nowrap; min-width: 0; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 14px; font-size: 15px; color: var(--muted); }
.primary-nav a:hover, .primary-nav a.is-active { background: var(--pink-soft); color: var(--brand-deep); font-weight: 700; }
.nav-app-link, .primary-button {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 14px; color: #fff; font-weight: 800; white-space: nowrap;
    background: linear-gradient(135deg, #FF92AA 0%, #FF5F9F 52%, #8973E6 100%); box-shadow: 0 10px 24px rgba(217,74,130,.18);
}
.text-link, .secondary-link { color: var(--brand-deep); font-weight: 700; }
.text-link:hover, .secondary-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { padding: 64px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--pink-soft); color: var(--brand-deep); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
h1, h2, h3 { color: var(--text); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(38px, 5vw, 68px); margin: 18px 0 22px; letter-spacing: -.03em; }
.hero p { font-size: 17px; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 28px; }
.hero-visual { position: relative; min-height: 490px; }
.hero-art {
    position: absolute; inset: 0 26px 62px 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-strong); border: 1px solid var(--border);
    background:
      radial-gradient(circle at 72% 28%, rgba(255,255,255,.92) 0 8%, transparent 8.5%),
      radial-gradient(circle at 24% 70%, rgba(255,255,255,.72) 0 11%, transparent 11.5%),
      linear-gradient(150deg, #FFF0F5 0%, #FFDDE8 44%, #EEE8FF 100%);
}
.hero-art::before, .hero-art::after { content: ""; position: absolute; pointer-events: none; }
.hero-art::before { width: 210px; height: 300px; border-radius: 42px; background: rgba(255,255,255,.78); left: 13%; top: 11%; transform: rotate(-5deg); box-shadow: var(--shadow); }
.hero-art::after { width: 250px; height: 165px; border-radius: 40% 60% 58% 42%; background: rgba(137,115,230,.14); right: 10%; bottom: 13%; }
.hero-note-stack { position: absolute; right: 0; bottom: 0; display: grid; gap: 10px; width: min(320px, 76%); }
.hero-note { background: rgba(255,255,255,.96); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 18px; padding: 14px 16px; }
.hero-note strong { display: block; color: var(--text); margin-bottom: 3px; }
.hero-note span { color: var(--muted); font-size: 13px; line-height: 1.55; display: block; }

.section { padding: 56px 0; }
.section-soft { background: var(--pink-soft); }
.section-purple { background: var(--purple-soft); }
.section-gray { background: var(--gray-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.section-heading p { margin: 0; max-width: 760px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.cards.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); min-width: 0;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { margin: 0 0 16px; color: var(--muted); }
.card .meta { font-size: 13px; color: var(--subtle); margin-bottom: 8px; display: block; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag { padding: 6px 10px; border-radius: 999px; background: var(--pink-soft); color: var(--brand-deep); font-size: 13px; }
.index-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 12px; }
.index-item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.index-item h3 { font-size: 17px; margin-bottom: 8px; }
.index-item p { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.timeline { display: grid; gap: 20px; }
.timeline-item { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 22px; align-items: start; }
.timeline-time { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 18px; background: var(--surface); border: 1px solid var(--border); padding: 14px; color: var(--brand-deep); font-weight: 800; text-align: center; }
.prose { font-size: 16px; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 30px; margin: 34px 0 14px; }
.prose h3 { font-size: 22px; margin: 26px 0 10px; }
.notice { background: var(--purple-soft); border: 1px solid rgba(137,115,230,.16); border-radius: 22px; padding: 22px; }
.notice strong { color: var(--purple-deep); }
.list-clean { margin: 0; padding-left: 1.2em; }
.list-clean li { margin: 8px 0; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.step { counter-increment: steps; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.step::before { content: counter(steps); width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--pink-soft); color: var(--brand-deep); font-weight: 900; margin-bottom: 14px; }
.page-hero { padding: 54px 0 30px; }
.page-hero .page-kicker { color: var(--brand-deep); font-weight: 800; }
.page-hero h1 { font-size: clamp(36px,5vw,58px); margin: 10px 0 14px; }
.page-hero p { max-width: 820px; font-size: 17px; color: var(--muted); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.related-links a { color: var(--brand-deep); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: clip; }
summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; padding: 14px 18px; color: var(--text); font-weight: 800; }
details p { padding: 0 18px 18px; margin: 0; color: var(--muted); }

.desktop-shortcuts { position: fixed; right: max(12px, calc((100vw - 1240px)/2 - 112px)); top: 50%; transform: translateY(-50%); z-index: 120; display: grid; gap: 8px; }
.desktop-shortcuts a { width: 92px; min-height: 44px; display: grid; place-items: center; padding: 6px 10px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.96); box-shadow: var(--shadow); font-size: 13px; color: var(--muted); }
.desktop-shortcuts a:hover, .desktop-shortcuts a.is-active { color: var(--brand-deep); background: var(--pink-soft); }

.menu-overlay { position: fixed; inset: 0; background: rgba(48,36,43,.28); z-index: 300; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.menu-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.channel-menu { position: fixed; inset: 0 auto 0 0; width: min(460px, 88vw); z-index: 320; background: var(--surface); transform: translateX(-102%); visibility: hidden; transition: transform .24s ease, visibility .24s ease; box-shadow: 20px 0 60px rgba(70,42,57,.16); display: flex; flex-direction: column; }
.channel-menu.is-open { transform: translateX(0); visibility: visible; }
.channel-menu-head { min-height: 76px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.menu-brand { font-size: 22px; font-weight: 900; color: var(--brand-deep); min-height: 44px; display: flex; align-items: center; }
.menu-brand img { max-width: 130px; max-height: 44px; object-fit: contain; }
.channel-menu-body { overflow-y: auto; padding: 10px 16px 30px; }
.channel-menu-body section { padding: 12px 0; }
.channel-menu-body h2 { font-size: 15px; color: var(--subtle); margin: 8px 8px 10px; }
.channel-menu-body a { display: block; border-radius: 16px; padding: 12px; min-height: 54px; }
.channel-menu-body a:hover { background: var(--pink-soft); }
.channel-menu-body strong { display: block; color: var(--text); }
.channel-menu-body span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.site-footer { background: #30242B; color: #FFEAF2; padding: 56px 0 100px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 34px; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a { display: block; min-height: 34px; color: #FFEAF2; opacity: .88; }
.site-footer a:hover { opacity: 1; }
.footer-brand p { max-width: 340px; color: rgba(255,234,242,.72); }
.footer-logo { font-size: 25px; font-weight: 900; margin-bottom: 14px; min-height: 44px; display: flex !important; align-items: center; }
.footer-logo img { max-width: 140px; max-height: 46px; object-fit: contain; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,234,242,.16); display: flex; justify-content: space-between; gap: 24px; color: rgba(255,234,242,.68); font-size: 13px; }
.mobile-bottom-nav { display: none; }

@media (max-width: 1380px) {
  .desktop-shortcuts { display: none; }
}
@media (max-width: 1080px) {
  .primary-nav a { padding: 0 9px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr 420px; gap: 30px; }
  .index-grid { grid-template-columns: repeat(4,1fr); }
  .cards.four { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .shell { width: min(100% - 32px, 1240px); }
  .brand-bar, .primary-nav { display: none; }
  .main-nav-inner { height: 72px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .menu-button { padding: 0 12px; }
  .menu-button > span:last-child { display: none; }
  .nav-logo { min-width: 0; justify-self: center; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
  .nav-app-link { padding: 0 14px; font-size: 14px; }
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .hero-art { inset: 0 0 92px 0; }
  .hero-note-stack { left: 0; right: 0; width: 100%; display: flex; overflow-x: auto; padding-bottom: 4px; }
  .hero-note { min-width: 240px; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-time { position: static; text-align: left; width: fit-content; }
  .index-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .mobile-bottom-nav { position: fixed; inset: auto 0 0; z-index: 180; display: grid; grid-template-columns: repeat(5,1fr); min-height: 66px; padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.98); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(70,42,57,.08); }
  .mobile-bottom-nav a { min-height: 66px; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 700; }
  .mobile-bottom-nav a.is-active { color: var(--brand-deep); background: var(--pink-soft); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  h1 { font-size: 40px; }
  .hero { padding-bottom: 26px; }
  .hero-visual { min-height: 390px; }
  .hero-art::before { width: 170px; height: 250px; }
  .index-grid, .cards.four, .steps, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .card { padding: 20px; border-radius: 20px; }
  .page-hero { padding-top: 36px; }
  .page-hero h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
