/* ===========================
   THEME
=========================== */

:root{
    --ut-blue:#003B80;
    --ut-light:#f8f9fa;
    --ut-text:#333;
    --ut-gray:#6c757d;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:
        "Noto Sans JP",
        "Yu Gothic",
        sans-serif;
    color:var(--ut-text);
    line-height:1.8;
    letter-spacing:.02em;
    background:#fff;
}
a{
color:#333;
text-decoration: none;
}
/* ===========================
   NAVBAR
=========================== */
.logo{
width:300px;
}

.navbar{
    background:rgba(24, 34, 79,.9);
    backdrop-filter:blur(10px);
    transition:.3s;
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand{
    font-weight:700;
    letter-spacing:.05em;
}

.nav-link{
    color:#fff !important;
    margin-left:20px;
    font-weight:500;
}

.nav-link:hover{
    color:#d6e8ff !important;
}
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

/* active のときに線を左→右へ */
.nav-link.active::after {
    width: 100%;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 6px 14px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.lang-switch:hover {
    background: #fff;
    color: #18224f;
}

/* スマホ・タブレット */
@media (max-width: 991px) {
    .nav-right {
        margin-left: auto;
    }
}

/* PC */
@media (min-width: 992px) {
    .nav-right {
        order: 3;
        margin-left: 20px;
    }
}
/* ==========================
   FOOTER
========================== */

#page-top {
  margin: 80px 0px 0px;
  text-align: center;
	font-size:1.2em;
font-family: "Anton", sans-serif;
}
#page-top a {
	color:#333;
}
#footer {
  margin-top: 60px;
  padding: 40px 0 0;
  background-color: #d6dbf2;
color:#333;
font-size: 1em;
}
#footer a {
	color:#333;
}
.copy{
  text-align: center;
  margin: 20px 0px 0;
padding:1em;
  background-color: #18224f;
color:#fff;
}
#footer img{
width:80%;
}

/* ===========================
   TOPページ
=========================== */

/* hero */

#heroCarousel{
    height:80vh;
}

.hero-img{
    width:100%;
    height:80vh;
    object-fit:cover;
    filter:brightness(.45);
}

.hero-content{
    position:absolute;
    top:50%;
    left:10%;
    transform:translateY(-50%);
    z-index:10;
    color:#fff;
    max-width:70%;
}

.hero-content h1{
font-size: clamp(2rem, 4vw, 4rem);
    font-weight:700;
    line-height:1.3;
}

.hero-content p{
    margin-top:25px;
    font-size:1.2rem;
    color:#eee;
}

.hero-content .btn{
    margin-top:35px;
    padding:14px 38px;
    border-radius:0;
    border:2px solid #fff;
    transition:.3s;
}

.hero-content .btn:hover{
    background:#fff;
    color:var(--ut-blue);
}

/* 767px以下 */
@media screen and (max-width: 767px) {
.hero-content{
    max-width:100%;
}
}

/* About us */

#aboutus {
  margin: 50px auto 0;
  padding: 50px 0;
  width: 100%;
}
#aboutus img{
width:100%;
}
@media (min-width: 992px) {
  #aboutus .col-lg-2 {
    width: 20%;
  }


}
/* 767px以下 */
@media screen and (max-width: 767px) {

  #aboutus {
    margin: 0;
    padding: 10px;
  }
.about-image{
width:70%;
display:block;
margin:0 auto;
}
}


/* ===========================
   SECTION
=========================== */

section{
    padding:20px 0;
margin:40px 0 80px;
}

.section-subtitle{
    color:var(--ut-gray);
    margin-bottom:50px;
}

@media (max-width: 576px) {
.g-5{
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
}

.go-list{
color:#333;
text-decoration:none;
margin:0px 0 20px;
} 
.go-list img {
  width: 1em;
  height: 1em;
vertical-align: middle;
  transition: transform 0.3s ease;
margin-bottom:0;
}

.go-list:hover img {
  transform: translateX(0.5em);
}


#information .btn{
  background: #18224F;
color:#fff;
}
/* ===========================
   CARD
=========================== */

.card{
    border:none;
    border-radius:0px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition:.3s;
    overflow: hidden;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.card-body{
    padding:0px;
}

.card h4{
    color:var(--ut-blue);
font-size:1.2em;
}


/* ==========================
  CONTENT
========================== */
.content{
margin-top:80px;
}


/* page-title */

.page-title {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-title img {
  width: 100%;
  display: block;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .page-title {
    width: 100%;
    overflow: clip;
    margin-top: 120px;
  }

  .page-title img {
    width: 160%;
    max-width: none;
    height: auto;

    display: block;
  }
}

/* h2 */

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 20px auto 40px;
  gap: 8px;
}

.section-title .en {
  font-size: 4rem;
  font-family: "Anton", sans-serif;
  color: #18224f;
  line-height: 1;
}

.section-title .jp {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  color: #fff;
  background: #18224f;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
}

.cont-title {
  font-size: 40px;
  font-weight: bold;
  padding: 30px 40px;
  margin: 40px 0;
  color: #ffffff;
  background: #18224F;
  box-shadow: 8px 8px 3px 0px rgba(213, 219, 242, 1);
}
.content h3{
    position:relative;
font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight:700;
  margin: 40px 0;
    padding:12px 18px;
    background:#f8fafc;
    border-left:5px solid #18224F;
    overflow:hidden;
}

.content h3::before{
    content:"";
    position:absolute;
    right:-40px;
    top:-40px;
    width:120px;
    height:120px;
    border-radius:50%;
    background:rgba(37,99,235,.06);
}
.content h4{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:1.35rem;
    font-weight:700;
margin:40px 0 20px;
}

.content h4::before{
    content:"";
    width:14px;
    height:14px;
    border:3px solid #18224F;
    transform:rotate(45deg);
    flex-shrink:0;
}

.content h4::after{
    content:"";
    flex:1;
    height:1px;
    background:#d1d5db;
}

.content h5{
    font-size:1.1rem;
    font-weight:700;
    color:#18224F;
    margin:28px 0 14px;
    padding:8px 14px;
    border-bottom:1px dotted #18224F;
}

/* ==========================
  research
========================== */

.research{
width:70%;
margin:0 auto;
}

.research .fig {
  width: 100%;
  display: block;
  margin: 40px auto;
padding:5%;
  border: 1px solid #c8c8c8;
}
.research .fig img {
  width: 100%;
}
.research .bg_gray {
  background: #f1f1f1;
  padding: 15px 20px;
  margin-bottom: 50px;
  border-radius: 15px;
  margin-top: 10px;
}
.research .bg_gray li {
  margin-left: 1.5rem;
}

@media (max-width: 992px) {
.research{
width:100%;
}
}
/* ==========================
Publication
========================== */

.year-scroll{
    overflow:hidden;
    scroll-behavior:smooth;
}

.year-scroll::-webkit-scrollbar{
    display:none;
}

.year-scroll{
    -ms-overflow-style:none;
    scrollbar-width:none;
}

.year-item{
    min-width:120px;
    text-align:center;
    border:2px solid #acc7dd;
    border-radius:10px;
    padding:1rem 0;
    font-weight:bold;
    color:#333;
    text-decoration:none;
    background:#fff;
}

.year-item:hover{
    background:#acc7dd;
    color:#fff;
}

.arrow-btn{
    width:40px;
    height:40px;
    flex-shrink:0;
}
.year-item.active{
    background:#acc7dd;
    color:#fff;
    border-color:#acc7dd;
}

.publ-nav{
  margin: 60px 0px !important;
  list-style: none;
}
.publ-nav li{
display: inline-block;
	margin:0px 4px 12px !important;
}
.publ-nav li a{
	display: block;
padding:0.5em 0;
border:2px solid #acc7dd;
	font-weight:bold;
	width:200px;
	text-align:center;
}
.publ-nav a:hover{
	background: #acc7dd;
color:#fff;
}

.publ-con ul{
  margin: 20px 0px 0px 1em;
}
.publ-con li{
  margin: 0px 0px 1em 0;
}
.publ-con b{
font-style:italic;
}

/* publications */
.ol-list li{
  line-height: 1.5;
margin-bottom:0.5em;
}
.p-title {
  font-weight: 600;
font-size:1.1em;
}
.p-name {
  font-weight: 500;
text-decoration: underline;
}
.jour {
  font-style: italic;
  font-weight: 600;
}
.blank {
  width: 1em;
  padding-left: 4px;
}

/* ==========================
 experiment
========================== */

.mri_list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 50px;
  margin-top: 0px;
  border-radius: 0 0 5px 5px;
  overflow: auto;
}
.mri_list li {
  list-style: none;
  border-bottom: 1px solid #ccc;
}
.mri_list li a {
  text-decoration: none;
  transition: 0.3s;
  display: block;
  padding: 10px 5px 10px 35px;
  border-radius: 5px;
  font-size: 1.1rem;
  position: relative;
color:#333;
}
.mri_list li a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  position: absolute;
  top: 50%;
  left: 2px;
  transform: rotate(45deg) translateY(-70%);
}
.mri_list li a:hover {
  background: #18224F;
  color: #fff;
}
.mri_list .recruit_btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}
.mri_list .recruit_btn span {
  display: inline-block;
  min-width: 25px;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: #18224F;
  color: #fff;
}

.experiment{
width:60%;
margin:40px auto;
}
.experiment-con h1{
text-align:center;
margin:40px 0 20px;

}
.experiment-con h2{
font-size: clamp(1.0rem, 4vw, 1.4rem);
  font-weight: bold;
  padding: 30px 40px;
  margin: 40px 0;
  color: #ffffff;
  background: #18224F;
  box-shadow: 8px 8px 3px 0px rgba(213, 219, 242, 1);
}
.experiment-con em{
 color:red;
}
.experiment-con a{
 color:blue;
}

.mt_15 {
  margin-top: 2em !important;
}
 .link_btn {
  text-align: center;
}
.link_btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.2em;
  width: 250px;
  height: 50px;
  background: #18224F;
  margin: 40px auto 0;
  border-radius: 20px;
  transition: 0.2s;
}

.c_red {
  color: rgba(255, 0, 0, 1) !important;
}

/* ==========================
member
========================== */
.researchmap {
  border: 1px solid #c8c8c8;
  padding: 8px;
  vertical-align: middle;
margin-top:1em;
width:80% !important;
}

.mem-wp {
padding:30px;
}
.mem-wp h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 20px auto 0px;
  gap: 6px;
}

.mem-wp .en {
  font-size: 1.2rem;
  color: #18224f;
  line-height: 1;
}

.mem-wp .jp {
  font-size: 1.6rem;
  color: #18224f;
  border-bottom: 2px solid #18224f;
  padding-bottom: 4px;
margin-bottom:8px;
font-weight:600;
}
.mem-wp .jp1 {
  font-size: 1.2rem;
  color: #18224f;
  padding-bottom: 4px;
}


.mem-wp img{
width:100%;
}

.mem-wp .btn{
  background: #18224F;
}
.mem-wp .btn{
color:#fff;
}

.view-pro{
color:#333;
text-decoration:none;
margin-top:20px;
} 
.view-pro img {
  width: 1em;
  height: 1em;
vertical-align: middle;
  transition: transform 0.3s ease;
margin-bottom:0;
}

.view-pro:hover img {
  transform: translateX(0.5em);
}

/* 協力研究者ボタン */

.group_btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.2em;
  width: 250px;
  height: 50px;
  background: #18224F;
  margin: 60px 0;
  border-radius: 20px;
  transition: 0.2s;
}

.group_btn a span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.group_btn a:hover span {
  transform: translateX(8px);
}

/*個別ページ */
.mem-title h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 40px auto 30px;
  gap: 6px;
}

.mem-title .en {
  font-size: 1.5rem;
  color: #18224f;
  line-height: 1;
}

.mem-title .jp {
  font-size: 2.5rem;
  color: #18224f;
  border-bottom: 2px solid #18224f;
  padding-bottom: 4px;
margin-bottom:8px;
font-weight:600;
}
.mem-title .jp1 {
  font-size: 1.2rem;
  color: #18224f;
  padding-bottom: 4px;
}

.ul-list li{
  line-height: 1.8;
}
.ol-list li{
  line-height: 1.5;
margin-bottom:0.5em;
}
.m-table th{
  font-weight: 400;
padding:4px 1em 0.5em 0;
white-space: nowrap;
vertical-align:top;
}
@media (max-width: 767px) {
.mem-title img{
width:100%;
}
}
/* gallery */

  .gallery-main {
    max-width: 600px;
    margin: 0 auto 20px;
  }

  .gallery-main .carousel-item img {
    width: 100%;
    object-fit: contain;
  }

  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    max-width: 80%;
    margin: 0 auto;
  }

.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  filter: grayscale(40%);
}

  .gallery-thumb img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
  }

.gallery-thumb.active {
  border-color: transparent;
  opacity: 1;
  filter: none;
}

.gallery-thumb:hover {
  opacity: 0.8;
  filter: none;
}



  @media (max-width: 767px) {
    .gallery-main .carousel-item img {
      height: 400px;
    }

    .gallery-thumbs {
      grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    }

    .gallery-thumb img {
      height: 65px;
    }
  }