@charset "utf-8";
/* CSS Document */

#jsddm li.department a.title {
  background-position: bottom;
}

#top-title {
  background-image: url(../img/head-title.gif);
  height: 45px;
  width: 900px;
  margin-top: 2px;
}

#contents-left h3 {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 135%;
  line-height: 28px;
  padding-bottom: 5px;
  border-bottom: #606060 1px solid;
  font-weight: normal;
  background-repeat: no-repeat;
  padding-left: 15px;
  height: 28px;
  text-align: left;
  background-image: url(../../img/title-left-h3.gif);
}

#contents-left h4 {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 135%;
  line-height: 28px;
  padding-bottom: 5px;
  border-bottom: #606060 1px dashed;
  font-weight: normal;
  background-repeat: no-repeat;
  padding-left: 15px;
  background-image: url(../img/title-left-h4.gif);
}

#co-block #categ-list {
  height: auto;
  display: table;
  padding: 0px 0px 0px 0px;
}

#co-block #categ-list-kobetu {
  height: auto;
  display: table;
  padding: 15px 0px 15px 40px;
  font-size: 110%;
  line-height: 200%;
}

#co-block #categ-list-block {
  clear: both;
  padding: 0px;
  display: table;
  padding: 10px 0;
  border-bottom: 1px dotted #aaa;
  width: 660px;
}

#co-block #categ-list-block .pic {
  float: left;
  width: 50px;
  margin: 0 10px;
  display: block;
}

#co-block #categ-list-block .text {
  float: right;
  width: 575px;
  margin-right: 10px;
  display: block;
}

#co-block #categ-list-block .text .category {
  font-size: 120%;
  line-height: 175%;
}

#co-block #categ-list-block .text .person {
  font-size: 100%;
  line-height: 175%;
}

/*部門別ページ用*/
#co-block h5 {
  font-size: 115%;
  line-height: 170%;
}

#person-list {
  margin: 20px 0px;
  padding: 0px;
}

.person-block {
  float: left;
  width: 165px;
  text-align: center;
  margin-bottom: 20px;
}

.person-block p.name {
  width: auto;
  text-align: center;
  line-height: 150%;
  padding-top: 10px;
}

.contact img {
  vertical-align: middle;
}

/*職員一覧用*/
#section-one-line {
  width: 100%;
  margin-top: 20px;
  clear: both;
  display: table;
}

#section-one-line #co-block-left {
  width: 48%;
  float: left;
  display: block;
}

#section-one-line #co-block-left ul {
  padding: 20px 0px;
  list-style: none;
  font-size: 110%;
  line-height: 150%;
}

#section-one-line #co-block-right {
  width: 48%;
  float: right;
  display: block;
}

#section-one-line #co-block-right ul {
  padding: 20px 0px;
  list-style: none;
  font-size: 110%;
  line-height: 150%;
}

#section-one-line ul a {
  color: #b09560
}

/*研究室詳細　動画、スライド改造後*/
.movie {
  margin-bottom: 10px;
}

.graybox {
  background-color: #fff;
  padding: 15px 20px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid #555;
  color: #595757;
}

.video_wrap {
  width: 180px;
  float: left;
  margin-right: 10px;
}

.youtube {
  display: block;
  position: relative;
  width: 180px;
  height: 135px;
}

.play_btn {
  position: absolute;
  top: 0;
  left: 0;
}

.play_btn:hover {
  opacity: .75;
  /* Standard: FF gt 1.5, Opera, Safari */
  filter: alpha(opacity=75);
  /* IE lt 8 */
  -ms-filter: "alpha(opacity=75)";
  /* IE 8 */
  -khtml-opacity: .75;
  /* Safari 1.x */
  -moz-opacity: .75;
  /* FF lt 1.5, Netscape */
}

.youtube_title {
  margin: 5px 0;
}

/*Slideshow style rules. */
#lab-mainphoto {
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  background-color: #fff;
  border: 1px #ccc solid;
}

#lab-mainphoto img {
  clear: both;
}

.lab_desc {
  text-align: center;
  padding: 10px 30px;
  margin: 10px 0;
}

#slideshow {
  margin: 0 auto;
  width: 100%;
  position: relative;
}

#slideshow #slidesContainer {
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
  /* allow scrollbar */
  //position:relative;
}

#slideshow #slidesContainer .slide {
  margin: 0 auto;

  text-align: center;
}

#slideshow #slidesContainer .slide span {
  display: block;
  width: 520px;
  margin: 25px auto;
  overflow: hidden;
}

#slideshow #slidesContainer img {
  text-align: center;
  clear: both;
}

/* Slideshow controls style rules.*/

.control {
  display: block;
  width: 15px;
  height: 350px;
  text-indent: -10000px;
  position: absolute;
  cursor: pointer;
}

#leftControl {
  top: 150px;
  left: 30px;
  background: transparent url(https://www.nibb.ac.jp/sections/img/vec-left_bk.png) no-repeat 0 0;
}

#rightControl {
  top: 150px;
  right: 30px;
  background: transparent url(https://www.nibb.ac.jp/sections/img/vec-right_bk.png) no-repeat 0 0;
}




/**2019 10**/
#top_wrap .top_right #sections .inner .content .left {
  width: 100%;
  float: none;
  box-sizing: border-box;
  border-bottom: 0px solid #d9d9d9;
}

#top_wrap .top_right #sections .inner .content .left h3 {
  font-size: calc(1em + 0.3vw);
  border-left: 5px solid #00B2EA;
  line-height: 1.2;
  padding-left: 1vw;
  width: 100%;
  background-color: #f7f7f7;
  padding: 0.8vw;
  font-weight: normal;
  border-bottom: 0px;
  margin-bottom: 0.5vw;
  margin-top: 0vw;
  display: inline-block;
box-sizing: border-box;
}

#top_wrap .top_right #sections .inner .content .right ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 2%;
  box-sizing: border-box;
}

#top_wrap .top_right #sections .inner .content .right ul li {
  width: 50%
}

#top_wrap .top_right #sections .inner .content .right {
  width: 100%;
  float: none;
  box-sizing: border-box;
  border-left: 0px solid #d9d9d9;
  min-height: 5em;
}

#top_wrap .top_right #sections .inner .content .right ul li {
  border-bottom: 0px solid #d9d9d9;
  display: flex;
}

#top_wrap .top_right #sections .inner .content .right ul li a {
  display: block;
  margin: 2%;
  overflow: hidden;
  padding: 0%;
  padding-bottom: 5px;
  color: #333333;
  border-radius: 5px;
  position: relative;
  min-height: 50px;
  /* box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 6px 6px rgba(0,0,0,0.16); */
  /* box-shadow: 0 1px 6px rgba(0,0,0,.2); */
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

#top_wrap .top_right #sections .inner .content .right ul li a .img{
  width: 30%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  display: block;
  min-height: 1.3vw;
  padding-top: 0%;
  padding-left: 0%;
  /* margin-top: -2%; */
  margin-left: 0%;
  right: 0;
}

#top_wrap .top_right #sections .inner .content .right ul li a .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  float: left;
  display: block;
  min-height: 1.3vw;
  padding-top: 0%;
  padding-left: 0%;
}

#top_wrap .top_right #sections .inner .content .right ul li span {
  display: block;
}

#top_wrap .top_right #sections .inner .content .right ul li a .text{
  width: 70%;
  float: left;
}


#top_wrap .top_right #sections .inner .content .right ul li span.position_class {
  background-color: #f0f0f0;
  border: 0px solid #555;
  color: #333;
  font-size: 12px;
  display: inline-block;
  padding: 0px 10px;
  border-radius: 3px;
  margin-left: 10px;
}

#top_wrap .top_right #sections .inner .content .right ul li .nolink .text h4 {
  font-weight: normal;
  border-bottom: 0px solid #00b9ef;
  line-height: 1.6;
  width: auto;
  clear: none;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 5%;
  padding-top: 3%;
  color: #555;
  font-size: 1.1vw;
  font-weight: normal;
}

/*
スマホ用CSS
______________________________________________*/
@media screen and (max-width: 1580px) {
  #top_wrap .top_right #sections .inner .content .right ul li {
    width: 100%
  }

}

/*
スマホ用CSS
______________________________________________*/
@media screen and (max-width: 1000px) {
  #top_wrap .top_right #sections .inner .content .left h3 {
    font-size: 5vw;
    padding-left: 3vw;
    padding-top: 0;
    line-height: 1.6;
    font-weight: normal;
    display: inline-block;
  }


}



#top_wrap .top_right #sections .inner .content .right ul li .nolink {
  display: block;
  width: 98%;
  margin: 0 auto;
  overflow: hidden;
  padding: 1%;
  padding-bottom: 0.5%;
  color: #333333;
}

#top_wrap .top_right #sections .inner .content .right ul li .nolink .img {
  width: 11%;
  float: left;
  display: block;
  min-height: 1.3vw;
  padding-top: 2%;
  padding-left: 2%;
}

#top_wrap .top_right #sections .inner .content .right ul li .nolink .text {
  width: 87%;
  float: left;
}

#top_wrap .top_right #sections .inner .content .right ul li .nolink .text h4 {
  font-weight: normal;
  border-bottom: 0px solid #00b9ef;
  line-height: 1.6;
  width: auto;
  clear: none;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 5%;
  padding-top: 3%;
  color: #555;
  font-size: 1.1vw;
  font-weight: normal;
}





@media screen and (max-width: 1000px) {
  #top_wrap .top_right #sections .inner .content .right ul li .nolink .text h4 {
    padding-left: 5%;
    padding-top: 5%;
    color: #555;
    font-size: 3vw;
    font-weight: normal;
  }

#top_wrap .top_right #sections .inner .content .right ul li {
  font-size: 3vw;
}
#top_wrap .top_right #sections .inner .content .right ul li span.position_class {
  font-size: 2vw;
}

#top_wrap .top_right #sections .inner .content .right ul li .text h4 {
    padding-left: 5% !important;
    padding-top: 5% !important;
  }

#top_wrap .top_right #sections .inner .content .right ul li .text p {
    padding-left: 5% !important;
    padding-top: 1.5% !important;
}

}





/*! CSS Used from: https://www.nibb.ac.jp/settings/css/layout_201806.css */
@media screen and (min-width: 1000px) {

  #top_wrap .top_right #sections .inner .content .right ul li .nolink .text h4 {
    //font-size: 3vw;
  }

}

/*! CSS Used from: https://www.nibb.ac.jp/sections/style/section.css */
#top_wrap .top_right #sections .inner .content .right ul li .nolink {
  display: block;
  margin: 2%;
  overflow: hidden;
  padding: 0%;
  padding-bottom: 5px;
  color: #333333;
  border-radius: 5px;
  position: relative;
  min-height: 50px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

#top_wrap .top_right #sections .inner .content .right ul li .nolink .img {
  width: 30%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  display: block;
  min-height: 1.3vw;
  padding-top: 0%;
  padding-left: 0%;
  margin-left: 0%;
  right: 0;
}

#top_wrap .top_right #sections .inner .content .right ul li .nolink .text {
  width: 70%;
  float: left;
}


#top_wrap .top_right #sections .inner .content .right ul li .nolink .text p {
 padding-left: 5%;
    padding-top: 1.5%;
    padding-bottom: 4%;
    font-size: 15px;
}


#top_wrap .top_right #sections .inner .content .left span {
    margin-top: 1vw;
}








@media screen and (max-width: 1000px) {
/*Slideshow style rules. */
#lab-mainphoto {
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  background-color: #fff;
  border: 1px #ccc solid;
}

#lab-mainphoto img {
  clear: both;
}

.lab_desc {
  text-align: center;
  padding: 10px 30px;
  margin: 10px 0;
}

#slideshow {
  margin: 0 auto;
  width: 100%;
  height: 350px;
  position: relative;
}

#slideshow #slidesContainer {
  margin: 0 auto;
  width:100% !important;
  height:auto !important;
  overflow: hidden;
  /* allow scrollbar */
  //position:relative;
}

#slideshow #slideInner{
width: 100% !important;
}

#slideshow #slidesContainer .slide {
  margin: 0 auto;
  width: 100% !important;
  /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */
  height: auto !important;
  text-align: center;
}

#slideshow #slidesContainer .slide span {
  display: block;
  width: 90%;
  margin: 25px auto;
  overflow: hidden;
}

#slideshow #slidesContainer img {
  text-align: center;
  clear: both;
}

/* Slideshow controls style rules.*/

.control {
  display: block;
  width: 15px;
  height: 350px;
  text-indent: -10000px;
  position: absolute;
  cursor: pointer;
}

#leftControl {
  top: 150px;
  left: 30px;
  background: transparent url(https://www.nibb.ac.jp/sections/img/vec-left_bk.png) no-repeat 0 0;
}

#rightControl {
  top: 150px;
  right: 30px;
  background: transparent url(https://www.nibb.ac.jp/sections/img/vec-right_bk.png) no-repeat 0 0;
}

}









