@charset "UTF-8";

.map-accessible-info {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

:is(#bousai, #info, #teikan, #houshin, #nyuukai, #soshiki, #shinbol, #activity, #haken, #access) {
	margin-top: -170px;
	padding-top: 170px;
}

#title {
	padding: 20px 0 0 0;
}

h3 {
	padding: 10px 0 10px 20px;
	border-radius: 4px;
	font-size: 1.8em;
}

#toppage {
	h2 {
		color: #000;
		background-color: transparent;
		font-size: 1.8em;
		text-align: center;
	}

	ul {
		padding: 0;
		list-style-type: none;
		font-size: 1.6em;

		li {
			position: relative;
			padding: 0.5em 1em 0 2.3em;
			margin-bottom: 5px;
			border-bottom: 1px solid rgba(113, 59, 135, 1);

			&::after,
			&::before {
				position: absolute;
				content: '';
				border-radius: 50%;
				display: flex;
				justify-content: center;
				align-items: center;
			}

			&::before {
				left: 0;
				width: 17px;
				height: 17px;
				background-color: #713b87;
			}

			&::after {
				top: 1em;
				left: 0.5em;
				width: 14px;
				height: 14px;
				background-color: #c39bd3;
			}
		}
	}
}

:is(#toppage-news h2, #activity h4, #haken h4) {

	position: relative;
	font-size: 1.6em;
	line-height: 1.4;
	padding: 0.25em 1em;
	display: inline-block;
	left: 3em;
	transform: translate(-50%);

	&::before,
	&::after {
		position: absolute;
		content: '';
		display: inline-block;
		width: 20px;
		height: 30px;
	}

	&::before {
		border-left: 3px solid #713b87;
		border-top: 3px solid #713b87;
		top: 0;
		left: 0;
	}

	&::after {
		border-right: 3px solid #713b87;
		border-bottom: 3px solid #713b87;
		right: 0;
		bottom: 0;
	}
}

:is(#toppage-news) {
	dl {
		font-size: 1.4em;
		clear: both;
		margin-bottom: 1em;
	}

	dd {
		border-top: 1px solid #713b87;
		left: 0em;
	}

	dt {
		float: left;
		line-height: 1.8;
		padding-left: .5em;
	}

	dd {
		padding-left: 26em;
		line-height: 1.8;
		position: relative;
	}

	dd:last-child::after {
		content: "";
		position: absolute;
		width: calc(100%);
		border-top: 1px solid #713b87;
		margin-top: 1.8em;
		left: 0em;
	}
}

:is(#activity, #circle) {
	dl {
		font-size: 1.4em;
		clear: both;
		margin-bottom: 1em;
	}

	dd {
		border-top: 1px solid #713b87;
		left: 0em;
	}

	dt {
		float: left;
		line-height: 1.8;
		padding-left: .5em;
	}

	dd {
		position: relative;
		padding-left: 10em;
		line-height: 1.8;
	}

	dd:last-child::after {
		content: "";
		position: absolute;
		width: calc(100%);
		border-top: 1px solid #713b87;
		margin-top: 1.8em;
		left: 0em;
	}
}

#toppage img {
	margin: 0 auto;
}

:is(.tel, #toppage, #teikan, #houshin, #nyuukai, #soshiki, #haken, #circle) a {
	text-decoration: none;
	color: #713b87;
	background-color: #fff;

	&:hover {
		color: #00f;
		background-color: transparent;
	}
}

#map_canvas {
	width: 100%;
	height: 300px;
}

:is() h4 {
	padding: 0.25em 0.5em;
	color: #000;
	background-color: transparent;
	border-left: 5px solid #713b87;
}

:is(#haken-naiyou) {
	ul {
		padding: 0;
		list-style-type: none;
		font-size: 1.4em;

		li {
			position: relative;
			padding-left: 2em;
		}

		li::before {
			position: absolute;
			top: 1em;
			left: 1em;
			font: var(--fa-font-solid);
			content: "\f111" / "";
			font-size: 0.5em;
		}
	}

	ul.kome {
		position: relative;
		padding: 0;
		list-style-type: none;
		font-size: 1.4em;

		li {
			position: relative;
			padding-left: 1em;

			&::before {
				content: "※" / "";
				position: absolute;
				top: 0.25em;
				left: 0;
				font-size: 1em;
				color: #000;
				background-color: transparent;
			}
		}
	}
}

:is(#haken) ul.kome {
	position: relative;
	padding: 0;
	list-style-type: none;
	font-size: 1.4em;

	li {
		position: relative;
		padding-left: 2em;

		&::before {
			content: "※" / "";
			position: absolute;
			top: 0;
			left: 0.5em;
			font-size: 1em;
			color: #000;
			background-color: transparent;
		}
	}
}

#bottom p span {
	display: block;
	margin-left: 5em;
}

#haken ol {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: number;
	font-size: 1.4em;

	li {
		position: relative;
		line-height: 1.8;
		padding: 0.5em 0.5em 0.5em 2.5em;

		&::before {
			counter-increment: number;
			content: counter(number);
			display: flex;
			align-items: center;
			justify-content: center;
			position: absolute;
			top: 1.25em;
			left: 0.5em;
			transform: translateY(-50%);
			width: 30px;
			height: 30px;
			border: 1px solid #000;
			border-radius: 50%;
			color: #000;
			background-color: transparent;
			font-size: 1em;
			line-height: 1;
		}
	}
}

/* 
:is(#toppage-news, #toppage, #info, #teikan, #houshin, #nyuukai, #soshiki, #shibol, #activity, #haken, #access) */

/*  PC  */
@media screen and (min-width: 1200px) {
	.navbar-inverse {
		.tel {
			left: 70%;
			text-align: left;

			p {
				line-height: 1.2;
			}
		}

		.navbar-nav {
			margin-top: 135px;
		}
	}

	:is(#topimage, #title) {
		margin-top: 100px;
	}

	#topimage {
		position: relative;
		height: 425px;
		color: #000;
		background-color: #fff;
		margin-bottom: 30px;
		color: #000000;
		background-image: url('../jpeg/topimage.jpg');
		background-repeat: no-repeat;
		background-size: 100%;
		background-color: #cbdace;

		h2 {
			position: absolute;
			top: 45px;
			left: 58%;
			font-size: 3.8em;
		}
	}
}

/*  TB	*/
@media screen and (min-width: 768px) and (max-width: 1200px) {
	.container>.navbar-header {
		position: relative;
		height: 141px;
	}

	.navbar-inverse {
		.navbar-brand img {
			max-width: 250px;
			height: auto;
			margin: 0;
		}

		.tel {
			left: 65%;
			text-align: left;

			p {
				line-height: 1.2;
			}
		}

		.navbar-nav {
			margin-top: 20px;
		}
	}

	.navbar-toggle {
		top: 95px;
	}

	:is(#topimage, #title) {
		margin-top: 62px;
	}

	#topimage {
		position: relative;
		height: 425px;
		color: #000;
		background-color: #fff;
		margin-bottom: 30px;
		background-image: url('../jpeg/topimage.jpg');
		background-repeat: no-repeat;
		background-size: 100%;

		h2 {
			position: absolute;
			top: 0;
			left: 58%;
			font-size: 2.8em;
		}
	}

}

/*  SP	*/
@media screen and (max-width: 767px) {
	.link-pctb {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}

	.container>.navbar-header {
		position: relative;
		height: 141px;
	}

	.navbar-inverse {
		.navbar-brand img {
			max-width: 215px;
			height: auto;
			margin: 0;
		}

		.tel {
			left: 60%;
			text-align: left;

			p {
				font-size: 0.8em;
				line-height: 1.6;
			}
		}

		.navbar-nav {
			margin-top: 0;
		}
	}

	.navbar-toggle {
		top: 95px;
	}

	:is(#toppage) a {
		color: #000;
		background-color: transparent;
	}

	:is(#topimage, #title) {
		margin-top: 62px;
	}

	:is(h3, h4).small-sp {
		font-size: 1.4em;
	}

	#topimage {
		position: relative;
		height: 150px;
		color: #000;
		background-color: #fff;
		background-image: url('../jpeg/topimage.jpg');
		background-repeat: no-repeat;
		background-size: 100%;

		h2 {
			position: absolute;
			top: 0;
			left: 58%;
			font-size: 1.6em;
		}
	}

	#toppage-news {
		h2 {
			padding: 0.25em 1em;
			display: inline-block;
			left: 50%;
			transform: translate(-50%);
		}
	}

	:is(#toppage-news, #activity) {
		dt {
			width: 100%;
			line-height: 2;
			text-align: center;
			border-bottom: 1px dotted #713b87;
		}

		dd {
			width: 100%;
			padding-left: 0em;
			line-height: 2;
			left: 0em;
			bottom: 0em;
		}
	}

	:is() h4 {
		line-height: 1.8;
	}

	#access p span {
		display: block;
		margin-left: 5em;
	}
}