/* スタッフプロフィールページ全体 */
.staff-profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: none;
    box-shadow: none;
}

.staff-profile-content {
    background: none;
    box-shadow: none;
    border: none;
}

/* 画像スライダー */
.staff-image-slider {
    margin-bottom: 30px;
}

.slider-wrapper {
    position: relative;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}

.slide {
    flex: 0 0 70%; /* メイン画像は70%、次の画像が30%見える */
    padding-right: 10px;
}

.slide:last-child {
    padding-right: 0;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* ドットインジケーター */
.slider-dots {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #5a6c57;
}

/* スタッフ情報 */
.staff-info {
    text-align: center;
}

.staff-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.staff-tagline {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

/* スタッフ詳細情報 */
.staff-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #555;
    min-width: 60px;
}

.detail-value {
    color: #333;
    font-weight: 500;
}

/* SNSリンク */
.staff-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.social-link {
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
}

.twitter-link {
    color: #1da1f2;
    border-color: #1da1f2;
}

.twitter-link:hover:not(.disabled) {
    background-color: #1da1f2;
    color: white;
}

.instagram-link {
    color: #e4405f;
    border-color: #e4405f;
}

.instagram-link:hover:not(.disabled) {
    background-color: #e4405f;
    color: white;
}

.social-link.disabled {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

/* 今週のシフト */
.staff-schedule {
    margin-bottom: 30px;
}

.staff-schedule h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #5a6c57;
    border-radius: 8px;
    overflow: hidden;
}

.schedule-day {
    background: white;
    padding: 10px 5px;
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.day-label {
    font-size: 12px;
    font-weight: 600;
    color: #5a6c57;
    margin-bottom: 5px;
    line-height: 1.2;
}

.day-time {
    font-size: 11px;
    color: #333;
    line-height: 1.3;
}

.day-time.off {
    color: #999;
    font-style: italic;
}

/* 予約ボタン */
.staff-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-button {
    display: block;
    padding: 15px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.phone-button {
    background-color: #5a6c57;
    color: white;
    border: 2px solid #5a6c57;
}

.phone-button:hover {
    background-color: #4a5947;
    border-color: #4a5947;
}

.web-button {
    background-color: transparent;
    color: #5a6c57;
    border: 2px solid #5a6c57;
}

.web-button:hover {
    background-color: #5a6c57;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .staff-profile-container {
        padding: 15px;
    }
    
    .slide {
        flex: 0 0 75%; /* モバイルでは75%表示 */
    }
    
    .slide img {
        height: 300px;
    }
    
    .staff-name {
        font-size: 20px;
    }
    
    .schedule-grid {
        gap: 1px;
    }
    
    .schedule-day {
        padding: 8px 3px;
        min-height: 70px;
    }
    
    .day-label {
        font-size: 11px;
    }
    
    .day-time {
        font-size: 10px;
    }
    
    .action-button {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .slide {
        flex: 0 0 80%; /* さらに小さい画面では80%表示 */
    }
    
    .staff-details {
        padding: 15px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .staff-social {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
        text-align: center;
    }
}