/* =========================================
   shop-single.css — ショップ詳細ページ
   ========================================= */

/* ----- ページヘッダー ----- */
.single-shop .page-header {
    background-color: #d1eeed;
    color: var(--text);
}

.single-shop .page-header::before {
    display: none;
}

.single-shop .page-header-title {
    color: #333;
}


/* =============================================
   2カラム: スライド左 + 情報右
   ============================================= */
.shop-detail__top {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* ----- 左カラム: スライド ----- */
.shop-detail__visual {
    flex-shrink: 0;
    width: 480px;
    max-width: 50%;
}

.shop-detail__no-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #999;
    font-size: 14px;
    border-radius: 6px;
}


/* ----- スライド ----- */
.shop-slide {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.shop-slide__track {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.shop-slide__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.shop-slide__item.is-active {
    opacity: 1;
    z-index: 1;
}

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

/* ナビ矢印 */
.shop-slide__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.shop-slide__nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

.shop-slide__nav--prev { left: 8px; }
.shop-slide__nav--next { right: 8px; }

/* ドット */
.shop-slide__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
}

.shop-slide__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.shop-slide__dot.is-active {
    background: #fff;
}


/* ----- 右カラム: 店舗情報 ----- */
.shop-detail__sidebar {
    flex: 1;
    min-width: 0;
}

.shop-detail__main-category {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #e91e8c;
    border-radius: 4px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.shop-detail__name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.4;
    border: none;
    padding: 0;
    background: none;
}

.shop-detail__floor {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.shop-detail__floor-icon {
    color: #e91e8c;
    flex-shrink: 0;
}

/* 店舗について（右カラム内） */
.shop-detail__description {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

/* 情報テーブル（右カラム内） */
.shop-detail__info {
    margin-top: 0;
}

.shop-detail__table {
    width: 100%;
    border-collapse: collapse;
}

.shop-detail__table tr {
    border-bottom: 1px solid #e5e7eb;
}

.shop-detail__table tr:first-child {
    border-top: 1px solid #e5e7eb;
}

.shop-detail__table th,
.shop-detail__table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.7;
}

.shop-detail__table th {
    width: 110px;
    font-weight: 700;
    color: #333;
    background-color: #f9f9f9;
    white-space: nowrap;
}

.shop-detail__table td {
    color: #333;
}

.shop-detail__table td a {
    color: #0073aa;
    text-decoration: none;
}

.shop-detail__table td a:hover {
    text-decoration: underline;
}


/* =============================================
   下部セクション（1カラム）
   ============================================= */

/* ----- セクション見出し ----- */
.shop-detail__section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px 0;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #1a1a2e;
}


/* ----- 採用情報 ----- */
.shop-detail__recruitment {
    margin-bottom: 32px;
}

.shop-detail__recruitment-body {
    font-size: 15px;
    line-height: 1.8;
}

.shop-detail__recruitment-image {
    margin-top: 20px;
}

.shop-detail__recruitment-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.shop-detail__recruitment-pdf {
    margin-top: 16px;
}

.shop-detail__pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f0f4f8;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.shop-detail__pdf-link:hover {
    background: #e2e8f0;
    border-color: #9ca3af;
}

.shop-detail__pdf-link svg {
    flex-shrink: 0;
    color: #dc2626;
}


/* ----- 戻るリンク ----- */
.shop-detail__nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.shop-detail__back {
    display: inline-block;
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.shop-detail__back:hover {
    text-decoration: underline;
}


/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 768px) {
    .shop-detail__top {
        flex-direction: column;
        gap: 20px;
    }

    .shop-detail__visual {
        width: 100%;
        max-width: 100%;
    }

    .shop-detail__name {
        font-size: 20px;
    }

    .shop-detail__table th {
        width: 100px;
        padding: 12px;
    }

    .shop-detail__table td {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .shop-detail__table th,
    .shop-detail__table td {
        display: block;
        width: 100%;
        padding: 10px 12px;
    }

    .shop-detail__table th {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .shop-detail__table td {
        padding-top: 4px;
        border-left: 3px solid transparent;
    }
}
