@charset "utf-8";

section {
    margin: 0 0 50px;
}

.bg_01 {
    background-color: #fff9e1;
    padding: 20px 0;
    width: 80%;
    border-radius: 20px;
    margin: 20px auto;
    text-align: center;
}

p .start {
    font-size: 18px;
    color: #ffffff;
    border-bottom: solid 1px;
    display: inline-block;
    padding: 9px 1em;
    line-height: 1;
    background-color: #38a3de;
}

.w_school span {
    background-color: #fed32c;
    font-size: 18px;
    padding: 3px 20px;
    margin: 4px 10px;
    border-radius: 10px;
}

.box_01 {
    position: relative;
    padding: 0 0 30px 0;
}

.box_01::after {
    content: "+";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-size: 30px;
}

p.box_02 {

    line-height: 2em;
}

.w_school .text {
    border-top: dotted 2px;
    width: 80%;
    margin: 0 auto;
    padding: 1em 0 0;
}

.anshin_list {
    padding: 2em 1em 2em 2em;
    margin: 0 0 1em;
    background-color: #e5f7ff;
}

.anshin_list li {
    font-size: 1em;
    font-weight: bold;
    list-style-type: disc;
    color: #0069A3
}

.chance {
    font-size: 80%;
    background-color: #ff5656;
    color: #fff;
    border-radius: 50%;
    padding: 5px;
}

.zenkoku .img_area {
    width: 40%;
    margin: 0;
}

.flex_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 2em;
}

.text_area {
    width: 55%;
}

.flex_area:nth-child(even) {
    flex-direction: row-reverse;
}

.hoikuen_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.hoikuen_list li {
    width: calc(100% / 4 - 2%);
    margin: 0 1% 1em;
}

.hoikuen_list li img {
    width: 100%;
}

.hoikuen_list p {
    font-size: 14px;
    text-align: center;
}

@media (max-width: 599px) {


    .flex_area {
        flex-direction: column;
        padding: 1em;
    }

    .text_area {
        width: 100%;
    }

    .zenkoku .img_area {
        width: 100%;
    }

    .hoikuen_list li {
        width: calc(100% / 3 - 2%);
    }
}

@media (max-width: 499px) {
.w_school span {
        display: block;
    }
    .hoikuen_list li {
        width: calc(100% / 2 - 2%);
    }
}