@charset "UTF-8";


html {
	font-size: 100%;
}

body{
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-weight: 700;
	font-style: normal;
	line-height: 1.7;
	color: #47763c;
	display: block;
	height: auto;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
	padding-bottom: 80px;
	
}

@media screen and (max-width: 480px) {
	html{
		font-size: 120%;
	}
}

a {
	text-decoration: none;
	cursor: pointer;
}


img{
	max-width: 100%;
}

.contents-top h1{
	color: #1962A3;
}
@media screen and (max-width: 480px) {
	.contents-top h1{
		font-size: 6vw;
	}
}


.page-top{
	position: fixed;
	top: 85%;
	right: 0%;
	color: #FFFFFF;
	font-size: 70%;
	padding: 0.5% 1%;
	background-color: #1962A3;
	opacity: 0.7;
}
@media screen and (max-width: 480px) {
	.page-top{
	font-size: 3.5vw;
}
}



.header-list{
	background-color:#FFFFFF;
	color: #47763c;
}

.main-nav{
	display: flex;
	justify-content: space-between;
	font-size: 2vw;
	text-tranceform: uppercase;
	list-style: none;
	max-width:2000px;
	max-height: 100px;
	margin: auto;
	padding:1% 5%;
	background-color:#FFFFFF;
}
@media screen and (max-width: 480px) {
	.main-nav{
	font-size: 3vw;
}
}


.main-nav-color a{color: #47763c;
}

.main-nav a{color: #47763c;
	transition:color 0.5s;
}

.main-nav a:hover{
	color:#432;
}

main{
	display: block;
	flex: 1;
	height: inherit;
}

.kerning{
	font-feature-settings : "palt";
}

/*index---------*/

.top{
	display: block;
	color: #FFFFFF;
	font-size: 4vw;
	text-align: center;
	place-content: center;
	position: relative;
	overflow: hidden;
}

.top video {
	display: block;
	object-fit: cover;
	height: 101%;
	width: 101%;
	animation-name: topanime;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes topanime{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

.top-video-text{
	display: block;
	position: absolute;
	width: 100%;
	top: calc(50% - 3em);

	text-align: center;
	text-shadow: 0 0 10px black;
	line-height: 1.5;
	white-space: nowrap;
	color: #fff;
	z-index: 2;
}

.main{
	padding-left: 7%;
	padding-top: 12%;
	font-size: 2.5vw;
	text-shadow: 1px 1px 2px white, 0 0 10px white, 0 0 10px white;
	background-size: cover;
	background-position:center top;
	background-image: url("/~oseki/image/index.jpg");
	min-height: 130vw;
}
@media screen and (max-width: 480px) {
	.main{
	font-size: 3vw;
}
}


.contents-top{
	padding-left: 7%;
	padding-top: 12%;
	font-size: 2.5vw;
	min-height: 60vw;
}
@media screen and (max-width: 480px) {
	.contents-top{
	font-size: 3.5vw;
}
}


.container{
	display: grid;
	grid-template-rows: 40vmax;
	grid-template-columns: 40vmax 40vmax;
	justify-content: center;
	gap: 2%;
	margin: 2% 2% 5%;
}

@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
	.container{
	display: grid;
	grid-template-rows: 15vmax 15vmax;
	grid-template-columns: 85vw;
	justify-content: center;
	gap: 2%;
	margin: 2%;
}
}

.link{
	display: grid;
	background-color: #919191;
	text-align: center;
	align-content: center;
	place-items: center;
	font-size: 1.5vw;
	transition:background 1.5s ease-out,font-size 0.5s ease-out;
}

@media screen and (max-width: 480px) {
	.link{
	display: grid;
	color: white;
	text-shadow: 0 0 10px black;
	background-color: #919191;
	text-align: center;
	align-content: center;
	place-items: center;
	font-size: 3vw;
}
}


.link:hover{
	color: white;
	text-shadow: 0 0 10px #47763c;
	font-size: 1.8vw;
	background-color: #2C4C25;
	background-blend-mode: multiply;
}

@media screen and (max-width: 480px) {
	.link:hover{
	color: white;
	text-shadow: 0 0 10px black;
	font-size: 3.5vw;
	background-color: #1C1C1C;
	background-blend-mode: multiply;
	}
}

.link .link-text{
	color: white;
	opacity:0;
	transition: 1s;
}

@media screen and (max-width: 480px) {
	.link .link-text{}
}

.link:hover .link-text{
	opacity:1;
}

.project-link {
	display: grid;
	background-image: url("/~oseki/image/project-link.jpg");
	background-size: cover;
	text-align: center;
	align-content: center;
	place-items: center;
}

.english-link {
	display: grid;
	background-image: url("/~oseki/image/english-link.jpg");
	background-size: cover;
	text-align: center;
	align-content: center;
	place-items: center;
}

@media screen and (max-width: 480px) {
	.english-link {
		background-position: 0% 20%;
	}
}


/*各項目ページ---------*/
/*プロジェクト---------*/

#contents-p{
	background-position:right top;
	background-image: url("/~oseki/image/project-top.jpg");
	background-size: 60%;
	background-size: contain;
	margin-right: 3%;
	animation-name: topanime;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes topanime{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

/*英語---------*/

#contents-e{
	background-position:right top;
	background-image: url("/~oseki/image/english-top.jpg");
	background-size: 60%;
	background-size: contain;
	margin-right: 3%;
	animation-name: topanime;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes topanime{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

@media screen and (max-width: 770px) {
.e-chapter-link{
	text-decoration: underline;
}
}

.table{
	color: black;
	margin-top: 15%;
	padding: 10% 20% 0% 20%;
	background-image: url("/~oseki/image/table-bg.png");
	background-size: contain;
	background-position: right;
}

.table-h{
	font-family: countach, sans-serif;
	font-size: 3vw;
	text-align: center;

}

.las-table{
	list-style-type: none;
	margin: 10% 0%;
	font-size: 2vw;
}

.las-table a{
	color: black
}

.las-table a:hover{
	color: aqua;
	transition: 0.5s;
}

.c-list{
	display: grid;
	grid-template-columns: 1fr 2fr;
}

.table-b{
	font-family: rig-sans, sans-serif;
	font-size: 2.2vw;
	color: #0C3388;
}

@media screen and (max-width: 480px) {
.table{
	font-size: 150%;
	padding: 10% 10% 0% 10%;
}
	
.table-b{
	font-size: 3.5vw;
}
.c-list{
	font-size: 3.5vw;
}
	
.table-h{
	font-size: 4vw;

}
	
}


/*地球市民教育---------*/
#contents-les{
	background-position:right top;
	background-image: url("/~oseki/image/lesson-top.jpg");
	background-size: 60%;
	background-size: contain;
	margin-right: 3%;
	animation-name: topanime;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes topanime{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

.mini-link {
	display: grid;
	color: white;
	background-image: url("/~oseki/image/approach-link.jpg");
	background-size: cover;
	text-shadow: 0 0 10px black;
	text-align: center;
	align-content: center;
	place-items: center;
}
@media screen and (max-width: 480px) {
.mini-link {
	background-position: 0% 30%;
}
}


.llist-link {
	display: grid;
	color: white;
	background-image: url("/~oseki/image/kyozai-link.jpg");
	background-size: cover;
	text-shadow: 0 0 10px black;
	text-align: center;
	align-content: center;
	place-items: center;
}
@media screen and (max-width: 480px) {
.llist-link {
	background-position: 0% 20%;
}
}

.children-link {
	display: grid;
	color: white;
	background-image: url("/~oseki/image/children-link.jpg");
	background-size: cover;
	text-shadow: 0 0 10px black;
	text-align: center;
	align-content: center;
	place-items: center;
}
@media screen and (max-width: 480px) {
.mini-link {
	background-position: 0% 30%;
}
}


/*---------*/

/*資料庫---------*/

#contents-li{
	background-position:right top;
	background-image: url("/~oseki/image/libraly-top.jpg");
	background-size: 60%;
	background-size: contain;
	margin-right: 3%;
	animation-name: topanime;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes topanime{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}



.library-link {
	display: grid;
	color: white;
	background-image: url("/~oseki/image/library-link.jpg");
	background-size: cover;
	text-shadow: 0 0 10px black;
	text-align: center;
	align-content: center;
	place-items: center;
}

.link-link {
	display: grid;
	color: white;
	background-image: url("/~oseki/image/links-link.jpg");
	background-size: cover;
	text-shadow: 0 0 10px black;
	text-align: center;
	align-content: center;
	place-items: center;
}

.none{
	display: inline;
}
@media screen and (max-width: 480px) {
.none{
	display: none;
}
}

/*---------*/

/*contact---------*/

#contents-c{
	background-position:right top;
	background-image: url("/~oseki/image/contact-top.jpg");
	background-size: contain;
	margin-right: 3%;
	animation-name: topanime;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes topanime{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

.contact-box{
	background-color:rgba(255,253,228,0.8);
	font-size: 1.7vw;
	display: grid;
	vertical-align: middle;
	margin: 5% 0%;
	padding: 6%;
	line-height: 3.5vw;
}

.contact-box p{
	color: #010A4F;
}

.contact-box h2{
	margin-bottom: 4%;
	text-align: center;
	color: #1962A3
}

.c-container{
	display: grid;

	margin: 1% 5% 5% 5%;
}

.tokiwaweb{
	color: white;
	background-color: #41a492;
	text-align: center;
	margin:2% 28%;
	padding: 15px;
	transition: 0.5s;
}

.tokiwaweb:hover{
	background-color: #234F20;
}

.tokiwaweb-under{
	color: white;
	background-color: #41a492;
	text-align: center;
	margin:2% 28%;
	padding: 15px;
	transition: 0.5s;
}

.tokiwaweb-under:hover{
	background-color: #234F20;
}

.web-adress{
	margin: 0 auto;
}


@media screen and (max-width: 480px) {
.contact-box{
	font-size: 3vw;
	line-height: 2;
}
	
.contact-box h2{
	font-size: 4vw;
}
	
.tokiwaweb{
	margin:2% 10%;
}
	
.tokiwaweb-under{
	margin:2% 10%;
}
	
	
}


/*---------*/



dl{
	display:flex;
	flex-wrap: wrap;
}

dl dt{
	width:10%;
}

dl dd{
	width: 90%;
}


footer{
	position: relative;
	display: block;
	width: 100%;
	font-size: 60%;
	text-align: center;
	bottom: 0;
	
}

.tokiwa{
	font-size: 17px;
	margin: 10px;
}

.tokiwa a:hover{
	text-decoration: underline;
}

footer a{
	color: #47763c;
}

