@charset "UTF-8";
/* CSS Document */

body{ margin:0; }

@media screen and ( min-width:1025px ){
	.topclass-tab{ display: none;}
	.topclass-tab01{ display: none;}
	.topclass-tab02{ display: none;}
	.topclass-mb{display: none }

	.intro-tab {　display: none;}
	.intro-mb{　display: none;}
}
@media screen and ( max-width:1024px ) and ( min-width:641px ){
	.topclass-pc{ display: none; }
	.topclass-mb{display: none; }

	.intro-pc {display: none;}
	.intro-mb {display: none;}
}
@media screen and ( max-width:1024px ) and ( min-width:991px ){ .topclass-tab02{ display: none;} }
@media screen and ( max-width:990px ) and ( min-width:641px ){ .topclass-tab01{ display: none;} }
@media screen and ( max-width:640px ){
	.topclass-pc{ display: none; }
	.topclass-tab{ display: none;}
	.topclass-tab01{ display: none;}
	.topclass-tab02{ display: none;}

	.intro-pc {display: none;}
	.intro-tab {display: none;}
}
@media screen and ( max-width:990px ){ .topclass-pc-tab01{ display: none; } }

main{
	background-image: url(/images/top/background-top-pc.jpg);
	background-size: cover;
	display: block;
	margin-bottom:30px;
}
@media screen and ( max-width:1024px ){ main{ background-image: url(/images/top/background-top-mb.jpg); } }
@media screen and ( max-width:640px ){ main{ height: 650px; } }
@media screen and ( max-width:520px ){ main{ height: 540px; } }
@media screen and ( max-width:420px ){ main{ height: 500px; } }
@media screen and ( max-width:370px ){ main{ height: 480px; } }
@media screen and ( min-width:641px ){ main{ height: 550px; } }
@media screen and ( min-width:1025px ){ main{ height: 500px; } }

#parent{
	height: 100%;
	margin: 0 auto;
	position: relative;
	max-width: 1300px;
	width: 100%;
}
@media screen and ( min-width:768px ) and ( max-width:1259px ){
	#parent{
		margin: 0;
		max-width: 1000px;
		width: calc( 100% - 7rem );
	}
}

@media screen and ( min-width:641px ) and ( max-width:1024px ){ #parent{ padding-top: 20px; } }
@media screen and ( min-width:1025px ){ #parent{ padding-top: 60px; } }
@media screen and ( min-width:1260px ){ #parent{ margin: 0 auto; } }


#main_p{
  text-align: center;
  position: relative;
}

#top_icon,
#top_title,
#main_chai,
#name,
#info,
#l-map,
#top-access{ position: absolute; }
#top-access{
	background: rgba(255,255,255,0.6);
	font-weight: bold;
	padding: 20px;
}
#top-access > p{ line-height: 1.4; }
#main_chai{
	bottom: 0;
	left: 0;
}

/* スマホ */
@media screen and ( max-width:640px ){
	main {
		background-size: 400%;
		background-position: 70% 66%;
		background-repeat: no-repeat;

	}
	#top_icon{
		left: 0;
		top: 30px;
		width: 100%;
	}
	#top_title{
		left: 0;
		/* top: calc( 30px + 8% ); */
		width: 100%;

		top: calc( 20px + 2% );
	}
	#main_chai{
		/* width: 45%;
		max-width: 315px; */

		max-width: auto;
		width: 470px;/*80%*/
		left: auto;
		right: 0;
	}
	#name{
		left: 0;
		bottom: 40px;
	}
	#info{
		/* top: 35%;
		right: 5%;
		left: auto;
		max-width: 420px;
		width: 50%; */

		top: 21%;
		right: auto;
		left: 4%;
		max-width: 400px;
		width: 42%;
	}
	#l-map{
		right: 0px;
		bottom: 80px;
		width: 35%;
	}
	#top-access{
		right: 0;
		bottom: 10px;
		padding: 10px 20px;
		max-width:510px;
		width: 60%;
	}

@media screen and ( max-width:620px ){
	#main_chai{
		/* max-width: 255px;
		width: 50%; */
}
    #yokohama #top-access,
	#omiya #top-access{ bottom: 30px; }
		max-width: auto;
		width: 470px;/*80%*/
	}
	#info{ /* top: 32%; */ }
}
@media screen and ( max-width:540px ){
	#main_chai{
		/* width: 55%; */

		width: 95%;/*80%*/
	}
}
@media screen and ( max-width:520px ){
	#main_chai{
		width: 80%;
	}

	#info{
		max-width: 210px;
		width: 50%;
	}
}
@media screen and ( max-width:420px ){
	#main_chai{
		/* max-width: 240px;
		width: 60%; */

		width: 88%;
	}
	#name{
		max-width: 150px;
		width: 36%;
	}
	#info{ max-width: 190px; }
}
@media screen and ( max-width:375px ){
	#main_chai{
		width: 95%;
	}
}

@media screen and ( max-width:370px ){
	#main_chai{
		/* width: 70%; */

		width: 98%;
	}
}


/* タブレット */
@media screen and ( min-width:641px ) and ( max-width:1024px ){
	#top_icon{
		left: 5%;
		top: 20px;
		max-width: 200px;
		width: 27%;
	}
	#main_chai{
		/* width: 40%;
		max-width: 315px; */

		width: 490px;
		left: 1%;
	}
	#name{
		/* left: 0;
		bottom: 40px; */

		left: 6%;
		bottom: 0;
		top: 220px;
		width: 180px;
	}
	#top-access{
		right: 0;
		bottom: 10px;
		max-width:510px;
		width: 60%;
	}
}
@media screen and ( min-width:641px ) and ( max-width:990px ){
	#top_title{
		/* right: 10%;
		max-width: 450px;
		width: 60%; */

		left: 19%;
		max-width: auto;
		width: 580px;
	}
	#l-map{
		right: 0px;
		bottom: 80px;
		width: 35%;
	}
	#info{
		/* top: 40%;
		right: 0;
		left: auto;
		max-width: 420px;
		width: 50%; */

		width: 50%;
		z-index: 2;

		top: 26%;
		left: auto;
		right: 20px;
		max-width: 300px;
	}
}
@media screen and ( min-width:641px ) and ( max-width:833px ){
	#top_title{
		/* right: 5%; */

		right: auto;
		left: 13%;
	}
}
@media screen and ( min-width:641px ) and ( max-width:768px ){
	#top_icon{
		left: 2%;
		width: 30%;
	}
	#top_title{
		/* right: 2%; */

		top: 1%;
		right: 0;
		left: 0;
		margin: auto;
	}
	#main_chai{
		/* width: 45%; */

		width: 70%;
	}

	#info{
		top: 22%;
		max-width: 260px;
	}
}

/* PC */
@media screen and ( min-width:991px ){
	#top_title{
		/* left: 36%;
		max-width: 450px;
		width: 50%; */

		left: 200px;
		max-width: auto;
		width: 580px;
	}
	#info{
		/* top: 45%;
		left: 27%;
		max-width: 470px; */
		width: 50%;
		z-index: 2;

		top: 28%;
		left: auto;
		right: 20px;
		max-width: 300px;
	}
	#l-map{
		right: 0px;
		bottom: 100px;
		width: 40%;
		max-width: 350px;
		z-index: 1;
	}
}


@media screen and ( min-width:1025px ){
	#top_icon{
		left: 26%;
		max-width: 210px;
		width: 20%;
	}
	#top_title{
		/* left: 46%;
		max-width: 420px;
		width: 37%; */

		width: 60%;
		left: auto;/*500*/
		right: 0;
		max-width: 480px;
		top: 30px;
	}
	#main_chai{
		/* width: 30%;
		max-width: 329px; */

		width: 520px;
	}
	#name{
		/* left: 1%;
		bottom: 40px; */

		left: 3%;
		bottom: 0;
		top: 180px;
		width: 180px;
	}
	#info{
		/* top: 48%;
		left: 30%;
		max-width: 520px; */
		/* width: 45%; */
		z-index: auto;

		top: 50%;
		left: auto;/*505px*/
		right: -30px;
		max-width: 510px;
		width: 510px;
	}
	#l-map{
		right: 0px;
		bottom: 80px;
		width: 35%;
		z-index: auto;
	}
	#top-access{
		right: 0;
		bottom: 10px;
		max-width:510px;
		width: 50%;
	}
}
@media screen and ( min-width:1260px ){
	#top_icon{
		left: 23%;
		max-width: none;
		width: auto;
	}
	#top_title{
		/* left: calc( 23% + 230px ); */
		/* max-width: 490px; */
		width: 60%;

		/* left: calc( 23% + 280px ); */
		left: 510px;
		max-width: 480px;
		top: 30px;
	}
	#info{
		/* top: 53%; */
		/* left: 350px; */
		/* max-width: 600px; */
		width: 60%;

		top: 50%;
		left: 500px;
		max-width: 510px;
	}
	#l-map{
		top: 130px;
		right: 0;
		bottom: 20px;
		width: auto;
	}
	#top-access{ right: 0; }
		.intro-tab {　display: none;}
	.intro-mb{　display: none;}
}


#l-map {
	display: none;
}