@charset "utf-8";

body{
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: .05em;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    color: #000;
    background: #fff;
    text-align: justify;
}

.my-element {
  white-space: nowrap;
}

.hidden-element {
  display: none;
}


img {
    max-width: 100%;
    height: auto;
}

#wrapper {
  column-count: 2;
}

p {
    margin: .2em .5em 0;
}

ul {
    list-style: none;
}

/* Japanese */
.ja {
    text-justify: inter-ideograph;
    -ms-text-justify: inter-ideograph;
}

/* English */
.en {
    text-justify: inter-word;
    letter-spacing: .03em;
}

.en .small-text.access {
    text-align: left;
}

.small-text {
    font-size: 0.85em;
}

figure {
    display: block;
    text-align: center;
}

#wrap {
    max-width: 960px;
    width: 100%;
    margin: auto;
    background: #fff;
    color: #333;
}

.more {
  font-family: "Source Han Sans Medium", serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  background: #F8801D;
  border-radius: 20px;
  display: inline-block;
  color: #fff;
  line-height: 1.6;
  text-decoration: none !important;
  padding: 6px 19px;
}

header,
.contents,
#menu {
    width: 100%;
    margin :auto;
}

header,
.contents {
    padding-bottom: 3ex;
}

.contents {
    display: block;
    overflow: hidden;
    margin: 0 auto;
}

.content {
  padding: 32px 32px 40px;
  background-color: #FFFFFF;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 7px rgba(85, 85, 85, 0.2);
  box-shadow: 0 0 7px rgba(85, 85, 85, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 10; }

.contents h1 {
    position: relative;
    font-size: 150%;
    margin: 1ex 0 2ex;
}

.contents h1:after {
  position: absolute;
  display: block;
  width: 100%;
  content: "";
  border-bottom: solid 3px #00A2C5;
  bottom: 0rem;
}

.addition {
  font-size: 100%;
  line-height: 100%;
  font-weight: bold;
  color: #ffffff;
  background-color: #C0C0C0;
  border-radius: 50px;
  text-align: center;
  position: relative;
  margin: 4rem auto 0;
  display: block;
  width: 18rem;
  padding: .8rem 1.0rem;
  cursor: pointer; }

.additional {
  font-size: 100%;
  line-height: 100%;
  font-weight: bold;
  color: #ffffff;
  background-color: #C0C0C0;
  border-radius: 50px;
  text-align: center;
  position: relative;
  margin: 4rem auto 0;
  display: block;
  width: 30rem;
  padding: .8rem 2.4rem;
  cursor: pointer; }  

.speech-bubble {
  font-size: 100%;
  line-height: 100%;
  font-weight: bold;
  color: #000000;
  background-color: #e6e6fa;
  border-radius: 50px;
  text-align: center;
  position: relative;
  margin: 4rem auto 0;
  display: block;
  width: 36rem;
  padding: .8rem 2.4rem;
  cursor: pointer; 
}

.speech-bubble::before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 0 10px 10px 0;
  border-color: transparent #000 transparent transparent;
  top: -10px;
  left: 20px;
}

h2 {
    font-size: 120%;
    margin-top: 2ex;
    margin-bottom: 1ex;
    border-left: .4ex solid #00A2C5;
    border-bottom: .1ex solid #00A2C5;
    padding-left: .5em;
}

h3 {
  font-size: 110%;
  background: #fff;
  border-left: 8px solid #00A2C5;
  padding: 5px 0 5px 5px;
  margin: 10px 0 5px 12px;
}

.clearfix:after {
    clear: both;
    content: '';
    display: block;
}

img{
    outline:none;
    border-style:none;
}

.img-light {
    display: block;
    margin-left: auto;
}

a {
    color:#3862af;
}

a:visited{
    color:#00266f;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

a:hover {
    color: #ffa500;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

sup,
sub {
    font-size: 75.5%;
    vertical-align: top;
    position: relative;
    top: -0.1em;
}

sub {
    vertical-align: bottom;
    top: .1em;
}

.red {
    color: red;
}

#main {
    margin: 0 1%;
}

/* for 2column */
#mainleft {
    float: left;
    width: 75%;
    margin: 0 1%;
}

#mainright {
    float: left;
    width: 21%;
    margin: 0 1%;
}

/* header */
#topline {
    position:relative;
    border-top: .5ex solid #3862af;
}

nav.top-nav {
  background: rgba(245, 245, 245, 0.5);
  margin: 0 auto 0;
  border: 0;
  padding: 0;
  font-size: 15px;
  height: 45px;
}

nav.top-nav ul {
  margin: 0 auto 0;
  border: 0;
  padding: 0;
  max-width: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 100%;
  position: relative;
}

nav.top-nav li {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  height: 100%;
}

nav.top-nav li .sub-menu {
  visibility: hidden;
  position: absolute;
  left: 0;
  width: 100%;
  max-width: 100%;
  max-height: 0;
  background-color: #00A2C5;
  opacity: 0;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

nav.top-nav li .sub-menu h2 {
  font-size: 24px;
  max-width: 800px;
  margin: auto;
  text-align: left;
  padding: 30px 0 20px;
  color: #fff;
}

nav.top-nav li .sub-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  max-width: 800px;
  padding: 10px 10px 30px;
}

nav.top-nav li .sub-menu li {
  display: block;
  -webkit-box-flex: initial;
      -ms-flex: initial;
          flex: initial;
  text-align: left;
  width: 33%;
  padding: 10px 0;
}

nav.top-nav li .sub-menu h2 a,
nav.top-nav li .sub-menu a {
  color: #fff;
  display: inline;
  padding: 0;
}

nav.top-nav li .sub-menu h2 a:hover,
nav.top-nav li .sub-menu a:hover {
  text-decoration: underline;
}

nav.top-nav li .sub-menu h2 a::before,
nav.top-nav li .sub-menu a::before {
  content: "■";
}

nav.top-nav li:hover .sub-menu {
  max-height: 600px;
  visibility: visible;
  opacity: 1;
}

article.top-page section.top-content {
  position: relative;
  margin: 60px auto;
  border: 50px;
  padding: 0;
  width: 100%;
}

article.top-page section.top-content h1 {
  margin: 0 auto;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

article.top-page section.top-content h1 img {
  width: 767px;
}

article.top-page section.top-content h2 {
  margin: 30px auto;
  border: 0;
  padding: 0 20px;
  max-width: 900px;
}

article.top-page section.top-content h2 img {
  width: 100%;
}

article.top-page section.top-content p {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
}

article.top-page section.top-content p a {
  font-weight: bold;
  margin: 20px;
  display: inline-block;
}

article.top-page section.top-content p a::before {
  content: "＞";
}

article.top-page section#news-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #fff;
  max-width: 1000px;
}

article.top-page section#news-list div {
  width: calc(50% - 30px);
  margin: 0 30px;
  padding-bottom: 20px;
  background-position: left bottom, 0px 99.5%, right bottom;
  background-size: auto;
  background-repeat: no-repeat, repeat-x, no-repeat;
}

article.top-page section#news-list div h1 {
  font-size: 20px;
  margin: 0 auto 10px;
  border: 0;
  padding: 10px 10px 20px;
  background-position: left bottom, 0px 92%, right bottom;
  background-size: auto;
  background-repeat: no-repeat, repeat-x, no-repeat;
}

article.top-page section#news-list div dl {
  overflow-y: scroll;
  padding: 20px 3px;
  height: 400px;
}

article.top-page section#news-list div#thesis {
  background-image: url("../img/common/line-blue-end.png"), url("../img/common/line-blue-n.png"), url("../img/common/line-blue-end.png");
}

article.top-page section#news-list div#thesis h1 {
  color: #00A2C5;
  background-image: url("../img/common/line-blue-end.png"), url("../img/common/line-blue-n.png"), url("../img/common/line-blue-end.png");
}

article.top-page section#news-list div#thesis dt {
  color: #00A2C5;
  line-height: 1.6;
  margin-bottom: 5px;
}

article.top-page section#news-list div#thesis dt span {
  display: block;
}

article.top-page section#news-list div#thesis dd {
  margin-bottom: 20px;
  line-height: 1.6;
}

article.top-page section#news-list div#press {
  background-image: url("../img/common/line-green-end.png"), url("../img/common/line-green-n.png"), url("../img/common/line-green-end.png");
}

article.top-page section#news-list div#press h1 {
  color: #60BE38;
  background-image: url("../img/common/line-green-end.png"), url("../img/common/line-green-n.png"), url("../img/common/line-green-end.png");
}

article.top-page section#news-list div#press dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

article.top-page section#news-list div#press dt, article.top-page section#news-list div#press dd {
  margin-bottom: 15px;
  line-height: 1.6;
}

article.top-page section#news-list div#press dt {
  color: #60BE38;
  width: 100px;
}

article.top-page section#news-list div#press dd {
  width: calc(100% - 100px);
}

article.top-page section#news-list div#press strong {
  color: #60BE38;
}

article.top-page section#periodic {
  margin: 0;
  border: 0;
  padding: 100px 0;
  background-image: url("../img/topimg/periodic-table.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  background-attachment: fixed;
  background-color: whitesmoke;
}

article.top-page section.sub-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

article.top-page section.sub-content div.left-content {
  background-color: #ff6100;
  background-image: url("../img/top-ti02bg.png");
}

article.top-page section.sub-content div.right-content {
  background-color: #00A2C5;
  background-image: url("../img/top-ti03bg.png");
}

article.top-page section.sub-content div.left-content2 {
  background-color: #60BE38;
}

article.top-page section.sub-content div.left-content2 a {
  background-color: #60BE38;
  background-image: url("../img/topimg/member-img.png");
  background-position: left 85%;
  margin-left: auto;
  -webkit-box-shadow: -1px 0 15px 2px #000;
          box-shadow: -1px 0 15px 2px #000;
}

article.top-page section.sub-content div.right-content2 {
  background-color: #00A2C5;
}

article.top-page section.sub-content div.right-content2 a {
  background-color: #00A2C5;
  background-image: url("../img/topimg/laboratory-img.png");
  background-position: right 85%;
  margin-right: auto;
  -webkit-box-shadow: 1px 0 15px 2px #000;
          box-shadow: 1px 0 15px 2px #000;
}

article.top-page section.sub-content div.left-content, article.top-page section.sub-content div.right-content, article.top-page section.sub-content div.left-content2, article.top-page section.sub-content div.right-content2 {
  position: relative;
  width: 50%;
  overflow: hidden;
}

article.top-page section.sub-content div.left-content div, article.top-page section.sub-content div.right-content div, article.top-page section.sub-content div.left-content2 div, article.top-page section.sub-content div.right-content2 div {
  position: relative;
  margin: 0 auto;
  border: 0;
  padding: 43px 10px 200px;
  width: 100%;
  text-align: center;
}

article.top-page section.sub-content div.left-content div.left-inside-content, article.top-page section.sub-content div.right-content div.left-inside-content, article.top-page section.sub-content div.left-content2 div.left-inside-content, article.top-page section.sub-content div.right-content2 div.left-inside-content {
  top: 0px;
  right: 0px;
}

article.top-page section.sub-content div.left-content div.right-inside-content, article.top-page section.sub-content div.right-content div.right-inside-content, article.top-page section.sub-content div.left-content2 div.right-inside-content, article.top-page section.sub-content div.right-content2 div.right-inside-content {
  top: 0px;
  left: 0px;
}

article.top-page section.sub-content div.left-content div ul, article.top-page section.sub-content div.right-content div ul, article.top-page section.sub-content div.left-content2 div ul, article.top-page section.sub-content div.right-content2 div ul {
  color: white;
  margin: 0 auto;
  border: 0;
  padding: 20px 0;
  font-size: 30px;
  font-weight: bold;
}

article.top-page section.sub-content div.left-content div li, article.top-page section.sub-content div.right-content div li, article.top-page section.sub-content div.left-content2 div li, article.top-page section.sub-content div.right-content2 div li {
  margin: 0 auto;
  border: 0;
  padding: 5px 0;
}

article.top-page section.sub-content div.left-content div img, article.top-page section.sub-content div.right-content div img, article.top-page section.sub-content div.left-content2 div img, article.top-page section.sub-content div.right-content2 div img {
  height: auto;
}

article.top-page section.sub-content a.content-link {
  display: block;
  -webkit-transition: .5s;
  transition: .5s;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

article.top-page section.sub-content a.content-link:hover {
  opacity: 0.7;
}

article.top-page section.sub-content a img {
  width: 300px;
  height: auto;
}

article.top-page section.sns-content {
  margin: 100px auto;
  border: 0;
  padding: 0;
  max-width: 1000px;
  width: 100%;
}

article.top-page section.sns-content h1 {
  text-align: center;
  background-position: left bottom, 0px 92%, right bottom;
  background-size: auto;
  background-repeat: no-repeat, repeat-x, no-repeat;
  background-image: url("../img/common/line-blue-end.png"), url("../img/common/line-blue-n.png"), url("../img/common/line-blue-end.png");
  padding-bottom: 5px;
  margin-bottom: 30px;
}

article.top-page section.sns-content .content-cover {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

article.top-page section.sns-content .content-cover div {
  max-width: 300px;
  width: calc(100% - 300px);
}

article.top-page section.sns-content .content-cover #topics-cover {
  width: calc(100% - 300px);
  max-width: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

article.top-page section.sns-content .content-cover #topics-cover div.topics-box {
  width: calc(50% - 25px);
  max-width: 300px;
  border: solid 1px #00A2C5;
  margin-bottom: 20px;
}

article.top-page section.sns-content .content-cover #topics-cover div.topics-box a {
  display: block;
  padding: 3px;
}

article.top-page section.sns-content .content-cover #topics-cover div.topics-box img {
  width: 100%;
}

article.top-page section.sns-content .content-cover #topics-cover div.topics-box:nth-child(odd) {
  margin-right: auto;
  margin-left: auto;
}

article.top-page section.sns-content dl {
  text-align: center;
}

article.top-page section.sns-content dt {
  margin: 20px auto;
  border: 0;
  padding: 0;
}

article.top-page section.sns-content dt img {
  height: 135px;
}

article.top-page section.sns-content dd {
  height: 870px;
  text-align: left;
}

article.top-page section.sns-content dd.sns-left {
  margin: 0 auto;
  border: 0;
  padding: 30px;
  border: solid 7px #ff6100;
  overflow: scroll;
}

article.top-page section.sns-content dd.sns-right {
  margin: 0 auto;
  border: 0;
  padding: 0;
  border: solid 7px #00A2C5;
}

article.top-page section.sns-content dd h3 {
  font-size: 20px;
}

article.top-page section.sns-content dd span {
  display: block;
}

article.sub-page {
  margin: 0 auto 3rem;
  border: 0;
  padding: 5rem 0 1rem;
  max-width: 1000px;
}

article.sub-page h1 {
  margin: 0 auto 3rem;
  border: 0;
  padding: 0.5rem 0 0.5rem;
  color: #00A2C5;
  font-weight: bold;
  font-size: 28px;
  text-align: center;
  background-image: url("../img/common/line-blue-end.png"), url("../img/common/line-blue-end.png"), url("../img/common/line-blue-n.png"), url("../img/common/line-green-end.png"), url("../img/common/line-green-end.png");
  background-position: left bottom, 5% bottom, 0px 92%, 95% bottom, right bottom;
  background-size: auto;
  background-repeat: no-repeat, no-repeat, repeat-x, no-repeat, no-repeat;
}

article.sub-page h2 {
  margin: 0 auto 0.5rem;
  border: 0;
  padding: 0.5rem 0 0.5rem;
  color: #00A2C5;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  background-image: url("../img/common/line-blue-end.png");
  background-position: 0px 92%;
  background-size: auto;
  background-repeat: repeat-x;
}

article.sub-page h2.sub-title {
  background: none;
  border-bottom: solid 1px #00A2C5;
  margin-top: 70px;
  margin-bottom: 30px;
  font-size: 24px;
}

article.sub-page p {
  margin: 0 auto 1.8rem;
  border: 0;
  padding: 0;
  line-height: 1.8;
}

article.sub-page img {
  width: 100%;
}

article.sub-page .sub-content {
  margin: 0 auto;
  border: 0;
  padding: 0 0 0.5rem;
  width: 85%;
}

article.sub-page .sub-content .document-list {
  margin-bottom: 100px;
}

article.sub-page .sub-content .document-list li::before {
  content: "◆";
  display: inline-block;
  color: #00A2C5;
  font-size: 18px;
  margin-right: 10px;
}

article.sub-page .sub-content .document-list li {
  margin-bottom: 20px;
}

article.sub-page .sub-content .document-list a {
  color: #000;
}

article.sub-page .sub-content .document-list a:hover {
  text-decoration: underline;
}

article.sub-page .sub-content .document-list.prize-list li {
  line-height: 1.4;
  margin-bottom: 50px;
}

article.sub-page .sub-content .document-list.prize-list li::before {
  color: #60BE38;
  float: left;
  height: 90px;
}

article.sub-page .sub-content .document-list.prize-list span {
  font-weight: bold;
}

article.sub-page .sub-content .document-list.prize-list span.document-title {
  display: block;
  color: #00A2C5;
}

article.sub-page .sub-content .main-title {
  text-align: center;
  background: none;
  font-size: 37px;
  margin-bottom: 80px;
  line-height: 1.3;
}

article.sub-page .sub-content .green {
  color: #60BE38;
  text-align: center;
}

article.sub-page .sub-content .lab-box {
  overflow: hidden;
}

article.sub-page .sub-content .lab-box img {
  display: block;
  overflow: hidden;
  width: calc(70% - 20px);
  margin-bottom: 20px;
}

article.sub-page .sub-content .lab-box img.img-left {
  float: left;
  margin-right: 20px;
}

article.sub-page .sub-content .lab-box img.img-right {
  float: right;
  margin-left: 20px;
}

article.sub-page .sub-content .ob-list li {
  margin-bottom: 20px;
}

article.sub-page .sub-content .ob2-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

article.sub-page .sub-content .ob2-list dt, article.sub-page .sub-content .ob2-list dd {
  margin-bottom: 20px;
  color: #000;
}

article.sub-page .sub-content .ob2-list dt {
  width: 160px;
  font-weight: bold;
}

article.sub-page .sub-content .ob2-list dd {
  width: calc(100% - 160px);
}

article.sub-page .sub-content .ob2-list dd:last-child {
  margin-bottom: 60px;
}

article.sub-page .sub-content p.center {
  text-align: center;
  margin-bottom: 80px;
}

article.sub-page .sub-content p.center a {
  color: #000;
  font-weight: bold;
}

article.sub-page .sub-content .our-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: dotted 2px #00A2C5;
}

article.sub-page .sub-content .our-list .our-photo {
  width: 45%;
  margin-right: 5%;
}

article.sub-page .sub-content .our-list .our-text {
  width: 50%;
}

article.sub-page .sub-content .our-list .our-text h3 {
  color: #00A2C5;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 5px;
}

article.sub-page .sub-content .our-list .our-text h4 {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.2;
}

article.sub-page .sub-content .papers h2 {
  cursor: pointer;
  border: solid 1px #00A2C5;
  background: none;
  margin-bottom: 10px;
}

article.sub-page .sub-content .papers h2::after {
  content: "▼";
  display: inline-block;
  float: right;
  margin-right: 10px;
}

article.sub-page .sub-content .papers h2.active::after {
  content: "◀";
}

article.sub-page .sub-content .papers .paper-list {
  display: none;
  overflow: hidden;
  margin: 50px auto;
}

article.sub-page .sub-content .papers .paper-list dt {
  width: 50px;
  float: left;
  color: #00A2C5;
}

article.sub-page .sub-content .papers .paper-list dd {
  width: calc(100% - 50px);
  overflow: hidden;
  margin-bottom: 40px;
  line-height: 1.3;
}

article.sub-page .sub-content .papers .paper-list dd span.title {
  color: #00A2C5;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

article.sub-page .sub-content .papers .paper-list dd span.journal {
  display: block;
  margin-top: 5px;
  color: #666;
}

article.sub-page .sub-content .papers .paper-list dd span.vol {
  display: inline;
}

article.sub-page .sub-content .papers .paper-list dd a span.journal {
  color: #60BE38;
}

article.sub-page .sub-content .papers .paper-list dd a:hover {
  text-decoration: underline;
}

article.sub-page .sub-content .event {
  margin-bottom: 30px;
  border-bottom: dotted 3px #00A2C5;
}

article.sub-page .sub-content .event p {
  text-align: center;
  font-weight: bold;
}

article.sub-page .sub-content .event span {
  display: block;
  font-weight: normal;
}

article.sub-page .sub-content .event .event-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

article.sub-page .sub-content .event .event-img img {
  margin-bottom: 30px;
  width: calc(50% - 30px);
  height: 100%;
}

article.sub-page .sub-content .event .event-img img:nth-child(odd) {
  margin-right: 60px;
}

article.sub-page .sub-content .event .event-img p {
  width: calc(50% - 30px);
  margin: 0 0 30px;
}

article.sub-page .sub-content .event .event-img p:nth-child(odd) {
  margin-right: 60px;
}

article.sub-page .sub-content .event .event-img.single {
  display: block;
}

article.sub-page .sub-content ul.event-link li {
  margin-bottom: 20px;
}

article.sub-page .sub-content ul.event-link li a {
  font-size: 18px;
  text-decoration: underline;
}

article.sub-page .sub-content ul.event-link li a:hover {
  text-decoration: none;
}

article.sub-page .sub-content ul.event-link li::before {
  content: "◆";
  color: #00A2C5;
  display: inline-block;
}

article.sub-page #map {
  width: 100%;
  height: 600px;
  margin-bottom: 80px;
}

article.sub-page #map iframe {
  width: 100% !important;
  height: 100% !important;
}

article.sub-page #labmap {
  width: 90%;
  margin: auto;
}

article.sub-page .sub-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto 60px;
}

nav.top-nav li:hover a.button {
  color: #fff;
}

nav.top-nav li:hover a.button::after {
  top: 0;
  background-color: #00A2C5;
}

nav.top-nav a {
  display: inline-block;
  color: #00A2C5;
  margin: 0 auto;
  border: 0;
  padding: 1rem;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-weight: bold;
}

nav.top-nav a.button {
  display: inline-block;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  vertical-align: bottom;
}

nav.top-nav a.button:hover {
  color: #fff;
}

nav.top-nav a.button:hover::after {
  top: 0;
  background-color: #00A2C5;
}

nav.top-nav a.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
}

nav.top-nav a.button, nav.top-nav a.button::before, nav.top-nav a.button::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .1s;
  transition: all .1s;
}

header{
    display: block;
    overflow: hidden;
}

header h1 {
    float: left;
    margin-top: .8ex;
}


article.footer-main {
  margin: 0 auto;
  border: 0;
  padding: 0 0 0.5rem;
  border-bottom: solid 1px #fff;
  max-width: 1000px;
}

article.footer-main img.footer-logo {
  width: 225px;
}

article.footer-main span.footer-tel {
  display: inline-block;
  margin: 0 0 0 2.5rem;
  border: 0;
  padding: 0 0;
  width: 170px;
  font-size: 15px;
}

article.footer-main span.footer-time {
  display: inline-block;
  width: 100px;
  font-size: 14px;
}

article.footer-main span.footer-tel1 {
  display: inline-block;
}

article.footer-main span.footer-tel2 {
  display: inline-block;
}

article.footer-main span.footer-tel-main {
  display: inline-block;
  color: #ff6100;
  width: 440px;
  font-size: 3.4rem;
  font-weight: bold;
  -webkit-font-feature-settings: "palt" 1;
          font-feature-settings: "palt" 1;
}

article.footer-main span.footer-time1 {
  display: inline-block;
}

article.footer-main span.footer-time2 {
  display: inline-block;
}

article.footer-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 1rem auto 0;
  border: 0;
  padding: 0;
  max-width: 1000px;
}

article.footer-nav #footer-main {
  width: 50%;
  border-right: solid 1px #fff;
  padding: 0 25px;
}

article.footer-nav address {
  font-size: 14px;
  line-height: 23px;
}

article.footer-nav address h1 {
  font-size: 32px;
  line-height: 1.4;
  font-weight: bold;
}

article.footer-nav address h1 span {
  font-size: 16px;
  margin: auto;
  color: inherit;
  line-height: 1.4;
  letter-spacing: normal;
}

article.footer-nav address span {
  display: block;
  margin: 10px auto;
  color: #00A2C5;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.7;
  letter-spacing: 2px;
}

article.footer-nav address #mailaddress {
  font-size: 14px;
}

article.footer-nav address small {
  font-size: 12px;
}

article.footer-nav address img.company-txt {
  width: 240px;
}

article.footer-nav address img.fb-ico {
  margin: 1rem 0 0;
  border: 0;
  padding: 0;
}

article.footer-nav nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 50%;
  padding: 0 25px;
  font-size: 14px;
}

article.footer-nav ul {
  margin: 0 0 3rem;
  border: 0;
  padding: 0;
  width: 33%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -ms-flex-line-pack: justify;
      align-content: space-between;
}

article.footer-nav ul:last-child {
  width: 100%;
  margin-bottom: 0;
}

article.footer-nav li {
  font-size: 13px;
  width: 100%;
  line-height: 2;
}

article.footer-nav li.title a {
  color: #60BE38;
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 15px;
  font-weight: bold;
}

article.footer-nav li.title a:hover {
  color: #ff6100;
  text-decoration: underline;
}

article.footer-nav a {
  display: inline-block;
  color: #fff;
  margin: 0;
  border: 0;
  padding: 0;
}

article.footer-nav a:hover {
  color: #ff6100;
  text-decoration: underline;
}

footer span.return-btn {
  position: fixed;
  right: 13%;
  bottom: 50px;
}

footer span.return-btn:hover {
  opacity: .5;
}

footer span.return-btn img {
  width: 40px;
}

/* global nav */
#menu{
    overflow: hidden;
}

#menu li{
    float: left;
    width: 16.666%;
    font-size: 110%;
    line-height: 5ex;
    cursor: pointer;
    text-align: center;
    border-bottom: .2ex solid #00266f;
}

#menu li:hover{
    border-bottom: .2ex solid #ffa500;
}
#menu a{
    display: block;
    text-decoration: none;
    color:#00266f;
    letter-spacing: .05em;
    line-height: 5ex;
}

.en #menu a{
    font-size: 90%;
    letter-spacing: .05em;
}

#menu a:hover{
    -webkit-transition: color 0s ease-out;
    -o-transition: color 0s ease-out;
    transition: color 0s ease-out;
    color: #ffa500;
}

/* footer */
footer{
    clear: both;
    font-size: 80%;
    width: 100%;
    text-align: center;
    padding-top: 1ex;
    padding-bottom: 1ex;
    background: #3862af;
    color: #ffffff;
}

#footmenu{
    text-align: center;
    background: #3862af;
    padding-top: 2ex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

#footmenu li{
    display: inline;
    font-size: 80%;
    padding: 0 .5em 0 .5em;
    border-left: .1ex solid #ffffff;
}

#footmenu li:last-child {
    border-right: .1ex solid #ffffff;
    padding: 0 .5em;
}

#footmenu a{
    text-decoration: none;
    color:#ffffff;
    letter-spacing: .05em;
}

#footmenu a:hover{
    -webkit-transition: color .5s ease-out;
    -o-transition: color .5s ease-out;
    transition: color .5s ease-out;
    color: #ffa500;
}

#back2top {
    position: fixed;
    bottom: 1em;
    right: 1em;
    z-index: 99;
    font-size: 1em;
    opacity: .6;
    text-align: center;
    width: 3.2em;
    height: 3.6em;
    background: #00266f;
}

/* back2top */
#back2top a{
    display: block;
    text-decoration: none;
    color: #fff;
    line-height: 1;
    margin: .3em auto;
}

#back2top:hover {
    opacity: 1;
}

#back2top a:hover{
    color: #ffa500;
    -webkit-transition: all 0s;
    -o-transition: all 0s;
    transition: all 0s;
}

/* breadcrumb */
.breadcrumb li{
    font-size: .8em;
    position: relative;
    display: inline-block;
    margin-right: 1em;
}

.breadcrumb li:after{
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    border-style: solid;
    border-color: transparent;
    border-left-color: #ddd;
    border-width: 1em 1em;
    width: 0;
    height: 0;
}

.breadcrumb li a {
    display: inline-block;
    padding-left: .2em;
    height: 2em;
    line-height: 2em;
    text-decoration: none;
    background: #ddd;
}

.breadcrumb li a:hover {
    text-decoration: underline;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    color: #00266f;
}

/* index.html */
#top-pic {
    display: none;
}

.link {
    margin-top: .5ex;
    padding: .5ex;
    border: .1ex solid black;
}

.changelog {
    overflow-y: scroll;
    height: 10em;
    border: .1ex solid lightgray;
}

.changelog li {
    padding-top: .5ex;
}

#changelog-input {
    display: none;
}

#changelog-input:checked ~ .changelog {
    height: auto;
    overflow-y: hidden;
}

#changelog-label {
    background: #ddd;
}

#changelog-label:hover {
    text-decoration: underline;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    color: #00266f;
}

#changelog-input:checked ~ #changelog-label:after {
    content: '短くする';
}

#changelog-label:after {
    content: 'もっと見る';
}

/* research.html */
.research h3 {
    padding-left: 1em;
    background: #ccc;
}

.research ul {
    margin-left: 2em;
    list-style-type: circle;
    text-indent: -.5em;
    min-height: 150px;
}

.research ul li {
    padding-top: 1ex;
}

.research img {
    display: block;
    height: 150px;
}

#height300 {
    min-height: 300px;
}

/* apparatus.html */
.apparatus-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.apparatus-flex figure {
    margin-top: 2em;
    max-width: 350px;
}

/* members.html */
.members-table {
    border-spacing: 0;
    border: .1ex solid #ccc;
    border-width: .1ex 0;
    width: 100%;
    margin-top: 2em;
}

.members-table caption {
    font-size: 110%;
    font-weight: bold;
}

.members-table th {
    padding: .5em;
    background: #ccc;
    text-align: center;
    font-weight: bold;
    width: 30%;
}

.members-table th:first-child {
    background: #fff;
    width: 20%;
}

.members-table th:last-child {
    width: 20%;
}

.members-table td {
    padding: .5em 1em;
    text-align: center;
    vertical-align: middle;
}

.members-table tr:nth-child(even) {
    background: #ccc;
}

.members-table tr:nth-child(odd) {
    background: #efefef;
}

.tb-position {
    background: #fff;
    border-top: 1px solid #ccc;
}

#member-ol {
    padding-left: 2em;
    list-style-type: none;
    counter-reset: cnt;
}

#member-ol li:before {
    content: '('counter(cnt,upper-latin)') ';
    counter-increment: cnt;
}

.mailA:after {
    content: ' (A)'
}

.mailB:after {
    content: ' (B)'
}

/* publications.html */
.publication-year {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.publication-year li {
    font-size: 110%;
    padding: 0 1em;
}

.publication-year a:first-child {
    border: none;
}

.publication-year a {
    text-decoration: none;
    border-left: 1px solid #00266f;
}

.publication-list {
    text-justify: inter-word;
    letter-spacing: 0;
    padding-left: 3em;
    /* counter-reset: pub; */
    border-bottom: .1em dashed #00266f;
    padding-bottom: 1em;
}

.publication-list li {
    margin-top: .5em;
}

/* events.html */
.event-table {
    border: 1px solid #ccc;
    border-width: 1px 0;
    text-align: center;
    margin: 2em auto 0;
    max-width: 100%;
}

.event-table th {
    padding: .5em;
    background: #ccc;
    font-weight: bold;
    vertical-align: middle;
    width: 30em;
}

.event-table th:first-child {
    width: 5em;
}

.event-table td {
    padding: .5em;
    vertical-align: middle;
    border-bottom: 1px solid #ccc;
}

.ac-container {
    margin-left: 1em;
}

.ac-container label {
    padding: 0 1.8em;
    display: block;
    cursor: pointer;
    position: relative;
    border-top: .1em solid #00266f;
    height: 1.7em;
}

.ac-container label:before {
    content: '';
    position: absolute;
    width: 1em;
    height: 1em;
    left: 0;
    top: .4em;
    border: .1em solid #00266f;
    border-style: none none solid solid;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.ac-container input {
    display: none;
}

.ac-container ul {
    overflow: hidden;
    height: 0;
    position: relative;
    z-index: 10;
    margin-left: 1em;
}

.ac-container:first-of-type  ul{
    height: auto;
}

.ac-container input:checked ~ ul {
    height: auto;
}

.ac-container:first-of-type input:checked ~ ul {
    height: 0;
}

.ac-container div li{
    line-height: 1em;
    font-size: 1em;
    padding: 1em;
}

#event-old {
    display: block;
    margin-top: 1em;
    margin-left: 1em;
    padding-left: 2em;
    border-top: .1em dotted #00266f;
}

.events-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.events-flex a {
    margin-top: 2em;
    max-width: 300px;
}

#events-update {
    margin-top: 2ex;
    text-align: right;
    font-style: italic;
    line-height: 130%;
    letter-spacing: 0;
}

/* access.html */
#gmap-wrap {
    max-width: 400px;
    width: 100%;
    height: auto;
}

#gmap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

/* link.html */
.indent7 {
    margin-left: 7em;
    text-indent: -6em;
}

.link-links a {
    margin-left: 1em;
}

/* sitemap.html */
#sitemap ul {
    margin-left: 2em;
    list-style-type: circle;
    text-indent: -.5em;
}

#sitemap ul ul {
    list-style-type: disc;
}

#sitemap ul li {
    margin-top: .2em;
}

/* for smartphone */
.drawer-menu {
    display: none;
}

.check {
    display: none;
}

.menu-btn {
    display: none;
}

.center {
    text-align: center;
}

/* for small devices */
/* @media screen and (max-width: 960px){ */
    /* #menu { */
        /* font-size: 1.53vw; */
    /* } */
/* } */

/* @media screen and ( max-width:767px ) */
@media screen and ( max-width:479px )
{
    body{
        font-family: 'Noto Sans JP', sans-serif;
        letter-spacing: .03em;
        line-height: 1.6;
        -webkit-transition-property: none;
        -o-transition-property: none;
        transition-property: none;
    }

    .contents {
        width: auto;
        padding: 0 .5em;
        -webkit-transition-property: -webkit-transform;
        transition-property: -webkit-transform;
        -o-transition-property: transform;
        transition-property: transform;
        -webkit-transition-duration: .3s;
        -o-transition-duration: .3s;
        transition-duration: .3s;
        -webkit-transition-delay: 0;
        -o-transition-delay: 0;
        transition-delay: 0;
    }

    img {
        max-width: 90%;
        height: auto;
        display:block;
    }

    #mainleft {
        float: none;
        width: 100%;
        margin: 0;
    }

    #mainright {
        float: none;
        width: 100%;
        margin: 0;
    }

    #menu{
        display: none;
    }

    .topnavi {
        display: none;
    }

    .drawer-menu {
        display: block;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        position: fixed;
        overflow-y: auto;
        top: 0;
        right: -40vw;
        width: 40vw;
        height: 100vh;
        padding: 0;
        -webkit-transition-duration: .3s;
        -o-transition-duration: .3s;
        transition-duration: .3s;
        /* -webkit-transform-origin: right center; */
        /* transform-origin: right center; */
        /* -webkit-transform: perspective(40vw) rotateY(-90deg); */
        /* transform: perspective(40vw) rotateY(-90deg); */
        background: #00266f;
        color: #fff;
        z-index: 100;
    }

    .drawer-menu ul {
        margin-top: 4.5em;
        text-align: center;
    }

    .drawer-menu a {
        display: block;
        height: 2em;
        line-height: 2em;
        font-size: 1.3em;
        color: #fff;
        background: #00266f;
    }

    .menu-btn {
        display: block;
        position: fixed;
        top: 1em;
        font-size: 1em;
        right: 1em;
        width: 3.2em;
        height: 3.6em;
        text-align: center;
        cursor: pointer;
        z-index: 101;
        background: #00266f;
        opacity: 1;
    }

    .bar {
        position: absolute;
        top: .4em;
        left: .4em;
        display: block;
        width: 2.4em;
        height: .4em;
        background: #fff;
        -webkit-transition: all .4s;
        -o-transition: all .4s;
        transition: all .4s;
        -webkit-transform-origin: left top;
        -ms-transform-origin: left top;
        transform-origin: left top;
    }

    .bar.middle {
        top: 1.2em;
    }

    .bar.bottom {
        top: 2em;
        -webkit-transform-origin: left bottom;
        -ms-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    .menu-btn_text {
        position: absolute;
        bottom: -0.4em;
        left: 0;
        right: 0;
        margin: auto;
        color: #fff;
        display: block;
        visibility: visible;
    }

    .menu-btn_close {
        position: absolute;
        bottom: -0.4em;
        left: 0;
        right: 0;
        margin: auto;
        color: #fff;
        display: block;
        visibility: hidden;
        font-size: 90%;
    }

    .close-menu {
        position: fixed;
        top: 0;
        right: 40vw;
        width: 60vw;
        height: 100vh;
        cursor: default;
        -webkit-transition-delay: 0s;
        -o-transition-delay: 0s;
        transition-delay: 0s;
        visibility: hidden;
        opacity: 0;
    }

    /* checked */
    .check:checked ~ .drawer-menu {
        -webkit-transform: translateX(-40vw);
        -ms-transform: translateX(-40vw);
        transform: translateX(-40vw);
    }

    .check:checked ~ .contents {
        -webkit-transform: translateX(-40vw);
        -ms-transform: translateX(-40vw);
        transform: translateX(-40vw);
    }

    .check:checked ~ .menu-btn .menu-btn_text {
        visibility: hidden;
    }

    .check:checked ~ .menu-btn .menu-btn_close {
        visibility: visible;
    }

    .check:checked ~ .menu-btn .bar.top {
        color: #fff;
        left: .893em;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .check:checked ~ .menu-btn .bar.middle {
        opacity: 0;
    }

    .check:checked ~ .menu-btn .bar.bottom {
        color: #fff;
        left: .893em;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .check:checked ~ .close-menu {
        background: rgba(0,0,0,0);
        visibility: visible;
        opacity: 1;
        z-index: 3;
    }

    #back2top {
        opacity: 1;
    }

    #back2top a:hover{
        color: #fff;
    }
}


@media screen and ( max-width:768px )
{
    /* index.html */
    #top-pic {
        display: block;
        position: relative;
        max-width: 940px;
        margin-top: 1ex;
        width: 100%;
        background-image:
        /* url('./img/triangular.gif'), */
        url('./img/rattling.gif'),
        url('./img/top-pic.png'),
        url('./img/120deg.gif');
        background-repeat: no-repeat, no-repeat, no-repeat;
        /* background-position: 83% 95%, 0 0, -0 10%; */
        /* background-size: 15% auto, 100% auto, 15% auto; */
        background-position: 62% 94%, 0 0, 100% 0;
        background-size: 15% auto, 100% auto, 31.6% auto;
        padding-top: 31.6%;
    }

}


.jump-buttons{
  display:flex;
  justify-content:center;   /* 横方向センター */
  gap:1.2rem;               /* ボタン間スペース */
  margin:20px 0 15px;       /* 上下マージン */
}

/* —— ボタン自体の見た目 —— */

.jump-btn{
  display:inline-block;
  padding:0.5em 1.0em;
  background:#C0C0C0;               /* 深めのブルー */
  color:#FFFFFF;
  font-weight:600;
  border-radius:9999px;             /* いわゆる pill 形状 */
  text-decoration:none;
  box-shadow:0 4px 8px rgba(0,0,0,0.15);
  transition:transform .15s, box-shadow .15s, background .15s;
}

/* ホバーで少し浮く＆色を明るく */
.jump-btn:hover{
  transform:translateY(-2px);
  background:#3b82f6;               /* 少し明るいブルー */
  box-shadow:0 8px 16px rgba(0,0,0,0.18);
}

/* クリック中は押し込まれる感じに */
.jump-btn:active{
  transform:translateY(0);
  box-shadow:0 4px 8px rgba(0,0,0,0.15);
}

/* キーボード操作でも分かりやすいようフォーカス枠 */
.jump-btn:focus-visible{
  outline:3px solid #93c5fd;
  outline-offset:2px;
}

/* ===== Members: card UI ===== */

.member-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 18px 0 26px;
}

@media (min-width: 900px){
  .member-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.member-card{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.member-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

@media (max-width: 520px){
  .member-card{
    grid-template-columns: 1fr;
  }
}

.member-photo img{
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

@media (max-width: 520px){
  .member-photo img{
    width: 100%;
    height: 220px;
  }
}

.member-body{
  min-width: 0;
}

.member-name{
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.35;
}

.member-name a{
  color: #111;
  text-decoration: none;
}

.member-name a:hover{
  text-decoration: underline;
}

.member-en{
  font-size: 12px;
  color: #666;
  margin-left: 6px;
  white-space: nowrap;
}

.member-meta{
  margin: 0 0 10px;
  color: #333;
  font-size: 13px;
}

.member-email{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5f5f7;
  border: 1px solid #ececf0;
}

.member-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 10px;
  align-items: center;
}

.icon-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid #efefef;
  background: #fff;
  transition: transform .12s ease, background .12s ease;
}

.icon-link:hover{
  transform: translateY(-1px);
  background: #fafafa;
}

.icon-link img{
  height: 26px;
  width: auto;
  display: block;
}

.member-note{
  margin: 8px 0 0;
  font-size: 13px;
  color: #333;
  line-height: 1.55;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.note-icon{
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.member-actions{
  margin-top: 12px;
}

.member-btn{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  background: #f5f5f5;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.member-btn:hover{
  opacity: .92;
}

/* ===== FIX: member card images oversized ===== */
.member-card .member-photo{
  width: 150px;
  max-width: 150px;
}

.member-card .member-photo img{
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  display: block;
  object-fit: cover;
}

@media (max-width: 520px){
  .member-card .member-photo{
    width: 100%;
    max-width: 100%;
  }
  .member-card .member-photo img{
    width: 100% !important;
    height: 220px !important;
    max-width: 100% !important;
  }
}

/* ===== FIX: member-links area becomes dark / text invisible ===== */
.member-links,
.member-links a,
.member-links a:link,
.member-links a:visited{
  background: transparent !important;
  color: inherit !important;
}

/* icon tiles should stay light even if global link styles exist */
.member-links .icon-link{
  background: #fff !important;
  border: 1px solid #efefef !important;
  color: inherit !important;
  text-decoration: none !important;
}

.member-links .icon-link:hover{
  background: #fafafa !important;
}

/* ensure images are not affected by link color filters */
.member-links .icon-link img{
  filter: none !important;
  opacity: 1 !important;
}

/* コメント：アイコン無し・幅最大化 */
.member-note{
  display: block !important;
  margin: 8px 0 0;
  font-size: 13px;
  color: #333;
  line-height: 1.7;
}

/* もし古いHTMLが残ってもアイコンは消す */
.member-note .note-icon{ display: none !important; }


/* ===== Past members: alumni cards ===== */
.alumni-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 16px 0 26px;
}

.alumni-card{
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow: hidden;
}

.alumni-head{
  padding: 12px 14px;
  background: #f6f6f7;
  border-bottom: 1px solid #eeeeef;
}

.alumni-year{
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.alumni-body{
  padding: 12px 14px 14px;
}

.alumni-group{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px dashed #e7e7e7;
}

.alumni-group:first-child{
  border-top: none;
  padding-top: 0;
}

.alumni-tag{
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-align: center;
}

.alumni-list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  font-size: 13px;
  color: #222;
}

.alumni-en{
  font-size: 12px;
  color: #666;
  margin-left: 6px;
}

.alumni-mini{
  font-size: 12px;
  margin-left: 8px;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.alumni-mini:hover{
  background: #f5f5f5;
}

.alumni-row{
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.alumni-link{
  margin-left: 10px;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.alumni-link:hover{
  background: #f5f5f5;
}

.alumni-template{
  margin-top: 10px;
  border: 1px dashed #ddd;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fafafa;
  font-size: 12px;
  color: #333;
}

/* ===== Career: cards ===== */
.career-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 16px 0 26px;
}

.career-card{
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow: hidden;
}

.career-head{
  padding: 12px 14px;
  background: #f6f6f7;
  border-bottom: 1px solid #eeeeef;
}

.career-year{
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.career-body{
  padding: 12px 14px 14px;
}

.career-group{
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px dashed #e7e7e7;
}

.career-group:first-child{
  border-top: none;
  padding-top: 0;
}

.career-tag{
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-align: center;
  border: 1px solid #e5e5e5;
}

.career-list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  font-size: 13px;
  color: #222;
}

/* ===== Member name: more stylish ===== */
.member-name{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: .02em;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

/* subtle underline */
.member-name::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: #111;
  opacity: .18;
  border-radius: 2px;
}

/* link styling (if name is a link) */
.member-name a{
  color: #111;
  text-decoration: none !important;
  background: linear-gradient(transparent 70%, rgba(17,17,17,.10) 0);
  padding: 2px 2px;
  border-radius: 6px;
  transition: background .15s ease, transform .15s ease, opacity .15s ease;
}

/* hover: slightly more emphasis */
.member-card:hover .member-name a{
  background: linear-gradient(transparent 62%, rgba(17,17,17,.16) 0);
}

/* English name */
.member-en{
  font-size: 12px;
  color: #666;
  margin-left: 6px;
  font-weight: 600;
}

/* 日本語名 → 英語名 を必ず改行 */
.member-name .member-en{
  display: block !important;
  margin: 3px 0 0 !important;
  white-space: normal !important;
}

/* tighten on small screens */
@media (max-width: 520px){
  .member-name{
    font-size: 17px;
    padding-bottom: 9px;
  }
}

/* 教員カードだけ全幅（1カラム） */
.member-card--staff{
  grid-column: 1 / -1;
}

/* 画面が広い時、教員カードは写真を少し大きめ＋横長に見せる（任意） */
@media (min-width: 900px){
  .member-card--staff{
    grid-template-columns: 180px 1fr;
  }
  .member-card--staff .member-photo img{
    width: 180px !important;
    height: 180px !important;
    max-width: 180px !important;
  }
  .member-card--staff .member-photo{
    width: 180px;
    max-width: 180px;
  }
}

/* 名前まわりの「変な1行空き」を潰す */
.member-name{
  margin: 0 0 6px !important;     /* 下の余白を縮める */
  padding-bottom: 6px !important; /* 下線用の余白も縮める */
  line-height: 1.25 !important;
}

.member-name::after{
  height: 1px !important;         /* 下線を細く */
  opacity: .18;                   /* これは好み */
}

/* リンクがブロック化して余白が出る場合の保険 */
.member-name a{
  display: inline-block !important;
  padding: 0 !important;
}

/* 英語名の上余白を最小化 */
.member-name .member-en{
  margin: 2px 0 0 !important;
  line-height: 1.15 !important;
}

/* 次の行（メール等）の上余白も詰める */
.member-meta{
  margin: 6px 0 10px !important;
}