/* =========================================================
   NEW SHOP OPEN CSS
   ========================================================= */

/* ========================= PC (769px 以上) ========================= */
@media screen and (min-width: 769px) {

  .ly-container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
  .ly-section { padding: 0; }
  .ns-section { padding: 24px 0 64px; }

  .ns-header { text-align: center; margin-bottom: 16px; }
  .ns-title { font-size: 32px; margin: 0 0 6px; letter-spacing: .02em; color: #222; }
  .ns-sub { color: #666; font-size: 14px; margin: 0; }

  .ns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
  }

  .ns-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    overflow: hidden;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .ns-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
  }

  .ns-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; }
  /* .ns-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } */
  .ns-thumb img { width: 100%; object-fit: contain; display: block; aspect-ratio: 1/1; }

  .badge-new {
    position: absolute; top: 10px; left: 10px;
    padding: 6px 10px; font-size: 12px; font-weight: 700;
    color: #fff; background: #e60033; border-radius: 999px;
  }

  .ns-body { padding: 12px 14px 16px; }

  .ns-name {
    font-size: 20px; color: #222;
    margin: 0 0 8px; line-height: 1.4;
    height: 70px;
  }

  .ns-meta {
    display: flex; gap: 8px; align-items: center;
    margin: 0 0 8px;
  }

  .chip-date,
  .chip-pref {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    background: #f5f5f5;
    border-radius: 999px;
    color: #666;
  }

  .ns-desc {
    margin: 0; color: #666; font-size: 14px; line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .text-center {
    text-align: center;
  }

  .text-margin {
    margin-top: 50px;
  }

  .ns-thumb { flex: 0 0 auto; }
  .ns-body  { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; } 
  .ns-meta  { margin-top:auto; }
  /* .ns-name  { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; align-items: center;} */
  .ns-name  { display:flex; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; align-items: center; justify-content: center; }
  .ns-grid { align-items: stretch; }

}


/* ========================= スマホ（768px以下） ========================= */
@media (max-width: 768px) {

  .ly-container { max-width: 100%; margin: 0 auto; padding: 0 16px; }
  .ly-section { padding: 0; }
  .ns-section { padding: 20px 0 48px; }

  .ns-header { text-align: center; margin-bottom: 12px; }
  .ns-title { font-size: 24px; margin: 0 0 6px; letter-spacing: .02em; color: #222; }
  .ns-sub { color: #666; font-size: 13px; margin: 0; }

  .ns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .ns-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    overflow: hidden;
    text-decoration: none;
  }

  .ns-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; }
  /* .ns-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } */
  .ns-thumb img { width: 100%; object-fit: contain; display: block; aspect-ratio: 1/1; }

  .badge-new {
    position: absolute; top: 8px; left: 8px;
    padding: 5px 9px; font-size: 11px; font-weight: 700;
    color: #fff; background: #e60033; border-radius: 999px;
  }

  .ns-body { padding: 10px 12px 14px; }

  .ns-name {
    font-size: 18px; color: #222;
    margin: 0 0 6px; line-height: 1.4;
  }

  .ns-meta {
    display: flex; gap: 6px; align-items: center;
    margin: 0 0 6px;
  }

  .chip-date,
  .chip-pref {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    background: #f5f5f5;
    border-radius: 999px;
    color: #666;
  }

  .ns-desc {
    margin: 0; color: #666; font-size: 13px; line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .text-center {
    text-align: center;
  }

  .text-margin {
    margin-top: 25px;
  }

  .ns-thumb { flex: 0 0 auto; }
  .ns-body  { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
  .ns-meta  { margin-top:auto; }
  .ns-name  { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .ns-grid { align-items: stretch; }

}


/* ========================= 20251014追加 ========================= */

.ns-footer { display:flex; align-items:center; gap:10px; margin-top:auto;
  padding-top:10px; border-top:1px dashed #eee; }
.shop-icon { width:36px; height:36px; border-radius:50%; object-fit:cover;
  flex:0 0 auto; border:1px solid #ddd; background:#fff; }
.footer-name { font-weight:700; color:#222; font-size:14px; }
.footer-sub  { color:#666; font-size:12px; }

@media screen and (min-width: 769px) {
.ns-body { display:flex; flex-direction:column; }
.ns-meta { margin-top:0; }
.ns-footer { margin-top:auto; }
}

@media (max-width: 768px) {
.ns-body { display:flex; flex-direction:column; }
.ns-meta { margin-top:0; }
.ns-footer { margin-top:auto; }
.shop-icon { width:32px; height:32px; }
.footer-name { font-size:13px; }
.footer-sub  { font-size:11px; }
}


/*　2列表示　*/
/* @media (max-width: 768px) {
  .ns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ns-grid { gap: 12px; } 
} */

.breadcrumb-list {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
}
/* パンくずリストのコンテナ */


#breadcrumb.breadcrumb {
  background-color: transparent;
  padding: 10px 20px;
  display: flex;
  font-size: 14px;
  flex-wrap: wrap; /* 狭い画面で折り返し */
  justify-content: flex-start; /* 左寄せを基本に */
}

/* PC用（固定350px） */
@media (min-width: 1024px) {
  #breadcrumb.breadcrumb {
    margin-left: 150px; /* PCでは固定位置 */
  }
}



/* スマホ対応 */
@media (max-width: 768px) {
  #breadcrumb.breadcrumb {
    padding-left: 20px; /* 左余白を減らす */
    font-size: 12px;
    justify-content: flex-start; /* 完全左寄せ */
  }
}


/* リスト自体 */
.breadcrumb-list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

/* リストアイテム */
.breadcrumb-list li {
  margin-right: 8px;
  color: #444; /* デフォルト文字色（落ち着いた濃いグレー） */
}

/* 区切り記号 */
.breadcrumb-list li::after {
  content: ">";
  margin-left: 8px;
  color: #bbb; /* 区切りは薄いグレー */
}

.breadcrumb-list li:last-child::after {
  content: "";
}

/* リンク */
.breadcrumb-list li a {
  text-decoration: none;
  color: #2162a1; /* リンクは濃いグレー */
  transition: color 0.2s;
}

/* 現在ページ */
.breadcrumb-list li.current {
  color: #999; /* 現在ページは中間グレー */
}