/**
 * Staff Page Styles
 *
 * @package NONKE_SPA
 * @since 1.0.0
 */

/* ==========================================================================
   スタッフ一覧
   ========================================================================== */
.p-staffList {
    padding: 0;
    padding-bottom: 15px;
}

.p-staffList__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* スタッフカード */
.p-staffCard {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.p-staffCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.p-staffCard__image {
    position: relative;
    padding-bottom: 120%;
    overflow: hidden;
}

.p-staffCard__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-staffCard__body {
    padding: 20px;
}

.p-staffCard__name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #333;
}

.p-staffCard__meta {
    margin-bottom: 20px;
}

.p-staffCard__metaRow {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.p-staffCard__metaRow:last-child {
    border-bottom: none;
}

.p-staffCard__metaRow span:first-child {
    font-weight: 500;
}

.p-staffCard__button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #303c09;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.p-staffCard__button:hover {
    background: #1f2806;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .p-staffList__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .p-staffList {
        padding: 0;
        padding-bottom: 15px;
    }
    
    .p-staffList__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 30px;
    }
    
    .p-staffCard__body {
        padding: 16px;
    }
    
    .p-staffCard__name {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .p-staffCard__metaRow {
        padding: 6px 0;
        font-size: 13px;
    }
    
    .p-staffCard__button {
        padding: 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .p-staffList__grid {
        gap: 12px;
    }
}

/* ==========================================================================
   スタッフ詳細
   ========================================================================== */
.p-staffDetail {
    padding: 80px 0;
}

/* PCレイアウト */
.p-staffDetail__inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px;
    align-items: start;
}

/* 画像エリア */
.p-staffDetail__images {
    position: sticky;
    top: 100px;
    padding: 0 20px;
}

.p-staffDetail__slider {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}

.p-staffDetail__slide img {
    width: 100%;
    height: auto;
}

/* 情報エリア */
.p-staffDetail__content {
    max-width: 600px;
}

.p-staffDetail__name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #d9d9d9;
}

/* プロフィール */
.p-staffDetail__profile {
    background: rgba(248, 248, 248, 0.95);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #d9d9d9;
}

.p-staffDetail__profileTitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #303c09;
}

.p-staffDetail__profileList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.p-staffDetail__profileItem {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #d9d9d9;
}

.p-staffDetail__profileItem dt {
    font-weight: 500;
    color: #d9d9d9;
}

.p-staffDetail__profileItem dd {
    font-weight: 700;
    color: #d9d9d9;
    margin: 0;
}

/* スタッフコメント */
.p-staffDetail__comment {
    margin-bottom: 40px;
}

.p-staffDetail__commentTitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #303c09;
}

.p-staffDetail__commentText {
    line-height: 1.8;
    color: #333;
}

/* 出勤スケジュール */
.p-staffDetail__schedule {
    background: #fff;
    border: 2px solid #303c09;
    padding: 30px;
    border-radius: 8px;
}

.p-staffDetail__scheduleTitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #303c09;
    text-align: center;
}

.p-staffDetail__scheduleTable {
    width: 100%;
}

.p-staffDetail__scheduleTable th,
.p-staffDetail__scheduleTable td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.p-staffDetail__scheduleTable th {
    background: #f8f8f8;
    font-weight: 700;
    color: #333;
}

.p-staffDetail__scheduleTable td {
    color: #666;
}

.p-staffDetail__scheduleTable td.is-working {
    color: #303c09;
    font-weight: 700;
}

/* SPレイアウト */
@media (max-width: 768px) {
    .p-staffDetail {
        padding: 60px 0;
    }
    
    .p-staffDetail__inner {
        display: block;
    }
    
    .p-staffDetail__images {
        position: static;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .p-staffDetail__name {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .p-staffDetail__profile {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .p-staffDetail__profileTitle,
    .p-staffDetail__commentTitle,
    .p-staffDetail__scheduleTitle {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .p-staffDetail__profileList {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .p-staffDetail__profileItem {
        padding: 10px 0;
    }
    
    .p-staffDetail__schedule {
        padding: 20px;
    }
    
    .p-staffDetail__scheduleTable {
        font-size: 14px;
    }
    
    .p-staffDetail__scheduleTable th,
    .p-staffDetail__scheduleTable td {
        padding: 8px 4px;
    }
}