@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}

body {
  color: #333;
  font-size: 1.2rem;
  /*
  font-family: "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
  */
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
  background-color: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a:link,
a:visited,
a:hover,
a:active {
  color: #0a6d9e;
  text-decoration: none;
}

a:hover {
  color: #3399cc;
  text-decoration: none;
  transition: 0.3s;
}

.wf-notosansjapanese {
  font-family: "Noto Sans Japanese";
}

.wf-roundedmplus1c {
  font-family: "Rounded Mplus 1c";
}

.wf-mplus1p {
  font-family: "Mplus 1p";
}

/* --------------------------------
 * parts
 * -------------------------------- */
.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

h2 {
  margin-bottom: 20px;
  padding: 10px;
  border-left: 10px solid #F0007D;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

#en h2 {
  letter-spacing: 1px;
}

h3 {
  margin-left: 15px;
  margin-bottom: 20px;
  padding: 10px 10px 0 5px;
  border-bottom: 2px solid #F0007D;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.5em;
}

p {
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 1.8em;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

li {
  list-style: none;
  font-size: 1.6rem;
  letter-spacing: 1px;
}


/* --------------------------------
 * .header-upper
 * -------------------------------- */
.header-upper-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #8bcbea;
  box-shadow: 0 0 2px 2px #999;
  z-index: 100;
}

.header-upper {
  max-width: 960px;
  margin: 0 auto;
  padding: 3px 5px 3px 0;
  font-weight: 600;
}

.labo-name {
  float: left;
  margin: 0;
}

.labo-name-inner {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 2em;
  color: #666;
}

@media (max-width: 1080px) {
  .labo-name-inner {
    font-size: 0.8rem;
    line-height: 22px;
  }
}

.lang-selector {
  float: right;
  margin: 0;
  background-color: #f1f1f1;
  border-radius: 5px;
  font-size: 1.6rem;
  padding: 3px;
  line-height: 1em;
}

.lang-anchor:link,
.lang-anchor:visited,
.lang-anchor:hover,
.lang-anchor:active {
  color: #666;
  text-decoration: none;
}

.lang-anchor:hover {
  color: #3399cc;
  text-decoration: none;
}

.hamburger-menu {
  display: none;
}

/* --------------------------------
 * .wrapper
 * -------------------------------- */
.wrapper {
  max-width: 960px;
  margin: 28px auto 0;
  background: 0 0 url(../img/bg.png) no-repeat #fff;
  box-shadow: 0 0 20px #ccc;
}

/* --------------------------------
 * .header
 * -------------------------------- */
.header {
  max-width: 960px;
  margin: 0 auto;
  padding: 35px 50px 50px;
  text-align: right;
}

.page-title {
  padding: 20px 0 20px 20px;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.4em;
  letter-spacing: 2px;
}

/*
#en .page-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 0 #fff, 0 0 10px #fff;
  letter-spacing: 1px;
}
#en .page-title > span {
  font-size: 2.2rem;  
  letter-spacing: 0;
  line-height: 1em;
}
*/
#en .page-title {
  padding-bottom: 10px;
  font-size: 2.6rem;
  font-weight: 600;
  text-shadow: 2px 2px 0 #fff, 0 0 10px #fff;
  letter-spacing: 0;
}

#en .sub-page-title {
  margin-left: 0;
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4em;
}

/* --------------------------------
 * .container
 * -------------------------------- */
.container {
  display: flex;
  display: -webkit-box;
  /* Android -4.3 */
  max-width: 960px;
  margin: 0 auto;
}

/* --------------------------------
 * .side
 * -------------------------------- */
.side {
  max-width: 27%;
  margin: 0;
  padding: 200px 15px 100px 30px;
}

.nav-wrap {
  padding-left: 0;
  padding-bottom: 10px;
}

.nav-item {
  display: block;
  list-style: none;
  margin-bottom: 10px;
  padding: 10px;
  border-left: 10px solid #3399CC;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1em;
}

#en .nav-item-faculty {
  padding: 5px 10px 5px;
  font-size: 1.4rem;
  line-height: 1em;
}

.nav-item-anchor:link,
.nav-item-anchor:visited,
.nav-item-anchor:hover,
.nav-item-anchor:active {
  color: #333;
  text-decoration: none;
}

.nav-item-anchor:hover {
  color: #3399cc;
  text-decoration: none;
}

.nav-item-anchor {
  display: block;
}

.lang-selector-menu {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px;
  background-color: #f1f1f1;
  border-radius: 5px;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.6px;
}

.lang-anchor-menu:link,
.lang-anchor-menu:visited,
.lang-anchor-menu:hover,
.lang-anchor-menu:active {
  color: #666;
  text-decoration: none;
}

.lang-anchor-menu:hover {
  color: #3399cc;
  text-decoration: none;
}

/* --------------------------------
 * .main
 * -------------------------------- */
.main {
  max-width: 73%;
  margin: 0;
  padding: 0 50px 50px 15px;
}

/* top-page */
.intro {
  padding-bottom: 50px;
}

.intro-labo {
  padding-bottom: 10px;
}

.intro-group {
  padding-bottom: 10px;
}

.intro-figure-title {
  font-size: 1.4rem;
}

.intro-img {
  margin: 20px;
}

.intro-figure-desc {
  font-size: 1.4rem;
}

.news {
  margin-bottom: 50px;
}

.news-wrap {
  margin-left: 20px;
}

.news-item {
  position: relative;
  padding: 2.2em 2em 2.2em 2em;
  margin-right: 2em;
  border-bottom: 1px dashed #f3b2d4;
  font-size: 1.4rem;
  line-height: 1.8em;
}

.news-item::before {
  content: "■";
  color: #f3b2d4;
  font-size: 1em;
  position: absolute;
  left: 0;
}

.news-item:first-of-type {
  padding-top: 1em;
}

.news-item:last-of-type {
  border-bottom: 0px;
}

.news-item>time {
  display: inline-block;
  width: 8em;
  margin-right: 0.5em;
  color: grey;
  font-size: 1.2rem;
}

/*リンクの位置調整*/
span.link-ref {
  position: relative;
  top: -40px;
  /*左の数値を変えると、上下に調整します*/
  display: block;
}

.access-email {
  font-size: 1.6rem;
  padding-left: -20px;
}

/* research-page */
.research-group {
  padding-bottom: 50px;
}

.research-desc {
  padding-bottom: 20px;
}

.themas {
  margin-left: 20px;
}

.themas-header {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.themas-contents {
  margin-left: 20px;
}

.thema-wrap {
  padding-left: 20px;
}

.thema-item {
  padding-bottom: 20px;
  list-style-type: disc;
  line-height: 1.4em;
}

/* members-page */
.members {
  padding-bottom: 30px;
}

.members-img {
  margin-bottom: 50px;
}

.members-list {
  width: 600px;
  margin: 0 auto;
}

#staff-contact {
  margin-top: -55px;
  padding-top: 55px;
}

.faculties {
  margin-bottom: 50px;
}

.faculty-mail-caution {
  font-size: 11px;
}

.students {
  margin-bottom: 30px;
}

.member {
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.position {
  float: left;
  width: 180px;
  padding-right: 40px;
  font-size: 1.6rem;
  text-align: right;
}

.faculty-name {
  float: left;
  width: 200px;
  font-size: 1.6rem;
}

.name {
  float: left;
  width: calc(100% - 180px);
  font-size: 1.6rem;
}

.faculty-mail {
  float: left;
  width: calc(100% - 380px);
}

.about-at {
  margin-left: 0;
  font-size: 1.2rem;
}

/* publications-page */
.papers {
  padding-top: 20px;
  padding-left: 20px;
}

.paper-item {
  word-break: break-all;
  padding-bottom: 20px;
  list-style-type: decimal;
  list-style-position: outside;
  line-height: 1.4em;
}

.paper-item span:first-of-type {
  margin-top: -50px;
  padding-top: 50px;
}

.author-name {
  font-weight: bold;
  text-decoration: underline;
}

.journal-name {
  font-style: italic;
  font-weight: bold;
}

.japanise-journal-name {
  font-weight: bold;
}

.pub-h3 {
  margin-left: 0;
}

.pub-h4 {
  padding-top: 10px;
  margin-left: -30px;
  margin-bottom: 20px;
  color: #888;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.pub-list {
  padding-left: 30px;
}

.pub-list>ol {
  padding-left: 20px;
}

/* photos-page */
.photos-container {
  margin-bottom: 30px;
}

.photos-container>a {
  margin-left: 20px;
  margin-bottom: 20px;
}

.photos-container>a>img:hover {
  transition: 0.3s;
  box-shadow: 0 0 8px #888;
}


/* others */
.news-anchor,
#news-anchor-2,
#new-topic-01,
#new-topic-02 {
  margin-top: -47px;
  padding-top: 47px;
}

/* --------------------------------
 * .footer
 * -------------------------------- */
.footer {
  width: 100%;
  background-color: #8bcbea;
  box-shadow: 0 0 2px 2px #999;
  color: #666;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.copyright {
  max-width: 960px;
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
}


/* --------------------------------
 * #page-top
 * -------------------------------- */
#page-top {
  font-size: 0;
  position: fixed;
  bottom: 16px;
  right: 32px;
  opacity: 0;
  cursor: pointer;
}

#page-top.fade-in {
  color: #000;
  font-size: 60px;
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 1s;
}

.fa-angle-up {
  font-size: 10rem;
}

/* --------------------------------
 * #レスポンシブ化
 * -------------------------------- */

/* --------------------------------
 * #スマートフォン
 * -------------------------------- */
@media screen and (max-width: 767px) {
  .wrapper {
    width: 100%;
  }

  .header {
    width: 100%;
    height: 340px;
    padding: 0;
  }

  .header-upper {
    width: 100%;
  }

  .labo-name-inner {
    font-size: 0.9rem;
  }

  .hamburger-menu {
    display: block;
  }

  /* ハンバーガーメニュー */
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 30px;
    width: 30px;
    justify-content: center;
    align-items: center;
    z-index: 90;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #666;
    position: absolute;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }

  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #8bcbea;
  }

  .menu-content ul {
    padding: 70px 10px 0;
  }

  .menu-content ul li {
    border-left: 10px solid #666;
    border-bottom: solid 1px #666;
    list-style: none;
    color: #666;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }

  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #666;
    border-right: solid 2px #666;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }

  .nav-item-anchor:link,
  .nav-item-anchor:visited,
  .nav-item-anchor:hover,
  .nav-item-anchor:active {
    color: #666;
  }

  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #8bcbea;
    transition: all 0.5s;
    /*アニメーション設定*/
  }

  #menu-btn-check:checked~.menu-content {
    left: 0;
    /*メニューを画面内へ*/
  }

  #menu-btn-check {
    display: none;
  }

  /* ハンバーガーメニュー　終わり */
  .page-title {
    padding: 80px 20px 20px 20px;
  }

  .container {
    width: 100%;
  }

  .side {
    display: none;
  }

  .main {
    max-width: 100%;
    padding: 0 10px 50px;
  }

  .page-title {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  p {
    margin-right: 10px;
    font-size: 1.4rem;
  }

  h3.intro-figure-title {
    font-size: 1.6rem;
    padding: 0;
    margin-right: 10px;
  }

  h3 {
    font-size: 1.6rem;
  }

  #page-top {
    bottom: 0px;
    right: 10px;
  }

  #page-top.fade-in {
    color: #666;
    opacity: 1;
  }

  .fa-angle-up {
    font-size: 6rem;
  }

  .labo-name {
    width: 75%;
    padding-left: 20px;
  }

  .lang-selector {
    display: none;
  }

  .news-wrap {
    margin-left: 10px;
  }

  .news-item {
    margin-right: 0;
    padding-right: 5px;
  }

  .intro-labo {
    margin-bottom: 20px;
  }

  .intro-img {
    display: block;
    width: 80%;
    height: auto;
    margin: 40px auto 0;
    padding-bottom: 20px;
  }

  .intro-group {
    padding-bottom: 20px;
  }

  .intro-group img:last-of-type {
    margin-bottom: 20px;
  }

  .intro-figure-title {
    margin-right: 15px;
    padding: 0;
  }

  .themas-header {
    margin-right: 10px;
    font-size: 1.4rem;
  }

  .themas-contents {
    margin-right: 10px;
  }

  .thema-item {
    font-size: 1.4rem;
  }

  .members-list {
    max-width: 660px;
    width: 100%;
    padding: 0 20px;
  }

  .members-img {
    max-width: 650px;
    width: 100%;
    height: auto;
  }

  .position {
    width: 15%;
    text-align: left;
    padding-right: 0;
  }

  .faculty-name {
    width: 30%;
  }

  .faculty-mail {
    width: 55%;
  }

  .name {
    width: 85%;
  }

  .faculties-en dl dt {
    clear: both;
    margin-bottom: 1em;
  }

  .faculties-en dl dd {
    margin-left: 15%;
    margin-bottom: 1em;
    clear: both;
  }

  .faculties-en dl dd:nth-of-type(3),
  .faculties-en dl dd:nth-of-type(2) {
    clear: both;
    width: 85%;
  }

  .faculties-en .position {
    width: 40%;
  }

  .faculties-en .faculty-name {
    width: 60%;
  }

  .photos-container>a {
    display: block;
    margin-right: 10px;
  }

  .photos-container>a>img {
    width: 100%;
    height: auto;
  }

  span.department-en {
    display: none;
  }
}