@charset "UTF-8";

/* ============================================================
   staff.css — スタッフ専用スタイル (新デザインシステムと完全調和)
   ============================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   スタッフ紹介 (staff-member)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.staff-member {
  padding: 80px 0 100px;
  background: #faf8f5; /* インプラントサイト特有の優しい背景色 */
}


.staff-member__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px; /* style.css 共通の左右パディング */
}

/* スタッフセクション（職種ごと） */
.staff-member-sec {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px; /* カードデザインの角丸統一 */
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04); /* 高級感のある柔らかいシャドウ */
}

@media (min-width: 768px) {
    .staff-member-sec {
        margin-bottom: 60px;
        padding: 40px;
    }
}

.staff-member-sec:last-child {
    margin-bottom: 0;
}

/* セクション代表写真 */
.staff-member-sec__img {
    margin-bottom: 32px;
    border-radius: 6px;
    overflow: hidden;
}

.staff-member-sec__img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .staff-member-sec__img img { height: 300px; }
}

/* スタッフリスト */
.staff-member-sec__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) {
    .staff-member-sec__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* スタッフアイテム */
.staff-member-sec__item {
    padding-bottom: 32px;
    border-bottom: 1px solid #f0ece4;
}

.staff-member-sec__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.staff-member-sec__item-name {
    font-family: var(--font-base);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #595959;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.staff-member-sec__item-txt {
    font-family: var(--font-base);
    font-size: 13px;
    line-height: 1.85;
    color: var(--color-text); /* 本文テキストカラー変数と統一 */
    margin-bottom: 16px;
}

/* タグリスト (ブランドカラーと調和) */
.staff-member-sec__cat {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.staff-member-sec__cat-item {
    font-family: var(--font-base);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary); /* ゴールドからプライマリーボルドーに変更 */
    background: rgba(140, 46, 67, 0.06);
    border: 1px solid rgba(140, 46, 67, 0.15);
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

/* ============================================================
   新しいスタッフカードレイアウト (4列グリッド)
   ============================================================ */
.staff-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media screen and (max-width: 900px) {
    .staff-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .staff-cards-grid {
        grid-template-columns: 1fr;
    }
}

.staff-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.staff-card__img {
    width: 100%;
    aspect-ratio: 1 / 1; /* 写真比率はとりあえず1:1に仮設定 */
    overflow: hidden;
}

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

.staff-card__body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.staff-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px;
    font-family: var(--font-base);
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e0dbd0;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.staff-card__badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text);
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
    line-height: 1;
}

.staff-card__txt {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 20px;
    flex: 1; /* テキスト領域が可変になりタグが下に揃う */
}

/* タグの位置調整 */
.staff-card__body .staff-member-sec__cat {
    margin-top: auto;
}
