#wrapper .contents{
	width:100%;
	margin:0 auto;
	overflow:hidden;
}
#wrapper .main{
	width:90%;
	max-width:1200px;
	margin:0 auto;
	overflow:hidden;
	padding:120px 0 80px 0;
}
.toReturn{
	width:100vw;
	height:100vh;
	position:fixed;
	position:relative;
}
.toReturnLogo{
	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
	width:30%;
}
.toReturnLogo img{
	width:100%;
	max-width:100%;
	margin:0 auto;
	height:auto;
}
.wrapper404{
	width:100%;
	padding:50px 0;
	overflow:hidden;
	text-align:center;
}
h2{
	font-family: "Montserrat", "Noto Sans JP", "Zen Kaku Gothic New", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", serif;
	letter-spacing:1rem;
	font-size:4rem;
	color:#099cd6;
	margin:0 auto 70px auto;
}
h3{
	font-size:2.1rem;
	margin:0 auto 20px auto;
	overflow:hidden;
}
.btn404{
	width:100%;
	max-width:480px;
	margin:70px auto 0 auto;
	overflow:hidden;
}
.btn404 a{
	display:block;
	width:100%;
	background:#099cd6;
	color:#fff;
	padding:15px 5%;
	box-sizing:border-box;
	border-radius:30px;
	-webkit-border-radius:30px;
	-moz-border-radius:30px;
	transition:.3s;
}
.btn404 a:hover{
	background:#0e4454;
}

@media screen and (max-width: 1000px) {
.toReturnLogo{
	width:50%;
}
}
@media screen and (max-width: 770px) {
#wrapper .main{
	padding:100px 0 60px 0;
}
.wrapper404{
	padding:40px 0;
}
h2{
	letter-spacing:0.8rem;
	font-size:3rem;
	color:#099cd6;
	margin:0 auto 50px auto;
}
h3{
	font-size:1.7rem;
}
.btn404 {
  margin: 60px auto 0 auto;
}
}
@media screen and (max-width: 640px) {
.toReturnLogo{
	width:70%;
}
.wrapper404{
	text-align:left;
}
}
@media screen and (max-width: 480px) {
h2{
	letter-spacing:0.5rem;
	font-size:2.6rem;
	margin:0 auto 30px auto;
}
h3{
	font-size:1.6rem;
}
.btn404 {
  	margin: 40px auto 0 auto;
	text-align:center;
}
}