﻿@charset "utf-8";

/* ------------------------------
   CHAPTER ELEMENTS
------------------------------ */
.xslider {
  /* margin: 0 auto; */
  width: 100%;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.xslider:after {
  content: ".";
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
}
.xslider ul{display: flex;}
.xslider li {
/*  overflow: hidden;*/
  list-style: none;
	position: relative;
}
.xslider a {
  text-decoration: none;
}



.slideImg {
  position: relative;
}
.slideImg li {
  width: 100%;
  /* position: absolute; */
}
/* .slideImg li:not(:first-child) {
  display: none;
} */

.slideImg li img {
  width: auto;
  max-width: 100%;
  vertical-align: bottom;
}

.slideImg a {
	display: block;
	position: relative;
}
.slideImg a:focus {
	z-index: 2;
	outline: 2px #000 solid;
}

.xslider .slideImg li img {
  width: 100%;
}

.xslider.w400{ max-width: 400px;}
.xslider.w500{ max-width: 500px;}
.xslider.w600{ max-width: 600px;}
.xslider.w800{ max-width: 800px;}
.xslider.w1000{ max-width: 1000px;}

.xslider a.block{
  display: block;
  height: 100%;
}


/* PagiNation
--------------------------- */

/* ページネーションを画像の下に置くパターン */
.external .pagiNation {
  position: relative;
  background-color: #47647D;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

/* ページネーションを画像にかぶせるパターン */
.internal .pagiNation {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.pagiNation a {
  display: inline-block;
}

.stop a:focus-visible,
.pagiNation a:focus-visible {
  border: ridge 2px #fff;
}

/* ページネーションの形　■パターン */
.square .pagiNation .pnNav a {
  margin: 0 4px 2px;
  width: .4rem;
  height: .4rem;
	overflow: hidden;
  background: #CBDBEB;
  transition: all 0.2s ease-in-out;
}

/* ページネーションの形　●パターン */
.circle .pagiNation .pnNav a {
	margin: 0 5px;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	transition: all 0.2s ease-in-out;
}

.pagiNation .pnNav a:hover {
  opacity: 0.6;
}

.pagiNation .pnNav.active a:hover {
  opacity: 1;
}

.pagiNation .pnNav.active a {
  background: #FFBB00;
}

/* SideNavi
------------------------- */
.pagiNation .btnPrev a,
.pagiNation .btnNext a {
  width: 2.5rem;
  height: 2rem;
  color: transparent;
  position: relative;
}


.pagiNation .btnPrev a::before,
.pagiNation .btnNext a::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border: 0px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.pagiNation .btnPrev a::before {
  pointer-events: none;
  -ms-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.pagiNation .btnNext a::before {
  pointer-events: none;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}



/* 停止ボタン
------------------------- */
.stop .startBtn {
  display: none;
}
.stop {
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 1.4rem;
  right: 3%;
  height: .7rem;
  width: .7rem;
  z-index: 3;
}
.stop a{display: block;}
.stop a img {
  width: 100%;
  vertical-align: bottom;
}


@media screen and (max-width: 800px) {
  /*　画面サイズが800px以下はここを読み込む　*/
  html{ font-size: 80%; }
  

  /*　画面サイズが800px以下はここまでを読み込む　*/
}
