@charset "utf-8";

/**********************************************/
/*メイン*/
/**********************************************/

/*ヒーローエリア*/
.cover {
    width: 100%;
    height: 400px;
    background: url('../img/main2.png') no-repeat left center;
    background-size: 600px;
    background-color: #6c98da;
    box-shadow: inset 0 0px 5px 0 rgba(0,0,0,0.2);
}
.cover-in {
    width: 100%;
    height: 100%;
    max-width: calc(1200px + 40px + 80px);
    margin: 0 auto;
    display: flex;
}

/*キャッチコピー*/
#vision {    
    width: 100%;
    color: #fff;
    background: url('../img/main.png') no-repeat right 1% bottom;
    background-size: 450px;
    height: 450px;
}

#vision .vision-title {
    margin-left: 380px;
    margin-top: 70px;
    font-size: clamp(1.125rem, 0.9rem + 1.13vw, 2.25rem);
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 0 0 1px #2a4774;
}
#vision p {
    margin-left: 380px;
    font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);    
    font-weight: bold;
    max-width: 470px;
    line-height: 180%;
    padding-left: 3px;
    text-shadow: 0 0 1px #5578ac;
}

/*コンテンツ位置調整*/
.contents {
    margin-top: 40px;
}
.side {
    margin-top: -200px;
    margin-right: 50px;
    position: relative; /*イラストの上に配置するため*/
}

/*見出し*/
h2 {
    /*初期化*/
    border-width: 0;
    padding: 0;
   font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
    margin-bottom: 20px;
    padding-left: 10px;
    padding-bottom: 10px;
    border-bottom: 2px #eee solid;
}
h2 span {
    /*初期化*/
    border-width: 0;
    padding: 0;
    font-size: clamp(1rem, 0.725rem + 1.38vw, 2.375rem);
    display: block;
    margin-bottom: 10px;
    color: #142474;
    letter-spacing: -0.5px;
}


/***********************************/
/*研究室からのお知らせ*/
/***********************************/
#information h2 {
    background: url("../img/icon_info.png") no-repeat 10px top;
    background-size: 70px;
    padding: 10px 0 10px 100px;    
}

/*一覧*/
#informationlist {
    padding: 0 10px;
}

#informationlist dl {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    line-height: 140%;
    font-weight: bold;
    padding: 15px 10px 15px 20px;
    background: url("../img/line.png") repeat-x bottom center;
}
#informationlist dt {
    width: 100px;
    display: inline-block;
    margin-right: 30px;
}
#informationlist dd {
    flex: 1;
    margin: 0;
}
#informationlist dd a {
    color: #142474;
    text-decoration: none;
}
#informationlist dd a:hover {
    text-decoration: underline;
}

/*もっと見るボタン*/
#information .more {
    margin-top: 30px;
    text-align: right;
    padding-right: 10px;
}
#information .more a {
    background:url("../img/icon_arrow_w.png") no-repeat 5px center;
    background-size: 20px;
    background-color: #142474;
    color:#fff;
    text-decoration: none;
    border-radius: 50px;
    line-height: 100%;
    padding: 5px 10px 5px 28px;
    font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem);
}



/***********************************/
/*トピックス*/
/***********************************/
#topics {
    margin-top: -20px;
}
#topics h2 {
    background: url("../img/icon_topics.png") no-repeat 10px top;
    background-size: 70px;
    padding: 10px 0 10px 100px;   
}

.topicsbox {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    line-height: 100%;
}
.topicsbox li {
    padding: 5px;
    border-bottom: 1px #ddd solid;
}
.topicsbox li a {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    color:#000;
    text-decoration: none;
    background:url("../img/icon_next_g.png") no-repeat right 15px center;
	background-size: 40px;
    padding-right: 50px;
}
.topicsbox li a:hover dt {
    text-decoration: underline;
}
.topicsbox li a:hover {
    background-position: right center;
}

.topicsbox-img {
    width: 160px;
    margin-right: 20px;
}
.topicsbox-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    border: 1px #eee solid;
}
.topicsbox-txt {
    flex: 1;
    margin: 0;
    padding: 10px;
}
.topicsbox-txt dt {
    font-weight: bold;
    font-size: clamp(1rem, 0.925rem + 0.38vw, 1.375rem);
    margin-bottom: 15px;
    font-family: '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}
.topicsbox-txt dd {
    margin: 0;
    line-height: 160%;
}


/****************************/
/*レスポンシブ*/
/****************************/
@media screen and (max-width: 1480px) {
}

@media screen and (max-width: 1280px) {
    .cover {
        height: 350px;
    }
    .cover-in {
        background-color: rgba(11,33,65, 0.6);
    }
    #vision {
        height: 400px;
        background-size: 32%;
    }
    #vision .vision-title {
        margin-left: 320px;
        margin-top: 70px;
    }
    #vision p {
        margin-left: 320px;
    }
}

@media screen and (max-width: 980px) {
    .cover {
        background-size: 60%;
        background-position: left top;
    }    
    #vision {
        width: 100%;
        max-width: 100%;

        height: 430px;
        background-position: right 4% bottom;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #vision .vision-title {
        margin-top: -100px; /*画像はみ出し分引く*/
        margin-left: 0;
    }
    #vision p {
        max-width: 650px;
        margin-left: 0;
        letter-spacing: 1px;
        text-align: center;
    }

}

@media screen and (max-width: 780px) {
    h2 span {
        margin-bottom: 0px;
    }
    #information h2 {
        background-size: 60px;
        padding: 10px 0 10px 80px;
    }
    #topics h2 {
        background-size: 60px;
        padding: 10px 0 10px 80px; 
    }

    #vision {
        background-size: 260px;
    }

    #informationlist {
        padding: 0;
    }
    #informationlist dl {
        padding: 15px 10px;
    }
    
    .topicsbox li a {
	    background-size: 30px;
        padding-right: 45px;
    }
    .topicsbox-img {
        width: 30%;
        margin-right: 10px;
    }
    .topicsbox-txt dt {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 580px) {
    .cover {
        height: 410px;
        background-size: 100%;
    }
    #vision {
        height: 440px;
        background-position: center bottom;
        background-size: 260px;
        padding-top: 80px;
        padding-bottom: 150px;
    }
    #vision p {
        max-width: 450px;
    }

    #informationlist dt {
        width: 80px;
        margin-right: 20px;
    }
    .topicsbox li {
        padding: 5px 0;
    }
}

@media screen and (max-width: 380px) {
     #informationlist dl {
        flex-direction:column;
        padding: 10px 5px;
     }

    #informationlist dl dt {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
    #informationlist dl dd {
        font-weight: normal;
    }

    .topicsbox li {
        padding-bottom: 10px;
        margin-bottom: 20px;
    }
    .topicsbox li a {
        flex-direction:column;
        background-image: none;
        padding: 0;
    }
    .topicsbox-img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}


