/* 石井スポーツ SNSページ専用スタイル(#sns-app の中だけに効きます) */
/* 現行ページの構成を踏襲: バナー → 絞り込み(旧エリアボタン) → 青い見出しバーごとの3列カード。アートスポーツのみ赤。 */
#sns-app {
  --blue: #0B72C0;
  --blue-dark: #085A9A;
  --blue-pale: #EEF5FB;
  --navy: #0E2257;
  --red: #E1001A;
  --ink: #1A1A1A;
  --muted: #5F6670;
  --line: #D9DDE3;
  --off: #9A9A9A;
  --ig: linear-gradient(90deg, #7F3FBF, #C2398A);
  --x: #000000;
  --fb: #1877F2;
  --line-green: #06C755;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

#sns-app,
#sns-app * {
  box-sizing: border-box
}

#sns-app {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%
}

#sns-app img {
  max-width: 100%
}

#sns-app a {
  color: inherit
}

#sns-app :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px
}

#sns-app [hidden] {
  display: none !important
}

#sns-app .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

#sns-app .wrap {
  --gutter: clamp(16px, 4vw, 24px);
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: var(--gutter)
}

/* パンくず */
#sns-app .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted)
}

#sns-app .crumbs li+li::before {
  content: ">";
  margin-right: 6px
}

#sns-app .crumbs a {
  text-decoration: none
}

#sns-app .crumbs a:hover {
  text-decoration: underline
}

/* バナー(画像が読み込めない場合はCSS版を表示) */
#sns-app .banner {
  margin: 0
}

#sns-app .banner img {
  display: block;
  width: 100%;
  height: auto
}

/* 検索バー + 絞り込みボタン */
/* 検索バー固定: スクロールしても上部に残る。パネルを開いた時は画面内でスクロール */
#sns-app .dock-sentinel {
  height: 1px;
  margin-top: 10px
}

#sns-app .dock {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 0;
  max-height: 100vh;
  overflow-y: auto;
  margin-inline: calc(var(--gutter) * -1);
  padding: 10px var(--gutter);
  background: #fff;
  overscroll-behavior: contain
}

#sns-app .dock.stuck {
  box-shadow: 0 4px 12px rgba(14, 34, 87, .12)
}

#sns-app .toolbar {
  display: flex;
  gap: 8px
}

#sns-app .search {
  position: relative;
  flex: 1;
  min-width: 0
}

#sns-app .search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none
}

#sns-app .search input[type=search] {
  padding-left: 40px
}

#sns-app .toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 4px;
  cursor: pointer
}

#sns-app .toggle svg {
  width: 18px;
  height: 18px
}

#sns-app .toggle:hover {
  background: var(--blue-dark)
}

#sns-app .toggle[aria-expanded="true"] {
  color: var(--blue);
  background: #fff
}

#sns-app .badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 12px;
  line-height: 1;
  color: var(--blue);
  background: #fff;
  border-radius: 10px
}

#sns-app .toggle[aria-expanded="true"] .badge {
  color: #fff;
  background: var(--blue)
}

/* 適用中の条件 */
#sns-app .active {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px
}

#sns-app .active:empty {
  display: none
}

#sns-app .achip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-pale);
  border: 1px solid #CADFF0;
  border-radius: 16px;
  cursor: pointer
}

#sns-app .achip::after {
  content: "×";
  font-size: 14px;
  line-height: 1
}

#sns-app .achip:hover {
  border-color: var(--blue)
}

/* 都道府県バッジ */
#sns-app .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

#sns-app .pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid #B9CDE0;
  border-radius: 17px;
  cursor: pointer
}

#sns-app .pill .n {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

#sns-app .pill:hover {
  border-color: var(--blue)
}

#sns-app .pill[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue)
}

#sns-app .pill[aria-pressed="true"] .n {
  color: #fff
}

#sns-app .pill:disabled {
  color: #B0B6BD;
  border-color: var(--line);
  cursor: default
}

#sns-app .pill:disabled .n {
  color: #B0B6BD
}

#sns-app .hint {
  font-size: 12px;
  color: var(--muted)
}

#sns-app .panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid #CADFF0;
  padding-block: 14px 0
}

#sns-app .close {
  min-height: 44px;
  padding: 8px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 4px;
  cursor: pointer
}

#sns-app .close:hover {
  background: var(--blue-dark)
}

/* 絞り込みパネル */
#sns-app .filters {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: 18px;
  background: var(--blue-pale);
  border: 1px solid #CADFF0;
  border-radius: 6px
}

#sns-app .field {
  display: grid;
  gap: 6px;
  min-width: 0;
  align-content: start
}

#sns-app .row2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

#sns-app .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark)
}

#sns-app input[type=search],
#sns-app select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: 4px
}

#sns-app select:disabled {
  color: var(--muted);
  border-color: var(--line);
  background: #F4F4F4
}

#sns-app .btns {
  display: grid;
  gap: 8px
}

#sns-app .btns.c4 {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

#sns-app .btns.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

#sns-app .btns.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

#sns-app .fbtn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 6px;
  min-height: 44px;
  padding: 6px 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: 4px;
  cursor: pointer
}

#sns-app .fbtn svg {
  width: 16px;
  height: 16px;
  flex: none
}

#sns-app .fbtn .n {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

#sns-app .fbtn:hover {
  background: #E1EEF9
}

#sns-app .fbtn[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue)
}

#sns-app .fbtn[aria-pressed="true"] .n {
  color: #fff;
  opacity: .9
}

#sns-app .fbtn[data-k="ig"][aria-pressed="true"] {
  background: var(--ig);
  border-color: #A23B9E
}

#sns-app .fbtn[data-k="x"][aria-pressed="true"] {
  background: var(--x);
  border-color: var(--x)
}

#sns-app .fbtn[data-k="fb"][aria-pressed="true"] {
  background: var(--fb);
  border-color: var(--fb)
}

#sns-app .fbtn[data-v="art"][aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red)
}

/* 結果 */
#sns-app .result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 24px 0 0
}

#sns-app .count {
  margin: 0;
  font-weight: 700
}

#sns-app .count b {
  margin-right: 2px;
  font-size: 28px;
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums
}

#sns-app .summary {
  flex-basis: 100%;
  order: 3;
  margin: 0;
  font-size: 12px;
  color: var(--muted)
}

#sns-app .link-btn {
  padding: 2px 0;
  font: inherit;
  font-size: 13px;
  color: var(--blue);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer
}

#sns-app .sec {
  margin-top: 24px
}

#sns-app .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 9px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: var(--blue)
}

#sns-app .bar .n {
  font-size: 13px;
  font-weight: 500;
  opacity: .9
}

#sns-app .sec.art .bar {
  background: var(--red)
}

#sns-app .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none
}

#sns-app .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px
}

#sns-app .card:hover {
  border-color: #B9CDE0;
  box-shadow: 0 6px 18px rgba(14, 34, 87, .08)
}

#sns-app .cbody {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px
}

#sns-app .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px
}

#sns-app .brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue-dark)
}

#sns-app .art .brand {
  color: var(--red)
}

#sns-app .ptag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-pale);
  border: 1px solid #CADFF0;
  border-radius: 11px;
  cursor: pointer
}

#sns-app .ptag:hover {
  border-color: var(--blue)
}

#sns-app .ptag.static {
  cursor: default
}

#sns-app .ptag.static:hover {
  border-color: #CADFF0
}

#sns-app .name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  word-break: auto-phrase
}

#sns-app .name a {
  text-decoration: none
}

#sns-app .name a:hover {
  text-decoration: underline
}

#sns-app .desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #4A515A
}

#sns-app .sns {
  display: flex;
  gap: 8px;
  margin: auto 0 0;
  padding: 6px 0 0;
  list-style: none
}

#sns-app .sns li {
  flex: 0 1 calc((100% - 16px) / 3);
  min-width: 0
}

#sns-app .sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px
}

#sns-app .sns svg {
  width: 20px;
  height: 20px;
  flex: none
}

#sns-app .sns .ig {
  background: var(--ig)
}

#sns-app .sns .x {
  background: var(--x)
}

#sns-app .sns .fb {
  background: var(--fb)
}

#sns-app .sns a:hover {
  opacity: .85
}

#sns-app .foot {
  border-top: 1px solid var(--line)
}

#sns-app .shop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none
}

#sns-app .shop::after {
  content: "›";
  font-size: 18px;
  line-height: 1
}

#sns-app .shop:hover {
  color: var(--blue);
  background: var(--blue-pale)
}

/* LINE CTA */
#sns-app .line-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  background: #EAF8EF;
  border: 1px solid #BFE8CF;
  border-radius: 10px
}

#sns-app .line-cta.big {
  margin-top: 40px;
  padding: 22px 24px
}

#sns-app .line-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--line-green);
  border-radius: 10px
}

#sns-app .line-cta.big .line-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px
}

#sns-app .line-ico svg {
  width: 26px;
  height: 26px
}

#sns-app .line-cta.big .line-ico svg {
  width: 34px;
  height: 34px
}

#sns-app .line-txt {
  display: grid;
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.45
}

#sns-app .line-txt b {
  font-size: 14px;
  color: #0B3B1F
}

#sns-app .line-cta.big .line-txt b {
  font-size: 17px
}

#sns-app .line-txt span {
  font-size: 12px;
  color: #3D5A48
}

#sns-app .line-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: var(--line-green);
  border-radius: 20px
}

#sns-app .line-cta.big .line-btn {
  min-height: 48px;
  padding: 10px 26px;
  font-size: 15px;
  border-radius: 24px
}

#sns-app .line-btn:hover {
  background: #05A847
}

@media (max-width:560px) {
  #sns-app .line-txt span {
    display: none
  }

  #sns-app .line-cta.big {
    flex-wrap: wrap;
    padding: 18px
  }

  #sns-app .line-cta.big .line-txt span {
    display: block
  }

  #sns-app .line-cta.big .line-btn {
    flex-basis: 100%
  }
}

#sns-app .load-error {
  margin-top: 24px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #B5BDC7;
  border-radius: 6px
}

#sns-app .empty {
  margin-top: 24px;
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #B5BDC7;
  border-radius: 6px
}

#sns-app .empty p {
  margin: 0 0 12px
}

#sns-app main {
  padding-bottom: 64px
}

@media (prefers-reduced-motion:no-preference) {

  #sns-app .fbtn,
  #sns-app .sns a {
    transition: background-color .15s, opacity .15s
  }
}

@media (max-width:760px) {
  #sns-app .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
  }

  #sns-app .sns .lbl {
    display: none
  }

  #sns-app .btns.c4 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  #sns-app .toggle span:first-of-type {
    white-space: nowrap
  }

  #sns-app .bar {
    font-size: 16px
  }
}

@media (max-width:560px) {
  #sns-app .grid {
    grid-template-columns: minmax(0, 1fr)
  }
}

/* ===== サイト共通CSS(/share/css/common.css)の打ち消し =====
   #sns-app を付けているので、共通CSSより必ず優先されます */
/* button:hover / button:active の内側の黒い影 */
#sns-app button,
#sns-app button:hover,
#sns-app button:active {
  box-shadow: none
}

/* input, button, select { font-size:14px } */
#sns-app input,
#sns-app button {
  font-size: inherit
}

/* main p, main h1〜h5 { line-height:1.2 } */
#sns-app p,
#sns-app h1,
#sns-app h2,
#sns-app h3 {
  line-height: inherit
}

/* li>a { color:#000 }(パンくずのリンク色) */
#sns-app .crumbs a {
  color: inherit
}