.contentWrap {
    gap: 30px;
}

.contentWrap>.titleContainer {
    padding-bottom: 30px;
}

.contentWrap>h2 {
    width: 100%;
    color: #ec1c23;
}

.contentWrap>.note {
    width: 100%;
}

.contentWrap>.note>p {
    font-size: 12px;
}

.memberWrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

@media only screen and (max-width: 1024px) {
    .memberWrap {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .memberWrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

.memberWrap>.memberContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.memberWrap.retired>.memberContainer {
    cursor: default;
}

.memberWrap>.memberContainer>img {
    width: 100%;
    /* border-radius: 50%; */
    padding: 20px 0;
}

.memberWrap>.memberContainer>h2 {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    color: #ec1c23;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px;
    font-size: 20px;
    border-bottom: 5px solid #ec1c23;
    height: 5.5em;
}

@media only screen and (max-width:1344px) {
    .memberWrap>.memberContainer>h2 {
        height: 6.5em;
    }
}

@media only screen and (max-width:1089px) {
    .memberWrap>.memberContainer>h2 {
        height: 8em;
    }
}

@media only screen and (max-width:1024px) {
    .memberWrap>.memberContainer>h2 {
        height: 5.5em;
    }
}

@media only screen and (max-width:1016px) {
    .memberWrap>.memberContainer>h2 {
        height: 6.5em;
    }
}

@media only screen and (max-width:825px) {
    .memberWrap>.memberContainer>h2 {
        height: 8em;
    }
}

@media only screen and (max-width:768px) {
    .memberWrap>.memberContainer>h2 {
        height: 5.5em;
    }
}

@media only screen and (max-width:659px) {
    .memberWrap>.memberContainer>h2 {
        height: 6.5em;
    }
}

@media only screen and (max-width:532px) {
    .memberWrap>.memberContainer>h2 {
        height: 8em;
    }
}

@media only screen and (max-width:428px) {
    .memberWrap>.memberContainer>h2 {
        height: 9em;
    }
}

@media only screen and (max-width:392px) {
    .memberWrap>.memberContainer>h2 {
        height: 10em;
    }
}

@media only screen and (max-width:366px) {
    .memberWrap>.memberContainer>h2 {
        height: 11em;
    }
}

@media only screen and (max-width:346px) {
    .memberWrap>.memberContainer>h2 {
        height: 12.5em;
    }
}

.memberWrap>.memberContainer>h2>span {
    display: inline-block;
    /* margin-top: 5px; */
    font-size: 18px;
    font-family: Gill-Sans, Monsterrat, Noto Sans, sans-serif;
    font-weight: 500;
}

/* .memberWrap>.memberContainer>h5 {
    flex: 1;
} */

/*-----popup-----*/

body.active {
    overflow-y: hidden;
}

.popupWrap {
    top: 110px;
    left: 0;
    position: fixed;
    width: 100vw;
    max-width: unset;
    height: calc(100vh - 110px);
    display: none;
    background-color: #00000080;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.memberContainer.active>.popupWrap {
    display: flex;
}

.popupWrap>.popupContainer {
    width: calc(100% - 40px);
    height: calc(80vh - 110px);
    background: #fff;
    /* border-radius: 40px; */
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer {
        height: calc(90vh - 110px);
    }
}

.popupWrap>.popupContainer>.popupContent {
    --nr: 8px;
    display: flex;
    padding: 50px;
    height: 100%;
    overflow: hidden;
    gap: 40px;
}

@media only screen and (max-width: 1024px) {
    .popupWrap>.popupContainer>.popupContent {
        gap: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer>.popupContent {
        padding: 30px 20px 30px calc(20px - var(--nr));
        gap: 0;
    }
}

.popupWrap>.popupContainer>.popupContent>img {
    max-width: 240px;
    height: auto;
    object-fit: contain;
    align-self: start;
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer>.popupContent>img {
        display: none;
    }
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight {
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    gap: 20px;
}

.popupContentRight::-webkit-scrollbar {
    width: 5px;
    background-color: #00000000;
}

.popupContentRight::-webkit-scrollbar-button {
    display: none;
}

.popupContentRight::-webkit-scrollbar-thumb {
    background-color: #80808080;
    /* border-radius: 5px; */
}

.popupContentRight::-webkit-scrollbar-thumb:hover {
    background-color: #ec1c23;
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle {
    margin-left: var(--nr);
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>.popupMobImg {
    width: 100%;
    max-width: 240px;
    display: none;
    align-self: flex-start;
    padding-bottom: 30px;
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>.popupMobImg {
        display: block;
    }
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle {
    /* margin-top: 20px; */
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    border-bottom: 5px solid #ec1c23;
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle {
        margin-top: 0;
        display: block;
    }
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>h2 {
    position: relative;
    padding-bottom: 5px;
    color: #ec1c23;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 15px;
    /* font-size: 20px; */
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>h2 {
        font-size: 33px;
    }
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>h2 span {
    display: inline-block;
    color: #fff;
    background-color: #ec1c23;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 300;
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>h2 span {
        font-size: 25px;
    }
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>h3 {
    color: #ec1c23;
    position: relative;
    font-size: 20px;
}

@media only screen and (max-width: 768px) {
    .popupWrap>.popupContainer>.popupContent>.popupContentRight>.popupTitle>h3 {
        font-size: 25px;
    }
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>p {
    font-size: 16px;
    /* text-align: justify; */
    padding-left: var(--nr);
}

.popupWrap>.popupContainer>.popupContent>.popupContentRight>.note {
    /* color: #80808080; */
    /* padding-top: 10px; */
    /* border-top: 1px solid #80808080; */
    padding: 15px 30px;
    background-color: #ec1c2314;
    font-size: 16px;
    line-height: inherit;
    mask-image:
        /* left protrusion */
        radial-gradient(circle var(--nr) at var(--nr) 50%, white calc(100% - 0.5px), transparent 100%),
        /* right notch */
        radial-gradient(circle var(--nr) at 100% 50%, transparent calc(100% - 0.5px), white 100%),
        /* chop left & right */
        linear-gradient(to right, transparent 0, transparent var(--nr), white var(--nr), white 100%);
    mask-composite: add, intersect;
    mask-repeat: no-repeat;
}