@charset "utf-8";


/* 研究成果 */

.kakenhiBtn{
    margin-bottom: 30px;
    position: relative;
    &::after {
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        font-family: var(--fa);
        content: '\f061';
        font-weight: bold;
    }
    a{
        border: 1px solid #ddd;
        background: #f8f8f8;
        border-radius: 5px;
        color: #333;
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        padding: 25px;
        font-size: 2rem;
        font-weight: bold;
        text-decoration: none;
        &:hover,&:focus{
            background: #e0e0e0;
        }
        @media (width <= 999px) {
          font-size: 1.7rem;
          height: 80px;
        }
    }
}

/* 
.listFlex{
    display: grid;
    gap: 15px;
    grid-template-columns: 125px 1fr;
} */


/* 目次 */
.tocList{
    border: 1px solid #ddd;
    padding: 25px 20px;
    border-radius: 5px;
    position: relative;
    margin-bottom: 40px;
    ul{
        margin-bottom: 0;
    }
    li:last-child{
        margin-bottom: 0;
    }
    .title{
        font-size: 1.6rem;
        color: #333;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .tocListToggle{
        position: absolute;
        top: 25px;
        left: 0;
        padding-right: 25px;
        width: 100%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: right;

        &::before {
            content: "\f078";
            font-family: var(--fa);
            font-weight: 900;
            font-size: 1.5rem;
            color: #555;
            display: block;
            transform-origin: center center;
        }
    }
    .active {
        &::before{
            transform: rotate(180deg);
        }
    }
    @media (width <= 999px) {
      li{
        font-size: 1.5rem;
      }
    }
}



/* workshops */
.workshopList{
    ul{
        margin-bottom: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    li{
        border: 2px solid #ddd;
        border-radius: 5px;
        padding: 25px;
        list-style-type: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0!important;
        .title{
            a{
                font-size: 2rem;
                color: #333;
                font-weight: 500;
                @media (width <= 999px) {
                  font-size: 1.8rem;
                }
            }
            .noneLink{
                text-decoration: none;
                pointer-events: none;
            }
        }
        .infoList{
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .item{
            display: flex;
            gap: 15px;
            line-height: 1.5;
            @media (width <= 999px) {
              flex-direction: column;
              
            }
            span{
                background: #444;
                color: #fff;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 5px;
                font-size: 1.5rem;
                text-align: center;
                width: 100px;
                @media (width <= 999px) {
                  width: 100%;
                }
            }
        }
    }
    .buttonLink1{margin-bottom: 0;}
    
}




/* report */
.report .topicsList{
    & li {
        display: block;
        margin: 0;
        & a {
            align-items: center;
            .txt{
                .title{
                    margin-bottom: 0;
                    @media (width <= 999px) {
                      font-size: 1.8rem;
                    }
                }
                @media (width <= 999px) {
                    padding: 20px 5% 20px;
                }
            }
            @media (width <= 999px) {
              .thum{
                margin-bottom: 0;
              }
            }
        }
    }
}


/* 404ページ */
.message404{
    .title{
        font-size: 3.2rem;
        color: #444;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    p{
        color: #333;

    }
    .buttonLink1{
        padding-top: 25px;
    }
}