@charset "EUC-JP";

/*スライダーエリア*/
#slider-area{
/*  margin-top: 148px; */
}

.wrap{
  background-attachment: fixed;
  width: 100%;
  height: 100%;
  position: relative;
 }

/*オプションの説明*/
.op01{
  position: absolute;
  width: 265px;
  font-size: 12px;
  top: 100px;
  right: 0;
  background-color: #ffffff;
  padding: 10px;
}

.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:100%;
    position: relative;
}

.slider img {
   width: auto;
   height:480px;
   object-fit: cover;
/*   margin: 0;
   width: auto;
   height: 100%;
   margin: 0;*/
}

.slider3 img {
   width: 800px;
   height: 480px;
   margin: auto;
}

.slider .slick-slide {
  transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
  transform: scale(1);/*中央の画像のサイズだけ等倍に*/
  opacity: 1;/*透過なし*/
}

/*ドットナビゲーションの設定*/
.slick-dots ul {
    text-align:center;
    width: 100%;
    height: 100%;
    display: flex;
}


ul.slick-dots {
  justify-content: center;
  display: flex;
}

.slick-dots li {
    display:inline-block;
    margin:16px 5px; /*ドットの位置調整*/
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

.slider ul{
  margin:0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-list{
  height: 100%;
}

.slick-dots a{
  color: #333;
}
.slick-dots a:hover,
.slick-dots a:active{
  text-decoration: none;
}

/*広告バナーエリア*/

.koukoku-posi{
  display: flex;
  margin: 50px auto;
  max-width: 1600px;
}

ul.ba-koukoku {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.ba-koukoku li{
  padding: 0 7px;
  margin: auto;
  width: calc(100% / 5);
}

.ba-koukoku li img{
  width: 240px;
  height: 80px;
  object-fit: contain;
  aspect-ratio: 3/1;
}

.ba-koukoku li img:hover{
  opacity: 0.7;
}

.ba-koukoku li:nth-child(4n+1){
  clear: left;
}

*ポップアップ用ｃｓｓ*/
/* ポップアップウインドウの設定 */
.pu {
  background-color: #efefef;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .8);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 50%;
  height: 50%;
  overflow-y: scroll;
}
/* チェックボックスの初期設定 */
#pu-on{
  display: none;
}
/* チェックされたらポップアップウインドウを開く */
#pu-on:checked + .pu{
  display: block;
}

/* 閉じるアイコン（右上） */
.icon-close{
  background: #000;
  color: #fff;
  font-size: 30px;
  padding: 0 10px;
  position: absolute;
  right: 0;
}

/* 開くボタン */
.btn-open{
  background: #fff;
  border-radius: 10px;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  margin: 10px auto;
  width: 95%;
  text-align: center;
}

/* ポップアップの内容 */
.pu-content{
  margin: 40px auto 40px auto;
  width: 90%;
}
/*ここまでポップアップ用*/

@media screen and (max-width:1180px){
.ba-koukoku li{
  width: calc(100% / 3) !important;
  box-sizing: border-box !important;
  float: left;
  padding: 0 3px;
  margin: 0 0 6px;
  text-align: center;
}
}

@media screen and (max-width:768px){
#slider-area{
  margin-top: 0px;
}

.wrap{
  margin-top: 0px;
}
}

@media screen and (max-width:710px){
/*広告のスライダー*/
.koukoku-posi {
  width: 100%;
  float: none;
}

.ba-koukoku li img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.koukoku-posi ul{
  display: block;
  list-style: none;
}


.ba-koukoku li:nth-child(4n+1){
  clear: none;
}


.ba-koukoku li{
  width: 50% !important;
  box-sizing: border-box !important;
  float: left;
  padding: 0 3px;
  margin: 0 0 6px;
}
}

@media screen and (max-width:480px){
.wrap{
/*  margin-top: 58px; */
}

/*.slider .slick-slide {
   width:100vw;
   height: 235px;
  }
*/
.slider img {
   width:100vw;
   height: 235px;
  }

/*オプションの説明*/
.sumaho_op01 {
  display: contents;
  position: absolute;
  font-size: 12px;
  background-color: #ffffff;
  padding: 10px;
  }
}
