:root {
  --page: #FFF8FB;
  --surface: #FFFFFF;
  --pink-soft: #FFF0F6;
  --purple-soft: #F7F3FF;
  --gray-pink: #F8F4F6;
  --title: #32262D;
  --text: #51444C;
  --muted: #7C6D76;
  --faint: #A09199;
  --pink: #FF5D9E;
  --berry: #D94C83;
  --coral: #FF8EAC;
  --purple: #8C76E8;
  --purple-deep: #6753B5;
  --border: rgba(255,93,158,0.15);
  --shadow: 0 14px 36px rgba(76,48,66,0.08);
  --shadow-strong: 0 18px 46px rgba(217,76,131,0.15);
  --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--page); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.75; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: var(--title); color: white; padding: 10px 16px; border-radius: 12px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid rgba(140,118,232,.5); outline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 6px 20px rgba(50,38,45,.05); }
.top-note { background: linear-gradient(90deg, #FFF0F6, #F7F3FF); border-bottom: 1px solid var(--border); }
.top-note-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 13px; color: var(--muted); }
.top-note p { margin: 0; }
.top-note-links { display: flex; gap: 18px; }
.top-note-links a:hover { color: var(--berry); }
.main-nav { background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,93,158,.08); }
.nav-inner { min-height: 70px; display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 138px; height: auto; object-fit: contain; }
.brand-text { font-size: 23px; font-weight: 900; letter-spacing: .04em; color: var(--title); }
.desktop-nav-links { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 34px); }
.desktop-nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 700; }
.desktop-nav-links a::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 4px; height: 3px; border-radius: 999px; background: transparent; }
.desktop-nav-links a:hover, .desktop-nav-links a.is-active { color: var(--berry); }
.desktop-nav-links a.is-active::after { background: linear-gradient(90deg, var(--coral), var(--purple)); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button, .channel-toggle, .panel-close { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; white-space: nowrap; }
.button { padding: 0 22px; color: #fff; background: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%); box-shadow: 0 10px 24px rgba(217,76,131,.2); }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-strong); }
.button-secondary { color: var(--berry); background: #fff; border: 1px solid var(--border); box-shadow: none; }
.button-small { min-height: 42px; padding: 0 18px; }
.channel-toggle, .panel-close { padding: 0 17px; background: var(--pink-soft); color: var(--berry); border: 1px solid var(--border); }
.mobile-channel-button { display: none; }
main { display: block; }
.hero { padding: clamp(52px, 8vw, 100px) 0 38px; position: relative; overflow: clip; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero::before { width: 360px; height: 360px; background: rgba(255,142,172,.13); left: -130px; top: 60px; }
.hero::after { width: 300px; height: 300px; background: rgba(140,118,232,.12); right: -100px; bottom: 10px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr) minmax(240px, .68fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.eyebrow { margin: 0 0 12px; color: var(--berry); font-weight: 900; letter-spacing: .12em; font-size: 14px; }
h1, h2, h3 { color: var(--title); line-height: 1.25; }
h1 { margin: 0; font-size: clamp(42px, 6vw, 76px); letter-spacing: -.04em; }
.hero-copy { max-width: 650px; margin: 24px 0 0; font-size: 17px; color: var(--muted); }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--berry); font-weight: 850; }
.text-link::after { content: "→"; }
.phone-visual { width: min(100%, 330px); margin: 0 auto; padding: 14px; border-radius: 46px; background: #30242B; box-shadow: 0 28px 70px rgba(50,36,43,.18); transform: rotate(2deg); }
.phone-screen { min-height: 520px; border-radius: 35px; padding: 22px; overflow: hidden; background: linear-gradient(165deg, #FFF 0%, #FFF0F6 55%, #F7F3FF 100%); }
.phone-notch { width: 38%; height: 20px; margin: -4px auto 24px; border-radius: 999px; background: #30242B; }
.phone-card { padding: 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); margin-bottom: 14px; }
.phone-card.large { min-height: 165px; background: linear-gradient(145deg, rgba(255,142,172,.6), rgba(140,118,232,.45)); }
.phone-lines span { display: block; height: 9px; margin-top: 10px; border-radius: 999px; background: #F1E5EA; }
.phone-lines span:nth-child(2) { width: 72%; }
.phone-pills { display: flex; gap: 8px; margin-top: 16px; }
.phone-pills i { width: 64px; height: 24px; border-radius: 999px; background: var(--pink-soft); }
.hero-side { display: grid; gap: 18px; }
.mini-card, .card, .topic-card, .faq-item, .page-card, .quote-card { background: rgba(255,255,255,.94); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 24px; }
.mini-card { padding: 24px; }
.mini-card:nth-child(2) { background: var(--purple-soft); }
.mini-card h2 { margin: 0 0 10px; font-size: 22px; }
.mini-card p { margin: 0; color: var(--muted); }
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-soft { background: var(--pink-soft); }
.section-purple { background: var(--purple-soft); }
.section-gray { background: var(--gray-pink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.03em; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.theme-strip { padding: 18px 0 40px; }
.horizontal-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 18px; scrollbar-width: thin; }
.topic-card { min-height: 180px; padding: 22px; scroll-snap-align: start; }
.topic-card h2, .topic-card h3 { margin: 0 0 9px; font-size: 20px; }
.topic-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.topic-card a { color: var(--berry); font-weight: 800; }
.magazine-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.story-card { position: relative; min-height: 280px; padding: 28px; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.story-card.featured { grid-row: span 2; min-height: 580px; background: linear-gradient(160deg, #FFF 10%, #FFF0F6 58%, #F7F3FF 100%); }
.story-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -55px; top: -55px; border-radius: 50%; background: rgba(255,93,158,.1); pointer-events: none; }
.story-card:nth-child(3n)::before { background: rgba(140,118,232,.12); }
.story-card h3 { margin: 12px 0; font-size: 26px; }
.story-card p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; background: var(--pink-soft); color: var(--berry); font-size: 13px; font-weight: 800; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; }
.card h3 { margin: 0 0 12px; font-size: 23px; }
.card p { color: var(--muted); }
.card ul, .page-card ul { padding-left: 1.2em; }
.timeline { position: relative; display: grid; gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--coral), var(--purple)); }
.timeline-item { position: relative; padding: 22px 24px 22px 58px; border-radius: 22px; background: #fff; border: 1px solid var(--border); }
.timeline-item::before { content: ""; position: absolute; left: 11px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 6px #FFF0F6; }
.timeline-item h3 { margin: 0 0 8px; }
.timeline-item p { margin: 0 0 8px; color: var(--muted); }
.diary-layout, .split-layout, .app-showcase, .safety-split, .page-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.soft-panel { padding: clamp(26px, 4vw, 48px); border-radius: 30px; background: linear-gradient(145deg, #FFF, #FFF0F6); border: 1px solid var(--border); }
.soft-panel.purple { background: linear-gradient(145deg, #FFF, #F7F3FF); }
.visual-collage { min-height: 420px; position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(145deg, rgba(255,142,172,.46), rgba(140,118,232,.35)); }
.visual-collage::before, .visual-collage::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.58); }
.visual-collage::before { width: 230px; height: 230px; left: -45px; bottom: -35px; }
.visual-collage::after { width: 160px; height: 160px; right: 28px; top: 30px; }
.visual-note { position: absolute; z-index: 1; max-width: 230px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.visual-note.one { left: 44px; top: 55px; transform: rotate(-4deg); }
.visual-note.two { right: 38px; bottom: 48px; transform: rotate(3deg); }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.service-list article { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.9); border: 1px solid var(--border); }
.service-list h3 { margin: 0 0 6px; }
.advice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: advice; }
.advice-grid article { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--border); }
.advice-grid article::before { counter-increment: advice; content: "0" counter(advice); display: block; margin-bottom: 16px; color: var(--pink); font-weight: 900; }
.advice-grid h3 { margin: 0 0 8px; }
.safety-panel { padding: 34px; border-radius: 28px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.safety-panel h3 { margin-top: 0; font-size: 28px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { position: relative; padding: 9px 0 9px 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--berry); font-weight: 900; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-card { padding: 24px; }
.quote-card p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
details.faq-item { overflow: hidden; }
details.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; color: var(--title); font-weight: 850; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; float: right; color: var(--pink); }
details[open].faq-item summary::after { content: "−"; }
details.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.brand-intro { padding: 44px; border-radius: 30px; background: linear-gradient(135deg, #FFF0F6, #F7F3FF); border: 1px solid var(--border); }
.brand-intro h2 { margin-top: 0; font-size: 36px; }
.page-hero { padding: clamp(54px, 7vw, 88px) 0 40px; }
.page-hero .container { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 60px); border-radius: 34px; background: linear-gradient(145deg, #FFF, #FFF0F6 58%, #F7F3FF); border: 1px solid var(--border); box-shadow: var(--shadow); }
.page-hero .container::after { content: ""; position: absolute; width: 240px; height: 240px; right: -70px; top: -70px; border-radius: 50%; background: rgba(140,118,232,.12); pointer-events: none; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 760px; }
.page-lead { max-width: 820px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.page-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-index a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--berry); font-weight: 800; }
.page-content { padding: 20px 0 90px; }
.page-section { scroll-margin-top: 130px; padding: 34px 0; }
.page-section > h2 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 40px); }
.page-card { padding: 28px; }
.page-card h3 { margin-top: 0; }
.page-card p:last-child { margin-bottom: 0; }
.page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.steps { display: grid; gap: 12px; counter-reset: steps; }
.step { position: relative; padding: 24px 24px 24px 76px; border-radius: 22px; background: #fff; border: 1px solid var(--border); }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 22px; top: 23px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--coral), var(--purple)); }
.step h3 { margin: 0 0 5px; }
.notice-box { padding: 26px; border-left: 5px solid var(--pink); border-radius: 0 22px 22px 0; background: var(--pink-soft); }
.notice-box.purple { border-left-color: var(--purple); background: var(--purple-soft); }
.notice-box h2, .notice-box h3 { margin-top: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border-radius: 999px; background: #fff; color: var(--berry); border: 1px solid var(--border); font-weight: 800; }
.service-tip { margin-top: 30px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(135deg, #30242B, #4A3843); color: #FFEAF2; }
.service-tip strong { color: #fff; }
.site-footer { padding: 58px 0 calc(24px + env(safe-area-inset-bottom)); background: #30242B; color: #FFEAF2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { color: #D9C8D0; max-width: 310px; }
.footer-brand-link .brand-text { color: #fff; }
.footer-grid h2 { margin: 0 0 14px; color: #fff; font-size: 16px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 7px; }
.footer-grid a { color: #EEDCE5; }
.footer-grid a:hover { color: #fff; }
.footer-note { display: flex; justify-content: space-between; gap: 30px; margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #D9C8D0; font-size: 14px; }
.footer-note p { margin: 0; }
.channel-overlay { position: fixed; inset: 0; z-index: 180; background: rgba(48,36,43,.38); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.channel-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.desktop-channel-panel { position: fixed; z-index: 190; top: 112px; left: 50%; width: min(1200px, calc(100% - 40px)); max-height: calc(100vh - 135px); overflow: auto; transform: translate(-50%, -18px); opacity: 0; visibility: hidden; pointer-events: none; padding: 24px; border-radius: 0 0 28px 28px; background: #fff; box-shadow: 0 28px 70px rgba(48,36,43,.2); transition: .22s ease; }
.desktop-channel-panel.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.channel-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.channel-panel-head strong { color: var(--title); font-size: 22px; }
.channel-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel-groups > div { padding: 18px; border-radius: 20px; background: var(--page); }
.channel-groups h2 { margin: 0 0 10px; font-size: 16px; }
.channel-groups a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,93,158,.1); }
.channel-groups a:last-child { border-bottom: 0; }
.channel-groups strong, .channel-groups span { display: block; }
.channel-groups span { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 2px; }
.mobile-channel-sheet { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; max-height: 85vh; overflow: auto; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fff; transform: translateY(105%); visibility: hidden; pointer-events: none; transition: transform .25s ease, visibility .25s ease; }
.mobile-channel-sheet.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
.sheet-handle { width: 52px; height: 5px; margin: 0 auto 12px; border-radius: 999px; background: #E5D7DE; }
.mobile-channel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mobile-channel-list a { min-height: 48px; display: flex; align-items: center; padding: 0 16px; border-radius: 16px; background: var(--page); border: 1px solid var(--border); font-weight: 800; }
.mobile-bottom-nav { display: none; }
@media (max-width: 980px) {
  .desktop-nav-links { gap: 14px; }
  .desktop-nav-links a:nth-child(4) { display: none; }
  .hero-grid { grid-template-columns: 1fr .72fr; }
  .hero-side { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .card-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .advice-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--container)); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .top-note-inner { min-height: 32px; }
  .top-community { display: none; }
  .site-header { position: sticky; }
  .nav-inner { min-height: 62px; justify-content: space-between; gap: 10px; }
  .desktop-nav-links, .desktop-channel-button { display: none; }
  .mobile-channel-button { display: inline-flex; padding: 0 13px; min-width: 92px; }
  .brand-text { font-size: 19px; }
  .brand img { width: 116px; }
  .nav-actions .button { min-width: 72px; padding: 0 13px; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { font-size: 16px; }
  .phone-visual { width: min(84vw, 320px); transform: none; }
  .phone-screen { min-height: 470px; }
  .hero-side { grid-column: auto; grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .magazine-grid { grid-template-columns: 1fr; }
  .story-card.featured { grid-row: auto; min-height: 380px; }
  .card-grid, .quote-grid, .page-grid, .diary-layout, .split-layout, .app-showcase, .safety-split, .page-split { grid-template-columns: 1fr; }
  .advice-grid, .service-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-note { display: block; }
  .footer-note p + p { margin-top: 10px; }
  .desktop-channel-panel { display: none; }
  .mobile-channel-sheet { display: block; }
  .mobile-bottom-nav { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); min-height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.97); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(76,48,66,.08); }
  .mobile-bottom-nav a { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--muted); font-size: 12px; font-weight: 800; }
  .mobile-bottom-nav a span { font-size: 20px; line-height: 1; }
  .mobile-bottom-nav a.is-active { color: var(--berry); background: var(--pink-soft); }
  .page-hero .container { padding: 30px 24px; border-radius: 26px; }
  .page-card { padding: 24px; }
}
@media (max-width: 520px) {
  .top-note-links { gap: 8px; }
  .hero-actions, .section-actions { align-items: stretch; }
  .hero-actions .button, .hero-actions .text-link, .section-actions .button, .section-actions .text-link { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-channel-list { grid-template-columns: 1fr; }
  .card-grid, .quote-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
