:root {
    --paper: #FFF4E0;
    --white: #FFFFFF;
    --sand: #F8E2B0;
    --title: #3A2208;
    --text: #4A2E12;
    --muted: #7A5530;
    --soft: #A07A4A;
    --yellow: #F5C518;
    --orange: #F08A24;
    --green: #3D8B4A;
    --brown: #1F1408;
    --line: rgba(240,138,36,0.22);
    --shadow: 0 14px 34px rgba(58,34,8,0.10);
    --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); 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.layer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: 9px 14px; background: var(--brown); color: var(--sand); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.site-width, .header-width { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-fixed-head { position: fixed; inset: 0 0 auto; z-index: 900; box-shadow: 0 6px 18px rgba(58,34,8,.08); }
.rind-strip { height: 22px; background: var(--brown); color: var(--yellow); font-size: 12px; line-height: 22px; }
.rind-strip-inner { display: flex; align-items: center; justify-content: space-between; height: 22px; }
.strip-search { min-width: 44px; height: 22px; border: 0; background: transparent; color: var(--yellow); padding: 0 4px; font-weight: 700; }
.stall-bar { height: 70px; background: var(--yellow); }
.stall-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.stall-logo { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 900; color: var(--brown); }
.stall-logo-image { display: block; width: auto; height: auto; max-height: 38px; max-width: 230px; object-fit: contain; }
.brand-text-logo { font-size: 22px; letter-spacing: .04em; }
.basket-button, .app-button { min-height: 44px; border: 1px solid rgba(31,20,8,.24); border-radius: 10px; padding: 8px 18px; color: var(--brown); font-weight: 800; background: rgba(255,255,255,.45); }
.basket-button { justify-self: center; }
.app-button { justify-self: end; display: inline-flex; align-items: center; }
.basket-button:hover, .app-button:hover { background: var(--white); }
.fruit-tags { height: 42px; background: var(--white); border-bottom: 1px solid var(--line); }
.fruit-tags-inner { height: 42px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.fruit-tags a { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 7px; color: var(--title); font-weight: 700; white-space: nowrap; }
.fruit-tags a:hover, .fruit-tags a:focus-visible, .fruit-tags a.is-current { background: var(--orange); color: var(--brown); outline: none; }
.page-main { min-height: 70vh; padding: 164px 16px 60px; }
.page-shell { width: min(100%, var(--max)); margin: 0 auto; }
.page-head { margin-bottom: 28px; }
.eyebrow { display: inline-block; margin-bottom: 7px; color: var(--green); font-weight: 900; letter-spacing: .12em; font-size: 13px; }
h1, h2, h3 { color: var(--title); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 14px; }
h2 { font-size: 22px; margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { max-width: 850px; color: var(--muted); font-size: 17px; }
.section-block { margin: 28px 0; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.section-soft { background: var(--sand); }
.section-plain { margin: 34px 0; }
.section-title-row { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.section-title-row p { margin: 0; color: var(--muted); }
.hero-cover { margin-bottom: 24px; }
.hero-media { overflow: hidden; border-radius: 18px; background: var(--sand); border: 1px solid var(--line); }
.hero-image, .content-image { width: 100%; height: auto; max-height: 320px; object-fit: contain; background: var(--sand); }
.image-slot { display: block; width: 100%; min-height: 220px; background: linear-gradient(135deg, rgba(245,197,24,.27), rgba(240,138,36,.16) 58%, rgba(61,139,74,.16)); border: 1px dashed rgba(74,46,18,.18); }
.hero-copy { padding: 18px 4px 0; max-width: 900px; }
.hero-copy .mini-title { color: var(--green); font-weight: 900; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.primary-button, .secondary-button, .text-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 10px; font-weight: 800; border: 1px solid transparent; }
.primary-button { background: linear-gradient(135deg,#F5C518 0%,#F08A24 70%); color: var(--brown); }
.secondary-button { background: var(--white); color: var(--brown); border-color: var(--line); }
.text-button { padding-left: 0; padding-right: 0; color: var(--green); }
.primary-button:hover, .secondary-button:hover, .text-button:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(61,139,74,.38); outline-offset: 2px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.card p:last-child { margin-bottom: 0; }
.card .tag, .flavor-tag { display: inline-block; margin-bottom: 8px; padding: 3px 8px; border-radius: 7px; font-size: 12px; font-weight: 900; color: var(--brown); }
.tag-yellow { background: var(--yellow); }
.tag-orange { background: var(--orange); }
.tag-green { background: #DCEEDB; color: #245D2E !important; }
.taste-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.taste-item { padding: 16px; background: var(--white); border-radius: 12px; border: 1px solid var(--line); }
.taste-item a { color: var(--green); font-weight: 800; }
.split-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(280px,.95fr); gap: 24px; align-items: start; }
.number-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.number-list li, .shelf-row, .directory-row { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.number-list li:last-child, .shelf-row:last-child, .directory-row:last-child { border-bottom: 0; }
.big-num { color: var(--orange); font-size: 30px; font-weight: 950; line-height: 1; }
.number-list a, .shelf-row a, .directory-row a { color: var(--green); font-weight: 800; }
.shelf { border-top: 2px solid var(--orange); border-bottom: 2px solid var(--orange); }
.shelf-row { grid-template-columns: minmax(130px,.5fr) minmax(0,1.5fr) auto; }
.timeline { position: relative; margin-left: 10px; padding-left: 28px; border-left: 2px solid var(--orange); }
.timeline-item { position: relative; padding: 0 0 24px 4px; }
.timeline-item::before { content:""; position: absolute; left: -36px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--orange); }
.status { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 900; background: var(--sand); color: var(--title); }
.status.doing { background: #FFF0C2; }
.status.wait { background: #E5EFE3; color: #275A31; }
.note-box { padding: 16px 18px; border-left: 4px solid var(--green); background: #F5F9F2; border-radius: 0 12px 12px 0; }
.editor-mark { display: inline-block; margin-right: 7px; font-size: 12px; font-weight: 900; color: var(--green); }
.step-list { display: grid; gap: 14px; counter-reset: steps; }
.step-item { position: relative; padding: 18px 18px 18px 72px; border: 1px solid var(--line); background: var(--white); border-radius: 14px; }
.step-item::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font-weight: 950; font-size: 26px; color: var(--orange); }
.index-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.index-card { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.index-card a { color: var(--green); font-weight: 800; }
.prose article, .policy-section { margin: 30px 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.prose article:last-child, .policy-section:last-child { border-bottom: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.faq-item h2 { font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-card { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.contact-card p:last-child { margin-bottom: 0; }
.app-product { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; align-items: center; }
.app-icon-wrap { width: 130px; height: 130px; border-radius: 28px; background: var(--sand); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.app-icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
.app-icon-wrap .image-slot { min-height: 130px; }
.site-footer { background: var(--brown); color: var(--sand); padding: 38px 16px calc(34px + env(safe-area-inset-bottom)); }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.footer-brand-mark { min-width: 80px; }
.footer-logo-image { max-height: 38px; width: auto; max-width: 190px; object-fit: contain; }
.footer-brand strong { display: block; color: var(--white); font-size: 20px; }
.footer-brand span { color: var(--yellow); font-size: 12px; letter-spacing: .14em; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.footer-grid h2 { color: var(--yellow); font-size: 15px; margin-bottom: 10px; }
.footer-grid a { display: block; width: fit-content; min-height: 34px; color: var(--sand); }
.footer-grid a:hover { color: var(--white); }
.footer-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(248,226,176,.16); color: #E9D4A5; font-size: 13px; }
.page-mask { position: fixed; inset: 0; z-index: 1000; background: rgba(31,20,8,.48); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease; }
.page-mask.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.basket-panel { position: fixed; z-index: 1100; left: 50%; bottom: 0; width: min(760px,100%); max-height: min(82vh,780px); transform: translate(-50%,105%); visibility: hidden; pointer-events: none; background: var(--paper); border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px rgba(31,20,8,.22); transition: transform .22s ease, visibility .22s; overflow-y: auto; overscroll-behavior: contain; }
.basket-panel.is-open { transform: translate(-50%,0); visibility: visible; pointer-events: auto; }
.basket-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; min-height: 66px; padding: 10px 18px; background: var(--yellow); border-bottom: 1px solid var(--line); }
.basket-brand { display: flex; align-items: center; gap: 10px; color: var(--brown); font-weight: 900; }
.basket-logo-image { max-height: 34px; width: auto; max-width: 160px; }
.panel-close, .search-head button { min-height: 44px; padding: 7px 12px; border: 1px solid rgba(31,20,8,.2); background: var(--white); color: var(--brown); border-radius: 9px; font-weight: 800; }
.basket-groups { padding: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.basket-groups section { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.basket-groups h2 { font-size: 16px; margin-bottom: 8px; }
.basket-groups a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.basket-groups a:last-child { border-bottom: 0; }
.basket-groups strong { display: block; color: var(--title); }
.basket-groups span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 3px; }
.search-layer { position: fixed; z-index: 1150; left: 0; right: 0; top: 92px; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.search-card { width: min(760px,calc(100% - 32px)); margin: 0 auto; background: var(--paper); border: 1px solid var(--orange); border-radius: 0; box-shadow: var(--shadow); padding: 20px; }
.search-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--title); }
.search-card label { display: block; font-weight: 800; color: var(--title); margin-bottom: 7px; }
.search-card input { width: 100%; height: 48px; padding: 0 13px; border-radius: 10px; border: 1px solid rgba(74,46,18,.24); background: var(--white); color: var(--text); }
.search-presets { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.search-presets a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 9px; background: var(--white); border: 1px solid var(--line); color: var(--green); font-weight: 800; }
.search-empty { color: var(--muted); margin-top: 14px; }
.mobile-bottom-nav { display: none; }
@media (max-width: 900px) {
    .card-grid, .card-grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .taste-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .split-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .site-width, .header-width { width: calc(100% - 32px); }
    .fruit-tags { display: none; }
    .stall-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .stall-logo-image { max-width: 150px; }
    .brand-text-logo { font-size: 18px; }
    .basket-button, .app-button { padding: 7px 10px; min-width: 60px; }
    .page-main { padding: 116px 16px 36px; }
    .page-head { margin-bottom: 20px; }
    .section-block { padding: 18px; border-radius: 14px; }
    .card-grid, .card-grid.two, .card-grid.four, .taste-grid, .index-list, .contact-grid { grid-template-columns: 1fr; }
    .number-list li { grid-template-columns: 48px minmax(0,1fr); }
    .number-list li > :last-child { grid-column: 2; justify-self: start; }
    .shelf-row, .directory-row { grid-template-columns: 1fr; gap: 5px; }
    .app-product { grid-template-columns: 1fr; }
    .app-icon-wrap { width: 108px; height: 108px; }
    .app-icon-wrap .image-slot { min-height: 108px; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
    .site-footer { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    .basket-panel { width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; }
    .basket-groups { grid-template-columns: 1fr; }
    .search-layer { inset: 0; background: var(--paper); overflow-y: auto; }
    .search-card { width: 100%; min-height: 100%; border: 0; box-shadow: none; padding: calc(20px + env(safe-area-inset-top)) 16px 90px; }
    .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5,1fr); box-shadow: 0 -8px 22px rgba(58,34,8,.08); }
    .mobile-bottom-nav a { min-width: 0; min-height: 50px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--title); }
    .mobile-bottom-nav a.is-current { background: var(--orange); color: var(--brown); }
}
@media (max-width: 420px) {
    .rind-strip { font-size: 11px; }
    .stall-logo-image { max-width: 120px; }
    .basket-button, .app-button { min-width: 54px; padding: 7px 7px; font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
