@charset "utf-8";

/*seracharea override*/
#searchopen {
    background-color: #fff100;
}

#searchopen::before {
    border-bottom: solid 2px #1f2a66;
    border-right: solid 2px #1f2a66;
}

.search-container .wrap {
    background: #edf1f3;
}

.search-container .search-body {
    margin: 0 auto 0;
    padding: 30px
}

.search-right,
.search-left {
    width: 50%;
}

.search-right {
    margin-top: 10px;
    width: 46%;
    padding-bottom: 250px;
}

.search-container .search-other-block .area-map #area05 {
    background: #edf1f3;
}

.search-left {
    position: absolute;
    top: 50%;
    left: 0;
    padding-bottom: 0;
    width: 46%;
}

.search-container .search-other-block .area-map .area-btn {
    background: #deedf6;
}

.search-container .search-name-block {
    margin: 0 auto 30px;
    width: 100%;
}

.search-container .search-other-block .area-map .area01 label span {
    right: 30px;
}

.search-container .search-other-block .search-kind-list li {
    width: 30%;
}

.search-container .search-other-block .search-kind-list li label {
    padding: 1em 0 1.2em;
    width: 100%;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    background: #b2b2b2;
    font-weight: 600;
    border-radius: 5px;
}

.search-container .search-other-block .search-feature-box .search-feature-list li label::before {
    width: 17px;
    height: 17px;
}

.search-container .search-other-block {
    margin: 0 auto 0;
    max-width: 830px;
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.search-feature-box {
    width: 44%;
    position: absolute;
    right: 0;
    top: 0;
}

.search-feature-box h4,
.search-container .search-other-block .search-feature-box .search-feature-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.search-container .search-other-block .search-feature-box .search-feature-list li {
    width: 100%;
    margin-bottom: 1em;
}

.search-container .search-other-block .search-feature-box .search-feature-list li label {
    font-size: 16px;
    letter-spacing: -0.02em;
    color: #1f2a66;
    font-weight: 500;
    min-height: 24px;
    padding-top: 6px;
    padding-left: 26px;
}

.search-container .search-body h3::before,
.search-container .search-body h4::before {
    background: url(/shingaku/start/common/images/search_icon_start.svg) center center no-repeat;
    background-size: contain;
}

.search-container .search-other-block .search-kind-list li input[type="checkbox"]:checked+label {
    background: #0173bc;
}

.search-container .search-other-block .area-map input[type="checkbox"]:checked+label {
    background: #0173bc;
}

.search-container .search-other-block .area-map .all-checked .area-btn span {
    background: #0173bc;
}

.search-container .search-other-block .area-map .area-box .btns .ok-btn {
    background: #0173bc;
}

.search-container .search-other-block .area-map .area-box {
    border: 3px solid #0173bc;
}

.search-container .search-other-block .area-clear-btn,
.search-container .search-other-block .lect-detail-btn {
    color: #0173bc;
    border: 2px solid #0173bc;
}

.search-container .search-total-block {
    margin: 30px auto 0;
    width: 100%;
}

.search-container .search-total-block .btns {
    margin-top: 50px;
    margin: 0 auto;
    width: 50%;
}

.search-container .search-total-block .btns #search_clear_btn {
    background: #b2b2b2;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
}

.search-container .search-total-block .btns #search_btn {
    /*background: #1f2a66;*/
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    background: #0173bc;
}

.search-container .search-other-block .search-feature-box .search-feature-list li input:checked+label::after {
    width: 6px;
    height: 12px;
    display: block;
    border-right: solid 3px #fff;
    border-bottom: solid 3px #fff;
    left: 7px;
    top: 3px;
}

.search-container .search-other-block .search-feature-box .search-feature-list li input:checked+label::before {
    border: solid 2px #0173bc;
    background: #0173bc;
}

section.list {
    max-width: 1040px;
    width: 100%;
    margin: 50px auto 20px;
    display: block;
    padding: 0px 20px;
}

section.list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

section.list ul li {
    width: calc(92% / 4);
    margin: 0 1%;
    margin-bottom: 5%;
    position: relative;
    padding-bottom: 96px;
}

section.list ul li>a {}

section.list ul li>a figure {
    background: #ccc;
    margin: 0;
    border: solid 1px #ccc;
}

section.list ul li>a figure img {
    height: 161.5px;
    display: block;
    margin: auto;
    max-width: 100%;
    object-fit: contain;
}

section.list ul li p.name {
    margin-top: 5px;
    position: relative;
    padding-left: 25px;
    font-size: 13px;
}

section.list ul li p.note {
    margin-top: 0;
    position: relative;
    padding-left: 25px;
    font-size: 11px;
}

section.list ul li p.prefectures {
    font-size: 13px;
    margin-bottom: 11px;
    padding-left: 17px;
}

section.list ul li p.name::before {
    width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 1;
    display: inline-block;
    color: #fff;
    border-radius: 2px;
    box-sizing: border-box;
    vertical-align: 2px;
    margin-right: 5px;
    padding: 3px 3px 0px;
    position: absolute;
    left: 0;
    top: 1px;
}

section.list ul li.kbn1 p.name::before {
    content: '国';
    background-color: #368927;
}

section.list ul li.kbn2 p.name::before {
    content: '公';
    background-color: #368927;
}

section.list ul li.kbn3 p.name::before {
    content: '私';
    background-color: #050869;
}

section.list ul li p.prefectures::before {
    /* content: '（'; */
}

section.list ul li p.prefectures::after {
    /* content: '）'; */
}

section.list ul li p.survey_note {
    font-size: 10px;
    text-indent: -1em;
    padding-left: 1em;
    margin-bottom: 0.5em;

}

section.list ul li nav {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 108px;
}

section.list ul li nav a {
    display: block;
    width: 48%;
    background: #fff100;
    text-decoration: none;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
    color: #1F2A66;
    font-weight: 700;
    border-radius: 5px;
    font-size: 16px;
}

section.list ul li nav a.ynurl,
section.list ul li nav a.surveyurl {
    background: #bfdcee;
}

body.grade3 section.list ul li nav a.ynurl,
body.grade3 section.list ul li nav a.surveyurl {
    background: #f9d4e6;
}

section.list ul li nav a.surveyurl {
    width: 100%;
}



aside {
    width: 100%;
    background: rgb(255 254 229 / 60%);
    position: sticky;
    bottom: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
}

/*mordals*/
#mordal_overray {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
}

#mordal_info {
    display: none;
    /*background: #ffffff30;*/
    max-width: 900px;
    width: 90vw;
    height: 660px;
    position: fixed;
    top: calc(50% - 330px);
    left: calc(50% - 450px);
    padding-top: 0;
    z-index: 100001;
}

#mordal_info.typeA {
    width: 550px;
    left: calc(50% - 250px);
}

#mordal_info figure {
    margin: 0;
    width: 100%;
    height: 600px;
    max-width: 900px;
    position: relative;
}

#mordal_info figure.typeA {
    width: 550px;
    height: 600px;
    margin: auto;
}

#mordal_info figure img {
    max-width: 100%;
    width: auto;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

#mordal_info.typeD {
    height: calc(100vh - 200px);
    top: 100px;
    width: 600px;
    left: calc(50% - 300px);
}

#mordal_info.typeD button#closemodal_A {
    top: 0;
    right: 0;
}

#mordal_info.typeD figure.typeD {
    margin: 0;
    width: 100%;
    height: calc(100% - 50px);
    max-width: 500px;
    margin: auto;
    position: relative;
    overflow: auto;
}

#mordal_info.typeD figure.typeD img {
    width: 100%;
    object-fit: unset;
    height: auto;
}

#mordal_info nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

#mordal_info nav a {
    display: block;
    width: 170px;
    background: #fff100;
    text-decoration: none;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
    color: #1F2A66;
    font-weight: 700;
    border-radius: 5px;
    font-size: 14px;
    margin: 0 5px;
}

#mordal_info nav a.surveyurl,
#mordal_info nav a.ynurl {
    background: #bfdcee;
}

body.grade3 #mordal_info nav a.surveyurl,
body.grade3 #mordal_info nav a.ynurl {
    background: #f9d4e6;
}

#mordal_info nav a.ynurl.nolink,
#mordal_info nav a.surveyurl.nolink {
    display: none;
}

#mordal_info a.schoolinfo {
    background: #4CBCED;
}

#mordal_info button#closemodal_A {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: url(/shingaku/start/common/images/closebtn.svg) no-repeat;
    background-size: contain;
}

#mordal_info.typeA button#closemodal_A {
    right: 0;
}

#mordal_info.typeB button#closemodal_A {
    right: -40px;
}

#mordal_info button#closemodal_B {
    position: absolute;
    bottom: -50px;
    left: calc(50% - 50px);
    width: 100px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    color: #fff;
    padding-left: 2.2em;
}

#mordal_info button#closemodal_B::before {
    content: '';
    width: 1.8em;
    height: 1.8em;
    display: block;
    background: url(/shingaku/start/common/images/closebtn.svg) no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.9em);
    left: 0;
}

section.seracharea small {
    display: block;
    text-align: center;
    margin-top: -20px;
    font-size: 13px;
}



@media screen and (min-width: 1000px) {
    #mordal_info {
        top: calc(50% - 330px);
        left: calc(50% - 450px);
    }

    #mordal_info.single {
        width: 100%;
        left: calc(50% - 315px);
    }
}

@media screen and (min-width:640px) {
    section.list ul li a:hover {
        opacity: 0.5;
    }
}

@media screen and (max-width:1000px) {

    /*seracharea override*/
    .search-container .search-body {
        margin: 0 auto 0;
        padding: 3vw;
    }

    .search-right {
        padding-bottom: 25vw;
    }

    .search-left {
        padding-bottom: 10vw;
    }

    .search-container .search-name-block {
        margin: 0 auto 3vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li {
        width: 100%;
        margin-bottom: 1.5vw;
    }

    .search-container .search-other-block .search-kind-list li label {
        font-size: 1.4vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li label {
        font-size: 1.6vw;
        min-height: unset;
        padding-top: 0.5vw;
    }

    .search-container .search-other-block .area-map .area01 label span {
        right: 3vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li label::before {
        box-sizing: border-box;
        width: 2vw;
        height: 2vw;
        top: calc(50% - 1vw);
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li input:checked+label::after {
        width: 0.6vw;
        height: 1.2vw;
        display: block;
        left: 0.5vw;
        top: 0vw;
    }

    /**/
    section.list {
        max-width: 1040px;
        width: 100%;
        margin: 50px auto 20px;
        display: block;
        padding: 0;
    }

    section.list ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    section.list ul li {
        width: calc(92% / 4);
        margin: 0 1%;
        margin-bottom: 5%;
        position: relative;
        padding-bottom: 10vw;
    }

    section.list ul li>a figure img {
        height: 15.85vw;
        display: block;
        margin: auto;
        max-width: 100%;
    }

    section.list ul li p.name {
        margin-top: 0.5vw;
        padding-left: 2.5vw;
        font-size: 1.3vw;
    }

    section.list ul li p.note {
        font-size: 1.1vw;
        padding-left: 2.5vw;
    }

    section.list ul li p.prefectures {
        font-size: 1.3vw;
        margin-bottom: 0.1vw;
        padding-left: 1.7vw;
    }

    section.list ul li p.name::before {
        width: 1.8vw;
        height: 1.8vw;
        font-size: 1.1vw;
        padding: 0.2vw 0.2vw 0px;
        top: 0.5vw;
    }

    section.list ul li nav {
        min-height: 10.8vw
    }

    section.list ul li nav a {
        padding: 1vw 0;
        margin-top: 1vw;
        font-size: 1.6vw;
    }

    /*mordals*/
    #mordal_info {
        width: 90vw;
        height: 66vw;
        top: calc(50% - 33vw);
        left: calc(50% - 45vw);
        padding-top: 0;
        z-index: 100001;
    }

    #mordal_info.typeA {
        width: 55vw;
        left: calc(50% - 27.5vw);
    }

    #mordal_info figure {
        margin: 0;
        width: 100%;
        height: 53vw;
        max-width: 90vw;
        position: relative;
    }

    #mordal_info figure.typeA {
        width: 55vw;
        height: 60vw;
        margin: auto;
    }

    #mordal_info figure img {
        /* max-width: 100%; */
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }

    #mordal_info nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1.8vw;
    }

    #mordal_info nav a {
        display: block;
        width: 17vw;
        padding: 1vw 0;
        margin-top: 1vw;
        font-size: 1.4vw;
        margin: 0 0.5vw;
    }

    #mordal_info button#closemodal_A {
        position: absolute;
        top: -4vw;
        right: -4vw;
        width: 4vw;
        height: 4vw;
    }

    #mordal_info.typeA button#closemodal_A {
        right: 0;
    }

    #mordal_info.typeB button#closemodal_A {
        right: 0;
    }

    #mordal_info button#closemodal_B {
        position: absolute;
        bottom: -50px;
        left: calc(50% - 50px);
        width: 100px;
        background: none;
        border: none;
        text-align: left;
        font-size: 18px;
        color: #fff;
        padding-left: 2.2em;
    }

    #mordal_info button#closemodal_B::before {
        content: '';
        width: 1.8em;
        height: 1.8em;
        display: block;
        background: url(/shingaku/start/common/images/closebtn.svg) no-repeat;
        background-size: contain;
        position: absolute;
        top: calc(50% - 0.9em);
        left: 0;
    }

    section.seracharea small {
        font-size: 1.3vw;
    }
}

/*@media screen and (max-width:920px) */
@media screen and (max-width:640px) {

    /*メインエリア*/
    article.index {
        padding: 0 0;
    }

    article.index h3 {
        font-size: 6.4vw;
        margin-bottom: 0vw;
    }

    /*seracharea override*/
    .search-container .search-body {
        margin: 0 auto 0;
        padding: 4vw 0;
    }

    .search-container .search-name-block {
        margin: 0 auto 8vw;
    }

    .search-right,
    .search-left {
        width: 100%;
    }

    .search-right {
        padding-bottom: 0;
    }

    .search-left {
        padding-bottom: 0;
        position: static;
    }

    .search-container .search-other-block .search-kind-list li label {
        width: 100%;
        font-size: 3vw;
    }

    .search-feature-box {
        position: static;
        width: 100%;
        margin-bottom: 6vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li {
        width: 100%;
        margin-bottom: 2vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li label {
        font-size: 3.8vw;
        letter-spacing: 0;
        min-height: unset;
        padding-top: 1vw;
        padding-left: 7vw;
        line-height: 1.4;
    }

    .search-container .search-other-block .area-map .area01 label span {
        right: 7vw;
    }

    .search-container .search-total-block .btns #search_clear_btn {
        font-size: 4vw;
    }

    .search-container .search-total-block .btns #search_btn {
        font-size: 4vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li label::before {
        width: 5vw;
        height: 5vw;
        top: calc(50% - 2.5vw);
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li input:checked+label::after {
        width: 1.2vw;
        height: 3vw;
        display: block;
        left: 1.4vw;
        top: 0.8vw;
    }

    .search-container .search-total-block {
        width: 100%;
        margin: 0;
    }

    .search-container .search-total-block .btns {
        margin-top: 4vw;
        margin: 0 auto;
        width: 80%;
    }

    /**/
    section.list {
        margin: 10vw auto 20px;
        display: block;
        padding: 0px 0;
    }

    section.list ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0 2vw;
    }

    section.list ul li {
        width: 45.8%;
        margin: 0 2vw;
        margin-bottom: 8vw;
        position: relative;
        padding-bottom: 23vw;
    }

    section.list ul li>a figure img {
        height: 30.8vw;
    }

    section.list ul li p.name {
        margin-top: 1vw;
        padding-left: 5vw;
        font-size: 3.2vw;
    }

    section.list ul li p.note {
        font-size: 2.5vw;
        padding-left: 5vw;
    }

    section.list ul li p.prefectures {
        font-size: 2.7vw;
        margin-bottom: 0vw;
        padding-left: 4vw;
    }

    section.list ul li p.name::before {
        width: 4vw;
        height: 4vw;
        font-size: 2.6vw;
        padding: 0.8vw 0 0px 0.7vw;
        top: 0.5vw;
    }

    section.list ul li nav {
        height: 22vw;
    }

    section.list ul li nav a {
        padding: 2vw 0;
        margin-top: 2vw;
        font-size: 3.6vw;
    }

    /*mordals*/
    #mordal_info,
    #mordal_info.typeA {
        width: 100vw;
        height: 150vw;
        position: fixed;
        top: calc(50% - 75vw);
        left: 0;
        padding-top: 0;
        z-index: 100001;
        padding: 12vw 4vw 0;
    }

    #mordal_info figure {
        margin: 0;
        width: 100%;
        height: 118vw;
        position: static;
    }

    #mordal_info figure.typeA {
        width: 100%;
        height: 117vw;
        margin: auto;
    }

    #mordal_info figure.typeB,
    #mordal_info figure.typeC {
        overflow-x: scroll;
        width: 100vw;
        position: relative;
        left: -4vw;
        max-width: unset;
    }

    #mordal_info figure.typeA img {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }

    #mordal_info figure.typeB img,
    #mordal_info figure.typeC img {
        width: 166vw;
        height: auto;
        margin: 0;
        max-width: unset;
        max-height: unset;
        margin-right: 4vw;
        margin-left: 4vw;
    }

    #mordal_info figure.typeC img {
        width: 190vw;
    }

    #mordal_info.typeD {
        width: 100%;
        left: 0;
        top: 0;
        padding: 3vw;
        height: 100vh
    }

    #mordal_info.typeD button#closemodal_A {
        top: 2vw;
        right: 2vw !important;
        z-index: 5;
        box-shadow: 2px 2px 5px #000000a6;
        border: solid 2px #ccc;
        background-color: #fff;
    }

    #mordal_info.typeD figure.typeD {
        margin: 0;
        width: 100%;
        height: calc(100% - 30vw);
        position: relative;
        overflow: auto;
        left: 0;
    }

    #mordal_info.typeD figure.typeD img {
        width: 100%;
        object-fit: unset;
        height: auto;
        margin: 0;
    }

    #mordal_info nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 4vw;
    }

    #mordal_info nav a {
        width: 49%;
        padding: 2vw 0;
        font-size: 4vw;
        margin: 0 0 2vw;
    }

    #mordal_info nav a#surveyurl {
        width: 100%;
        margin-top: 2vw;
    }

    #mordal_info nav a.surveyurl {
        width: 100%;
    }

    #mordal_info button#closemodal_A {
        position: absolute;
        top: 0vw;
        right: 4vw !important;
        width: 9vw;
        height: 9vw;
    }

    #mordal_info button#closemodal_B {
        position: relative;
        bottom: unset;
        left: unset;
        display: block;
        margin: 2vw auto 0;
        width: 26vw;
        font-size: 4.5vw;
    }

    section.seracharea small {
        margin-top: -4vw;
        font-size: 2.8vw;
    }
}

/*@media screen and (max-width:640px)*/