@charset "utf-8";
/* CSS Document */

body{
	margin: 0;
}

.wrapper{
	max-width: 1000px;
	width: 100%;
	margin: 0 auto 3%;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

.wrapper img{
	display: block;
	line-height: 0;
}

.flex{
	margin: 10% auto;
	width: 90%;
}

.box, .box2{
	margin: 0 auto 20%;
}

.style{
	position: relative;
}

.first_img{
	width: 60%;
	position: relative;
}

.second_img{
	width: 60%;
	margin-left: 40%;
	margin-top: -40%;
}

.background_square{
	 width: 300px;
	 height: 400px;
	 border: solid 1px #f9aa23;
	 position: absolute;
	 top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 z-index: -1;
}

.background_square2{
	 width: 300px;
	 height: 400px;
	 border: solid 1px #b43750;
	 position: absolute;
	 top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 z-index: -1;
}

.credit{
	margin: 10% auto;
}

.credit a{
	display: block;
	text-decoration: none;
	color: #000;
	font-size: 13px;
	line-height: 1.7;
	margin-bottom: 2%;
	position: relative;
}

.credit .cs{
	line-height: 2;
}

.credit a:after{
	content: 'BUY';
	background-color: #000;
	color: #fff;
	padding: 0 2%;
	position: absolute;
	right: 0;
	width: 80px;
	text-align: center;
}

.credit .cs:after{
	content: 'COMING SOON';
	white-space: nowrap;
	font-size: 11px;
}


.slide{
	position: relative;
	width: 100%;
	overflow: inherit;
}

.slide img {
	animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-name: slideshow2; 
    animation-timing-function: ease; 
    opacity: 0;
}


.slide img:nth-child(2){
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: auto;
}

.slide img:nth-child(1){
	animation-delay: 0s;
	}

.slide img:nth-child(2){
	animation-delay: 3s;
}


@keyframes slideshow2 {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.foot{
	width: 100%;
	margin: 10% auto;
}

.foot .foot_img{
	width: 50%;
	margin: 0 auto;
}

.foot .foot_flex{
	display: flex;
	column-gap: 10px;
	justify-content: center;
	align-items: center;
	margin: 5% auto
}

.foot .foot_flex p{
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.icon{
	width: 10%;
}

.foot p{
	text-align:center;
	font-size: 13px;
	line-height: 1.8;
	margin: 5% auto;
}

@media(min-width:750px){

.flex{
	display: flex;
	width: 100%;
	column-gap: 100px;
	justify-content: center;
	margin: 5% auto
}
	
	.column_gap30{
		column-gap: 30px;
	}
	
.box, .box2{
	margin:0 auto;
}

.credit{
	margin: 10% auto 5%;
	width: 80%;
}

.credit a{
	font-size: 12px;
}

.box2 .credit{
	width: 100%;
}

.foot{
	width: 90%;
	margin: 10% auto;
}

.foot .foot_img{
	width: 30%;
	margin: 0;
}

.foot .foot_flex{
	justify-content: flex-start;
}

.icon{
	width: 7%;
}

.foot p{
	text-align:left;
}

	.flex_align_center{
		align-items: center;
	}
}








