/* theaterInfo */
/* member */
.memberCardList{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 25px;
    max-width: 1000px;
    margin: 0 auto;
}
.memberCard{
    width: 100%;
}
.memberCard > label{
    display: block;
    width: 100%;
    cursor: pointer;
}
.memberCard > label img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.memberCard.chief{
    /* grid-column: 1 / -1; */
    /* width: calc(100% - 75px) / 4;
    justify-content: center; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.memberCard.chief > label{
    width: calc(100% - 75px) / 4;
}
.memberName{
    margin: 10px 0 0;
    text-align: center;
}
.popupBackground{
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: gray;
    opacity: 0.5;
}
.popup{
    z-index: 110;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    box-sizing: border-box;
    background-color: #FBF7FC;
    border-radius: 10px;
    box-shadow: 0 0 3px 1px gray;
    /* --height: 300px;
    --width: 300px;
    z-index: 110;
    position: fixed;
    top: calc(50vh - calc(var(--height) / 2));
    left: calc(50vw - calc(var(--width) / 2));
    height: var(--height);
    width: var(--width);
    overflow: hidden;
    background-color: #FBF7FC;
    border-radius: 10px;
    box-shadow: 0px 0px 3px 1px gray; */
}
.popup > .closeButton{
    --size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    width: var(--size);
    height: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: gray;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    /* --size: 20px;
    position: absolute;
    top: calc(var(--size)/4);
    left: calc(var(--width) - var(--size) * 5/4);
    height: var(--size);
    width: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: gray;
    font-size: var(--size);
    border-radius: calc(var(--size)/5); */
}
/* .popup > .closeButton:hover{
    background-color: ;
} */
 .popup > .content > .memberInfo{
    display: flex;
    align-items: center;
    gap: 20px;
}
.memberImg{
    flex: 0 0 150px;
    width: 150px;
}
.memberImg img{
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.memberDtl{
    flex: 1;
}
.memberDtl .role{
    margin: 0 0 5px;
}
.memberDtl .name{
    margin: 0 0 10px;
}
.memberDtl a{
    display: inline-block;
}
.memberStage{
    margin-top: 30px;
}
.memberStage h4{
    margin: 0 0 15px;
    font-weight: bold;
}
.memberStage dt{
    margin-top: 15px;
    font-weight: bold;
}
.memberStage dd{
    margin: 5px 0 0 1.5rem;
}
.popupFlag{
    display: none;
}
.popupFlag:not(:checked) + .popupBackground{
    display: none;
}
.popupFlag:not(:checked) + * + .popup{
    display: none;
}
/* past */
.past{
    padding: 1rem 1rem;
    text-align: center;
}
.past-performance{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    padding-top: 1rem;
}
.performance-card{
    background: #f9f9f9;
    border-radius: 18px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .15s ease;
}
.card-title{
    color: #d99aad;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-meta{
    min-height: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.performance-date{
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.performance-description{
    color: #666;
    margin-bottom: 0.5rem;
}
.performance-note{
    color: #cc6666;
    font-size: 0.85rem;
}
