@charset "UTF-8";
/* CSS Document */

#box_town div.box_ttl.btm {
	text-align: center;
	padding-bottom: 80px;
}

div.box_ttl.btm h4 {
	font-size: 2.8rem;
	color: #93283c;
	text-align: center;
	font-weight: 300;
}

div.box_ttl.btm p {
	width: 61em;
	font-size: 1.8rem;
	line-height: 1.6;
	margin: 1em auto 0;
}

/*  */

div.box_map div.box_ttl {
	height: 118px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

div.box_map div.box_ttl::before {
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 15px 34px 15px;
	border-color: transparent transparent #fff transparent;
	position: absolute;
	right: 5.6em;
	bottom: -1px;
}

#map_iruma.box_map div.box_ttl::before {
	right: 16em;
}

div.box_map div.box_ttl p {
	background-color: #b35760;
	color: #fff;
	display: inline-block;
	font-size: 2.2rem;
	padding: 0.6em 2.6em 2em 1.8em;
	line-height: 1.4;
	transform: rotate(7deg);
	position: relative;
	z-index: -1;
	left: 90px;
	top: 20px;
	white-space: nowrap;
}

#map_iruma.box_map div.box_ttl p {
	left: 260px;
}

/*  */

div.box_map h3 {
	font-size: 4.0rem;
	color: #0965a9;
	font-weight: 400;
	display: flex;
	justify-content: center;
	align-items: center;
	order: 2;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.05em;
	padding-top: 0.2em;
}

div.box_map.hide div.wrapper:hover,
div.box_map.hide h3:hover {
	cursor: pointer;
}

div.box_map h3 br {
	display: none;
}

div.box_map h3 span {
	font-size: 0.4em;
	margin-right: 0.6em;
	letter-spacing: 0.01em;
}

#map_iruma h3 {
	font-size: 3.2rem;
	flex-direction: column;
	align-items: flex-end;
	margin-left: auto;
}

#map_iruma h3 span {
	order: 2;
	font-size: 0.5em;
	margin-top: 0.6em;
	margin-right: 0.2em;
}

/*  */

.box_sttl {
	position: absolute;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	top: -150px;
	left: -100px;
}

.box_sttl h4 {
	width: 206px;
	height: auto;
	position: relative;
	z-index: 9;
}

.box_sttl .icon_toko_ekimachi {
	width: 230px;
	height: auto;
	position: relative;
	z-index: 8;
	top: 0;
	left: 256px;
}

#map_iruma .box_sttl .icon_toko_ekimachi {
	width: 180px;
	top: -20px;
	left: 240px;
}

#map_iruma .box_sttl {
	left: 80px;
}

/*  */

div.box_map p.note {
	color: #93283c;
	font-size: 1.8rem;
	background-color: #fff;
	border-radius: 2.7em;
	display: inline-block;
	text-align: center;
	padding: 1em 1.6em;
	line-height: 1.4;
	font-weight: 600;
	position: absolute;
	left: 300px;
	top: 60px;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.05em;
}

#map_tokorozawa p.note {
	left: 470px;
	top: 36px;
}


#st_map_wrap {
	display: flex;
	flex-direction: column;
}

div.box_map {
	clear: both;
	padding: 0;
	z-index: 0;
	width: 1066px;
	transition: all 0.1s ease-in;

	position: absolute;
}

#map_tokorozawa {
	margin-left: auto;
	right: 0;
}

#map_iruma {
	margin-right: auto;
	left: 0;
}

/*  */

div.box_map div.wrapper {
	background-color: #c8eff4;
	position: relative;
	width: 100%;
	height: auto;
	margin: 0 auto 0;
	padding: 60px 24px 30px;
	border: #fff solid 8px;
	border-radius: 30px;
	z-index: 10;
	box-shadow: 4px 20px 30px 0px rgba(17, 17, 17, 0.1);
	order: 1;
}

#map_iruma.box_map div.wrapper {
	padding-top: 0;
	padding-bottom: 30px;
}

div.box_map .bg_map {
	width: 100%;
	position: relative;
	z-index: 0;
	overflow: hidden;
}

div.box_map .bg_map img {
	width: 100%;
	height: auto;
	position: relative;
	margin: 0;
}

/*  */

div.box_map.hide {
	position: absolute;
	order: 2;
	z-index: -1;
	bottom: 0;
	margin-top: auto;
	transform: scale(0.78);
}

#map_iruma.hide {
	left: -90px;
	top: 150px;
}

#map_tokorozawa.hide {
	top: 170px;
	right: -90px;
}

div.box_map.hide div.wrapper {
	/* overflow: hidden; */
	box-shadow: none;
}

div.box_map.hide div.wrapper {
	border-color: #e6eff6;
}

div.box_map.hide div.wrapper::before {
	content: '';
	display: block;
	width: calc(100% + 16px);
	height: calc(100% + 16px);
	background-color: #0965a9;
	border-radius: 30px;
	position: absolute;
	bottom: -8px;
	left: -8px;
	z-index: 10;
	opacity: 0.2;

	width: 100%;
	height: 100%;
	bottom: 0;
	left: 0;
}

div.box_map.hide ul {
	z-index: 1;
}

div.box_map.hide div.box_ttl {
	align-items: flex-start;
	height: 160px;
}

#map_tokorozawa.hide div.box_ttl {
	justify-content: flex-end;
	height: 100px;
	margin-right: 30px;
}

div.box_map.hide div.box_ttl p,
div.box_map.hide .box_sttl {
	display: none;
}

div.box_map.hide div.box_ttl::before {
	border-color: transparent transparent #e6eff6 transparent;
}

#map_tokorozawa.hide h3 {
	font-size: 2.2em;
	font-weight: 300;
	flex-direction: column;
	text-align: left;
	align-items: flex-start;
}

#map_tokorozawa.hide h3 span {
	order: 2;
	margin-top: 0.6em;
}

#map_iruma.hide h3 {
	font-size: 2.2em;
	align-items: flex-start;
	margin-left: 0;
	line-height: 1.4;
	padding-left: 1.6em;
	text-indent: -1.6em;
	font-weight: 300;
}

#map_iruma.hide h3 br {
	display: block;
	margin-left: 2em;
}

#map_iruma.hide h3 span {
	margin-left: 3.2em;
	margin-top: 0.2em;
}

#map_iruma.hide div.box_ttl::before {
	right: auto;
	left: 3em;
}

/*  */

p.btn_zoom {
	width: 122px;
	height: auto;
	position: absolute;
	display: block;
	z-index: 99;
	bottom: -20px;
}

p.btn_zoom a {
	transition: 0.3s;
	position: relative;
}

p.btn_zoom a::before {
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 18px 30px 18px 0;
	border-color: transparent #fff transparent transparent;
	position: absolute;
	right: -16px;
	top: 30px;
}

#map_iruma p.btn_zoom a::before {
	right: auto;
	left: -34px;
	border-width: 18px 0 18px 30px;
	border-color: transparent transparent transparent #fff;
}

p.btn_zoom a:hover {
	/* transform: translate(0, -12px); */
	transform: scale(1.1);
	opacity: 1;
}

div.box_map.hide p.btn_zoom {
	display: none;
}

#map_tokorozawa p.btn_zoom {
	left: -240px;
}

#map_iruma p.btn_zoom {
	right: -240px;
}


p.btn_zoom a {
	display: block;
}

/*  */

div.box_map ul {
	position: absolute;
	top: 24px;
	left: -04px;
	width: 100%;
	height: 0;
	z-index: 100;
}


div.box_map ul li {
	display: inline-block;
	position: absolute;
	height: 60px;
	width: auto;
	left: 50%;
	transform-origin: 50% 50%;
}

div.box_map ul li a {
	display: inline-block;
	height: 100%;
	position: relative;
	z-index: 0;
}

div.box_map ul li a img {
	height: 100%;
	width: auto;
}

div.box_map ul li a:hover {
	opacity: 1;
	transition: 0.3s;
	transform: scale(1.2, 1.2);
	cursor: pointer;
}

/*  */

div.box_map ul li#tokrozawa {
	top: 240px;
	left: 55.5%;
	height: 74px;
}

div.box_map ul li#kokukoen {
	top: 160px;
	left: 45%;
}

div.box_map ul li#shin_tokorozawa {
	top: 126px;
	left: 28%;
}

div.box_map ul li#nishi_tokorozawa {
	top: 290px;
	left: 45%;
}

div.box_map ul li#kotesashi {
	top: 255px;
	left: 23.5%;
}

div.box_map ul li#sayamagaoka {
	top: 216px;
	left: 8%;
}

div.box_map ul li#shimoyamaguchi {
	top: 355px;
	left: 30.2%;
}

div.box_map ul li#seibukyujo {
	top: 475px;
	left: 17%;
}

div.box_map ul li#yuenchi_nishi {
	top: 535px;
	left: 41%;
}

div.box_map ul li#higashi_tokorozawa {
	top: 125px;
	left: 77%;
}

div.box_map ul li#akitsu {
	top: 240px;
	left: 78%;
}


div.box_map ul li#shin_akitsu {
	top: 310px;
	left: 71%;
}

/*  */

/* 新狭山 */
div.box_map ul li#shin-sayama {
	top: 68px;
	left: 87%;
}

/* 狭山市 */
div.box_map ul li#sayamashi {
	top: 150px;
	left: 75%;
}

/* 入曽 */
div.box_map ul li#iriso {
	top: 408px;
	left: 79%;
}

/* 武蔵藤沢 */
div.box_map ul li#musashi-fujisawa {
	top: 470px;
	left: 69%;
}

/* 稲荷山公園 */
div.box_map ul li#inariyama-koen {
	top: 230px;
	left: 61%;
}

/* 入間市 */
div.box_map ul li#irumashi {
	top: 290px;
	left: 51%;
}

/* 仏子 */
div.box_map ul li#bushi {
	top: 316px;
	left: 38%;
}

/* 元加治 */
div.box_map ul li#motokaji {
	top: 300px;
	left: 26%;
}

/* 飯能 */
div.box_map ul li#hanno {
	top: 228px;
	left: 2%;
}

/* 東飯能 */
div.box_map ul li#higashi-hanno {
	top: 146px;
	left: 15%;
}

/* 金子 */
div.box_map ul li#kaneko {
	top: 548px;
	left: 16%;
}

/*  */

@media screen and (max-width: 599px) {

	/* eki-machi */
	section#box_town {
		position: relative;
		z-index: 0;
		overflow: hidden;
	}

	section#box_town>.inner {
		position: relative;
		z-index: 10;
		padding-bottom: 120px;
	}


	#box_town div.box_ttl {
		flex-wrap: wrap;
		width: 90vw;
		align-items: flex-start;
		margin: 0 auto;
	}

	#box_town div.box_ttl p:first-child {
		text-align: right;
		margin: 0;
		margin-bottom: 24px;
		z-index: 30;
	}

	#box_town div.box_ttl p:first-child img {
		max-width: 75vw;
		height: 70px;
		width: auto;
	}

	#box_town div.box_ttl h2 {
		width: 50%;
		height: auto;
		padding-top: 0;
		padding-bottom: 12px;
		padding-left: 0;
	}

	#box_town div.box_ttl h2 img {
		width: auto;
		height: calc(100vw * 0.45);
		position: relative;
		margin-top: -8px;
		max-height: 205px;
	}


	#box_town div.box_ttl p.txt {
		margin: 0;
		padding: 0;
		width: 50%;
		line-height: 1.70;
		margin-left: auto;
		margin-right: auto;
		font-size: 1.4rem;
		padding-bottom: calc(100vw * 0.1);
	}

	#box_town div.box_ttl #img_toko_ekimachi {
		width: 178px;
		height: auto;
		position: absolute;
		bottom: 0;
		left: -186px;
	}


	#box_town p.guide {
		text-align: center;
		display: block;
		margin-top: 2em;
		background-color: #af535e;
		width: 85vw;
		font-size: 4.1vw;
		margin: 24px auto 0 auto;
		padding: 0.6em 0.5em 0.5em 1em;
		color: #fff;
		line-height: 1;
		border-radius: 16px;
	}

	div.box_map {
		margin-top: 0;
		/* width: 1120px; */
	}


	div.box_map .bg_map img {
		margin-top: 12px;
	}

	/* 2023 */

	body.show_map .custom_floating1,
	body.show_map div#base_sp_menu,
	#box_town div.box_ttl,
	section#box_town>.inner {
		display: none;
	}

	section#box_town {
		width: 100%;
		padding-top: 20vw;
	}

	section#box_town::before {
		width: 100%;
		height: 12vw;
		background-size: 300vw auto;
		/* left: 0;
		top: 0;
		background-size: 400% auto;
		background-position: 0 0; */
	}

	#box_map_sp {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		padding-bottom: 10vw;
	}

	#eki-machi #box_map_sp {
		padding-bottom: 0;
	}

	#box_map_sp .box_sttl {
		position: relative;
		flex-direction: column;
		width: 100%;
		top: 0;
		left: 0;
	}

	#box_map_sp .box_sttl h4 {
		width: 44vw;
		height: auto;
	}

	#box_map_sp .box_sttl h5 {
		background-color: #b35760;
		color: #fff;
		display: inline-block;
		font-size: 5vw;
		/* 16px */
		font-weight: 400;
		padding: 1.2em 1.0em 1.4em 2.8em;
		line-height: 1.4;
		transform: rotate(7deg);
		position: relative;
		z-index: -1;
		left: -20vw;
		top: -1em;
		white-space: nowrap;
	}

	#box_map_sp .icon_toko_ekimachi {
		position: absolute;
		width: 52vw;
		top: 54vw;
		left: auto;
		right: -3vw;
		margin-left: auto;
	}

	#box_map_sp p.note {
		color: #93283c;
		font-size: 4.0625vw;
		/* 13px */
		background-color: #fff;
		border-radius: 2.7em;
		display: block;
		text-align: center;
		padding: 1.2em 1.4em 1.1em;
		line-height: 1.4;
		font-weight: 400;
		font-feature-settings: "palt" 1;
		letter-spacing: 0.05em;
	}

	/*  */

	#btns_sp {
		width: 100%;
		margin-top: 4vw;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-direction: column;
	}

	#btns_sp li {
		margin-bottom: 0vw;
	}

	#btns_sp li:nth-child(1) {
		margin-left: auto;
	}

	#btns_sp li:nth-child(2) {
		margin-right: auto;
	}

	#btns_sp li a {
		display: block;
		width: 96vw;
	}

	/* map layer show_map */

	body.show_map {}

	body.show_map section#box_town>.inner {
		display: block;
		position: fixed;
		inset: 0;
		margin: auto;
		padding-bottom: 0;
		padding-top: 0;
		z-index: 999;

		width: 100vw;
		height: 100vh;
		background-color: #22222264;
	}


	body.show_map section#box_town,
	body.show_map #main_content,
	body.show_map #main_content main,
	body.show_map #header_global {
		position: static;
	}

	div.box_map.hide,
	p.btn_zoom,
	div.box_map p.note,
	.box_sttl {
		display: none;
	}

	#st_map_wrap {
		position: fixed;
		inset: 0;
		margin: auto;
		width: 100vw;
		margin-top: 10vh;
		/* height: 74vh; */
		/* height: auto; */
		z-index: 99999;
		/* overflow: hidden; */
	}

	#st_map_wrap::before {
		content: '左右にスクロール';
		display: block;
		font-size: 5vw;
		/* 16px */
		width: 12em;
		text-align: center;
		color: #93283c;
		position: absolute;
		top: -1.0em;
		background-color: #fff;
		left: calc(50% - 6em);
		padding: 0.6em 1em;
		line-height: 1;
		border-radius: 1.8em;
		z-index: 9999999;
	}

	#warp_map {
		width: 100vw;
		overflow-x: scroll;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		position: relative;
	}

	div.box_map {
		/* background-color: #c8eff4;
		border-top: #fff solid 2vw;
		border-bottom: #fff solid 2vw; */
		background-color: #c8eff4;
		border: #fff solid 2vw;
		border-left: none;
		border-right: none;
		border-radius: 0;
		width: 190vw;
		position: relative;
		padding: 0 0;

		z-index: 9999;
		/* overflow-x: scroll; */
	}

	#map_tokorozawa {
		margin-left: 0;
	}

	div.box_map div.wrapper {
		padding: 4vw 4vw;
		border-radius: 0;
		box-shadow: none;
		margin-top: 0;
		border: none;

	}

	#map_iruma.box_map div.wrapper {
		padding-top: 0;
		padding-bottom: 2vw;
	}

	div.box_map .bg_map img {
		margin-top: 0;
	}

	/*  */

	#map_iruma {
		margin-left: 0;
	}


	/*  */

	div.box_map ul li {
		height: 11vw;
	}

	div.box_map ul li#tokrozawa {
		top: 35vw;
		left: 56%;
		height: 12vw;
	}

	div.box_map ul li#kokukoen {
		top: 20vw;
		left: 46%;
	}

	div.box_map ul li#shin_tokorozawa {
		top: 16vw;
		left: 27%;
	}

	div.box_map ul li#nishi_tokorozawa {
		top: 43vw;
		left: 45%;
	}

	div.box_map ul li#kotesashi {
		top: 37vw;
		left: 23.5%;
	}

	div.box_map ul li#sayamagaoka {
		top: 29vw;
		left: 8%;
	}

	div.box_map ul li#shimoyamaguchi {
		top: 58vw;
		left: 30.2%;
	}

	div.box_map ul li#seibukyujo {
		top: 78vw;
		left: 17%;
	}

	div.box_map ul li#yuenchi_nishi {
		top: 88vw;
		left: 41%;
	}

	div.box_map ul li#higashi_tokorozawa {
		top: 15vw;
		left: 78%;
	}

	div.box_map ul li#akitsu {
		top: 33vw;
		left: 78%;
	}


	div.box_map ul li#shin_akitsu {
		top: 46vw;
		left: 72%;
	}

	/*  */

	/* 新狭山 */
	div.box_map ul li#shin-sayama {
		top: 10vw;
		left: 88%;
	}

	/* 狭山市 */
	div.box_map ul li#sayamashi {
		top: 26vw;
		left: 76%;
	}

	/* 入曽 */
	div.box_map ul li#iriso {
		top: 70vw;
		left: 79%;
	}

	/* 武蔵藤沢 */
	div.box_map ul li#musashi-fujisawa {
		top: 83vw;
		left: 69%;
	}

	/* 稲荷山公園 */
	div.box_map ul li#inariyama-koen {
		top: 41vw;
		left: 62%;
	}

	/* 入間市 */
	div.box_map ul li#irumashi {
		top: 51vw;
		left: 51%;
	}

	/* 仏子 */
	div.box_map ul li#bushi {
		top: 57vw;
		left: 39%;
	}

	/* 元加治 */
	div.box_map ul li#motokaji {
		top: 54vw;
		left: 26%;
	}

	/* 飯能 */
	div.box_map ul li#hanno {
		top: 40vw;
		left: 1%;
	}

	/* 東飯能 */
	div.box_map ul li#higashi-hanno {
		top: 24vw;
		left: 15%;
	}

	/* 金子 */
	div.box_map ul li#kaneko {
		top: 98vw;
		left: 17%;
	}

	/*  */

	#tab_map {
		width: 100vw;
		/* background-color: #fff; */
		display: flex;
		justify-content: center;
		align-items: flex-start;
		border-top: #fff solid 1vw;
	}

	#tab_map li {
		width: 50%;
		background-color: #e5e5e5;
	}

	#tab_map li.active {
		background-color: #fff;
	}

	#tab_map li a {
		color: #0965a9;
		display: block;
		text-align: center;
		font-size: 4.375vw;
		/* 14px */
		font-size: 4.6875vw;
		/* 15px */
		line-height: 1.3;

	}

	#tab_map li:nth-child(2) a span {
		font-size: 0.96em;
		margin-left: 0.1em;
	}

	#tab_map li:nth-child(1) a {
		padding: 0.5em 0;
	}

	#tab_map li:nth-child(2) a {
		padding: 1.0em 0;
	}

	#tab_map li.active:nth-child(1) {
		border-radius: 0 0 3vw 0;
	}

	#tab_map li.active:nth-child(2) {
		border-radius: 0 0 0 3vw;
	}

	#tab_map li.active:nth-child(1) a {
		padding: 0.6em 0;
	}

	#tab_map li.active:nth-child(2) a {
		padding: 1.5em 0;
	}

	/* 閉じる */
	#btn_close {
		position: fixed;
		top: 4vw;
		right: 4vw;
		display: none;
	}

	body.show_map #btn_close {
		display: block;
	}

	#btn_close a {
		display: block;
		width: 10vw;
		height: 10vw;
	}

	/*  */

}

/*  */