@charset "UTF-8";
/* ==========================================================
   スタッフ紹介 カルーセル（訳あり物件買取ナビ トップ）
   固定ページ「lp」本文内の <section id="staff"> 用。
   テーマ既存の .article h3/h4・.staff_image・.staff_name 等の
   旧ルールと衝突しないよう .staff_carousel 配下にスコープ。
   ========================================================== */
#staff .staff_carousel {
  position: relative;
  width: 100%;
  margin: 0 0 1.5em;
}

/* スライダー本体 */
#staff .staff_slider_outer {
  position: relative;
  width: 100%;
}
#staff .staff_slider_container {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  transition: height .4s ease-in-out;
}
#staff .staff_slider_track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  will-change: transform;
}
#staff .staff_slider_track.animated { transition: transform .4s ease-in-out; }
#staff .staff_slide {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0 54px;
}

/* カード */
#staff .staff_card {
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}
#staff .staff_card_header {
  background-color: #2540A7;
  color: #fff;
  padding: 15px 25px;
  display: flex;
  column-gap: .5em;
  align-items: baseline;
  justify-content: flex-start;
}
#staff .staff_post {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 4px;
}

/* 見出しのテーマ装飾をリセット */
#staff .staff_carousel h3.staff_name,
#staff .staff_carousel h4.staff_sub_ttl {
  position: static;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  counter-increment: none;
}
#staff .staff_carousel h3.staff_name::before,
#staff .staff_carousel h3.staff_name::after,
#staff .staff_carousel h4.staff_sub_ttl::before,
#staff .staff_carousel h4.staff_sub_ttl::after {
  display: none !important;
  content: none !important;
}
#staff .staff_carousel h3.staff_name {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  margin: 0;
  padding: 0;
}
#staff .staff_carousel .staff_name span.staff_kana {
  display: inline;
  margin-left: 0;
  font-size: 16px;
  font-weight: normal;
  color: #fff;
}
#staff .staff_carousel h4.staff_sub_ttl {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  color: #1A6285;
  margin: 0 0 8px;
  padding: 0 0 4px;
  border-bottom: 1px solid #ececec;
}

#staff .staff_card_body {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 30px 10px;
}
#staff .staff_card_left { flex-grow: 1; min-width: 0; }
#staff .staff_card_right { width: 220px; flex-shrink: 0; }
#staff .staff_carousel .staff_image {
  width: 100%;
  max-width: none; /* テーマ側の .staff_image { max-width:60% } 等を打ち消す */
  float: none;
  margin: 0 auto;
  text-align: center;
}
#staff .staff_carousel .staff_image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
  box-shadow: none;
  background: #fff;
  padding: .4em;
  box-sizing: border-box;
}
#staff .staff_card_bottom { padding: 0 30px 30px; }
#staff .staff_profile_block { margin-bottom: 20px; }
#staff .staff_profile_block:last-child { margin-bottom: 0; }
#staff .staff_carousel p.staff_text {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
  margin: 0;
  padding: 0;
}

/* 矢印 */
#staff .staff_nav_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #2540A7;
  border: none;
  border-radius: 0;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
#staff .staff_nav_btn:hover { opacity: .85; }
#staff .staff_nav_btn.prev { left: 0; }
#staff .staff_nav_btn.next { right: 0; }
#staff .staff_nav_btn::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  display: block;
}
#staff .staff_nav_btn.prev::after { transform: rotate(-135deg); margin-left: 4px; }
#staff .staff_nav_btn.next::after { transform: rotate(45deg); margin-right: 4px; }

/* ドット */
#staff .staff_slider_dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
#staff .staff_dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #BCCCDF;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
#staff .staff_dot.is-active { background-color: #2540A7; }

@media screen and (max-width: 991px) {
  #staff .staff_card_right { width: 200px; }
}
@media screen and (max-width: 767px) {
  #staff .staff_slide { padding: 0 6px; }
  #staff .staff_card_body {
    flex-direction: column-reverse;
    gap: 20px;
    padding: 20px 15px 10px;
  }
  #staff .staff_card_right { width: 90%; max-width: 300px; margin: 0 auto; align-self: center; }
  #staff .staff_carousel .staff_image img { margin: 0 auto; }
  #staff .staff_card_bottom { padding: 0 15px 20px; }
  #staff .staff_card_header {
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 4px;
  }
  #staff .staff_post { margin-bottom: 0; }
  #staff .staff_carousel h3.staff_name { font-size: 18px; }
  #staff .staff_carousel .staff_name span.staff_kana { font-size: 14px; }
  #staff .staff_carousel p.staff_text { font-size: 14px; }
  #staff .staff_carousel h4.staff_sub_ttl { font-size: 16px; }
  #staff .staff_nav_btn { width: 30px; height: 30px; top: 227px; transform: none; }
  #staff .staff_nav_btn.prev { left: 0; }
  #staff .staff_nav_btn.next { right: 0; }
}
