/* BIOTOPE */

.sec-intro1 .c-tab2 #intro4 div.bg-top div.l-container {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 2;
	margin-top: 36px;
}
.sec-intro1 .c-tab2 #intro4 .c-tab2__content--title {
	margin-bottom: 0;
}
#pagetop {
	z-index: 10;
}
div#biotope {
	position: relative;
}
div#biotope * {
	box-sizing: border-box;
}
div#biotope img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
div#biotope div#biotope-detail,
div#biotope div#biotope-outline {
	height: 62.5vw;
	overflow: hidden;
	z-index: 1;
	position: relative;
}
div#biotope div#biotope-detail {
	opacity: 0;
}
div#biotope div#biotope-detail div.bg,
div#biotope div#biotope-outline div.bg {
	background-image: url(../images/intro/biotope_001.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	overflow: hidden;
	z-index: 1;
	position: inherit;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 0;
}
div#biotope div#biotope-outline div.bg {
	background-attachment: fixed;
	opacity: 0;
}
div#biotope div#biotope-outline div.bg:before {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: #fff;
	content: "";
	opacity: 0.8;
}

div#biotope div#biotope-detail div.bg {
	background-image: url(../images/intro/biotope_002.png);
}
div#biotope div#biotope-outline h2 {
	margin-top: 7vw;
	text-align: center;
	height: 10vw;
	position: inherit;
}
div#biotope div#biotope-outline h2 img {
	opacity: 0;
}
div#biotope div#biotope-outline h2 img:first-child {
	height: 6vw;
	display: block;
	margin: 0 auto 1vw auto;
}
div#biotope div#biotope-outline h3 {
	margin-top: 8vw;
	text-align: center;
	height: 7vw;
	position: inherit;
	opacity: 0;
}
div#biotope div#biotope-outline h3 {
	margin-top: 8vw;
	text-align: center;
	height: 7vw;
	position: inherit;
	opacity: 0;
}
div#biotope div#biotope-outline p {
	margin-top: 2vw;
	text-align: center;
	height: 22vw;
	position: inherit;
	opacity: 0;
}
div#biotope div#biotope-detail h3 {
	margin-top: 6vw;
	text-align: center;
	height: 8vw;
	position: inherit;
	z-index: 1;
}
div#biotope div#biotope-detail h3 img {
	display: block;
	margin: 0 auto;
	opacity: 0;
}
div#biotope div#biotope-detail h3 img:nth-child(1) {
	height: 4vw;
	position: absolute;
	left: 0;
	right: 0;
	top: -4vw;
}
div#biotope div#biotope-detail h3 img:nth-child(2) {
	height: 3vw;
	margin-bottom: 1.5vw;
}
div#biotope div#biotope-detail h3 img:nth-child(3) {
	height: 0.215vw;
	margin-bottom: 1.5vw;
}
div#biotope div#biotope-detail h3 img:nth-child(4) {
	height: 3.8vw;
}
div#biotope div#biotope-detail ul span {
	background-color: transparent;
	border-radius: 0;
	width: 9vw;
	border: none;
	position: absolute;
	opacity: 0;
}
div#biotope div#biotope-detail ul > li:nth-child(1) span {
	right: 18%;
	top: 20%;

}
div#biotope div#biotope-detail ul > li:nth-child(2) span {
	left: 22%;
	top: 26%;

}
div#biotope div#biotope-detail ul > li:nth-child(5) span {
	right: 26%;
	top: 34%;

}
div#biotope div#biotope-detail ul > li:nth-child(4) span {
	right: 35%;
	top: 38%;

}
div#biotope div#biotope-detail ul > li:nth-child(3) span {
	left: 37%;
	top: 27vw;

}
div#biotope div#biotope-detail ul > li:nth-child(6) span {
	left: 27%;
	top: 29vw;

}
div#biotope div#biotope-detail ul > li:nth-child(7) span {
	right: 25%;
	top: 34vw;

}
div#biotope div#biotope-detail ul > li:nth-child(10) span {
	right: 39%;
	top: 38vw;

}
div#biotope div#biotope-detail ul > li:nth-child(9) span {
	left: 37%;
	top: 37vw;

}
div#biotope div#biotope-detail ul > li:nth-child(8) span {
	right: 15%;
	top: 38vw;

}
div#biotope div#biotope-detail ul > li:nth-child(11) span {
	right: 8%;
	bottom: 5%;

}
div#biotope div#biotope-detail ol button {
	background-color: transparent;
	border-radius: 0;
	width: 8vw;
	border: none;
	position: absolute;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
div#biotope div#biotope-detail ol > li:nth-child(1) button {
	left: 17%;
	top: 15%;
}
div#biotope div#biotope-detail ol > li:nth-child(2) button {
	left: 35%;
	top: 29%;
}
div#biotope div#biotope-detail ol > li:nth-child(3) button {
	left: 44%;
	top: 32%;
}
div#biotope div#biotope-detail ol > li:nth-child(4) button {
	right: 19%;
	top: 42%;
}

/*div#biotope div#biotope-detail ol + p {
position: absolute;
top: 60%;
left: 10%;
width: 17%;
opacity: 0;
}
div#biotope div#biotope-detail ol + p > img {
position: absolute;
width: 55%;
right: 0;
top: 4%;
z-index: 2;
opacity: 0;
}*/
div#biotope div#biotope-detail ol + p {
	position: absolute;
	bottom: 14%;
	left: 31%;
	width: 22%;
	opacity: 0;
}
div#biotope div#biotope-detail ol + p + p {
	position: absolute;
	bottom: 5%;
	right: 32%;
	width: 20%;
	opacity: 0;
}
div#biotope div#biotope-access {
	background-color: #54907d;
	padding: 15px 3vw;
	z-index: 1;
	position: inherit;
	opacity: 0;
}
div#biotope div#biotope-access > span {
	display: block;
	text-decoration: none;
	color: #fff;
	font-size: 1.8rem;
	width: 560px;
	max-width: 100%;
	margin: 0 auto;
	/*padding-right: 160px;
	min-height: 140px;
	background-image: url(../images/intro/biotope_021.png);
	background-position: top right;
	background-size: 140px;
	background-repeat: no-repeat;*/
	position: relative;
	padding-top: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}
div#biotope div#biotope-access > span p:first-child {
	width: 35%;
	display: inline-block;
	position: relative;
}
div#biotope div#biotope-access > span p:first-child a {
	display: block;
}
div#biotope div#biotope-access > span p:first-child span {
	position: absolute;
	height: 80px;
	left: 0;
	top: -55px;
	opacity: 0;
}
div#biotope div#biotope-access > span p:first-child > img {
}
div#biotope div#biotope-access > span p:first-child + p {
	width: 25%;
	display: inline-block;
}
div#biotope div#biotope-access > span p:first-child + p + p {
	width: 40%;
	display: inline-block;
	font-size: 1.6rem;
}
.pd-0 {
	padding: 0;
}

p#topofpage {
	height: 0;
	position: sticky;
	right: 10px;
	bottom: 10px;
	z-index: 1;
	cursor: pointer;
}
p#topofpage:before {
	width: 70px;
	padding-top: 70px;
	height: 0;
	background-image: url(../images/intro/biotope_topofpage.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
}

/*--------------------------------------------
■［モーダル］
--------------------------------------------*/

div.modal {
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: none;
	background-color: rgba(255, 255, 255, 0.8);
}

div.modal-container {
	background-color: #fff;
	max-width: 90%;
	max-height: 90vh;
	width: 620px;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	padding: 40px;
	z-index: 1200;
	overflow-y: auto;
	border-radius: 1.5em;
	border: 5px solid #54907D;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

div.modal-container p.close {
	position: fixed;
	right: 10px;
	top: 10px;
	z-index: 100;
}

div.modal-container p.close button.mw-close {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 36px;
	color: #fff;
	width: 36px;
	height: 36px;
	font-size: 20px;
	line-height: 1;
	background-color: #5192ca;
	text-align: center;
	border-radius: 18px;
	border: none;
	cursor: pointer;
}

div.modal-container div.modal-content {
	padding-bottom: 0;
	position: relative;
	max-height: calc(90vh - 3vw);
	z-index: 1;
}

div.modal-container div.modal-content > div.modal-sc {
	overflow-y: auto;
	overflow-x: hidden;
	max-height: calc(90vh - 3vw - 5em);
	margin-bottom: 1em;
}

div.modal-container div.modal-content > div.btnarea {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #f5f5f5;
	margin: 0;
}

div.modal-container div.modal-content > div.btnarea {
}

div.modal-container div.modal-content > div.btnarea p {
	margin: 0.4em 0.2em !important;
}

div.modal-container div.modal-content > iframe {
	width: 100%;
	min-height: 60vh;
}

@media screen and (max-width: 1332px) {
	div#biotope div#biotope-outline {
		height: 153vw;
		padding-top: 8vw;
	}
	div#biotope div#biotope-detail {
		height: 135vw;
	}
	div#biotope div#biotope-detail div.bg,
	div#biotope div#biotope-outline div.bg {
		height: 100%;
	}
	div#biotope div#biotope-outline div.bg {
		background-attachment: inherit;
	}
	div#biotope div#biotope-outline h2 {
		margin-top: 20vw;
		height: auto;
	}
	div#biotope div#biotope-outline h2 img:first-child {
		height: 9vw;
	}
	div#biotope div#biotope-outline h2 img:last-child {
		height: 16vw;
	}
	div#biotope div#biotope-outline h3 {
		margin-top: 3vw;
		height: 13vw;
	}
	div#biotope div#biotope-outline p {
		margin-top: 5vw;
		text-align: center;
		height: 64vw;
		position: inherit;
		opacity: 0;
	}
	div#biotope div#biotope-detail h3 {
		margin-top: 12vw;
		height: auto;
	}
	div#biotope div#biotope-detail h3 img:nth-child(1) {
		height: 9vw;
		top: -9vw;
	}
	div#biotope div#biotope-detail h3 img:nth-child(2) {
		height: 5vw;
		margin-bottom: 3vw;
	}
	div#biotope div#biotope-detail h3 img:nth-child(3) {
		height: 0.36vw;
		margin-bottom: 3vw;
	}
	div#biotope div#biotope-detail h3 img:nth-child(4) {
		width: 90vw;
		height: auto;
	}
	div#biotope div#biotope-detail ul {
		display: flex;
		flex-wrap: wrap;
		margin-top: 3vw;
		align-items: flex-end;
		position: inherit;
		z-index: 1;
		position: absolute;
		left: 2vw;
		right: 2vw;
		bottom: 23vw;
	}
	div#biotope div#biotope-detail ul li {
		width: 16.666%;
		height: auto;
		margin-top: -3vw;
	}
	div#biotope div#biotope-detail ul span {
		position: inherit;
		left: auto;
		top: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		display: inline-block;
	}
	div#biotope div#biotope-detail ul li span img {
		transition: all .3s ease-out;
		position: inherit;
		display: inherit;
		z-index: 1;
	}
	div#biotope div#biotope-detail ul li span:after {
		content: "";
		width: 6vw;
		height: 6vw;
		background-image: url(../images/intro/biotope_zoom.png);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain;
		display: block;
		position: absolute;
		right: 0;
		bottom: 0;
		z-index: 2;
	}
	/*div#biotope div#biotope-detail ul > li:nth-child(3):active span:after,*/
	div#biotope div#biotope-detail ul li.zoom span:after {
		opacity: 0;
	}
	/*div#biotope div#biotope-detail ul > li:nth-child(3):active,*/
	div#biotope div#biotope-detail ul li.zoom {
		z-index: 1;
	}
	/*div#biotope div#biotope-detail ul > li:nth-child(3) span img,*/
	div#biotope div#biotope-detail ul li.zoom span img {
		transform: scale(1.8);
	}
	div#biotope div#biotope-detail ol button {
		width: 16vw;
	}
	div#biotope div#biotope-detail ol > li:nth-child(1) button {
		left: 0;
		top: 23%;
	}
	div#biotope div#biotope-detail ol > li:nth-child(2) button {
		left: 13%;
		top: 30%;
	}
	div#biotope div#biotope-detail ol > li:nth-child(3) button {
		left: 34%;
		top: 34%;
	}
	div#biotope div#biotope-detail ol > li:nth-child(4) button {
		right: 5%;
		top: 38%;
	}
	div#biotope div#biotope-detail ol + p {
		left: 8vw;
		width: 50%;
		bottom: 11vw;
		z-index: 0;
	}
	div#biotope div#biotope-detail ol + p + p {
		width: 50%;
		right: 8vw;
		bottom: 1vw;
		z-index: 0;
	}
	div#biotope div#biotope-access > span {
		width: auto;
	}
	div#biotope div#biotope-access > span p:first-child {
		padding-top: 10px;
	}
	div#biotope div#biotope-access > span p:first-child span {
		top: -35px;
	}
	div#biotope div#biotope-access > span p:first-child + p + p {
		font-size: 3vw;
	}
	p#topofpage {
		height: 50px;
		margin-bottom: -50px;
	}
	p#topofpage:before {
		width: 50px;
		padding-top: 50px;
		bottom: auto;
		top: 10px;
	}


	/*--------------------------------------------
	■［モーダル］
	--------------------------------------------*/

	div.modal-container {
		padding: 5vw;
	}
}
