@charset "UTF-8";

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

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

}

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

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

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

.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-lab-button {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-lab-button 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-lab-button button.green {
  border-color: #4a957f;
}

.filter-lab-button button.purple {
  border-color: #a983d1;
}

.filter-lab-button button.ocher {
  border-color: #e5c05f;
}

.filter-lab-button button.grey {
  border-color: #c3c3c3;
}


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

.filter-lab-button button.green.active {
  background: #4a957f;
}

.filter-lab-button button.purple.active {
  background: #a983d1;
}


.filter-lab-button button.ocher.active {
  background: #e5c05f;
}

.filter-lab-button button.grey.active {
  background: #c3c3c3;
}


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

.filter-lab-button .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-lab-button .clear button::before,
.filter-lab-button .clear button::after {
  position: absolute;
  content: "";
  width: 1.5rem;
  height: 0.1rem;
  background: var(--color-white);
  top: 1.5rem;
  right: 1rem;
}

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

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

.c-hidden {
  display: none;
}


@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;
  }
}

@media screen and (max-width:576px) {
  .keyword {
    padding: 2rem 1rem;
  }
  .filter-lab-button button {
    padding: 0.4rem 1rem;
    font-size: 1.2rem;
  }

}

/*================================================
 * faculty
 ================================================*/
.current-ttl {
  margin-top: 5rem;
}

.faculty-cnt {
  margin-bottom: 6rem;
}

.faculty_box {
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.1rem solid #E5E5E5;
}

.faculty_img {
  width: 17rem;
  height: auto;
  aspect-ratio: 170/170;
  /* background: #EFEFEF; */
  position: relative;
  z-index: 1;
  margin-right: 4.4rem;
}

.faculty_img::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../../courses/image/faculty_no-img.png);
  width: 4.7rem;
  height: 8.1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.faculty_img img {
  overflow: hidden;
  /* object-fit: cover; */
  object-fit:contain; /* add */
  width: 100%;
  height: 100%;
  aspect-ratio: 170/170;
  position: relative;
  z-index: 2;
}

.faculty_cnt {
  width: 45.1rem;
  margin-right: 2.8rem;
}

.faculty_cnt h3 {
  font-size: 2.2rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.2rem;
  margin-bottom: 1rem;
}

.faculty_cnt h3 span {
  font-size: 1.2rem;
  margin: 0 1.6rem;
  font-weight: 500;
}

.faculty_cnt h3::before {
  position: absolute;
  content: "";
  width: 3rem;
  height: 0.2rem;
  background: var(--color-primary);
  bottom: 0;
  left: 0;
}

.faculty_cnt dl {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-wrap: wrap;
  font-size: 1.4rem;
}

.faculty_cnt dl dt {
  width: 10rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.faculty_cnt dl dd {
  width: calc(100% - 10rem);
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  position: relative;
  font-weight: 400;
}


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

.faculty_cnt dl dd a {
  color: #0D6E53;
 /* text-decoration: underline; 2025.4.7 */
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  padding-right: 2.4rem;
}

.faculty_cnt dl 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;
}

.faculty_link {
  width: 18rem;

  gap: 0;
  display: grid;
  place-content: center;
}


.faculty_link .btnArea:not(:last-of-type) {
  margin-bottom: 1rem;
}

.faculty_link .btnArea a {
  width: 18rem;
}

@media screen and (max-width:1365px) {
  .faculty_box {
    flex-wrap: nowrap;
  }


}

@media screen and (max-width:767px) {
  .faculty_img {
    width: 30%;
    max-width: 40rem;
    margin: 0 auto 2rem;
  }

  .faculty_cnt {
    width: 100%;
    margin-right: 0;
  }

  .faculty_link {
    margin: 2rem 0 0;
  }

  .faculty_box {
  flex-wrap :wrap;
}
}
@media screen and (max-width:576px) {
  .faculty_img {
    width: 50%;
  }


}