/* --- shop.css Ruby対応・スマホ3行制限版 --- */

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f8f5fb;
    color: #222;
    line-height: 1.6;
}

/* ナビゲーション */
header {
    background-color: #4b0082;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 60px;
}

.logo { font-weight: bold; font-size: 1.1rem; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; }
.menu li a { color: #fff; text-decoration: none; padding: 10px 15px; font-size: 0.95rem; display: block; }

.menu-btn { display: none; }

@media (max-width: 850px) {
    .navbar { height: 65px; }
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: #3b0066;
    }
    .menu li a { padding: 18px; text-align: center; }
    .menu-btn:checked ~ .menu { display: flex; }
    .menu-icon { display: block; padding: 20px 15px; cursor: pointer; }
    .navicon { background: #fff; height: 3px; width: 30px; position: relative; display: block; }
    .navicon:before, .navicon:after { background: #fff; content: ''; display: block; height: 100%; position: absolute; width: 100%; }
    .navicon:before { top: 10px; }
    .navicon:after { top: -10px; }
}

/* レイアウト */
.schedule-section { max-width: 960px; margin: 15px auto; padding: 0 10px; }
.page-title { text-align: center; color: #4b0082; border-bottom: 3px solid #4b0082; padding-bottom: 10px; margin-bottom: 25px; font-size: 1.5rem; }

/* ライブカード */
.live-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 30px; border: 1px solid #e0d0f0; overflow: hidden; }
.card-header { background: linear-gradient(135deg, #4b0082, #6a0dad); padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; }
.card-date { color: #ffffff; font-size: 1.2rem; font-weight: 800; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.card-shop { color: #fff; background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: 20px; font-size: 0.85rem; }
.card-body { padding: 20px; }
.card-title { margin-top: 0; margin-bottom: 15px; font-size: 1.6rem; font-weight: bold; }

.detail-row { display: flex; padding: 8px 0; }
.detail-label { width: 60px; font-weight: bold; color: #4b0082; }
.detail-text { flex: 1; }
.detail-separator { border: 0; border-top: 1px dashed #e0d0f0; }

/* メンバーセクション */
.member-title { font-size: 1.1rem; padding: 5px 12px; margin: 25px 0 15px; border-left: 6px solid #4b0082; background-color: #f0ebf7; font-weight: bold; }
.member-item { margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.member-flex-wrapper { display: flex; gap: 20px; align-items: flex-start; }
.member-image-column { flex: 0 0 180px; width: 180px; }
.member-img, .no-img-placeholder { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.no-img-placeholder { display: flex; align-items: center; justify-content: center; background: #eee; color: #999; }

.member-text-column { flex: 1; min-width: 0; }
.member-name-container { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.member-box { font-size: 1.3rem; font-weight: bold; color: #4b0082; line-height: 1.2; }

/* ルビ設定 */
rt { font-size: 0.65em; color: #666; font-weight: normal; letter-spacing: 0.05em; }
.inst-text { font-size: 1.1rem; font-weight: normal; color: #555; margin-left: 4px; }

.guest-label { font-size: 0.75rem; background: #d9534f; color: #fff; padding: 2px 8px; border-radius: 4px; font-weight: bold; margin-bottom: 3px; }

/* プロフィール スクロール設定 (PC) */
.member-content-wrapper {
    padding: 8px 10px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    max-height: 5.5rem; /* PCは約4-5行 */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #4b0082 #f0f0f0;
}
.member-content-wrapper::-webkit-scrollbar { width: 5px; }
.member-content-wrapper::-webkit-scrollbar-thumb { background-color: #4b0082; border-radius: 10px; }
.member-content { font-size: 1rem; margin: 0; color: #333; line-height: 1.5; }

/* ★スマホ用設定（3行制限） */
@media (max-width: 650px) {
    .card-body { padding: 15px; }
    .member-flex-wrapper { gap: 12px; }
    .member-image-column { flex: 0 0 100px; width: 100px; }
    .member-box { font-size: 0.95rem; }
    .inst-text { font-size: 0.8rem; }
    rt { font-size: 0.55em; }
    
    .member-content-wrapper {
        max-height: 3.9rem; /* 1.3rem(行) × 3行 = 3.9rem で制限 */
        padding: 5px 8px;
    }
    .member-content {
        font-size: 0.85rem;
        line-height: 1.3; /* スマホで行間を少し詰めて3行を確保 */
    }
}

/* フッター */
footer { background-color: #4b0082; color: #fff; padding: 40px 20px; text-align: center; margin-top: 40px; }
.facebook-link { display: inline-block; color: #fff; text-decoration: none; border: 1px solid #fff; padding: 8px 20px; border-radius: 25px; margin-top: 15px; }
