.map{
    min-height: 100vh;
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 3rem) clamp(0.75rem, 4vw, 3rem) 4rem;
    overflow-x: hidden;
}

.map-title{
    position: relative;
    text-align: center;
    font-family: 'HG行書体';
    font-size: clamp(2.5rem, 7vw, 6rem);
    margin: 0 0 clamp(1.5rem, 4vw, 3rem);
}

.floor-button{
    position: relative;
    display: inline-block;
    padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: bold;
    font-family: 'HG行書体';
    text-decoration: underline;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.floor-button:hover {
  background-color: #45a049;
}

.floor-buttons{
    display:flex;
    position:relative;
    align-items:center;
    justify-content:center;
    flex-wrap: wrap;
    gap:clamp(1rem, 3vw, 2rem);
    width:100%;
}


.map-content{
    display:grid;
    position:relative;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:clamp(1rem, 3vw, 2rem);
    width:100%;
    margin: clamp(1.5rem, 5vw, 4rem) auto 0;
}

.map-detail{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    object-fit:contain;
}

@media (max-width: 700px){
    .map-content{
        grid-template-columns:1fr;
        width:min(100%, 42rem);
    }

    .floor-button{
        padding: 0.5rem 1rem;
    }
}