.myPage {
    display: flex;
    flex-wrap: wrap;
    padding-top: 65px;
    justify-content: center;
    min-height: 480px;
}

/* .subMenu */
.subMenu {
    width: 8%;
    margin-left: 4%;
}

.subMenu hr {
    margin-bottom: 30px;
}

.subMenu h2 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #666;
}

.subMenu nav ul li {
    margin-bottom: 45px;
}

.subMenu nav ul li a {
    font-size: 20px;
    color: #666;
}

.subMenu nav ul li.active a {
    color: #414ca9;
    text-decoration: 7px underline #414ca94d;
    text-underline-offset: 3px;
}

.subMenu nav ul li:hover a {
    color: #414ca9;
    text-decoration: 7px underline #414ca94d;
    text-underline-offset: 3px;
}

/* QnA__wrap */
#myPage__wrap {
    width: 75%;
    margin-bottom: 90px;
}

.myPage__inner {
    position: relative;
    width: 90% !important;
}

.myPage__tab {
    border-bottom: 1px solid #000;
    margin-bottom: 36px;
}

.myPage__tab__tit {
    display: inline-block;
    margin-bottom: 8px;
    color: #000;
    font-size: 30px;
    font-weight: 700;
    text-decoration: 6px underline #668ef3;
    text-underline-offset: 17px;
}

.myPage__inner .cont {
    background-color: #fff;
    border-radius: 20px;
    padding: 35px 45px 25px 142px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0px 0px 10px #dbdbdb;
}

.accept {
    position: relative;
    width: 75px;
    height: 123px;
    background: #f7fafd;
    border-radius: 5px 5px 50px 50px;
    position: absolute;
    top: -5px;
    left: 20px;
    text-align: center;
    font-size: 20px;
    color: #999;
    padding-top: 70px;
    opacity: 0;
}

.accept::before {
    content: "";
    width: 22px;
    height: 22px;
    background-image: url(../img/QnAIcons.svg);
    background-position: -120px 0;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: scale(1.5) translateX(-35%);
}

.QnA__title {
    width: 70%;
    font-size: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 45px;
}

.myPage__inner .cont .QnA__date {
    position: absolute;
    right: 40px;
    bottom: 30px;
    font-size: 18px;
    color: #666;
}
.myPageQuestion__btn .myPageQuestion__modify__btn {
    margin-right: 10px;
}
.myPageQuestion__btn .myPageQuestion__modify__btn,
.myPageQuestion__btn .myPageQuestion__delete__btn {
    display: inline-block;
    font-size: 20px;
    text-align: center;
    color: #414ca9;
    padding: 14px 36px 13px;
    border-radius: 10px;
    border: 1px solid #414ca9;
    margin-bottom: 40px;
    cursor: pointer;
    transition: all 0.2s;
}
.myPageQuestion__btn .myPageQuestion__modify__btn:hover,
.myPageQuestion__btn .myPageQuestion__delete__btn:hover {
    color: #fff;
    background: #414ca9;
}

/* icon */
.cont .icon {
    width: 100%;
}
.icon a {
    position: relative;
    margin-left: 25px;
    margin-right: 20px;
}

.icon a::before {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    top: -3px;
    left: -25px;
    background-image: url(../img/QnAIcons.svg);
}

.icon .AnserNum::before {
    background-position: -80px 0;
}

.icon .like::before {
    background-position: 0 -40px;
}

.icon .star.active::before {
    background-position: -40px 0;
}

.icon .like.active::before {
    background-position: -40px -40px;
}

.icon .answer {
    position: absolute;
    right: 10px;
    top: 20px;
}

@media (max-width: 770px) {
    .subMenu {
        width: 13%;
    }
    #myPage__wrap {
        width: 75%;
    }
    .myPage__inner {
        width: 95% !important;
        padding: 0;
        margin: 0 !important;
    }
    .subMenu h2 {
        font-size: 24px;
    }

    .subMenu ul li a {
        font-size: 20px !important;
    }

    .myPage__tab__tit {
        font-size: 20px;
        text-underline-offset: 13px;
        margin-right: 15px;
    }
    .icon {
        width: 100%;
    }
    .QnA__title {
        margin-bottom: 30px;
    }
    .accept {
        width: 50px;
    }
    .myPage__inner .cont .QnA__date {
        font-size: 15px;
        bottom: 5px;
    }
}

@media (max-width: 468px) {
    .subMenu h2 {
        font-size: 18px;
    }

    .subMenu ul li a {
        font-size: 16px !important;
    }

    .myPage {
        padding-top: 50px;
    }

    .myPage__tab {
        position: relative;
        /* display: flex; */
        justify-content: space-between;
        /* text-align: center; */
    }

    .myPage__tab__tit {
        font-size: 18px !important;
        width: 50%;
        margin-right: 0;
    }
    .accept {
        width: 40px;
        left: 5px;
    }
    .myPage__inner .cont {
        padding-right: 8px;
        padding-left: 57px;
    }
    .myPage__inner .cont .QnA__date {
        right: 20px;
    }
    .icon a {
        position: relative;
        margin-right: 15px;
        font-size: 14px;
    }
}
