@charset "utf-8";

.body {
    font: 13px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
    
}

.bg-image{
    border-bottom: #1c1c1c;
}

/* Reset style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* color: #8fbc8f; */
    color: #1c1c1c;
    list-style: none;
    text-decoration: none;
}

/* 背景画像を設定 */
/* h1{
    text-align: center;
    padding-top: 150px;
    color: black;
    font-size: 70px;
} 

.bg-image {
    position: relative;
    opacity: 0.7;
    width: 100%;
    height: auto;
    background-image: url("../images/121.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}  */

/* .bg-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 70vh;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
} */






/* Normal header style */
.header_bg {
    /* background: #f5f5f5; */
    width: 100%;
    height: 100px;
    background-color: #f5f5f5;
    /* font: 13px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; */
}

.header_contents {
    width: 100%;
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

/* 研究室ロゴ */
.titlelogo{
    width: 70%;
}

/* .header_contents h1 {
    font-size: 22px;
    margin: 0 0 0 40px;
} */

.header_nav_lists {
    display: flex;
}

.header_nav_lists li {
    margin: 0 40px 0 0;
}

.nav_link {
    font-size: 20px;
}

/* ヘッダーのドロップダウン */
/* .header_nav_lists ul li {
    border-top: 0.5px solid aliceblue;
}

.header_nav_lists ul {
    display: none;
    margin: 0px;
    padding: 0px;
    position: absolute;
    z-index: 2;
}

.header_nav_lists li:hover ul {
    display: block;
} */

/* Responsive menu button */
.responsive_btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 40px 0 0;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.menu_line {
    background: #8fbc8f;
    border-radius: 5px;
    width: 100%;
    height: 5px;
    margin: 4px 0;
}

/* Responsive style */
@media screen and (max-width: 768px) {
    
    .responsive_btn {
        display: flex;
    }

    .header_bg {
        position: relative;
    }

    .titlelogo{
        width: 40%;
    }

    .header_nav {
        background: #f5f5f5;
        width: 100%;
        height: 100vh;
        padding: 80px 0 0 0;
        position: absolute;
        top: 0;
        right: -100%;
        transition: .5s;
        z-index: 2; /* z-indexを追加 */
    }

        .menu_active {
            right: 0;
        }
    
        .swiper {
            position: relative;
            /* 位置をrelativeに変更 */
            z-index: 1;
            /* スライドショーのz-indexをメニューより低く設定 */
        }

    .header_nav_lists {
        display: block;
        text-align: center;
    }

    .header_nav_lists li {
        margin: 0 0 40px;
        text-align: center;
    }

    .nav_link {
        font-size: 20px;
    }
}

/* js function "menuToggle" starting only */
.menu_active {
    right: 0;
}

/* .content{
    font-family: "メイリオ";
}  */

/* スライドショーについて */

/* .swiper--wrapper {
    wrapperのサイズを調整
    width: 100%;
    height: 300px;
    position: absolute;
    z-index: 1;
} */

.swiper-pagination{
    color:#8fbc8f;
}

.swiper-slide {
    /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
    color: #ffffff;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 100px;
}

.images {
    width: 60%;
    height: auto;
    margin-top: 4px;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
    background-color: #8fbc8f;  /*プログレスバーの色*/
}

.swiper-button-prev{
    color: #8fbc8f;
}

.swiper-button-next{
    color: #8fbc8f;
}


/* 研究室についての */

.introduction h2 {
    border-bottom: solid;
    border-color: #8fbc8f;
    border-width: 2px;

    margin-top: 15px;
    margin-bottom: 15px;
    
}

.introduction_box01{
    background-color: #f2f3f4;
    max-width: 1024px;
    border-radius: 10px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.introduction h3{
    padding-top: 10px;
}

.introduction-box{
    width: 100%;
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    justify-content: space-between;
    
}

.introduction p {
    padding: 10px 2% 10px 2% ;
    width: auto;
}

/* 研究内容のボックス */
.research_box{
    max-width: 1024px;
    display: flex;

    justify-content: center;/* 画像を中央に揃える */
    gap: 20px;/* 画像間の間隔を設定 */

    margin-top: 20px;
    padding-bottom: 20px;
    
}

.box_link p{
    color: #8fbc8f;
    font-size: 20px;
    font-weight: bold;
    padding-top: 0;
}

.research_box a{
    padding: auto;
    display: block;
    
}
.research_box a img{
    max-width: 300px;/* 画像の最大幅を設定 */
    width: 100%;
    height: auto;
}

.research_box a img:hover{
    opacity: 0.7;
}



/* 矢印のアイコンについて */




/* 研究内容のボックスのレスポンシブルデザイン */
@media screen and (max-width: 768px) {
    .research_box{
        flex-direction: column; /* フレックスボックスの方向を縦に変更 */
        align-items: center; /* 画像を中央揃え */
        gap: 20px; /* 画像間の間隔を設定 */
    }

    .research_box a img {
        max-width: 80%;
        /* 画像の幅を100%に設定 */
        width: auto;
    }
}

/* ニュース欄について */
h2 {
    text-align: center;
    margin-bottom: 3px;
}

h3 {
    text-align: center;
    margin-bottom: 3px;
}

.news {
    margin-bottom: 80px;
}

.news-subtitle {
    text-align: center;
    margin: 0;

    /* border-bottom: solid;
    border-color: #8fbc8f;
    border-width: 2px; */
    margin-bottom: 10px;
}

/* .news-list {
    list-style: none;
}

.news-list li {
    margin-top: 10px;
    margin-bottom: 10px;
} */

/* .news p {
    border-bottom: solid;
    border-color: #8fbc8f;
    border-width: 2px;
    margin-bottom: 10px;
} */

.news-scroll {
    overflow-x: hidden;
    /* 横方向のスクロールは非表示 */
    overflow-y: auto;
    /* 縦方向のスクロールを表示 */
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    height: 450px;
    /* 高さを指定してスクロールエリアを制限 */
} 

.news-scroll::-webkit-scrollbar {
    background: #f2f3f4;
    width: 5px;
    height: 5px;
    border-radius: 50px;
}

.news-scroll::-webkit-scrollbar-thumb {
    background-color: #707070;
    border-radius: 20px;
}




/* 新しいニュース欄について */
a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.news {
    padding: 50px 0;
    /* background: #FFF7EA; */
    
    
} 


.inner {
    width: 80%;
    background-color: #fff;
    margin: 0 auto;
    padding: 65px 0 100px;
}




/* ここからがニュース記事のCSS */

/* .news_list {
    margin: 0 5%;
} */

.news_list_item {
    padding: 30px 0;
    border-bottom: 1px solid #8fbc8f;
    /* margin: 0 5%; */
    width: 100%;
}

.news_list_item:first-child {
    border-top: 1px solid #8fbc8f;
}

.news_list_item a {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* 子要素を均等に配置 */
    align-items: center;
    padding-right: 30px;
    width: 100%;
    box-sizing: border-box;
    /* パディングとボーダーを幅に含める */
}

.news_list_item a:hover{
    opacity: 0.65;
}

.news_list_date {
    font-size: 15px;
    width: auto;
    /* 必要に応じて幅を調整 */
    margin-right: 15px;
    /* 適切な余白を設定 */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* フレックスボックスの収縮を防ぐ */
}

.news_list_sentence{
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news_item {
    background: #a8d6a8;
    border-radius: 14px;
    width: 6em;
    
    text-align: center;
    margin-left: 20px;
} 

.arrow {
    width: 25px;
    height: 1px;
    background: #8fbc8f;
    position: absolute;
    top: 50%;
    right: 10px;
    /* 必要に応じて調整 */
}

.arrow::after {
    content: "";
    display: block;
    width: 6px;
    height: 1px;
    background: #707070;
    transform: rotate(45deg);
    position: absolute;
    right: 0px;
    bottom: 2px;
}


@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
        padding-left: 3%;
    }
}

@media screen and (max-width: 769px) {
    .news_list_item a {
        font-size: 14px;
        padding-left: 3%;
    }


}

@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }

    .news_list_item a {
        padding-right: 0;
        padding-left: 3%;
    }
}




/* ニュース欄のレスポンシブルデザイン */
@media screen and (max-width: 768px) {
    .news-scroll{
        padding-left: 2%;
        padding-right: 2%;
    }
}




/* フッターのcss */
.content {
    min-height: calc(100vh - 180px);
    /*ヘッダーとフッターの最低の高さを設定*/
}

footer {
    background-color: #f5f5f5;
    width: 100%;
    /* height: 120px; */
}

.footer-class {
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
}

.footer-title {
    padding-top: 30px;
    margin-bottom: 5px;

    font-size: 20px;
    color: #333333;
}

.addres {
    font-size: 17px;
    margin-top: 0;
    color: #333333;
}

.copyright{
    padding-top: 20px;
    text-align: center;
    font-size: 15px;
    color: #c0c0c0;
}


/* フォントサイズのレスポンシブルデザイン */

/* 画面サイズが768px以下のときのスタイル */
@media screen and (max-width: 768px) {
    .header_nav_lists li {
        margin: 0 0 40px;
        text-align: center;
    }

    .nav_link {
        font-size: 16px;
        /* ナビゲーションリンクのフォントサイズを小さくする */
    }

    h1 {
        font-size: 24px;
        /* h1要素のフォントサイズを小さくする */
    }

    h2 {
        font-size: 20px;
        /* h2要素のフォントサイズを小さくする */
    }

    h3 {
        font-size: 16px;
        /* h3要素のフォントサイズを小さくする */
    }

    p {
        font-size: 14px;
        /* 段落のフォントサイズを小さくする */
    }
}