@charset "UTF-8";
/* ==========================================================
   お店カード（全ページ共通）
   /public_html/assets/shop-card-common.css

   セラピストカード(.ap-thcard)と枠・ホバー・文字クラスを揃えてある。
   店名は card_name--13 / エリアは card_sub--11（共通CSS側）。

   グリッドは .ap-shlist（PC 4列 / SP 2列）。
   1rem = 10px
   ========================================================== */

/* ----------------------------------------------------------
   グリッド
   ---------------------------------------------------------- */
.ap-shlist {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

@media (max-width: 767.98px) {

    .ap-shlist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ----------------------------------------------------------
   カード本体
   ---------------------------------------------------------- */
.ap-shcard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    background: var(--ap-panel-v2);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ap-shcard:hover {
    border-color: var(--shop-gold);
}

/* パネル内で .ap-card の枠を透明にしている県トップでも枠を残す */
.ap-sec--panel .ap-shcard {
    border-color: var(--ap-line);
}

.ap-sec--panel .ap-shcard:hover {
    border-color: var(--shop-gold);
}

.ap-shcard__link {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.ap-shcard__link:hover {
    color: inherit;
}

/* ----------------------------------------------------------
   サムネイル（1:1）
   ---------------------------------------------------------- */
.ap-shcard__thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #17121a;
    overflow: hidden;
}

.ap-shcard__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ----------------------------------------------------------
   案内状況バッジ（サムネ左上）
   1=すぐ案内 / 2=残り僅か / 3=完売
   ---------------------------------------------------------- */
.ap-shcard__status {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 2;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* すぐ案内だけ脈打たせる。今すぐ動ける唯一の状態なので */
.ap-shcard__status--1 {
    background: #1f8a5b;
    color: #eafff4;
    animation: apShcardPulse 2.4s ease-in-out infinite;
}

.ap-shcard__status--2 {
    background: var(--accent-ore, #e0701f);
    color: #fff;
}

.ap-shcard__status--3 {
    background: rgba(201, 52, 47, 0.92);
    color: #fff;
}

@keyframes apShcardPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(31, 138, 91, 0);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.25);
    }
}

/* ----------------------------------------------------------
   補助バッジ / お気に入り星（サムネ右上）
   ---------------------------------------------------------- */
.ap-shcard__badge {
    position: absolute;
    right: 6px;
    top: 6px;
    z-index: 2;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(13, 10, 12, 0.78);
    border: 0.5px solid var(--ap-gold-line);
    color: var(--ap-gold-light);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.ap-shcard__star {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    appearance: none;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--shop-gold);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.ap-shcard__star:active {
    transform: scale(0.9);
}

/* ----------------------------------------------------------
   本体
   ---------------------------------------------------------- */
.ap-shcard__body {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.8rem 1rem;
}

/* 登録日（新店セクションのみ） */
.ap-shcard__listed {
    text-align: center;
    color: var(--ap-gold-light);
    letter-spacing: 0.02em;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}
/* タイプ・出張可のバッジ行。店名の上に置く */
.ap-shcard__tags {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.3rem;
    min-width: 0;
    margin-bottom: 0.2rem;
}
/* タイプ（出張可 など）。未設定でも高さを揃える */
.ap-shcard__type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  justify-self: start;
  padding: 0px 10px;
  border-radius: 4px;
  background: rgba(26, 22, 17, .82);
  border: 1px solid var(--shop-gold-dim);
  color: var(--shop-gold-soft);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .06em;
}
/* 出張可。種別とは意味が違うので枠線だけの金色で分ける */
.ap-shcard__disp {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.6rem;
    border-radius: 3px;
    border: 1px solid var(--ap-gold-line);
    color: var(--shop-gold-soft);
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: nowrap;
}

/* エリア・最寄り駅は区切り線の下 */
.ap-shcard__foot {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid var(--ap-line);
}

.ap-shcard__station {
    min-width: 0;
    color: var(--ap-muted);
    font-size: 1.1rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 駅名だけ金にする。「最寄り駅」はラベルなので沈めたまま */
.ap-shcard__station-name {
    min-width: 0;
    color: var(--ap-gold-light);
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ----------------------------------------------------------
   SP
   ---------------------------------------------------------- */
@media (max-width: 767.98px) {

    .ap-shcard__body {
        padding: 0.7rem 0.8rem;
    }

    .ap-shcard__status {
        padding: 2px 6px;
        font-size: 0.95rem;
    }

    .ap-shcard__badge {
        padding: 2px 6px;
        font-size: 0.95rem;
    }
}

/* ----------------------------------------------------------
   モーション設定を尊重する
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    .ap-shcard__status--1 {
        animation: none;
    }
}