:root {
    --bg: #FFF8FB;
    --surface: #FFFFFF;
    --soft-pink: #FFF0F6;
    --soft-purple: #F7F3FF;
    --soft-gray: #F8F4F6;
    --title: #32262D;
    --text: #51444C;
    --muted: #7C6D76;
    --light-text: #A09199;
    --pink: #FF5D9E;
    --berry: #D94C83;
    --coral: #FF8EAC;
    --purple: #8C76E8;
    --deep-purple: #6753B5;
    --border: rgba(255,93,158,.15);
    --shadow: 0 14px 36px rgba(76,48,66,.08);
    --shadow-strong: 0 18px 46px rgba(217,76,131,.15);
    --gradient: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%);
    --footer: #30242B;
    --footer-text: #FFEAF2;
    --radius: 22px;
    --header-height: 108px;
}
* { box-sizing: border-box; }
*::before, *::after { pointer-events: none; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
}
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(140,118,232,.42);
    outline-offset: 3px;
}
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4 { margin-top: 0; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
    position: fixed; left: 16px; top: 10px; z-index: 300;
    padding: 10px 14px; border-radius: 12px; background: var(--surface); color: var(--title);
    transform: translateY(-160%); box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 100; }
.notice-bar { height: 36px; background: rgba(255,240,246,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.notice-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.notice-inner p { margin: 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.notice-links { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.notice-links a:hover { color: var(--berry); }
.main-nav { height: 72px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(217,76,131,.10); backdrop-filter: blur(18px); }
.nav-inner { height: 100%; display: grid; grid-template-columns: 180px minmax(420px, 1fr) 250px; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; }
.brand img { max-height: 42px; width: auto; object-fit: contain; }
.brand-text, .footer-logo span { font-size: 26px; font-weight: 900; letter-spacing: -.03em; color: var(--title); }
.brand-text::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 4px; border-radius: 50%; background: var(--gradient); vertical-align: .25em; }
.desktop-primary { display: flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; }
.desktop-primary a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border-radius: 999px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.desktop-primary a:hover, .desktop-primary a.is-current { background: var(--soft-pink); color: var(--berry); }
.desktop-primary a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 3px; border-radius: 999px; background: var(--pink); transform: translateX(-50%); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.button, .button-outline, .channel-desktop-button, .nav-text-button, .mobile-experience {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; font-weight: 800; line-height: 1; white-space: nowrap; border: 0; cursor: pointer;
}
.button { color: #fff; background: var(--gradient); box-shadow: 0 10px 22px rgba(217,76,131,.2); }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-strong); }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-outline, .channel-desktop-button, .nav-text-button { background: var(--surface); color: var(--berry); border: 1px solid rgba(217,76,131,.18); }
.button-outline:hover, .channel-desktop-button:hover, .nav-text-button:hover { background: var(--soft-pink); }
.mobile-nav-side { display: none; }

.channel-overlay {
    position: fixed; inset: var(--header-height) 0 0 0; z-index: 119; background: rgba(50,38,45,.24);
    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; }
.channel-panel {
    position: fixed; z-index: 120; top: var(--header-height); left: 50%; width: min(1200px, calc(100% - 40px)); max-height: calc(100vh - var(--header-height) - 22px);
    overflow-y: auto; transform: translate(-50%, -14px); opacity: 0; visibility: hidden; pointer-events: none;
    background: rgba(255,255,255,.98); border: 1px solid var(--border); border-radius: 0 0 26px 26px; box-shadow: var(--shadow-strong); transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.channel-panel.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.panel-head strong { display: block; color: var(--title); font-size: 18px; }
.panel-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.panel-drag { display: none; }
.channel-close { min-width: 72px; min-height: 42px; border: 1px solid var(--border); border-radius: 999px; background: var(--soft-pink); color: var(--berry); cursor: pointer; }
.desktop-channel-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 22px; }
.channel-group h2 { margin-bottom: 12px; color: var(--title); font-size: 15px; }
.channel-group a { display: block; padding: 11px 12px; margin-bottom: 6px; border-radius: 14px; }
.channel-group a:hover, .channel-group a.is-current { background: var(--soft-pink); }
.channel-group strong { display: block; color: var(--title); font-size: 14px; }
.channel-group span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.mobile-channel-list { display: none; }

main { display: block; }
.page-section { padding: 84px 0; }
.page-section.compact { padding: 58px 0; }
.section-soft { background: var(--soft-pink); }
.section-purple { background: var(--soft-purple); }
.section-white { background: var(--surface); }
.section-gray { background: var(--soft-gray); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head > div { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 11px; color: var(--berry); font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 999px; background: var(--gradient); }
h1, h2, h3 { color: var(--title); line-height: 1.22; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 5vw, 66px); margin-bottom: 20px; }
h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 10px; }
.lead { max-width: 850px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; min-height: 42px; color: var(--berry); font-weight: 800; }
.text-link::after { content: "→"; margin-left: 7px; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(3px); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 5px 10px; border-radius: 999px; background: var(--soft-pink); color: var(--berry); font-size: 12px; font-weight: 700; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 26px; }
.cards-2, .cards-3, .cards-4, .cards-6 { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card p:last-child { margin-bottom: 0; }
.icon-dot { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 15px; background: var(--gradient); color: #fff; font-weight: 900; }

.hero { position: relative; overflow: hidden; padding: 76px 0 64px; background: radial-gradient(circle at 18% 10%, rgba(255,142,172,.24), transparent 33%), radial-gradient(circle at 83% 15%, rgba(140,118,232,.16), transparent 30%), var(--bg); }
.hero::before { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; bottom: -210px; border-radius: 50%; border: 70px solid rgba(255,93,158,.08); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .72fr) minmax(240px, .72fr); gap: 28px; align-items: center; }
.hero-copy .brand-kicker { margin-bottom: 8px; color: var(--pink); font-size: 20px; font-weight: 900; }
.hero-copy p { max-width: 670px; font-size: 17px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.phone-visual { position: relative; width: min(290px, 100%); aspect-ratio: 9 / 18.4; margin-inline: auto; padding: 10px; border: 7px solid #47373F; border-radius: 44px; background: #fff; box-shadow: 0 28px 60px rgba(76,48,66,.18); }
.phone-screen { height: 100%; overflow: hidden; border-radius: 32px; background: linear-gradient(180deg, #FFF0F6, #F7F3FF 48%, #fff); padding: 20px 15px; }
.phone-notch { width: 34%; height: 17px; margin: -10px auto 20px; border-radius: 0 0 13px 13px; background: #47373F; }
.mock-profile { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.mock-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); }
.mock-lines { flex: 1; }
.mock-lines i, .mock-card i { display: block; height: 7px; margin: 5px 0; border-radius: 999px; background: rgba(81,68,76,.13); }
.mock-lines i:first-child { width: 58%; }
.mock-media { aspect-ratio: 4 / 3; border-radius: 20px; background: linear-gradient(145deg, rgba(255,142,172,.75), rgba(140,118,232,.62)); margin-bottom: 14px; }
.mock-media-tall { aspect-ratio: 1 / 1.12; }
.mock-card { padding: 13px; margin: 10px 0; border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: 0 8px 20px rgba(76,48,66,.06); }
.hero-side { display: grid; gap: 18px; }
.hero-mini { padding: 24px; min-height: 190px; border-radius: 24px; background: rgba(255,255,255,.92); border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-mini:nth-child(2) { background: linear-gradient(145deg, #fff, #F7F3FF); }
.hero-mini .mini-mark { width: 36px; height: 6px; margin-bottom: 26px; border-radius: 999px; background: var(--gradient); }
.hero-mini p { margin-bottom: 0; color: var(--muted); }

.topic-strip { overflow-x: auto; display: flex; gap: 14px; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.topic-chip { flex: 0 0 172px; scroll-snap-align: start; padding: 19px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.topic-chip h3 { font-size: 17px; }
.topic-chip p { min-height: 52px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.topic-chip a { color: var(--berry); font-size: 13px; font-weight: 800; }

.magazine-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-auto-rows: minmax(220px, auto); gap: 18px; }
.magazine-main { grid-row: span 2; padding: 30px; background: linear-gradient(150deg, #fff, #FFF0F6); }
.magazine-card { position: relative; overflow: hidden; padding: 24px; }
.magazine-card::after { content: ""; position: absolute; right: -32px; bottom: -42px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,93,158,.08); }
.magazine-main .visual-block { aspect-ratio: 16 / 10; margin-bottom: 25px; border-radius: 22px; background: linear-gradient(135deg, rgba(255,142,172,.88), rgba(255,93,158,.52) 50%, rgba(140,118,232,.70)); }
.magazine-card p { color: var(--muted); }
.circle-card { display: flex; flex-direction: column; min-height: 310px; }
.circle-card .circle-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.circle-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--soft-purple); color: var(--deep-purple); font-weight: 900; }
.circle-card .discussion { padding: 12px 14px; margin-top: auto; border-radius: 14px; background: var(--soft-gray); color: var(--muted); font-size: 13px; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 138px; width: 2px; background: linear-gradient(var(--pink), rgba(140,118,232,.25)); }
.timeline-item { display: grid; grid-template-columns: 118px 28px 1fr; gap: 16px; align-items: start; padding: 18px 0; }
.timeline-label { color: var(--berry); font-size: 13px; font-weight: 900; text-align: right; }
.timeline-node { width: 14px; height: 14px; margin: 5px auto 0; border-radius: 50%; background: #fff; border: 4px solid var(--pink); box-shadow: 0 0 0 5px rgba(255,93,158,.10); }
.timeline-content { padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.timeline-content p { margin-bottom: 6px; color: var(--muted); }
.timeline-content small { color: var(--light-text); }

.topic-discussions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.discussion-card { min-height: 290px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--border); }
.discussion-card:nth-child(even) { transform: translateY(18px); background: var(--soft-purple); }
.discussion-card .number { display: block; margin-bottom: 28px; color: var(--pink); font-size: 12px; font-weight: 900; }
.discussion-card p { color: var(--muted); font-size: 14px; }

.diary-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: stretch; }
.diary-story { padding: 34px; }
.diary-prompts { display: grid; gap: 14px; }
.diary-prompt { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border); }
.diary-prompt:nth-child(2) { background: var(--soft-purple); }
.diary-prompt:nth-child(3) { background: var(--soft-pink); }
.diary-prompt span { color: var(--berry); font-size: 12px; font-weight: 900; }

.app-showcase { overflow: hidden; background: linear-gradient(135deg, #FFF0F6 0%, #FFF8FB 48%, #F7F3FF 100%); }
.app-grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: 40px; align-items: center; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.service-list .service-item { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.88); border: 1px solid var(--border); }
.service-list h3 { font-size: 16px; }
.service-list p { margin: 0; color: var(--muted); font-size: 13px; }
.compact-phone { transform: rotate(3deg); }

.advice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.advice-card { padding: 24px; border-top: 4px solid var(--coral); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.advice-card:nth-child(2) { border-top-color: var(--pink); }
.advice-card:nth-child(3) { border-top-color: var(--purple); }
.advice-card:nth-child(4) { border-top-color: var(--berry); }
.advice-card p { color: var(--muted); margin-bottom: 0; }

.security-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.security-panel { padding: 32px; border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.security-panel:nth-child(2) { background: linear-gradient(145deg, #fff, #F7F3FF); }
.clean-list { margin: 18px 0 22px; padding: 0; list-style: none; }
.clean-list li { position: relative; padding-left: 23px; margin: 8px 0; color: var(--muted); }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }
.warning-note { padding: 18px 20px; margin-top: 22px; border-left: 4px solid var(--pink); border-radius: 12px; background: var(--soft-pink); color: var(--muted); }

.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feedback-card { position: relative; padding: 27px; border-radius: 22px; background: #fff; border: 1px solid var(--border); }
.feedback-card::before { content: "“"; display: block; height: 34px; color: rgba(217,76,131,.32); font-family: Georgia, serif; font-size: 52px; line-height: .7; }
.feedback-card p { margin-bottom: 0; color: var(--muted); }

.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 17px; overflow: hidden; }
summary { position: relative; list-style: none; min-height: 56px; padding: 16px 52px 16px 20px; color: var(--title); font-weight: 800; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--berry); font-size: 24px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.brand-story { display: grid; grid-template-columns: .7fr 1.3fr; gap: 32px; align-items: center; }
.brand-art { min-height: 320px; border-radius: 28px; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.92), transparent 13%), radial-gradient(circle at 61% 58%, rgba(255,255,255,.82), transparent 10%), linear-gradient(135deg, #FFB1C6, #FF6EA8 52%, #9B8BED); box-shadow: var(--shadow-strong); }

.page-hero { padding: 70px 0 52px; background: linear-gradient(180deg, #FFF0F6 0%, #FFF8FB 100%); }
.page-hero .hero-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 58px); }
.page-hero .lead { max-width: 860px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.content-index { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.content-index a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 999px; background: var(--soft-pink); color: var(--berry); font-weight: 700; font-size: 14px; }
.content-index a:hover { background: #FFE2EE; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 24px; align-items: start; }
.article-main { display: grid; gap: 20px; }
.article-block { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-block:nth-child(even) { background: linear-gradient(145deg, #fff, #FFF9FC); }
.article-block p { color: var(--muted); }
.article-block p:last-child { margin-bottom: 0; }
.article-aside { position: sticky; top: 130px; display: grid; gap: 16px; }
.aside-card { padding: 22px; border-radius: 20px; background: var(--soft-purple); border: 1px solid rgba(140,118,232,.13); }
.aside-card.pink { background: var(--soft-pink); border-color: var(--border); }
.aside-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 72px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--gradient); color: #fff; font-weight: 900; }
.step h3 { font-size: 17px; }
.step p { margin-bottom: 0; color: var(--muted); }
.inline-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.inline-panel { padding: 24px; border-radius: 20px; background: var(--soft-gray); }
.inline-panel h3 { font-size: 18px; }
.inline-panel p { margin-bottom: 0; color: var(--muted); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--berry); font-weight: 800; }
.related-links a:hover { background: var(--soft-pink); }
.service-note { padding: 28px; border-radius: 24px; background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)); border: 1px solid var(--border); }
.service-note p { color: var(--muted); }
.service-note p:last-child { margin-bottom: 0; }
.quote-note { padding: 20px 22px; border-radius: 16px; background: var(--soft-pink); border-left: 4px solid var(--pink); }
.quote-note p { margin: 0; color: var(--muted); }

.site-footer { padding: 58px 0 calc(26px + env(safe-area-inset-bottom)); background: var(--footer); color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; }
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { max-height: 42px; width: auto; filter: brightness(0) invert(1); }
.footer-logo span { color: #fff; }
.footer-brand p { max-width: 320px; color: rgba(255,234,242,.72); font-size: 14px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: 15px; }
.site-footer a { display: block; width: max-content; max-width: 100%; margin: 7px 0; color: rgba(255,234,242,.76); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 28px; margin-top: 36px; border-top: 1px solid rgba(255,234,242,.12); color: rgba(255,234,242,.62); font-size: 13px; }
.footer-bottom p { margin-bottom: 0; }
.mobile-bottom-nav { display: none; }

@media (max-width: 1020px) {
    .nav-inner { grid-template-columns: 150px minmax(360px, 1fr) 220px; gap: 8px; }
    .desktop-primary { gap: 2px; }
    .desktop-primary a { padding-inline: 10px; }
    .hero-grid { grid-template-columns: 1fr .7fr; }
    .hero-side { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-mini { min-height: auto; }
    .topic-discussions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .discussion-card:nth-child(even) { transform: none; }
    .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .advice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
    .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { margin-top: 10px; }
}

@media (max-width: 900px) {
    :root { --header-height: 94px; }
    html { scroll-behavior: auto; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .container { width: calc(100% - 32px); }
    .notice-bar { height: 32px; }
    .notice-inner p { overflow: hidden; text-overflow: ellipsis; }
    .notice-community { display: none; }
    .notice-links { gap: 0; flex: 0 0 auto; }
    .main-nav { height: 62px; }
    .nav-inner { grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr); gap: 8px; }
    .brand { justify-self: center; grid-column: 2; }
    .brand img { max-width: 92px; max-height: 34px; }
    .brand-text { font-size: 22px; }
    .desktop-primary, .nav-actions { display: none; }
    .mobile-nav-side { display: flex; align-items: center; }
    .mobile-nav-left { justify-self: start; grid-column: 1; grid-row: 1; }
    .mobile-nav-right { justify-self: end; grid-column: 3; grid-row: 1; }
    .nav-text-button, .mobile-experience { min-height: 44px; padding: 9px 12px; font-size: 13px; }
    .mobile-experience { background: var(--gradient); color: #fff; }

    .channel-overlay { z-index: 149; inset: 0; }
    .channel-panel {
        z-index: 150; top: auto; bottom: 0; left: 0; width: 100%; max-height: 85vh; border-radius: 26px 26px 0 0;
        transform: translateY(105%); opacity: 1; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom);
    }
    .channel-panel.is-open { transform: translateY(0); }
    .panel-head { position: sticky; top: 0; z-index: 2; padding: 19px 16px 15px; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
    .panel-drag { display: block; position: absolute; top: 7px; left: 50%; width: 42px; height: 4px; border-radius: 999px; background: #DDD0D7; transform: translateX(-50%); }
    .panel-head strong { font-size: 17px; }
    .desktop-channel-groups { display: none; }
    .mobile-channel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 20px; }
    .mobile-channel-list a { display: flex; align-items: center; min-height: 50px; padding: 10px 14px; border-radius: 14px; background: var(--soft-gray); color: var(--title); font-weight: 800; }
    .mobile-channel-list a.is-current { background: var(--soft-pink); color: var(--berry); }

    .mobile-bottom-nav {
        position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
        min-height: calc(64px + env(safe-area-inset-bottom)); padding: 5px 5px env(safe-area-inset-bottom); background: rgba(255,255,255,.96);
        border-top: 1px solid rgba(217,76,131,.14); backdrop-filter: blur(16px); box-shadow: 0 -8px 24px rgba(76,48,66,.06);
    }
    .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; border-radius: 12px; color: var(--muted); line-height: 1.2; }
    .mobile-bottom-nav a span { height: 24px; font-size: 19px; font-style: normal; }
    .mobile-bottom-nav a em { margin-top: 2px; font-size: 11px; font-style: normal; font-weight: 800; }
    .mobile-bottom-nav a.is-current { color: var(--berry); background: var(--soft-pink); }

    .page-section { padding: 60px 0; }
    .page-section.compact { padding: 46px 0; }
    .section-head { align-items: start; flex-direction: column; margin-bottom: 26px; }
    h1 { font-size: clamp(38px, 12vw, 52px); }
    h2 { font-size: clamp(26px, 8vw, 34px); }
    .lead { font-size: 16px; }
    .cards-2, .cards-3, .cards-4, .cards-6, .feedback-grid, .security-split, .inline-panels { grid-template-columns: 1fr; }
    .hero { padding: 50px 0 54px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-copy { order: 1; }
    .hero-grid > .phone-visual { order: 2; }
    .hero-side { order: 3; grid-column: auto; grid-template-columns: 1fr; }
    .hero-actions { align-items: stretch; }
    .hero-actions .button { flex: 1 0 180px; }
    .phone-visual { width: min(270px, 78vw); }
    .topic-strip { margin-right: -16px; padding-right: 16px; }
    .topic-chip { flex-basis: 72vw; max-width: 260px; }
    .magazine-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .magazine-main { grid-row: auto; }
    .topic-discussions { display: flex; overflow-x: auto; margin-right: -16px; padding: 2px 16px 12px 2px; scroll-snap-type: x proximity; }
    .discussion-card { flex: 0 0 78vw; max-width: 300px; min-height: 250px; scroll-snap-align: start; }
    .diary-layout, .app-grid, .brand-story, .article-grid { grid-template-columns: 1fr; }
    .service-list { grid-template-columns: 1fr; }
    .advice-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 8px; }
    .timeline-item { grid-template-columns: 26px 1fr; gap: 10px; }
    .timeline-label { grid-column: 2; text-align: left; margin-bottom: -7px; }
    .timeline-node { grid-column: 1; grid-row: 1 / span 2; }
    .timeline-content { grid-column: 2; }
    .article-aside { position: static; }
    .page-hero { padding: 48px 0 38px; }
    .article-block { padding: 24px 20px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 420px) {
    .nav-text-button, .mobile-experience { padding-inline: 10px; }
    .nav-text-button { font-size: 12px; }
    .mobile-channel-list { grid-template-columns: 1fr; }
    .topic-chip { flex-basis: 80vw; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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