/* Author: Chihiro Nakatani */
/* Date : August 31th, 2021 */
/* This script defined functions for lab website */


/* ---------------------- basic content ------------------------- */
#content_wrapper {
    display: flex;
}

#left_bar {
	margin: 0 auto;
	text-align: center;
    width: 15%;
}

#left_frame {
	position: sticky;
	top: 10px;
	font-size: 1.2rem;
}



#fb_frame {
	position: sticky;
	top: 10px;
}



/* ---------------------- sub content (html tag)------------------------- */

a {
	text-decoration: none;
	color: #0000ff;
}

ul {
	margin: 0px 0px 0px 30px;
	padding-left: 0rem;
}

li {
	margin: 10px 0px 0px 0px;
}

/* ---------------------- sub content (id)------------------------- */

#left_logo_02_img {
    width: 70%;
    height: auto;
	max-width: 200px;
}

#left_logo_04_img {
    width: 70%;
    height: auto;
	max-width: 200px;
}

/* ---------------------- sub content (class) ------------------------- */


.content_small {
	margin: 0px 0px 30px 30px;
}

.content_all {
	width: 95%;
	padding: 10px 10px 20px 20px;
	line-height: normal;
	text-align: left;
	font-family: 'Verdana';
	font-size: 12px;
	color: #000000;
}

.main_img{
	padding: 0px 0 20px 20px;

}

.button_wrapper{
	text-align:center;
 }

.left_menu{
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}


/* .sub_title_name {
	padding: 0px 0px 0px 5px;
	font-family: 'Verdana';
	font-size: 20px;
	color: #000000;
} */


.sub_title_name {
	font-size: 16px;
	color: #494949;
	font-weight: bolder;
	position: relative;
	padding-top: 1em;
	padding-left: 25px;
	max-width: 140px;
	}
	
.sub_title_name:before {
	position: absolute;
	content: '';
	bottom: -8px;
	left: 0;
	width: 0;
	height: 0;
	border: none;
	border-left: solid 11px transparent;
	border-bottom: solid 11px #248cee;
	}

.sub_title_name:after {
	position: absolute;
	content: '';
	bottom: -8px;
	left: 10px;
	width: 100%;
	border-bottom: solid 3px #248cee;
	}

.grade_container {
	display:  inline-block;
}

.member_box {
	display: inline-block;
	text-align: center; /* ¥­¥ã¥×¥·¥ç¥ó¤È»­Ïñ¤òÖÐÑë“B¤¨¤Ë¤¹¤ë */
	white-space: nowrap; /* ¥Æ¥­¥¹¥È¤¬ÕÛ¤ê·µ¤µ¤ì¤Ê¤¤¤è¤¦¤Ë¤¹¤ë */
	overflow: hidden; /* ¥­¥ã¥×¥·¥ç¥ó¤Î¥ª©`¥Ð©`¥Õ¥í©`¤òëL¤¹ */
	margin: 0 12px; /* »­Ïñég¤Îég¸ô¤òÕ{Õû */
  }

.member_box img {
	height: 150px;
  }

.member_name {
	text-align: center;
	font-size: 1rem;
	margin-top: 0.2rem;
	margin-bottom: 0.5rem;
}

.scrollbox {
  width: 95%;
  height: 200px;
  overflow: scroll;
}

.scrollbox-ul {
	padding-left: 0rem;
  }


/* ---------------------- ¥Ø¥Ã¥À»­ÏñÇÐ¤êÌæ¤ï¤ê ------------------------- */
/*==================================================
¥¹¥é¥¤¥À©`¤Î¤¿¤á¤Îcss
===================================*/



.slider{
	position: relative;
	width: 100%;
  }
  .items{
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 60%;
	margin: 0 0 10px 0;
  }
  .item{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity .6s ease-in-out;
  }
  .current{
	opacity: 1;
  }
  /* .item > img{
	max-width: 85%; 
	height: auto;
	object-fit: cover;
  } */

  .dots{
	position: absolute;
	bottom: -20px;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 10px;
  }
  .dot{
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	outline: none;
	padding: 0;
	background: #777;
	cursor: pointer;
	opacity: .5;
	transition: opacity .4s ease-in-out;
	&:nth-child(n+2){
	  margin-left: 5px;
	}
	&.current{
	  opacity: 1;
	}
  }

  .buttons{
	position: absolute;
  
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
  }

  .button{
	width:32px;
	height:32px;
	border: none;
	outline: none;
	padding:0;
	background: transparent center no-repeat;
	cursor: pointer;
	opacity:.4;
	&.prev{
	  background-image: url(/Lab/Denshi/ico_next_b32.png);
	}
	&.next{
	  background-image: url(/Lab/Denshi/ico_next_b32-1.png);
	}
	&:hover{
	  opacity:.8;
	}
  }


.youtube {
width: 80%;
aspect-ratio: 16 / 9;
margin: 0 0 2em 0;
}
.youtube iframe {
width: 100%;
height: 100%;

}


@media screen and (max-width:639px) {
	/*¥¹¥Þ¥ÛÓÃ¤Îcss¤òÓ›Êö*/
	#left_frame {
		position: sticky;
		top: 10px;
		font-size: 1rem;
	}
	
	#right_frame {
		margin: 0 auto;
		width: 85%;
	}
	.title_img {
		
		width: 100%;
		height: auto;
	}
	.content_img {
		margin: 10px 0px 20px 20px;
		width: 90%;
	}
	.header_img {
		width: 95%;
		height: auto;
		text-align: center;
	}
	#fb_bar {
		margin: 0 auto;
		width: 80%;
	}

	#fb_iframe {
		display: block;
		margin: 0 0;
		max-width: 100%;      
	}

	.sub_title {
		padding: 0px 0px 10px 10px;
		font-family: 'Verdana';
		font-size: 1.5rem;
		color: #000000;
		font-weight:bold;
		/* text-decoration:underline;
		text-decoration-color:#1d7bd9; */
		color: #494949;/*ÎÄ×ÖÉ«*/
		background: transparent;/*±³¾°Í¸Ã÷¤Ë*/
		border-left: solid 5px #7db4e6;/*×ó¾€*/
	}

	.section {
		height: 12px;
	}

	.grade_container {
		display: inline-block;
		padding: 0  0 0 5%;
	}

	.member_box {
		margin: 0 5px; /* »­Ïñég¤Îég¸ô¤òÕ{Õû */
	}
	
	.sub_title_name {
		font-size: 1.3rem;
		color: #494949;
		font-weight: bolder;
		position: relative;
		padding-top: 0.5em;
		padding-left: 25px;
		max-width: 140px;
		}


	.youtube {
		width: 100%;
		aspect-ratio: 16 / 9;
		margin:0 0 2em 0;
		padding:0;
		line-height:0;
	}
	.youtube iframe {
		width: 100%;
		height: 100%;
	}

	.item > img{
		max-width: 100%; 
		height: auto;
		object-fit: cover;
	  }
	
	}

@media only screen and (min-width:640px) and (max-width:1023px) {
	/*tabletÓÃ¤Îcss¤òÓ›Êö*/
	#left_frame {
		position: sticky;
		top: 10px;
	}
	/* h2{
		font-size:1em;
		} */
	.content_img {
		margin: 10px 0px 20px 20px;
		width: 90%;
		height: auto;
	}
	.header_img {
		width: 95%;
		height: auto;
		text-align: center;
	}
	.title_img {
		width: 100%;
		height: auto;
	}

	#right_frame {
		margin: 0 auto;
		width: 85%;
	}
	
	#fb_bar {
		margin: 0 0 0 0;
		width: 100%;
	}

	#fb_iframe {
		display: block;
		margin: 0 0 0 0;
		max-width: 100%;      
	}

	.sub_title {
		padding: 0px 0px 10px 10px;
		font-family: 'Verdana';
		font-size: 20px;
		color: #000000;
		font-weight:bold;
		/* text-decoration:underline;
		text-decoration-color:#1d7bd9; */
		color: #494949;/*ÎÄ×ÖÉ«*/
		background: transparent;/*±³¾°Í¸Ã÷¤Ë*/
		border-left: solid 5px #7db4e6;/*×ó¾€*/
	}

	.section {
		height: 12px;
	}

	.grade_container {
	display:  inline-block;
  	}

	.member_box {
		margin: 0 7px; /* »­Ïñég¤Îég¸ô¤òÕ{Õû */
	}

	.sub_title_name {
		font-size: 12px;
		color: #494949;
		font-weight: bolder;
		position: relative;
		padding-top: 0.5em;
		padding-left: 25px;
		max-width: 140px;
		}

	.youtube {
		width: 100%;
		aspect-ratio: 16 / 9;
		margin:0 0 2em 0;
		padding:0;
		line-height:0;
	}
	.youtube iframe {
		width: 100%;
		height: 100%;
	}

	.item > img{
		max-width: 85%; 
		height: auto;
		object-fit: cover;
	  }
	}
		
@media screen and (min-width:1024px) {
	/*pcÓÃ¤Îcss¤òÓ›Êö*/
	#right_frame {
		margin: 0 auto;
		width: 55%;
	}
	.header_img {
		margin: 0 auto;
		width: 80%;
		height: auto;
		text-align: center;
	}
	.content_img {
		margin: 10px 0px 20px 20px
	}
	
	#fb_bar {
		margin: 0 auto;
		width: 30%;
	}

	#fb_iframe {
		display: block;
		margin: 0 auto;
		max-width: 100%;      
	}

	.sub_title {
		padding: 0px 0px 10px 10px;
		font-family: 'Verdana';
		font-size: 24px;
		color: #000000;
		font-weight:bold;
		/* text-decoration:underline;
		text-decoration-color:#1d7bd9; */
		color: #494949;/*ÎÄ×ÖÉ«*/
		background: transparent;/*±³¾°Í¸Ã÷¤Ë*/
		border-left: solid 5px #7db4e6;/*×ó¾€*/
	}

	.section {
		height: 14px;
	}


	.item > img{
		max-width: 100%; 
		height: auto;
		object-fit: cover;
	  }
	}

/* ---------------------- ¥¹¥Þ¥Û/PCÇÐ¤êÌæ¤¨ ------------------------- */

.for-pc { display:block; }
.for-sp { display:none; }

@media only screen and (max-width : 821px){
  .for-pc { display:none; }
  .for-sp { display:block; }
}


/* .box{
	position: relative;
  }

.slider_fade {
    position: relative;
    padding-left: 0rem;
	padding-right: 5rem;
	margin: 0 0 0 0;
}


 
.slider_fade > li {
    position: absolute;
    list-style: none;
    visibility: hidden;
    animation: anime_slider_fade 16s 0s infinite;
    
}
.slider_fade > li:nth-of-type(2) {
    animation-delay: 4s;
}
.slider_fade > li:nth-of-type(3) {
    animation-delay: 8s;
}
.slider_fade > li:nth-of-type(3) {
    animation-delay: 12s;
}
 
@keyframes anime_slider_fade {
    0% {
        visibility: visible;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
    }
    48.3% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
} */


/* »­Ïñ¥µ¥¤¥º¤Î×Ô„ÓÕ{Õû */
/* .unity_images {
    /* display: flex;
    flex-wrap: wrap; */
    /* padding: 0px;
    margin: -20px -10px 0px;
    list-style: none;
}

.unity_images > li {
    position: relative;
    padding-top: 20%;
    margin: 20px 10px 0px;
    width: calc(100% / 4 - 20px);
    overflow: hidden;
}

.unity_images > li > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 150%;
} */ */
