@charset 'utf-8';

body{
    margin:0;
    padding:0;
    color:#222;
    font-size:1.2em;
}
header{
    background:rgba(255,255,255,0.8);
    filter:drop-shadow(5px 5px 5px rgba(0,0,0,0.1));
    position:fixed;
    width:100%;
    top:0;
    z-index:10;
}
.logo{
    max-width:960px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:30px auto;
}
.logo img{
    width:60px;
}
.title{
    margin-left:10px;
}
.logo h1{
    display:block;
    font-size:1.5em;
    text-align: center;
}
.logo p{
    display:block;
}
header nav{
    width:100%;
}
header nav ul{
    display:flex;
    max-width:960px;
    justify-content:center;
    margin:0 auto;
}
header nav ul li{
    width:20%;
}
header nav ul li a:visited,
header nav ul li a:link{
    text-decoration:none;
    color:#222;
    display:block;
    text-align:center;
    font-size:1.2em;
    font-weight:bold;
}
header nav ul li a span{
    display:block;
    font-size:0.8em;
    font-weight:normal;
    letter-spacing:1px;
    margin:-3px 0 6px 0;
}
header nav ul li a::after{
    content:'';
    display:block;
    border-bottom:3px solid #222;
    margin:5px auto 0;
    width:0;
    transition:all .3s;
}
header nav ul li a:hover::after{
    width:100%;
}
.main_img img{
    width:100%;
}
.content{
    width:100%;
    padding:100px 0;
}
.content_area{
    text-align:center;
    max-width:960px;
    margin:0 auto;
}
.content_area h2{
    display:block;
    margin:0 auto;
    font-size:1.5em;
    position:relative;
}
.content_area h2 span{
    display:block;
    font-size:0.6em;
    letter-spacing:2px;
    margin:-4px auto 0;
    color:#757575;
}
.content_area h2::after{
    content:'';
    display:block;
    position:absolute;
    bottom:-25px;
    height:8px;
    width:100%;
    background:#d0d0d0;
    width:70%;
    margin:auto;
    left:0;
    right:0;
}
.content_area h3{
    display:block;
    margin: 60px auto 40px;
    padding: 8px 0;
    background: #ededed;
    font-size:1.2em;
    position:relative;
}
.content_area h4{
    position:relative;
    margin: 40px 0 20px;
    padding: 8px 0 3px;
    color: #333;
    font-size:1.1em;
    text-align: left;
    border-bottom: 1px dotted #AAA;
}
.content_area h4:before{
    content: "";
    position: relative;
    top: 1px;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 15px 0 0;
    background: #999;
}
.content_area p{
    margin:0 auto;
    width:90%;
    line-height: 2.0em;
}
.news{
    background:#ededed;
}
.news_area{
    height:200px;
    overflow-y:scroll;
    margin-top:30px;
    width:95%;
    margin:50px auto 0;
}
.news_area table{
    width:100%;
    font-size:1.1em;
}
.news_area table tr{
    border-bottom:1px solid #9d9d9d;
}
.news_area table tr td{
    padding:16px 0 4px 0;
}
.news_area table tr td:first-child{
    width: 150px!important;
}
.news_area table tr td time::before{
    font-family:FontAwesome;
    content:'\f140';
    font-size:0.8em;
    margin-right:2px;
    color:#9d9d9d;
    margin-right:5px;
}
footer{
    background:#222;
    text-align:center;
}
footer small{
    color:#fff;
    letter-spacing:1px;
    font-size:0.9em;
    line-height:6;
}

/*---------------------------
下層ページ
---------------------------*/
#page_header{
    padding-top:10px;
    filter: drop-shadow(5px 0px 5px rgba(0,0,0,0.1));
    background:rgba(255,255,255,0.9);
}

/*------ 研究室の紹介 ------*/
.about_member {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 20px 0 40px;
    padding: 0 0 40px;
    text-align: left;
}
.about_member figure {
    width: 200px;
    margin: 0 30px 0 0;
    padding: 3px;
    border: 1px solid #ccc;
}
.about_member figure img {
    width: 100%;
}
.about_member_profile {
    width: 730px;
}
.about_member_profile h4 {
    margin: 0 0 10px;
    padding: 0 0 5px;
    font-size: 1.1em;
    border-bottom: 3px solid #ddd;
}
.about_member_profile ul {
    line-height: 1.8em;
}
.about_photo {
    width: 50%;
    margin: 0 auto;
}
.about_laboratory {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around
    margin: 0 calc(20px / 2 * -1);
}
.about_laboratory figure {
    flex-basis: 30%;
    margin: 0 calc(20px / 2);
}
.about_laboratory figure img {
    width: 100%;
    padding: 0 0 10px;
}
.publication {
    text-align: left;
    width: 60%;
}

/*---------------------------
スマートフォン
---------------------------*/
@media screen and (max-width:579px){
    .logo{
        margin:20px auto 20px;
    }
    header{
        position:relative;
    }
    header nav ul{
        flex-wrap:wrap;
    }
    header nav ul li{
        width:30%;
        margin: 0 0 10px;
    }
    header nav ul li a:visited,
    header nav ul li a:link{
        margin-top:5px;
        font-size: 1.0em;
    }
    header nav ul li a::after{
        width:80%;
        border-bottom:1px solid #222;
    }
    header nav ul li a span{
        margin:-3px 0 3px 0;
    }
    .content{
        padding:50px 0;
    }
    .content_area {
        width: 94%!important;
        margin: 0 auto;
    }
    .content_area p{
        width: 100%;
        text-align: left;
        font-size:1.0em;
    }
    .news_area table tr td{
        display: block;
        vertical-align:top;
    }
    .news_area table tr td time{
        margin-right:10px;
    }
    footer{
        padding: 10px;
    }
    footer small{
        line-height:1.5;
    }

    /*---------------------------
    下層ページ（スマートフォン）
    ---------------------------*/
    #top_header .logo .title {
        margin: 0 5px;
    }

    #page_header{
        position:fixed;
    }
    #page_header+.content{
        padding-top:135px;
    }

    .about_member {
        flex-direction: column;
        border-bottom: 1px dotted #ddd;
    }
    .about_member figure {
        width: 50%;
        margin: 0 auto 20px;
    }
    .about_member_profile {
        width: 100%;
    }
    .about_member_profile h4 {
        text-align: center;
    }
    .about_photo {
        width: 100%;
        margin: 0 auto;
    }
.about_laboratory {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around
    margin: 0 calc(20px / 2 * -1);
}
.about_laboratory figure {
    flex-basis: 40%;
    margin: 0 calc(20px / 2);
}
.about_laboratory figure img {
    width: 100%;
    padding: 0 0 10px;
}
.publication {
    width: 100%;
}
}