.l-gallery {
  box-sizing: border-box;
  font-family: "Hiragino Sans", Arial, Meiryo, sans-serif;
  width: 800px;
  display: flex;
  flex-direction: column;
  margin: 0 0 20px 0;
}

.l-gallery .o-connect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-family: "arial black", sans-serif;
  font-size: 16px;
  text-align: center;
}

.l-gallery .o-connect #floatingCirclesG {
  transform: scale(0.2);
  margin-bottom: -40px;
}

.l-gallery .o-image {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
}

.l-gallery .o-image img {
  width: 450px;
  max-height: 326px;
  -o-object-fit: contain;
     object-fit: contain;
}

.l-gallery .o-image__caption {
  position: absolute;
  bottom: 40px;
  width: 400px;
}

.l-gallery .o-image__empty {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.l-gallery .o-button__prev, .l-gallery .o-button__next {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 25px;
  height: 326px;
  margin-top: -163px;
  color: #666666;
  font-family: "Hiragino Sans", Arial, Meiryo, sans-serif;
  text-align: center;
}

.l-gallery .o-button__prev:link, .l-gallery .o-button__prev:visited, .l-gallery .o-button__prev:hover, .l-gallery .o-button__prev:active, .l-gallery .o-button__next:link, .l-gallery .o-button__next:visited, .l-gallery .o-button__next:hover, .l-gallery .o-button__next:active {
  text-decoration: none;
}

.l-gallery .o-button__prev:before, .l-gallery .o-button__next:before {
  content: "";
  display: block;
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.l-gallery .o-button__prev:after, .l-gallery .o-button__next:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  margin-top: -7.5px;
  border-style: solid;
  border-width: 7.5px 10px 7.5px 0;
  border-color: transparent #333333 transparent transparent;
}

.l-gallery .o-button__next {
  left: auto;
  right: 15px;
}

.l-gallery .o-button__next:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 7.5px 0 7.5px 10px;
  border-color: transparent transparent transparent #333333;
}

.l-gallery .o-bukken {
  display: flex;
  flex-direction: row;
  padding: 4px 8px 4px 4px;
}

.l-gallery .o-bukken:link, .l-gallery .o-bukken:visited, .l-gallery .o-bukken:hover, .l-gallery .o-bukken:active {
  text-decoration: none;
  color: #fff;
}

.l-gallery .o-bukken:hover, .l-gallery .o-bukken.is-selected {
  background: #000;
}

.l-gallery .o-bukken__empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 280px;
  text-align: center;
}

.l-gallery .o-bukken__img {
  width: 50px;
  height: 50px;
}

.l-gallery .o-bukken__text {
  padding-left: 15px;
}

.l-gallery__inner {
  transition: all 1s;
  opacity: 0;
}

.l-gallery__year-selector {
  box-sizing: border-box;
  /*height: 90px;*/
  margin: 0;
}

.l-gallery__year-selector ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.l-gallery__year-selector ul li {
  box-sizing: border-box;
  list-style: none;
}

.l-gallery__year-selector a {
  display: block;
  /*width: 80px;*/
  width: auto;
  height: 20px;
  margin: 0 0 10px 0;
  padding-left: 7px;
  padding-right: 25px;
  border-left: 5px solid #333333;
  font-family: "arial black", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  color: #333333;
  background-color: #efefef;
}

/*.l-gallery__year-selector ul li:nth-child(11n) a {
  padding-right: 0;
}
*/

.l-gallery__year-selector a:hover, .l-gallery__year-selector a.is-selected {
  color: #bb372c;
  background-color: #ccc;
  border-color: #bb372c;
}

.l-gallery__bukken-selector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  width: 250px;
  min-height: 460px;
  padding: 0 2px 0 0;
  color: #fff;
  background: #333333;
}

.l-gallery__bukken-selector .o-connect {
  min-height: 170px;
}

.l-gallery__title {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  /*height: 90px;*/
  height: auto;
  padding: 18px 20px 10px;
  font-size: 12px;
  line-height: 1.2;
}

.l-gallery__title strong {
  display: block;
  font-family: Impact, sans-serif;
  font-size: 30px;
  line-height: 1em;
  font-weight: normal;
  margin-bottom: 6px;
}

.l-gallery__bukken-list {
  box-sizing: border-box;
  display: block;
  height: 362px;
  width: 100%;
  overflow: auto;
  margin: 0 !important;
  padding: 0 15px 0 15px !important;
  scrollbar-width: thin;
  scrollbar-color: #fff #7a7a7a;
}

.l-gallery__bukken-list::-webkit-scrollbar {
  width: 3px;
}

.l-gallery__bukken-list::-webkit-scrollbar:horizontal {
  height: 12px;
}

.l-gallery__bukken-list::-webkit-scrollbar-track {
  background: #7a7a7a;
}

.l-gallery__bukken-list::-webkit-scrollbar-thumb {
  border-radius: 0;
  box-shadow: inset 0 0 20px #fff;
  border-radius: 10px;
  background: #7a7a7a;
}

.l-gallery__bukken-list::-webkit-scrollbar-thumb:hover {
  background: #fff;
}

.l-gallery__bukken-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-gallery__image-selector {
  box-sizing: border-box;
  width: 100%;
  height: 180px;
  margin-top: 20px;
  padding: 13px;
  background: #f7f7f7;
  border: 1px solid #cecece;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  line-height: 0;
}

.l-gallery__image-selector a {
  border: 4px solid transparent;
  margin-left: 10px;
}

.l-gallery__image-selector a:first-child, .l-gallery__image-selector a:nth-child(10n + 1) {
  margin-left: 0;
}

.l-gallery__image-selector a.is-selected {
  border-color: #333333;
}

.l-gallery__image-selector a img {
  width: 60px;
  height: 60px;
}

.l-gallery__image-wrap {
  position: relative;
  width: 535px;
  min-height: 460px;
  background: #333;
  font-size: 16px;
  color: #fff;
}

.l-gallery__image-wrap .o-connect {
  height: 240px;
}

.l-gallery__column {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.loading_wrap {
  position: absolute;
  width: 800px;
  height: 800px;
  background: #fff;
}

.loading_wrap .loading {
  color: #000;
}

.loading {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -50px;
  text-align: center;
  align-items: center;
  color: #fff;
  font-family: Impact, sans-serif;
  font-size: 20px;
}

.loading .load_percent {
  font-size: 60px;
  transition: all 1s;
}

.loading .load_text {
  transition: all 1s 0.2s;
}

.loading.is-loaded .load_percent {
  transform: translate3d(0, -40px, 0);
  opacity: 0;
}

.loading.is-loaded .load_text {
  transform: translate3d(0, -40px, 0);
  opacity: 0;
}
