@charset "UTF-8";
/* ==========================================================================
   PHOENIX NIGHT  shops.css
   店舗一覧ページ（template-shops.php）専用。main.css の後に読み込みます。
   PC: 768px〜 / SP: 〜767px
   ========================================================================== */

.pn-shops2026 {
    /* 色はパンフレットに合わせています */
    --pn-shop-food: #18adc1;
    --pn-shop-food-mid: #98ceda;
    --pn-shop-food-pale: #e1eff2;
    --pn-shop-souvenir: #d05335;
    --pn-shop-souvenir-mid: #e29777;
    --pn-shop-souvenir-pale: #f7dfd1;
    --pn-shop-text: #231815;
}

/* ==========================================================================
   メインビジュアル
   ========================================================================== */
.pn-shops2026-hero {
    position: relative;
}

.pn-shops2026-hero__visual img {
    display: block;
    width: 100%;
}

.pn-shops2026-hero__title {
    position: absolute;
    top: 31%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 66%;
    padding: 0.5em 1em 0.35em;
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(-50%);
}

.pn-shops2026-hero__logo {
    font-size: clamp(44px, 5.8vw, 112px);
}

.pn-shops2026-hero__sub {
    margin-top: 0.2em;
    color: #333;
    font-size: clamp(24px, 2.4vw, 46px);
    font-weight: 400;
    line-height: 1.35;
}

/* ==========================================================================
   カテゴリー凡例
   ========================================================================== */
.pn-shops2026-legend {
    padding: clamp(48px, 4.2vw, 80px) var(--pn-gutter) 0;
    text-align: center;
}

.pn-shops2026-legend__lead {
    font-size: clamp(18px, 1.5vw, 28px);
}

.pn-shops2026-legend__list {
    display: flex;
    justify-content: center;
    gap: 1.2em;
    margin-top: 0.4em;
    font-size: clamp(18px, 1.5vw, 28px);
}

.pn-shops2026-legend__list li {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.pn-shops2026-legend__num {
    display: grid;
    place-items: center;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    background: var(--pn-shop-food);
    color: var(--pn-white);
    font-size: 1.3em;
    line-height: 1;
    letter-spacing: 0;
}

.pn-shops2026-legend__list .is-souvenir .pn-shops2026-legend__num {
    background: var(--pn-shop-souvenir);
}

/* ==========================================================================
   店舗カード（パンフレットのカードと同じ比率）
   文字や余白はカード幅に対する割合（cqw）で指定し、列数が変わっても
   パンフレットと同じ見た目を保ちます。--fs はテンプレート側で長さに応じて計算。
   ========================================================================== */
.pn-shops2026-body {
    width: min(1240px, 100%);
    margin-inline: auto;
    padding: clamp(48px, 4.2vw, 80px) var(--pn-gutter) clamp(80px, 7vw, 140px);
}

.pn-shopcards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 18px;
}

.pn-shopcard {
    --pn-shop-color: var(--pn-shop-food);
    --pn-shop-mid: var(--pn-shop-food-mid);
    --pn-shop-pale: var(--pn-shop-food-pale);
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    background: var(--pn-shop-pale);
    color: var(--pn-shop-text);
    letter-spacing: 0.05em;
    scroll-margin-top: 100px;
}

.pn-shopcard.is-souvenir {
    --pn-shop-color: var(--pn-shop-souvenir);
    --pn-shop-mid: var(--pn-shop-souvenir-mid);
    --pn-shop-pale: var(--pn-shop-souvenir-pale);
}

/* 店舗名 */
.pn-shopcard__head {
    display: flex;
    align-items: center;
    gap: 1.8cqw;
    height: 12.8cqw;
    padding-inline: 2.6cqw 2cqw;
    background: var(--pn-shop-color);
    color: var(--pn-white);
    font-weight: 700;
}

.pn-shopcard__no {
    display: grid;
    flex: none;
    place-items: center;
    width: 7.4cqw;
    height: 7.4cqw;
    border-radius: 50%;
    background: var(--pn-white);
    color: var(--pn-shop-text);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 4.4cqw;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.pn-shopcard__name {
    min-width: 0;
    font-size: calc(var(--fs, 7) * 1cqw);
    line-height: 1.2;
    white-space: nowrap;
}

.pn-shopcard__name.is-2line {
    line-height: 1.08;
}

/* 写真 */
.pn-shopcard__photo {
    position: relative;
    aspect-ratio: 390 / 240;
    max-height: 240px;
    background: #ddd;
}

.pn-shopcard__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pn-shopcard__noimage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #999;
    font-size: 4cqw;
    letter-spacing: 0.1em;
}

/* メニュー名 */
.pn-shopcard__menu {
    display: flex;
    align-items: center;
    min-height: 19cqw;
    padding: 1.8cqw 3cqw;
    background: var(--pn-shop-mid);
    font-size: calc(var(--fs, 5.9) * 1cqw);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* メニュー紹介 */
.pn-shopcard__desc {
    flex: 1;
    min-height: 37.5cqw;
    padding: 2.4cqw 3cqw 3cqw;
    font-size: 4.25cqw;
    line-height: 1.55;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

/* 営業時間・チケット */
.pn-shopcard__info {
    display: grid;
    grid-template-columns: 67% 1fr;
    gap: 0.8cqw;
    height: 12.3cqw;
    background: var(--pn-white);
    color: var(--pn-white);
    font-family: 'Helvetica Neue', Arial, var(--pn-font);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.pn-shopcard__info li {
    display: flex;
    align-items: center;
    background: var(--pn-shop-color);
}

.pn-shopcard__hours {
    gap: 1.4cqw;
    padding-left: 3cqw;
    font-size: calc(var(--fs, 6.2) * 1cqw);
    white-space: nowrap;
}

.pn-shopcard__hours.is-2line {
    line-height: 0.98;
}

.pn-shopcard .pn-clock-icon {
    flex: none;
    width: 6.6cqw;
    height: 6.6cqw;
    color: var(--pn-white);
}

.pn-shopcard .pn-clock-icon path {
    stroke: var(--pn-shop-color);
}

.pn-shopcard__tickets {
    justify-content: center;
    gap: 0.6cqw;
    font-size: 7.6cqw;
}

.pn-shopcard__ticket-img {
    display: flex;
    color: var(--pn-white);
    --pn-ticket-hole: var(--pn-shop-color);
}

.pn-shopcard__ticket-img .pn-ticket-icon {
    width: 9cqw;
    height: 9cqw;
}

.pn-shopcard__ticket-img.is-double .pn-ticket-icon + .pn-ticket-icon {
    margin-left: -4.6cqw;
}

.pn-shops2026-empty {
    font-size: 20px;
    text-align: center;
}

/* 2 列版（template-shops_2.php）
   カード 1 枚の幅を 3 列版と同じくらいに保つため、全体の幅を狭めています */
.pn-shops2026--cols2 .pn-shops2026-body {
    width: min(900px, 100%);
}

.pn-shops2026--cols2 .pn-shopcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ==========================================================================
   タブレット
   ========================================================================== */
@media (min-width: 640px) and (max-width: 1023px) {
    .pn-shopcards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   スマートフォン
   ========================================================================== */
@media (max-width: 767px) {
    .pn-shops2026-hero__title {
        top: 44%;
        width: 92%;
        padding: 0.3em 0.5em 0.2em;
    }

    .pn-shops2026-hero__logo {
        font-size: min(8.4vw, 40px);
    }

    .pn-shops2026-hero__sub {
        font-size: 20px;
    }

    .pn-shops2026-legend__lead,
    .pn-shops2026-legend__list {
        font-size: 18px;
    }
}

/* スマートフォンでカードが 2 列になる幅（640〜767px）だけ写真の高さを制限 */
@media (min-width: 640px) and (max-width: 767px) {
    .pn-shopcard__photo {
        max-height: 125px;
    }
}

@media (max-width: 639px) {
    .pn-shopcards {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

/* 2 列版はスマートフォンでも 2 列。カードが細いので、小さくなりすぎる文字に下限を設ける */
@media (max-width: 767px) {
    .pn-shops2026--cols2 .pn-shops2026-body {
        padding-inline: 10px;
    }

    .pn-shops2026--cols2 .pn-shopcards {
        gap: 16px 8px;
    }

    .pn-shops2026--cols2 .pn-shopcard__photo {
        max-height: 125px;
    }

    .pn-shops2026--cols2 .pn-shopcard__desc {
        font-size: max(4.25cqw, 10px);
        letter-spacing: 0;
    }
}
