@charset "UTF-8";
/* ==========================================================
   スタッフ紹介 カルーセル（空き家買取隊の staff_section を移植）
   既存テーマの .staff_image / .staff_name 等の旧ルールと衝突しないよう
   #staff 配下にスコープしています。
   ========================================================== */
#staff.staff_section {
  width: 100%;
  max-width: none;
  padding: 70px 0;
  box-sizing: border-box;
  background-color: #EFF7FF;
  overflow: hidden;
}
#staff .staff_inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
#staff > .Inner { margin-bottom: 40px; }
#staff > .Inner h2 { margin-bottom: 0; }

/* スライダー本体 */
#staff .staff_slider_outer {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
#staff .staff_slider_container {
  overflow: visible; /* PCは左右のカードを少しのぞかせる */
  width: 100%;
  position: relative;
  touch-action: pan-y;
  transition: height .4s ease-in-out;
  clip-path: inset(0 -100vw); /* 高さは表示中のカードに合わせ、左右ののぞき見は残す */
}
#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 40px;
  align-self: flex-start;
}

/* カード */
#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: #004BB1;
  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;
  margin-bottom: 4px;
  color: #fff;
}
#staff .staff_name,
#staff .staff_sub_ttl {
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none;
}
#staff .staff_name { border-bottom: none; }
#staff .staff_name {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  color: #fff;
}
#staff .staff_name::before,
#staff .staff_name::after,
#staff .staff_sub_ttl::before,
#staff .staff_sub_ttl::after { display: none; content: none; }
#staff .staff_name span.staff_kana {
  display: inline;
  margin-left: 0;
  font-size: 16px;
  font-weight: normal;
}
#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: 240px; flex-shrink: 0; }
#staff .staff_image {
  width: 100%;
  margin: 0;
  text-align: center;
}
#staff .staff_image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
  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_sub_ttl {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  color: #004BB1;
  margin: 0 0 8px;
  padding: 0 0 4px;
  border-bottom: 1px solid #ececec;
}
#staff .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: #004BB1;
  border: none;
  border-radius: 0;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#staff .staff_nav_btn:hover { opacity: .85; }
#staff .staff_nav_btn.prev { left: 10px; }
#staff .staff_nav_btn.next { right: 10px; }
#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;
  cursor: pointer;
}
#staff .staff_dot.is-active { background-color: #004BB1; }

@media screen and (max-width: 991px) {
  #staff .staff_slide { padding: 0 20px; }
  #staff .staff_nav_btn.prev { left: 25px; }
  #staff .staff_nav_btn.next { right: 25px; }
}
@media screen and (max-width: 767px) {
  #staff.staff_section { padding: 40px 0; }
  #staff > .Inner { margin-bottom: 1em; }
  #staff .staff_slider_container { overflow: hidden; }
  #staff .staff_slide { padding: 0 15px; }
  #staff .staff_card_body {
    flex-direction: column-reverse;
    gap: 20px;
    padding: 20px 15px 10px;
  }
  #staff .staff_card_right { width: 100%; max-width: 240px; 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_name { font-size: 18px; }
  #staff .staff_name span.staff_kana { font-size: 14px; }
  #staff .staff_text { font-size: 14px; }
  #staff .staff_sub_ttl { font-size: 16px; }
  #staff .staff_nav_btn { width: 30px; height: 30px; top: 240px; transform: none; }
  #staff .staff_nav_btn.prev { left: 0; }
  #staff .staff_nav_btn.next { right: 0; }
}
