@charset "UTF-8";

.hall-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.hall-card:focus-within {
    outline: 3px solid var(--color-brand-outline);
    outline-offset: 3px;
}

/* 写真 + パートナーバッジ */
.hall-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--color-background-placeholder);
}

.hall-card-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall-card-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.hall-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 11px;
    padding: 15px;
}

.hall-card-name {
    margin: 0;
    color: var(--color-text-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* 設備アイコン（特徴セクションと同じ緑バッジ白抜き）4列グリッド */
.hall-card-feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hall-card-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 2px 9px;
    border-right: 1px solid var(--color-border);
}

.hall-card-feat:nth-child(4n) {
    border-right: none;
}

.hall-card-feat .ic {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-brand-primary), #155f3d);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 1px 3px rgba(31, 142, 90, 0.18);
}

.hall-card-feat.off .ic {
    background: linear-gradient(135deg, #cbd3cd, #b8c0ba);
    box-shadow: none;
}

.hall-card-feat .ic img {
    width: 22px;
    height: 22px;
    display: block;
}

.hall-card-feat .lb {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--color-brand-primary-deep);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.hall-card-feat.off .lb {
    color: #a8b0aa;
    font-weight: 500;
}

/* アクセス（名称と住所の間） */
.hall-card-access {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hall-card-access-icon {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    fill: var(--color-brand-primary);
}

.hall-card-access-text {
    color: var(--color-text-primary);
    font-size: 12px;
    line-height: 1.4;
}

/* 住所 */
.hall-card-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.hall-card-pin {
    flex: 0 0 14px;
    margin-top: 2px;
    fill: var(--color-brand-primary);
}

.hall-card-address-text {
    color: var(--color-text-primary);
    font-size: 11.5px;
    line-height: 1.6;
}

.hall-card-phone {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hall-card-phone-icon {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    fill: var(--color-brand-primary);
}

.hall-card-phone-text {
    color: var(--color-text-primary);
    font-size: 11.5px;
    line-height: 1.6;
}

/* フッター（詳細リンク／カード全面クリック） */
.hall-card-foot {
    display: flex;
    justify-content: flex-end;
}

.hall-card .hall-card-link {
    font-size: 14px;
    font-weight: 500;
}

.hall-card .hall-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

@media (hover: hover) {
    .hall-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767px) {
    .hall-card-content {
        gap: 10px;
        padding: 14px;
    }

    .hall-card-feat .lb {
        font-size: 9px;
    }
}
