@charset 'UTF-8';

.slick-initialized {
  opacity: 1;
}

/*--------bukken_slider------------*/
.b_slider {
  width: 350px;
  position: relative;
}

.b_slider .slick-list {
  overflow: visible;
}

.slick-initialized {
  opacity: 1;
}

.b_slider li {
}

.b_slider li img {
  height: auto;
}

.b_slider .prev_a {
  width: 35px;
  height: 35px;
  display: block;
  position: absolute;
  left: 1090px;
  top: -125px;
  z-index: 50;
  border-radius: 50%;
  box-sizing: border-box;
  border: solid 2px #3c3c3c;
  background: #3c3c3c;
  white-space: nowrap;
  cursor: pointer;
  transition-duration: 0.3;
}

/* .b_slider .prev_a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: solid 1px #181871;
  border-right: solid 1px #181871;
  display: block;
  transform: rotate(225deg);
  position: absolute;
  top: 20px;
  right: 23px;
} */
.b_slider .prev_a::after {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-top: solid 1px #3c3c3c;
  border-left: solid 1px #3c3c3c;
  transform: rotate(-45deg);
  position: absolute;
  top: 8px;
  right: 0.7vw;
}

.b_slider .next_a {
  width: 35px;
  height: 35px;
  display: block;
  position: absolute;
  right: -820px;
  top: -125px;
  z-index: 50;
  border-radius: 50%;
  box-sizing: border-box;
  border: solid 2px #3c3c3c;
  background: #3c3c3c;
  white-space: nowrap;
  cursor: pointer;
  transition-duration: 0.3;
}

/* .b_slider .next_a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: solid 1px #181871;
  border-right: solid 1px #181871;
  display: block;
  transform: rotate(45deg);
  position: absolute;
  top: 20px;
  right: 15px;
} */
.b_slider .next_a::after {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-top: solid 1px #3c3c3c;
  border-left: solid 1px #3c3c3c;
  transform: rotate(135deg);
  position: absolute;
  top: 8px;
  right: 0.3vw;
}

.b_slider .next_a:hover,
.b_slider .prev_a:hover {
  background: #fff;
  transition: 0.3s;
  &:before {
    border-top: solid 1px #3c3c3c;
    border-right: solid 1px #3c3c3c;
  }
  
}

.b_slider .slick-dots button {
  background: none;
  border: none;
  content: "";
  font-size: 0;
  padding: 0;
}

.b_slider .slick-dots li button:before {
  font-family: "slick";
  font-size: 18px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  content: "";
  background: #b9b9b9;
  text-align: center;
  color: #b9b9b9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
}

.b_slider .slick-dots li.slick-active button:before {
  background: #848181;
}

.b_slider .slick-dots {
  overflow: hidden;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: right;
  margin: 40px 0 0;
  position: absolute;
  top: -145px;
  right: -670px;
}

.b_slider .slick-dots li {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  max-width: 13px;
  padding: 0;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  cursor: pointer;
}

.staff_slider .prev_a {
    width: clamp(40px, 3.8vw, 60px);
    height: clamp(40px, 3.8vw, 60px);
    display: block;
    position: absolute;
    left: calc(50% - 18.3vw);
    top:clamp(100px, 9.2vw, 150px);
    z-index: 50;
    border-radius: 10px;
    box-sizing: border-box;
    border: solid 1px #36454f;
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
}

.staff_slider .prev_a::after {
  content: "";
    width: 12px;
    height: 12px;
    display: block;
    border-top: solid 1px #3c3c3c;
    border-left: solid 1px #3c3c3c;
    transform: rotate(-45deg);
    position: absolute;
    top: 1.2vw;
    right: 1.15vw;
}

.staff_slider .next_a {  
    width: clamp(40px, 3.8vw, 60px);
    height: clamp(40px, 3.8vw, 60px);
    display: block;
    position: absolute;
    right: calc(50% - 18.3vw);
    top: clamp(100px, 9.2vw, 150px);
    z-index: 50;
    border-radius: 10px;
    box-sizing: border-box;
    border: solid 1px #36454f;
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
}

.staff_slider .next_a::after {
  content: "";
    width: 12px;
    height: 12px;
    display: block;
    border-top: solid 1px #3c3c3c;
    border-left: solid 1px #3c3c3c;
    transform: rotate(135deg);
    position: absolute;
    top: 1.2vw;
    right: 1.55vw;
}

.staff_slider .next_a:hover,
.staff_slider .prev_a:hover {
  background: #fff;
  transition: 0.3s;
  &:before {
    border-top: solid 1px #3c3c3c;
    border-right: solid 1px #3c3c3c;
  }
  
}


/*-------- トップスライダー（1000×204） --------*/
/* 画面幅いっぱいの枠で、はみ出した左右のスライドを見切れさせる */
.tp_slider_wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
    margin: 30px 0px;
}

/* 中央の1枚分（画像1000px＋左右余白10pxずつ） */
.tp_slider {
  width: 1020px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0; /* 初期化前のチラつき防止 */
  transition: opacity 0.3s;
}

.tp_slider.slick-initialized {
  opacity: 1;
}

/* 左右のスライドを表示させる（見切れは外側の .tp_slider_wrap で行う） */
.tp_slider .slick-list {
  overflow: visible;
}

.tp_slider li {
  padding: 0 10px;
  box-sizing: border-box;
}

.tp_slider li a {
  display: block;
}

/* 画像（仮：グレー） */
.tp_slider li img {
  display: block;
  width: 100%;
  height: auto;
  background: #cccccc;
  object-fit: cover;
}

/* 矢印 */
.tp_slider .tp_slider_prev,
.tp_slider .tp_slider_next {
  width: 40px;
  height: 40px;
  display: block;
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50%;
  background: rgba(60, 60, 60, 0.7);
  cursor: pointer;
  transition: background 0.3s;
    border: solid 1px #fff;
}

.tp_slider .tp_slider_prev {
  left: -22px;
}

.tp_slider .tp_slider_next {
  right: -22px;
}

.tp_slider .tp_slider_prev::after,
.tp_slider .tp_slider_next::after {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border-top: solid 2px #fff;
  border-left: solid 2px #fff;
}

.tp_slider .tp_slider_prev::after {
  transform: translate(-30%, -50%) rotate(-45deg);
}

.tp_slider .tp_slider_next::after {
  transform: translate(-70%, -50%) rotate(135deg);
}

.tp_slider .tp_slider_prev:hover,
.tp_slider .tp_slider_next:hover {
  background: rgba(60, 60, 60, 1);
}

/* ドット */
.tp_slider .slick-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.tp_slider .slick-dots li {
  padding: 0;
}

.tp_slider .slick-dots li button {
  width: 10px;
  height: 10px;
  display: block;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #b9b9b9;
  font-size: 0;
  cursor: pointer;
}

.tp_slider .slick-dots li.slick-active button {
  background: #3c3c3c;
}

/*-------- スマホ --------*/
@media screen and (max-width: 767px) {
  /* 中央のスライドを画面の85%にして左右を見切れさせる */
  .tp_slider {
    width: 85%;
  }

  .tp_slider li {
    padding: 0 5px;
  }

  .tp_slider .tp_slider_prev,
  .tp_slider .tp_slider_next {
    width: 28px;
    height: 28px;
  }

  .tp_slider .tp_slider_prev {
    left: 10px;
  }

  .tp_slider .tp_slider_next {
    right: 10px;
  }

  .tp_slider .tp_slider_prev::after,
  .tp_slider .tp_slider_next::after {
    width: 7px;
    height: 7px;
  }
}
