@charset "utf-8";
*{
  box-sizing:border-box;
}

/*　common
-------------------------------------*/
.logo_nims {
    width: 50px;
    height: auto;
    transform: translateY(5px);
    }

html {
    font-size: 100%;
}
body {
    font-family: 'Helvetica Neue','Arial',"Noto Scans JP", sans-serif;
    line-height: 1.0;
    color: #333;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    text-size-adjust: 100%;
}

a{
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    backface-visibility: hidden;

}

.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 4%;

}

/* header */
.site-header {
    width: 100%;
    background: #fff;
}

.header-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 15px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
   
/* NIMS logo */
.logo img {
    display: block;
    width: 120px;
    height: auto;
}

/* Navigation */
.global-nav {
    margin-left: auto;
    }

.global-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 25px;   
}

.global-nav li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
 }

.global-nav a {
    display: block;
    white-space: nowrap;
    text-decoration: none;

 /* 文字サイズ */
 font-size: 20px;
 font-weight: 500;
 line-height: 1.4;
}

.global-nav a:hover {
    opacity: 0.5;
 }

/* English */
.english-link {
    color: #0065ac !important;
    font-weight: 600;
}

/* Main Visual / Video
-------------------------------------*/
.main-visual {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    margin: 0 0 60px 0;
    padding: 0;
}

.main-visual video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-visual-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
}

.main-visual-text h1 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 56px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.main-visual-text p {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* Dark overlay */
.main-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}


/*home, research 
-----------------------------------------*/
.title {
    font-family: 'cormorant-garamond', Georgia, sans-serif;
    font-size: 1.75rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.3;
    color: #707070;
    font-weight: 300;
    font-style: normal;
    margin: 0 auto;
    
}

.page-title {
    font-family: 'cormorant-garamond', Georgia, sans-serif;
    font-size: 1.75rem;
    text-align: center;
    text-transform: uppercase;
    padding-top: 72px;
    padding-bottom: 46px;
    letter-spacing: 0.15em;
    line-height: 1.3;
    color: #707070;
    font-weight: 300;
    font-style: normal;

}

p {
    letter-spacing: 0.05em;
    font-size: 1.0rem;
    margin: 10px 0 42px 0;
} 

  
.page-title2 {
    font-family: "work-sans", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 400;
    color: #A89B7E;
    line-height: 1.6;
    margin: 0 0 80px 0;
}

.sen-1 {
    font-family: "work-sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.40rem;
    color: #188cd3;
    font-weight: 700;
    text-align: justify;
    line-height: 1.8;
    margin: 0;   
}

.sen-2 {
    font-family: "work-sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.85;
    text-align: justify;
}

/* research
--------------------------------------------*/
.s-title {
    font-family: "Outfit", "Jost", "Work Sans", sans-serif;
    font-size: 2.00rem;
    font-weight: 600;
    padding: 0 50px;
    color: #707070;
    text-align: center;
    line-height: 1.5;
    top: 0;
    left: 0;
    list-style-type: circle;
    margin: 0 auto  1.5em auto;
}
.inner{
    width: min(50px, 90%);
    margin: 0 auto;
    line-height: 1.8;
}

.r-subject li {
    font-family: "work-sans", "Helvetica Neue", Arial, sans-serif;
    list-style-type: circle;
    list-style-position: inside;
    font-size: 1.0rem;
    line-height: 1.0;
    margin: 0 10px 0.8em 10px;
    color: #2095de;
    text-align: center;
}
.inner{
    width: min(1200px, 90%);
    margin: 0 auto;
    line-height: 1.8;
}

.research-visual {
    height: auto;
    max-width: 100%;
    margin: 42px auto;
    padding: 0 100px;
    margin: 0 50px 1.5em 50px;  
}

.inner{
    width: min(1200px, 90%);
    margin: 0 auto;
    line-height: 1.8;
}
/*publications & News list
--------------------------------------------*/
.pb-title {
    font-family: "cormorant-garamond", Georgia, sans-serif;
    text-align: left;
    font-size: 2.55rem;
    font-weight: 600;
    color: #707070;
    padding: 0 100px;

}

.pb-subject li {
    font-family: "work-sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.7;
    top: 0;
    left: 0;
    list-style-type: circle;
    margin: 0 100px 1.5em 100px;
}

/*people
-------------------------------------------*/
.inner{
    width: min(800px, 90%);
    margin: 0 auto;
    line-height: 1.8;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.container .leader {
    grid-column: 1 / 4;
    justify-self: center;
    width: 33.333%;
}

.item img {
    width: 100%;
    height: auto;
    display: block;
}

.mem-list {
    font-family: "work-sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0;
    margin: 12px 0 0;
}

.mem-list p strong {
    font-size: 1.25rem;
}

.mem-list a {
    color: #8B8780;
        }

.mem-list a:link {  
    color: #8B8780;
}
    
.mem-list a:visited {
    color: #A2A09D;
}
    
.mem-list a:hover{
    opacity: 0.65;
}

@media screen and (max-width: 768px){

.container {
    grid-template-columns: 1fr;
}

.container .leader {
    grid-column: auto;
    width: 80%;
}

}

/* students
--------------------------------------------*/
.prg-list li {
    font-family: 'cormorant-garamond', "Work Sans", sans-serif;
    font-weight: 400;
    font-size: 1.35rem;
    text-align: left;
    list-style-type: circle;
    padding-left: 200px;
    list-style-position: inside;
}

.prg-list 
        a {
    color: #8B8780;
}

.prg-list a:link {
    color: #8B8780;
}

.prg-list a:visited {
    color: #A2A09D;
}

.prg-list a:hover{
    opacity: 0.65;
}

.sen-4 {
    font-family: "work-sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0;
    padding-bottom: 100px;
    padding-left: 200px;   
}

/* facility
-------------------------------------------*/
.facility-img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
    height: auto;
}

.item {
    margin: 10px;
    padding: 10px;    
}


/* access
--------------------------------------------*/
#location .wrapper {
    margin:0 auto;
    justify-content: center;

}

.iframe {
    width: 100%;
}

.location-map {
    width: 74%;
    text-align: center;
    display: block;
    margin: auto;
}

.location-info {
    width: 100%;
    
}
.location-info p {
    font-size: 1.20rem;
    font-family: "Outfit", "Jost", "Work Sans", sans-serif;
    text-align: center;
    
    font-weight: 600;
    padding: 0 50px;
    color: #707070;
    text-align: center;
    line-height: 1.5;
    top: 0;
    left: 0;
    
    margin: 0 auto  1.5em auto;
}
}


.location-info a {
    color: #8B8780;
}
    a:link {
    color: #8B8780;
}
    a:visited {
    color: #A2A09D;
}
    a:hover{
    color: #BAAE93
}



/*footer
---------------------------------------------*/
.footer {
    text-align: center;
    margin-top: 200px;
    padding: 26px 0;
    
}
.footer p {
    font-family: "Raleway", sans-serif;
    color: #BABABA;
    font-size: 0.875rem;
}

.social-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    gap: 10px;
    min-height: 120px;
    padding: 40px;
    margin: 0;

}
.social-footer li {
    margin: 10px;
    padding: 20px;
}

.social-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-footer a:hover {
    opacity: 0.65; transform: translateY(-3px);
}
