/* メインビジュアル */

.mainimg_area {
    position: relative;
    margin: 0 auto;
    padding-top: 140px;
}

.mainimg_box {
    margin: 0 auto;
    width: 1024px;
    height: 500px;
    border-radius: 10px;
    background-image: url(./meiji.png);
    background-size: cover;
    background-position: center 50%;
    z-index: 1;
}

@media screen and (max-width: 1024px) {
    #mainimg_area_sp {
        position: relative;
        margin: 0 auto;
    }
    .mainimg_box_sp {
        margin: 0 auto;
        width: 100vw;
        height: 50vh;
        background-image: url(./meiji.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: 80px;
    }
    .mainimg_box_sp img {
        margin: 0 auto;
        text-align: center;
    }
}

/* 大学プロフィールエリア */

.uni-info {
    margin: 0 auto;
    margin-bottom: 50px;
    width: 960px;
}

.uni-info_wrap {
    display: flex;
}

.uni-info_area-name {
    width: 146px;
    height: 42px;
    background-color: #fff;
    border: solid 2px #494B5F;
    border-radius: 30px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    margin-top: 14px;
    z-index: 1;
}

.uni-info_uni-name {
    font-size: 46px;
    margin-left: 30px;
}

.uni-info_line {
    background-color: #EDEEF7;
    height: 2px;
    border: none;
}

.uni-info_undergrad-ttl {
    width: 146px;
    height: 42px;
    background: rgb(142, 146, 183);
    background: linear-gradient(180deg, rgba(142, 146, 183, 1) 0%, rgba(71, 73, 92, 1) 100%);
    border-radius: 30px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    padding-top: 2px;
    z-index: 1;
}

.uni-info_undergrad {
    font-size: 24px;
    margin-left: 30px;
    font-weight: 400;
}

@media screen and (max-width: 1024px) {
    .uni-info_sp {
        margin: 0 auto;
        margin-top: 30px;
        margin-bottom: 60px;
        width: 80vw;
    }
    .uni-info_wrap_sp {
        display: block;
    }
    .uni-info_area-name_sp {
        width: 72px;
        height: 27px;
        background-color: #fff;
        border: solid 2px #494B5F;
        border-radius: 30px;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        margin-top: 14px;
        z-index: 1;
    }
    .uni-info_uni-name_sp {
        font-size: 36px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .uni-info_line_sp {
        background-color: #C3C5DB;
        height: 2px;
        border: none;
    }
    .uni-info_undergrad-ttl_sp {
        width: 72px;
        height: 27px;
        background: rgb(142, 146, 183);
        background: linear-gradient(180deg, rgba(142, 146, 183, 1) 0%, rgba(71, 73, 92, 1) 100%);
        border-radius: 30px;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        color: #fff;
        padding-top: 2px;
        z-index: 1;
    }
    .uni-info_undergrad_sp {
        font-size: 16px;
        font-weight: 400;
        margin-top: 20px;
        margin-left: 0px;
    }
}

/* 全国入試会場MAPエリア */

#uni-map_ttl {
    width: 960px;
    margin: 0 auto;
}

.uni-map_ttl_box {
    width: 960px;
    height: 100px;
    background-image: url(../../img/uni-common/uni_map_ttl.svg);
    background-size: 960px 100px;
    padding-left: 120px;
}

.uni-map_area {
    margin: 0 auto;
    width: 1024px;
    height: 940px;
    background-color: #fff;
    box-sizing: content-box;
    border: solid 3px #C3C5DB;
    border-radius: 10px;
    overflow: hidden;
}

.iframe-wrap {
    width: 1025px;
    height: 940px;
    margin-top: 60px;
}

@media screen and (max-width: 1024px) {
    #uni-map_sp {
        margin: 0 auto;
    }
    .uni-map_ttl_box_sp {
        width: 80vw;
        height: 240px;
        margin: 0 auto;
        text-align: left;
    }
    .accordion {
        margin: 0 auto;
        max-width: 80vw;
    }
    .toggle {
        display: none;
    }
    .option {
        position: relative;
        margin-bottom: 1em;
    }
    .title, .content {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: all 0.3s;
    }
    .title {
        border: solid 1px #ccc;
        border-bottom: transparent;
        padding: 1em;
        display: block;
        color: #fff;
        font-weight: 500;
        background: rgb(142, 146, 183);
        background: linear-gradient(180deg, rgba(142, 146, 183, 1) 0%, rgba(71, 73, 92, 1) 100%);
        border-radius: 10px 10px 0px 0px;
        overflow: hidden;
    }
    .title::after, .title::before {
        content: "";
        position: absolute;
        right: 1.25em;
        top: 1.25em;
        width: 2px;
        height: 0.75em;
        background-color: #fff;
        transition: all 0.3s;
    }
    .title::after {
        transform: rotate(90deg);
    }
    .content {
        max-height: 0;
        overflow: hidden;
        background-color: #fff;
        border: solid 1px #ccc;
        border-top: transparent;
    }
    .content p {
        margin: 0;
        padding: 0.5em 1em 1em;
        font-size: 0.9em;
        line-height: 1.5;
    }
    .toggle:checked+.title+.content {
        max-height: 3000px;
        transition: all 1.5s;
    }
    .toggle:checked+.title::before {
        transform: rotate(90deg) !important;
    }
    .sp_map_imgbox {
        margin: 0 auto;
        text-align: center;
        margin: 20px;
    }
    .coll_map_btn_wrap {
        margin: 0 auto;
        width: 60vw;
    }
    .map_btn_box_1, .map_btn_box_5 {
        margin: 0 auto;
        width: 100%;
        height: 60px;
        border: solid 2px #EDEEF7;
        border-radius: 6px;
        text-align: center;
        color: #494B5F;
        font-size: 16px !important;
        font-weight: 500;
        overflow: hidden;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    .map_btn_box_2, .map_btn_box_3, .map_btn_box_4 {
        margin: 0 auto;
        width: 100%;
        height: 60px;
        border: solid 2px #EDEEF7;
        border-radius: 6px;
        text-align: center;
        color: #494B5F;
        font-size: 16px !important;
        font-weight: 500;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    .map_btn_box_1 {
        background-color: #DD84CF !important;
    }
    .map_btn_box_2 {
        background-color: #84DD9C !important;
    }
    .map_btn_box_3 {
        background-color: #84CCDD !important;
    }
    .map_btn_box_4 {
        background-color: #84A3DD !important;
    }
    .map_btn_box_5 {
        background-color: #BB84DD !important;
    }
    [class^="map_btn_box_"] a {
        color: #fff;
    }
    .uni-page-map-city_wrap {
        width: 80vw;
        margin: 0 auto;
        text-align: center;
    }
    .uni-page-map-city_box {
        display: flex;
        margin: 0 auto;
        text-align: center;
        width: 80vw;
    }
    .uni-page_city_btn_sp {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 30px;
        background-color: #ecedf4;
        border: solid 2px #dcdde9;
        text-align: center;
        margin: 5px 3px 0px 3px;
        border-radius: 30px;
        font-weight: 400;
        color: #c7c8ce;
        overflow: hidden;
    }
    .uni-page_city_btn_sp_r {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 30px;
        background-color: #fff;
        border: solid 2px #CF121B;
        text-align: center;
        margin: 5px 3px 0px 3px;
        border-radius: 30px;
        font-weight: 400;
        color: #CF121B;
    }
    .uni-page_city_btn_sp_r:hover {
        width: 100%;
        height: 30px;
        background-color: #CF121B;
        border: solid 1px #fff;
        text-align: center;
        margin: 5px 3px 0px 3px;
        border-radius: 30px;
        font-weight: 400;
        padding-top: 2px;
        color: #fff;
    }
    .uni-page_city_btn_sp_r a {
        color: #494B5F;
    }
    .uni-page-map-city_btn_r a:hover {
        color: #fff;
    }
}