@charset "utf-8";

#loading,
#loading:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

#loading {
    display: none;
    margin: 20px 0 20px 50px;
    margin-left: auto;
    margin-right: auto;
    font-size: 5px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(0, 0, 0, 0.2);
    border-right: 1.1em solid rgba(0, 0, 0, 0.2);
    border-bottom: 1.1em solid rgba(0, 0, 0, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#loading.disp,
.result-title.disp,
.result-end.disp {
    display: block;
}



#info ul {
    background-color: #aaa;
    color: #fff;
    font-weight: bold;
    line-height: 1.5;
    padding: 5px 10px;
}

#info li {
    margin: 5px 0;
}

#list {
    display: none;
}

.result-title {
    display: none;
    margin: 20px 0;
    padding: 10px;
    border: 2px solid #195CB9;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
}

.result-end {
    display: none;
    padding-bottom: 20px;
    background-image: url(../img/bg_oblique_line.png);
    background-position: bottom;
    background-repeat: repeat-x;
}

#result {
    padding: 20px 0 0 0;
}

#result li {
    list-style: none;
    margin: 0 0 5px 25px;
}

#result li h3 {
    display: block;
    position: relative;
    margin: 0;
    /*padding-left: 20px;*/
}

#result li h3 span {
    background: yellow;
}

/*
#list li h3::after {
  position: absolute;
  left: 5px;
  top: 50%;
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-top: 2px solid #7a0;
  border-right: 2px solid #7a0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-top: -2px;
  transition: .3s;
}
#list li h3.open::after {
  transform: rotate(135deg);
}
*/
#result li>div {
    display: none;
}

#result li>div>table {
    width: 100%;
    border-collapse: collapse;
}

#result li>div>table th,
#result li>div>table td {
    border: 1px solid #ccc;
    padding: 3px 10px;
}

#result li>div>table th {
    width: 20%;
    background: #ddd;
    text-align: left;
}

#filterForm {
    width: 100%;
    background: #195CB9;
    padding: 20px 20px 0 20px;
    margin-top: 30px;
    border-radius: 10px;
    display: inline-block;
}

.filterbox {
    width: 100%;
    background: #fff;
    padding: 20px;
    display: inline-block;
}

#filterForm table {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

table.filter th,
table.filter td {
    padding: 10px 20px;
}

table.filter th {
    width: 15%;
    text-align: right;
}

table.filter td {
    width: 85%;
}

table.filter td input[type="text"] {
    border: 1px solid #ccc;
    padding: 3px;
    width: 100%;
}

table.filter td ul {
    text-align: center;
    position: relative;
    font-size: .9rem;
    margin-bottom: 8px;
}

table.filter td ul li.reset {
    position: absolute;
    right: 0;
    top: 0;
}

table.filter td label {
    display: inline-block;
}

table.filter td label:not(:last-child) {
    margin-right: 10px;
}

select::-ms-expand {
    display: none;
}

table.filter td select {
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    height: 32px;
}

#searchBtn,
#resetBtn {
    border-radius: 40px;
    transition: background .5s;
}

#searchBtn {
    width: 300px;
    padding: 10px 20px;
    background: #FEF030;
    font-size: 1rem;
    font-weight: bold;
}

#resetBtn {
    padding: 10px 20px;
    background: #ededed;
    font-size: 1rem;
}

#searchBtn:hover {
    background: #F2CA30;
}

#resetBtn:hover {
    background: #ccc;
}

.search {
    text-align: center;
}

.reset {
    text-align: right;
}

@media (max-width: 1120px) {
    #filterForm table {
        width: 100%;
    }
}

/* 768px */
@media (max-width: 896px) {
    .target-school-box .more-links-subtitle {
        margin-top: 30px;
    }

    #filterForm {
        background: none;
        padding: 0;
    }

    .filterbox {
        padding: 30px 20px 10px 20px;
        border: 1px solid #ccc;
        border-radius: 10px;
    }

    table.filter,
    table.filter th,
    table.filter td {
        width: 100%;
    }

    table.filter th,
    table.filter td {
        display: block;
        padding: 2px 10px;
    }

    table.filter th {
        text-align: left;
        color: #fff;
        background: #444;
        border-radius: 5px;
    }

    table.filter td {
        padding: 10px 0 20px 0;
    }

    table.filter .empty {
        display: none;
    }

    table.filter td input[type="text"] {
        width: 100%;
    }

    #list li {
        margin-left: 0;
    }

    table.filter td ul li.reset {
        position: static;
        text-align: center;
    }

    table.filter td ul {
        display: flex;
        justify-content: space-between;
    }

    table.filter td ul li {
        flex-basis: calc(100% / 2 - 10px);
    }

    #searchBtn,
    #resetBtn {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-radius: 5px;
        margin-top: 0;
    }
}