@charset "utf=8";
#container {
    width: 90%;
    margin: 0 auto;
}

p {
    font-size: 1.2rem;
}
.bread-crumb {
    margin-top: 100px;
    margin-left: 50px;
}

.heading h1 {
    margin: 0 auto;
    font-weight: 400;
}

.heading::after {
    width: 500px;
    left: 50%;
    transform: translateX(-50%);
}

.heading span {
    font-size: 1.5rem;
}

/* 時間割 */
#elem-container {
    background: rgb(255, 255, 255);
    padding: 30px 0;
    width: 90%;
    margin: 50px auto;
}

.elementary p:nth-child(3),
.junior02 p:nth-child(3) {
    text-align: center;
    margin-left: 0!important;
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 1.5rem;
}
h2 {
    font-size: 1.8rem;
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    font-weight: 400;
}
h2,h3 {
    margin-left: 80px;
}

table {
    border-collapse: collapse;
    margin: 0 auto 30px;
}

th, td {
    border: solid 2px #333; /* 線の種類 太さ 色 */
    padding: 10px;
    font-weight: 400;
}

tr td:first-child,
tr th:first-child {
    text-align: center;
    background: rgb(183, 236, 236);
}

.junior-high tr th:not(:first-child) {
    background-color: rgb(237, 231, 231);
} 

tr td:not(:first-child),
.elementary th:nth-child(2) {
    background: rgb(255, 255, 255);
}

.time-schedule p {
    margin-left: 80px;
    margin-right: 80px;
}
.time-schedule p span {
    color: crimson;
}

.bold {
    color: #333!important;
    background: linear-gradient(transparent 50%, rgba(255, 255, 0, 0.414) 50%);
    }

#junior-high-container {
    background: rgb(255, 255, 255);
    padding: 30px 0;
    width: 90%;
    margin: 50px auto;
}

.junior-class {
    color: rgb(79, 45, 120);
    font-size: 1.6rem;
    margin-left: 50px;
}
.junior-high {
margin-left: 5px;
margin-right: 5px;
}
.junior-high table:nth-child(6) tr:nth-child(3) td:not(:first-child) {
    color: crimson;
}

.junior2 {
    margin-top: 80px;
}

.junior02 table tr:nth-child(2) td:nth-child(2) {
    background: rgb(255, 255, 255);

}


@media screen and (max-width: 1024px) {
    h2 {
        margin-left: 30px;
    }
    #elem-container {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .time-schedule table tr th,
    .time-schedule table tr td {
        padding: 5px;
        font-size: 13px;
    }
}
@media screen and (max-width: 760px) {
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 24px;
        margin-left: 20px;
    }
    h3 {
        margin: 30px 20px 20px 20px; 
        font-size: 20px;
    }
    .time-schedule p {
        font-size: 16px;
        margin-left: 35px;
        margin-right: 35px;
    }
    .junior-class {
        margin-left: 15px!important;
        font-size: 18px!important;
    }

    .junior-high table tr th,
    .junior-high table tr td {
            font-size: 10px;
    }
    .junior-high table tr th:first-child,
    .junior-high table tr td:first-child {
        width: 15%;
    }
}
@media screen and (max-width: 560px) {
    h1, h1 span {
        font-size: 18px!important;
    }
    h2 {
        font-size: 18px;
        margin-left: 10px;
    }
    h3 {
        font-size: 16px;
        margin-top: 0px;
        margin-left: 10px;
        margin-bottom: 20px;
        border-bottom: 2px solid;
        width: 80px;
        text-align: center;
        padding-top: 10px;
    }
    #container {
        width: 95%;
    }
    #elem-container,
    #junior-high-container {
        width: 100%;
    }
    p {
        font-size: 14px!important;
    }
    table {
        margin-left: 5px;
        margin-right: 5px;
    }
    .junior-class {
        margin: 0px 0 10px 5px!important;
        padding-top: 20px;
    }
    #junior-high-container {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .junior-high table tr th:first-child,
    .junior-high table tr td:first-child {
        width: 10%;
    }

    .junior-high table tr th,
    .junior-high table tr td {
        font-size: 12px!important;
        font-weight: 100;
    }

}