@charset "utf-8";
/* ========== 予約状況ページ専用スタイル ========== */

/* 日付タブバー */
.avail-date-bar {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.avail-date-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    border: 2px solid #bbb;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    color: #444;
    text-decoration: none;
    background: #fff;
    line-height: 1.3;
    min-width: 58px;
    text-align: center;
}
.avail-date-tab .adtab-date { font-size: 14px; font-weight: bold; }
.avail-date-tab .adtab-cnt { font-size: 10px; font-weight: normal; color: #333; margin-top: 2px; }
.avail-date-tab.active { border-color: #931d1d; color: #931d1d; }
.avail-date-tab.active .adtab-cnt { color: #931d1d; }
/* 土日: 背景は通常色のまま、日付と人数のテキスト色だけ変更 */
.avail-date-tab.sat .adtab-date,
.avail-date-tab.sat .adtab-cnt { color: #0288d1; }
.avail-date-tab.sun .adtab-date,
.avail-date-tab.sun .adtab-cnt { color: #e91e63; }
.avail-sort-select {
    margin-left: auto;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    appearance: auto;
}

/* キャストカード */
.ac-card {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    background: #fff;
    overflow: hidden;
}
.ac-card-inner { display: flex; flex-wrap: wrap; }
.ac-card-inner > .ac-slots-section { width: 100%; }

/* 写真エリア */
.ac-photo-wrap {
    flex-shrink: 0;
    width: 150px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.ac-photo-wrap a { display: block; overflow: hidden; flex: none; }
.ac-photo-wrap img {
    width: 150px;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.ac-time-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.78);
    color: #fff;
    font-size: 11px;
    padding: 6px 8px;
    text-align: center;
    line-height: 1.4;
}
.ac-time-bar span { display: block; font-size: 13px; font-weight: bold; letter-spacing: 0.5px; }

/* 右側3カラム */
.ac-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ac-cols { display: flex; flex: 1; border-bottom: 1px solid #e0e0e0; }

/* カラム1：名前/タイプ */
.ac-col-profile {
    width: 165px;
    flex-shrink: 0;
    border-right: 1px solid #e0e0e0;
}
/* カラム2：プロフィール詳細 */
.ac-col-detail {
    flex: 1;
    min-width: 0;
    border-right: 1px solid #e0e0e0;
    padding: 0;
}
/* カラム3：可能オプション */
.ac-col-options {
    width: 145px;
    flex-shrink: 0;
}

/* セクション見出し */
.ac-section-head {
    background: #e8e8e8;
    font-size: 11px;
    font-weight: bold;
    color: #444;
    padding: 4px 10px;
    border-bottom: 1px solid #d0d0d0;
}

.ac-name {
    color: #c0392b;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 10px 2px;
    margin: 0;
}
.ac-name span { font-size: 13px; font-weight: normal; color: #666; }
.ac-size { font-size: 11px; color: #555; padding: 2px 10px 4px; margin: 0; }
/* .ac-badge は css/style.css で一括管理 */

/* タイプチェック (companion.html同様の画像方式) */
.ac-type-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 8px 8px;
}
.ac-type-icons img { height: 40px; width: auto; }

/* プロフィール詳細 DL */
.ac-detail-dl {
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
}
.ac-detail-dl dt {
    color: #444;
    font-weight: bold;
    margin: 6px 0 1px;
}
.ac-detail-dl dt:first-child { margin-top: 0; }
.ac-detail-dl dd {
    color: #333;
    margin: 0 0 0 0;
    word-break: break-all;
    line-height: 1.5;
}

/* 可能オプション (companion.html同様のGIF方式) */
.ac-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 6px;
}
.ac-option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30px;
}
.ac-option-item img { width: 30px; height: 30px; object-fit: contain; }
.ac-option-item span { display: none; }
.ac-option-item.off img { opacity: 0.25; filter: grayscale(1); }
.ac-option-item.off span { color: #bbb; }

/* 予約スロット */
.ac-slots-section {
    padding: 10px 14px 12px;
}
.ac-slots-title {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 0 0 6px;
}
.ac-slots-note { font-weight: normal; color: #e91e63; }
.ac-slots-table-wrap { overflow-x: auto; }
.ac-slots-table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}
.ac-slots-table td {
    border: 1px solid #555;
    text-align: center;
}
.ac-slots-hour {
    background: #333;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 4px;
    line-height: 1;
}
.ac-slots-heart-cell {
    background: #fff;
    padding: 4px 2px;
}
.ac-heart { font-size: 20px; line-height: 1; color: #ddd; display: block; }
.ac-slots-heart-cell.ok .ac-heart { color: #e91e63; }
.ac-slots-heart-cell.ok a.ac-heart { text-decoration: none; cursor: pointer; }
.ac-slots-heart-cell.ok a.ac-heart:hover { opacity: 0.7; }
/* 接客中・予約済セル */
.ac-slots-hour.range { font-size: 11px; padding: 5px 2px; line-height: 1.2; }
.ac-slot-busy { background: linear-gradient(135deg, #f5eef8 0%, #e6d5ef 100%); color: #6a1b7c; font-size: 10px; font-weight: bold; text-align: center; line-height: 1.35; padding: 5px 2px; box-shadow: inset 0 0 0 1px rgba(106,27,124,0.25); }
.ac-slot-busy.reserved { background: linear-gradient(135deg, #fff0f4 0%, #ffd7e0 100%); color: #c2185b; box-shadow: inset 0 0 0 1px rgba(194,24,91,0.3); }
.ac-slot-busy small { display: block; font-size: 9px; font-weight: normal; opacity: 0.95; }
/* 予約セル内のspans: PC/SP共通で3行表示（場所→状態→時間） */
.ac-slot-busy .ac-slot-area,
.ac-slot-busy .ac-slot-status,
.ac-slot-busy .ac-slot-time { display: block; }
.ac-slot-busy .ac-slot-time { font-size: 9px; opacity: 0.9; }
/* .ac-slot-fullbooked は css/style.css で一括管理 */
.ac-slots-bottom {
    font-size: 11px;
    color: #e91e63;
    margin: 6px 0 0;
}

/* =========== SPレイアウト =========== */
/* SP用シンプル情報（SPのみ表示） */
.ac-sp-info { display: none; }

/* SP・タブレット共通レイアウト (〜893px) */
@media (max-width: 893px) {
    /* PC用3カラム・スロットを非表示 */
    .ac-cols { display: none; }
    .ac-card-inner > .ac-slots-section { display: none; }
    /* SP用情報を表示 */
    .ac-sp-info { display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid #eee; }

    .ac-sp-photo { flex-shrink: 0; width: 100px; position: relative; }
    .ac-sp-photo img { width: 100px; height: 134px; object-fit: cover; object-position: top center; display: block; border-radius: 2px; }
    .ac-sp-photo .ac-time-bar { padding: 3px 2px; font-size: 9px; }
    .ac-sp-photo .ac-time-bar span { font-size: 11px; letter-spacing: 0; }
    /* .ac-sp-badge は css/style.css で一括管理 */
    .ac-sp-detail { flex: 1; min-width: 0; }
    .ac-sp-name {
        color: #c0392b; font-size: 15px; font-weight: bold;
        margin: 0 0 5px; line-height: 1.3;
    }
    .ac-sp-name span { font-size: 12px; font-weight: normal; color: #666; }
    .ac-sp-list { font-size: 11px; color: #333; line-height: 2; margin: 0; }
    .ac-sp-list span.lbl { color: #555; }

    /* 写真エリア非表示（SP用に差し替え） */
    .ac-photo-wrap { display: none; }
    .ac-card-inner { flex-direction: column; }

    /* スロットテーブル */
    .ac-slots-section { padding: 8px 10px 10px; }
    .ac-slots-table td { }
    .ac-slots-hour { font-size: 11px; }
    .ac-heart { font-size: 17px; }

    /* SP用時間表示 */
    .ac-sp-time-label {
        color: #c0392b;
        font-size: 12px;
        font-weight: bold;
        margin: 0 0 4px;
    }
}
