@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;
}

/* 背景画像を設定 */






/* 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_nav_lists {
    display: flex;
}

.header_nav_lists li {
    margin: 0 40px 0 0;
}

.nav_link {
    font-size: 20px;
}

/* 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;
}

/* 研究内容のアイコンについて */
.research_icon{
    display: flex;
    display: block;
    text-align: center;
    margin-top: 30px;
}
.research_icon img{
    width: 110px;
    height: auto;
}

/* アイコンのレスポンシブルデザイン */
@media screen and (max-width: 768px) {
    .research_icon img{
        width: 60px;
        height: auto;
    }
}


/* 主な研究について */
.main_research{
    border-bottom: solid;
    border-color: #8fbc8f;
    border-width: 5px;
    margin-top: 5%;
}

/* 研究室についての */

.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: 10px auto 30px auto;
    text-align: center;
}

.introduction_box01 h1 {
    padding-top: 10px;
    border-bottom: solid;
    border-color: #8fbc8f;
    border-width: 5px;
    margin-top: 5%;
}

.introduction-box {
    width: 100%;
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    justify-content: space-between;

}

.introduction p {
    margin-top: 2px;
    padding: 5px 2% 10px 2%;
    width: auto;
}

/* 主な研究の下の部分 */
.research_background{
    background-color: #f2f2f2;
    border-radius: 20px;
    padding: 10px 0 10px 0;
}

/* 研究内容のボックス */
.research_box {
    max-width: 1024px;
    display: flex;

    justify-content: center;
    /* 画像を中央に揃える */
    gap: 20px;
    /* 画像間の間隔を設定 */

    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #f2f2f2;
    border-radius: 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;
    }
}


/* 数値解析とはについて */
.numerical {
    text-align: left;
    max-width: 1024px;

}

.numerical {
    padding: 0.5em 1em;
    margin: 1em 0;

    /* margin-left: 3%;
    margin-right: 3%; */
    background: #f4f4f4;
    border-left: solid 6px #8fbc8f;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}


.box:hover {
    color: #808080;
}

.boxlink {
    text-decoration: none;
    color: black;
}






/* フッターの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;
        /* 段落のフォントサイズを小さくする */
    }
}