1@charset "UTF-8";
/* CSS Document */

/* =========================================================
   アクロス不動産 スタッフ紹介ページ
   店舗切り替え・スタッフ写真・動画リンク調整
   ========================================================= */

/* ---------------------------------------------------------
   1. 日向店・延岡店 店舗切り替え（共通ベース）
   --------------------------------------------------------- */

.staff_list .SearchMoreButton {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 0 0 30px !important;
    padding: 4px 0 0 !important;
    text-align: center !important;
    font-size: 0 !important;
}

/* ボタンの上に案内文を表示 */
.staff_list .SearchMoreButton::before {
    content: "店舗を選択してください";
    display: block;
    width: 100%;
    margin: 0 0 7px;
    color: #666;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

/* 店舗ボタン共通（通常・非選択時：オレンジ） */
.staff_list .SearchMoreButton a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 46px;
    padding: 0 22px;
    box-sizing: border-box;
    border: 2px solid #f39800;
    border-radius: 9px;
    background: #fff;
    color: #e78900;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.11);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* 店舗ボタンの丸アイコン（通常・非選択時） */
.staff_list .SearchMoreButton a::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: currentColor;
}

/* 通常ボタンのホバー（オレンジ） */
.staff_list .SearchMoreButton a:hover {
    border-color: #f39800;
    background: #f39800;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 152, 0, 0.26);
}


/* ---------------------------------------------------------
   2. 現在表示中（アクティブ）の店舗ボタン切り替え
   --------------------------------------------------------- */

.staff_list .SearchMoreButton a.is-current {
    border-color: #20957f;
    background: #20957f;
    color: #fff;
    box-shadow: 0 4px 11px rgba(32, 149, 127, 0.27);
}

.staff_list .SearchMoreButton a.is-current::before {
    content: "✓";
    width: auto;
    height: auto;
    margin-right: 9px;
    border-radius: 0;
    background: none;
    font-size: 14px;
    line-height: 1;
}

.staff_list .SearchMoreButton a.is-current:hover {
    border-color: #187765;
    background: #187765;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 152, 0, 0.26);
}


/* ---------------------------------------------------------
   2. スタッフ一覧全体
   --------------------------------------------------------- */

/* 各スタッフの行 */
.staff_list .StaffList > ul > li {
    position: relative;
    min-height: 220px;
    padding-left: 280px !important;
    padding-bottom: 30px;
    box-sizing: border-box;
}

/* 動画があるスタッフは、写真＋動画分の高さを確保 */
.staff_list .StaffList > ul > li:has(a[href*="youtu"]) {
    min-height: 355px;
}

/* 右側のテキスト領域 */
.staff_list .StaffList > ul > li > .wrapper {
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* 既存floatの影響を解除 */
.staff_list .StaffList > ul > li::after {
    content: "";
    display: block;
    clear: both;
}


/* ---------------------------------------------------------
   3. スタッフ写真
   --------------------------------------------------------- */

/* スタッフ写真を左側に配置 */
.staff_list .StaffList > ul > li > p.img {
    position: absolute !important;
    top: 0;
    left: 0;
    float: none !important;
    width: 250px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* スタッフ写真本体 */
.staff_list .StaffList > ul > li > p.img > img {
    display: block;
    width: 250px !important;
    height: 188px !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center top;
    border-radius: 7px;
    box-shadow: 0 3px 11px rgba(0, 0, 0, 0.13);
}


/* ---------------------------------------------------------
   4. YouTube動画リンク画像
   --------------------------------------------------------- */

/* 動画画像をスタッフ写真の下へ配置 */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) {
    position: absolute !important;
    top: 202px;
    left: 0;
    float: none !important;
    width: 250px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
}

/* 動画リンク */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) a {
    position: relative;
    display: block;
    width: 250px;
    overflow: hidden;
    border-radius: 7px;
    background: #000;
    box-shadow: 0 3px 11px rgba(0, 0, 0, 0.15);
    transition:
        opacity 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* 動画画像 */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) img {
    display: block;
    width: 250px !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

/* 動画リンクのホバー */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) a:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.21);
}

/* 動画を見るラベル */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) a::after {
    content: "動画を見る";
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 5px 10px 5px 26px;
    border-radius: 20px;
    background: rgba(215, 0, 0, 0.93);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

/* 動画ラベル内の再生マーク */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) a::before {
    content: "▶";
    position: absolute;
    right: 72px;
    bottom: 12px;
    z-index: 3;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}


/* ---------------------------------------------------------
   5. 氏名・プロフィールテキスト
   --------------------------------------------------------- */

.staff_list .StaffList .title {
    margin: 0 0 3px;
}

.staff_list .StaffList .title .name {
    margin: 0 0 10px;
    padding: 0;
    border-bottom: 2px solid #20957f;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
}

/* フリガナ */
.staff_list .StaffList .title .name .kana {
    font-size: 0.82em;
}

/* プロフィール項目 */
.staff_list .StaffList dl {
    margin-top: 0;
}

@media screen and (min-width: 701px) {
    .staff_list .SearchMoreButton a {
        margin: 0 100px 20px;
    }
}


/* ---------------------------------------------------------
   6. スマートフォン
   --------------------------------------------------------- */

@media screen and (max-width: 700px) {

    /* 店舗切り替え */
    .staff_list .SearchMoreButton {
        gap: 8px;
        margin-bottom: 24px !important;
        padding-top: 0;
    }

    .staff_list .SearchMoreButton::before {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .staff_list .SearchMoreButton a {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        min-height: 43px;
        padding: 0 10px;
        font-size: 14px;
        display: flex;
        margin: 10px 0;
    }

    /* スタッフ情報を縦並びに変更 */
    .staff_list .StaffList > ul > li {
        min-height: 0;
        padding-top: 208px !important;
        padding-left: 0 !important;
        padding-bottom: 28px;
    }

    /* 動画ありスタッフ */
    .staff_list .StaffList > ul > li:has(a[href*="youtu"]) {
        min-height: 0;
        padding-top: 360px !important;
    }

    /* スタッフ写真 */
    .staff_list .StaffList > ul > li > p.img {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    /* 動画画像 */
    .staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) {
        top: 202px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* 氏名 */
    .staff_list .StaffList .title .name {
        font-size: 19px;
        text-align: center;
    }

    .staff_list .StaffList .title .name .kana {
        display: inline;
        font-size: 0.78em;
    }
}
/* =========================================================
   「動画を見る」再生マーク位置調整
   ========================================================= */

/* 動画を見るラベル */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) a::after{
    content:"動画を見る";
    position:absolute;
    right:7px;
    bottom:7px;
    display:flex;
    align-items:center;
    justify-content:center;
    height:28px;
    padding:0 12px 0 34px;   /* ← 左余白を少し広げる */
    border-radius:18px;
    background:#e60012;
    color:#fff;
    font-size:12px;
    font-weight:700;
    line-height:1;
}

/* 白丸の再生アイコン */
.staff_list .StaffList > ul > li > p.img2:has(a[href*="youtu"]) a::before{
    content:"▶";
    position:absolute;
    right:88px;              /* ← 76px→88pxに変更 */
    bottom:13px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#fff;
    color:#e60012;
    font-size:8px;
    font-weight:bold;
    line-height:16px;
    text-align:center;
    z-index:3;
}