/* HAMS：商店街・地図・検索 */
.hams-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.hams-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 12px;border:1px solid #e6d9c6;border-radius:999px;background:#fff;color:#1e2a3a;font-size:13px;text-decoration:none;line-height:1.7}
.hams-chip:hover{border-color:#c8432b;color:#1e2a3a}
.hams-chip.is-pref{background:#1f3a5f;border-color:#1f3a5f;color:#fff}
.hams-chip.is-pref:hover{color:#fff;background:#2c4c78}
.hams-arcade-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;margin:12px 0 24px}
.hams-arcade-card a{display:block;height:100%;border:1px solid #e8dfd0;border-radius:16px;overflow:hidden;background:#fff;color:#1e2a3a;text-decoration:none;transition:transform .2s,box-shadow .2s}
.hams-arcade-card a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(80,50,20,.10);color:#1e2a3a}
.hams-arcade-cover{position:relative;aspect-ratio:16/9;background:#f6efe3 center/cover}
.hams-arcade-cover svg{width:100%;height:100%;display:block}
.hams-badge{position:absolute;left:10px;top:10px;background:rgba(255,253,248,.92);border-radius:999px;padding:1px 10px;font-size:11px;color:#8f2e1a;font-weight:700}
.hams-arcade-body{padding:12px 14px 14px}
.hams-arcade-body small{color:#5e6672;font-size:12px}
.hams-arcade-body h3{font-size:16px;margin:2px 0 4px;line-height:1.5}
.hams-station{font-size:12.5px;color:#4f5866;margin:0 0 4px}
.hams-count{font-size:12.5px;color:#5e6672;margin:0}
.hams-count b{color:#c8432b;font-size:15px}
.hams-filter{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin:14px 0}
.hams-filter label{display:flex;flex-direction:column;font-size:12px;color:#5e6672;gap:2px}
.hams-filter select,.hams-filter input{padding:7px 10px;border:1px solid #ddd2c0;border-radius:8px;background:#fff;min-width:150px}
.hams-filter button{padding:8px 18px;border:0;border-radius:999px;background:#1e2a3a;color:#fff;font-weight:700;cursor:pointer}
.hams-region-tabs,.hams-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 16px}
.hams-region-tabs a,.hams-tabs a{padding:5px 14px;border-radius:999px;border:1px solid #e6d9c6;color:#1e2a3a;text-decoration:none;font-size:14px;background:#fff}
.hams-region-tabs a[aria-current],.hams-tabs a[aria-current]{background:#c8432b;border-color:#c8432b;color:#fff}
.hams-region-h{font-size:20px;margin:28px 0 4px;padding-left:12px;border-left:5px solid #c8432b}
.hams-result-count{color:#5e6672;font-size:14px;margin:8px 0}
.hams-map{height:420px;border-radius:16px;border:1px solid #e8dfd0;overflow:hidden;background:#f6efe3;z-index:0}
.hams-map-japan{height:460px;margin:8px 0 6px}
.hams-map-pick{height:300px;margin:6px 0}
.hams-pin span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;font-weight:700;font-size:13px;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.hams-pin.is-approx span{opacity:.75;border-style:dashed}
/* 商店街ページ */
.hams-crumb{font-size:13px;color:#5e6672;margin:0 0 6px}
.hams-arcade-hero{margin:0 0 24px}
.hams-kana{color:#5e6672;font-size:13px;letter-spacing:.08em}
.hams-facts{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0;padding:0}
.hams-facts div{background:#f7f1e7;border-radius:12px;padding:8px 14px;min-width:110px}
.hams-facts dt{font-size:11.5px;color:#5e6672}
.hams-facts dd{margin:0;font-weight:700}
.hams-two-ways{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}
.hams-two-ways div{border:1px solid #e8dfd0;border-radius:14px;padding:16px 18px;background:#fff}
.hams-two-ways div:first-child{border-top:4px solid #c8432b}.hams-two-ways div:last-child{border-top:4px solid #1f3a5f}
.hams-two-ways b{font-size:16px}.hams-two-ways p{margin:4px 0 0;font-size:14px;color:#4f5866}
.hams-maps{margin:8px 0 28px}
.hams-map-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.hams-map-tabs button{padding:7px 16px;border-radius:999px;border:1px solid #e6d9c6;background:#fff;color:#1e2a3a;cursor:pointer;font-weight:700}
.hams-map-tabs button[aria-selected=true]{background:#1e2a3a;border-color:#1e2a3a;color:#fff}
.hams-map-tabs .hams-print{margin-left:auto;font-weight:500}
.hams-svg-scroll{overflow-x:auto;border:1px solid #e8dfd0;border-radius:16px;background:#fffdf8;-webkit-overflow-scrolling:touch}
.hams-svgmap{display:block;min-width:720px;width:100%;height:auto}
.hams-svgmap a:hover rect:first-of-type,.hams-svgmap a:focus rect:first-of-type{fill-opacity:.28}
.hams-legend{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;margin:10px 0;padding:0;font-size:13px;color:#4f5866}
.hams-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.hams-shoplist{list-style:none;margin:12px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.hams-shoplist li{display:flex;gap:10px;border:1px solid #e8dfd0;border-radius:12px;padding:12px;background:#fff}
.hams-shoplist small{color:#5e6672}
.hams-num{flex:0 0 auto;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;font-weight:700;font-size:13px}
.hams-perk{margin:4px 0 0;color:#a3321e;font-size:13px;font-weight:700}
.hams-perk-lg{background:#fbf0ea;border-radius:12px;padding:10px 14px;font-size:14px}
.hams-perk-tag{color:#c8432b}
.hams-shopmeta{margin:2px 0 0;font-size:12.5px;color:#5e6672}
.hams-shoplinks{display:flex;gap:12px;margin:6px 0 0;font-size:13px}
.hams-recruit{margin:32px 0;padding:22px 24px;border-radius:18px;background:#1f3a5f;color:#fff}
.hams-recruit b{font-size:18px}.hams-recruit p{color:#dfe6f0;margin:6px 0 14px;font-size:14px}
.hams-recruit .aq-btn{background:#e9b44c;color:#1e2a3a}
.hams-note{margin-top:28px}
.hams-arcade-photo{max-height:420px;object-fit:cover}
.hams-store-arcade{margin:22px 0;padding:18px 20px;border:1px solid #e8dfd0;border-radius:16px;background:#fcf8f2}
.hams-store-arcade h2{margin:2px 0 4px;font-size:20px}
.hams-eyebrow{margin:0;font-size:12px;color:#a3321e;font-weight:700;letter-spacing:.06em}
.hams-product-arcade{display:flex;align-items:center;gap:10px;margin:10px 0 14px;padding:10px 14px;border:1px solid #e8dfd0;border-radius:12px;background:#fcf8f2}
.hams-product-arcade>span{font-size:22px}
.hams-product-arcade div{display:flex;flex-direction:column;line-height:1.45;flex:1;min-width:0}
.hams-product-arcade small{font-size:11px;color:#5e6672}.hams-product-arcade em{font-style:normal;font-size:12px;color:#5e6672}
.hams-mini-link{font-size:13px;padding:4px 12px;border:1px solid #e6d9c6;border-radius:999px;text-decoration:none;white-space:nowrap}
.hams-filter-note{background:#f7f1e7;border-radius:10px;padding:8px 14px;font-size:14px}
/* 検索 */
.hams-search .hams-search-form.is-page{max-width:640px;margin:0 0 6px}
.hams-search section{margin:18px 0 28px}
.hams-browse h2{font-size:20px;margin:26px 0 10px}
.hams-pref-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.hams-pref-group{border:1px solid #e8dfd0;border-radius:14px;padding:12px 14px;background:#fff}
.hams-pref-group b a{color:#1e2a3a;text-decoration:none}
.hams-pref-group p{display:flex;flex-wrap:wrap;gap:4px 12px;margin:6px 0 0;font-size:14px}
.hams-pref-group p a.is-empty{color:#a49a88}
.hams-pref-group small{margin-left:3px;font-size:11px;background:#c8432b;color:#fff;border-radius:999px;padding:0 6px}
@media (max-width:700px){.hams-two-ways{grid-template-columns:1fr}.hams-map{height:340px}.hams-map-tabs .hams-print{margin-left:0}}
@media print{
  .site-header,.site-footer,.top-note,.hams-map-tabs,.hams-recruit,.hams-two-ways,.hams-arcade-grid,.woocommerce,.section-head,.hams-crumb,.page-top,.hams-note{display:none!important}
  .hams-map-pane[data-pane=illust]{display:block!important}
  .hams-svg-scroll{overflow:visible;border:0}
  .hams-svgmap{min-width:0;width:100%}
  .hams-shoplist{grid-template-columns:1fr 1fr}
  .hams-shoplinks{display:none}
  body{background:#fff}
}
.hams-ico-st{display:inline-block;width:1.05em;height:1.05em;margin-right:3px;vertical-align:-.15em;border-radius:3px;background:#1f3a5f;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3l2 3h-2.5l-2-3h-5l-2 3H5l2-3a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm0 3v5h10V6zm1.5 7.5a1.5 1.5 0 1 0 0 .01zm7 0a1.5 1.5 0 1 0 0 .01z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3l2 3h-2.5l-2-3h-5l-2 3H5l2-3a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm0 3v5h10V6zm1.5 7.5a1.5 1.5 0 1 0 0 .01zm7 0a1.5 1.5 0 1 0 0 .01z'/%3E%3C/svg%3E") center/contain no-repeat}
.hams-chip.is-pref .hams-ico-st{background:#fff}
.hams-ico-arc{flex:0 0 auto;width:30px;height:30px;border-radius:8px;background:#1f3a5f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M9 34V26a15 15 0 0 1 30 0v8' fill='none' stroke='%23C8432B' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='17' cy='23' r='3' fill='%23E9B44C'/%3E%3Ccircle cx='24' cy='20' r='3' fill='%23E9B44C'/%3E%3Ccircle cx='31' cy='23' r='3' fill='%23E9B44C'/%3E%3C/svg%3E") center/80% no-repeat}
.hams-kana{margin:0 0 4px}

/* 外観写真（ファサード） */
.aq-store-hero.has-photo{min-height:360px;background-size:cover;background-position:center}
.aq-store-hero.has-photo::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(20,24,32,.45));pointer-events:none}
.aq-store-hero.has-photo>div{position:relative}
.hams-shop-photo{flex:0 0 auto}
.hams-shop-photo img{display:block;width:84px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #e8dfd0}
.hams-img-field{border:1px dashed #e3d2bb;border-radius:12px;padding:12px 14px;margin:4px 0}
.hams-img-field p{margin:2px 0 8px}
.hams-img-preview{display:block;border-radius:10px;border:1px solid #e8dfd0;margin:0 0 8px;object-fit:cover}
.hams-img-preview.is-cover{width:100%;max-width:480px;aspect-ratio:16/9}
.hams-img-preview.is-logo{width:96px;height:96px}
@media (max-width:600px){.aq-store-hero.has-photo{min-height:260px}}
/* ===== 1.3.0 共有・しぼりこみ・はしごルート・KML ===== */
.hams-map-tools{display:flex;flex-wrap:wrap;gap:8px 10px;margin-left:auto;align-items:center}
.hams-map-tabs .hams-map-tools .hams-print{margin-left:0}
.hams-map-tools .hams-mini-link,.hams-map-tools button{display:inline-flex;align-items:center;padding:7px 14px;background:#fff;color:#111;font-weight:700;font-size:14px;text-decoration:none;cursor:pointer}
.hams-share,.hams-hashigo-add,.hams-legend button,.hams-hashigo a,.hams-hashigo button{font:inherit;cursor:pointer;border:2px solid #e8dfd0;box-shadow:2px 2px 0 #e8dfd0;border-radius:0;background:#fff;color:#111;transition:transform .12s,box-shadow .12s}
.hams-share:hover,.hams-hashigo-add:hover,.hams-legend button:hover,.hams-hashigo a:hover,.hams-hashigo button:hover{transform:translate(2px,2px);box-shadow:0 0 0 #e8dfd0}
.hams-share{font-weight:700}
.hams-share-sm{margin-left:12px;padding:4px 12px;font-size:13px;vertical-align:1px}
.hams-legend-wrap{margin:12px 0}
.hams-legend-h{margin:0 0 6px;font-weight:700;font-size:14px;color:#111}
.hams-legend-h small{font-weight:400;color:#555;margin-left:8px;font-size:12px}
.hams-legend[data-hams-filter]{gap:8px 10px;margin:0}
.hams-legend button{display:inline-flex;align-items:center;padding:5px 12px;font-size:13px}
.hams-legend button[aria-pressed=false]{color:#888;background:#faf8f4;text-decoration:line-through;box-shadow:none}
.hams-legend button[aria-pressed=false] i{opacity:.35}
.hams-legend .hams-filter-all{font-weight:700}
.hams-legend-note{align-self:center}
.hams-svg-shop{transition:opacity .2s}
.hams-svg-shop.is-off{opacity:.15;pointer-events:none}
.hams-svg-shop.is-picked rect:first-of-type{stroke:#b23a22;stroke-width:3.5}
.hams-pin.is-picked span{box-shadow:0 0 0 3px #b23a22}
.hams-hashigo-lead{font-size:13px;color:#333;margin:12px 0 6px}
.hams-shoplist li{position:relative}
.hams-shoplist li.is-picked{outline:2px solid #b23a22;outline-offset:-1px}
.hams-shoplinks{flex-wrap:wrap;gap:6px 14px}
.hams-hashigo-add{margin-top:8px;padding:5px 12px;font-size:13px;font-weight:700}
.hams-hashigo-add[aria-pressed=true]{background:#b23a22;color:#fff}
.hams-hashigo{position:sticky;bottom:10px;z-index:500;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:14px 0;padding:12px 14px;background:#fff;border:1px solid #e8dfd0;border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.08)}
.hams-hashigo[hidden]{display:none}
.hams-hashigo p{margin:0;flex:1 1 260px;font-size:14px;color:#111}
.hams-hashigo-list{display:block;color:#555;font-size:12px;margin-top:2px}
.hams-hashigo a,.hams-hashigo button{padding:7px 14px;font-size:14px;font-weight:700;text-decoration:none}
.hams-hashigo .hams-hashigo-go{background:#b23a22;color:#fff}
.hams-hashigo .hams-hashigo-clear{font-weight:400}
.hams-kml-help{margin-top:10px}
.hams-store-maplinks{display:flex;flex-wrap:wrap;gap:10px}
.hams-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);z-index:100000;background:#111;color:#fff;padding:10px 18px;border-radius:999px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 32px)}
.hams-toast.is-on{opacity:1;transform:translate(-50%,0)}
@media (max-width:700px){.hams-map-tools{margin-left:0;width:100%}.hams-hashigo{bottom:6px}.hams-legend-h small{display:block;margin:2px 0 0}}
@media print{.hams-map-tools,.hams-legend-h small,.hams-hashigo,.hams-hashigo-add,.hams-hashigo-lead,.hams-kml-help,.hams-filter-all{display:none!important}.hams-svg-shop.is-off{opacity:.15}}
/* テーマの汎用ボタン（朱色の丸ボタン）より優先：未選択は白地・線、選択中は朱色 */
body .hams-shoplist .hams-hashigo-add,body .hams-legend button,body .hams-hashigo .hams-hashigo-share,body .hams-hashigo .hams-hashigo-clear,body .hams-share,body .hams-map-tools .hams-print{border-radius:0;background:#fff;color:#111;border:2px solid #e8dfd0;box-shadow:2px 2px 0 #e8dfd0;min-height:0;line-height:1.4}
body .hams-shoplist .hams-hashigo-add{padding:5px 12px;font-size:13px}
body .hams-shoplist .hams-hashigo-add[aria-pressed=true]{background:#b23a22;color:#fff;border-color:#b23a22;box-shadow:none}
body .hams-hashigo .hams-hashigo-go{border-radius:0;background:#b23a22;color:#fff;border:2px solid #b23a22;box-shadow:2px 2px 0 #e8dfd0}
body .hams-shoplist .hams-hashigo-add:hover,body .hams-legend button:hover,body .hams-hashigo button:hover,body .hams-share:hover,body .hams-map-tools .hams-print:hover{background:#fff;color:#111;transform:translate(2px,2px);box-shadow:0 0 0 #e8dfd0}
body .hams-shoplist .hams-hashigo-add[aria-pressed=true]:hover{background:#b23a22;color:#fff}
body .hams-legend button[aria-pressed=false]{color:#888;background:#faf8f4;box-shadow:none}
@media (max-width:700px){
  body .hams-map-tools{gap:6px}
  body .hams-map-tools .hams-mini-link,body .hams-map-tools button{padding:5px 10px;font-size:12.5px;width:auto}
}
/* ===== 1.4.0 許可・免許・届出 ===== */
.aq-licenses{margin:8px 0}
fieldset.aq-licenses{border:1px solid #e8dfd0;border-radius:14px;padding:12px 16px}
fieldset.aq-licenses legend{font-weight:700;padding:0 6px}
.aq-licenses h4{margin:6px 0 4px}
.aq-lic{border:1px solid #e8dfd0;border-radius:12px;padding:10px 14px;margin:8px 0;background:#fff}
.aq-lic summary{cursor:pointer;font-size:14px}
.aq-lic[open] summary{margin-bottom:8px}
.aq-lic .aq-form-grid{margin-top:6px}
.aq-dot.is-ok{background:#e6f2ea;color:#1d6b3a}
.aq-licenses-view .aq-lic-box{border:1px solid #e8dfd0;border-radius:12px;padding:10px 12px;margin:0 0 10px;background:#fff}
.aq-licenses-view .aq-lic-box>b{display:block;font-size:13px;margin:0 0 4px}
.aq-licenses-view .aq-dl{font-size:12.5px;margin:0}
.aq-lic-20{color:#a3321e;font-weight:700;font-size:13px;margin:8px 0 0}
.aq-lic-notes{margin:10px 0}
.aq-lic-note{font-size:13px;margin:4px 0}
.aq-used-badge{display:inline-block;background:#111;color:#fff;font-size:12px;padding:2px 8px;margin-right:8px;border-radius:3px}
.aq-age-check{border:1px solid #e8dfd0;border-radius:12px;padding:10px 14px;margin:0 0 14px;background:#fff}
.aq-age-check .aq-lic-20{margin:0 0 8px;font-weight:400}
