@charset "UTF-8";

img { max-width: 100%; }

#experiment {
    max-width: 1000px;
    margin: 0 auto;
    ul { margin: 0 0 0 30px!important; }
    li { list-style: disc!important; }
    strong { font-weight: bold; }
    .experiment_h1,
    .experiment_h2,
    .experiment_h3,
    .experiment_h4,
    .experiment_h5 { font-weight: bold; }
    .experiment_h1,
    .experiment_h2 {
        display: block;
    }
    .experiment_h3 { margin-top: 5%; }
    .experiment_h4 { margin: 3% 0 1%; }
    .experiment_h5 { margin-top: 3%; }
    .experiment_dt,experiment_dd { font-weight: bold; }
    .experiment_dt { padding-left: 1%; }
    .experiment_dd { margin-bottom: 2.5%; }
    dt { margin-top: 1%; }
    dd { margin: 1% 0 2%;}
    .experiment_table_wrap {
        display: flex;
        justify-content: space-between;
        margin-top: 3%;
    }
    & .experiment_table01 {
        text-align: center;
        color: white;
        border: 2px solid black;
        border-collapse: collapse;
        width: 35%;
        & td {
            font-size: 18px;
            padding: 5px 10px;
            border-bottom: 1px solid black;            
        }
        & tr:nth-of-type(1) td { background: #4273c4; }
        & tr:nth-of-type(2) td { background: #00b251; }
        & tr:nth-of-type(3) td { background: #f9c300; color: black; }
        & tr:nth-of-type(4) td { background: #ff0303; }
    }
    .experiment_table02 {
        position: relative;
        border-collapse: collapse;
        width: 63%;
        th,td {
            font-size: 14px;
            padding: 10px;
            border: 1px solid;
            text-align: center;
            }
        ::before {
            content: "例";
            position: absolute;
            top: -33px;
            left: 0;
            display: block;
            font-weight: normal;
            font-size: 20px;
        }
    }
    .experiment_table_wrap:nth-of-type(2) {
        margin-bottom: 2%;
        align-items: flex-start;
    }
    .experiment_table03 {
        text-align: center;
        border: 2px solid black;
        border-collapse: collapse;
        width: 50%;
        th,td {
            font-size: 14px;
            padding: 5px 10px;
            border: 1px solid black;
            text-align: center;
        }
        th { color: white; }
        th:nth-of-type(1) { width: 50%; }
        tr:nth-of-type(1) th { color: black; font-weight: normal; }
        tr:nth-of-type(2) th { background: #4273c4; }
        tr:nth-of-type(3) th { background: #00b251; }
        tr:nth-of-type(4) th { background: #f9c300; color: black; }
        tr:nth-of-type(5) th { background: #ff0303; }
    }
    .experiment_table03 + p { margin-left: 1%; }
    
    .experiment_table_wrap:nth-of-type(3) {
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 3%;
        }
    .experiment_table04 {
        width: 40%;
        th,td {
            font-size: 14px;
            padding: 5px 10px;
            border: 1px solid black;
        }
        img {
            vertical-align: sub;
            margin-right: 3%;
        }
    }
    .experiment_table04 + p { margin-left: 1%; }
    .circle_graph {
        text-align: center;
        p {
            width: 700px;
            margin: 5% auto;
            }
    }
    .prof_part {
        display: flex;
        justify-content:space-between;
    }
    .prof_img { width: 235px; }
    .prof_text { width: 740px; }
}

@media screen and (max-width: 767px) {
    #experiment {
        padding: 0 2%;
        & strong { font-weight: bold; }
        & ul { margin: 0 0 0 5%!important; }
        .experiment_h1,
        .experiment_h2,
        .experiment_h3,
        .experiment_h4,
        .experiment_h5 { font-weight: bold!important; }
        .experiment_h1,
        .experiment_h2 {
            font-size: 16px;
            line-height: 22px;
        }
        .experiment_h3 { margin-top: 5%; }
        .experiment_h4 { margin: 5% 0 1%; }
        .experiment_h5 { margin-top: 3%; }

        .experiment_h2 + p { margin: 5% 0; }
        .experiment_dt,experiment_dd { font-weight: bold; }
        .experiment_dt {
            margin-top: 6%;
            padding-left: 1%;
        }
        .experiment_dd { margin-bottom: 4.5%; }
        .experiment_table_wrap {
            display: flex;
            justify-content: space-between;
            margin-top: 8%;
        }
        .experiment_table_wrap:nth-of-type(2),
        .experiment_table_wrap:nth-of-type(3) { display: inherit; }
        .experiment_table03,
        .experiment_table04 { width: 100%; }
        .experiment_table03 + p,
        .experiment_table04 + p{
            margin-left: 0;
            margin-top: 3%;
        }
        
        & .experiment_table01 {
            text-align: center;
            color: white;
            border: 2px solid black;
            border-collapse: collapse;
            width: 31%;
            & td {
                font-size: 2.4vw;
                padding: 1%;
                border-bottom: 1px solid black;            
            }
            & tr:nth-of-type(1) td { background: #4273c4; }
            & tr:nth-of-type(2) td { background: #00b251; }
            & tr:nth-of-type(3) td { background: #f9c300; color: black; }
            & tr:nth-of-type(4) td { background: #ff0303; }
        }
        
        & .experiment_table02 {
            position: relative;
            border-collapse: collapse;
            width: 68%;
            & th,td {
                font-size: 2.7vw;
                padding: 1%;
                border: 1px solid;
                text-align: center;
                }
            & tr:nth-of-type(1) th:nth-of-type(1) { width: 20%; }
            & tr:nth-of-type(1) th:nth-of-type(2) { width: 20%; }
            & tr:nth-of-type(1) th:nth-of-type(3) { width: 10%; }
            & tr:nth-of-type(1) th:nth-of-type(4) { width: 20%; }
            & tr:nth-of-type(1) th:nth-of-type(5) { width: 25%; }
            & ::before {
                content: "例";
                position: absolute;
                top: -7vw;
                left: 3vw;
                display: block;
                font-weight: normal;
                font-size: 4vw;
            }
        }
        & .experiment_table_wrap:nth-of-type(2) {
            margin-bottom: 2%;
            align-items: flex-start;
        }
        & .experiment_table03 {
            text-align: center;
            border: 2px solid black;
            border-collapse: collapse;
            width: 100%;
            & th,td {
                font-size: 14px;
                padding: 5px 10px;
                border: 1px solid black;
                text-align: center;
            }
            & th { color: white; }
            & th:nth-of-type(1) { width: 50%; }
            & tr:nth-of-type(1) th { color: black; font-weight: normal; }
            & tr:nth-of-type(2) th { background: #4273c4; }
            & tr:nth-of-type(3) th { background: #00b251; }
            & tr:nth-of-type(4) th { background: #f9c300; color: black; }
            & tr:nth-of-type(5) th { background: #ff0303; }
        }
        
        .circle_graph p { width: 100%; }
        .prof_part { display: inherit; }
        .prof_img {
            width: 80%;
            margin-left: auto;
            margin-right: auto;
        }
        .prof_text { width: 100%; }
    }
}