@charset "utf-8";

/*seracharea override*/
#searchopen {
    background-color: #e61478;
}

.search-container .wrap {
    background: #FCE4EE;
}

.search-container {
    color: #1f2a66;
}

.search-container .search-body h4 {
    font-size: 18px;
}

.search-container .search-other-block .search-feature-box .search-feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 1em;
}

.area-map .area01 label span {
    right: 50%;
    transform: translateX(50%);
}

.search-container .search-other-block .search-feature-box .search-feature-list li {
    width: auto;
}

.search-container .search-other-block .search-feature-box .search-feature-list li label {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.search-container .search-body {
    margin: 0 auto 0;
    padding: 30px
}

.search-right {
    width: 45%;
}

.search-left {
    width: 51%;
}

.search-right {
    /* display: none; */
    margin-top: 18px;
}

.search-left {
    padding-bottom: 120px;
}

.search-container .search-other-block .search-kind-box {
    margin-bottom: 0;
}

.search-container .search-other-block .search-kind-list li {
    width: calc(33% - 12px);

}

.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-name-block {
    margin: 0 auto 30px;
    width: 100%;
}

.search-container .search-other-block {
    margin: 0 auto 0;
    max-width: 930px;
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

/*特集種別で探す*/
.search-feature-box {
    position: absolute;
    right: 0;
    top: 56%;
    width: 51%;
}

.search-container .search-body h3::before,
.search-container .search-body h4::before {
    background: url(/shingaku/gekirei/2023/common/images/search_icon_gekirei.svg) center center no-repeat;
    background-size: contain;
}

.search-container .search-other-block .search-kind-list li input[type="checkbox"]:checked+label {
    background: #e61478;
}

.search-container .search-total-block {
    margin: 30px auto 0;
}

.search-container .search-total-block .btns #search_clear_btn {
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    background: #fff;
    color: #e61478;
    border: 3px solid #e61478;
    line-height: 44px;
}

.search-container .search-total-block .btns #search_btn {
    background: #e61478;
    font-weight: 600;
    border-radius: 5px;
}

.search-container .search-other-block .area-map .area-btn {
    position: absolute;
    background: #fce4ee;
}

.search-container .search-other-block .search-feature-box .search-feature-list li input:checked+label::before {
    border: solid 2px #e61478;
    background: #e61478;
}

.search-container .search-other-block .area-map input[type="checkbox"]:checked+label {
    background: #e61478;
}

.search-container .search-other-block .area-clear-btn,
.search-container .search-other-block .lect-detail-btn {
    color: #e61478;
    border: 2px solid #e61478;
    border-radius: 6px;
    cursor: pointer;
}

.search-container .search-other-block .area-map .area-box {
    border: 3px solid #e61478;
}

.search-container .search-other-block .area-map .area-box .btns {
    border-top: 1px solid #e61478;
}

.search-container .search-other-block .area-map .area-box .btns .ok-btn {
    background: #e61478;
}

.search-container .search-other-block .area-map .checked .area-btn span {
    background: #ea7ba9;
}

.search-container .search-other-block .area-map .all-checked .area-btn span {
    background: #e61478;
}

@media screen and (min-width: 640px) {

    /*hover only pc*/
    .search-container .search-name-block button:hover {
        background: #666;
    }

    .search-container .search-date-block button:hover {
        color: #fff;
        background: #e61478;
    }

    .search-container .search-other-block .area-map .area01 label:hover {
        background: #ea7ba9;
    }

    .search-container .search-other-block .area-map .area-btn span:hover {
        background: #ea7ba9;
    }

    .search-container .search-other-block .area-map .area-box .btns .all-clear-btn:hover {
        background: rgba(178, 178, 178, 0.7);
    }

    .search-container .search-other-block .area-map .area-box .btns .ok-btn:hover {
        background: rgb(234 123 169 / 0.7);
    }

    .btn_OCmapClose:hover {
        background: #ea7ba9;
    }

    #search_mod_map .search-area-block .area-map .area-box .closebtn:hover:before {
        opacity: 0.8;
    }

    .search-container .search-other-block .area-map .pref-list label:hover {
        background: #ea7ba9;
    }

    .search-container .search-other-block .area-map input[type="checkbox"]:checked+label:hover {
        background: #ea7ba9;
    }

    .search-container .search-other-block .area-clear-btn:hover {
        color: #fff;
        background: #ea7ba9;
    }

    .search-container .search-other-block .lect-detail-btn:hover {
        color: #fff;
        background: #ea7ba9;
    }

    .search-container .search-other-block .search-kind-list li label:hover {
        background: rgb(234 123 169 / 0.7);
    }

    .search-container .search-other-block .lect-select-btn:hover {
        background: #ea7ba9;
    }
}

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 {
    display: block;
    width: 100%;
    aspect-ratio: 240 / 170;
    object-fit: contain;
    height: auto;
}

section.list ul li>a.openmordal_C figure {
    /*height: 131px;*/
    display: flex;
    align-items: center;
}

section.list ul li>a.openmordal_C figure img {
    width: 100%;
    height: unset;
}

section.list ul li p.name {
    margin-top: 5px;
    position: relative;
    padding-left: 25px;
    font-size: 13px;
}

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 nav {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    height: 108px;
}

section.list ul li nav a {
    display: block;
    width: 48%;
    background: #FFF000;
    text-decoration: none;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
    color: #1F2A66;
    font-weight: 700;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 4%;
}

section.list ul li nav a.schoolinfo {
    background: #F8C1D8;
    margin-right: 0;
}

section.list ul li nav a.survayurl {
    background: #f7b8d6;
    width: 100%;
    margin-right: 0;
}

aside {
    width: 100%;
    background: rgb(230 20 120 / 75%);
    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: 1196px;
    width: 84vw;
    max-height: 740px;
    height: 52vw;
    position: fixed;
    top: calc(50% - 26vw);
    left: calc(50% - 42vw);
    padding-top: 0;
    z-index: 100001;
}

#mordal_info figure {
    margin: 0;
    width: 100%;
    height: 700px;
    max-width: 1260px;
    max-height: 756px;
    position: relative;
}

#mordal_info figure img {
    /*max-width: 100%;*/
    width: auto;
    height: 100%;
    display: block;
    margin: 0 auto;
}

#mordal_info.typeA {
    width: 42vw;
    max-width: 600px;
    left: calc(50% - 21vw);
    top: calc(50% - 29vw);
}

#mordal_info figure.typeA {
    margin: 0;
    width: 100%;
    height: 54vw;
    max-width: 1260px;
    max-height: 756px;
    position: relative;
    margin: auto;
}



#mordal_info figure.typeC {
    max-width: 1260px;
    max-height: 690px;
    height: 48vw;
}

#mordal_info figure.typeC img {
    width: 100%;
    height: unset;
    display: block;
    margin: 0 auto;
}

#mordal_info.typeD {
    width: 560px;
    max-width: 560px;
    left: calc(50% - 280px);
    height: 760px;
    top: calc(50% - 380px);
}

#mordal_info figure.typeD {
    /* max-width: 520px; */
    max-height: 700px;
    position: relative;
}

@media screen and (max-height: 800px) {
    #mordal_info.typeB {
        height: 90vh;
        top: calc(50% - 42vh);
        /*width: 145vh;
        left: calc(50% - 75vh);
    }

    #mordal_info figure.typeB {
        height: 80vh;
        width: 100%;
    }

    #mordal_info figure.typeB img {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }


    #mordal_info.typeC {
        height: 90vh;
        top: calc(50% - 42vh);
        /*width: 145vh;*/
        left: calc(50% - 75vh);
    }



    #mordal_info figure.typeC {
        height: 80vh;
        width: 100%;
    }

    #mordal_info figure.typeC img {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }
}

#mordal_info nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20x;
    max-width: 560px;
    margin: auto;
}

#mordal_info nav a {
    display: block;
    width: 32%;
    /* max-width: 200px; */
    background: #FFE100;
    text-decoration: none;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
    color: #1F2A66;
    font-weight: 700;
    border-radius: 5px;
    font-size: 14px;
    margin-right: 2%;
}

#mordal_info nav a:last-child {
    margin-right: 0;
}

#mordal_info nav a.schoolpage,
#mordal_info nav a.surveyurl {
    background: #F8C1D8;
}

#mordal_info nav a.surveyurl.nolink {
    display: none;
}

#mordal_info button#closemodal_A {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: url(/shingaku/gekirei/common/images/closebtn.svg) no-repeat;
    background-size: contain;
}

#mordal_info.typeD button#closemodal_A {
    right: 30px;
}

#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/iza/2023/common/images/closebtn.svg) no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.9em);
    left: 0;
}

@media screen and (min-width: 1400px) {
    #mordal_info {
        top: calc(50% - 370px);
        left: calc(50% - 598px);
    }

    #mordal_info.typeA {
        top: calc(50% - 410px);
        left: calc(50% - 598px);
        width: 100%;
        left: calc(50% - 315px);
    }
}

@media screen and (min-width: 640px) and (max-height: 800px) {
    #mordal_info.typeC {
        height: 90vh;
        top: calc(50% - 42vh);
        width: 145vh;
        left: calc(50% - 75vh);
    }

    #mordal_info figure.typeC {
        height: 80vh;
        width: 100%;
    }

    #mordal_info figure.typeC img {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }

    #mordal_info.typeB {
        height: 90vh;
        top: calc(50% - 42vh);
        width: 145vh;
        left: calc(50% - 75vh);
    }

    #mordal_info figure.typeB {
        height: 80vh;
        width: 100%;
    }

    #mordal_info figure.typeB img {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }

    #mordal_info.typeA {
        width: 520px;
        max-width: unset;
        height: 90vh;
        left: calc(50% - 260px);
        top: calc(50% - 45vh);
    }

    #mordal_info figure.typeA {
        margin: 0;
        width: 100%;
        height: 80vh;
        max-width: unset;
        max-height: 80vh;
        position: relative;
        margin: auto;
    }

    #mordal_info.typeD {
        width: 560px;
        max-width: 560px;
        left: calc(50% - 280px);
        height: 90vh;
        top: calc(50% - 45vh);
    }

    #mordal_info figure.typeD {
        /* max-width: 520px; */
        max-height: 80vh;
        position: relative;
    }
}

@media screen and (min-width:640px) {
    section.list ul li a:hover {
        opacity: 0.5;
    }
}

@media screen and (max-width:1040px) {

    /*seracharea override*/
    .search-container .search-body {
        margin: 0 auto 0;
        padding: 30px
    }

    .search-container .search-name-block {
        margin: 0 auto 3vw;
    }

    .search-container .search-body h4 {
        font-size: 1.8vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li label {
        font-size: 1.8vw;
    }

    .search-left {
        padding-bottom: 12vw;
    }

    .search-container .search-other-block .search-kind-list li label {
        padding: 1em 0 1.2em;
        width: 11vw;
        color: #fff;
        font-size: 1.4vw;
        line-height: 1;
        background: #b2b2b2;
        font-weight: 600;
    }

    .search-container .search-other-block {
        margin: 0 auto 0;
        max-width: 830px;
        min-height: 300px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    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: 12.9vw;
        display: block;
        margin: auto;
        max-width: 100%;
        */
    }

    section.list ul li>a figure,
    section.list ul li>a.openmordal_C figure {
        /*height: 12.9vw;*/
    }

    section.list ul li p.name {
        margin-top: 0.5vw;
        padding-left: 2.5vw;
        font-size: 1.3vw;
    }

    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 {
        height: 10.8vw
    }

    section.list ul li nav a {
        padding: 1vw 0;
        margin-top: 1vw;
        font-size: 1.6vw;
    }

    #mordal_info nav a {
        /* width: 20vw; */
        padding: 1vw 0;
        margin-top: 1vw;
        font-size: 1.4vw;
        /* margin: 0 0.5vw; */
    }
}

/*@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: 0 0 6vw;
    }

    .search-right,
    .search-left {
        width: 100%;
    }

    .search-container .search-other-block .search-kind-list li label {
        width: 100%;
        font-size: 3vw;
    }

    .search-container .search-total-block {
        width: 100%;
        margin: 0;
    }

    .search-right {
        margin-top: 0;
        margin-bottom: 6vw;
    }

    .search-left {
        padding-bottom: 0;
        margin-bottom: 6vw
    }

    .search-container .search-name-block {
        margin: 0 auto 6vw;
    }

    .search-container .search-body h4 {
        font-size: 4.4vw;
    }

    .search-container .search-other-block .search-feature-box .search-feature-list li label {
        font-size: 4vw;
    }

    /*特集種別で探す*/
    .search-feature-box {
        position: static;
        width: 100%;
    }

    /**/
    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: 22vw;
    }

    section.list ul li>a figure,
    section.list ul li>a.openmordal_C figure {

        /*eheight: 25.1vw;*/
    }

    section.list ul li>a figure img {
        height: 100%;
    }

    section.list ul li p.name {
        margin-top: 1vw;
        padding-left: 5vw;
        font-size: 3.2vw;
    }

    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.4vw;
    }

    /*mordals*/
    #mordal_info,
    #mordal_info.typeA,
    #mordal_info.typeB,
    #mordal_info.typeD {
        width: 100vw;
        height: 160vw;
        position: fixed;
        top: calc(50% - 80vw);
        left: 0;
        padding-top: 0;
        z-index: 100001;
        padding: 12vw 4vw 0;
    }

    #mordal_info.typeB {
        height: 154vw;
        top: calc(50% - 77vw);
        left: 0;
        padding-top: 0;
        z-index: 100001;
        padding: 12vw 4vw 0;
    }

    #mordal_info.typeC {
        height: 154vw;
        top: calc(50% - 77vw);
        left: 0;
        padding-top: 0;
        z-index: 100001;
        padding: 12vw 4vw 0;
    }

    #mordal_info.typeD {
        width: 100%;
        height: 160vw;
        position: fixed;
        top: calc(50% - 80vw);
        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,
    #mordal_info figure.typeD {
        width: 100%;
        height: 118vw;
        margin: auto;
    }

    #mordal_info figure.typeB {
        overflow-x: scroll;
        width: 100vw;
        height: 111vw;
        position: relative;
        left: -4vw;
    }

    #mordal_info figure.typeC {
        overflow-x: scroll;
        width: 100vw;
        height: 111vw;
        position: relative;
        left: -4vw;
    }

    #mordal_info figure.typeA img {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }

    #mordal_info figure.typeB img {
        width: 157vw;
        height: auto;
        margin: 0;
        max-width: unset;
        max-height: unset;
        margin-right: 4vw;
        margin-left: 4vw;
    }

    #mordal_info figure.typeC img {
        width: 194vw;
        height: auto;
        margin: 0;
        max-width: unset;
        max-height: unset;
        margin-right: 4vw;
        margin-left: 4vw;
    }

    #mordal_info figure.typeD img {
        width: auto;
        height: 100%;
        display: block;
        margin: 0 auto;
    }

    #mordal_info nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 2vw;
    }

    #mordal_info nav a {
        width: 49%;
        padding: 3vw 0;
        font-size: 4vw;
        margin: 2vw 0 0;
    }

    #mordal_info nav a.surveyurl {
        width: 100%
    }

    #mordal_info button#closemodal_A {
        position: absolute;
        top: 0vw;
        right: 4vw;
        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;
    }
}

/*@media screen and (max-width:640px)*/