.visual{
	width: 100vw;
    height: 100vh;
    min-height: 100vh;
	z-index: -1;
	margin:0;
	background-image: url("../images/mainvis_pc_1.webp");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	}
.contents {
	width: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	}
.contents h1{	
	margin: 0 auto;
	width: 30%;
	}
.contents h2{
	font-family: "adobe-garamond-pro", "century-gothic", "游明朝", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", serif;
	margin: 0.5em auto 0em;
	font-size: 3.3em;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-align: center;
	line-height: 1.6em;
	color: #fff;
	}
.contents .tx{
	font-size: 1.3rem;
	margin: 1.5em auto 0em;
	letter-spacing: 0.1em;
	line-height: 2.3em;
	text-align: center;
	color: #fff;
	}
.contents .tx2{
	font-size: 0.9rem;
	margin: 3em auto 0em;
	letter-spacing: 0.1em;
	line-height: 2.3em;
	text-align: center;
	color: #fff;
	}

/*-------------------------------------------------------------------------- iPad ---*/
@media screen and (max-width : 1180px)  {	
	.visual{
	width: 100vw;
	height:100vh;
	}
}

/*-------------------------------------------------------------------- SP ---*/
@media screen and (max-width : 768px)  {
	.visual{
	width: 100vw;
	height:100vh;
	background-image: url("../images/mainvis_sp_1.webp");
	}
	.contents {
	width: 90%;
	}
	.contents h1{	
	margin: 0 auto;
	width: 65%;
	}
	.contents h2{
	margin: 1em auto 0em;
	font-size: 1.15em;
	font-weight: 400;
	letter-spacing: 0.07em;
	text-align: center;
	line-height: 1.7em;
	color: #fff;
	}
	.contents .tx{
	font-size: 0.85rem;
	margin: 1.8em auto 0em;
	letter-spacing: 0.05em;
	line-height: 2.2em;
	text-align: center;
	color: #fff;
	}
	.contents .tx2{
	font-size: 0.65rem;
	margin: 4em auto 0em;
	letter-spacing: 0.07em;
	line-height: 2.2em;
	text-align: center;
	color: #fff;
	}
}
