@charset "shift-jis";
/* CSS Document */

html{
	font-size: 10px;
/* 	background: url("../img/bg.png"); */
	background-size: 100% auto;
	background-attachment: fixed;
	margin: 0;
	padding: 0;
}

body{
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;	
	margin: 0 auto;
	background-size: 100% auto;
	color: #322c50;
}


.wrapper{
	overflow: hidden;
	text-align: center;
}

img{
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	display: block;
}


.cv{
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 1;
	padding: 1rem 3rem;
}

header{
	position: relative;
}

.mvImg1{
	position: absolute;
	width: 33%;
	top: 8%;
	right: 15%;	
	animation-name: mv_fade;
	animation-duration: 2s;
	animation-timing-function: ease;
}

@keyframes mv_fade{
	from{
		opacity: 0;
		transform: translateY(20px);
	}
	to{
		opacity: 1;
		transform: translateY(0);
	}
}

.mvImg2{
	position: absolute;
	width: 66%;
	bottom: 5.7%;
	left: 9%;
}

.section1{
	padding: 6rem 3rem;
	background: url( "../img/bg1.png");
	background-size: 100% auto;
}

.section2{
	background: url( "../img/bg2.png");
	background-size: 100% auto;
	padding: 5rem 3rem 3rem;
}

.step{
	margin: 3rem auto 0;
}

.section3{
	padding: 5rem 3rem;
}

.comment{
	margin-top: 3rem;
}

p{
	font-size: 16px;
	text-align: left;
	margin: 1rem auto;
}

.red{
	color: #cc3927;
}

.small{
	font-size: 12px;
}

.cv1{
	padding: 3rem 3rem 5rem;
}

.bg{
	background: url("../img/bg2.png");
}


footer{
	padding: 3rem 3rem 10rem;
}

footer a{
	text-decoration: none;
	color: #322c50;
	font-size: 1.4rem;
}

/*プラポリ設定----------------------------*/
.privacypolicy{
	padding: 5rem 3rem;
	line-height: 2rem;
}

.privacypolicy th, .privacypolicy td{
	font-size: 14px;
	padding: 1rem;
	border: 1px solid #322c50;
	
}

.privacypolicy tr{
	width: 100%;
}

.privacypolicy th{
	width: 30%;
	background: #322c50;
	color: #fff;
}

.privacypolicy td{
	width: 70%;
}
.privacypolicy h1{
	font-size: 18px;
	font-weight: bold;
	margin: 0 auto 2rem;
}

/*画像の無限ループアニメーション----------------------------*/
@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 30s infinite linear 0s both;/*30秒かけて全アイテム（写真など）を右から左に流す。画面が表示されて０秒後にループ開始*/
}
.scroll-infinity__item {
  width: calc(100vw / 3.5);/*画面に何個のアイテム（写真など）を表示させるか*/
	margin-right: 1rem;
}
.scroll-infinity__item>img {
  width: 100%;
}

/*跳ねるアニメーション----------------------------*/

.fluffy {
  animation: fluffy1 1.5s ease infinite;
}

@keyframes fluffy1 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-5px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-3px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}



/*fadeInアニメーション----------------------------*/
.fadein {
  opacity : 0;
  transform: translateY(10px);
  transition: all 0.8s;
}

/*==================tablet,pc======================*/

@media screen and (min-width: 500px){
	body{
		width: 100%;
		max-width: 500px;
		margin: 0 auto;
		font-size: 12px;
	}
	
.cv1{
	width: 500px;
}

	.box3{
	position: relative;
	margin: 2rem 0 2rem;
	height:220px;
}

	.scroll-infinity__item {
  width: calc(100vw / 5);/*画面に何個のアイテム（写真など）を表示させるか*/
	margin: 2rem 2rem 0 0;
}
	
}

@media screen and (min-width: 900px){
	.scroll-infinity__item {
  width: calc(100vw / 8);/*画面に何個のアイテム（写真など）を表示させるか*/
}
	
}

@media screen and (min-width: 1200px){
	.scroll-infinity__item {
  width: calc(100vw / 12);/*画面に何個のアイテム（写真など）を表示させるか*/
}
}
/*-----------------------------------------------
モーダルウィンドウ
-----------------------------------------------*/
#modal{
	display: none;
}

#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;
}

#close{
	text-align: center;
	color: #fff;
	cursor: pointer;
}

.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）*/
}

/*スクロールバー非表示（Chrome・Safari）*/
.modalwindowContents::-webkit-scrollbar{
	display:none;
}

.modalwindowContents .contentsTitle{
	padding-bottom: 8px;
	font-weight: bold;
	font-size: 2.6rem;
	text-align: center;
	color: #fff;
	border-bottom: 1px solid var(--borderColor-main);
}

.modalwindowContents .contentsTitle span{
	font-size: 1.4rem;
	display: block;
}

.modalwindowContents .icon{
	position: absolute;
	right: 4px;
	top: 4px;
	width: 32px;
	height: 32px;
	background-color: #6b6b6b;
	-webkit-mask-image: url('../img/svg-crossmark.svg');
	mask-image: url('../img/svg-crossmark.svg');
}

.modalwindowContents_inner{
	padding: 16px;
	text-align: center;
	background: #fff;
	border-radius: 8px;
}

.modalwindowContents_inner .QrCode{
	display: block;
	max-width: 280px;
	margin: 16px auto;
	border: 8px solid #f1f1f1;
}

.modalwindowContents_inner .lineRegistNote{
	padding: 16px;
	font-size: 1.3rem;
	text-align: left;
	color: #8f8f8f;
}
