* {
    padding:0;
    margin:0;
}

html {
    scroll-behavior: smooth;
}

#wrapper {
    font-family: "Arial Black","ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /* font-family: 'Hina Mincho', serif; */
}


/* #header { */
/*     margin: 0; */
/*     height: 80px; */
/*     background: transparent url("../img/laboratory_logo2.png") no-repeat; */
/*     background-size: auto 80px; */
/*     background-origin: 0; */
/*     margin-left:2%; */
/*     margin-top:16.18px; */
/* } */

#top-image {
    background-color:#fff;
    height: 0;
    padding-bottom: 20%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    text-align: center;
    color: #464646;
    overflow: hidden;
    position: relative;
}

#top-image .top-logo {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
}

#top-image .top-overlay {
    background: transparent url("../img/fig12_v3.jpg") repeat-x;
    /* background: transparent url("../img/top-image-01.png") no-repeat; */
    width: 27289px;
    height: 1003px;
    background-size: 27289px 1003px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    /* animation: move-background 240s linear infinite; */
}



#news .inner {
    border: .1rem solid #d1d1d1;
    padding-left:  15px;
    margin-bottom: 15px;
    height:        400px;    /*高さ*/
    width: 100%;
    overflow-y:      auto;    /*高さの設定を超えるとスクロールが自動で出る設定。全部表示させていたいならこの行と上の行を削除。*/
    overflow-x:      hidden;
}



li.publication a {
  color: #4dacca;
  text-decoration: underline;
  font-size: 1em;

}

li.publication{
    line-height:1.2em;
    font-size: .9em;
}


ul.ref1, ul.ref2 {
    padding-left: 10px;
}

ul.ref1::before,
ul.ref2::before
{
    content: "発表文献:";
    font-size: 1em;
    color: #777;
    line-height: 1.2em;
    font-weight:bold;
}

ul.ref2::before {
    content: "発表文献等:";
}


a:focus, a:hover {
  color: #909090;
  /* color: #606c76; */
}

#news,#access,#members,#profile,.labtxtSjp,.ref1,.ref2 {
    font-family: "Calibri","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#news .row {
    margin-left:20px;
}

#news .date {
    width:160px;
    margin:5px;
    margin-right:50px;
    font-weight:bold;
}

#news .desc {
    width:90%;
    margin:5px;
    margin-right:50px;
}

#menu p {
    color:#444;
    margin-top:20px;
    margin-bottom:20px;
    font-family: "Arial","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#menu {
    width: 100%;
    /* margin: auto; */
    margin-top:50px;
    text-align: center;
}





#profile {
    padding-top: 5.2em;
}

#access {
    padding-top: 5.2em;
}

#scroll-top {
    position: fixed;
    right: 2em;
    bottom: 2em;
}

/* overwrite milligram */
a, .button.button-outline {
    /* color: #fc9f4d; */
    color: #222222;
    text-align: center;
    font-size: .9em;
}

.button {
    /* border-color: #4dacca; */
    /* border-color: #fc9f4d; */
    border-color: #222222;
}

#members:before,
#research:before,
#access:before,
#profile:before
{
    content: '';
    height:2em;
    display:block;
}

#members .title
{
    background-color: #efefef;
    padding:0px;
    padding-left:15px;
    padding-right:25px;
    border-radius: 0.5rem;
    font-weight:bold;
    margin: 0px;
    height: 33px;
}

#members .title::before
{
    /* content: "\2B51"; */
    /* content: "\273C"; */
    /* content: "\2749"; */
    /* content: "\2B95"; */
    content: "\00BB";
    /* content: "\2192"; */
    margin-right:5px;
    padding:0;
    font-size: 1.2em;
}

#members .name
{
    /* background-color: #efefef; */
    padding:2px;
    padding-left:15px;
    border-radius: 1rem;
    margin: 5px;
}
#members .column span.mem
{
    width:500px;
    display:inline-block;
    padding:0px;
    margin:0px;
    vertical-align: middle;
    font-weight:bold;
}

#access .map
{
    padding:15px;
    margin: 5px;
}

#access .map:last-child
{
    margin-top:50px;
}

#access .map:first-child img
{
    width:2200px;
    height:600px;
    background-color: #444;
    object-fit: cover;
}


#research .mainFig
{
    background-color: #eee;
    padding:25px;
    border-radius: 2rem;
    margin: 5px;
}

/* common */
.title-decorate,
.topictitleS{
    font-family: Copperplate, "Copperplate Gothic Light", fantasy, Helvetica;
    color: #6e552f;
}

.topictitleSubS{
  font-family: "Calibri","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #6e552f;
}



.title-decorate h1,
.title-decorate h5 {
    color:#444;
}



.labtitleS,
.topictitleS{
    padding: 0;
    margin: 0;
    font-size: 1.8em;
    font-weight: bold;
    color: #444444;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.5em;
}

.topictitleSubS {
    padding: 0;
    margin: 0;
    font-size: .8em;
    font-weight: bold;
    color: #444444;
    margin-top: 30px;
    margin-bottom: 10px;
    line-height: 1.2em;
}


#members .rowS .title,
#members .rowS .type
{
    background-color: #fff;
    padding:0px;
    padding-left:5px;
    padding-right:0px;
    border-radius: 0.5rem;
    font-weight:bold;
    font-size:.9em;
    margin: 0px;
    width: 100px;
}

#members .rowS .mem
{
  font-size:.9em;
  display: inline;
}

/* #members .rowS span.mem */
/* { */
/*     width:500px; */
/*     display:inline-block; */
/*     padding:0px; */
/*     margin:0px; */
/*     vertical-align: middle; */
/*     font-weight:light; */
/* } */



.topictitleSjp {
    padding: 0;
    margin: 0;
    font-size: 1.3em;
    color: #6e552f;
    margin-top: 10px;
    line-height: 1.2em;
}


.labtitleSjp-above {
    padding: 0;
    margin: 0;
    font-size: 1.2em;
    color: #777;
    margin-top: 0px;
    margin-bottom: 20px;
    line-height: 1.2em;
    text-align: center;
}

.labtxtSjp{
    padding: 0;
    margin: 0;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    width:95%;
    color: #777;
    line-height: 1.5em;
    font-size: 1em;
    text-align: left;
}

.row .blank-50 {
    background-color: #fff;
    flex: 0 0 50%;
    max-width: 50%;

}

footer {
    left:0;
    border-top: .1rem solid #d1d1d1;
    margin-top: 100px;
    padding-top:10px;
    position: absolute;
    width:100%;
    height:auto;
    background-color: #e4e5e6;
    text-align: center;
    color:#a0a0a0;
}



.button.visited {
  background-color: transparent;
  border-color: #606c76;
  color: #606c76;
  font-size: .9em;
}


@keyframes move-background {
    from {
        transform: translate3d(-24680px, 0px, 0px);
    }
    to {
        transform: translate3d(6029px, 0px, 0px);
    }
}

@media (max-width: 120.0rem) {
    #top-image {
        padding-bottom: 40%;
    }
    #top-image .top-overlay {
        /* background: transparent url("../img/fig12_v3S.jpg") repeat-x; */
        /* background: transparent url("../img/top-image-01.png") no-repeat; */
        background: transparent url("../img/top-image-012.png") no-repeat;
        width: 1960px;
        height: 800px;
        background-size: 1382px 576px;
        /* background-size: 1960px 650px; */
        margin-left:12%;
        margin-top:4%;
        /* width: 13645px; */
        /* height: 502px; */
        /* background-size: 13645px 502px; */
    }

}
@media (max-width: 80.0rem) {
    #top-image {
        padding-bottom: 55%;
    }
    .top-logo{
        padding-top:8%;
    }
    #top-image .top-overlay {
        background: transparent url("../img/fig12_v3S.jpg") repeat-x;
        height: 550px;
        background-size: 14927px 550px;
    }
    @keyframes move-background {
        from {
            transform: translate3d(-13500px, 0px, 0px);
        }
        to {
            transform: translate3d(3298px, 0px, 0px);
        }
    }
}
@media (max-width: 40.0rem) {
    #top-image {
        padding-bottom: 80%;
    }
    #top-image .top-overlay {
        /* background: transparent url("../img/fig12_v3S.jpg") repeat-x; */
        /* height: 400px; */
        /* background-size: 10856px 400px; */
        background: transparent url("../img/top-image-01.png") no-repeat;
        width: 1960px;
        height: 800px;
        background-size: 984px 320px;
        margin-left:-60%;
        margin-top:10%;
    }
    @keyframes move-background {
        from {
            transform: translate3d(-10000px, 0px, 0px);
        }
        to {
            transform: translate3d(1800px, 0px, 0px);
        }
    }
}









/******************************* navigation by milligram */
header {
  text-align: left;
  width: 100%;
  z-index: 999;
  padding: .4rem;
  position: fixed;
  height: 80px;
  background: #f4f5f6;
  border-bottom: 0.1rem solid #d1d1d1;
}

header input.menu-toggle {
  display: none;
}

nav {
  position: absolute;
  text-align: center;
  top: 100%;
  left: 70%;
  background-color: #f4f5f6;
  width: 30%;
  -webkit-transform: scale(1, 0);
          transform: scale(1, 0);
  -webkit-transition: -webkit-transform 400ms ease-in-out;
  transition: -webkit-transform 400ms ease-in-out;
  transition: transform 400ms ease-in-out;
  transition: transform 400ms ease-in-out, -webkit-transform 400ms ease-in-out;
  -webkit-transform-origin: top;
          transform-origin: top;
}

nav ul {
  margin: 0;
  margin-top: 14%;
  padding: 0;
  height: 20vh;
}

nav li {
  margin-left: 1rem;
  height: 10%;
  list-style: none;
}

nav a {
  text-transform: uppercase;
  opacity: 0;
}

.nav-heading {
  font-size: 3rem;
}

.menu-toggle:checked ~ nav {
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
}

.menu-toggle:checked ~ nav a {
  opacity: 1;
  -webkit-transition: opacity 200ms ease-in 100ms;
  transition: opacity 200ms ease-in 100ms;
}

.menu-nav-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 2rem;
}

.menu-nav-toggle:hover, .menu-nav-toggle:focus {
  cursor: pointer;
}

.menu-nav-toggle span, .menu-nav-toggle span:before, .menu-nav-toggle span:after {
  display: block;
  background: #333;
  width: 2rem;
  border-radius: 0.125rem;
  position: relative;
  height: 0.25rem;
}

.menu-nav-toggle span:before, .menu-nav-toggle span:after {
  content: '';
  position: absolute;
}

.menu-nav-toggle span:before {
  top: 0.8rem;
}

.menu-nav-toggle span:after {
  bottom: 0.8rem;
}


.nav-brand img.logo {
    height: 80px;
    margin-left: 15%;
    padding-bottom:10px;
}

@media screen and (min-width: 55rem) {
  .menu-nav-toggle {
    display: none;
  }
  header {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr auto minmax(37.5rem, 3fr) 1fr;
        grid-template-columns: 1fr auto minmax(37.5rem, 3fr) 1fr;
  }
  .nav-brand {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
  }

  nav {
    all: unset;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  nav ul {
    margin-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 60px;
  }
  nav li {
    margin-bottom: 0;
    margin-left: 2rem;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: auto;
  }
  nav li {
    margin-bottom: 0;
    margin-left: 2rem;
  }
  nav a {
    opacity: 1;
  }

}

@media screen and (max-width: 40rem) {
    header {
        text-align: left;
        width: 100%;
        z-index: 999;
        padding: .4rem;
        position: fixed;
        height: 50px;
        background: #f4f5f6;
        border-bottom: 0.1rem solid #d1d1d1;
    }
    .nav-brand img.logo {
        height:50px;
        margin-left: 15%;
        padding-bottom:10px;
    }
}
