@charset "utf-8";

@media ( max-width: 767px ) {}/* スマホ（〜767px） */
@media ( min-width: 768px ) and (max-width: 1024px) {}/* タブレット（768px〜1024px） */
@media ( min-width: 1025px ) {}/* PC（1025px〜） */

/* ===== リード文 ===== */
.staff_lead_sec p { text-align: left; }

/* ===== スタッフ一覧 ===== */
.staff_list { display: flex; flex-direction: column; gap: 24px; }
.staff_card { display: flex; flex-direction: row; align-items: center; gap: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.staff_card:hover { transform: scale(1.04); /*box-shadow: 0 4px 16px rgba(0, 0, 0, .08);*/ }
.staff_card_photo_wrap { flex-shrink: 0; }
.staff_card_photo { display: block; width: 120px; max-width: 100%; aspect-ratio: 1/1; border-radius: 50%; object-fit: cover; background: #ECE5DC; }
.staff_card_body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.staff_card_role { display: flex; align-items: center; justify-content: flex-start; height: 3em; line-height: 1.5; font-weight: bold; }
.staff_card_divider { border: none; border-top: 1px solid #CB4524; margin: 8px 0; }
.staff_card_name_row { display: flex; align-items: center; justify-content: space-between; flex: 1; }
.staff_card_name { padding: 0.4em 0; font-weight: bold; line-height: 1.2; }
.staff_card_name_part { white-space: nowrap; }

@media ( min-width: 768px ) {
    .staff_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .staff_card { flex-direction: column; align-items: stretch; text-align: center; gap: 0; padding: 20px; }
    .staff_card_photo_wrap { width: 100%; }
    .staff_card_photo { width: 180px; max-width: 100%; margin: 0 auto 16px; }
    .staff_card_body { width: 100%; }
    .staff_card_role { justify-content: center; text-align: center; }
    .staff_card_divider { width: 100%; margin: 12px 0; }
    .staff_card_name_row { justify-content: center; gap: 12px; }
}
@media ( min-width: 1025px ) {
    .staff_list { grid-template-columns: repeat(4, 1fr); }
}

/* ===== プロフィール ===== */
.staff_profile_sec { display: grid; grid-template-areas: "heading" "photo" "meta"; gap: 24px; }
.staff_profile_text { display: contents; }
.staff_profile_heading { grid-area: heading; }
.staff_profile_photo_wrap { grid-area: photo; }
.staff_profile_meta { grid-area: meta; display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 0; }
.staff_profile_meta_multiline { white-space: pre-line; }
.staff_profile_role { margin-bottom: 8px; }
.staff_profile_name { font-size: 24px; line-height: 1.2; }
.staff_profile_name_part { white-space: nowrap; }
.staff_profile_photo { display: block; width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 4/3; background: #ECE5DC; }
@media ( min-width: 768px ) {
    .h_wrap_staff_show .breadcrumb_list { margin: 0; }
    .staff_profile_sec { grid-template-columns: 300px 1fr; grid-template-areas: "text photo"; align-items: start; column-gap: 60px; padding: 80px 0 !important; }
    .staff_profile_text { display: flex; flex-direction: column; gap: 24px; grid-area: text; }
    .staff_profile_name { font-size: 40px; }
}
@media ( min-width: 1025px ) {
    .staff_profile_sec { grid-template-columns: 360px 1fr; }
    .staff_profile_photo { aspect-ratio: 16/9; }
}

/* ===== お客さまへのメッセージ ===== */
.bg_split_staff_show::before { top: 80px; }
.staff_message_card { position: relative; text-align: center; }
.staff_message_tag { display: block; margin-bottom: 24px; }
.staff_message_text { text-align: left; white-space: pre-line; }
@media ( min-width: 768px ) {
    .bg_split_staff_show::before { top: -160px; }
    .staff_message_tag { margin-bottom: 40px; }
}

/* ===== 紹介コンテンツ ===== */
.staff_content_sec { display: grid; grid-template-columns: 1fr; gap: 40px; }
.staff_content_block { display: flex; flex-direction: column; gap: 16px; }
.staff_content_block h3 { text-align: center; }
.staff_content_text { white-space: pre-line; }
.staff_content_img { display: block; width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 4/3; }
@media ( min-width: 768px ) {
    .staff_content_sec { grid-template-columns: 1fr 1fr; }
    .staff_content_block h3 { text-align: left; }
}

/* ===== スタッフ一覧へ戻る ===== */
.btn_staff_show { margin: 0 auto; }
