@charset "utf-8";

* {
    box-sizing: border-box;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "メイリオ", "ＭＳ Ｐゴシック", Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: black;
    display: block;
}

/* top_page */

h1 a {
    display: flex;
    align-items: center;
}

h1 img {
    height: 50px;
    margin-right: 10px;
}

h1 {
    font-weight: lighter;
    margin: 10px 0;
}

/* h1 a div{
    display: grid;
    grid-template-rows: 24px 28px ;
}  */
/* --------------------------------------- */

header h1 div {
    display: grid;
    grid-template-columns: 1fr 6fr;
    grid-template-rows: 45px 40px;
    max-width: 90%;
    margin: 0 auto;
    width: 600px;
}

footer h1 div {
    display: grid;
    grid-template-columns: 1fr 6fr;
    grid-template-rows: 30px 25px;
    margin: 0 auto;
    width: 420px;
    max-width: 90%;
}

header img,
footer img {
    grid-column: 1/2;
    grid-row: 1/3;
    width: 80px;
    height: auto;
}

header h1 p.idai {
    grid-column: 2/3;
    grid-row: 1/2;
    font-size: 36px;
}

header h1 p.labo {
    grid-column: 2/3;
    grid-row: 2/3;
    text-align: center;
    font-size: 24px;
}

footer h1 p.idai {
    grid-column: 2/3;
    grid-row: 1/2;
    font-size: 20px;
}

footer h1 p.labo {
    grid-column: 2/3;
    grid-row: 2/3;
    text-align: center;
    font-size: 18px;
}

/* ---------------------------------------- */

/* ハンバーガーメニュー↓ */
.menu {
    background-color: rgba(213, 242, 246, 0.95);
    position: fixed;
    top: -120%;
    width: 100%;
    height: 100vh;
    padding-top: 50px;
    z-index: 1;
    transition: all .3s linear;
}

.menu ul li {
    border-bottom: 1px dotted #707070;
    text-align: center;
    padding-top: 1.5vh;
    padding-bottom: 1.5vh;
}

.fa-solid.fa-bars,
.fa-solid.fa-xmark {
    position: fixed;
    top: 10px;
    right: 10px;
    display: none;
    cursor: pointer;
    z-index: 5;
}

body.open .menu {
    top: 0;
}

body.open .fa-solid.fa-bars {
    display: none;
}

body.open .fa-solid.fa-xmark {
    display: block;
}

.fa-solid.fa-bars {
    display: block;
}

.fa-solid.fa-xmark {
    z-index: 2;
}

/* ハンバーガーメニュー↑*/

.top_img {
    text-align: center;
}

.top_img img {
    width: 100%;
    vertical-align: bottom;
}

/* TOP flex box　↓ */
.top {
    background-image: url(../images/top.jpg);
    background-size: cover;
    width: 100%;
    height: 80vh;
    position: relative;
}

.top p.title {
    font-size: 40pt;
    text-align: right;
    padding: 50px 20px 0 50px;
    font-family: 'Lora', serif;
    text-shadow: 1px 2px 3px #808080;
}

.top_menu {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    bottom: -100px;
    width: 100%;
}

.top_menu_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 27px;
    width: 80vw;
    padding-bottom: 30px;
}

.top_menu_inner a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18vw;
    height: 120px;
    background: linear-gradient(rgba(255, 255, 255, .8), rgba(215, 243, 246, 1));
    font-size: 21px;
}

.top_menu_inner a:hover {
    background: linear-gradient(rgba(215, 243, 246, .8), rgba(215, 243, 246, 1));
}

/* TOP flex box ↑*/

.news p,
h2,
h3 {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: clamp(23px, 1vw, 26px);
}


h2,
h3,
.award_top_list li {
    height: 70px;
    margin-top: 10px;
    background: linear-gradient(white, #D7F3F6);
    border-bottom: 2px solid #000064;
    font-weight: lighter;
    padding-top: 20px;
    padding-left: 1em;
}

h3 {
    margin-top: 50px;
}

.news {
    padding-bottom: 10px;
    margin-top: 150px;
}

.news-list {
    height: 150px;
    width: 60vw;
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

.news dl {
    display: flex;
    width: 60vw;
    margin-top: 1.5em;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px dotted #666;
}

.news dl dd {
    margin-left: 1em;
}

.news p {
    text-align: end;
    margin-top: 10px;
    margin-bottom: 10px;
}

footer {
    /* background-color: #000064; */
    background-image: url(../images/AdobeStock_320810492.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: white;
    font-size: small;
    /* gap: 5vw; */
    padding-top: 20px;
    padding-bottom: 10px;
    /* margin-top: 50px; */
}

footer div dl {
    display: grid;
    grid-template-columns: 8em 21em;
}

footer div dl dt {
    grid-column-start: 1;
}

footer div dl dd {
    grid-column-start: 2;
}
.logo_area{
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 50px;
    padding-bottom: 20px;
}

/* sub_page */
.sub_page h2 {
    background-image: url(../images/AdobeStock_320810492.jpeg);
    background-size: cover;
    width: 100%;
    height: 100px;
    margin: 0;
    padding-top: 30px;
}

/* table各種ここから↓ */
.sub_page .sub_table {
    width: 50vw;
    margin: 30px auto;
    border-collapse: collapse;
    text-align: center;
    table-layout: fixed;
}

.sub_page .sub_table th {
    background-color: #D7F3F6;
    height: 3em;
    border-bottom: 2px solid #707070;
    border-right: 1px solid #707070;
}

.sub_page .sub_table th:last-child {
    border-right: none;
    width: 23%;
}

.sub_page .sub_table td {
    height: 3em;
    border-bottom: 1px solid #707070;
    border-right: 1px solid #707070;
    text-align: start;
    padding-left: 20px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.sub_page .sub_table td:last-child {
    border-right: none;
    text-align: end;
    width: 23%;
    padding-right: 20px;
}

.sub_page .license {
    width: 60vw;
}

.sub_page .license th:last-child {
    width: 8%;
}

.sub_page .license td {
    text-align: start;
}

.sub_page .license td:last-child {
    width: 8%;
}

.sub_page .educ_table1 {
    /* margin: 20px; */
    width: 2115px;
    table-layout: fixed;
    border-collapse: collapse;
}

.sub_page .educ_table1 td,
.sub_page .educ_table1 th {
    border: 1px solid #707070;
}

.sub_page .educ_table1 th {
    background-color: #d2d5d7;
    font-weight: bolder;
    text-align: center;
    padding: 1em;
}

.sub_page .educ_table1 .educ_row {
    width: 50px;
}

.sub_page .educ_table1 td {
    /* width: 205px; */
    text-align: start;
    vertical-align: top;
}

.sub_page .educ_table1 td:first-child {
    text-align: center;
    vertical-align: middle;
}

.sub_page .educ_table_top {
    text-align: center;
    margin: 20px 0;
    font-size: larger;
    font-weight: bolder;
}

.sub_page .educ_wrap {
    width: 90vw;
    margin: 50px auto;
    overflow-x: scroll;
}

.sub_page .educ_table2 {
    border-collapse: collapse;
    /* margin: 20px; */
    width: 1225px;
    /* table-layout: fixed; */
}

.sub_page .educ_table2 th,
.sub_page .educ_table2 td {
    border: 1px solid #bfbfbf;
    padding: 0.5em 0.25em;
    border-bottom: 2px solid #000;
}

.sub_page .educ_table2 th {
    font-weight: lighter;
    text-align: left;
}

.sub_page .educ_table2 .active_cell {
    background-color: orangered;
    border-right: none;
    border-left: none;
}

/* table各種ここまで↑*/

.sub_page .about li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.sub_page .about {
    width: 75vw;
    margin: 20px auto;
}

.sub_page .about p {
    margin-bottom: 20px;
}

.sub_page .jyunbi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dotted black;
    border-radius: 10px;
    height: 40vh;
    width: 40vw;
    margin: 10vh auto;
}

.sub_page h4 {
    width: 80vw;
    margin: 20px auto;
    border-bottom: 2px solid #000064;
}

.award_top_list li {
    width: 80vw;
    margin: 30px auto;
    border: 2px solid #707070;
}

.sub_page ul.award,
p.underline {
    width: 70vw;
    margin: 20px auto;
}

p.underline {
    text-decoration: underline;
}

.sub_page .award li {
    list-style-type: decimal;
}

.award_menu {
    width: 70vw;
    margin: 10vh auto;
}

.award_menu li {
    border-bottom: 1px solid #000064;
    margin-bottom: 10px;
}

p.signature {
    text-align: end;
}

.sub_page .about dt {
    display: list-item;
    list-style-type: disc;
}

.sub_page .about .indent {
    padding-left: 1.5em;
}


.sub_page .contents_box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.sub_page .contents_box p {
    /* width:20vw; */
    padding: 20px 40px;
    border: 1px solid #000064;
    border-radius: 5px;
    color: #fff;
    background-color: #024d8b;
    font-size: larger;
    font-weight: bolder;
    text-align: center;
}

.sub_page dl.contents dt {
    display: list-item;
    list-style-type: disc;
    margin-top: 3vh;
}

.sub_page dl.contents dt::marker {
    color: #024d8b;
}

.sub_page dl.contents dd {
    margin-left: 1em;
}

.sub_page .container {
    width: 75vw;
    margin: 3vh auto;
    display: flex;
    justify-content: space-between;
}

.sub_page .container img {
    margin-top: 3vh;
}


.img_box {
    text-align: center;
}

.img_box img {
    width: 55vw;
}

.img_box_iso {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.img_box_iso img {
    width: 50vw;
}

.img_box_iso img:last-child {
    width: 20vw;
}


@media(max-width:1023px) {
    .top_menu_inner {
        width: 90%;
    }

    .top_menu_inner a {
        width: 20%;
        height: 80px;
        font-size: 12pt
    }

    .sub_page .container {
        display: block;
    }

    .sub_page .container p {
        text-align: center;
    }
}


@media(max-width:768px) {
    .top {
        height: 100vh;
    }

    .top p.title {
        font-size: 30pt;
        padding: 10px 0 0 0;
        text-align: center;
    }

    .top_menu_inner {
        gap: 10px;
    }

    .top_menu {
        bottom: 0px;
    }

    .top_menu_inner a {
        font-size: 14pt;
    }

    .news {
        margin-top: 50px;
    }

    h1 a div {
        display: grid;
        grid-template-rows: 14px 5px 22px;
    }

    /* h1 .idai{
        font-size: 14px;
        grid-row-start: 1;
    } */

    /* h1 .labo{
        font-size: 22px;
        grid-row-start: 3;
    } */
    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 15px;
    }

    .menu {
        height: 100%;
    }

    .menu ul li {
        height: 10vh;
        padding-top: 3vh;
        padding-bottom: 3vh;
    }

    .sub_page h2 {
        font-size: 25px;
    }

    .top_menu_inner {
        margin-top: 30px;
    }

    .top_menu a {
        width: 80vw;
        height: 40px;
        margin-top: 0;
    }

    h2,
    h3,
    .news dl {
        width: 100%;
    }

    .news dl {
        padding-left: 1em;
    }

    /* footer{
        display: block;
    } */

    footer div dl {
        display: block;
        width: 80vw;
        margin: 0 auto;
        color: black;
        background-color: #D7F3F6;
    }

    footer div dl dt,
    dd {
        padding: 0.5em;
    }

    footer div dl dd {
        background-color: white;
    }

    .sub_page h3 {
        height: 100%;
    }

    .sub_page .sub_table {
        width: 90vw;
        font-size: smaller;
    }

    .sub_page .sub_table td:last-child {
        padding: 0.5em;
    }

    .sub_page .license {
        width: 95vw;
    }

    .sub_page .license td {
        padding: 0.5em;
    }

    .sub_page .license th:last-child,
    .sub_page .license td:last-child {
        width: 10%;
    }

    .sub_page .jyunbi {
        height: 20vh;
        width: 80vw;
    }

    .sub_page dl.contents {
        width: 85vw;
    }

    .sub_page .contents_box {
        flex-direction: column;
        gap: 20px;
    }

    .sub_page .contents_box p {
        width: 70vw;
    }

    .sub_page .educ_table_top {
        font-size: medium;
        font-weight: normal;
    }

    .sub_page .about {
        width: 85vw;
    }

    .img_box img {
        width: 85vw;
    }

    /* .img_box_iso img{
        width:70vw;
    }
    
    .img_box_iso img:last-child{
        width:22vw;
    }  */
}

@media screen and (max-width:599px) {
    header h1 p.idai {
        font-size: clamp(18px, 2.6vw, 36px);
    }
    footer h1 p.idai {
        font-size: clamp(17px, 2.6vw, 36px);
    }
    header h1 p.labo {
        font-size: 16px;
    }

    header h1 div {
        grid-template-rows: 30px 36px;
    }

    .news dl {
        display: block;
    }

    .news-list {
        width: 90vw;
    }

    .menu {
        padding-top: 20px;
    }
    footer div.foot1{
        max-width: 100%;
    }
}

    @media print {
        .menu {
            display: none;
        }
    }

@media screen and (max-width:379px) {
    header img {
        width: 60px;
    }

    span.new_line {
        display: block;
    }

    
}
@media screen and (max-width:320px) {
    footer img {
        width: 50px;
        height: auto;
        margin-right: 0;
    }
    footer h1 p.idai {
        font-size: clamp(14px, 2.6vw, 36px);
    }
    footer h1 p.labo {
        font-size: 16px;
    }
}