/*------全体------*/
img {
  width: 100%;
}
main {
  overflow: hidden;
}
body {
  background-image: url(../images/1_bg.png);
  background-repeat: repeat;
  height: 100vh;
  margin: 0;
}
.main {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}
/* FV */
#video-area {
  position: fixed;
  z-index: -1; /*最背面に設定*/
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}
#video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  height: 100vh;
  width: 800px;
}
.btn {
  width: 80%;
  display: block;
  margin: 0 auto;
  padding-top: 7%;
}
.ex {
  position: relative;
  margin: 80px auto;
}
.slider_wrap {
  position: relative;
  width: 100%;
}
.slider {
  position: absolute;
  top: 50%;
  width: 140%; /* Adjust the width to fit three images */
  overflow: hidden;
}
.slides {
  display: flex;
  width: calc(8 * 100% / 3); /* Width to accommodate all images (4 images plus 4 duplicates) */
  animation: slide 16s linear infinite; /* Adjust duration as needed */
}
.slides img {
  margin: 0 5px;
  width: calc(100% / 8); /* Each image takes 1/8 of the slides container */
  flex-shrink: 0;
}
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.voice {
  padding-top: 50%;
}
.voice img {
  width: 90%;
  display: block;
  margin: 0 auto;
  padding: 0% 0% 2% 0%;
}
/*768px以下 SPブレイクポイント*/
@media screen and (max-width: 769px) {
  #video {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
  }
  .btn {
    width: 90%;
  }
  .ex {
    margin: 30px auto;
  }
  .step img, .voice img {
    width: 88%;
  }
}
footer {
  background: #000;
  color: #fff;
  text-align: center;
}
@media screen and (max-width: 769px) {
  footer {
    font-size: 14px;
  }
}
.sp {
  display: none;
}
.pc {
  display: block;
}
@media screen and (max-width: 769px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
/*==================================================
ふわっ
===================================*/
/* fadeUp */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger {
  opacity: 0;
}
/*** ブルブル ***/
.purupuru2 {
  animation: purupuru2 0.1s infinite;
}
@keyframes purupuru2 {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(0.98, 0.95)
  }
}
/*** ぼよよんと弾むアニメーション ***/
img.boing {
  animation: .8s boing-anim linear;
}
@keyframes boing-anim {
  10% {
    transform: scale(1.1, 0.9);
  } /*少し縮む*/
  40% {
    transform: scale(1.2, 0.80);
  } /*縮む*/
  50% {
    transform: scale(0.85, 1.15);
  } /*反動で縦長*/
  60% {
    transform: scale(1.1, 0.9);
  } /*また反動で縮む*/
  70% {
    transform: scale(0.95, 1.08);
  } /*反動が小さく*/
  90% {
    transform: scale(0.98, 1.02);
  } /*最後の震え*/
  100% {
    transform: scale(1, 1);
  } /*元に戻る*/
}

/*-----------------------------------------------
LINE登録用モーダル
-----------------------------------------------*/
#modalwindow{
	position: fixed;
	top:0; 
	left:0; 
	width:100%; 
	height:100%;
	height:100vh;
	background:rgba(0,0,0,.75);
	z-index: 9998;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 0 auto;
}

.modalwindowContents{
	width: 90%;
	max-width: 480px;
	max-height: 80vh;
	overflow-y: scroll;
	margin: 0 auto;
	padding: 16px;
	background:#fff;
	border-radius: 8px;
	position: relative;
	-ms-overflow-style: none;/*スクロールバー非表示（IE・Edge）*/
	scrollbar-width: none; /*スクロールバー非表示（Firefox）*/
}

/*スクロールバー非表示（Chrome・Safari）*/
.modalwindowContents::-webkit-scrollbar{
	display:none;
}

#modal-lineLogin{
	display: none;
}

#modal-lineLogin.forNotification .modalwindowContents{
	width: 90%;
	max-width: 480px;
	max-height: 80vh;
	overflow-y: scroll;
	margin: 0 auto;
	padding: 16px;
	background: #06C755;
	border-radius: 8px;
	position: relative;
	-ms-overflow-style: none;/*スクロールバー非表示（IE・Edge）*/
	scrollbar-width: none; /*スクロールバー非表示（Firefox）*/
}

#modal-lineLogin.forNotification .modalwindowContents .icon{
	position: absolute;
	right: 4px;
	top: 4px;
	width: 32px;
	height: 32px;
	background-color: #fff;
}

.lineTitle{
	font-size: 1.25rem;
	color: #fff;
	text-align: center;
	font-weight: bold;
}

.lineSubTitle{
	font-size: 1rem;
	color: #000;
	text-align: center;
	font-weight: bold;
	padding-bottom: 8px;
}

.lineTextArea{
	background: #fff;
	padding: 8px;
}

.lineBtnArea{
	padding: 24px 0px;
}

/*QRコード-PC用*/
.lineQR{
	display: block;
	width: 50%;
	margin: 0 auto;
	padding: 8px;
	background-color: #06C755;
}

/*ボタン-SP用*/
.lineBtn{
	width: 80%;
	margin: 0px auto;
	padding: 8px 16px;
	font-size: 1.25rem;
	color:#fff;
	background: #06C755;
	border-radius: 32px;
	border: double 4px;
	position: relative;
}

#modal-lineLogin .icon-line::before{
	width: 26px;
    height: 24px;
}

.lineTextTitle{
	font-size: 1rem;
	font-weight: bold;
	padding-top: 5px;
}

.lineText{
	font-size: 0.7rem;
	padding: 8px;
}

.icon-close{
	-webkit-mask-image: url('../images/svg-crossmark.svg');
	mask-image: url('../images/svg-crossmark.svg');
}

