/*
Theme Name: 東北大学研究成果ウェブサイト
Description: 東北大学研究成果ウェブサイト
Version: 1.1
Author: Silpheed
*/
* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    color: #666;
    box-sizing: border-box;
    text-decoration: none;
    text-decoration: none;
    list-style-type: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: fot-tsukuaoldmin-pr6n, "Meiryo UI", "Hiragino Sans", "Yu Gothic UI", "MS PGothic", "Hiragino Kaku Gothic ProN", serif;
    font-style: normal;
    font-weight: 300;
}

.gothic {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

.bun_gothic {
    font-family: toppan-bunkyu-gothic-pr6n, serif;
    font-weight: 400;
    font-style: normal;
}

.bun_gothic_b {
    font-family: toppan-bunkyu-gothic-pr6n, serif;
    font-weight: 600;
    font-style: normal;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    display: inline-block;
}

a:hover {
    opacity: 0.3;
}

/*#btn_area*/
#btn_area {
    position: fixed;
    left: -3px;
    bottom: 1rem;
    z-index: 1000000000000;
    opacity: 0;
    transition: all 1s ease;
}

#btn_area.show {
    opacity: 1;
    transform: none;
}

#btn_area li {
    margin-bottom: 1rem;
    box-shadow: 3px 3px 6px rgba(54, 54, 54, 0.26);
}

.op {
    transform: translate(0, 100px);
}

#gotop {

    line-height: 1.1;
    background-color: rgba(84, 112, 143, 0.63);

    /*border-radius: 0.7rem 0 0 0.7rem;*/
    padding: 0.5rem;
}

#gotop a {
    color: aliceblue;
    text-align: right;
    display: inline-block;
}

.in_focus_btn,
.twi_btn {
    width: 90px;

}



/*_#gotop*/

/*header_*/
header {

    position: relative;
    margin-bottom: 10rem;
    /*display: flex;
    justify-content: space-between;*/
}

header h1 {
    padding-left: 2.4rem;
    position: absolute;
    top: 1.4rem;
}

header h1 a {
    display: block;
    width: 5rem;
}

header h1 p {
    font-size: 1.4rem;
    line-height: 1.8rem;
    margin-top: 1.1rem;
}

#slide_area .sa_img {
    width: calc(100% - 210px);
    /*width: 100%;*/
    height: 440px;
    overflow: hidden;
    margin-left: auto;
    margin-right: 0;
}



#slide_area .slide_card {}

#slide_area .sa_info {
    position: absolute;
    bottom: 30px;
    left: 1.4rem;
    top: auto;
    right: auto;
    width: 520px;
    height: 160px;
    background-color: rgba(54, 54, 54, .9);
    z-index: 1000;
    padding: 1rem 1.4rem;
    text-align: justify;
}

#slide_area .sa_info .sa_info_header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 0.6px solid #fff;
    padding-bottom: 0.2rem;
    margin-bottom: 0.4rem;
}

#slide_area .sa_info .sa_info_category {}

#slide_area .sa_info p,
#slide_area .sa_info h2 {
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    line-height: 1.5;
}

#slide_area .sa_info .sa_info_category,
#slide_area .sa_info p.sa_info_date {
    font-size: 0.9rem;
    font-weight: bold;
}

.sp_kaigyo {}


@media screen and (max-width: 840px) {
    header {
        margin-bottom: 3rem;
    }

    header h1 {
        position: relative;
        display: flex;
        top: 0;
        padding-top: 1.4rem;
        padding-left: 1.4rem;
        padding-bottom: 1.4rem;
        /*align-items:center;*/
    }

    header h1 a {
        margin-right: 2rem;
        width: 3.4rem;
    }

    header h1 p {
        font-size: 1.6rem;
    }

    header h1 br {
        display: none;
    }

    #slide_area .sa_img {
        width: 100%;
        height: auto;
    }

    #slide_area .sa_info {
        position: relative;
        /*bottom: -30px;
        
        top: auto;
        right: auto;*/
        left: 0;
        width: 100%;
        height: 9rem;
        background-color: rgba(54, 54, 54, 1);
    }


}

@media screen and (max-width: 630px) {

    .sp_kaigyo {
        display: block;
    }

    #slide_area .sa_info {
        position: relative;
        /*bottom: -30px;
        
        top: auto;
        right: auto;*/
        left: 0;
        width: 100%;
        height: 11rem;
        background-color: rgba(54, 54, 54, .9);
    }

}

/*_header*/

/*#main_area_*/
#main_area {
    display: flex;
    padding: 0 0 0 6rem;
    margin-top: 8rem;
}

@media screen and (max-width: 1240px) {
    #main_area {
        padding: 0 0 0 1.4rem;
    }
}

@media screen and (max-width: 960px) {
    #main_area {
        flex-direction: column;
        padding: 0;
        margin-top: 0;
    }


}

/*_#main_area*/

/*#filter_area_*/
#filter_area {
    /*margin-top: 3rem;*/
    margin-right: 2rem;
    width: 280px;
    min-width: 280px;
}

#filter_area h2 {
    border-bottom: 2px solid #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#filter_area .filter_all {
    display: none;
}

.filter_title {
    background: #e3ebf4;
    padding: 0.3rem 1rem 0.3rem;
    border-radius: 0.3rem;
}

.filter_box {
    background: #f2f2f2;
    margin-bottom: 1.3rem;
    border-radius: 0.3rem;
}

.filter_box ul {
    padding-left: 1rem;
    border-radius: 0.3rem;
}

.filter_title.green {
    margin-bottom: 1.4rem;
    background: #e3f4f0;
    border-radius: 0.3rem;
}

.filter_title.green:hover {
    opacity: 0.5;
    transition: all 0.1s 0.3s ease;
}

.filter_box ul {
    /*display: none;*/
    height: 0;
    transition: all 0.2s 1s ease;
    border-radius: 0.3rem;
}

.filter_box ul li {
    display: none;
    border-radius: 0.3rem;

}

.filter_box:hover ul {
    /*display: block;*/
    height: auto;

}

.filter_box:hover ul li {
    display: block;

}

.filter_box li {
    font-size: 0.8rem;
}

#interviews {
    margin-top: 2rem;
}

#interviews .blue {

    background: #e3ebf4;
    padding: 0rem;
}

#interviews .blue {
    background: #e3ebf4;
    padding: 1rem;
    border-radius: 0.5rem;
}

#interviews .blue img {
    width: 20%;
    margin-bottom: 0.2rem;
}

#interviews .blue a {
    display: inline-block;
    text-align: center;
}

#interviews .blue a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 1460px) {
    #filter_area {
        width: 240px;
        min-width: 240px;
    }

}

@media screen and (max-width: 960px) {
    #filter_area {
        width: 100%;
        min-width: 100%;
        display: flex;
        margin-bottom: 6rem;
        padding: 1.4rem;
    }

    #filter_all {
        margin-right: 2rem;
        width: 56%;
    }

    #filter_area .filter_all {
        background: #e3ebf4;
        display: block;
        padding: 0.3rem 1rem 0.3rem;
        border-radius: 0.3rem;
        margin-bottom: 1rem;
    }

    #filter_area .filter_all .close {
        display: none;
    }

    .filter_box {
        display: none;
    }



    .filter_box.sdgs {
        display: block;
    }


    #interviews {
        width: 40%
    }


}

/*_#filter_area*/


/*#latest_wrap_*/
#latest_wrap {
    width: calc(100% - 280px);
    background-color: #e3ebf4;
    padding: 1rem 6rem 3rem 4rem;
    position: relative;
    margin-bottom: 3rem;
}

#latest_wrap h2 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 1.4rem;
    position: absolute;
    left: 0.1rem;
    top: -2.7rem;
    letter-spacing: 0.4rem;
}

#latest_wrap p.new_info {
    font-size: 0.9rem;
}

#latest_wrap p.new_info .no_img {}

#latest_wrap p.new_info .highly img {
    width: 1.2rem;
    height: auto;
    vertical-align: middle;
    padding-right: 0.2rem;
}

#latest_wrap .latest_inner {
    display: flex;
    justify-content: flex-start;
    /* space-between を flex-start (左詰め) に変更 */
    flex-wrap: wrap;
    gap: 5%
}

#latest_wrap .card {
    /* (100% - 10%) / 3枚 = 30% */
    width: 30%;
    margin-bottom: 3rem;
    background-color: #ffffff;
    box-shadow: 0 0 6px #999;
    position: relative;
}



#latest_wrap .card a>p {
    /*height: 11rem;*/
    overflow: hidden;
    aspect-ratio: 7 / 4;
}

#latest_wrap .card a>div {
    padding: 0.4rem 1rem 1rem;
    /*max-height: 11rem;
    overflow: hidden;*/
}

#latest_wrap .card h3 {
    line-height: 1.5;
    font-family: toppan-bunkyu-gothic-pr6n, serif;
    font-weight: 400;
    font-style: normal;
}

#latest_wrap .card_info {}

#latest_wrap .card_info .date {
    border-top: 1px solid #3a5065;
    text-align: right;
}

#latest_wrap .card_info .course {
    text-align: left;
}

#latest_wrap .btn a {
    display: block;
    padding: 0.3rem 3rem 0.3rem;
}

#latest_wrap .card_info h3 {}

#latest_wrap .card_info .mic img {
    width: 1.2rem;
    height: auto;
    position: absolute;
    right: 0.3rem;
    bottom: 0.3rem;
    display: none;
}

#latest_wrap .highly .card_info .mic img {
    display: block;
}

#latest_wrap .card_info .link img {
    width: 1.1rem;
    height: auto;
    vertical-align: 0;
    display: none;
    padding-left: 0.2rem;
}

#latest_wrap .link .card_info .link img {
    display: inline;

}


#latest_wrap .btn {
    width: 240px;
    text-align: center;
    position: absolute;
    background: #e3f4f0;
    border-radius: 0.3rem;
    bottom: -1.3rem;
    right: 2rem;
    z-index: 100;
    border: 1px solid #bcd0cb;
}

@media screen and (max-width: 1320px) {
    #latest_wrap .card {
        width: 48%;
    }
}

@media screen and (max-width: 1460px) {
    #latest_wrap {
        padding-right: 3rem;
    }
}

@media screen and (max-width: 960px) {
    #latest_wrap {
        width: 100%;
        padding: 1rem 4rem 3rem 5rem;
    }

    #latest_wrap h2 {
        left: 1rem;
        top: -2.7rem;
    }
}

/* 1320px以下の時の設定も修正（隙間を考慮して計算） */
@media screen and (max-width: 1320px) {
    #latest_wrap .card {
        /* (100% - 5%) / 2枚 = 47.5% */
        width: 47.5%;
    }
}

/* 680px以下の時の設定（スマホ用） */
@media screen and (card-width: 680px) {
    #latest_wrap .card {
        width: 100%;
    }
}

/*_#latest_wrap*/

/*#ac*/
#ac {
    background: #3a5065;
    margin: 2rem auto 10rem;
    width: 55%;
    border-radius: 0.5rem;
}

#ac a {
    display: block;
    padding: 0.5rem 0;
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.3rem;
    text-align: center;
}

/*#ac*/


/*#inFocus_*/
#inFocus {
    margin-bottom: 10rem;
    margin-top: 7rem;
}

#inFocus h2 {
    font-size: 2rem;
    width: calc(100% - 280px);
    min-width: calc(100% - 280px);
    margin-left: auto;
    letter-spacing: 0.1rem;
    border-bottom: 3px solid #3a5065;
    margin-bottom: 2rem;
    line-height: 1.2;
}

#inFocus .inner {
    position: relative;
    margin-top: 2rem;
}

#inFocus .img_box {
    width: 60%;
    height: auto;
    z-index: 100;
    position: relative;
    margin-left: auto;
}

#inFocus .inFocus_info {
    position: absolute;
    width: 50%;
    background-color: #e3f4f0;
    /*height: 340px;*/
    bottom: -3rem;
    z-index: 0;

}

#inFocus .inFocus_info a {
    display: block;
    padding: 2rem 2rem 2rem 6rem;
}

#inFocus h3 {
    border-bottom: 2px solid #3a5065;
    width: 90%;
    padding-right: 10%;
    font-size: 1.4rem;
    line-height: 1.4;
    padding-bottom: 0.4rem;
    margin-bottom: 2rem;
}

#inFocus .people_info {
    width: 90%;
    padding-right: 12%;
    text-align: right;
    font-size: 1.1rem;
    line-height: 1.5;
}

#inFocus .people_info .name {
    font-size: 2rem;
}

#inFocus .btn a {
    display: block;
    padding: 0.3rem 3rem 0.3rem;
}

#inFocus .btn {
    width: 240px;
    margin: 4rem 3rem 0 auto;
    background: #e3ebf4;
    border-radius: 0.3rem;
    bottom: -1.3rem;
    right: 2rem;
    z-index: 100;
    border: 1px solid #bcd0cb;
    text-align: center;
}

.official {
    display: none;
}

@media screen and (max-width: 1080px) {
    #inFocus .inFocus_info a {
        padding: 2rem 2rem 2rem 1.4rem;
    }
}

@media screen and (max-width: 940px) {
    #inFocus .inFocus_info {
        position: relative;
        bottom: 0;
        padding: 0 0 2rem 1.4rem;
        width: 80%;
    }

    #inFocus .inFocus_info a {

        padding: 2rem 2rem 2rem 1.4rem;
    }

    #inFocus h3 {
        width: 100%;
        margin-left: 2rem;
    }

    #inFocus .inFocus_info h3 br:last-of-type {
        display: none;
    }

    #inFocus .people_info {
        width: 50%;
        padding-right: 1.4rem;
        text-align: right;
    }

    #inFocus .img_box {
        width: 56%;
        position: absolute;
        bottom: -3rem;
        right: 0;
    }
}

@media screen and (max-width: 870px) {
    #inFocus h2 {
        width: 80%;
    }

    #inFocus .inFocus_info {
        width: 100%;
        padding: 1rem 0 1rem 1.4rem;
    }

    #inFocus h3 {
        width: 100%;
        margin-left: 2rem;
    }

    #inFocus h3 br:last-of-type {
        display: none;
    }

    #inFocus .people_info {
        width: 100%;
        padding-right: 1.4rem;
        text-align: right;
    }

    #inFocus .img_box {
        width: 100%;
        position: relative;
        bottom: 0;
    }

    #inFocus .btn {
        width: 240px;
        margin: 1.4rem auto 0;
        position: relative;
    }
}

@media screen and (max-width: 600px) {
    #inFocus h2 {
        width: 23rem;
    }

    #inFocus .btn {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 2rem;
    }




}

/*_#inFocus*/

/*#banner_*/
#banner {
    display: flex;
    justify-content: center;
    /*margin-bottom: 6rem;*/
}

#banner h2 {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    font-size: 1.4rem;
    order: 2;
    padding-top: 1rem;
}

.banner_a,
.banner_b {
    width: 25%;
    min-width: 300px;
}

.banner_a {
    order: 1;
    margin-right: 1rem;
}

.banner_b {
    order: 3;
    margin-left: 1rem;
}

.banner_a div,
.banner_b div {
    margin-bottom: 1rem;
    box-shadow: 0 0 3px #aaa;
}

@media screen and (max-width: 1300px) {
    #banner h2 {
        padding-top: 0;
    }
}

@media screen and (max-width: 740px) {

    .banner_a,
    .banner_b {
        width: 40%;
        min-width: 240px;
    }
}

@media screen and (max-width: 600px) {
    #banner h2 {
        order: 1;
        border-bottom: 2px solid #3a5065;
        -ms-writing-mode: rl;
        -webkit-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
        padding-left: 1rem;
        margin-bottom: 2rem;
        margin-right: 2rem;
    }

    #banner {
        flex-direction: column;
    }


    .banner_a,
    .banner_b {
        width: 70%;
        max-width: 340px;
    }

    .banner_a {
        order: 2;
        margin-right: auto;
        margin-left: auto;
    }

    .banner_b {

        margin-left: auto;
        margin-right: auto;
    }

}

/*_#banner*/
/*#footer_*/
footer {
    margin-top: 10rem;
    background-color: #e3ebf4;
    padding: 2rem;
}

footer .inner p:first-of-type {
    text-align: right;
    padding-right: 3rem;
    margin-bottom: 1rem;
}

footer .inner p img {
    width: 4.2rem;
}

footer .inner p:last-of-type {
    line-height: 1.6;
    margin-top: 3rem;

}

@media screen and (max-width: 740px) {
    footer .inner p:first-of-type {
        padding-right: 1rem;
    }
}

@media screen and (max-width: 460px) {
    #latest_wrap {
        padding: 2rem 2rem 3rem 2rem;
    }

    #filter_area h2 {
        border-bottom: 2px solid #333;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    #latest_wrap h2 {
        -ms-writing-mode: inherit;
        writing-mode: horizontal-tb;
    }

    #btn_area {
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 1000000000000;
        opacity: 1;
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

    #gotop {
        display: none;
    }

    .official img {
        width: 56px;
        height: auto;
    }

    .official {
        background: #fff;
        width: 22%;
        aspect-ratio: 1/1;
        /*border: 2px solid #666;*/
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .in_focus_btn,
    .twi_btn {
        width: 26%;
    }

    #btn_area li {
        margin-bottom: 0;
    }
}


/*_#footer*/
.card {
    position: relative;
}

.recomend_tag {
    display: none;
}

.recomend .recomend_tag {
    /*-ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;*/
    position: absolute;
    z-index: 10;
    left: -0.4rem;
    top: -0.4rem;
    /*background: #e3f4f0;*/
    /*background: rgba(80, 152, 136, 1);*/
    background: rgb(152, 80, 152);
    color: #ffffff;
    padding: 0 6px;
    /*border: 3px solid #509888;*/
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.6;
    box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.72);
    display: block;
}

.g_area {
    display: flex;
    justify-content: space-between;
}

.g_area p span:last-of-type {
    margin-right: 0;
}

.g01,
.g02,
.g03,
.g04,
.g05,
.g06,
.g07 {
    display: inline-block;
    margin-right: 0.3rem;
    width: 0.6rem;
    height: 0.8rem;
    display: none;
}

.g01 {
    background: #3d1587;
}

.g02 {
    background: #9dbe15;
}

.g03 {
    background: #ff8a00;
}

.g04 {
    background: #751014;
}

.g05 {
    background: #84acb8;
}

.g06 {
    background: #81017d;
}

.g07 {
    background: #006536;
}

.filter_box .g01,
.filter_box .g02,
.filter_box .g03,
.filter_box .g04,
.filter_box .g05,
.filter_box .g06,
.filter_box .g07,
.new_info .g01,
.new_info .g02,
.new_info .g03,
.new_info .g04,
.new_info .g05,
.new_info .g06,
.new_info .g07 {
    height: 0.7rem;
    display: inline-block;
}

.g_bsci .g01 {
    display: inline-block;
}

.g_lsci .g02 {
    display: inline-block;
}

.g_med .g03 {
    display: inline-block;
}

.g_ind .g04 {
    display: inline-block;
}

.g_soc .g05 {
    display: inline-block;
}

.g_edu .g06 {
    display: inline-block;
}

.g_disa .g07 {
    display: inline-block;
}

/*#arc_start*/
#arc header {
    margin-bottom: 0;
}

#arc h1 {
    position: relative;
    display: flex;
}

#arc h1 a {
    margin-right: 1rem;
}

#arc h1 .arc_title_br {
    display: none;

}

.tohokuuni {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.8rem;
    background: rgba(51, 51, 51, 0.84);
    padding: 0.1rem 0.6rem;
    z-index: 1000;
}

.tohokuuni a {
    display: block;
    color: #ffffff;
}

.tohokuuni a span {
    color: #ffffff;
}

/*#arc_end*/

/* Paging */

:root {
    --pagination-color: #3a5065;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--pagination-color);
    color: var(--pagination-color);
    text-decoration: none;
    font-size: 14px;
}

/* 現在のページ */
.pagination .page-numbers.current {
    background: var(--pagination-color);
    color: #fff;
}

/* ホバー */
.pagination a.page-numbers:hover {
    background: var(--pagination-color);
    color: #fff;
}