html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Zen Old Mincho", serif;
  letter-spacing: 0.03em;
  color: #333;
  opacity: 0;
  transition: opacity 1s ease;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}
/* フェードイン完了時のスタイル */
body.fade-in {
  opacity: 1;
}
section{
  padding: 70px 20px;
}
.section-content {
  padding-top: 70px;
  background-color: #F0F0F0;
  min-height: calc(100vh - 511px);
}
a{
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.7;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.section-content .container{
  max-width: 800px;
}
.section-title {
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  max-height: 100%;
  color: rgb(51, 51, 51);
  font-size: 1rem;
  line-height: 120%;
  background: none;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  text-align: center;
}
.section-title__en {
  display: block;
  color: rgb(73, 69, 73);
  font-size: 2.8125rem;
  line-height: 120%;
  font-weight: 300;
  font-style: italic;
  margin: 10px 0px;
}
.no-scroll {
  overflow: hidden;
}

/* ヘッダー */
.header {
  background: #ffffff;
  position: fixed;
  width: 100%;
  z-index: 999;
  top: 0;
  padding: 20px;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* スクロール時のヘッダースタイル */
body.scrolled .header {
  padding: 10px 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo-img {
  height: 40px;
}

.header__logo-content {
  margin-left: 10px;
  transform-origin: left center;
  transform: scale(0.95) translateY(-1px);
}

.header__logo-caption {
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  max-height: 100%;
  font-size: 0.65rem;
  line-height: 100%;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0em;
  text-align: left;
}

.header__logo-title {
  overflow-wrap: break-word;
  white-space: pre-wrap;
  font-size: 1.2rem;
  line-height: 100%;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  text-align: left;
  margin-top: 0.3em;
}

.header__logo-title span {
  margin-right: 0.2em;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
}

.header__menu-line {
  width: 100%;
  height: 3px;
  background: #000;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.header__menu-toggle.open .header__menu-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.header__menu-toggle.open .header__menu-line:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle.open .header__menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.header__nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 45px;
  margin: 0;
  padding: 0;
}

.header__nav-link {
  position: relative;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  max-height: 100%;
  background: none;
  color: rgb(68, 68, 68);
  font-size: 0.875rem;
  line-height: 100%;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  text-align: left;
  padding-bottom: 5px;
}
.header__nav-link::after{
  content: '';
  display: block;
  height: 1px;
  width: 80%;
  background: rgb(68, 68, 68);
  position: absolute;
  bottom: 0;
  left: 10%;
  transform: scale(0, 1);
  transition: .3s;
}
.header__nav-link:hover {
  color: #000000;
  opacity: 1;
}
.header__nav-link:hover::after {
  transform: scale(1, 1);
}
/* アクティブなメニュー項目のスタイル */
.header__nav-link.active {
  color: #000;
}
.header__nav-link.active::after {
  transform: scale(1, 1);
}

.header__nav-link--contact {
  display: block;
  color: rgb(199, 198, 195);
  pointer-events: auto;
  border-radius: 57px;
  background: linear-gradient(rgb(6, 6, 7) 0%, rgb(6, 6, 7) 100%);
  width: 131.188px;
  padding: 10px 0; /* 上下padding */
  height: auto;     /* heightは指定しない */
  border: 1px solid rgb(6, 6, 7);
  transition: all .3s cubic-bezier(0.45, 0, 0.55, 1);
  text-align: center;
}

/* CONTACTボタンの下線アニメーションを無効化 */
.header__nav-link--contact::after {
  content: none;
}

/* CONTACTボタンのアクティブ時のスタイル上書き */
.header__nav-link--contact.active {
  color: rgb(199, 198, 195);
}

/* CONTACTボタンのホバー時のスタイル */
.header__nav-link--contact:hover {
  background: #fff;
  color: rgb(6, 6, 7);
  border: 1px solid rgb(6, 6, 7); 
  opacity: 1;
}

#canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央揃え（横方向と縦方向） */
  z-index: 0;
  width: 1920px; /* 固定幅 */
  height: 1080px; /* 固定高さ（16:9のアスペクト比） */
  display: block;
  pointer-events: auto;
  cursor: pointer;
}

/* キャンバスを含むコンテナのスタイル */
.hero {
  position: relative;
  padding: 20px;
  overflow: hidden; /* はみ出た部分を隠す */
  margin-top: 80px;
}

/* ヒーローセクション */
.hero {
  padding: 20px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero__content {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hero__text {
  margin-top: auto;
  margin-bottom: auto;
  max-width: 526px;
  position: relative;
  z-index: 2;
  margin-right: -70px; /* テキストを画像にさらに重ねる（50px→70px） */
}

.hero__image {
  position: relative;
  z-index: 1;
  flex-grow: 1; /* 利用可能なスペースを最大限に使用 */
  display: flex;
  justify-content: flex-end; /* 画像を右寄せにしてヘッダーの端と揃える */
}
.hero__title {
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  max-height: 100%;
  background: linear-gradient(120deg, #f4d03f 0%, #a9b540 25%, #7cb441 35%, #4a90c2 60%, #2671a9 85%, #31a5ce 100%);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
  font-size: 3.61rem;
  line-height: 140%;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0em;
  text-align: left;
  margin: 20px 0 40px 0px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  text-shadow:
    0 2px 6px rgba(0,0,0,0.1),
    0 1px 0 rgba(0,0,0,0.05);
}

.hero__subtitle {
  font-size: 1rem;
  color: #060607;
  overflow-wrap: break-word;
  font-size: 1.33rem;
  line-height: 120%;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.1em;
  text-align: left;
  text-shadow:
  0 2px 6px rgba(0,0,0,0.1),
  0 1px 0 rgba(0,0,0,0.05);
}

.hero__description {
  line-height: 1.6;
  overflow-wrap: break-word;
  max-width: 100%;
  max-height: 100%;
  background: none;
  color: rgb(68, 68, 68);
  font-size: 1rem;
  line-height: 172%;
  font-weight: 300;
  font-style: normal;
  text-align: left;
  text-shadow: rgb(255, 255, 255) 0px 0px 0px;
}

.button {
  display: inline-block;
  justify-content: center;
  align-items: center;
  background: #000;
  color: rgb(199, 198, 195);
  border-radius: 30px;
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  padding: 10px 30px;
  height: auto;
  border: 1px solid #000;
  transition: all .3s cubic-bezier(0.45, 0, 0.55, 1);
  line-height: normal; 
  text-align: center;
}


/* Read Moreボタンのホバー時のスタイル */
.button:hover {
  background: #fff;
  color: rgb(6, 6, 7);
  border: 1px solid rgb(6, 6, 7);
  opacity: 1;
}

/* newsセクションのボタンのみ右寄せ */
#news .button {
  margin-left: auto;
  margin-right: 0;
}

.hero__image-content {
  width: 100%;
  max-width: calc(1240px - 535px + 70px); /* 重なり分(50px)と余白(20px)を考慮して画像を大きく */
}

/* ニュースセクション */
.news {
  background: linear-gradient(rgb(240, 240, 240) 0%, rgb(240, 240, 240) 100%);
}

.news .section-title {
  text-align: left;
  font-weight: normal;
}

ul.news__list,.section-content ul.news__list {
  max-width: 1240px;
  margin: 25px auto;
  padding: 0;
  list-style: none;
}

li.news__item,.section-content li.news__item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
  margin-bottom: initial;
}
li.news__item:last-child,.section-content li.news__item:last-child{
  border-bottom: initial;
}

.news__date {
  font-size: 0.875rem;
  color: #666;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.news__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgb(96, 96, 96) 0%, rgb(96, 96, 96) 100%);
  color: #fff;
  padding: 5px 10px;
  border-radius: 1em;
  font-size: 0.8rem;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

p.news__content,.section-content p.news__content {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 300;
  flex: 1;
}
/* 領域概要セクション */
.overview {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.overview__card-title {
  color: rgb(12, 11, 12);
  font-size: 1.5rem;
  line-height: 150%;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 1.5em;
  position: relative;
}

.overview__card-title::before {
  position: absolute;
  bottom: -0.6em;
  width: 100%;
  height: 3px;
  display: block;
  content: "";
  background: #333;
  background: linear-gradient(
    90deg, 
    rgb(49 165 206) 0% 3%, 
    rgb(38 113 169) 5% 7%, 
    rgb(104 52 124) 9% 11%, 
    rgb(228 34 33) 13% 15%, 
    rgb(236 122 42) 17% 19%, 
    rgb(244 186 44) 21% 23%, 
    rgba(201, 201, 201, 1) 25% 97%, 
    rgba(0, 0, 0, 0) 97% 97.5%, 
    rgb(247 189 43) 97.5% 98%, 
    rgba(0, 0, 0, 0) 98% 98.5%, 
    rgb(169 181 64) 98.5% 99%, 
    rgba(0, 0, 0, 0) 99% 99.5%, 
    rgb(124 180 65) 99.5% 100%
  );
}

.overview__info {
  color: rgb(12, 11, 12);
  font-size: 1.5rem;
  line-height: 150%;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0em;
  text-align: center;
}
.overview__card-image-title{
  color: rgb(12, 11, 12);
  font-size: 0.875rem;
  line-height: 120%;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 0.7em;
}
.overview__card-description {
  color: rgb(85, 85, 85);
  font-size: 1rem;
  line-height: 172%;
  font-weight: 300;
  font-style: normal;
  text-align: left;
  padding: 15px 0px;
}

.overview::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/overview-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* パララックス風効果 */
  opacity: 0.05;
  z-index: -1;
}

.overview .section-title {
  text-align: center;
  font-weight: normal;
}

.overview__content {
  display: grid;
  gap: 96px;
  max-width: 1240px;
  margin: 70px auto;
}

.overview__card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
}

.overview__card--reverse {
  flex-direction: row-reverse;
}

.overview__card-text {
  width: 50%;
}

.overview__card--reverse .overview__card-text {
  width: 50%;
}

.overview__card-image {
  width: 50%;
}

.overview__card-img {
  width: 100%;
}

.overview__card-img-sub {
  max-width: 100%;
  max-height: 1.5em;
}
.responsive-float {
  float: right;
  margin-left: 30px;
  width: 250px;
  max-width: 50%;
  height: auto;
}
@media (max-width: 768px) {
  .overview__content {
    gap: 76px;
  }
}
@media (max-width: 414px) {
  .responsive-float {
    float: none;
    display: block;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 100%;
  }
}

/* 研究チームセクション */
.team{
  background: linear-gradient(rgb(240, 240, 240) 0%, rgb(240, 240, 240) 100%);
}
.section-content.team {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background-color: #FFFFFF;
}
.section-content.team::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/overview-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.team__member-flex {
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 50px;
  border-radius: 6px;
  border: 1px solid rgba(79, 79, 80, 0.225);
  margin-bottom: 70px;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.border {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 40px;
}
.team__member-flex img{
  max-width: 100%;
  height: auto;
}

.team .section-title {
  text-align: center;
  font-weight: normal;
}

.team__group-title {
  font-size: 1.35rem;
  line-height: 120%;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  margin-bottom: 40px;
}

.team__group {
  margin-top: 70px;
  margin-bottom: 80px;
}
.section-content.team .team__group {
  margin-top: initial;
  margin-bottom: 80px;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 290px);
  gap: 41px;
  justify-content: center;
  margin: 2rem auto;
}

.team__member {
  padding: 44px 28px 29px 28px;
  border-radius: 6px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 6px;
  border: 1px solid rgba(79, 79, 80, 0.225);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.team__member-image {
  margin-bottom: 20px;
}
img.team__member-img{
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
}
.team__member-name {
  color: rgb(79, 79, 80);
  font-size: 20px;
  line-height: 120%;
  background: none;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  margin-bottom: 10px;
}
.team__member-name span{
  font-weight: 400;
  font-size: 1rem;
}
.team__member-link {
  display: inline-block;
  margin-right: 12px;
  font-size: 0.875rem;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.team__member-link:last-child {
  margin-right: 0;
}
.team__list {
    padding-top: 40px;
}
/*
.section-content.team .button{
  font-size: 0.875rem;
  margin-top: initial;
  margin-left: auto;
  margin-right: 0;
  width: 160px;
  height: 38px;
  text-decoration: initial;
  text-underline-offset: initial;
}
  */

.section-content.team .team__group-title {
  font-size: 1.35rem;
  padding-bottom: 15px;
  text-align: left;
  position: relative;
  font-weight: bold;
}


.section-content.team .team__group-title:before {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3px;
  display: block;
  content: "";
  background: #333;
  background: linear-gradient(
    90deg, 
    rgb(49 165 206) 0% 3%, 
    rgb(38 113 169) 5% 7%, 
    rgb(104 52 124) 9% 11%, 
    rgb(228 34 33) 13% 15%, 
    rgb(236 122 42) 17% 19%, 
    rgb(244 186 44) 21% 23%, 
    rgba(201, 201, 201, 1) 25% 97%, 
    rgba(0, 0, 0, 0) 97% 97.5%, 
    rgb(247 189 43) 97.5% 98%, 
    rgba(0, 0, 0, 0) 98% 98.5%, 
    rgb(169 181 64) 98.5% 99%, 
    rgba(0, 0, 0, 0) 99% 99.5%, 
    rgb(124 180 65) 99.5% 100%
  );
} 

.section-content.team .team__member-name {
  color: rgb(79, 79, 80);
  font-size: 1.5rem;
  line-height: 120%;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  margin-bottom: initial;
  margin-top: 0;
}
.section-content.team .team__member-name span{
  font-weight: 400;
  font-size: 1.125rem;
}
.team__member-description{
  color: rgb(68, 68, 68);
  font-size: 0.875rem;
  line-height: 200%;
  font-weight: 300;
  margin-top: initial;
  text-align: justify;
  letter-spacing: 0.03rem;
}
.section-content.team .team__member-description {
  color:  rgb(51, 51, 51);
  font-family: "Noto Sans JP";
  font-size: 1rem;
  line-height: 169.444%;
  background: none;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  padding: 3px 10px;
  border: 1px solid #333;
  display: inline-block;
  margin-bottom: initial;
}
.section-content.team .team__member-image {
  margin-bottom: initial;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  width: calc(50% - 20px);
}
.section-content.team img.team__member-img{
  min-width: 80px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: initial;
}
.team__member-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.section-content.team p.team__membership{
    font-size: 0.875rem;
    line-height: 200%;
    font-weight: 300;
    margin-top: initial;
    margin-bottom: 5px;
    letter-spacing: 0.03rem;
}
.section-content.team p.team__membership span{
    font-size: 1rem;
    display: block;
}
.section-content.team .team__member-content {
  padding-bottom: 40px;
  text-align: left;
}
.section-content.team .team__member-content:last-child {
  padding-bottom: 0;
}
img.team__image-middle{
  max-width: 450px;
}
img.team__image-large{
  max-width: 600px;
}
.team__member-content.flex {
    display: flex;
    align-items: center;
    gap: 30px;
}
@media (max-width: 768px) {
  .team__member-flex {
    flex-direction: column;
    padding: 20px;
    gap:initial;
  }
}
@media (max-width: 540px) {
  .team__member-content.flex {
    flex-direction: column;
    align-items: initial;
    gap: 15px;
  }
}
@media (max-width: 480px) {
  .team__member-list{
    align-items: flex-start;
  }
  .section-content.team .team__member-image {
    width: 100%;
  }
  .section-content.team p.team__membership{
    font-size: 0.75rem;
    line-height: 200%;
    font-weight: 300;
    margin-top: initial;
    letter-spacing: 0.03rem;
  }
}
@media (max-width: 414px) {
  .team__grid {
    grid-template-columns: repeat(auto-fit, 100%);
  }
}
/* フッター */
.footer {
  background: linear-gradient(rgb(51, 51, 51) 0%, rgb(51, 51, 51) 100%);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
}

.footer__logo {
  padding: 31px 0;
  border-bottom: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-img {
  height: 40px;
}

.footer__logo-content {
  margin-left: 10px;
  transform-origin: left center;
  transform: scale(0.95) translateY(-1px);
}

.footer__logo-caption {
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  max-height: 100%;
  font-size: 0.65rem;
  line-height: 100%;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0em;
  text-align: left;
}

.footer__logo-title {
  overflow-wrap: break-word;
  white-space: pre-wrap;
  font-size: 1.2rem;
  line-height: 100%;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  text-align: left;
  margin-top: 7px;
}

.footer__copyright {
  padding: 18px 20px 46px 18px;
}

.footer__info {
  font-size: 1rem;
  margin-bottom: 13px;
  color: rgb(255, 255, 255);
  font-size: 1rem;
  line-height: 150%;
  background: none;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0px;
  text-align: center;
}

.footer__text {
  color: rgb(209, 207, 207);
  font-family: Outfit;
  font-size: 0.75rem;
  line-height: 150%;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0px;
  text-align: center;
}

.footer .container {
  padding: 0 1rem;
}
/* メディアクエリ */
@media (max-width: 1165px) {
  .hero__title {
    font-size: 3.2rem;
  }
}

@media (max-width: 1040px) {
  .header {
    padding: 15px 20px;
  }
  
  .hero {
    margin-top: 70px;
  }
  
  .hero__title {
    font-size: 3.0rem;
  }
  
  .header__menu-toggle {
    display: flex;
  }
  
  .header__nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    display: none;
    flex-direction: column;
    height: 100vh;
    background: rgba(255,255,255,0.9);
    transition: top 0.3s ease;
  }
  
  /* スクロール時のヘッダーナビゲーション位置調整 */
  body.scrolled .header__nav {
    top: 60px;
  }
  
  .header__nav.active {
    display: flex;
  }
  
  .header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 64px;
  }
  
  .header__nav-item {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding: 20px;
  }
  
  .header__nav-link--contact {
    display: inline-block;
    margin-top: 0.5rem;
  }
  
  /* モバイル表示時はホバー効果を無効化 */
  .header__nav-link--contact:hover {
    background: linear-gradient(rgb(6, 6, 7) 0%, rgb(6, 6, 7) 100%);
    color: rgb(199, 198, 195);
    border: none; /* ボーダーを削除 */
    opacity: 0.7; /* 一般的なリンクのホバー効果を復活 */
  }
}

@media (max-width: 768px) {
  .overview__card {
    flex-direction: column;
  }
  
  .overview__card--reverse {
    flex-direction: column;
  }
  
  .overview__card-text {
    width: 100%;
    padding: initial;
  }
  
  .overview__card--reverse .overview__card-text {
    width: 100%;
    padding: initial;
  }
  
  .overview__card-image {
    width: 100%;
  }
  
  .overview__card-img {
    width: 100%;
  }
  
  .hero__content {
    flex-direction: column-reverse;
  }
  
  .hero__text {
    max-width: 100%;
    margin-right: 0; /* モバイル表示では重ねない */
    margin-top: -30px; /* モバイル表示では上に少し重ねる */
  }
  .sp-none{
    display: none;
  }
  .news__item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* トップに戻るボタン */
.section-content-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 900;
}

.section-content-top.show {
  opacity: 1;
  visibility: visible;
}

.section-content-top__icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.section-content-top__icon::before,
.section-content-top__icon::after {
  content: '';
  position: absolute;
  top: 8px;
  width: 10px;
  height: 2px;
  background-color: #fff;
}

.section-content-top__icon::before {
  left: 0;
  transform: rotate(-45deg);
}

.section-content-top__icon::after {
  right: 0;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .section-content-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  .section-content-top__icon {
    width: 14px;
    height: 14px;
  }
  
  .section-content-top__icon::before,
  .section-content-top__icon::after {
    width: 9px;
    height: 1.5px;
  }
}

/* スクロールを促す矢印 */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.scroll-indicator__icon {
  position: relative;
  width: 40px;
  height: 40px;
}

.scroll-indicator__icon::before,
.scroll-indicator__icon::after {
  content: '';
  position: absolute;
  top: 18px;
  width: 24px;
  height: 2px;
  background-color: rgb(141, 130, 130);
}

.scroll-indicator__icon::before {
  left: 0;
  transform: rotate(45deg);
}

.scroll-indicator__icon::after {
  right: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .scroll-indicator {
    position: initial;
    transform: initial;
    margin: 20px auto 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  padding: 15px 0;
  width: 100%;
}

.pagination__item {
  display: inline-block;
  margin: 0 20px;
  color: #555555;
  text-decoration: none;
  font-size: 1rem;
}

.pagination__item--active {
  font-weight: bold;
  color: #000000;
}

.pagination__prev,
.pagination__next {
  color: #555555;
  text-decoration: none;
  font-size: 0.875rem;
  margin: 0 20px;
  display: flex;
  align-items: center;
}

.pagination__arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  position: relative;
}

.pagination__arrow--prev {
  transform: rotate(-135deg);
  margin-right: 5px;
}

.pagination__arrow--next {
  transform: rotate(45deg);
  margin-left: 5px;
}

/* ページヘッダー（サブページ用） */
.page-header {
  position: relative;
  padding: 70px 20px;
  text-align: center;
  background-image: url('../images/overview-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
  background-attachment: fixed; /* パララックス風効果 */
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header__title {
  color: rgb(51, 51, 51);
  font-size: 1rem;
  line-height: 120%;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  text-align: center;
}

.page-header__title-en {
  display: block;
  color: rgb(73, 69, 73);
  font-size: 2.5rem;
  line-height: 120%;
  background: none;
  font-weight: 300;
  font-style: italic;
  text-align: center;
}
.news-page .news__list{
  margin-top: initial;
}

/* 公募研究ページのスタイル */
/*
.public-summary{
  margin-bottom:45px;
}
.public-title{
  color: rgb(12, 11, 12);
  font-size: 1.5rem;
  line-height: 150%;
  background: none;
  font-weight: 500;
  font-style: normal;
  text-align: left;
  margin-top: 40px;
  margin-bottom: 20px;
}
.public-text {
  color: rgb(0, 0, 0);
  font-size: 0.875rem;
  line-height: 170%;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
  margin-bottom: 15px;
}
*/

.section-content .public h3{
  margin-bottom: 10px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 800px) {
  .table-scroll {
    max-width: calc(100vw - 40px);
  }
}
/* 研究概要ページのスタイル */
.section-content.overview{
  background-color: #ffffff;
}
.overview-content {
  padding: 30px 0 70px 0;
  font-family: "Zen Old Mincho", serif;
  line-height: 1.6;
}
.overview-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: #000;
  color: #fff;
  letter-spacing: 0.1em;
}

.btn-primary:hover {
  background-color: #333;
}
.research-wrapper{
  margin-bottom: 112px;
}
.research-content {
  margin-bottom: 70px;
}
.research-content__row{
  display: flex;
  gap: 48px;
}
.research-content__row-text{
  max-width: 360px;
}
.research-content__row img{
  width: 100%;
}
.research-content h4{
  color: #333333;
  font-family: "Zen Old Mincho";
  font-size: 1rem;
  line-height: 180%;
  background: none;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  border: 1px solid #999999;
  padding: 0px 20px;
  display: inline-block;
  text-align: justify;
}
.research-image {
  margin: 30px 0;
  text-align: center;
}
p.research-image__caption{
  color: rgb(85, 85, 85);
  font-family: "Noto Sans JP";
  font-size: 1.0625rem;
  line-height: 180%;
  font-style: inherit;
  text-align: center;
  margin-top: 10px;
  margin-bottom: initial;
}
.research-image img {
  max-width: 100%;
  height: auto;
}
.research-image img{
  width: 100%;
}
@media (max-width: 768px) {
  .research-content__row{
    flex-direction: column;
    gap: initial;
  }
  .research-content__row-text{
    max-width: 100%;
  }
  p.research-image__caption{
    font-size: 0.9375rem;
  }
  .page-header {
    margin-top: 70px;
  }
}

/* 研究成果ページのスタイル */
.year-heading {
  color: #333;
  font-size: 1.5rem;
  line-height: 120%;
  font-weight: 500;
  font-style: normal;
  margin: 40px 0 25px 0;
  padding-bottom: 10px;
}

.result-item {
  padding-bottom: 23px;
  display: flex;
  gap: 20px;
}

.result-date {
  color: rgb(107, 105, 109);
  font-size: 1rem;
  line-height: 120%;
  background: none;
  font-weight: 400;
  font-style: normal;
  text-align: left;
}

.result-detail-container {
  flex: 1;
}

.result-detail {
  color: rgb(68, 68, 68);
  font-size: 1rem;
  line-height: 120%;
  background: none;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  margin-bottom: 10px;
}

.result-detail:last-child {
  margin-bottom: 0;
}
.result-detail a {
  text-decoration: underline;
  transition: color 0.3s;
}

.result-detail a:hover {
  color: #004080;
}

@media (max-width: 768px) {
  .year-heading {
    font-size: 1.75rem;
  }
  
  .result-item {
    flex-direction: column;
    gap: 10px;
  }
  
  .result-date {
    width: 100%;
    margin-bottom: 5px;
    font-size: 1rem;
  }
  
  .result-detail {
    font-size: 0.9375rem;
  }
}
