.sp_area { display: none;}
a {
	color: #FFFFFF;
}
a:visited {
	color: #FFFFFF;
}
a:active {
	color: #FFFFFF;
}
a:hover {
	color: #FFFFFF;
}
.auto-style {
	border-width: 0;
	margin-left: 80px;
}
.auto-style2 {
	border-width: 0;
}
.auto-style3 {
	border-width: 0px;
}

body {
  background-image: url('img/1repeat_ami.png');
  background-size: 700px; background-attachment: fixed;
  font-family: 'Trebuchet MS', '游ゴシック体', 'YuGothic', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', 'sans-serif';
}

* {
  padding: 0;
  margin: 0;
}

.main-slide {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.main-slide img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: slide-animation 48s linear infinite 0s;
}

.main-slide img {
  height: auto;
}

.main-slide img:nth-of-type(2){
  animation-delay: 8s;/*2枚目の開始時間*/
}

.main-slide img:nth-of-type(3){
  animation-delay: 16s;/*3枚目の開始時間*/
}

.main-slide img:nth-of-type(4){
  animation-delay: 24s;/*4枚目の開始時間*/
}

.main-slide img:nth-of-type(5){
  animation-delay: 32s;/*5枚目の開始時間*/
}

@keyframes slide-animation {
  0% {
    animation-timing-function: ease-in;/*ゆっくり表示される*/
    opacity: 0;
  }
  12% {
    animation-timing-function: ease-out;/*表示された*/
    opacity: 1;
  }
  30% {
    opacity: 1;/*＊表示期間*/
  }
  43% {
    opacity: 0;/*次の画像で消えている*/
  }
  100% {
    opacity: 0;/*表示されていない時間*/
  }
}

/* Access */
.access .gmap {
  height: 180px;
  width: 280px;
  filter: grayscale(100%);
}




/* SP用 */
@media only screen and (max-width:960px) {
.pc_area { display: none;}
.sp_area { display: block;}
body {
  background-image: url('./img/background.jpg');
  background-size: contain;
  background-repeat: repeat-y;
  background-attachment: scroll;
  font-size: 15px;
}

.sp_area .main-slide {
    height: 100%;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}
.sp_area .main-slide p {
    height: 100vh;
    width: 100%;
    animation: slide-animation-sp 16s linear infinite 0s;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* width: 100vw; */
}
.sp_area .main-slide .img01 { background: url(./img/01S_sp.jpg) center center / cover no-repeat;}
.sp_area .main-slide .img03 {
    background: url(./img/03S_sp.jpg) center center / cover no-repeat;
    animation-delay: 4s;/*2枚目の開始時間*/
}
.sp_area .main-slide .img04 {
    background: url(./img/04S_sp.jpg) center center / cover no-repeat;
    animation-delay: 8s;/*3枚目の開始時間*/
}
.sp_area .main-slide .img05 {
    background: url(./img/05S_sp.jpg) center center / cover no-repeat;
    animation-delay: 12s;/*4枚目の開始時間*/
}

@keyframes slide-animation-sp {
    0% {
      animation-timing-function: ease-in;/*ゆっくり表示される*/
      opacity: 0;
    }
    12% {
      animation-timing-function: ease-out;/*表示された*/
      opacity: 1;
    }
    30% {
      opacity: 1;/*＊表示期間*/
    }
    43% {
      opacity: 0;/*次の画像で消えている*/
    }
    100% {
      opacity: 0;/*表示されていない時間*/
    }
}

/* 共通 */
main { padding: 0 30px;}
.ttl {
    margin-top: 80px;
    font-size: 25px;
}
.txt {
    margin-top: 30px;
    line-height: 1.6;
}

/* Our Business */
.business { padding-top: 100vh;}

/* Company */
.company .txt a { text-decoration: none;}

/* Access */
.access .gmap {
    margin-top: 30px;
    height: 50vw;
    /* width: 100%; */
    width: 45vw;
    /* filter: grayscale(100%); */
}

/* フッター */
footer { margin: 90px 15px 10px;}
footer .copy {
  text-align: right;
  font-size: 12px;
}




}