@charset "utf-8";

/* スライダー
-------------------------------------------------- */
.top_center_banner {
  position: relative;
  height: 222px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.top_center_banner .banner_container,
.top_center_banner .thumb_container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.top_center_banner .banner_container {
  height: 160px;
}

.top_center_banner .thumb_container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 38px;
  margin: 8px 0 0;
  background: #f5f7fa;
  padding: 8px 0;
}

.top_center_banner .banner_container ul,
.top_center_banner .thumb_container ul {
  position: relative;
  left: 50%;
  width: 99999px;
  margin-left: -250px;
}

.top_center_banner .thumb_container ul {
  margin-left: -60px;
}

/* バナー
-------------------------------------------------- */
.top_center_banner .banner_container li {
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 10px;
  width: 500px;
  height: 160px;
  background-color: #f5f5f5;
}

.top_center_banner .banner_container li img {
  opacity: 0.6;
  width: 500px;
  height: 160px;
  transition: opacity 150ms ease;
}

.top_center_banner .banner_container li.current img {
  opacity: 1;
}

.top_center_banner .banner_container a::after {
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid 1px #ff5f96;
  box-sizing: border-box;
  content: "";
  transition: opacity 0.1s ease;
}

.top_center_banner .banner_container a:hover::after {
  opacity: 1;
}

/* サムネイル
-------------------------------------------------- */
.top_center_banner::after {
  display: block;
  position: absolute;
  top: 152px;
  left: 50%;
  z-index: 10;
  width: 0;
  height: 0;
  margin-left: -10px;
  border: solid 10px;
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ff5f96 rgba(0, 0, 0, 0);
  content: "";
}

.top_center_banner .thumb_container::after {
  display: block;
  position: absolute;
  top: 4px;
  left: 50%;
  width: 128px;
  height: 46px;
  margin-left: -64px;
  border: 3px solid #ff5f96;
  box-sizing: border-box;
  content: "";
}

.top_center_banner .thumb_container li {
  position: relative;
  display: inline-block;
  transition: opacity 333ms ease;
  margin-right: 10px;
  cursor: pointer;
  width: 120px;
  height: 38px;
  background-color: #e8e8e8;
}

.top_center_banner .thumb_container li:not(.current)::after {
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid 1px #ff5f96;
  box-sizing: border-box;
  content: "";
  transition: opacity 0.1s ease;
}

.top_center_banner .thumb_container li:not(.current):hover::after {
  opacity: 1;
}

.top_center_banner .thumb_container li img {
  width: 120px;
  height: 38px;
}

/* ページ送り・戻し
-------------------------------------------------- */
.top_center_banner .top_banner_prev,
.top_center_banner .top_banner_next {
  opacity: 0;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 2px;
  background: #000;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.top_center_banner .top_banner_prev {
  left: 50%;
  margin-left: -310px;
}

.top_center_banner .top_banner_next {
  right: 50%;
  margin-right: -310px;
}

.banner_container:hover .top_banner_prev,
.banner_container:hover .top_banner_next {
  opacity: 0.7;
}

.top_center_banner .banner_container:hover .top_banner_prev:hover,
.top_center_banner .banner_container:hover .top_banner_next:hover {
  opacity: 0.9;
}

.top_center_banner .top_banner_prev::after,
.top_center_banner .top_banner_next::after {
  display: block;
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -7px;
  content: "";
  transition: border 0.1s ease;
}

.top_center_banner .top_banner_prev::after {
  transform: rotate(-45deg);
  left: 40%;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
}

.top_center_banner .top_banner_next::after {
  transform: rotate(45deg);
  right: 40%;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.top_center_banner .banner_container:hover .top_banner_prev:hover::after {
  border-color: #ff5f96 transparent transparent #ff5f96;
}

.top_center_banner .banner_container:hover .top_banner_next:hover::after {
  border-color: #ff5f96 #ff5f96 transparent transparent;
}
