@charset "UTF-8";
.map-container{
    padding-bottom:150px ;
}
.map-container p{
    width: 200px;
    color: #fff;
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    background-color:#004aad;
    margin: 20px auto;
}
.campus-map {
    position: relative;
    margin: 0 auto;
}

.campus-map img {
    display: block;
    width: 70%;
   margin: auto;
}

.area-overlays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.area-overlay {
    z-index: -1;
    position: absolute;
    background-color: rgba(128, 128, 128, 0.8);
    transition: background-color 0.3s ease;
}

@keyframes pulse-highlight {
    0% { background-color: rgb(0, 74, 173,.8); }
    50% { background-color:  rgb(0, 74, 173); }
    100% { background-color:  rgb(0, 74, 173,.8); }
}

.area-overlay.highlight {
    z-index: -1;
    animation: pulse-highlight 2s infinite;
}

/*スマホ版.maps---------------------------*/
@media(max-width:600px){
    .map-container p{
        width: 150px;
        font-size: 25px;
    }
}
