/* TOP only. Loaded after the original theme styles. */
.ah-top-news .ah-news-list{margin:0;padding:0;list-style:none;border-top:1px solid #d9d9d9}
.ah-top-news .ah-news-list li{margin:0;padding:0;border-bottom:1px solid #d9d9d9}
.ah-top-news .ah-news-link{display:grid;grid-template-columns:118px minmax(0,1fr) 24px;align-items:center;gap:24px;padding:25px 8px;color:#191919;text-decoration:none;transition:color .2s,background-color .2s}
.ah-top-news .ah-news-link:hover{color:#b7282e;background:#faf8f5}
.ah-top-news time{font-size:14px;color:#696969;font-variant-numeric:tabular-nums;letter-spacing:.03em}
.ah-top-news .ah-news-title{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.ah-top-news .ah-news-arrow{font-size:21px;text-align:right}
.ah-top-news .ah-news-empty{padding:24px 0;text-align:center}
.ah-top-shops .ah-shop-guide{text-align:center;margin:26px 0 20px;color:#fff;font-size:16px}
.ah-top-shops .ah-brand-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ah-top-shops [hidden]{display:none!important}
.ah-top-shops .ah-brand-filter{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:84px;padding:10px;border:3px solid transparent;border-radius:4px;background:#fff;color:#222;font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.ah-top-shops .ah-brand-filter img{display:block;width:100%;height:58px;object-fit:contain}
.ah-top-shops .ah-brand-filter:hover{border-color:#d9b4b5}
.ah-top-shops .ah-brand-filter.is-active{border-color:#b7282e;box-shadow:0 0 0 1px #b7282e}
.ah-top-shops .ah-brand-filter--all{background:#b7282e;color:#fff;font-weight:700}
.ah-top-shops .ah-brand-filter--all span{font-size:12px;margin-top:6px;font-weight:400}
.ah-top-shops .ah-shop-count{margin:30px 0 18px;font-size:15px;color:#fff}
.ah-top-shops .ah-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}
.ah-top-shops .ah-shop-card{min-width:0;background:#fff;color:#191919;border-radius:5px;overflow:hidden}
.ah-top-shops .ah-shop-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.ah-top-shops .ah-shop-photo{position:relative;aspect-ratio:3/2;overflow:hidden;background:#e9e4dc}
.ah-top-shops .ah-shop-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.ah-top-shops .ah-shop-card-link:hover .ah-shop-photo img{transform:scale(1.035)}
.ah-top-shops .ah-shop-no-photo{display:flex;align-items:center;justify-content:center;height:100%;padding:20px;text-align:center;font-weight:700;color:#736858;letter-spacing:.07em}
.ah-top-shops .ah-shop-area{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);padding:6px 10px;background:rgba(0,0,0,.78);color:#fff;border-radius:3px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.ah-top-shops .ah-shop-info{display:flex;flex:1;flex-direction:column;padding:22px 20px}
.ah-top-shops .ah-shop-service{font-size:12px;color:#726656;line-height:1.5;margin:0 0 9px}
.ah-top-shops h3{font-size:19px;line-height:1.45;font-weight:700;overflow-wrap:anywhere;margin:0}
.ah-top-shops .ah-shop-branch{font-size:14px;line-height:1.7;margin:8px 0 0;overflow-wrap:anywhere}
.ah-top-shops .ah-shop-detail{display:flex;justify-content:space-between;gap:10px;padding-top:20px;margin-top:auto;font-size:13px;font-weight:700;color:#b7282e}
.ah-top-shops .ah-shop-detail>span{font-size:18px}
.ah-top-shops .ah-shop-empty{text-align:center;color:#fff}
.ah-top-shops button:focus-visible,.ah-top-shops a:focus-visible,.ah-top-news a:focus-visible{outline:3px solid #1681bc;outline-offset:4px}
@media(max-width:900px){.ah-top-shops .ah-brand-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.ah-top-shops .ah-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){
  .ah-top-news .ah-news-link{grid-template-columns:minmax(0,1fr) 22px;gap:8px 14px;padding:20px 0}
  .ah-top-news time{grid-column:1;font-size:12px}
  .ah-top-news .ah-news-title{grid-column:1;font-size:14px;line-height:1.8}
  .ah-top-news .ah-news-arrow{grid-column:2;grid-row:1/3}
  .ah-top-shops .ah-shop-guide{font-size:14px;margin-top:22px}
  .ah-top-shops .ah-brand-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .ah-top-shops .ah-brand-filter{min-height:68px;padding:6px;font-size:12px}
  .ah-top-shops .ah-brand-filter img{height:42px}
  .ah-top-shops .ah-brand-filter--all span{font-size:10px}
  .ah-top-shops .ah-shop-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .ah-top-shops .ah-shop-count{margin-top:24px;font-size:13px}
  .ah-top-shops .ah-shop-info{padding:20px}
}
@media(prefers-reduced-motion:reduce){.ah-top-shops .ah-shop-photo img,.ah-top-shops .ah-brand-filter,.ah-top-news .ah-news-link{transition:none}.ah-top-shops .ah-shop-card-link:hover .ah-shop-photo img{transform:none}}

/* Space between each TOP list and its archive/search button. */
.section.ah-top-news .home-btn-wrapper,
.section.ah-top-shops .home-btn-wrapper{margin-top:48px}
@media(max-width:540px){
  .section.ah-top-news .home-btn-wrapper,
  .section.ah-top-shops .home-btn-wrapper{margin-top:32px}
}
