:root {
    --page: #FFF8FB;
    --surface: #FFFFFF;
    --pink-soft: #FFF0F6;
    --purple-soft: #F7F3FF;
    --gray-pink: #F8F4F6;
    --title: #32262D;
    --text: #51444C;
    --muted: #7C6D76;
    --quiet: #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);
    --gradient: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%);
    --footer: #30242B;
    --footer-text: #FFEAF2;
    --max: 1200px;
}

* { box-sizing: border-box; }
*::before, *::after { pointer-events: none; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    color: var(--text);
    background: var(--page);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--berry); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(140,118,232,.45); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 110; }
.notice-bar { background: rgba(255,240,246,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.notice-inner { max-width: var(--max); margin: 0 auto; padding: 5px 24px; min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); }
.notice-inner p { margin: 0; }
.notice-links { display: flex; gap: 18px; }
.notice-links a { font-weight: 700; }
.main-nav { background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(217,76,131,.1); backdrop-filter: blur(16px); }
.nav-inner { max-width: var(--max); margin: 0 auto; min-height: 68px; padding: 0 24px; align-items: center; }
.desktop-nav { display: grid; grid-template-columns: minmax(130px,1fr) auto minmax(250px,1fr); gap: 24px; }
.mobile-nav { display: none; }
.brand-link { display: inline-flex; align-items: center; justify-self: start; }
.brand-logo { object-fit: contain; }
.brand-text { color: var(--title); font-size: 23px; font-weight: 900; letter-spacing: -.5px; white-space: nowrap; }
.brand-text::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 5px rgba(255,93,158,.1); vertical-align: 1px; }
.primary-links { display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.nav-link { position: relative; display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.nav-link:hover, .nav-link.is-active { background: var(--pink-soft); color: var(--berry); }
.nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 20px; height: 3px; transform: translateX(-50%); border-radius: 999px; background: var(--gradient); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; white-space: nowrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 0; border-radius: 999px; color: #fff; background: var(--gradient); box-shadow: 0 10px 24px rgba(217,76,131,.18); font-weight: 800; cursor: pointer; white-space: nowrap; }
.button:hover { color: #fff; transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 17px; font-size: 14px; }
.button-ghost { color: var(--berry); background: var(--surface); border: 1px solid var(--border); box-shadow: none; }
.button-ghost:hover { color: var(--purple-deep); background: var(--purple-soft); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--berry); font-weight: 800; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

main { min-height: 60vh; }
.section { padding: 82px 24px; }
.section.compact { padding-top: 58px; padding-bottom: 58px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-soft { background: var(--pink-soft); }
.section-purple { background: var(--purple-soft); }
.section-white { background: var(--surface); }
.section-gray { background: var(--gray-pink); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 8px; color: var(--berry); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
h1, h2, h3, h4 { margin: 0 0 14px; color: var(--title); line-height: 1.25; }
h1 { font-size: clamp(40px, 6vw, 74px); letter-spacing: -2px; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(17px,2vw,20px); color: var(--muted); line-height: 1.9; }
.muted { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 10px; border-radius: 999px; background: var(--pink-soft); color: var(--berry); font-size: 13px; font-weight: 700; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.card-pad { padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.icon-dot { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: var(--gradient); color: #fff; font-weight: 900; }

.hero { padding: 58px 24px 72px; background: radial-gradient(circle at 20% 18%, rgba(255,142,172,.24), transparent 32%), radial-gradient(circle at 82% 22%, rgba(140,118,232,.18), transparent 31%), var(--page); }
.hero-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .72fr .72fr; gap: 28px; align-items: center; }
.hero-copy { padding: 34px 0; }
.hero-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--berry); font-weight: 900; }
.hero-copy .lead { max-width: 660px; }
.device-stage { display: grid; place-items: center; min-height: 510px; }
.phone-mock { position: relative; width: min(100%, 285px); aspect-ratio: .54; padding: 12px; border-radius: 44px; background: #2f242b; box-shadow: 0 30px 70px rgba(87,50,72,.22); transform: rotate(2.5deg); }
.phone-screen { height: 100%; overflow: hidden; border-radius: 34px; background: linear-gradient(180deg, #fff, #fff5f9 46%, #f7f3ff); padding: 28px 16px 18px; }
.phone-pill { width: 78px; height: 20px; margin: -18px auto 20px; border-radius: 999px; background: #2f242b; }
.phone-screen h3 { font-size: 18px; }
.mini-story { height: 94px; border-radius: 20px; margin: 13px 0; background: linear-gradient(135deg, rgba(255,142,172,.75), rgba(140,118,232,.65)); }
.mini-lines { display: grid; gap: 8px; }
.mini-lines span { display: block; height: 8px; border-radius: 999px; background: #eadfe4; }
.mini-lines span:nth-child(2) { width: 78%; }
.mini-lines span:nth-child(3) { width: 60%; }
.hero-side { display: grid; gap: 18px; }
.hero-side .card { padding: 26px; }
.hero-side .card:first-child { transform: translateY(-24px); }
.hero-side .card:last-child { transform: translateY(24px); }

.interest-strip { display: grid; grid-template-columns: repeat(8, minmax(125px,1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.interest-item { min-width: 132px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); scroll-snap-align: start; }
.interest-item h3 { font-size: 17px; margin-bottom: 8px; }
.interest-item p { min-height: 55px; color: var(--muted); font-size: 13px; line-height: 1.65; }

.magazine-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.story-card { overflow: hidden; padding: 0; }
.story-card.main-story { grid-row: 1 / span 2; }
.story-art { min-height: 180px; background: linear-gradient(135deg, #ffd8e5, #f4dfff 52%, #e6e0ff); position: relative; }
.main-story .story-art { min-height: 340px; }
.story-art::after { content: ""; position: absolute; width: 110px; height: 110px; right: 14%; bottom: 12%; border-radius: 50% 50% 45% 55%; background: rgba(255,255,255,.55); box-shadow: -70px -70px 0 -25px rgba(255,255,255,.35); }
.story-body { padding: 24px; }
.story-body p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.grid-6 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.circle-card { padding: 26px; min-height: 240px; display: flex; flex-direction: column; }
.circle-card .text-link { margin-top: auto; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 25px; bottom: 25px; width: 2px; background: linear-gradient(var(--coral), var(--purple)); }
.timeline-item { position: relative; padding: 0 0 32px 58px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: 12px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--pink); box-shadow: 0 0 0 5px rgba(255,93,158,.08); }
.timeline-item small { display: block; color: var(--berry); font-weight: 800; margin-bottom: 5px; }
.topic-list { display: grid; gap: 12px; }
.topic-item { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; }
.topic-number { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: var(--purple-soft); color: var(--purple-deep); font-weight: 900; }
.topic-item h3 { margin-bottom: 6px; }
.topic-item p { margin: 0; color: var(--muted); }
.diary-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.diary-copy { padding: 38px; }
.diary-prompts { display: grid; gap: 12px; }
.diary-prompts article { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.78); border: 1px solid var(--border); }
.service-banner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 42px; align-items: center; padding: 40px; border-radius: 30px; background: linear-gradient(135deg, #fff0f6, #f7f3ff); border: 1px solid var(--border); }
.service-device { min-height: 420px; display: grid; place-items: center; }
.service-device .phone-mock { width: 230px; transform: rotate(-3deg); }
.advice-grid article { padding: 24px; border-left: 4px solid var(--coral); background: #fff; border-radius: 0 18px 18px 0; }
.safety-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.safety-pane { padding: 34px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); }
.check-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--berry); font-weight: 900; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.review { padding: 24px; }
.review::before { content: "“"; display: block; color: var(--coral); font-size: 46px; line-height: .8; font-weight: 900; }
.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
summary { cursor: pointer; list-style: none; min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; color: var(--title); font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--berry); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 20px; color: var(--muted); margin: 0; }
.brand-story { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; }
.brand-blob { min-height: 320px; border-radius: 36px 36px 110px 36px; background: radial-gradient(circle at 35% 35%, #fff 0 7%, transparent 8%), linear-gradient(135deg,#ffd5e4,#eadfff 60%,#f7f3ff); box-shadow: var(--shadow); }

.page-hero { padding: 70px 24px 42px; }
.page-hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr .55fr; gap: 30px; align-items: end; }
.page-hero h1 { font-size: clamp(38px,5vw,62px); }
.page-intro { max-width: 820px; font-size: 18px; color: var(--muted); }
.page-kicker { display: inline-block; padding: 6px 11px; border-radius: 999px; color: var(--berry); background: var(--pink-soft); font-size: 13px; font-weight: 800; }
.hero-note { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-note strong { display: block; color: var(--title); margin-bottom: 6px; }
.content-stack { display: grid; gap: 20px; }
.prose-card { padding: 30px; }
.prose-card h2 { font-size: 26px; }
.prose-card h3 { font-size: 18px; margin-top: 22px; }
.prose-card p { color: var(--text); }
.info-band { padding: 26px 30px; border-radius: 24px; background: linear-gradient(135deg, #fff0f6, #f7f3ff); border: 1px solid var(--border); }
.info-band h2 { font-size: 24px; }
.step-list { counter-reset: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step-list li { counter-increment: steps; position: relative; padding: 20px 22px 20px 68px; background: #fff; border: 1px solid var(--border); border-radius: 20px; }
.step-list li::before { content: counter(steps); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: var(--gradient); color: white; font-weight: 900; }
.index-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.index-pills a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--berry); font-weight: 700; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-grid article { padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: 22px; }
.callout { padding: 24px 28px; border-radius: 22px; background: #fff7fa; border: 1px solid rgba(217,76,131,.2); }
.callout strong { color: var(--berry); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-weight: 700; }
.end-service { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.end-service h2 { font-size: 24px; margin-bottom: 6px; }
.end-service p { margin: 0; color: var(--muted); }
.inline-list { columns: 2; column-gap: 30px; padding-left: 20px; }
.inline-list li { break-inside: avoid; margin-bottom: 8px; }

.site-footer { background: var(--footer); color: var(--footer-text); padding: 58px 24px calc(24px + env(safe-area-inset-bottom)); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .9fr 2.1fr; gap: 48px; }
.footer-brand strong { font-size: 24px; color: #fff; }
.footer-brand p { max-width: 330px; color: rgba(255,234,242,.72); margin-top: 14px; }
.footer-logo { object-fit: contain; }
.footer-columns { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.footer-columns section { display: grid; align-content: start; gap: 8px; }
.footer-columns h2 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer-columns a { color: rgba(255,234,242,.75); font-size: 14px; }
.footer-columns a:hover { color: #fff; }
.footer-note { max-width: var(--max); margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; color: rgba(255,234,242,.62); font-size: 13px; }
.footer-note p { margin: 0; }

.channel-overlay { position: fixed; inset: 0; z-index: 180; background: rgba(48,36,43,.28); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
.channel-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.channel-panel { position: fixed; z-index: 190; left: 50%; top: 108px; width: min(calc(100% - 48px), var(--max)); max-height: calc(100vh - 132px); overflow: auto; transform: translate(-50%,-18px); opacity: 0; visibility: hidden; pointer-events: none; background: #fff; border: 1px solid var(--border); border-radius: 26px; box-shadow: 0 30px 90px rgba(48,36,43,.22); transition: transform .24s ease, opacity .22s ease, visibility .22s ease; }
.channel-panel.is-open { transform: translate(-50%,0); opacity: 1; visibility: visible; pointer-events: auto; }
.channel-panel-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.channel-panel-head h2 { font-size: 24px; margin: 0; }
.panel-close { min-width: 72px; min-height: 44px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--berry); font-weight: 800; cursor: pointer; }
.channel-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 24px 26px 30px; }
.channel-grid section { min-width: 0; }
.channel-grid h3 { font-size: 15px; color: var(--muted); }
.channel-grid a { display: grid; gap: 2px; min-height: 66px; padding: 11px 12px; border-radius: 16px; }
.channel-grid a:hover { background: var(--pink-soft); }
.channel-grid strong { color: var(--title); }
.channel-grid span { color: var(--muted); font-size: 12px; line-height: 1.5; }
body[data-page="home"] .channel-panel a[href="index.php"],
body[data-page="moments"] .channel-panel a[href="moments.php"],
body[data-page="circles"] .channel-panel a[href="circles.php"],
body[data-page="city"] .channel-panel a[href="city.php"],
body[data-page="topics"] .channel-panel a[href="topics.php"],
body[data-page="diary"] .channel-panel a[href="diary.php"],
body[data-page="community"] .channel-panel a[href="community-rules.php"],
body[data-page="app"] .channel-panel a[href="app.php"],
body[data-page="download"] .channel-panel a[href="download.php"],
body[data-page="guide"] .channel-panel a[href="guide.php"],
body[data-page="notice"] .channel-panel a[href="notice.php"],
body[data-page="safety"] .channel-panel a[href="safety.php"],
body[data-page="privacy"] .channel-panel a[href="privacy.php"],
body[data-page="help"] .channel-panel a[href="help.php"],
body[data-page="faq"] .channel-panel a[href="faq.php"],
body[data-page="service"] .channel-panel a[href="service.php"],
body[data-page="contact"] .channel-panel a[href="contact.php"],
body[data-page="about"] .channel-panel a[href="about.php"],
body[data-page="terms"] .channel-panel a[href="terms.php"] { background: var(--pink-soft); color: var(--berry); }
.mobile-channel-list, .sheet-handle { display: none; }
.bottom-nav { display: none; }

@media (max-width: 980px) {
    .desktop-nav { display: none; }
    .mobile-nav { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 62px; gap: 12px; }
    .mobile-menu-button, .mobile-experience { min-height: 44px; display: inline-flex; align-items: center; border: 0; background: transparent; color: var(--berry); font-weight: 800; white-space: nowrap; }
    .mobile-menu-button { justify-self: start; padding: 0; cursor: pointer; }
    .mobile-brand { justify-self: center; }
    .mobile-experience { justify-self: end; }
    .notice-inner { padding-left: 16px; padding-right: 16px; }
    .notice-links a:first-child { display: none; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-copy { grid-column: 1 / -1; }
    .hero-side { align-self: center; }
    .hero-side .card:first-child, .hero-side .card:last-child { transform: none; }
    .interest-strip { grid-template-columns: repeat(8, minmax(150px,1fr)); }
    .magazine-grid { grid-template-columns: 1fr 1fr; }
    .story-card.main-story { grid-row: auto; grid-column: 1 / -1; }
    .main-story .story-art { min-height: 280px; }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-6 { grid-template-columns: repeat(2,1fr); }
    .review-grid { grid-template-columns: repeat(2,1fr); }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: repeat(2,1fr); }
    .channel-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 85vh; border-radius: 26px 26px 0 0; transform: translateY(105%); opacity: 1; }
    .channel-panel.is-open { transform: translateY(0); }
    .channel-panel-head { padding-top: 12px; }
    .sheet-handle { display: block; position: sticky; top: 0; z-index: 3; width: 48px; height: 5px; margin: 9px auto 0; border-radius: 999px; background: #d8cbd1; }
    .desktop-channel-grid { display: none; }
    .mobile-channel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 18px calc(30px + env(safe-area-inset-bottom)); }
    .mobile-channel-list a { min-height: 48px; display: flex; align-items: center; padding: 0 15px; border-radius: 15px; background: var(--gray-pink); color: var(--title); font-weight: 800; }
    .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; min-height: calc(62px + env(safe-area-inset-bottom)); padding: 7px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: rgba(255,255,255,.96); border-top: 1px solid var(--border); backdrop-filter: blur(14px); }
    .bottom-nav a { min-height: 48px; display: grid; place-items: center; align-content: center; gap: 1px; border-radius: 13px; color: var(--muted); font-size: 15px; }
    .bottom-nav a span { font-size: 17px; line-height: 1; }
    .bottom-nav a strong { font-size: 11px; }
    .bottom-nav a.is-active { color: var(--berry); background: var(--pink-soft); }
    .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) {
    .section { padding: 60px 16px; }
    .section.compact { padding-top: 46px; padding-bottom: 46px; }
    .page-hero { padding: 52px 16px 30px; }
    .page-hero-inner { grid-template-columns: 1fr; }
    .hero { padding: 42px 16px 58px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { grid-column: auto; padding: 12px 0 0; }
    .device-stage { min-height: 430px; }
    .phone-mock { width: 240px; }
    .hero-side { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
    .hero-side .card { min-width: 82%; scroll-snap-align: start; }
    .magazine-grid, .grid-2, .grid-3, .grid-4, .grid-6, .safety-split, .compare-grid, .review-grid, .diary-panel, .service-banner, .brand-story { grid-template-columns: 1fr; }
    .magazine-grid { display: grid; }
    .story-card.main-story { grid-column: auto; }
    .story-art, .main-story .story-art { min-height: 220px; }
    .topic-item { grid-template-columns: 46px 1fr; }
    .topic-item > .text-link { grid-column: 2; }
    .topic-number { width: 46px; height: 46px; }
    .diary-copy { padding: 28px; }
    .service-banner { padding: 26px; gap: 18px; }
    .service-device { min-height: 360px; }
    .end-service { align-items: flex-start; flex-direction: column; }
    .inline-list { columns: 1; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
    .footer-note { flex-direction: column; }
    .channel-panel-head h2 { font-size: 20px; }
}

@media (max-width: 430px) {
    .notice-links { gap: 0; }
    .brand-text { font-size: 20px; }
    .mobile-channel-list { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
    h1 { letter-spacing: -1px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
