@charset "UTF-8";

#container {
  width: 90%;
  margin: 0 auto 2em;
  padding: 3px;
  background-color: #cbffd3;
  overflow-wrap: break-word;
  padding-top: 12em;
}

.body_main {
	margin: 0;
	background-color: lightblue;
	background-image: url("../image/cherry.gif");
}

.body_edu {
	margin: 0;
	background-color: lightblue;
	background-image: url("../educate/image/blue6b.gif");
}

.body_3d {
	margin: 0;
	background-color: lightgreen;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
}

.title {
  display: block;
  font-size: 120%;
  color: blue;
  font-weight: bold;
  text-indent: 2em;
}

.title-center {
  display: block;
  text-align: center;
  font-size: x-large;
  color: blue;
  font-weight: bold;
}


/***
dt{
  margin: 0.5em 0 0 0;
  font-size: large;
  color: purple;
  font-weight: bold;
  display: block;
}
***/


.header-main {
  width: 100%;
  position: relative;
  background: url(../image/header_image.png) top center no-repeat; 
  margin: 0; 
	position: fixed;
}


/*** メニュー全体 ***/
.drop_menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 90px auto;
  padding: 0;
  width: 100%;
  height: 3rem;

}
/*** リストの調整 ***/
.drop_menu li, .drop_menu ul{
  border-style: solid;
  border-width: 1px;
  border-color: black;
  background-color: yellow;
  list-style: none;
  padding: 0;
  line-height: 2rem;
}
.drop_menu li a{
  text-decoration: none;
  text-align: center;
  color: initial;
  /*クリック範囲を領域全体に*/
  display: block;
  width: 100%;
  height: 100%;
}

.drop_menu div{
  text-decoration: none;
  text-align: center;
  color: initial;
  /*クリック範囲を領域全体に*/
  display: block;
  width: 100%;
  height: 100%;
  font-weight: bold;

}


/*** 一階層目のメニュー ***/
.drop_menu > li{
  width: 22%; /*5つで1行*/
  height: 60%;
}
.drop_menu > li > a{
  font-weight: bold;
}


/*** 2層目のメニュー ***/
.child_menu{
  visibility: hidden;
  transform: scale(1,0);
  transform-origin: top;
  opacity: 0;
  transition: .3s;
  background: #ddd;
}
/* ホバー時の2層目メニュー */
.drop_menu > li:hover > .child_menu {
  visibility: visible;
  transform: scale(1,1);
  opacity: 1;
}


/*
footer{
    width: 100%;
    height: 150px;
    background-color: #174a5c;
    color: white;
}
ul.footer-menu li {
	display: inline;
}
ul.footer-menu a{
	text-decoration: none;
	text-align: center;
	color: white;
	display: inline;
}
*/


div.footer-menu a{
	text-decoration: none;
	color: yellow;
	}

ul.footer-menu a{
	text-decoration: none;
	color: white;
	}

ul{
	margin-top:0;
}

div.footer-menu{
	text-decoration: none;
	color: yellow;
	}


#page {
  width: 97%;
  margin: 0 auto;
  background-color: navy;
  border: blue 5px solid;
}

#child-page {
  display: flex;
  justify-content: center;
}

#footer-head {
  width:100%;
  text-indent: 1em;
  color: white;
  font-size:120%;
}

#content1 {
  width: 40%;
  float: left;
  text-decoration: none;
}

#content2 {
  width: 40%;
  float: left;
}

#footer {
  clear: both;
  text-align: center;
  color: white;
}



@media screen and (max-width: 600px) {
  #page {
    border-color: red;
  }

  #child-page {
    display: contents;
  }
  
  #content1 {
    width: 92%;
    float: left;
    text-indent: 3em;
  }

  #content2 {
    width: 92%;
    float: left;
    text-indent: 3em;
  }
}


div.item-list{
	display: flex;
	justify-content: center;
}

div.item-list div.item{
	box-sizing: border-box;
	padding: 40px 80px;
}


h1.title_3D {
  color: #FF8C00;
  background: -webkit-linear-gradient(0deg, #40E0D0, #FF8C00, #FF0080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-size: 3em;
  line-height: 1.2em;
}


#app_3D {
  width: 99%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 10px 5px 10px;
}


#header_3D {
	height: 100px;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	margin: 10px 0 5px 0;
}

#main_3D {
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	width: 100%;
	height: 100%;
}

#side-bar_3D {
	width: 12em;
	background-color: moccasin;
	box-sizing: border-box;
	border: 2px solid chocolate;
}

#content_3D {
	width: calc(100% - 12em);
	background-color: palegoldenrod;
	box-sizing: border-box;
	border: 2px solid green;
	padding : 0 20px 0 10px;
	overflow-y: auto;
}


.container0 {
		padding: 0;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 2fr;
}

.item1{
	padding: 0 10px 0 10px;
	grid-row: 2;
	grid-column: 1;
}

.item2{
	grid-row: 1;
	grid-column: 1;
}


@media screen and (min-width:600px) {
	.container0{
		padding: 0;
		display: grid;
		grid-template-columns: 1fr 300px;
		grid-template-rows: 1fr;
	}
	
	.item1{
  	padding: 0 10px 0 10px;
		grid-row: 1;
		grid-column: 1;
	}

	.item2{
		grid-row:1;
		grid-column: 2;
	}
}


/* 記事ごとにボックスを描く  */
.content-box {
	background-color: beige;
	box-sizing: border-box;
	border: 4px solid green;
	margin : 5px 0 10px 0;
	padding: 0 5px 0 5px;
}


/* ボックスを可変個表示し、横幅を超えた分は自動で折り返し  */
/* 親要素 */
.content-box-wrap {
	display: flex;
	flex-wrap: wrap;
	height: auto;
	padding: 10px 20px;
	flex-direction: row;
	align-items: flex-end;
}


/* 子要素 */
.content-box-wrap-list {
	width: 300px;
	height: 100%;
	background: green;
	color: white;
	text-align: left;
	margin: 0 5px;
	
}

.content-box-wrap-list h2{
	text-align: center;
}


model-3Dviewer {
  width: 1200px;
  height: 800px;
  background-color: #CC99CC;
}
model-3Dviewer#reveal {
    --poster-color: transparent;
}



