:root {
    --stone-bg: #E8E4DC;
    --deep-bg: #D6D0C6;
    --content-bg: #F6F3ED;
    --sub-bg: #EFEBE3;
    --title: #2C2A26;
    --text: #3A372F;
    --muted: #6B675E;
    --soft: #8A8478;
    --rock: #6B675E;
    --deep-rock: #3E3B36;
    --light-rock: #C8C2B6;
    --warm: #F7F3EB;
    --moss: #6A7A58;
    --clay: #A65A3A;
    --border: rgba(62,59,54,0.16);
    --accent-border: rgba(166,90,58,0.40);
    --shadow: 0 12px 28px rgba(44,42,38,0.08);
    --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--stone-bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 120; background: var(--warm); color: var(--deep-rock); padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.stone-line { position: fixed; inset: 0 0 auto 0; z-index: 80; height: 22px; background: var(--deep-rock); color: var(--warm); font-size: 12px; }
.bar-inner { width: min(var(--max), calc(100% - 32px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-button { min-height: 22px; padding: 0 4px; border: 0; background: transparent; color: var(--warm); cursor: pointer; }
.rock-bar { position: fixed; inset: 22px 0 auto 0; z-index: 79; height: 56px; background: var(--deep-bg); border-bottom: 1px solid var(--border); }
.rock-bar-inner { height: 56px; }
.brand-link { min-height: 44px; display: inline-flex; align-items: center; max-width: 48%; }
.brand-logo, .drawer-logo, .footer-logo { height: 26px; width: auto; max-width: 190px; object-fit: contain; object-position: center; }
.brand-fallback { font-size: 16px; font-weight: 700; color: var(--title); white-space: nowrap; }
.rock-actions { display: flex; align-items: center; gap: 8px; }
.rock-button, .app-button, .primary-button, .secondary-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; line-height: 1; padding: 0 16px; cursor: pointer; white-space: nowrap; }
.rock-button { background: var(--warm); color: var(--deep-rock); border: 1px solid var(--border); }
.app-button, .primary-button { color: var(--warm); border: 1px solid transparent; background: linear-gradient(135deg,#8A8478 0%,#6B675E 55%,#3E3B36 100%); }
.secondary-button { background: var(--warm); color: var(--deep-rock); border: 1px solid var(--clay); }
.rock-tags { position: fixed; inset: 78px 0 auto 0; z-index: 78; height: 38px; background: var(--warm); border-bottom: 1px solid var(--border); }
.tag-inner { width: min(var(--max), calc(100% - 32px)); height: 100%; margin: 0 auto; display: flex; justify-content: center; align-items: center; gap: 10px; }
.tag-inner a { min-height: 30px; padding: 4px 16px; display: inline-flex; align-items: center; border-radius: 8px; color: var(--deep-rock); font-size: 13px; }
.tag-inner a.is-current { background: var(--deep-rock); color: var(--warm); }
.site-main { padding-top: 116px; min-height: 70vh; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.page-hero { padding: 46px 0 30px; }
.page-hero.compact { padding-bottom: 18px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .12em; color: var(--clay); font-weight: 700; margin-bottom: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; color: var(--title); font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
h2 { color: var(--title); font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
h3 { color: var(--title); font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
p { margin-bottom: 14px; }
.lead { max-width: 780px; font-size: 16px; color: var(--text); }
.hero-note { max-width: 760px; color: var(--muted); }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.section { padding: 30px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.section-head p { max-width: 620px; color: var(--muted); margin: 0; }
.surface { background: var(--content-bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.soft-surface { background: var(--sub-bg); border: 1px solid var(--border); border-radius: 12px; }
.media-slot { background: var(--warm); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-168 { height: 168px; }
.media-190 { height: 190px; }
.media-220 { height: 220px; }
.media-app { min-height: 220px; max-height: 340px; height: 320px; }
.media-icon { width: 64px; height: 64px; padding: 8px; flex: 0 0 auto; }
.media-brand { min-height: 180px; }
.mt-14 { margin-top: 14px; }
.panel-pad { padding: 20px; }
.two-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-panel { padding: 18px; }
.feature-panel .media-slot { margin-bottom: 14px; }
.numbered-strips { display: grid; gap: 10px; }
.numbered-strip { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 14px; align-items: start; padding: 16px 18px; background: var(--content-bg); border: 1px solid var(--border); border-left: 3px solid var(--clay); border-radius: 10px; }
.numbered-strip .mark { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--deep-rock); color: var(--warm); font-weight: 700; }
.note-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.note-block { padding: 20px; }
.note-block ul, .check-list, .method-block ul { margin: 0; padding-left: 1.2em; }
.note-block li, .check-list li, .method-block li { margin-bottom: 8px; }
.shelf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shelf-item { min-height: 168px; padding: 16px; background: var(--warm); border: 1px solid var(--border); border-bottom: 4px solid var(--light-rock); border-radius: 10px 10px 5px 5px; }
.shelf-item span { display: inline-block; color: var(--clay); font-size: 12px; margin-bottom: 8px; }
.han-sequence { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.han-item { padding: 16px; background: var(--sub-bg); border: 1px solid var(--border); border-radius: 10px; }
.han-item b { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--deep-rock); color: var(--warm); margin-bottom: 10px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7%; right: 7%; top: 24px; height: 1px; background: var(--light-rock); z-index: 0; }
.timeline-item { position: relative; z-index: 1; padding-top: 52px; }
.timeline-item::before { content: ""; position: absolute; top: 15px; left: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--moss); border: 4px solid var(--stone-bg); box-shadow: 0 0 0 1px var(--border); }
.timeline-card { padding: 15px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.status { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: var(--deep-bg); color: var(--deep-rock); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px,.85fr); gap: 24px; align-items: start; }
.product-copy { padding: 22px; }
.product-visual { display: grid; gap: 12px; }
.app-icon-row { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--sub-bg); border: 1px solid var(--border); border-radius: 10px; }
.info-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-band > div { padding: 16px; border-top: 3px solid var(--moss); background: var(--content-bg); border-radius: 8px; }
.faq-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-mini article { padding: 16px; background: var(--warm); border: 1px solid var(--border); border-radius: 10px; }
.brand-section { display: grid; grid-template-columns: 1fr .85fr; gap: 20px; align-items: center; }
.brand-copy { padding: 22px; }
.directory-lines { display: grid; gap: 12px; }
.directory-line { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.directory-line strong { color: var(--deep-rock); }
.card-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-wall article { min-height: 230px; padding: 18px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.card-wall .card-index { color: var(--clay); font-weight: 700; font-size: 12px; }
.memo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.memo { padding: 20px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 12px; }
.memo.wide { grid-column: 1 / -1; }
.check-panels { display: grid; gap: 14px; }
.check-panel { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 18px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.check-panel h2 { margin: 0; }
.method-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.method-block { padding: 20px; background: var(--warm); border: 1px solid var(--border); border-radius: 12px; }
.theme-list { display: grid; gap: 10px; }
.theme-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 18px; padding: 16px 18px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 9px; }
.theme-row span { color: var(--muted); font-size: 13px; }
.term-sections { display: grid; gap: 14px; }
.term-section { padding: 20px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.term-section h2 { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.help-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.help-card { padding: 20px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.full-faq { display: grid; gap: 12px; }
.full-faq article { padding: 18px 20px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.contact-card { padding: 20px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.notice-box { padding: 16px 18px; background: var(--deep-rock); color: var(--warm); border-radius: 10px; }
.notice-box h2, .notice-box h3 { color: var(--warm); }
.notice-box p:last-child { margin-bottom: 0; }
.site-footer { background: #2A2824; color: #E8E4DC; border-top: 1px solid rgba(200,194,182,.25); margin-top: 44px; }
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 34px 0 26px; }
.footer-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(200,194,182,.2); }
.footer-brand span { display: block; color: #C8C2B6; font-size: 12px; margin-top: 2px; }
.footer-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 22px 0; }
.footer-groups h2 { color: #F7F3EB; font-size: 13px; margin-bottom: 8px; }
.footer-groups a { display: block; color: #E8E4DC; font-size: 13px; padding: 3px 0; }
.footer-notice, .footer-copy { font-size: 13px; color: #C8C2B6; }
.footer-copy { margin-bottom: 0; }
.rock-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 101; width: 380px; max-width: 88vw; background: var(--content-bg); box-shadow: 20px 0 50px rgba(44,42,38,.18); transform: translateX(-102%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; }
.drawer-open .rock-drawer { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 70px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--deep-bg); }
.drawer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.icon-close { min-width: 44px; min-height: 44px; border: 1px solid var(--border); background: var(--warm); color: var(--deep-rock); border-radius: 9px; cursor: pointer; }
.drawer-scroll { height: calc(100% - 70px); overflow-y: auto; padding: 16px; }
.drawer-scroll section { margin-bottom: 20px; }
.drawer-scroll h2 { font-size: 13px; color: var(--clay); margin-bottom: 8px; }
.drawer-scroll a { display: grid; grid-template-columns: 88px 1fr; gap: 8px; min-height: 52px; padding: 9px 6px; border-bottom: 1px solid var(--border); }
.drawer-scroll a span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.search-layer { position: fixed; z-index: 102; left: 0; right: 0; top: 78px; visibility: hidden; pointer-events: none; transform: translateY(-12px); opacity: 0; transition: .2s ease; }
.search-open .search-layer { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.search-card { width: min(760px, calc(100% - 32px)); margin: 16px auto 0; padding: 20px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.search-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.search-head h2 { margin-bottom: 6px; }
.search-card p { color: var(--muted); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.search-presets a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 9px; background: var(--warm); border: 1px solid var(--border); }
.site-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(42,40,36,.46); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.site-overlay.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.lock-scroll { overflow: hidden; }
.mobile-bottom { display: none; }
a:hover, button:hover { filter: brightness(.98); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(166,90,58,.38); outline-offset: 2px; }
@media (max-width: 860px) {
    .shelf-grid { grid-template-columns: repeat(2, 1fr); }
    .han-sequence { grid-template-columns: repeat(2, 1fr); }
    .han-item:last-child { grid-column: 1 / -1; }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .timeline::before { display: none; }
    .card-wall { grid-template-columns: repeat(2, 1fr); }
    .product-layout, .brand-section { grid-template-columns: 1fr; }
    .footer-groups { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .rock-tags { display: none; }
    .site-main { padding-top: 78px; }
    .stone-line .bar-inner, .rock-bar .bar-inner { width: calc(100% - 32px); }
    .stone-line span { max-width: 74%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .rock-bar-inner { gap: 8px; }
    .brand-link { max-width: 42%; min-width: 0; }
    .brand-logo { max-width: 136px; }
    .brand-fallback { font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
    .rock-actions { gap: 6px; }
    .rock-button, .app-button { min-height: 44px; padding: 0 11px; }
    .page-hero { padding: 32px 0 20px; }
    .section { padding: 24px 0; }
    .two-feature, .note-columns, .memo-grid, .method-sections, .faq-mini, .help-index, .contact-grid { grid-template-columns: 1fr; }
    .shelf-grid { grid-template-columns: 1fr 1fr; }
    .han-sequence { grid-template-columns: 1fr; }
    .han-item:last-child { grid-column: auto; }
    .timeline { grid-template-columns: 1fr; }
    .timeline-item { padding-top: 44px; }
    .info-band { grid-template-columns: 1fr; }
    .directory-line, .check-panel, .theme-row { grid-template-columns: 1fr; gap: 8px; }
    .card-wall { grid-template-columns: 1fr; }
    .memo.wide { grid-column: auto; }
    .footer-groups { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .search-layer { inset: 0; background: var(--deep-rock); color: var(--warm); }
    .search-open .search-layer { transform: none; }
    .search-card { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; background: var(--deep-rock); color: var(--warm); padding: 28px 16px; overflow-y: auto; }
    .search-head h2, .search-card p { color: var(--warm); }
    .search-head .eyebrow { color: #E8B39D; }
    .search-card .icon-close { background: var(--warm); }
    .search-presets a { background: #4B4842; color: var(--warm); border-color: rgba(247,243,235,.18); }
    .mobile-bottom { position: fixed; display: grid; grid-template-columns: repeat(5,1fr); left: 0; right: 0; bottom: 0; z-index: 76; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--warm); border-top: 1px solid var(--border); }
    .mobile-bottom a { min-width: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--deep-rock); }
    .mobile-bottom a.is-current { background: var(--clay); color: var(--warm); }
    .site-footer { margin-bottom: 0; }
}
@media (max-width: 430px) {
    .shelf-grid { grid-template-columns: 1fr; }
    .footer-groups { grid-template-columns: 1fr 1fr; }
}
