@charset "UTF-8";

html{
	font-size:62.5%;
}

p, ul li, a{
	font-family: 'Noto Sans JP', sans-serif;
}

h1{
	font-family: 'Roboto Condensed', sans-serif;
	font-size:5rem;
	letter-spacing:2px;	
	color:#662d91;
}

h5{
	font-family: 'Roboto Condensed', sans-serif;
	color:#5c4270;
}

.big-wrapper{
	width:100%;
}

.top-caption, .end-caption{
	width:800px;
	margin:30px auto;
	padding:40px 0;
	box-sizing: border-box;
}

.top-caption p, .flex-cap p, .end-caption p{
	font-size:1.3rem;
}

.first-wrapper{
	box-sizing: border-box;
}

.bg-style{
	wodth:100%;
	box-sizing: border-box;
	padding:40px;
}

.grey{
	background-color:#dfdfdf;
}

.style-wrapper{
	width:900px;
	margin:30px auto;
	padding:40px 0;
	box-sizing: border-box;
	display:flex;
	height: auto;
	align-items:center;
	justify-content: space-between;
}

.flex-img{
	width:53%;
}

.flex-img img{
	margin-top:30px;
}

.flex-cap{
	width:44%;
}

.flex-cap:nth-of-type(2){
	margin-top:80px;
}

.flex-cap p{
	margin-bottom:40px;
}

.back_button_nepe{
	width:240px;
	padding:10px 5px;
	text-align: center;
}

.back_button_nepe{
	background-color:#662d91;
}


.back_button_nepe:hover{
	background-color:#a381bd;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.jiko_soto{
	background-color:#f8f8f8;
}

/* タブレット */
@media screen and (max-width: 768px){

	.style-wrapper{
		width:600px;
		display:block;
	}
	
	.flex-img{
		width:500px;
		margin:auto;
	}
	
	.flex-cap{
		width:100%;
	}
	
	.flex-cap:nth-of-type(2){
		margin-top:30px;
	}
		
	.top-caption, .end-caption{
		width:600px;
	}
	
	.end-caption{
		padding-top:20px;
	}
	
	.second-wrapper{
		padding-bottom:40px;
		margin-bottom:60px;
	}
	
	.second-wrapper .big_button a{
		margin:30px auto;
	}
	
	.jiko_soto{
		padding-bottom:30px;
	}

}

/* スマホ */
@media screen and (max-width:640px){
	.style-wrapper{
		width:350px;
		padding:15px;
		box-sizing: border-box;
	}
	
	h1{
		font-size:4.5rem;
	}
	
	.bg-style{
		padding:20px 0;
	}
	
	.flex-img{
		width:100%;
	}
	
	.top-caption, .end-caption{
		width:320px!important;
	}
	
	.second-wrapper .back{
		font-size:1.2rem;
	}
	
	.jiko_soto{
		padding-bottom:0;
	}
}

/* CSS Document */

