.subpage-section-1 {
    background-color: #fff;
    background-image: url(../img/bg_1.png);
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: right;
}

.about-sec1-list {
    margin-top: 20px;
    margin-bottom: 20px;
    list-style: disc;
    background: #405703;
    color: #fff;
    padding: 15px 45px;
    padding-right: 25px;
    width: fit-content;
    border-radius: 5px;
    font-size: 1.1rem;
    line-height: 1.8rem;
}

.about-sec1-list li {
    line-height: 1.2rem;
    margin: 0.5rem 0;
}

.about-strong {
    color: #405703;
    font-weight: 600;
    font-size: 1.2rem;
}

.subpage-section-2 {
    background-color: #239583;
}

.institution-img {
    width: 400px;
    margin-bottom: 40px;
}

.institution-box-wrapper {
    display: flex;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 75px;
    justify-content: center;
}

.institution-box {
    width: 50%;
    text-align: center;
}

.institution-title-1 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #fff;
}

.institution-title-2 {
    font-size: 1.2rem;
    font-weight: 100;
    color: #fff;
}

.institution-content {
    padding: 10px;
}

.institution-contact-title,
.institution-service-title {
    font-weight: 600;
    color: #239583;
    background: #fff;
    width: fit-content;
    margin: auto;
    padding: 1px 15px;
    border-radius: 100px;
    font-size: 0.9em;
    margin-bottom: 0.3rem;
}

.institution-contact-details,
.institution-service-details {
    color: #fff;
}

.google-map {
    text-decoration: underline;
}

.overview-box {
    display: flex;
    gap: 5%;
    align-items: flex-start;
}

.overview-bg {
    width: 35%;
}

.overview-table {
    width: 60%;
}

.overview-table>table {
    width: 100%;
}

.overview-table tr {
    border-bottom: solid 1px #ccc;
}

.overview-table th {
    padding: 10px 20px;
    width: 250px;
    color: #365125;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: solid 1px;
    vertical-align: middle;
}

.overview-table td {
    padding: 10px 30px;
    width: calc(100% - 250px);
}

.overview-service-list {
    list-style: decimal;
    padding-left: 1em;
}

.history-box {
    display: flex;
    gap: 5%;
    align-items: flex-start;
}

.history-table {
    width: 60%;
}

.history-bg {
    width: 35%;
}

.history-table th {
    padding: 10px 20px;
    width: 250px;
    color: #365125;
    font-weight: 600;
    border-bottom: solid 1px;
    vertical-align: middle;
}

.history-table td {
    padding: 10px 30px;
    width: calc(100% - 250px);
}

.history-table tr {
    border-bottom: solid 1px #ccc;
}

.history-box {
    display: flex;
}

.subpage-section-3 .subpage-section-box {
    padding-bottom: 60px;
}

.subpage-section-4 .subpage-section-box {
    padding-top: 60px;
}

.subpage-section-5 {
    background-color: #235125;
}

.message-section {
    margin-bottom: 2rem;
}

.message-title {
    color: #e3e985;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    border-bottom: solid 1px;
    padding-bottom: 1rem;
}

.message-blockquote {
    background: #ffffff;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #164b18;
    margin: 1rem 0;
    width: fit-content;
    border-left: solid 8px #f1eb2c;
    line-height: 2rem;
    position: relative;
    padding-left: 65px;
}

.message-blockquote::before {
    content: "“";
    position: absolute;
    top: 2rem;
    left: 1rem;
    font-weight: 600;
    font-size: 5rem;
    color: #235125;
}

.message-blockquote p {}

.subpage-content-text-right {
    color: #fff;
    text-align: right;
    font-size: 1.2rem;
}

.chairman-container {
    display: flex;
    gap: 50px;
}

.chairman-img {
    width: 20%;
}

@media screen and (max-width: 1800px) {
    .chairman-container {
        align-items: center;
    }

    .google-map-box {
        display: block;
    }
}

@media screen and (max-width: 1280px) {
    .institution-img {
        width: 350px;
    }

    .overview-box {
        flex-direction: column;
        align-items: center;
    }

    .overview-table {
        width: 100%;
    }

    .overview-bg {
        width: 250px;
        margin-top: -260px;
        margin-left: auto;
    }

    .history-box {
        flex-direction: column-reverse;
    }

    .history-bg {
        width: 250px;
        margin-left: auto;
        margin-top: -260px;
    }

    .history-table {
        width: 100%;
    }

    .history-table table {
        width: 100%;
    }

    .chairman-container {
        flex-direction: column;
        gap: 0;
    }

    .chairman-img {
        width: 300px;
        margin-right: auto;
    }

    @media screen and (max-width: 1024px) {
        .subpage-section-1 {
            background-size: 300px;
            background-position: top -50px right;
        }

        .institution-box-wrapper {
            flex-direction: column;
            gap: 80px;
        }

        .institution-box {
            width: 100%;
        }

        .institution-img {
            margin-bottom: 30px;
        }

        .overview-table th {
            width: 200px;
        }

        .overview-table td {
            width: calc(100% - 200px);
        }

        .history-table th {
            width: 220px;
        }

        .history-table td {
            width: calc(100% - 220px);
        }
    }
}

@media screen and (max-width: 768px) {

    .overview-table tr,
    .history-table tr {
        border-bottom: 0;
        display: block;
    }

    .overview-table th,
    .overview-table td,
    .history-table th,
    .history-table td {
        width: 100%;
        display: block;
        word-break: break-all;
    }
}

@media screen and (max-width: 680px) {
    .overview-bg {
        width: 100px;
        margin-top: -160px;
        margin-left: auto;
        margin-right: -40px;
    }

    .history-bg {
        width: 110px;
        margin-top: -170px;
        margin-left: auto;
        margin-right: -40px;
    }

    .message-blockquote {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 50px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 500px) {
    #main.subpage h1 {
        font-size: 2.5rem;
    }

    .history-table td,
    .overview-table td {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 425px) {
    #main.subpage h1 {
        font-size: 2.2rem;
    }

    .overview-bg,
    .history-bg {
        margin-right: -20px;
    }
}

@media screen and (max-width: 375px) {

    .overview-bg,
    .history-bg {
        display: none;
    }
}