@charset "utf-8";


/*PC・タブレット・スマホ(全端末)共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	-webkit-text-size-adjust: none;
	color: #666;	/*全体の文字色*/
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 18px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fff8ed;	/*背景色*/
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;margin:40px auto;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}

iframe {width: 100%;}
.SDGS{
max-width: 23vw;
max-height: 17vh;

}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;	/*リンクテキストの色*/
	transition: 0.1s;	/*マウスオン時の移り変わるまでの時間設定。0.1秒。*/
	text-decoration: none;
}
a:hover {
	color: #224acf;	/*マウスオン時の文字色*/
}

/*next,prevリンク*/

.arrow1 {
  position: relative;
  display: inline-block;
  width: 13.9px;
  height: 23.8px;
}

.arrow1::before,
.arrow1::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 9999px;
  background-color: gray;
  transform-origin: 1px 50%;
}

.arrow1::before {
  transform: rotate(45deg);
}

.arrow1::after {
  transform: rotate(-45deg);
}



.arrow2 {
  position: relative;
  display: inline-block;
  width: 13.9px;
  height: 23.8px;
}

.arrow2::before,
.arrow2::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 18px;
  height: 2px;
  border-radius: 9999px;
  background-color: gray;
  transform-origin: calc(100% - 1px) 50%;
}

.arrow2::before {
  transform: rotate(45deg);
}

.arrow2::after {
  transform: rotate(-45deg);
}


@keyframes swing1{
 0%{transform:translateX(0)}
 60%{transform:translateX(-20px)}
 100%{transform:translateX(-20px)}
}

@keyframes swing2{
 0%{transform:translateX(0)}
 60%{transform:translateX(20px)}
 100%{transform:translateX(20px)}
}

.links{
  height:100px;
  width:95%;
  margin: 20px auto;
}

.l-link{
  float:left;
  max-width: 320px;
  max-height:100px;
  border:3px #666 solid;
  padding:20px 10px 0 10px;
}

.l-link:hover{
  animation: swing1 1s linear;
}


.r-link {
  float: right;
  max-width: 320px;
  max-height:100px;
  border:3px #666 solid;
  padding:20px 10px 0 10px;
}

.r-link:hover{
  animation: swing2 1s linear;
}

.links p{
	display: inline-block;
	padding:auto;

}

/*  map popupリンク    */
.map {
    height:80vh;
    width: 100%;
}

.map-side{
	position:fixed;
	left:0;
	top:0;
	width:50%;
	height: 60vh;
	margin:125px 0;
}





#popup {
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #666;
    font-size: 16px;
    background: #FFF8ed;
    border: solid 3px #666;
    box-sizing: border-box;
    text-decoration: underline;
    border-radius: 20px;
}
  
#popup:before {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 50%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-top: 12px solid #FFF8ed;
    z-index: 2;
}
  
#popup:after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -17px;
    border: 14px solid transparent;
    border-top: 14px solid #666;
    z-index: 1;
}

#osDiv{
	display: flex;
}

.os{
	text-align: center;
	width:90%;
	max-height:50vh;
}

.os img{
	width:10vw;
	max-height:20vh;
}

/*コンテナー（ホームページを囲む一番外側のブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 1400px;	/*ブロックの最大幅*/
	margin: 0 auto;
	padding: 0 3%;
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*headerブロック*/
/*ロゴ画像設定*/

header{
	text-align:center;
}

#header-img {
	width:250px;	/*画像幅*/
	margin: 10px auto 5px;	/*ロゴの上と下に40pxスペースを空ける設定*/
}

#logo img {
	display:inline-block;
	width:460px;	/*画像幅*/
	margin: 40px auto 40px;	/*ロゴの上と下に40pxスペースを空ける設定*/
}


.index-header{
	text-align: center;
}

.index-header img{
	border-radius: 20px;
}

#index-logo{
	width:70%;
	animation: fadeIn 2.5s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#school{
	width:95%;
	animation: fadeIn 2.5s ease-in-out;
}
/*トップページのメイン画像
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg img {
	border-radius: 10px;	/*角を丸くする指定。この１行を削除すれば角丸がなくなります。*/
}



/*メニュー
---------------------------------------------------------------------------*/
/*メニュー全体を囲むブロック*/
#menubar {
	text-align: left;		/*文字をセンタリング*/
	font-size: 16px;		/*文字サイズ*/
	box-shadow: 0 0.05px 4px black;
	position:fixed;
	width:100%;
	top:0;
	left:0;
	background: #fff8ed;
	padding:15px 0;
	z-index:999;
}
/*メニュー１個あたりの設定*/
#menubar li {
	display: inline-block;	/*横並びにする設定*/
}
#menubar li a {
	text-decoration: none;
	padding: 15px 30px;	/*各メニュー内の余白。上下に15px、左右に30pxあけるという意味。*/
}
/*マウスオン時の設定*/
.header-link:hover  {
	color: #224acf;	
	border-bottom: 4px solid #224acf;	
}

/*目次
----------------------------------------------*/
.side{
	position:fixed;
	right:0;
	top:0;
	width:30%;
	max-height: 50vh;
	margin:150px 20px;
	padding: 10px;
	background-color: #FFF;
	border:1px black solid;
}

.side a{
	margin: 50px auto;
	padding:10px;
	font-weight: bold;
	text-decoration: none;
}
.side a:hover{
	text-decoration: underline;
}


/*コンテンツ（見出しバーや文字などが入っているブロック）
---------------------------------------------------------------------------*/
/*コンテンツのh2タグの設定*/
#contents:not(.first-content,.quizEx-content,.map-content){
	margin-top:150px;
	width:60%;
}
.first-content,.quizEx-content{
	width:75%;
	margin:150px auto;
}
.map-content{
	width:45%;
	float:right;
	margin-top:150px;
}
.index-header{
	width:60%;
	margin: 50px auto
}


#contents h2 {
	clear: both;
	margin-bottom: 20px;
	color: #fff;		/*文字色*/
	padding: 10px 20px;	/*上下、左右への余白*/
	background: #224acf;	/*背景色*/
	border-radius: 50px;	/*角を丸くする指定。この１行を削除すれば角丸がなくなります。*/
}
/*コンテンツのh3タグの設定*/
#contents h3 {
	clear: both;
	margin-bottom: 20px;
	padding: 8px 20px;	/*上下、左右への余白*/
	background: #fff;	/*背景色*/
	border: 2px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 30px;	/*角を丸くする指定。この１行を削除すれば角丸がなくなります。*/

}
/*コンテンツのp(段落)タグ設定*/
#contents p {
	padding: 0px 20px 20px;	/*上、左右、下への余白*/
}
/*他。微調整。*/
#contents p + p {
	margin-top: -5px;
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -10px;
}
#contents section + section {
	margin-top: 30px;
}
p1{
  font-size:25px;

 
}
p2{
 background: linear-gradient(transparent 0%, #c1e0ff 0%);
 font-weight: bold; 

}

/*Galleryページ
---------------------------------------------------------------------------*/
/*各ブロックごとの設定*/
.list {
	overflow: hidden;
	border-bottom: 2px solid #ccc;	/*下線の幅、線種、色*/
	padding: 20px;	/*ボックス内の余白*/
}
/*h4見出しの設定*/
.list h4 {
	color: #224acf;	/*文字色*/
}
/*画像の設定*/
.list img {
	width: 20%;			/*画像幅*/
	float: left;		/*画像を左に回り込み*/
	margin-right: 3%	/*画像の右側に空けるスペース*/
}
/*段落タグ*/
.list p {
	padding: 0 !important;
}


/*フッター(ページ最下部のcopyrightのパーツ)設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;	/*文字をセンタリング*/
	padding: 30px 0px 10px;	/*上、左右、下へのボックス内の余白*/
	background-color: #fff0d9;
}
footer a {
	text-decoration: none;
	border: none;
}
footer .pr {
	display: block;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding: 0px 20px;	/*上下、左右へのブロック内の余白*/
	margin-bottom: 20px;	/*ブロックの下(外側)に空ける余白*/
}
/*日付設定*/
#new dt {
	font-weight: bold;	/*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 8em;
}
/*記事設定*/
#new dd {
	padding-left: 8em;
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: left;		/*文字を左寄せ*/
	background: #eee;		/*背景色*/
	font-weight: bold;		/*太字に*/
	padding: 10px;			/*ボックス内の余白*/
}
/*テーブル１行目に入った見出し部分（※tamidashi）*/
.ta1 th.tamidashi {
	width: auto;
	text-align: left;	/*左よせ*/
	background: #eee;	/*背景色*/
}
/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	width: 100%;
	margin: 0 auto 20px;
}
.ta1, .ta1 td, .ta1 th {
	word-break: break-all;
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;			/*テーブル内の余白*/
}
/*テーブルの左側ボックス*/
.ta1 th {
	text-align: center;	/*センタリング*/
	width: 30%;			/*幅*/
}

.table {
	text-align: left;
	padding:40px 0 40px 60px;
	font-size: 20px;
}
.table a:hover{
	text-decoration: underline;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #e5e5e5;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.color1 {color: #224acf;}
.pr {font-size: 12px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}

.ba-img img{
	width:40%;
	margin:25px;
}

.b-link{
	text-align:center;
}

/*画面幅580px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:580px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;	/*文字サイズ*/
	line-height: 1.5;	/*行間*/
}
.first-content{
	width:90%;
	margin:150px auto;
}


/*メニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar li {
	display: inline-block;	/*縦並びにする設定*/
	margin: 30px;
}
#menubar li a {
	text-decoration: none;
	padding: 8px 32px;	/*各メニュー内の余白。*/
}

/*Galleryページ
---------------------------------------------------------------------------*/
/*各ブロックごとの設定*/
.list {
	padding: 10px;	/*ボックス内の余白*/
}

/*その他
---------------------------------------------------------------------------*/
.ws,.wl {width: 94%;}

}

/*quiz
---------------------------------------------------------------------------*/
#quiz-container{
	height:100vh;
	width:95%;
	border:black 5px solid;
	margin: 0 auto;
	text-align: center;
	padding:2px;
	position: relative;
}

#score-container{
	width:95%;
	margin: 0 auto;
}
#score-container :nth-child(1){
	display: inline-block;
	float: left;
}
#score-container :nth-child(2){
	display: inline-block;
	text-align: center;
}

#score-container :nth-child(3){
	display: inline-block;
	float: right;
}


#choices{
  display:inline-block;
  text-align:center;
  width:95%;
  margin-bottom:30px;
}

.choices-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.choices-wrapper .choice-item{
    margin: 10px;
    padding:40px 10px;
    cursor: pointer;
    width: calc(25% - 20px);
    text-align: center;
    border: 1px black solid;
    display: inline;
}



@media(max-width: 850px){
	.choices-wrapper .choice-item{
		width: calc(50% - 20px);
	}
}

.result-wrapper{
    margin: 10px;
    padding:40px 10px;
    width: 90%;
    text-align: center;
    display: inline-block;
}


.photos{
    width:40vh;
    margin: 0 auto;
}



#button-59 {
  align-items: center;
  background-color: #fff;
  border: 2px solid #000;
  box-sizing: border-box;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  fill: #000;
  font-family: Inter,sans-serif;
  font-size: 12px;
  font-weight: 600;
  height: 60px;
  justify-content: center;
  letter-spacing: -.8px;
  line-height: 18px;
  min-width: 140px;
  outline: 0;
  padding: 0 17px;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#button-59:focus {
  color: #171e29;
}

#button-59:hover {
  border-color: #06f;
  color: #06f;
  fill: #06f;
}

#button-59:active {
  border-color: #06f;
  color: #06f;
  fill: #06f;
}

#cor-img{
	width:20vw;
	margin: 0 auto;
	padding-bottom:50px;
}


.quiz-image{
	height:20vh;
}

.next{
	animation:fadeIn 0.5s ease-in-out;
}

.desc{
	animation:fadeIn 0.5s ease-in-out;
	max-width:90%;
	margin:0 auto;
}

.wrong-choice{
	border-color: #e95464;
}

.correct-choice{
	border-color: #b9d08b;
}

#reset{
	border:3px gray solid;
	padding:3px;
}

.dli-redo {
  display: inline-block;
  vertical-align: middle;
  color: gray;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 1em;
  transform: rotate(45deg);
}

.dli-redo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border: 0.1em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  transform: rotate(-45deg);
}

.dli-redo::after {
  content: '';
  position: absolute;
  top: 0.05em;
  right: 50%;
  width: 0.2em;
  height: 0.2em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: content-box;
  transform: translateX(0.14142em) rotate(45deg);
  transform-origin: top right;
}
.flex {
  display: flex; /*横並び*/
}

#pause{
	position: absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color: black;
	opacity:0.9;
	animation: fadeIn 0.2s ease-in-out;
}
#pause div{
	margin: 20%;
}

.images{
    text-align: center;
    margin: 20px auto;
    width:60vw;
}
/*サイトマップのCSS
_________________________________________________________________________*/


.sitemap{
	display:flex;
	flex-wrap: wrap;
}

.sitemap > h3{
	margin:20px;
	width: calc(100% - 40px);
}
.sitemap div{
	margin:20px;
	width: calc(50% - 40px);
}
.sitemap a:hover{
	text-decoration: underline;
}

















