/* CSS Document */
/* =============================================== */
/* 余白の調整・パンくずリスト非表示など */
/* =============================================== */
/* パンくずリスト非表示 */
#breadcrumb{
    display: none;
}
/* 余白の調整 */
article{
    margin: 0 auto;
    max-width: 100%;
}
@media screen and (max-width: 1080px){
    article {
    padding: 0;
    margin-bottom: 0;
    }
}
/* =============================================== */
/* スライドショー */
/* =============================================== */
#main-visual{
    position: relative;
    overflow: hidden;
}
#main-visual .swiper-wrapper > div{
    position: relative;
    height: 750px;
    width: 100%;
}
#main-visual .swiper-wrapper > div img{
    object-fit: cover;
    max-width: inherit;
    object-position: left top;
    height: 750px;
    width: 100%;
}
.doi{
    display: block;
    position: absolute;
    background: var(--black);
    color: var(--white);
    bottom: 0;
    right: 0;
    font-size: 1.2rem;
    padding: 0.1rem 0.8rem;
}
/* スクロールボタン */
.scroll-btn{
    font-family: var(--font-rozha);
    color: var(--white);
    font-size: 2.4rem;
    position: absolute;
    padding: 1rem 2rem;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 20%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: arrowmove 1s ease-in-out infinite;
}
.scroll-btn:after{
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    -webkit-mask-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2332CD32" viewBox="0 0 16 16"><path d="M1,0.343L6.657,6,5.95,6.707,0.293,1.05ZM6.657,6L1,11.657,0.293,10.95,5.95,5.293Z"/></svg>');
    -webkit-mask-size: contain;
    mask-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2332CD32" viewBox="0 0 16 16"><path d="M1,0.343L6.657,6,5.95,6.707,0.293,1.05ZM6.657,6L1,11.657,0.293,10.95,5.95,5.293Z"/></svg>');
    background-color: var(--white);
    transform: translate(-22%, -50%) rotate(90deg);
    margin-top: 1rem;

}
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }
@media screen and (max-width: 767.98px){
    #main-visual .swiper-wrapper > div{
        height: calc( 100vh - 250px );
    }
    #main-visual .swiper-wrapper > div img{
        height: calc( 100vh - 250px );
    }
}
/* =============================================== */
/* 歴史的典籍NW構築計画とは */
/* =============================================== */
#about{
    background: url("../img/index/about-bg.png") repeat;
}
.about-inner{
    max-width: 980px;
    margin: 0 auto;
    padding: 6rem 0;
}
.about-content{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.about-desc{
    padding: 0 3rem 0 10rem;
    flex: 1;
}
.about-desc h1{
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
}
.about-desc h1 .en{
    font-family: var(--font-rozha);
    color: var(--lite-gray);
    font-size: 9rem;
    opacity: 0.5;
    line-height: 1;
}
.about-desc h1 .ja{
    color: var(--black);
    font-family: var(--font-serif);
    font-size: 3.0rem;
    line-height: 1;
    margin-top: -3rem;
    font-weight: bold;
    z-index: 1;hu
}
.about-desc p{
    margin-bottom: 5rem;
}
.about-desc a{
    background: var(--black);
    border: 1px solid var(--black);
    color: var(--white);
    padding: 0.8rem 3rem 0.8rem 2rem;
    position: relative;
    transition: 0.3s;
    margin: 0;
    display: block;
    text-align: center;
    border-radius: 0.4rem;
}
.about-desc a:after{
    content: "";
    position: absolute;
    display: block;
    width: 14px;
    height: 14px;
    -webkit-mask-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2332CD32" viewBox="0 0 16 16"><path d="M1,0.343L6.657,6,5.95,6.707,0.293,1.05ZM6.657,6L1,11.657,0.293,10.95,5.95,5.293Z"/></svg>');
    -webkit-mask-size: contain;
    mask-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2332CD32" viewBox="0 0 16 16"><path d="M1,0.343L6.657,6,5.95,6.707,0.293,1.05ZM6.657,6L1,11.657,0.293,10.95,5.95,5.293Z"/></svg>');
    background-color: var(--white);
    transform: translate(-50%, -50%));
    top: 40%;
    right: 0.4rem;
}
.about-img{
    max-width: 46%;
}
@media screen and (max-width: 767.98px){
    .about-content{
        flex-direction: column;
    }
    .about-desc{
        padding: 0 1rem;
    }
    .about-img{
        max-width: 90%;
        margin-top: 6rem;
    }
}
/* =============================================== */
/* カテゴリメニュー */
/* =============================================== */
.cat-menu ul{
    display: flex;
    flex-wrap: wrap;
}
.cat-menu ul li{
    width: 50%;
    height: 198px;
    background-position: center center;
    background-size: 100%;
}
.cat-menu ul li:nth-of-type(1){
    background-image: url("../research/img/header-bg.png");
    border-bottom: 1px solid var(--white);
    border-right: 1px solid var(--white);
}
.cat-menu ul li:nth-of-type(2){
    background-image: url("../info/img/header-bg.png");
    border-bottom: 1px solid var(--white);
}
.cat-menu ul li:nth-of-type(3){
    background-image: url("../database/img/header-bg.png");
    border-right: 1px solid var(--white);
}
.cat-menu ul li:nth-of-type(4){
    background-image: url("../bases_and_partner/img/header-bg.png");
}
.cat-menu ul li a{
    display: block;
    max-width: calc( var(--width-full) / 2);
    width: 100%;
    height: 100%;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
    font-family: serif;
    font-size: 2.4rem;
    position: relative;
}
.cat-menu ul li:nth-child(2n) a{
    margin-right: auto;
    margin-left: 0;
}
.cat-menu ul li a .arrow_circle{
    width: 26px;
    height: 26px;
    fill: var(--white);
    margin-left: 0.6rem;
}
@media screen and (max-width: 767.98px){
    .cat-menu ul{
        flex-direction: column;
    }
    .cat-menu ul li{
        width: 100%;
        border-bottom: 1px solid var(--white);
        height: 150px;
    }
    .cat-menu ul li a{
        max-width: 100%;
    }
    .cat-menu ul li:first-child{
        border-top: 1px solid var(--white);
    }
    .cat-menu ul li:nth-child(1) {
        order: 1;
    }
    .cat-menu ul li:nth-child(2) {
        order: 2;
    }
    .cat-menu ul li:nth-child(3) {
        order: 4;
    }
    .cat-menu ul li:nth-child(4) {
        order: 3;
    }
    .cat-menu ul li a{
        justify-content: space-between;
        padding: 0 2rem;
        font-size: 2.6rem;
    }
    .cat-menu ul li a .arrow_circle{
        width: 32px;
        height: 32px;
    }
}
/* =============================================== */
/* プロジェクトの成果等 */
/* =============================================== */
/* タブ */
/* =============================================== */
#project{
    background: var(--beige);
    padding: 5rem 0 8rem;
}
#project h1{
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
    text-align: center;
}
#project h1 .en{
    font-family: var(--font-rozha);
    color: var(--white);
    font-size: 9rem;
    opacity: 0.5;
    line-height: 1;
}
#project h1 .ja{
    color: var(--black);
    font-family: var(--font-serif);
    font-size: 3.0rem;
    line-height: 1;
    margin-top: -3rem;
    font-weight: bold;
    z-index: 1;hu
}
.project-inner{
    max-width: var(--width-full);
    margin: 0 auto;
}
.tab-list {
    display: flex;
    justify-content: center;
}
.tab-item {
    width: 19%;
    padding: 10px 0;
    margin: 0 0.4rem -7px;
    background-color: var(--black);
    color: #999;
    text-align: center;
    cursor: pointer;
    transition: .4s ease-in-out;
    z-index: 2;
    border-top: 1px solid var(--black);
    font-family: var(--font-serif);
    font-weight: bold;
    line-height: 1.2;
    color: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
/* タブをクリックした時 ホバーした時 */
.tab-item:hover, .tab-item.is-active {
    background-color: var(--white);
    color: var(--red);
    border-top: 1px solid var(--red);
}
/* パネル */
.panel-list {
    background-color: #fff;
}
.panel-item {
    display: none;
    width: 100%;
    padding: 40px 30px;
    background-color: #fff;
    position: relative;
}
.panel-item.is-active {
    display: block;
    animation: panel-show .9s ease-in-out forwards;
}
/* パネル切り替えのアニメーション */
@keyframes panel-show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* パネル内のスライダー */
.projectSwiper{
    position: relative;
    overflow: hidden;
}
.projectSwiper .swiper-wrapper > div a{
    color: var(--black);
    display: block;
    max-width: 410px;
    margin: 0 auto;
}
.projectSwiper .swiper-wrapper > div a figure{
    margin-bottom: 2rem;
}
.projectSwiper .swiper-wrapper > div a h2{
    font-family: var(--font-serif);
    color: var(--red);
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.projectSwiper .swiper-wrapper > div a p{
    text-indent: 0;
    line-height: 1.2;
}
#project .swiper-button-next,
#project .swiper-button-prev{
    background: rgba(0,0,0,0.6);
    display: block;
    color: var(--white);
    width: 40px;
    height: 60px;
}
#project .swiper-button-next{
    right: -2rem;
}
#project .swiper-button-prev{
    left: -2rem;
}
#project .swiper-button-next:after,
#project .swiper-button-prev:after{
    font-size: inherit;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
@media screen and (max-width: 1080px){
    .panel-list{
        margin: 0 2rem;
    }
}
@media screen and (min-width: 769px){
    #project .projectSwiper{
        overflow: hidden;
    }
    #project .projectSwiper .swiper-wrapper{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        /* display: grid;
        grid-template-columns: 23% 23% 23% 23%;
        grid-gap: calc( 8% / 3 ); */
    }
    #project .projectSwiper .swiper-wrapper .swiper-slide{
        width: 22%;
        margin-right: calc(12% / 3);
        margin-bottom: 3rem;
        /* width: 100%;
        display: block;
        margin-right: 1%;
        color: white; */
    }
    #project .projectSwiper .swiper-wrapper .swiper-slide:nth-child(4n){
        margin-right: 0;
    }
    #project .swiper-button-next,
    #project .swiper-button-prev{
        display: none;
    }
}