/* v3 science-engineering Top
---------------------------------------------------------- */
a{
  font-family: "Meiryo", "メイリオ", sans-serif;
}
/* firstview */
.v3-departments__content-title {
  line-height: 22px;
}

.v3-departments__video_box {
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.v3-departments__admissions {
  margin-top: 26px;
}

.v3-departments__banner {
  position: relative;
  width: 701px;
  height: 122px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v3-departments__banner a,
.v3-departments__banner img {
  display: block;
  width: 100%;
  height: 100%;
}

.v3-departments__banner img {
  max-width: none;
  object-fit: cover;
}

.v3-top .v3-departments__banner a:hover,
.v3-top .v3-departments__banner a:focus-visible {
  opacity: 1;
}

/* vertical-rl の先頭（FACULTY OF / GRADUATE SCHOOL OF）を同じ縦線に揃える */
.v3-firstview__lead-label-item {
  width: 45px;
}

.v3-firstview__inner {
  background-image: url(/science-engineering/img/top/mainvisual_pic_pc.jpg);
}


/* information */

.v3-information__tabs {
  grid-template-columns: repeat(5, 1fr);
}

/* feature */
/* .v3-featured-stores__card-title, .v3-people__card-title {
  height: 90px;
} */

/* people */

.v3-people__title {
  padding-top: 3px;
}

/* research */
.v3-research {
  background-color: #ffffff;
  background-image: url(/v3/img/top_background_dot.png), url(/v3/img/top_background_dot.png);
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right top;
  background-size: 39px auto, 39px auto;
  padding-left: 40px;
  padding-right: 40px;
}

.v3-research__inner {
  padding-left: max(calc(50vw - 650px), 70px);
  padding-right: max(calc(50vw - 650px), 70px);
  padding-top: 43px;
}

.v3-research__title-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.v3-research__title {
  margin: 0;
}

.v3-research__title-main {
  width: 515px;
}

.v3-research__title-main,
.v3-research__title-sub {
  display: block;
}

.v3-research__title-sub {
  display: flex;
  align-items: center;
  margin-top: 20px;
  line-height: 1;
}

.v3-research__title-sub::before,
.v3-research__title-sub::after {
  content: "";
  display: block;
  height: 13px;
  background-color: #000;
}

.v3-research__title-sub::before {
  width: 35px;
}

.v3-research__title-sub::after {
  display: none;
}

.v3-research__title-sub img {
  width: 104px;
  height: auto;
  margin-right: 5px;
  margin-left: 5px;
}

.v3-research__more {
  margin: 0;
}

.v3-research__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}


.v3-research__more-btn {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #000000;
  flex-shrink: 0;
}

.v3-research__more-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-top: -4px;
  margin-left: -2px;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #ffffff;
}

.v3-research__list {
  display: flex;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  line-height: 1.25;
}

.v3-research__item {
  width: calc((100% - 80px) / 3);
  margin-left: 40px;
}

.v3-research__item:nth-child(3n + 1) {
  margin-left: 0;
}

.v3-research__card {
  display: block;
  color: #000;
  text-decoration: none;
}

.v3-research__card-image-inner {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0 0 calc(213 / 388 * 100%);
}

.v3-research__card-image-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.v3-research__card-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.v3-top .v3-research__card:hover,
.v3-top .v3-research__card:focus-visible {
  opacity: 1;
}

.v3-research__card:hover .v3-research__card-image-inner::after,
.v3-research__card:focus-visible .v3-research__card-image-inner::after {
  background-color: rgba(var(--color-base-rgb), 0.65);
}

.v3-research__card-text {
  margin: 20px 0 0;
  font-weight: bold;
  font-size:15px;
}

/* social */
.v3-social {
  background-color: #ffffff;
  background-image: url(/v3/img/top_background_dot.png), url(/v3/img/top_background_dot.png);
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right top;
  background-size: 39px auto, 39px auto;
  padding-left: 40px;
  padding-right: 40px;
}

.v3-social__inner {
  padding-left: max(calc(50vw - 650px), 70px);
  padding-right: max(calc(50vw - 650px), 70px);
  padding-top: 43px;
}

.v3-social__title-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.v3-social__title {
  margin: 0;
}

.v3-social__title-main {
  display: block;
}

.v3-social__title-main img {
  display: block;
  max-width: 100%;
  height: auto;
}

.v3-social__facebook {
  text-align: center;
}

.v3-social__facebook iframe {
  vertical-align: top;
}

.v3-social__instagram {
  box-sizing: border-box;
  width: 500px;
  padding: 10px;
  border: 1px solid #ebedf0;
}

.v3-social__instagram-link {
  display: block;
}

.v3-social__instagram-image {
  display: block;
  width: 100%;
  height: auto;
}

.v3-top .v3-social__instagram-link:hover,
.v3-top .v3-social__instagram-link:focus-visible {
  opacity: 0.8;
}

@media screen and (min-width: 1251px) {
  .v3-social__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 48px;
  }

  .v3-social__facebook-pc {
    width: 500px;
  }
}

@media screen and (max-width: 1400px) {
  .v3-departments__banner {
    width: 700px;
    height: 122px;
  }
}

@media screen and (max-width: 1250px) {
  .v3-departments__content {
    padding: 27px 16px;
    gap: 8px;
    margin-left: 25px;
  }


  .v3-departments__banner {
    width: 600px;
    height: 104px;
  }

  .v3-social__instagram {
    margin: 30px auto 0;
  }
}

@media screen and (max-width: 1080px) {
  .v3-departments__banner {
    width: 500px;
    height: 87px;
  }
  .v3-research__item {
    width: calc((100% - 40px) / 3);
    margin-left: 20px;
  }
  .v3-research__inner{
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media screen and (max-width: 768px) {
  .v3-firstview__inner {
    background-image: url(/science-engineering/img/top/mainvisual_pic_sp.jpg);
  }
  .v3-research{
    background-image: none;
    padding-left: 6px;
    padding-right: 6px;
  }
  .v3-research__title-main {
    width: 100%;
  }
  .v3-social{
    background-image: none;
    padding-left: 6px;
    padding-right: 6px;
  }
  .v3-firstview__lead-label-item {
    width: 24px;
  }

  .v3-departments__video_box {
    margin-top: 12px;
  }

  .v3-departments__banner {
    width: 174px;
    height: 138px;
  }

  .v3-research {
    padding: 40px 0 20px 0;
  }

  .v3-research__inner {
    padding: 0 18px;
  }

  .v3-research__title-inner {
    display: block;
  }

  .v3-research__title-main img {
    max-width: 320px;
    width: 100%;
  }

  .v3-research__title-sub {
    margin-top: 5px;
  }

  .v3-research__title-sub::before,
  .v3-research__title-sub::after {
    height: 7px;
  }

  .v3-research__title-sub::before {
    min-width: 15px;
    width: 15px;
  }

  .v3-research__title-sub::after {
    display: block;
    flex: 1;
    width: 100%;
  }

  .v3-research__title-sub img {
    width: 71px;
  }

  .v3-research__more {
    margin-top: 12px;
    text-align: right;
  }

  .v3-research__more img {
    width: 50px;
  }

  .v3-research__list {
    font-size: 16px;
    line-height: 1.58;
  }

  .v3-research__item {
    width: 100%;
    margin-left: 0;
  }

  .v3-research__item:nth-child(n + 2) {
    margin-top: 25px;
  }

  .v3-research__card-text {
    margin-top: 15px;
  }

  .v3-social {
    padding: 40px 0 0 0;
  }

  .v3-social__inner {
    padding: 0 18px;
  }

  .v3-social__title-inner {
    display: block;
  }

  .v3-social__title-main img {
    max-width: 150px;
    width: 100%;
  }

  .v3-social__instagram {
    width: 284px;
    margin: 30px auto;
  }
  .v3-research__more-btn {
    width: 15px;
    height: 15px;
  }
  .v3-research__more-btn::before {
    margin-top: -3px;
    margin-left: -2px;
    border-width: 3px 0 3px 5px;
  }
}