/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 * メインビジュアル
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.main-visual {
  height: 95vh;
  background: url("../img/hero.png") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom-right-radius: 60vh;
  margin-bottom: 8rem;
}

.main-visual-content {
  position: relative;
  z-index: 1;
  color: white;
  width: 90%;
  margin: 0 auto;
  padding-top: 12rem;
}

.main-visual h1 {
  font-size: 3.5rem;
}

@media only screen and (max-width: 768px) {
  .main-visual-content {
    padding-top: 0;
  }
  .main-visual h1 {
    font-size: 2rem;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 * 研究内容
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
section#research {
  padding-top: 6rem;
  margin-bottom: 8rem;
}

.research-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background-color: rgba(21, 101, 192, 0.1);
}

.research-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
}

@media only screen and (max-width: 768px) {
  .research-content {
    padding: 3rem 1rem;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 * 研究紹介
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#research-intro-wrapper {
  width: 100%;
  background-color: #f5f7fa;
  padding: 6rem 0;
}

#research-intro h2.section-title {
  margin-bottom: 6rem;
}

.research-items {
  width: 100%;
  margin: 0 auto;
}

.research-item {
  margin-bottom: 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.research-item img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.25);
}

.research-item h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--main-blue);
}

@media only screen and (max-width: 768px) {
  .research-content {
    padding: 3rem 1rem;
  }

  .research-item {
    grid-template-columns: 1fr;
  }
  .research-item:nth-child(even) > img {
    order: 1;
  }
  .research-item:nth-child(even) > div {
    order: 2;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 * 論文・発表
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#papers-wrapper {
  background: url("../img/paper.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 6rem 0;
}

#papers-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

#papers {
  position: relative;
}

#papers .section-title {
  color: white;
  position: relative;
}

#papers-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.paper-item {
  background: transparent;
  margin-bottom: 2rem;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  background-color: white;
  position: relative;
}

.paper-date {
  background: var(--main-blue);
  color: white;
  padding: 0.375rem 1.25rem;
  margin-right: 2rem;
  white-space: nowrap;
  font-weight: bold;
  font-size: 0.9rem;
  width: fit-content;
}

.paper-content {
  flex: 1;
}

.paper-content p {
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.paper-content a {
  color: var(--main-blue);
}

.papers-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media only screen and (max-width: 768px) {
  .paper-item {
    display: block;
    padding-top: 3rem;
  }

  .paper-date {
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 * 最新情報
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
section#news {
  padding: 6rem 0;
}

#news-content {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
  color: var(--main-black);
}

.news-item .date {
  width: 100px;
}

.news-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media only screen and (max-width: 600px) {
  .news-item {
    display: block;
  }

  .news-item .date {
    font-size: 0.875rem;
    color: var(--main-gray);
    margin-bottom: 0.25rem;
  }
}
