@charset "UTF-8";

/* ==== root ========================== */
:root {
  --color-black: #323232;
  --color-white: #ffffff;
  --color-primary: #3ab86f;
  --color-bg-green: #F1F7F4;
  --color-line-gy: #ECECEC;

  --noto-sans: "Noto Sans JP", sans-serif;
  --raleway: "Raleway", sans-serif;
}

/*================================================
 * Laboratory
 ================================================*/
#laboratory h3 {
  margin-top: 3.6rem;
}

.keyword {
  margin: 5rem 0;
  padding: 3rem 4rem;
  background: #E9F5EF;
}

.keyword p {
  font-size: 1.8rem;
  position: relative;
  padding-left: 2.7rem;
  margin-bottom: 1.5rem;
}

.keyword p::before {
  position: absolute;
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../../courses/image/icon_search.png);
  width: 2.4rem;
  height: 2.4rem;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-buttons button {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.8rem 1.6rem;
  border-radius: 1000px;
  border: 1px solid #D6E4DC;
  background: var(--color-white);
  line-height: 1;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}


.filter-buttons button.target {
  border-color: #818181;
}

.filter-buttons button.key {
  border-color: #388d75;
}


.filter-buttons button.active {
  color: var(--color-white);
}

.filter-buttons button.target.active {
  background: #818181;
}

.filter-buttons button.key.active {
  background: #388d75;
}


.filter-buttons .clear {
  width: 100%;
  margin-top: 2rem;
}

.filter-buttons .clear button {
  margin: 0 auto;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
  border-color: var(--color-black);
  padding: 0.8rem 3.3rem 0.8rem 1.7rem;
  text-align: center;
  position: relative;
}

.filter-buttons .clear button::before,
.filter-buttons .clear button::after {
  position: absolute;
  content: "";
  width: 1.5rem;
  height: 0.1rem;
  background: var(--color-white);
  top: 1.5rem;
  right: 1rem;
}

.filter-buttons .clear button::before {
  transform: rotate(45deg);
}

.filter-buttons .clear button::after {
  transform: rotate(-45deg);
}

.c-hidden {
  display: none;
}

/*
.result {
  display: grid;
  gap: 4rem 2rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 6.4rem;
}*/
.result {
    display:flex;
    flex-wrap:wrap;
    gap:3rem 10px;
}

.result_card {
  border-bottom:1px dotted #9dc1ac;
   flex: 0 0 calc((100% - 20px) / 3); /* 横幅を3分割 - gap考慮 */
  box-sizing: border-box;
  margin-bottom:3rem;
}

.result_card img {
  padding:1rem;
  background-color:#fff;
}

.result_card h4 {
  font-size: 1.8rem;
  padding-top:0.9rem;
  font-weight:500;
  border-bottom:1px solid #9dc1ac;
}

.result_card span {
  padding: 1.5rem 0 0.9rem 0;
  font-size:1.2rem;
  display:inline-block;
}
/*
.result_card .flex--center > img
{
  border:none;
  margin-right:3px;

}*/
/*
.result_card .tag {
  word-break:keep-all; これがあるとiPadの3カラム表示がおかしくなった
}
*/

@media screen and (max-width:1024px) {
  .keyword p {
    font-size: 1.6rem;
  }

  .keyword {
    padding: 3rem 1rem;
  }

  .filter-buttons button {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
  }

.result_card {
   flex: 0 0 calc((100% - 20px) / 2); /* 横幅を2分割 - gap考慮 */
}

  .result_card span {
    font-size: 1.2rem;
    margin: 1.6rem 0 0.6rem;
  }

  .result_card h4 {
    font-size: 1.6rem;
  }

}

@media screen and (max-width:576px) {
  .result_card {
   flex: 0 0 calc((100% - 20px) / 1); /* 横幅を2分割 - gap考慮 */
}
  .result_card p {
    font-size: 1.4rem;
  }
  .keyword {
    padding: 2rem 1rem;
  }
  .filter-buttons button {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
  }

}

/*================================================
 * faculty
 ================================================*/
/*#faculty::before { 　※base.css に .diagonalとして移動（共通利用）
  position: absolute;
  content: "";
  background: var(--color-white);
  top: 0;
  bottom: 0;
  left: 0;
  right: 11rem;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 23.4rem) 100%, 0% 100%);
}
*/
#faculty .narrow {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 11rem;
}

#faculty h2.sp {
  display: none;
}

.faculty_img {
  width: 42rem;
}

.faculty_txt {
  padding-right: 7rem;
}

.faculty_txt p {
  margin: 4rem 0;
}

@media screen and (max-width:1024px) {
  #faculty {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
/*
  #faculty::before {　※base.css に .diagonalとして移動（共通利用）
    background: var(--color-white);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    clip-path: unset;
    opacity: 0.8;
  }*/

  #faculty .narrow {
    display: block;
  }

  #faculty h2.pc {
    display: none;
  }

  #faculty h2.sp {
    display: block;
    max-width: 40rem;
    margin: 0 auto;
  }

  .faculty_img {
    width: 100%;
    max-width: 40rem;
    margin: 4.5rem auto 3rem;
  }

  .faculty_txt {
    padding: 0;
    max-width: 40rem;
    margin: 0 auto;
  }

  .faculty_txt p {
    margin: 3rem 0;
  }
}


/*================================================
 * equipment
 ================================================*/
#equipment .narrow {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15rem;
}

#equipment h2.sp {
  display: none;
}

.equipment_img {
  width: 42rem;
}

.equipment_txt p {
  margin: 4rem 0;
}

@media screen and (max-width:1024px) {
  #equipment {
    padding-bottom: 6rem;
  }

  #equipment .narrow {
    display: block;
  }

  .equipment_img {
    width: 100%;
    max-width: 40rem;
    margin: 4.5rem auto 3rem;
  }

  .equipment_txt {
    padding: 0;
    max-width: 40rem;
    margin: 0 auto;
  }

  .equipment_txt p {
    margin: 3rem 0;
  }
}

/*================================================
 * other
 ================================================*/
#other .wm-460 .clm_img img {
  width: 100%;
  height: 20rem;
  background: #EFEFEF;
  margin-bottom: 2rem;
  overflow: hidden;
  object-fit: cover;
}

@media screen and (max-width:1024px) {}


/*================================================
 * detail
 ================================================*/
/* fix_inspection */
#fix_inspection {
  position: fixed;
  width: 16rem;
  right: 1.8rem;
  bottom: 2rem;
  z-index: 10;
}

body.over-bg {
  position: relative;
}

body.over-bg::before {
  position: fixed;
  content: "";
  width: 100%;
  height: 100%;
  background: rgb(50 50 50 / 60%);
  top: 0;
  left: 0;
  z-index: 101;
  transform: .4s;
}

.researchNav {
  background: #323232;
  width: 17rem;
  height: 4.1rem;
  border-radius: 1000px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: .2s;
}

.researchNav.open {
  z-index: 102;
}

.researchNav::before,
.researchNav::after {
  position: absolute;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  top: 50%;
  left: 2.4rem;
  transform: translateY(-50%);
  line-height: 1;
  transition: .4s;
  width: 10.7rem;
  text-align: center;
}

.researchNav::before {
  content: "その他の研究室";
}

.researchNav.open::before {
  opacity: 0;
}

.researchNav::after {
  content: "閉じる";
  opacity: 0;
}

.researchNav.open::after {
  opacity: 1;
}

.researchNav_line {
  background: var(--color-white);
  width: 1.5rem;
  height: 0.1rem;
  display: block;
  position: absolute;
  right: 1.6rem;
  transition: .4s;
}

.researchNav_line.line01 {
  top: 1.6rem;
}

.researchNav_line.line02 {
  top: 2.1rem;
}

.researchNav_line.line03 {
  top: 2.6rem;
}

.researchNav.open .researchNav_line.line01 {
  transform: rotate(45deg);
  top: 2rem;
}

.researchNav.open .researchNav_line.line02 {
  opacity: 0;
}

.researchNav.open .researchNav_line.line03 {
  transform: rotate(-45deg);
  top: 2rem;
}

.researchNav_inner {
  opacity: 0;
  pointer-events: none;
  background: var(--color-white);
  border-radius: 0.5rem;
  padding: 2rem 2.7rem;
  font-size: 1.5rem;
  width: 26.5rem;
  line-height: 2;
  position: absolute;
  top: 6rem;
  right: 0;
  transition: .2s;
}

.researchNav.open .researchNav_inner {
  opacity: 1;
  pointer-events: fill;
}

.researchNav_inner::before {
  position: absolute;
  content: "";
  bottom: 1rem;
  left: 0;
  width: 100%;
  height: 10rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 10%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 1) 50%);
  pointer-events: none;
  transition: all 0.3s ease;
}

.researchNav_inner ul {
  max-height: 55.6rem;
  padding-bottom: 10rem;
  overflow-y: scroll;
}

.researchNav_inner ul::-webkit-scrollbar {
  width: 0.6rem;
  background-color: #E5E5E5;
  border-radius: 100px;
}

.researchNav_inner ul::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  width: 0.6rem;
  border-radius: 100px;
}

.researchNav.open ul a:hover {
  color: #0D6E53;
}


.outline_table {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
}

.outline_table dt {
  width: 24rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  padding-left: 3.2rem;
  position: relative;
}

.outline_table dt::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  top: 0.5rem;
  left: 0;
  width: 2.1rem;
  height: 1.6rem;
}

.outline_table dt.ttl_hp::before {
  background-image: url(../../../courses/image/icon_outline01.png);
}

.outline_table dt.ttl_seminar::before {
  background-image: url(../../../courses/image/icon_outline02.png);
  width: 2.3.73rem;
  height: 1.91rem;
}

.outline_table dt.ttl_media::before {
  background-image: url(../../../courses/image/icon_outline03.png);
}

.outline_table dt h4 {
  font-size: 1.4rem;
}

.outline_table dt img {
  width: 2.1rem;
}


.outline_table dd {
  width: calc(100% - 24rem);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 1.8rem;
  font-size: 1.4rem;
}

.outline_table dd::before {
  position: absolute;
  content: "";
  width: 0.1rem;
  height: 2rem;
  background: #CCCCCC;
  top: 0.7rem;
  left: 0;
}

.outline_table dd a {
  color: #0D6E53;
  text-decoration: underline;
  position: relative;
}

.outline_table dd a[target="_blank"] {
  padding-right: 1.75em;
}

.outline_table dd a[target="_blank"]::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../img/icon_blank_gr.png);
  width: 1.25em;
  height: 1.25em;
  top: 0.5rem;
  right: 0;
}

.info-inner {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.info-ttl {
  font-size: 1.4rem;
  padding-right: 2.4rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}

.info-ttl .icon_info {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../img/icon_info.png);
  width: 2rem;
  height: 2rem;
  top: 0.5rem;
  right: 0;
  cursor: pointer;
}

.info-box {
  position: absolute;
  top: 5rem;
  right: -18.9rem;
  width: 39.3rem;
  height: auto;
  padding: 0 2rem 0;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1;
  font-weight: 400;
}

.info-box::before {
  position: absolute;
  content: "";
  width: 39.3rem;
  height: 13rem;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../img/info_fuki.png);
  z-index: -1;
}

.info-box.active {
  opacity: 1;
  visibility: visible;
}

.teaching {
  margin-bottom: 6.4rem;
}

.teaching_list {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 2rem;
  margin-top: 1.6rem;
}

.teaching_list .teaching_card_l {
  width: 22rem;
}
.teaching_list .teaching_card_s {
  width: 16rem;
}

.teaching_img {
  position: relative;
}

.teaching_img span {
  position: absolute;
  width: 6rem;
  height: 2.5rem;
  color: var(--color-white);
  background: var(--color-primary);
  font-size: 1.1rem;
  display: grid;
  place-content: center;
  clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
  bottom: 0;
  left: 0;
  padding-right: 1rem;
}

.teaching_list .teaching_card_l .teaching_img span,
.teaching_list .teaching_card_l .teaching_img span {
  font-size: 1.4rem;
  width: 9rem;
  height: 3.4rem;
}

@media screen and (max-width:520px) {
.teaching_list .teaching_card_l .teaching_img span,
.teaching_list .teaching_card_l .teaching_img span {
  height: 2.4rem;
}

}

.teaching_list h4 {
  font-size: 1.8rem;
  margin-top: 1rem;
}

.teaching_list h4 i.c-mail {
  margin-left: 0.4rem;
}


@media screen and (max-width:1024px) {

  /* fix_inspection */
  #fix_inspection {
    width: 12rem;
  }

  .researchNav {
    position: relative;
    margin-left: auto;
  }

  .outline {
    margin-bottom: 6rem;
  }

  .outline_table dt {
    width: 100%;
    padding-left: 3rem;
    margin-bottom: 1rem;
  }

  .outline_table dt h4 {
    font-size: 1.2rem;
    padding-right: 1rem;
  }

  .outline_table dt h4.info-ttl {
    font-size: 1.2rem;
    padding-right: 3rem;
  }

  .info-ttl .icon_info {
    width: 1.6rem;
    height: 1.6rem;
    right: 1rem;
  }

  .outline_table dd {
    width: 100%;
    padding-left: 1.2rem;
    font-size: 1.2rem;
    white-space: wrap;
  }


  .outline_table dd::before {
    top: 0.3rem;
  }

  .outline_table dd a {
    word-break: break-word;
    overflow-wrap: break-word;
  }

}


.lab_detail img {
  border:1px solid #e7e7e7;
}

.lab_detail .theme {
  padding-top:3rem;
  padding-bottom:3rem;
}

.lab_detail .theme > h3 {
  margin-bottom:1.6rem;
}

.lab_detail ul {
  margin:1em 0 1em 1.5em;
}
.lab_detail ul li {
  list-style: disc;
}

.labclosed {
  color:#c13434;
  background-color:#f5ccd0;
  padding:0.5em;
  margin-bottom:3rem;
}


@media screen and (max-width:576px) {
  .teaching_list {
   justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem 0; 
    margin-left: auto;
    margin-right: auto;
  }

  .teaching_list .teaching_card_l {
    width: 48%;
  }

  .teaching_list .teaching_card_s {
    width: 48%;
  }
 .lab_detail .flex,
  .lab_detail .txtimg-clm2{
  display:block;
 } 

}


/*================================================
 * NAIST Edge BIO
 ================================================*/

 .bse_list {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-wrap: wrap;
  gap: 4rem 2rem;
  margin-top: 6.4rem;
  margin-bottom: 4rem;
}

.bse_list li {
  max-width: 46rem;
  padding-bottom: 2.4rem;
  border-bottom: 0.1rem solid #E5E5E5;
}

.bse_list li a {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-wrap: wrap;
  gap: 2.4rem;
}

.bse_list .re_img {
  position: relative;
  background: #EFEFEF;
  width: 22rem;
  height: auto;
  aspect-ratio: 300/200;
}

.bse_list .re_img img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}

.bse_list .re_txt {
  width: calc(100% - 24.4rem);
}

.bse_list .re_txt h3 {
  font-size: 1.6rem;
  margin: 0 0 0.8rem;
  font-weight: 400;
  padding-right: 1.6rem;
}

.bse_list .re_txt p {
  color: #878787;
  font-weight: 400;
}

/* ■ ノートPCレスポンシブ用　2025.05 add　*/
@media screen and (max-width:1365px) {

  .bse_list { /* naisdbioレイアウトの2カラム 保持 */
    gap:4rem 0.5rem;
  }
  .bse_list li { /* naisdbioレイアウトの2カラム 保持 */
    max-width:auto;
    width:48%;
    min-height:200px;
  }

}


@media screen and (max-width:1180px) {

 .bse_list li {
    width:100%;
    min-height:auto;
  }
}

@media screen and (max-width:1024px) {
  .bse_list {
    gap: 3rem 2rem;
    margin-top: 4rem;
    margin-bottom: 3rem;
    justify-content: space-between;
  }

  .bse_list li {
    width: 48.58%;
  }

  .bse_list li a {
    display: block;
  }

  .bse_list .re_img {
    width: 100%;
  }

  .bse_list .re_txt h3 {
    margin: 1.8rem 0 0.8rem;
  }

  .bse_list .re_txt {
    width: 100%;
  }
}


@media screen and (max-width:767px) {
  .bse_list {
    gap: 3rem;
  }

  .bse_list li {
    width: 94%;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }

}





/*================================================
 * 
 ================================================*/



@media screen and (max-width:1024px) {}



/*================================================
 * 
 ================================================*/



@media screen and (max-width:1024px) {}

/*================================================
 * 
 ================================================*/



@media screen and (max-width:1024px) {}



/*================================================
 * 
 ================================================*/



@media screen and (max-width:1024px) {}

/*================================================
 * 
 ================================================*/



@media screen and (max-width:1024px) {}