.step{
    padding: 80px 0;
    background-color: var(--color-gold-10);
}

.step__items{
    display: flex;
    justify-content: space-between;
    align-items: c;
    gap: 16px;
}

.step__item{
    display: flex;
    flex-direction: column;
    width: calc(25% - 12px);
    border: 1px solid var(--color-green-main);
}

.step__header{
    background-color: var(--color-green-main);
    padding: 8px 16px;
    text-align: center;
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
}

.step__content{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: var(--color-white);
    color: var(--color-black-main);
    font-weight: var(--font-weight-medium);
    height: 100%;
    font-size: 18px;
    line-height: var(--line-height-md);
    position: relative;
}

@media screen and (max-width: 992px) {
    .step__content{
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .step__items{
        flex-wrap: wrap;
    }

    .step__item{
        width: calc(50% - 8px);
        box-sizing: border-box;
    }
}


.step__content::after{
    position: absolute;
    content: '';
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 32px solid var(--color-gold-main);
    border-right: 0;
    z-index: 1;
}

.step__item:last-child .step__content::after{
    display: none;
}

@media screen and (max-width: 768px) {
    .step__content::after{
        display: none;
    }
}

.detail{
    padding: 40px 0 80px;
    background-color: var(--color-gold-10);
}

.detail__items{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

@media screen and (max-width: 992px) {
    .detail__items{
        gap: 40px 24px;
    }
}

.detail__item{
    display: flex;
    flex-direction: column;
    width: calc(50% - 20px);
    position: relative;
    border: 1px solid var(--color-black-20);
    border-radius: 16px;
    box-sizing: border-box;
}

@media screen and (max-width: 992px) {
    .detail__item{
        width: calc(50% - 12px);
    }
}

@media screen and (max-width: 768px) {
    .detail__item{
        width: 100%;
    }
}

.detail__item-img{
    width: 100%;
    height: 320px;
    flex-shrink: 0;
}

.detail__item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.detail__item-content{
    padding: 24px;
    position: relative;
    background-color: var(--color-white);
    height: 100%;
    border-radius: 0 0 16px 16px;
}

@media screen and (max-width: 768px) {
    .detail__item-content{
        padding: 16px;
    }
}

.detail__item-desc{
    color: var(--color-green-80);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
}

@media screen and (max-width: 992px) {
    .detail__item-desc{
        font-size: 12px;
    }
}

.detail__item-title{
    color: var(--color-green-main);
    font-weight: var(--font-weight-bold);
    font-size: 24px;
    margin-bottom: 16px;
    position: relative;
    z-index: 100;
}

.detail__item-title br{
    display: none;
}

@media screen and (max-width: 480px) {
    .detail__item-title br{
        display: block;
    }
}

.detail__body-txt{
    line-height: var(--line-height-md);
    margin-bottom: 16px;
    word-break: auto-phrase;
}

@media screen and (max-width: 768px) {
    .detail__body-txt{
        font-size: 16px;
        word-break: normal;
    }

    .detail__body-txt br{
        display: none;
    }
}

.detail__body-notion{
    line-height: var(--line-height-md);
    font-size: 14px;
    color: var(--color-black-80);
}

@media screen and (max-width: 768px) {
    .detail__body-notion{
        font-size: 12px;
    }
}

.detail__item-ribbon{
    background-color: var(--color-gold-main);
    color: var(--color-green-main);
    padding: 16px;
    position: absolute;
    top: 0px;
    right: 24px;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 50% 66%, 0 100%);
}

@media screen and (max-width: 992px) {
    .detail__item-ribbon{
        right: 16px;
        padding: 8px;
    }
}

@media screen and (max-width: 768px) {
    .detail__item-ribbon{
        padding: 16px;
    }
}

@media screen and (max-width: 480px) {
    .detail__item-ribbon{
        padding: 8px;
    }
}

.detail__item-ribbon span{
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    margin-bottom: 16px;
}

.detail__item-num{
    background-color: var(--color-green-main);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    font-size: 24px;
    line-height: var(--line-height-zero);
    position: absolute;
    top:-32px;
    left:-24px;
}

@media screen and (max-width: 1200px) {
    .detail__item-num{
        top:-32px;
        left: 16px;
    }
}

.detail__item-num span{
    font-size: 14px;
}