/* Food Ribbon Enshu — a friendly, open table for the whole town. */
:root {
  --ink: #254d43; --green: #286650; --cream: #fcf8ed; --yellow: #f6d86b;
  --mint: #eaf1e5; --sky: #eaf3f6; --peach: #fcece1; --line: #dce4d9;
  --paper: #fffefa; --muted: #536a60; --coral: #a25339;
  color: var(--ink); background: var(--paper); font-size: 17px;
}
html { overflow-x: clip; scroll-padding-top: 28px; }
body { overflow-x: clip; background: var(--paper); }
.wrap { width: min(1184px, calc(100% - 80px)); }
.section { padding-block: 88px; }
h1,h2,h3 { letter-spacing: .015em; text-wrap: pretty; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
a, button { touch-action: manipulation; }
.site-header { background: var(--paper); }
.header-inner { min-height: 104px; gap: 28px; }
.brand { gap: 10px; font-size: 24px; }
.brand img { width: 59px; height: 59px; }
.brand small { font-size: 12px; letter-spacing: .13em; margin-top: 2px; color: var(--muted); }
.site-header nav { gap: 12px; }
.site-header nav a { min-height: 48px; font-size: 15px; padding: 8px 16px; }
.site-header nav a:last-child { border: 1px solid #d7dfd3; border-radius: 999px; }
.site-header nav a:hover { background: var(--mint); }
.hero-shell { background: var(--cream); border-radius: 0 0 9% 4%; }
.hero-shell::before { display: none; }
.hero-shell::after { display: none; }
.hero { position: relative; grid-template-columns: 1.15fr 1fr; gap: 30px; min-height: 570px; padding: 44px 0 85px; }
.hero-copy { padding-block: 20px; }
.hero .hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .04em; margin: 0 0 22px; font-weight: 700; }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(32px, 3.45vw, 48px); line-height: 1.7; letter-spacing: -.025em; }
.hero h1::after { content: ''; display: block; width: 112px; height: 8px; border-radius: 50%; background: var(--yellow); margin: 12px 0 20px; }
.hero-copy > p:not(.hero-eyebrow):not(.hero-footnote) { font-size: 18px; letter-spacing: 0; margin: 16px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero-actions .button { min-width: 210px; font-size: 18px; box-shadow: 0 5px 0 #1c4839; border: 0; }
.hero-how { display: inline-flex; align-items: center; gap: 5px; min-height: 48px; font-size: 14px; text-decoration: none; border-bottom: 1px solid #9aafa0; }
.hero-how .icon { width: 18px; height: 18px; }
.hero .hero-footnote { font-size: 12px; color: var(--muted); margin-top: 18px; letter-spacing: 0; }
.hero-visual { position: relative; width: 100%; margin: 0; min-width: 0; }
.hero-photo { position: relative; z-index: 1; }
.hero-photo::before { content: ''; position: absolute; inset: -14px 12px 12px -8px; border-radius: 40% 60% 32% 68% / 60% 30% 70% 40%; border: 2px dashed #cbd7b2; z-index: -1; }
.hero-photo img { aspect-ratio: 4/3; object-fit: cover; }
.food-float img { animation: none !important; }
.food-onigiri { width: 105px; top: -42px; left: -24px; }
.food-karaage { width: 105px; bottom: -28px; left: -24px; }
.food-pizza { width: 112px; top: -36px; right: -25px; }
.food-miso { width: 104px; bottom: -28px; right: -20px; }
#motion-control { position: absolute; bottom: 18px; right: 0; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px; background: transparent; color: var(--muted); border: 1px solid #ced9c9; border-radius: 30px; font-size: 12px; }
.motion-toggle:hover { background: white; }
.motion-toggle:disabled { cursor: default; }
.motion-toggle span { font-family: sans-serif; font-weight: 700; }
.section-kicker { display: flex; align-items: center; gap: 14px; font: 700 13px/1.6 "Food Ribbon Rounded", sans-serif; color: var(--coral); margin: 0 0 14px; }
.section-kicker span { color: var(--muted); letter-spacing: .06em; }
.finder { padding-top: 76px; }
.finder h2, .faq h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 0 0 14px; }
.finder-intro { font-size: 16px; margin: 0 0 32px; color: var(--muted); }
.regions { gap: 12px; }
.regions button { position: relative; isolation: isolate; min-width: 0; border: 1px solid #dde4d5; background: #f7f7ef; min-height: 80px; border-radius: 23px; font-size: 24px; gap: 10px; padding: 12px 8px; color: var(--ink); transition: background-color .18s, border-color .18s; }
.regions button[data-region="袋井"], .regions button[data-region="森町"] { background: #eff5ea; }
.regions button[data-region="磐田"] { background: #edf5f8; }
.regions button[data-region="菊川"] { background: #fdf0e7; }
.regions button[data-region="掛川"] { background: #fbf2d3; }
.regions button[data-region="すべて"] { background: var(--paper); border-color: #bbcbb7; }
.regions button:hover { transform: none; border-color: var(--green); }
.regions button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); box-shadow: 0 4px 0 #1b493a; }
.region-selected { position: absolute; inset: 0; border-radius: inherit; background: var(--green); z-index: -1; }
.region-label { position: relative; }
.regions .icon { width: 18px; height: 18px; position: relative; }
.regions rt { font-size: 11px; font-weight: 500; margin-bottom: 1px; }
.filter-line { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; gap: 14px; }
.filter-line #result-count { margin: 0; font-size: 16px; font-weight: 700; }
.result-visible { font-size: 13px; color: var(--muted); font-weight: 500; }
.finder-hint { display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; gap: 4px; }
.finder-hint .icon { width: 16px; height: 16px; }
.shop-grid { gap: 24px; margin-top: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-card { background: white; border: 1px solid #dce4d9; border-radius: 28px; box-shadow: 0 5px 0 #eaf0e4; min-width: 0; overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.shop-card:hover { border-color: #9fb89c; box-shadow: 0 7px 0 #e6eddf; }
.shop-card:focus-within { outline: 2px solid var(--green); outline-offset: 4px; }
.card-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; padding: 24px 22px 18px; background: #f9fbf6; min-height: 148px; border-bottom: 1px dashed #dce4d9; }
.card-head > .icon { width: 36px; height: 36px; padding: 6px; background: #f4e9be; border-radius: 12px; flex: 0 0 36px; }
.card-head > div { flex: 1; min-width: 0; padding: 0; }
.card-head h3 { font-size: 21px; line-height: 1.55; letter-spacing: 0; margin-top: 4px; overflow-wrap: anywhere; }
.shop-name-link { text-decoration-color: #afc4ae; text-decoration-thickness: 1px; }
.shop-name-link:hover { text-decoration-color: var(--green); }
.city-label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.card-head > .status { margin-top: 0; flex: none; font-size: 11px; padding: 3px 8px; }
.status.active { background: #e5f0dd; color: #2f583e; }
.status.checking { background: #fff2d6; color: #6d501d; }
.status.preparing { background: #e8f1f5; color: #3f606f; }
.card-body { padding: 12px 22px 23px; }
.card-body dl { margin: 0; }
.card-body dl > div { display: block; padding-block: 10px; }
.card-body dt { font-size: 12px; color: var(--muted); margin-bottom: 3px; line-height: 1.6; }
.card-body dd { font-size: 15px; line-height: 1.75; margin: 0; overflow-wrap: anywhere; }
.card-body .hours dd { font-size: 22px; font-weight: 900; letter-spacing: .01em; }
.card-body dl > div:nth-last-child(-n+2) { border-top: 1px solid #edf0e9; margin-top: 5px; padding-top: 12px; }
.school-note { font-size: 12px; }
.more-wrap { margin: 36px 0 0; text-align: center; }
.button { border-radius: 999px; transition: background-color .18s, box-shadow .18s; }
.button.green { background: var(--green); color: #fff; border: 1px solid var(--green); }
.button.green:hover { background: #1c503e; }
.button.outline { background: white; border: 1px solid #b9cdb6; }
.button.outline:hover { background: var(--mint); }
#show-more { font-size: 17px; padding-inline: 32px; }
.finder-notes { background: #f3f5ed; border: 0; margin-top: 36px; border-radius: 24px; }
.finder-notes h3 { font-size: 17px; }
.finder-notes li { font-size: 13px; gap: 10px; }
.finder-notes .icon { background: var(--green); }
.instructions { background: var(--sky); padding: 82px max(32px, calc((100vw - 1184px)/2)); }
.instructions::before, .instructions::after { display: none; }
.instructions { border-radius: 60px 90px 50px 70px; width: min(1376px, calc(100% - 32px)); margin-inline: auto; }
.instructions > .section-kicker { justify-content: center; }
.instructions h2 { padding: 0; background: transparent; font-size: clamp(27px, 3.2vw, 39px); line-height: 1.55; margin-bottom: 18px; }
.how-definition { max-width: 36em; font-size: 16px; color: var(--muted); }
.how-layout { margin-top: 38px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 54px; }
.ribbon-board-photo { width: min(100%, 352px); transform: rotate(-3deg); }
.ribbon-board-photo picture { display: block; padding: 10px; background: white; border-radius: 30px; box-shadow: 0 10px 0 #d5e5e8; }
.ribbon-board-photo img { border-radius: 22px; }
.ribbon-board-photo figcaption { font-size: 12px; margin-top: 20px; }
.how-layout .steps { gap: 16px; }
.how-layout .steps li { padding: 22px; background: white; border-radius: 25px; grid-template-columns: 36px 52px minmax(0,1fr); column-gap: 12px; }
.how-layout .steps li:nth-child(2) { background: #fef6e2; }
.how-layout .steps li:nth-child(3) { background: #ecf4e7; }
.how-layout .step-number { font-size: 19px; width: 36px; height: 36px; line-height: 36px; background: var(--green); }
.how-layout .steps .icon { width: 42px; height: 42px; }
.how-layout .steps h3 { font-size: 20px; }
.how-layout .steps p { font-size: 14px; margin-top: 5px; }
.ribbon-note { font-size: 16px; border-radius: 25px; padding: 14px 24px; background: #f7e5a6; }
.faq { padding-block: 88px; max-width: 920px; }
.faq-intro { text-align: left; margin-bottom: 36px; color: var(--muted); }
.faq-group { margin-top: 35px; }
.faq-group h3 { font-size: 18px; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--yellow); }
.faq details { border: 1px solid #e2e7dc; border-radius: 20px; background: white; margin-top: 10px; }
.faq details[open] { border-radius: 20px; border-color: #bbceb5; background: #f8fbf4; }
.faq summary { font-size: 17px; padding: 18px 22px; gap: 20px; line-height: 1.7; min-height: 62px; }
.faq summary span { flex: 0 0 24px; width: 24px; height: 24px; color: var(--green); }
.faq details p { padding: 0 22px 22px; font-size: 16px; color: var(--muted); }
.faq-sources { font-size: 12px; }
.support { background: #f5ecd8; padding: 80px 0; border-radius: 70px 70px 0 0; }
.support::before,.support::after { display: none; }
.support-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
.support h2 { background: transparent; padding: 0; font-size: clamp(28px,2.8vw,40px); line-height: 1.75; text-align: left; }
.support p { font-size: 16px; }
.support p.small { font-size: 13px; }
.support-steps { gap: 22px; }
.support-steps li, .support-steps li:nth-child(2) { border-radius: 24px; background: #fffcf3; font-size: 13px; padding: 20px 10px; }
.support-steps li .icon { height: 38px; width: 38px; }
.support-steps li:not(:last-child)::after { font-size: 18px; }
.sources { gap: 80px; padding-block: 64px; }
.sources h2 { font-size: 25px; }
.sources h3 { font-size: 19px; }
.sources p,.sources li { font-size: 14px; }
.sources li { margin-bottom: 13px; }
footer { background: #eaf0e4; border-radius: 40px 40px 0 0; padding-block: 44px 24px; }
.footer-top strong { font-size: 25px; }
.footer-top p { font-size: 13px; }
footer .small { font-size: 12px; }
.area-main,.detail-main { padding-top: 28px; }
.area-heading { background: var(--cream); border: 1px solid #e7e5d8; border-radius: 36px; }
.area-heading h1 { font-size: clamp(30px,4vw,45px); }
.area-links a { background: var(--mint); }
.detail-info { border: 1px solid #e0e7db; background: white; }
.detail-info dd { overflow-wrap: anywhere; }
.detail-status { flex-wrap: wrap; }
@media(max-width:1099px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { min-height: 90px; }
  .brand { font-size: 20px; }
  .site-header nav { gap: 0; }
  .site-header nav a { font-size: 13px; padding-inline: 10px; }
  .hero { gap: 28px; min-height: 520px; padding-top: 40px; }
  .hero h1 { font-size: clamp(27px,3.45vw,38px); }
  .hero .hero-eyebrow { font-size: 12px; }
  .hero-copy > p:not(.hero-eyebrow):not(.hero-footnote) { font-size: 15px; }
  .hero-actions { gap: 10px 20px; }
  .hero-actions .button { min-width: 190px; font-size: 16px; }
  .food-onigiri,.food-karaage,.food-miso { width: 83px; }
  .food-pizza { width: 90px; }
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .regions { gap: 9px; }
  .regions button { font-size: 20px; gap: 6px; min-height: 76px; }
  .how-layout { gap: 32px; }
  .how-layout .steps li { padding: 18px 14px; grid-template-columns: 30px 38px minmax(0,1fr); gap: 0 10px; }
  .how-layout .steps h3 { font-size: 18px; }
  .how-layout .steps .icon { width: 36px; height: 36px; }
  .how-layout .step-number { width: 30px; height: 30px; line-height: 30px; }
  .support-grid { gap: 36px; }
  .sources { gap: 36px; }
}
@media(max-width:700px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 56px; }
  .header-inner { padding: 14px 0 11px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
  .brand { font-size: 21px; justify-content: center; }
  .brand img { width: 43px; height: 43px; }
  .brand small { font-size: 11px; }
  .site-header nav { justify-content: center; gap: 8px; margin: 0; }
  .site-header nav a { font-size: 12px; padding: 4px 10px; min-height: 44px; }
  .site-header nav a:last-child { border: 0; }
  .hero-shell { border-radius: 0 0 40px 60px; }
  .hero { display: flex; flex-direction: column; min-height: 0; gap: 34px; padding: 28px 0 76px; text-align: center; }
  .hero-copy { padding: 0; width: 100%; }
  .hero .hero-eyebrow { font-size: 12px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(25px,6.8vw,38px); letter-spacing: -.035em; line-height: 1.75; }
  .hero h1::after { width: 86px; height: 6px; margin: 12px auto 16px; }
  .hero-copy > p:not(.hero-eyebrow):not(.hero-footnote) { font-size: 15px; margin: 12px 0 20px; }
  .hero-actions { justify-content: center; gap: 14px; }
  .hero-actions .button { min-width: 225px; min-height: 56px; font-size: 17px; }
  .hero-how { font-size: 13px; }
  .hero .hero-footnote { font-size: 11px; margin-top: 16px; }
  .hero-visual { width: calc(100% - 32px); max-width: 440px; margin-top: 10px; }
  .food-onigiri { width: 80px; top: -32px; left: -17px; }
  .food-pizza { width: 88px; top: -27px; right: -22px; }
  .food-karaage { width: 83px; bottom: -25px; left: -20px; }
  .food-miso { width: 81px; bottom: -24px; right: -18px; }
  #motion-control { bottom: 15px; }
  .motion-toggle { font-size: 11px; }
  .section-kicker { font-size: 12px; gap: 10px; margin-bottom: 10px; }
  .finder { padding-top: 46px; }
  .finder h2,.faq h2 { font-size: 30px; text-align: left; margin: 0 0 13px; }
  .finder-intro { font-size: 14px; text-align: left; margin-bottom: 25px; }
  .regions { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
  .regions button { min-height: 70px; font-size: 22px; border-radius: 20px; }
  .regions button[data-region="すべて"] { font-size: 19px; }
  .regions rt { font-size: 10px; }
  .filter-line { margin-top: 25px; flex-wrap: wrap; gap: 8px; }
  .filter-line #result-count { width: auto; font-size: 14px; }
  .result-visible { font-size: 12px; }
  .finder-hint { font-size: 11px; }
  .shop-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 18px; }
  .card-head { min-height: 120px; padding: 23px 22px 18px; }
  .card-head h3 { font-size: 22px; }
  .card-body { padding: 13px 22px 22px; }
  .card-body dl > div { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 12px; align-items: baseline; padding-block: 11px; }
  .card-body dt { font-size: 12px; }
  .card-body dd { font-size: 15px; }
  .card-body .hours dd { font-size: 21px; }
  .finder-notes { padding: 22px 18px; margin-top: 28px; }
  .finder-notes h3 { font-size: 16px; }
  .finder-notes li { font-size: 12px; gap: 9px; }
  .instructions { width: calc(100% - 20px); padding: 46px 20px; border-radius: 35px 50px 30px 40px; }
  .instructions > .section-kicker { justify-content: flex-start; }
  .instructions h2 { font-size: 25px; text-align: left; }
  .how-definition { font-size: 14px; text-align: left; }
  .how-layout { grid-template-columns: 1fr; gap: 30px; margin: 30px 0; }
  .ribbon-board-photo { width: min(100% - 26px, 330px); }
  .how-layout .steps li { grid-template-columns: 30px 38px minmax(0,1fr); padding: 21px 15px; }
  .how-layout .steps h3 { font-size: 18px; }
  .how-layout .steps p { font-size: 13px; }
  .ribbon-note { font-size: 14px; padding: 14px 17px; }
  .faq-intro { font-size: 14px; }
  .faq-group h3 { font-size: 16px; }
  .faq summary { font-size: 16px; padding: 17px 18px; }
  .faq details p { font-size: 15px; padding: 0 18px 20px; }
  .support { padding: 52px 0; border-radius: 40px 40px 0 0; }
  .support-grid { grid-template-columns: 1fr; gap: 26px; }
  .support h2 { font-size: 27px; }
  .support h2 .mobile-break { display: none; }
  .support p { font-size: 15px; }
  .support-steps { gap: 17px; }
  .support-steps li { font-size: 12px; padding: 18px 5px; }
  .sources { grid-template-columns: 1fr; gap: 36px; }
  .sources h2 { font-size: 23px; }
  .footer-top strong { font-size: 23px; }
  footer { padding-top: 34px; border-radius: 28px 28px 0 0; }
  .area-heading { border-radius: 28px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition-duration: .001ms !important; }
}

/* Clear, source-linked explanations for readers and search engines alike. */
.how-answer { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.how-answer h3 { font-size: 20px; margin: 22px 0 12px; }
.how-answer .how-definition { margin-bottom: 14px; }
.how-source { font-size: 12px; line-height: 1.9; color: var(--muted); }
.editorial-policy { border: 1px solid var(--line); border-radius: 16px; margin: 18px 0 24px; padding: 12px 16px; }
.editorial-policy summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; font-size: 15px; font-weight: 700; }
.editorial-policy p { font-size: 13px; line-height: 1.9; margin: 10px 0; }
.editorial-credit { line-height: 1.9; }
@media(max-width:700px) { .how-answer { text-align: left; } .how-answer h3 { font-size: 18px; } }
