.c-entry__content.p-entry-content {
  margin-top: 0 !important;
}

.wp-block-spacer {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.c-entry__header {
  display: none !important;
}

.l-contents__inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.c-first-view-cover {
  min-height: 200px !important;
  padding: 50px;
}
@media screen and (max-width: 780px) {
  .c-first-view-cover {
    padding: 40px;
  }
}
@media screen and (max-width: 639px) {
  .c-first-view-cover {
    padding: 30px;
  }
}

.c-first-view-cover__title-main {
  font-size: 42px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
}
@media screen and (max-width: 1279px) {
  .c-first-view-cover__title-main {
    font-size: 36px !important;
  }
}
@media screen and (max-width: 780px) {
  .c-first-view-cover__title-main {
    font-size: 32px !important;
    margin-bottom: 10px !important;
  }
}
@media screen and (max-width: 639px) {
  .c-first-view-cover__title-main {
    font-size: 28px !important;
    margin-bottom: 15px !important;
  }
}

.c-first-view-cover__title-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  line-height: 1.25;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #a9a9a9 !important;
  margin-top: -10px !important;
}
@media screen and (max-width: 1279px) {
  .c-first-view-cover__title-sub {
    font-size: 24px !important;
  }
}
@media screen and (max-width: 780px) {
  .c-first-view-cover__title-sub {
    font-size: 22px !important;
  }
}
@media screen and (max-width: 639px) {
  .c-first-view-cover__title-sub {
    font-size: 20px !important;
  }
}

.c-entry__header {
  display: none;
}

.researcher-profile {
  display: flex;
  flex-direction: row;
  gap: 60px;
}
@media screen and (max-width: 780px) {
  .researcher-profile {
    gap: 40px;
  }
}
@media screen and (max-width: 639px) {
  .researcher-profile {
    flex-direction: column;
    gap: 20px;
  }
}

.researcher-profile-image-box {
  flex-basis: 360px;
  flex-shrink: 0;
}
@media screen and (max-width: 780px) {
  .researcher-profile-image-box {
    flex-basis: 280px;
    flex-shrink: 1;
  }
}
@media screen and (max-width: 639px) {
  .researcher-profile-image-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}
.researcher-profile-image-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.researcher-profile-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.researcher-profile-gray-box {
  width: 100%;
  background-color: #f1f1f1;
  padding: 13px 16px;
  border-radius: 10px;
}

.researcher-profile-name {
  padding-bottom: 17px;
  margin-bottom: 4px;
  border-bottom: 1px solid #cbcbcb;
}

.researcher-profile-name-kanji {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}
@media screen and (max-width: 780px) {
  .researcher-profile-name-kanji {
    font-size: 20px;
  }
}
@media screen and (max-width: 639px) {
  .researcher-profile-name-kanji {
    font-size: 18px;
  }
}

.researcher-profile-name-furigana {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
@media screen and (max-width: 639px) {
  .researcher-profile-name-furigana {
    font-size: 12px;
  }
}

.researcher-profile-post {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}
@media screen and (max-width: 639px) {
  .researcher-profile-post {
    font-size: 14px;
  }
}

.researcher-profile-field-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #cbcbcb;
}
@media screen and (max-width: 780px) {
  .researcher-profile-field-heading {
    font-size: 18px;
  }
}
@media screen and (max-width: 639px) {
  .researcher-profile-field-heading {
    font-size: 16px;
  }
}

.researcher-profile-field-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.researcher-profile-field-item {
  font-size: 16px;
  color: #333;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 639px) {
  .researcher-profile-field-item {
    font-size: 14px;
  }
}

.researcher-profile-biography-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #cbcbcb;
}
@media screen and (max-width: 780px) {
  .researcher-profile-biography-heading {
    font-size: 18px;
  }
}
@media screen and (max-width: 639px) {
  .researcher-profile-biography-heading {
    font-size: 16px;
  }
}

.researcher-profile-biography-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.researcher-profile-biography-item {
  font-size: 16px;
  color: #333;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 639px) {
  .researcher-profile-biography-item {
    font-size: 14px;
  }
}

.researcher-profile-activities-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #cbcbcb;
}
@media screen and (max-width: 780px) {
  .researcher-profile-activities-heading {
    font-size: 18px;
  }
}
@media screen and (max-width: 639px) {
  .researcher-profile-activities-heading {
    font-size: 16px;
  }
}

.researcher-profile-activities-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.researcher-profile-activities-item {
  font-size: 16px;
  color: #333;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 639px) {
  .researcher-profile-activities-item {
    font-size: 14px;
  }
}

.researcher-profile-works {
  margin-bottom: 35px;
}

.researcher-profile-works-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #cbcbcb;
}
@media screen and (max-width: 780px) {
  .researcher-profile-works-heading {
    font-size: 18px;
  }
}
@media screen and (max-width: 639px) {
  .researcher-profile-works-heading {
    font-size: 16px;
  }
}

.researcher-profile-works-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.researcher-profile-works-item {
  position: relative;
  font-size: 16px;
  color: #333;
  padding: 0 0 0 20px;
  margin: 0;
}
@media screen and (max-width: 639px) {
  .researcher-profile-works-item {
    font-size: 14px;
  }
}
.researcher-profile-works-item::before {
  position: absolute;
  content: "";
  top: 10px;
  left: 10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #333;
}

.researcher-profile-works-link {
  color: #00a496;
}

.researcher-profile-close-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid #999999;
  color: #333;
  padding: 16px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}
.researcher-profile-close-button:hover {
  opacity: 0.8;
}