/*! Flickity v2.0.5
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 45%;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button:hover { background: white; }

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  opacity: 0.6;
}

.flickity-prev-next-button.previous { left: -130px;}
.flickity-prev-next-button.next { right: -50px;}

/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #9299ad;
}

/* ---- page dots ---- */

/* 沿革ページsetting */
.histryFrameBox .flickity-page-dots {
  position: absolute;
 /* width: 100%;*/
  left: 0;
  top: /*-50px*/ -64px;
  padding: 0;
  margin: 0 0 0 10px;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.histryFrameBox .flickity-rtl .flickity-page-dots { direction: rtl; }

.histryFrameBox .flickity-page-dots .dot { width: /*160px*/ 135px; height: /*35px*/ 60px; margin-right: /*10px*/ 8px; color: #fff; font-size: 15px; line-height: 1.4; white-space: pre; position: relative; background-color: #b70e0e; border-radius: 999px;  display: inline-block; cursor: pointer; transition: .3s;}
.histryFrameBox .flickity-page-dots .dot:before { position: absolute; left: 0; right: 0; top: 10px;}
.histryFrameBox .flickity-page-dots .dot:hover { opacity: 0.8; transition: .3s;}

.histryFrameBox .flickity-page-dots .dot:nth-child(1) { /*background-image: url(../images/outline/history_bt01.gif);*/}
.histryFrameBox .flickity-page-dots .dot:nth-child(2) { /*background-image: url(../images/outline/history_bt02.gif);*/}
.histryFrameBox .flickity-page-dots .dot:nth-child(3) { /*background-image: url(../images/outline/history_bt03.gif);*/}
.histryFrameBox .flickity-page-dots .dot:nth-child(4) { /*background-image: url(../images/outline/history_bt04.gif);*/}
.histryFrameBox .flickity-page-dots .dot:nth-child(5) { /*background-image: url(../images/outline/history_bt05.gif);*/}

.histryFrameBox .flickity-page-dots .dot:nth-child(1):before { content: "設立〜 \A　1999年";}
.histryFrameBox .flickity-page-dots .dot:nth-child(2):before { content: "2000〜 \A　2005年";}
.histryFrameBox .flickity-page-dots .dot:nth-child(3):before { content: "2006〜 \A　2011年";}
.histryFrameBox .flickity-page-dots .dot:nth-child(4):before { content: "2012〜 \A　2015年";}
.histryFrameBox .flickity-page-dots .dot:nth-child(5):before { content: "2016〜 \A　2019年";}
.histryFrameBox .flickity-page-dots .dot:nth-child(6):before { content: "〜現在に至る"; top: 20px;}

.histryFrameBox .flickity-page-dots .dot.is-selected { background-color: #820202; /*opacity: 0.8;*/}
