@charset "UTF-8";

/*======header======*/
button {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    vertical-align: middle;
    text-align: inherit;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
    cursor:pointer;
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items:center;
}
.jamstec-logo{
    max-width:200px;
}
.jamstec-logo img {
    width: 100%;
}
.header-menu-list {
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    flex-wrap: wrap;
}
.header-menu-item {
    display: inline-block;
    padding: 0 10px;
    text-align: center;
}
.header-menu-item:not(:last-child) {
    border-right: 1px solid #ddd;
}
.header-menu-link{
    text-decoration: none;
    color: #444;
    cursor:pointer;
}
.header-menu-link:hover{
    border-bottom: 2px solid #1694b7;
    text-decoration: none;
    color: #1694b7;
}

.menu-btn {
    display: none;
}
@media screen and (max-width: 1000px) {
    .header-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-end; 
        width: 150px;
        overflow: hidden;
        position:absolute;
        right:10px;
        top:10px;
        z-index:1000;
    }
    .menu-btn {
        display: block;
        width: 44px;
        height: 38px;
        flex-grow: 0;
        flex-shrink: 0;
        background-color: #666;
    }
    .btn-line {
        display: block;
        position: relative;
        width: 30px;
        height: 3px;
        margin:0 auto;
        background-color: #fff; /* バーガー線の色 */
        transition: .2s;
    }
    .btn-line::before, .btn-line::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #fff;
        transition: .5s;
    }
    .btn-line::before {
        transform: translateY(-9px);
    }
    .btn-line::after {
        transform: translateY(9px);
    }
    .open .btn-line {
        background-color: transparent; /* 真ん中の線を透明に */
    }
    .open .btn-line::before, .btn-line.open::after {
        content: "";
        transition: .2s;
    }
    .open .btn-line::before {
        transform: rotate(45deg); /* 上の線を傾ける */
    }
    .open .btn-line::after {
        transform: rotate(-45deg); /* 下の線を傾ける */
    }
    .header-menu-list {
        transition: .3s;
        /*right: -100%;*/
        height:0;
        opacity: 0;
    }
    .header-menu-item{
        width:100%;
       padding:0;
    }
    .header-menu-link{
        padding: 2px 10px;
        line-height: 36px;
        width: 100%;
        display:inline-block;
        text-align: left;
        text-decoration: none;
        font-weight: bold;
    }
    .header-menu-link:hover,.header-menu-link:active{
        background: #f1f1f1;
        border-bottom: 0;
    }
    .header-menu-list.open{
        position: relative;
        width:100%;
        flex-direction: column;
        background-color: #fff;
        border: 2px solid #666;
        align-items: center;
        overflow: hidden;
        /*right: 0;*/
        height:100%;
        opacity: 1;
    }   
}
@media screen and (max-width: 850px) {
  .jamstec-logo img {
    width: clamp(6.875rem, 3.479rem + 16.98vw, 12.5rem);/*110~200px*/
  }
  .site-logo img{
    width:clamp(12.5rem, 2.047rem + 52.27vw, 29.813rem);/*200~477px*/
  }
}


/* ======pagetopに戻る====== */
.page-top {
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 10000;
    width: 40px;
    height: 40px;
    border-radius:50%;
    background-color: #aaa;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size:0;
    opacity:0.7;
}
.page-top::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-bottom: -6px;
    border-top: solid 3px #444;
    border-right: solid 3px #444;
    transform: rotate(-45deg);
}
.page-top.show-elem {
    display: flex;
}
.page-top:hover {
    transform: scale(1.1);
}

/*----footer-----------------------------------------*/
footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 52px;
  background-color: #bbbfc5;
}
footer #copyright {
  -webkit-box-flex: 4;
  -ms-flex-positive: 4;
  flex-grow: 4;
  padding: 15px 15px 0 0;
  text-align: right;
  color: #444444;
}
footer nav {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin: 0px;
  padding: 15px 5px 0;
  text-align: left;
}
footer nav ul li {
  display: inline-block;
  padding: 0 8px;
  text-align: center;
}
footer nav ul li:not(:last-child) {
  border-right: 1px solid #baced3;
}
footer nav ul li a {
  text-decoration: none;
  color: #444444;
}
footer nav ul li a:hover {
  border-bottom: 2px solid #1694b7;
  text-decoration: none;
  color: #1694b7;
}

/*--------レスポンシブ--------*/
@media screen and (max-width: 850px) {
  footer {
    display: block;
    height: 80px;
  }
  footer #copyright {
    padding: 8px 15px 0 15px;
    text-align: left;
  }
}
@media screen and (max-width: 550px) {
  footer {
    height: 110px;
  }
}
/*----footer-----------------------------------------*/



