/* common */
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
h1 {
  font-size: 1.3rem;
}
h2 {
  margin-top: 60px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
h3 {
  font-size: 1.2rem;
  font-weight: normal;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "游ゴシック体","YuGothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Arial,"メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

.init {
  visibility: hidden;
}

/* header */
header {
  width: 100%;
}
.header-container {
  width: 100%;
  height: 250px;
  padding-bottom: 40px;
  background-image: url('../image/bg_top.png');
  background-size: cover;
  background-repeat: no-repeat;
}
.header-title {
  display: flex;
  align-items: center;
  width: 100%;
  height: 165px;
}
.title {
  display: flex;
  align-items: flex-end;
  margin-left: 50px;
}
.title img {
  margin-right: 30px;
}
.title span {
  color: grey;
}
.title p {
  font-weight: bold;
}
ul {
  list-style: none;
}
.header-nav {
  margin-right: 50px;
  margin-left: auto;
}
nav {

}
.nav-table {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
}
.nav-table td {
  padding: 10px;
  text-align: center;
}
nav a {
  text-decoration: none;
}
nav a:link, nav a:visited, nav a:hover, nav a:active {
  color: black;
}
nav a:hover {
  opacity: 0.5;
}

/* main */
main {
  width: 100%;
  overflow: visible;
}
#main_container {
  position: relative;
  width: 100%;
}
#main_content {
  width: 960px;
  top: 0;
  margin: auto;
  z-index: 99;
}

/* about */
.about-wrapper {
  display: flex;
}
.center-for-depen {
  margin-top: 60px;
  margin-left: auto;
}
#about .centerfor {
  color: grey;
}
#about .depen {
  font-weight: bold;
}
#about .director {
  display: flex;
  flex-direction: column;
}
#about .description {
  display: flex;
  flex-direction: row;
  line-height: 1.7;
  margin-left: 0px;
  margin-right: 20px;
}
#about .description img {
  flex: none;
  float: left;
}
#about .laboratory {
  margin-top: 10px;
  text-align: right;
}
#about .director-title {
  display: flex;
  flex-direction: column;
}
#about .director-name {
  display: flex;
  align-items: center;
  justify-content: right;
}
#about .director .position {
  font-size: 0.8rem;
  margin-right: 10px;
}
#about .director .name {
  font-size: 1.2rem;
  font-weight: bold;
}

/* members */
#members {
  margin-bottom: 30px;
}
#members .row {
  display: flex;
  margin-top: 30px;
}
#members .row:first-child {
  margin-top: 0px;
}
.member {
  position: relative;
  width:  300px;
  height: 350px;
  padding: 20px;
  margin-left: 30px;
  border: solid 1px gray;
  background-color: rgba(255, 255, 255, 0.5);
}
.member:first-child {
  margin-left: 0px;
}
.member-title {
  display: flex;
}
.member-image {

}
.member-info {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}
.member .entry {

}
.member-info .position {
  margin-top: auto;
  font-size: 0.9rem;
}
.member-info .name {
  font-size: 1rem;
}
.member-topix {
  margin-top: 20px;
}
.topix-title {
  font-size: 0.9rem;
}
.topix-list {
  font-size: 0.7rem;
}
.topix-list li:before {
  content: '- ';
}
.modal-open-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: solid 1px grey;
  padding: 5px 10px 5px 10px;
  font-size: 1.2rem;
  font-weight: normal;
}

/* achievement */
#achievement {
  background-color: rgba(255, 255, 255, 0.5);
}
dl.achievement-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
dt {
  width: 15%;
  padding-top: 2px;
  margin-bottom: 15px;
  font-size: 1.0rem;
}
dd {
  width: 85%;
  margin-bottom: 15px;
  font-size: 1.0rem;
}

/* access map */
.map_link {
  margin-left: 10px;
}

/* footer */
footer {
  width: 100%;
}
#footer_container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: rgba(224, 224, 224, 1.0);
}

/* modal */
.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: .4s;
}
.popup.is-show {
  opacity: 1;
  visibility: visible;
}
.popup-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  /*
  width: 80%;
  max-width: 630px;
  */
  width: 100%;
  max-width: 630px;
  height: 100%;
  max-height: 500px;
  padding: 20px;
  /*background-color: #fff;*/
  background-image: url('../image/bg_top.png');
  /*background-size: 100% 250px;*/
  background-repeat: no-repeat;
  z-index: 2;
}
.close-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 200%;
  cursor: pointer;
}
.close-btn img {
  width: 16px;
  height: 16px;
}
.black-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.4);
  z-index: 1;
  cursor: pointer;
}
.research-top {
  display: flex;
}
.research-left {
  width: 50%;
}
.research-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 20px;
}
.figure {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
.figure img {
  flex: none;
}
.figure p {
  margin-left: 10px;
  font-size: 0.8rem;
}
.figure:first-child {
  margin-bottom: 20px;
}
.research-bottom {
  margin-top: 30px;
  font-size: 0.9rem;
}


/* モーダル */
.modal__overlay {
  align-items: center;
  background: rgba(0,0,0,.6);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.modal__container {
  background-color: #fff;
  max-height: 80vh;
  max-width: 500px;
  overflow-y: auto;
  padding: 30px;
  width: 80%;
}

.modal__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close::before {
  content: "\2715";
}

.modal__content {
  line-height: 1.5;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.modal__open {
  display: block;
  /*margin: 100px auto;*/
}

.box01 {
  background-color: #ccc;
  height: 200px;
  margin: 0 auto;
  width: 80%;
}

.box02 {
  background-color: #ccc;
  height: 200px;
  margin: 0 auto;
  width: 80%;
}