.gallery {
    display: flex;
    flex-wrap: wrap;
}
.gallery img,
.gallery a img {
    margin: 10px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
    user-select: none; /* テキスト選択を無効にする */
}
.gallery img:hover,
.gallery a img:hover {
    transform: scale(1.1);
}
.hidden-caption-content {
    display: none;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}
.modal-content {
    margin: 15% auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.modal-content img {
    width: 100%;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* .pswp__dynamic-caption--aside {
    max-width: 300px;
    padding: 20px 15px 20px 20px;
    margin-top: 70px;
}
.pswp__dynamic-caption--below {
    max-width: 700px;
    padding: 15px 0 0;
}
.pswp__dynamic-caption--mobile {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
} */

.ma-label{
    font-weight: bold;     
}

.ma-chip {
    display: inline-block;
    padding: 0.3em 1em;
    border-radius: 16px;
    background-color: #e0e0e0;
    color: #333;
    margin: 0.2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}