:root {
    --bg: #FFF5F8;
    --bg-deep: #FFEBF1;
    --surface: #FFFFFF;
    --surface-soft: #FFF0F5;
    --title: #2D1B24;
    --text: #3D2A32;
    --muted: #6B4E58;
    --faint: #9A7A85;
    --brand: #FF6B9D;
    --brand-light: #FF8FAB;
    --peach: #FFB3C6;
    --pink-soft: #FFD6E3;
    --border: rgba(255, 107, 157, .16);
    --border-strong: rgba(255, 107, 157, .36);
    --shadow: 0 14px 32px rgba(255, 107, 157, .12);
    --header-desktop: 130px;
    --header-mobile: 86px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.wrap, .header-inner { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.peach-line { height: 22px; background: var(--brand); color: #fff; font-size: 12px; }
.peach-line-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-control { border: 0; background: transparent; color: #fff; min-height: 22px; padding: 0 2px; cursor: pointer; }
.flower-gate { height: 64px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.flower-gate-inner { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.brand-link { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; color: var(--title); letter-spacing: .02em; }
.brand-link img { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.drawer-button, .app-link, .button-primary, .button-secondary, .inline-link {
    min-height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.drawer-button { justify-self: center; border: 1px solid var(--border-strong); background: var(--surface-soft); color: var(--title); cursor: pointer; }
.app-link, .button-primary { justify-self: end; color: #fff; background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%); border: 1px solid transparent; box-shadow: 0 8px 20px rgba(255,107,157,.16); }
.button-secondary, .inline-link { background: var(--surface-soft); color: var(--title); border: 1px solid var(--border-strong); }
.drawer-button:hover, .app-link:hover, .button-primary:hover, .button-secondary:hover, .inline-link:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(255,107,157,.28); outline-offset: 3px; }
.petal-tabs { height: 44px; background: var(--surface-soft); border-bottom: 1px solid var(--border); }
.petal-tabs-inner { height: 44px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; overflow: hidden; }
.petal-tab { min-height: 32px; display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 9px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.petal-tab.is-active { background: var(--brand); color: #fff; font-weight: 700; }
.site-main { min-height: 60vh; padding-top: calc(var(--header-desktop) + 28px); }
.page-shell { padding-bottom: 72px; }
.page-head { padding: 24px 0 18px; }
.eyebrow { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3 { color: var(--title); line-height: 1.28; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 12px; }
h2 { font-size: clamp(22px, 3vw, 26px); margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin-top: 0; }
.lead { max-width: 860px; color: var(--muted); font-size: 17px; }
.hero-card, .section-card, .feature-card, .soft-card, .article-card, .quote-card, .status-card, .step-card, .faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.hero-card { padding: clamp(18px, 3vw, 30px); }
.section-space { margin-top: 26px; }
.section-card { padding: clamp(18px, 3vw, 28px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-heading p { margin-bottom: 0; color: var(--muted); max-width: 660px; }
.media-frame { width: 100%; min-height: 180px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.media-frame.hero-media { max-height: 300px; min-height: 220px; }
.media-frame.column-media { min-height: 200px; }
.media-frame.app-media { min-height: 320px; max-height: 420px; }
.media-frame img { width: 100%; height: 100%; max-height: inherit; object-fit: contain; object-position: center; }
.media-fallback { width: 100%; min-height: inherit; display: grid; place-items: center; padding: 28px; text-align: center; background: linear-gradient(145deg, #FFF0F5, #FFEBF1); color: var(--title); font-size: 22px; font-weight: 800; }
.hero-copy { padding-top: 20px; }
.hero-copy .kicker { color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.hero-copy h1 { max-width: 780px; }
.hero-copy p { max-width: 900px; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.grid-3, .grid-4, .grid-2, .grid-5 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.feature-card, .soft-card, .article-card, .quote-card, .status-card, .step-card { padding: 18px; }
.feature-card p, .soft-card p, .article-card p, .status-card p, .step-card p { color: var(--muted); margin-bottom: 0; }
.card-media { margin: -18px -18px 16px; border-radius: 18px 18px 14px 14px; border-width: 0 0 1px; min-height: 200px; }
.number-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.number-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.number-list li:first-child { border-top: 0; padding-top: 0; }
.number-list b { color: var(--brand); font-size: 28px; line-height: 1; }
.number-list strong { display: block; color: var(--title); margin-bottom: 4px; }
.number-list span { color: var(--muted); }
.vertical-notes { display: grid; gap: 12px; }
.vertical-note { padding: 14px 0; border-top: 1px solid var(--border); }
.vertical-note:first-child { border-top: 0; }
.vertical-note strong { color: var(--title); display: block; margin-bottom: 3px; }
.large-number { color: var(--brand); font-size: 36px; line-height: 1; font-weight: 900; margin-bottom: 8px; }
.status-card { border-top: 3px solid var(--peach); }
.status-card .status-label { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 9px; border-radius: 8px; background: var(--surface-soft); color: var(--brand); font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.step-card { position: relative; padding-top: 46px; }
.step-card .step-no { position: absolute; top: 14px; left: 18px; color: var(--brand); font-weight: 900; }
.quote-card blockquote { margin: 0; color: var(--text); }
.quote-card footer { margin-top: 12px; color: var(--brand); font-size: 13px; font-weight: 800; }
.split-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: center; }
.copy-list { display: grid; gap: 14px; }
.copy-item { padding: 16px 0; border-top: 1px solid var(--border); }
.copy-item:first-child { border-top: 0; }
.copy-item h3 { margin-bottom: 4px; }
.copy-item p { color: var(--muted); margin-bottom: 0; }
.article-stack { display: grid; gap: 16px; }
.article-card h2 { font-size: 21px; }
.article-card p:last-child { margin-bottom: 0; }
.index-list { display: grid; gap: 14px; }
.index-row { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; gap: 18px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.index-row .index-label { color: var(--brand); font-weight: 800; }
.index-row p { color: var(--muted); margin-bottom: 0; }
.index-row a { align-self: center; color: var(--brand); font-weight: 800; }
.term-list { margin: 0; padding-left: 1.2em; }
.term-list li { margin: 8px 0; color: var(--muted); }
.notice-box { background: var(--surface-soft); border: 1px solid var(--border-strong); border-radius: 16px; padding: 18px; }
.notice-box strong { color: var(--title); }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 18px; }
.faq-item h2 { font-size: 19px; }
.faq-item p { margin-bottom: 0; color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; color: var(--faint); font-size: 13px; margin-bottom: 10px; }
.breadcrumb a { color: var(--brand); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { display: inline-flex; min-height: 30px; align-items: center; border: 1px solid var(--border); background: var(--surface-soft); color: var(--muted); border-radius: 9px; padding: 4px 9px; font-size: 13px; }
.site-footer { background: #2D1B24; color: #FFD6E3; padding: 42px 0 24px; }
.footer-brand { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,214,227,.16); }
.footer-brand-mark { display: flex; align-items: center; gap: 12px; }
.footer-brand-mark img { width: auto; height: 34px; object-fit: contain; }
.footer-brand-mark strong { display: block; color: #fff; font-size: 18px; }
.footer-brand-mark span { display: block; color: #FFD6E3; font-size: 12px; letter-spacing: .08em; }
.footer-brand p { margin: 0; color: #FFD6E3; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; padding: 28px 0; }
.footer-links h2 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer-links a { display: block; color: #FFD6E3; padding: 4px 0; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,214,227,.16); padding-top: 18px; font-size: 13px; color: #FFD6E3; }
.site-overlay { position: fixed; inset: 0; background: rgba(45,27,36,.34); z-index: 70; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.site-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.note-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(330px, 82vw); background: var(--surface); transform: translateX(-104%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s ease; box-shadow: 16px 0 40px rgba(45,27,36,.14); display: flex; flex-direction: column; }
.note-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--title); }
.drawer-brand img { height: 30px; width: auto; object-fit: contain; }
.icon-button { min-height: 44px; min-width: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface-soft); color: var(--title); cursor: pointer; padding: 8px 12px; }
.drawer-scroll { padding: 8px 14px 24px; overflow-y: auto; }
.drawer-group { padding: 14px 0; border-bottom: 1px solid var(--border); }
.drawer-group:last-child { border-bottom: 0; }
.drawer-group h2 { font-size: 14px; color: var(--brand); margin: 0 0 8px 4px; }
.drawer-group a { display: block; padding: 10px 8px; border-radius: 12px; }
.drawer-group a:hover { background: var(--surface-soft); }
.drawer-group strong { display: block; color: var(--title); font-size: 15px; }
.drawer-group span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 2px; }
.search-panel { position: fixed; top: 86px; left: 50%; z-index: 85; width: min(760px, calc(100% - 32px)); transform: translate(-50%, -18px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.search-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.search-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 24px 60px rgba(45,27,36,.18); padding: 18px; }
.search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.search-head h2 { font-size: 21px; margin: 3px 0 0; }
.search-appearance { margin-top: 14px; min-height: 48px; border: 1px solid var(--border-strong); background: var(--surface-soft); border-radius: 12px; padding: 8px 10px 8px 14px; display: flex; align-items: center; justify-content: space-between; color: var(--faint); }
.search-appearance b { color: var(--brand); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-presets a { min-height: 40px; display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--border); color: var(--title); background: #fff; }
.mobile-bottom-nav { display: none; }
.two-column-copy { columns: 2 320px; column-gap: 28px; }
.two-column-copy p { break-inside: avoid; }
@media (min-width: 761px) {
    .search-panel { top: 102px; }
}
@media (max-width: 980px) {
    .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .split-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    :root { --header-mobile: 86px; }
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .wrap, .header-inner { width: min(100% - 32px, 1220px); }
    .petal-tabs { display: none; }
    .site-main { padding-top: calc(var(--header-mobile) + 18px); }
    .flower-gate-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
    .brand-link { min-width: 0; overflow: hidden; }
    .brand-link img { max-width: 124px; height: 30px; }
    .brand-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .drawer-button, .app-link { min-height: 44px; padding: 8px 11px; font-size: 14px; border-radius: 10px; }
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .hero-card, .section-card { padding: 16px; }
    .card-media { margin: -18px -18px 14px; min-height: 180px; }
    .media-frame.hero-media { min-height: 180px; }
    .index-row { grid-template-columns: 1fr; gap: 7px; }
    .index-row a { justify-self: start; }
    .footer-brand { grid-template-columns: 1fr; gap: 16px; }
    .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 16px; }
    .site-footer { padding-bottom: 82px; }
    .mobile-bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; min-height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.98); border-top: 1px solid var(--border); box-shadow: 0 -8px 20px rgba(45,27,36,.06); }
    .mobile-bottom-nav a { min-height: 50px; display: grid; place-items: center; font-size: 13px; color: var(--muted); }
    .mobile-bottom-nav a.is-active { background: var(--brand); color: #fff; font-weight: 800; }
    .search-panel { top: 92px; width: calc(100% - 24px); }
    .search-card { padding: 14px; }
    .search-head h2 { font-size: 18px; }
}
@media (max-width: 430px) {
    .peach-line-inner span { max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .brand-link img { max-width: 102px; }
    .drawer-button, .app-link { padding-inline: 9px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .number-list li { grid-template-columns: 44px 1fr; }
}
.app-icon-inline { width: 64px; height: 64px; object-fit: contain; margin-top: 14px; border-radius: 14px; }
.vertical-note span { color: var(--muted); }
.text-control { position: relative; }
.text-control::before { content: ""; position: absolute; inset: -11px -8px; }
.media-frame.hero-media { height: 300px; }
.media-frame.column-media { height: 220px; }
.media-frame.card-media { height: 210px; }
.media-frame.app-media { height: 420px; }
@media (max-width: 760px) {
    .media-frame.hero-media { height: 220px; }
    .media-frame.column-media { height: 200px; }
    .media-frame.card-media { height: 190px; }
    .media-frame.app-media { height: 360px; }
}
