@charset "UTF-8";
/* 共通セクション */
.btn {
  text-align: center;
  margin: 10px 0;
}

.btn .readmore-btn {
  width: 160px;
  height: 50px;
  line-height: 3.5;
  display: inline-block;
  color: #000;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 30px;
}

.btn .readmore-btn span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.btn .readmore-btn span::before,
.btn .readmore-btn span::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: #e03131;
  transition: all 0.3s ease;
}

.btn .readmore-btn::before,
.btn .readmore-btn span::before {
  width: 2px;
  height: 50%;
}

.btn .readmore-btn::after,
.btn .readmore-btn span::after {
  width: 20%;
  height: 2px;
}

.btn .readmore-btn:hover::before,
.btn .readmore-btn span:hover::before {
  height: 100%;
}

.btn .readmore-btn:hover::after,
.btn .readmore-btn span:hover::after {
  width: 100%;
}

.btn .readmore-btn::before,
.btn .readmore-btn::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: #e03131;
  transition: all 0.3s ease;
}

.content-title {
  font-size: 2.5rem;
  display: inline-block;
  border-bottom: solid 6px #e03131;
  margin-top: 50px;
  margin-bottom: 70px;
}

.fixed-bg {
  height: 300px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Header セクション トップページ上部の画像など  */
.ohmorilab__header {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0.9) 90%, white 100%), url(../images/front-page-top.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Description セクション ヘッダー下の研究室の簡単な説明 */
.ohmorilab__description {
  margin: 0 auto;
  min-height: 30vh;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}

.ohmorilab__description .ohmorilab__description-title {
  font-size: 4em;
  font-weight: bold;
  margin-top: 30vh;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.ohmorilab__description h3 {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* About セクション  研究室の説明(大森先生、研究内容、メンバー) */
.ohmorilab__about .about-img {
  background-image: linear-gradient(rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%), url(../images/logistics.jpg);
  position: relative;
  height: 300px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.ohmorilab__about .about-content {
  max-width: 1000px;
  margin: 50px auto;
  text-align: center;
  width: 90%;
}

.ohmorilab__about .about-content .about-professor {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ohmorilab__about .about-content .ohmori-professor-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-right: 30px;
}

.ohmorilab__about .about-content .ohmori-professor-text {
  text-align: left;
}

.ohmorilab__about .about-content .about-research ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ohmorilab__about .about-content .about-research li {
  width: 50%;
  line-height: 2;
  text-align: left;
  padding: 2%;
  text-align: center;
}

.ohmorilab__about .about-content .about-member ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ohmorilab__about .about-content .about-member li {
  width: 50%;
  line-height: 2;
  text-align: center;
  padding: 2%;
}

.ohmorilab__about .about-content .about-member .about-member__grade {
  font-size: 1.5rem;
  display: inline-block;
  border-bottom: solid 6px #e03131;
  margin-bottom: 30px;
}

.ohmorilab__news .news-img {
  background-image: linear-gradient(rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%), url(../images/logistics.jpg);
  position: relative;
}

.ohmorilab__news .news-table {
  max-width: 1000px;
  margin: 10px auto;
}

.site-title {
  line-height: 1px;
}

.site-title a {
  display: block;
}

.sec-title {
  width: 100%;
  color: #fff;
  text-align: center;
  font-size: 4.5rem;
  filter: drop-shadow(1px 1px 10px #c0c0c0);
  position: absolute;
  top: 30%;
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer .copyright {
  font-size: 0.625rem;
}

@media screen and (max-width: 767px) {
  .site-title {
    top: 42%;
  }
  .sec-title {
    font-size: 2rem;
    top: 26%;
  }
  .item-title {
    font-size: 1.25rem;
    margin-bottom: 25px;
  }
  .fixed-bg {
    height: 94px;
    /* スマホ時は背景をスクロールするように変更 */
    background-attachment: scroll;
  }
  .about-content {
    padding: 30px 16px 60px 16px;
  }
  /*-------------------------------------------
    About
    -------------------------------------------*/
  #about ul {
    flex-direction: column;
  }
  #about li {
    width: 100%;
  }
}
