.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .65);
}

.modal__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    max-width: 1160px;
    height: 95%;
    max-height: 1000px;
    position: relative;
}

.modal__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 35px;
    background-color: var(--c-white);
}

@media screen and (max-width: 768px) {
    .modal__inner {
        padding: 50px 10px 45px;
    }
}

.modal__item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal__item__img-box {
    position: relative;
    width: 100%;
}

.modal__item__img-box::before {
    content: '';
    display: block;
    padding-top: 60%;
}

.modal__item__img-hld {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    text-align: center;
}

.modal__item__img-hld img {
    max-width: 100%;
    max-height: 100%;
}

.modal__item__text-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .modal__item__text-box {
        height: auto;
        margin-bottom: 25px;
    }
}

.modal__item__text-box__title {
    color: var(--c-black);
    font-family: var(--font-header);
    font-size: 28px;
    line-height: calc(35 / 28);
    letter-spacing: -.03em;
}

@media screen and (max-width: 768px) {
    .modal__item__text-box__title {
        font-size: 22px;
        padding-left: 10px;
    }
}

.modal__item__text-box__number {
    color: var(--c-black);
    font-family: var(--font-special);
    font-size: 13px;
}

@media screen and (max-width: 768px) {
    .modal__item__text-box__number {
        display: none;
    }
}

.modal__item__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -9px;
    right: -9px;
    width: 44px;
    height: 45px;
    background-color: var(--c-accent);
}

.modal__item__close__icon {
    width: 25px;
    height: 15px;
}

.modal__item__right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: -18px;
    background-color: var(--c-accent);
    width: 53px;
    height: 67px;
    margin-top: -60px;
}

@media screen and (max-width: 768px) {
    .modal__item__right {
        justify-content: flex-end;
        padding-right: 20px;
        top: auto;
        right: 0;
        bottom: 0;
        width: 50%;
        height: 45px;
    }
}

.modal__item__right__icon {
    width: 25px;
    height: 15px;
}

.modal__item__left {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-accent);
    position: absolute;
    top: 50%;
    left: -18px;
    width: 53px;
    height: 67px;
    margin-top: -60px;
}

@media screen and (max-width: 768px) {
    .modal__item__left {
        justify-content: flex-start;
        padding-left: 20px;
        top: auto;
        left: 0;
        bottom: 0;
        width: 50%;
        height: 45px;
    }
}

.modal__item__left__icon {
    width: 25px;
    height: 15px;
    transform: rotate(180deg);
}
