
:root {
    --bg: #FFF5F8;
    --bg-deep: #FFEBF1;
    --surface: #FFFFFF;
    --surface-soft: #FFF0F5;
    --title: #2D1B24;
    --text: #3D2A32;
    --muted: #6B4E58;
    --light-muted: #9A7A85;
    --brand: #FF6B9D;
    --brand-light: #FF8FAB;
    --peach: #FFB3C6;
    --pink-soft: #FFD6E3;
    --border: rgba(255, 107, 157, 0.16);
    --border-strong: rgba(255, 107, 157, 0.36);
    --shadow: 0 14px 32px rgba(255, 107, 157, 0.12);
    --footer: #2D1B24;
    --footer-text: #FFD6E3;
    --max: 1220px;
}

* { 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", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.78;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(255, 107, 157, 0.42); outline-offset: 3px; }

.fixed-header { position: fixed; inset: 0 0 auto 0; z-index: 200; }
.peach-line { height: 22px; background: var(--brand); color: #fff; }
.peach-line__inner,
.flower-door__inner,
.petal-tabs__inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}
.peach-line__inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 1; }
.line-search { min-height: 22px; border: 0; background: transparent; color: #fff; padding: 0 2px; }

.flower-door { height: 64px; background: #fff; border-bottom: 1px solid var(--border); }
.flower-door__inner { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand-link { justify-self: start; display: inline-flex; min-height: 44px; align-items: center; max-width: 240px; }
.site-logo, .footer-logo__img, .drawer-logo { width: auto; height: 34px; object-fit: contain; object-position: left center; }
.logo-fallback { color: var(--title); font-size: 22px; font-weight: 800; letter-spacing: .05em; }
.drawer-toggle, .app-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 0 18px; }
.drawer-toggle { border: 1px solid var(--border-strong); background: var(--surface-soft); color: var(--title); font-weight: 700; }
.app-link { justify-self: end; background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%); color: #fff; font-weight: 700; }

.petal-tabs { height: 44px; background: var(--surface-soft); border-bottom: 1px solid var(--border); }
.petal-tabs__inner { height: 44px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.petal-tab { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 700; }
.petal-tab:hover { background: #fff; color: var(--brand); }
.petal-tab.is-current { background: var(--brand); color: #fff; }

.site-main { padding-top: 130px; min-height: 70vh; }
.page-wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.page-hero { padding: 44px 0 24px; }
.eyebrow { display: inline-block; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
h1, h2, h3 { color: var(--title); line-height: 1.32; margin-top: 0; }
h1 { font-size: clamp(28px, 3vw, 32px); margin-bottom: 14px; }
h2 { font-size: clamp(21px, 2.3vw, 26px); margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 1em; }
.lede { max-width: 860px; color: var(--muted); font-size: 17px; }
.subtle { color: var(--light-muted); }

.content-section { padding: 26px 0; }
.content-section + .content-section { border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head p { max-width: 720px; color: var(--muted); margin: 0; }

.cover-slot, .media-slot {
    background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cover-slot { width: 100%; aspect-ratio: 16 / 9; max-height: 300px; }
.media-slot { min-height: 210px; }
.cover-slot img, .media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cover-fallback { padding: 38px; text-align: center; }
.cover-fallback strong { display: block; color: var(--title); font-size: clamp(28px, 5vw, 54px); }
.cover-fallback span { color: var(--muted); }

.hero-copy { padding: 22px 4px 0; }
.hero-copy .micro-title { color: var(--brand); font-weight: 800; margin-bottom: 4px; }
.hero-copy h1 { max-width: 760px; }
.action-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 0 18px; font-weight: 800; }
.btn-primary { background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%); color: #fff; }
.btn-secondary { background: var(--surface-soft); color: var(--title); border: 1px solid var(--border-strong); }
.btn:hover { transform: translateY(-1px); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card, .panel, .status-card, .number-item, .question-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.card { padding: 16px; }
.card .media-slot { height: 200px; min-height: 180px; margin-bottom: 16px; border-radius: 14px; box-shadow: none; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--brand); font-weight: 800; margin-top: 10px; }

.split-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 24px; align-items: start; }
.split-section.reverse { grid-template-columns: minmax(300px, .95fr) minmax(0, 1.05fr); }
.split-section.reverse .split-media { order: 2; }
.split-section.reverse .split-copy { order: 1; }
.split-media .media-slot { min-height: 250px; }
.split-copy { padding: 8px 0; }

.number-list { display: grid; gap: 12px; }
.number-item { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 18px; box-shadow: none; }
.number-item .num { color: var(--brand); font-size: 34px; font-weight: 900; line-height: 1; }
.number-item p { color: var(--muted); margin: 5px 0 0; }

.four-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.status-card { padding: 18px; box-shadow: none; }
.status-card span { display: inline-block; color: var(--brand); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.status-card p { color: var(--muted); margin: 0; }

.step-list { counter-reset: work; display: grid; gap: 12px; }
.step-list article { counter-increment: work; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.step-list article::before { content: counter(work, decimal-leading-zero); width: 42px; height: 42px; border-radius: 12px; background: var(--surface-soft); color: var(--brand); display: grid; place-items: center; font-weight: 900; }
.step-list p { color: var(--muted); margin-bottom: 0; }

.quote-note { background: #fff; border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; padding: 20px 22px; margin: 14px 0; box-shadow: var(--shadow); }
.quote-note strong { color: var(--brand); }
.quote-note p { margin: 8px 0 0; color: var(--muted); }

.index-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.index-list article { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.index-list p { color: var(--muted); margin: 0; }
.index-list a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 7px; color: var(--brand); font-weight: 800; }

.longform { max-width: 920px; }
.longform section { margin-bottom: 28px; }
.longform p { color: var(--text); }
.longform ul { padding-left: 20px; }
.longform li { margin: 8px 0; }
.notice { background: var(--surface-soft); border: 1px solid var(--border-strong); border-radius: 16px; padding: 18px; color: var(--muted); }

.app-layout { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 28px; align-items: center; }
.app-visual { min-height: 360px; background: #fff; border: 1px solid var(--border); border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 18px; box-shadow: var(--shadow); }
.app-visual img { width: 100%; max-height: 420px; object-fit: contain; }
.app-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 16px; }

.faq-grid { display: grid; gap: 14px; }
.question-card { padding: 20px; box-shadow: none; }
.question-card h2 { font-size: 18px; }
.question-card p { color: var(--muted); margin-bottom: 0; }

.site-footer { background: var(--footer); color: var(--footer-text); margin-top: 48px; }
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 42px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-logo { display: inline-flex; min-height: 44px; align-items: center; }
.footer-logo__img { height: 34px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: #fff; font-size: 20px; }
.footer-brand span { color: var(--footer-text); font-size: 12px; letter-spacing: .15em; }
.footer-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 28px 0; }
.footer-groups h2 { color: #fff; font-size: 16px; }
.footer-groups a { display: block; min-height: 36px; color: var(--footer-text); font-size: 14px; }
.footer-groups a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,.10); padding-top: 20px; color: #dcbcca; font-size: 13px; }

.note-drawer {
    position: fixed; inset: 0 auto 0 0; width: min(330px, 82vw); background: #fff; z-index: 230;
    transform: translateX(-104%); transition: transform .24s ease, visibility .24s ease;
    visibility: hidden; pointer-events: none; box-shadow: 20px 0 50px rgba(45, 27, 36, .18);
}
.note-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.drawer-logo { height: 30px; }
.drawer-brand span { color: var(--title); font-weight: 800; }
.drawer-close, .search-close { min-height: 44px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-soft); color: var(--title); padding: 0 14px; }
.drawer-scroll { height: calc(100dvh - 76px); overflow-y: auto; padding: 8px 16px 32px; }
.drawer-group { padding: 14px 0; border-bottom: 1px solid var(--border); }
.drawer-group h2 { font-size: 14px; color: var(--brand); margin-bottom: 8px; }
.drawer-group a { display: block; padding: 10px 0; }
.drawer-group strong, .drawer-group span { display: block; }
.drawer-group strong { color: var(--title); }
.drawer-group span { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 2px; }

.search-layer { position: fixed; top: 86px; left: 50%; width: min(var(--max), calc(100% - 32px)); transform: translate(-50%, -14px); z-index: 230; visibility: hidden; pointer-events: none; opacity: 0; transition: .2s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translate(-50%, 0); }
.search-card { background: #fff; border: 1px solid var(--border); border-radius: 0 0 18px 18px; box-shadow: 0 20px 50px rgba(45,27,36,.18); padding: 20px; }
.search-card__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.search-card__head h2 { margin-bottom: 12px; }
.search-appearance { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.search-appearance span { color: var(--muted); font-size: 14px; }
.search-appearance input { width: 100%; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; color: var(--title); }
.preset-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.preset-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 11px; border: 1px solid var(--border); background: #fff; color: var(--title); font-weight: 700; }

.page-overlay { position: fixed; inset: 0; background: rgba(45, 27, 36, .42); z-index: 210; opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.page-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-bottom { display: none; }

@media (max-width: 900px) {
    .card-grid { grid-template-columns: 1fr; }
    .split-section, .split-section.reverse { grid-template-columns: 1fr; }
    .split-section.reverse .split-media, .split-section.reverse .split-copy { order: initial; }
    .four-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-layout { grid-template-columns: 1fr; }
    .app-visual { min-height: 280px; }
}

@media (max-width: 700px) {
    .peach-line__inner, .flower-door__inner, .petal-tabs__inner, .page-wrap, .footer-inner { width: calc(100% - 32px); }
    .petal-tabs { display: none; }
    .flower-door__inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
    .brand-link { max-width: 132px; min-width: 0; }
    .site-logo { height: 30px; max-width: 128px; }
    .logo-fallback { font-size: 18px; white-space: nowrap; }
    .drawer-toggle, .app-link { padding: 0 11px; font-size: 14px; }
    .site-main { padding-top: 86px; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .page-hero { padding-top: 30px; }
    .cover-slot { aspect-ratio: 3 / 2; }
    .four-grid, .index-list { grid-template-columns: 1fr; }
    .number-item { grid-template-columns: 52px 1fr; padding: 16px; }
    .number-item .num { font-size: 28px; }
    .footer-groups { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
    .site-footer { margin-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .footer-inner { padding-bottom: 28px; }
    .search-layer { top: 86px; width: calc(100% - 20px); }
    .search-card { border-radius: 0 0 16px 16px; padding: 16px; }
    .search-card__head h2 { font-size: 20px; }
    .search-appearance { grid-template-columns: 1fr; gap: 2px; }
    .mobile-bottom { position: fixed; display: grid; grid-template-columns: repeat(5, 1fr); left: 0; right: 0; bottom: 0; min-height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--border); z-index: 150; }
    .mobile-bottom a { min-height: 50px; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 800; }
    .mobile-bottom a.is-current { background: var(--brand); color: #fff; }
}

@media (max-width: 420px) {
    .peach-line__inner, .flower-door__inner, .page-wrap, .footer-inner { width: calc(100% - 32px); }
    .brand-link { max-width: 108px; }
    .site-logo { max-width: 104px; }
    .drawer-toggle, .app-link { padding: 0 9px; font-size: 13px; }
    .footer-groups { grid-template-columns: 1fr; }
    .action-row { display: grid; grid-template-columns: 1fr; }
    .btn { width: 100%; }
}
