@charset "UTF-8";

/* 共通設定 */
html {
    font-size: 90%;
    scroll-behavior: smooth;
    background-color: #fdfdfd;
    color: #333;
}

body {
    font-family: 'Noto Sans JP', 'Segoe UI', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

a {
    color: rgb(180, 0, 60);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: rgb(230, 0, 90);
    opacity: 0.8;
}

img {
    max-width: 100%;
    width: 80%;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.03);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrapper {
    width: 1300px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.head {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: antiquewhite;
    padding: 2vw;
    padding-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

header {
    width: 100%;
    position: fixed;
    left: calc((100% - 100vw) / 2);
    display: flex;
    justify-content: space-between;
}

.title {
    padding: 0 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    border-bottom: 5px solid red;
    font-size: 2.2rem;
    font-weight: bold;
    color: rgb(31, 23, 23);
}

.title a {
    color: rgb(31, 23, 23);
}

#logo_img {
    max-width: 30px;
}

#head_nav ul {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 1.5rem;
}

#introduce {
    margin-top: 10vh;
    font-size: 1.3rem;
}

#introduce h3 {
    font-size: 2rem;
    color: rgb(180, 0, 60);
}

#introduce p {
    text-align: left;
}

.home_content {
    text-align: center;
}

.main_img {
    display: flex;
    padding-top: 30vh;
    width: 100%;
    justify-content: space-around;
    overflow-x: auto;
}

.img1 {
    height: 250px;
    object-fit: cover;
}

.img_wrap {
    overflow: hidden;
    margin: 10px 5px;
}

.img_wrap img {
    height: 200px;
    margin-right: 30px;
}

.img_top {
    float: left;
    display: block;
}

#news {
    margin-top: 5vh;
    max-height: 200px;
    text-align: center;
}

#news h3 {
    font-size: 2rem;
    margin: 5% 0 2% 0;
    color: rgb(180, 0, 60);
}

#news ol {
    font-size: 1.3rem;
    text-align: left;
}

#news ol li {
    line-height: 2rem;
}

.overdlow-auto {
    overflow: auto;
}

.research_about {
    font-size: 1.3rem;
    margin-top: 100px;
}

/* メンバー */
.member_content {
    font-size: 1.5rem;
    margin-top: 5vh;
    padding-top: 25vh;
    width: 1300px;
    max-width: 100%;
    text-align: center;
}

.table, .table_p {
    font-size: 1.3rem;
    margin: 0 auto 70px auto;
    width: 1300px;
    max-width: 70%;
    text-align: center;
    border-collapse: collapse;
}

.table th, .table td,
.table_p th, .table_p td {
    padding: 10px 20px;
    border: 1px double #2a3136;
}

.table th {
    background-color: rgb(230, 181, 208);
    color: #333;
}

.table td {
    background-color: #ffffff;
    color: #333;
}

.table_p th {
    background-color: rgb(230, 181, 214);
    color: #333;
}

.table_p td {
    background-color: #ffffff;
    color: #333;
}

.cap {
    font-size: 1.7rem;
    color: rgb(180, 0, 60);
}

.at {
    font-size: 0.4rem;
    margin-bottom: 2ch;
    display: none;
}

/* 連絡先 */
.contact_content {
    padding-top: 30vh;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact {
    margin-right: 40px;
}

#bkcaccess {
    font-size: 1.4rem;
}

#map {
    margin-bottom: 12vh;
}

#map iframe {
    border: none;
    border-radius: 8px;
}

/* レスポンシブ */
@media screen and (max-width: 600px) {
    .title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    #course_name {
        font-size: 1rem;
    }

    #lab_name {
        font-size: 1.2rem;
    }

    .main_img {
        min-width: 50px;
        display: flex;
        justify-content: start;
        overflow-x: auto;
        padding-top: 40vw;
    }

    .img1, .img2 {
        display: none;
    }

    #news h3 {
        font-size: 1.4rem;
    }

    #head_nav ul {
        font-size: 1rem;
        padding: 0;
    }

    .member_content {
        padding-top: 25vh;
        font-size: 0.9rem;
        width: 350px;
    }

    .table, .table_p {
        font-size: 0.9rem;
        border-collapse: separate;
        border-spacing: 0;
    }

    .table th, .table_p th {
        display: none;
    }

    .table tr, .table td,
    .table_p tr, .table_p td {
        display: block;
    }

    .table {
        border: solid 2px rgb(230, 181, 208);
        border-top: none;
    }

    .table td, .table_p td {
        border-top: double 1px #080004;
    }

    .media {
        background-color: rgb(230, 181, 208);
        color: rgb(180, 0, 60);
        font-weight: bold;
    }

    .bc {
        background-color: rgb(230, 181, 208);
    }

    .contact_content {
        padding-top: 20vh;
        display: block;
    }

    #map {
        margin-bottom: 7vh;
    }

    #map iframe {
        max-width: 100%;
        margin-bottom: 30px;
    }
}