
.nf-catalog-page{background:#f7f8f6;padding:0 0 64px}
.nf-catalog-container{width:min(1280px,calc(100% - 32px));margin:0 auto}
.nf-catalog-hero{padding:28px 0 18px;text-align:center}
.nf-catalog-eyebrow,.nf-catalog-small-label{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#628064}
.nf-catalog-hero h1{margin:0;font-size:clamp(28px,4vw,46px);line-height:1.25;letter-spacing:.02em}
.nf-catalog-lead{max-width:720px;margin:9px auto 0;line-height:1.65;color:#555;font-size:14px}
.nf-catalog-search-panel{background:#fff;border:1px solid #e3e5e0;border-radius:13px;padding:14px;box-shadow:0 5px 18px rgba(0,0,0,.03)}
.nf-catalog-search-main>label{display:block;margin-bottom:8px;font-weight:700}
.nf-catalog-search-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.nf-catalog-search-box input{width:100%;min-height:48px;border:1px solid #cfd4cc;border-radius:10px;padding:0 14px;font-size:16px}
.nf-catalog-search-box button{min-width:100px;border:0;border-radius:10px;background:#257b39;color:#fff;font-weight:700;padding:0 20px;cursor:pointer}
.nf-catalog-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.nf-catalog-filters label span{display:block;margin-bottom:6px;font-size:13px;font-weight:700}
.nf-catalog-filters select{width:100%;min-height:42px;border:1px solid #cfd4cc;border-radius:8px;background:#fff;padding:0 10px}
.nf-catalog-filter-actions{margin-top:14px;text-align:right}
.nf-catalog-reset{border:0;background:transparent;color:#555;text-decoration:underline;cursor:pointer}
.nf-catalog-taxonomy-sections{display:grid;gap:18px;margin-top:24px}
.nf-tax-section{background:#fff;border:1px solid #e3e5e0;border-radius:14px;padding:22px}
.nf-tax-section-head h2{margin:0 0 14px;font-size:20px}
.nf-tax-chips{display:flex;flex-wrap:wrap;gap:8px}
.nf-tax-chip{border:1px solid #d7dbd3;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;transition:.15s ease}
.nf-tax-chip:hover{border-color:#257b39;color:#257b39}
.nf-tax-chip span{display:inline-block;margin-left:5px;color:#888;font-size:12px}
.nf-catalog-products-section{margin-top:34px}
.nf-catalog-products-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.nf-catalog-products-head h2{margin:0;font-size:28px}
.nf-catalog-count{margin:0;color:#666}
.nf-catalog-count strong{font-size:28px;color:#222}
.nf-catalog-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.nf-catalog-card{overflow:hidden;background:#fff;border:1px solid #e3e5e0;border-radius:14px;transition:transform .16s ease,box-shadow .16s ease}
.nf-catalog-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.07)}
.nf-catalog-card-image{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#f0f1ef}
.nf-catalog-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.nf-catalog-card:hover .nf-catalog-card-image img{transform:scale(1.02)}
.nf-catalog-noimage{display:grid;place-items:center;height:100%;color:#8a8f88;font-weight:700}
.nf-catalog-status{position:absolute;top:10px;left:10px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.nf-catalog-status.is-open{color:#257b39}.nf-catalog-status.is-reserve{color:#9a6816}.nf-catalog-status.is-closed{color:#777}
.nf-catalog-card-body{padding:13px}
.nf-catalog-municipality{margin-bottom:7px;color:#628064;font-size:12px;font-weight:700}
.nf-catalog-card h3{margin:0;font-size:13.5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:5.9em}
.nf-catalog-card h3 a{color:#222;text-decoration:none}
.nf-catalog-fruits{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.nf-catalog-fruits span{padding:2px 6px;background:#f1f4ef;border-radius:999px;color:#536253;font-size:11px}
.nf-catalog-price{margin-top:11px;font-size:15px;font-weight:700}
.nf-catalog-detail-button{display:block;margin-top:11px;padding:8px 10px;border:1px solid #257b39;border-radius:8px;color:#257b39!important;text-align:center;text-decoration:none!important;font-weight:700}
.nf-catalog-detail-button:hover{background:#257b39;color:#fff!important}
.nf-catalog-loading{padding:14px;margin-bottom:14px;border-radius:8px;background:#eef3ed;color:#536253;text-align:center}
#nf_catalog_results.is-loading{opacity:.45}
.nf-catalog-empty{padding:48px 20px;background:#fff;border:1px solid #e3e5e0;border-radius:14px;text-align:center}
.nf-catalog-pagination-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:28px}
.nf-catalog-page-button{min-width:40px;min-height:40px;border:1px solid #d1d5cf;border-radius:8px;background:#fff;cursor:pointer}
.nf-catalog-page-button.is-current{background:#257b39;border-color:#257b39;color:#fff}
.nf-catalog-page-dots{display:inline-flex;align-items:center;padding:0 4px;color:#777}
.nf-catalog-notice{margin-top:36px;padding:18px 20px;border-top:1px solid #ddd;color:#666;font-size:12px;line-height:1.75}
@media(max-width:1100px){.nf-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.nf-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.nf-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
.nf-catalog-container{width:min(100% - 20px,1180px)}.nf-catalog-hero{padding:36px 6px 24px}
.nf-catalog-search-panel{padding:16px}.nf-catalog-search-box{grid-template-columns:1fr}.nf-catalog-search-box button{min-height:44px}
.nf-catalog-filters{grid-template-columns:1fr}.nf-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.nf-catalog-card-body{padding:10px}.nf-catalog-card h3{min-height:5.6em;font-size:12.5px;-webkit-line-clamp:4}.nf-catalog-price{font-size:13px}
.nf-catalog-products-head h2{font-size:23px}.nf-tax-section{padding:16px}
}

.nf-catalog-card-image img{
  image-rendering:auto;
  backface-visibility:hidden;
}
.nf-catalog-card-image{
  border-bottom:1px solid #eef0ec;
}


/* v0.5.2 compact catalog header */
.nf-catalog-compact-search{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
}
.nf-catalog-compact-search .nf-catalog-search-box{
  min-width:0;
}
.nf-catalog-filter-toggle,
.nf-catalog-browse-toggle{
  border:1px solid #cfd4cc;
  background:#fff;
  border-radius:9px;
  min-height:44px;
  padding:0 14px;
  cursor:pointer;
  font-weight:700;
  color:#394139;
  white-space:nowrap;
}
.nf-catalog-filter-toggle span,
.nf-catalog-browse-toggle span{
  display:inline-block;
  margin-left:8px;
}
.nf-catalog-filter-drawer{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #eceeea;
}
.nf-catalog-browse-compact{
  margin-top:10px;
}
.nf-catalog-browse-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  background:#fafbf9;
}
.nf-catalog-browse-drawer{
  margin-top:8px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.nf-catalog-browse-drawer[hidden],
.nf-catalog-filter-drawer[hidden]{
  display:none !important;
}
.nf-catalog-browse-drawer .nf-tax-section{
  padding:14px;
  border-radius:10px;
}
.nf-catalog-browse-drawer .nf-tax-section-head h2{
  margin-bottom:10px;
  font-size:16px;
}
.nf-catalog-browse-drawer .nf-tax-chip{
  padding:6px 9px;
  font-size:12px;
}
.nf-catalog-products-section{
  margin-top:18px;
}
.nf-catalog-products-head{
  margin-bottom:12px;
}
.nf-catalog-products-head h2{
  font-size:24px;
}
.nf-catalog-count strong{
  font-size:24px;
}

@media(max-width:720px){
  .nf-catalog-hero{
    padding:22px 4px 14px;
  }
  .nf-catalog-hero h1{
    font-size:26px;
  }
  .nf-catalog-lead{
    font-size:13px;
    margin-top:7px;
  }
  .nf-catalog-compact-search{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .nf-catalog-filter-toggle{
    padding:0 10px;
    font-size:12px;
  }
  .nf-catalog-browse-drawer{
    grid-template-columns:1fr;
  }
  .nf-catalog-products-section{
    margin-top:14px;
  }
}


/* v0.5.4 season + recommendations */
.nf-feature-section{
  margin-top:18px;
}
.nf-feature-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.nf-feature-head h2{
  margin:0;
  font-size:21px;
}
.nf-feature-caption{
  color:#777;
  font-size:11px;
}
.nf-feature-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.nf-feature-card{
  overflow:hidden;
  background:#fff;
  border:1px solid #e1e5df;
  border-radius:11px;
}
.nf-feature-image{
  position:relative;
  display:block;
  aspect-ratio:1.18 / 1;
  overflow:hidden;
  background:#f2f3f0;
}
.nf-feature-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.nf-feature-badge{
  position:absolute;
  top:8px;
  left:8px;
  padding:4px 7px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  box-shadow:0 2px 7px rgba(0,0,0,.08);
}
.nf-feature-badge.is-season{
  background:#e9f5e9;
  color:#247037;
}
.nf-feature-badge.is-pick{
  background:#fff1df;
  color:#9a5a06;
}
.nf-feature-body{
  padding:9px 10px 11px;
}
.nf-feature-municipality{
  margin-bottom:4px;
  color:#628064;
  font-size:10px;
  font-weight:700;
}
.nf-feature-body h3{
  margin:0 0 8px;
  font-size:12px;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:3em;
}
.nf-feature-body h3 a{
  color:#222!important;
  text-decoration:none!important;
}
.nf-feature-body strong{
  font-size:13px;
}
.nf-card-badges{
  position:absolute;
  top:8px;
  right:8px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  z-index:2;
}
.nf-card-special-badge{
  padding:4px 7px;
  border-radius:999px;
  font-size:9px;
  font-weight:700;
  background:#fff;
  box-shadow:0 2px 7px rgba(0,0,0,.08);
}
.nf-card-special-badge.is-season{
  color:#247037;
  background:#e9f5e9;
}
.nf-card-special-badge.is-pick{
  color:#9a5a06;
  background:#fff1df;
}
.nf-catalog-shipping-hint{
  margin-top:8px;
  color:#617262;
  font-size:11px;
  font-weight:700;
}
@media(max-width:1000px){
  .nf-feature-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .nf-feature-section{
    margin-top:14px;
  }
  .nf-feature-head h2{
    font-size:18px;
  }
  .nf-feature-caption{
    display:none;
  }
  .nf-feature-grid{
    display:flex;
    overflow-x:auto;
    gap:9px;
    padding-bottom:4px;
    scroll-snap-type:x proximity;
  }
  .nf-feature-card{
    flex:0 0 42%;
    scroll-snap-align:start;
  }
}


/* v0.5.8 mobile first-view compaction */
.nf-catalog-mobile-about{
  display:none;
}

@media(max-width:720px){

  /*
   * このCSSは /furusato/ でのみ読み込まれるため、
   * Cocoonの上部グローバルナビをこのページのスマホ表示だけ隠す。
   * 画面下のCocoonモバイルメニューはそのまま残す。
   */
  #navi,
  .navi,
  .navi-in,
  .global-menu,
  .global-navi,
  nav#navi{
    display:none !important;
  }

  /* ロゴ周辺も必要以上に高くしない */
  .header-container,
  .header-container-in,
  .logo-header,
  .logo{
    min-height:0 !important;
  }

  .header-container-in{
    padding-top:6px !important;
    padding-bottom:6px !important;
  }

  .logo-header img,
  .logo img{
    max-height:54px !important;
    width:auto !important;
  }

  .nf-catalog-page{
    padding-top:0;
  }

  .nf-catalog-container{
    width:calc(100% - 12px);
  }

  .nf-catalog-hero{
    padding:12px 4px 8px;
  }

  .nf-catalog-eyebrow{
    display:none;
  }

  .nf-catalog-hero h1{
    font-size:21px;
    line-height:1.35;
    letter-spacing:0;
    margin:0;
  }

  .nf-catalog-lead{
    display:none;
  }

  .nf-catalog-mobile-about{
    display:block;
    margin-top:5px;
    font-size:11px;
    color:#6b716b;
  }

  .nf-catalog-mobile-about summary{
    cursor:pointer;
    list-style:none;
    text-decoration:underline;
  }

  .nf-catalog-mobile-about summary::-webkit-details-marker{
    display:none;
  }

  .nf-catalog-mobile-about p{
    margin:7px 0 0;
    line-height:1.65;
  }

  .nf-catalog-search-panel{
    padding:8px;
    border-radius:10px;
  }

  .nf-catalog-compact-search{
    grid-template-columns:minmax(0,1fr) auto;
    gap:5px;
  }

  .nf-catalog-compact-search .nf-catalog-search-box{
    display:grid;
    grid-template-columns:minmax(0,1fr) 56px;
    gap:5px;
  }

  .nf-catalog-search-box input{
    min-height:38px;
    padding:0 9px;
    font-size:13px;
    border-radius:7px;
  }

  .nf-catalog-search-box button{
    min-width:0;
    min-height:38px;
    padding:0 7px;
    font-size:12px;
    border-radius:7px;
  }

  .nf-catalog-filter-toggle{
    min-height:38px;
    padding:0 8px;
    font-size:0;
    border-radius:7px;
  }

  .nf-catalog-filter-toggle::before{
    content:"条件";
    font-size:11px;
  }

  .nf-catalog-filter-toggle span{
    margin-left:5px;
    font-size:13px;
  }

  .nf-catalog-browse-compact{
    margin-top:6px;
  }

  .nf-catalog-browse-toggle{
    min-height:36px;
    padding:0 10px;
    font-size:11px;
    border-radius:8px;
  }

  .nf-feature-section{
    margin-top:9px;
  }

  .nf-feature-head{
    margin-bottom:6px;
  }

  .nf-catalog-small-label{
    font-size:9px;
    margin-bottom:2px;
  }

  .nf-feature-head h2{
    font-size:16px;
    line-height:1.25;
  }

  .nf-feature-grid{
    gap:7px;
  }

  .nf-feature-card{
    flex-basis:37%;
    border-radius:9px;
  }

  .nf-feature-body{
    padding:7px 8px 8px;
  }

  .nf-feature-body h3{
    font-size:11px;
    line-height:1.45;
    min-height:2.9em;
  }

  .nf-feature-body strong{
    font-size:11px;
  }

  .nf-feature-badge{
    top:5px;
    left:5px;
    padding:3px 5px;
    font-size:8px;
  }

  .nf-catalog-products-section{
    margin-top:10px;
  }

  .nf-catalog-products-head{
    margin-bottom:7px;
  }

  .nf-catalog-products-head h2{
    font-size:19px;
  }

  .nf-catalog-count strong{
    font-size:19px;
  }
}


/* v0.6.2 feature/list context */
.nf-feature-season[hidden]{
  display:none !important;
}

.nf-catalog-count{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}

.nf-catalog-count-note{
  display:block;
  min-height:1.4em;
  margin-top:2px;
  color:#888;
  font-size:10px;
  font-weight:400;
  line-height:1.4;
}

@media(max-width:720px){
  .nf-catalog-count-note{
    font-size:8px;
  }
}


/* v0.7.0 掲載ポータル */
.nf-catalog-portal-badges{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:7px;
}

.nf-catalog-portal-badges span{
  display:inline-block;
  padding:2px 6px;
  border-radius:999px;
  font-size:9px;
  font-weight:700;
  line-height:1.35;
}

.nf-catalog-portal-badges .is-rakuten{
  background:#fff0f0;
  color:#a00000;
}

.nf-catalog-portal-badges .is-yahoo{
  background:#fff0f4;
  color:#c0002b;
}

.nf-catalog-portal-badges .is-out{
  opacity:.5;
}


.nf-catalog-portal-badges .is-yahoo-only{
  background:#f1f1f1;
  color:#555;
}
