html {
	font-size: 62.5%;
}

body {
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: 100%;
	font-family: 'Noto Sans JP', sans-serif;
	line-height: 1.7;
}

#wrapper{
	width: 100%;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	-webkit-scroll-snap-type: y mandatory;
    -ms-scroll-snap-type: y mandatory;
	scroll-snap-points-y: repeat(100vh);
	-webkit-scroll-snap-points-y: repeat(100vh);
    -ms-scroll-snap-points-y: repeat(100vh);
	-webkit-overflow-scrolling: touch;
}


/*メニュー*/

	header {
	position: fixed;
	top: 0;
	left: 0;
	width: 320px;
	height: 100vh;
	padding: 12px;
	outline: solid 1px white;
	outline-offset: -10px;
	background-color: rgba(1, 70, 13, 0.9);
	box-sizing: border-box;
	text-align: center;
	z-index:20;
	}

	nav {
	display: flex;
	flex-direction: column;
	width: 100%;
	height:100%;
	background: url(../images/tree_silhouette.png);
	background-size: cover;
	background-position: center;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	}

	nav::-webkit-scrollbar {
	display:none;
	}


	.nav-links {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	height: 100%;
	margin: 0 0 30 0;
	padding: 0;
	font-size: 1.6rem;
	text-align: center;
	}

	.menu_logo {
	width: 256px;
	display: block;
	margin: 30 auto 20 auto;
	z-index:21;
	}

	.menu_logo img {
	width: 100%;
	}

	.nav-links li {
	list-style: none;
	display: block;
	margin: auto;
	padding: 6px 0px;
	}

	.nav-links a {
	width: fit-content;
	padding: 0 10 5 10;
	color:#FFFFFF;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	}

	.nav-links li span{
		font-size: 1.1rem;
	}

	.nav_active {
		background: #FFFFEB;
		color: green !important;
		border-radius: 10px;
	}

/*コンテンツ*/

#main_contents {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-left: 320px;
	width: calc(100% - 320px);
}

section {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: #FFFFEB;
	scroll-snap-align: start;
}

/*トップ*/
	.top_img {
		position: absolute;
		background: url(../images/pc_top.jpg);
		background-size: cover;
		background-position: center;
		width: 100%;
		height: 100%;
	}

	.logo_container {
		width: 50%;
		height: 100%;
		margin:auto;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
	} 

	.logo_container img {
		width: 100%;
		margin: 10px 0px;
	} 

	.video_button {
		display: inline-block;
		text-align: center;
	}

	.fa-play-circle {
		font-size: 5rem;
		color: white;
	}

	.video_button a {
		text-decoration: none;
		font-size: 1.6em;
		color: white;
}


/*インタビュー*/
	.interview_grid {
		display: grid;
		grid-template-rows:1fr auto 1fr;
		justify-content: space-evenly;
		min-height: 90vh;
		outline: 1px solid #333333;
		outline-offset: -20px;
		padding: 20px;
		box-sizing: border-box;
	}

	.title_container {
		position: relative;
    	margin-top: -10px;
	}

	.title_bar {
		position: absolute;
		top: 0px;
		left: -20px;
		width: 70%;
		margin: auto 0;
		padding: 0 30 6 30;
		color: white;
		line-height: 1.3;
		z-index: 2;
	}

	.title_red {
		background: linear-gradient(to right, rgba(255,75,75,1)50%, rgba(255,75,75,0));
		background: -moz-linear-gradient(to right, rgba(255,75,75,1)50, rgba(255,75,75,0));
		background: -webkit-linear-gradient(to right, rgba(255,75,75,1)50, rgba(255,75,75,0));
	}

	.title_green {
		background: linear-gradient(to right, rgba(57,173,74,1)50%, rgba(57,173,74,0));
		background: -moz-linear-gradient(to right,  rgba(57,173,74,1)50%, rgba(57,173,74,0));
		background: -webkit-linear-gradient(to right, rgba(57,173,74,1)50%, rgba(57,173,74,0));
	}

	.title_blue {
		background: linear-gradient(to right, rgba(0,113,180,1)50%, rgba(0,113,180,0));
		background: -moz-linear-gradient(to right,  rgba(0,113,180,1)50%, rgba(0,113,180,0));
		background: -webkit-linear-gradient(to right, rgba(0,113,180,1)50%, rgba(0,113,180,0));
	}


	.title_brown {
		background: linear-gradient(to right, rgba(117,76,36,1)50%, rgba(117,76,36,0));
		background: -moz-linear-gradient(to right,  rgba(117,76,36,1)50%, rgba(117,76,36,0));
		background: -webkit-linear-gradient(to right, rgba(117,76,36,1)50%, rgba(117,76,36,0));
	}

	.title_container h2 {
		margin: 0;
		font-size: 4.2rem;
		white-space: nowrap;
	}

	.title_container span {
		font-size: 1.5rem;	
	}

	.banner_box {
		position: relative;
		width: calc(100% + 40px);
		margin-left: -20px;
		z-index: 4;
		font-family: 'Josefin Slab', serif;
	}

	.banner_box h3 {
		font-weight: normal;
		font-size: 12rem;
		line-height: 0;
		margin: 50 0 30 0;
		z-index: 5;
	}

	.eng_title {
		position: absolute;
		top: 0;
		right: 0;
		color: #FF4B4B;
	}

	.eng_title2 {
		position: absolute;
		top: 0;
		left: 0;
		color: #39AD4A;
	}

	.eng_title3 {
		position: absolute;
		top: 0;
		left: 0;
		color: #0071B4;
	}

	.eng_title4 {
		position: absolute;
		top: 0;
		right: 0;
		color: #754C24;
	}

	.interview_num {
		position: absolute;
		bottom: 0;
		left: 0;
		color:#FFFF00;
	}

	.interview_num_right {
		position: absolute;
		bottom: 0;
		right: 0;
		color:#FFFF00;
	}

	.interview_thumbnail {
		width: 100%;
		display: block;
	}

	.interview_thumbnail img {
		width: 100%;
	}

	.bottom_box {
		position: relative;
	}

	.interview_name {
		margin: 10px 30px;
		font-size: 1.5rem;
	}

	.interview_name_right {
		display: block;
		margin: 10px 30px;
		text-align: right;
		font-size: 1.5rem;
	}

	.video_button2 {
		position: absolute;
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		bottom: -20px;
		width: fit-content;
		display: inline-block;
		padding: 2px 10px;
		text-align: center;
		background-color: #FFFFEB;
	}

	.video_button2 .fa-play-circle { 
		color: #333333;
	}

	.video_button2 a {
		text-decoration: none;
		font-size: 1.6em;
		color: #333333;
}

/*マップ*/

	#map {
		background-color: #FFFFEB;
		padding: 20px;
		box-sizing: border-box;
		outline: 1px solid #333333;
		outline-offset: -20px;
	}

	.map_logo {
		position: absolute;
		width: 200px;
		margin: 10px;
		z-index: 100;
		background-color: rgba(255,255,235,0.7);
	}

	.map_text {
		padding: 5px;
	}


	.zoomHolder {
	width:100%;
	height: calc(100vh - 40px)!important;
	overflow:auto;
	-webkit-overflow-scrolling:touch; 
	}

	.marker:hover {
		top: -7px!important;
		transition: top ease-in-out 0.2s;
	}

	.markerInfo {
		width: 300px!important;
}


/*サンクチュアリの沿革*/
	#about {
		display: grid;
		grid-template-rows: 1fr auto;
		padding:40px 20px;
		box-sizing: border-box;
	}

	.sanctuary_history {
		font-size: 1.5rem;
		border-spacing: 1rem;
		text-align: left;
		
	}

	.sanctuary_history tr {
		vertical-align: text-top;
		height: 40px;
	}

	footer {
		margin: 0 auto;
		font-size: 1.4rem;
		align-self:flex-end;
	}

	.site_footer {
		margin: 0 auto;
		border-spacing: 1rem;
		font-size: 1.4rem;
	}

	.site_footer tr {
		vertical-align: text-top;
	}

	.site_footer th:first-child { 
		font-size: 1.5rem;
}

/*タブレット横*/
@media screen and (max-width : 1279px) and (orientation: landscape) {
	/*ヘッダーメニュー*/
	header {
		width: 250px;
	}

	.menu_logo {
		width: 200px;
		margin: 20 auto 20 auto;
	}

	#main_contents {
		margin-left: 250px;
		width: calc(100% - 250px);
	}

	.nav-links li {
		font-size: 1.4rem;
	}

	.nav-links li span{
		font-size: 1rem;
	}

	/*トップ*/
	.fa-play-circle {
		font-size: 4.6rem;
		color: white;
	}

	.video_button a {
		text-decoration: none;
		font-size: 1.4rem;
		color: white;
	}
}

@media screen and (max-width : 1100px) and (orientation: landscape) {
	.banner_box h3 {
		font-size: 10rem;
		margin: 30 0 30 0;
	}
}

/*モバイル横*/
@media screen and (max-width: 925px) and (orientation: landscape) {
	header {
		width: 200px;
		outline-offset: -6px;
	}

	.menu_logo {
		width: 170px;
		margin: 20px auto;
	}

	#main_contents {
		margin-left: 200px;
		width: calc(100% - 200px);
	}
	
	.fa-play-circle {
		font-size: 4.2rem;
	}

	.video_button a {
		font-size: 1.3rem;
	}

	.title_bar {
		width: 100%;
		padding: 0 20 6 12;
	}

	.title_container h2 {
		font-size: 2.5rem;
	}

	.title_container span {
		font-size: 1.4rem;
	}

	.banner_box h3 {
		font-size: 7rem;
		margin: 20 0 10 0;
	}

	.interview_name, .interview_name_right {
	margin: 10px;
    font-size: 1.3rem;
	}

	.video_button2 a {
		font-size: 1.3rem;
	}

	#map {
		padding: 10px;
		box-sizing: border-box;
		outline: 1px solid #333333;
		outline-offset: -10px;
	}

	.map_logo {
		width: 150px;
		margin: 10px;
	}		

	.zoomHolder {
		height: calc(100vh - 20px)!important;
	}

	#about {
		padding:10px 10px;
	}
	
	.sanctuary_history {
		font-size: 1.3rem;
		border-spacing: 1rem;		
	}

	.site_footer {
		font-size: 1.2rem;
	}
}

/*タブレット・モバイル縦*/
@media screen and  (max-width : 1024px) and (orientation: portrait) {
	/*レイアウト　ヘッダーメニュー*/
		#wrapper {
			overflow-x: scroll;
			overflow-y: hidden;
			scroll-snap-type: x mandatory;
			-webkit-scroll-snap-type: x mandatory;
			-ms-scroll-snap-type: x mandatory;
			scroll-snap-points-x: repeat(100vw);
			-webkit-scroll-snap-points-x: repeat(100vh);
			-ms-scroll-snap-points-x: repeat(100vh);
			-webkit-overflow-scrolling: touch;
		}

		header {
			width: 100%;
			height: 220px;
			padding: 0;
			outline: none;
			outline-offset: none;
		}

		.menu_logo {
			width: 250px;
			display: block;
			margin: 30 20 20 30;
		}

		.nav-links {
			flex-direction: row;
			justify-content: flex-start;
			height: fit-content;
			margin: 0 30;
			border-top: white 1px solid;
			border-bottom: white 1px solid;
			overflow-x: scroll;
			white-space: nowrap;
			-webkit-overflow-scrolling: touch;
			scrollbar-width: none;
		}

		.nav-links::-webkit-scrollbar {
			display:none;
		}

		.nav-links a {
			padding: 0 10 0 10;
			text-align: left;
		}

		.nav-links li span{
			display: none;
		}

		#main_contents {
			flex-direction: row;
			width: fit-content;
			margin: 220 0 0 0;
			height:calc(100% - 220px);
			height:-moz-calc(100% - 220px);
			height:-webkit-calc(100% - 220px);
		}

		section {
			scroll-snap-align: start;
			height: 100%;
			min-height: unset;
			width: 100vw;
			box-sizing: border-box;
			padding-bottom: 30px;
	}
	
	/*コンテンツ*/

		.top_img {
			position: absolute;
			top: 0;
			width: 100%;
			height: 100%;
			background: url(../images/mobile_top.jpg);
			background-size: cover;
			background-position: center;
		}

		.logo_container {
			width: 60%;
			padding-bottom: 70px;
			box-sizing: border-box;
		}

		.fa-play-circle {
			font-size: 6rem;
		}

		.interview_grid {
			min-height: 90%;
		}
		
		.banner_box h3 {
			font-size: 12rem;
			margin: 30 0 30 0;
		}

		.interview_name, .interview_name_right {
			margin: 20px 30px;
		}

		#about {
			overflow-y: scroll;
	}
}

/*モバイル縦*/
@media screen and  (max-width : 767px) and (orientation: portrait) {
	/*レイアウト ヘッダーメニュー*/
		header {
			width: 100%;
			height: 150px;
		}
	
		.menu_logo {
			width: 170px;
			display: block;
			margin: 12 12 5 12;
		}
	
		.nav-links {
			flex-direction: row;
			justify-content: flex-start;
			height: fit-content;
			margin: 0 12 0 12;
			border-top: white 1px solid;
			border-bottom: white 1px solid;
			overflow-x: scroll;
			white-space: nowrap;
			-webkit-overflow-scrolling: touch;
			scrollbar-width: none;
		}
	
		.nav-links::-webkit-scrollbar {
			display:none;
		}
	
		.nav-links li span{
			display: none;
		}
	
		#main_contents {
			margin: 150 0 0 0;
			height:calc(100% - 150px);
			height:-moz-calc(100% - 150px);
			height:-webkit-calc(100% - 150px);
	}
		
	/*コンテンツ*/
		.logo_container {
			width: 70%;
		}
	
		.video_button {
			margin: 10 0 0 0;
		}

		.video_button a {
			font-size: 1.4em;
		}
	
		.interview_grid {
			min-height: 80%;
		}
		
		.title_container {
			height: 65px;
		}

		.title_bar {
			width: 100%;
			padding: 0 20 6 12;
		}
	
		.title_container  h2 {
			font-size: 2.5rem;
		}

		.title_container  span {
			font-size: 1.4rem;
			}
	
		.banner_box h3 {
			font-size: 6.5rem;
			margin: 20 0 10 0;
		}
		.interview_name, .interview_name_right {
			margin: 10 10 20 10;
			font-size: 1.3rem;
		}

		.video_button2 {
			margin-bottom: -12px;
		}

		.fa-play-circle {
			font-size: 4.5rem;
		}

		.video_button2 a {
			font-size: 1.4em;
		}

		#map {
			background-color: #FFFFEB;
			padding: 0px;
			box-sizing: border-box;
			outline: none;
			outline-offset: none;
		}

		.map_logo {
			width: 180px;
			margin: 20px;
		}		
		
		.zoomHolder {
		   width:100%;
		   height: 100vh!important;
		   overflow:auto;
		   -webkit-overflow-scrolling:touch; 
		}

		#about {
			padding:10px 10px;
		}
		
		.sanctuary_history {
			font-size: 1.3rem;
			border-spacing: 1rem;		
		}
		
		.site_footer {
			font-size: 1.2rem;
	}
}

/*モバイル縦*/
@media screen and  (max-width : 414px) and (orientation: portrait) {
	/*レイアウト ヘッダーメニュー*/
	header {
		height: 135px;
	}

	.menu_logo {
		width: 160px;
	}

	.nav-links {
		font-size: 1.4rem;
	}

	.nav-links li {
		padding: 4 20 5 0;
	}

	#main_contents {
		margin: 135 0 0 0;
		height: calc(100% - 135px);
		height: -moz-calc(100% - 135px);
		height: -webkit-calc(100% - 135px);
	}

	.banner_box h3 {
		font-size: 5.5rem;
	}

	.fa-play-circle {
		font-size: 4rem;
	}

	.map_logo {
		width: 150px;
		margin: 15px;
	}		
}