.yp-navigation {
     position: relative;
     display: block;
     text-align: center;
     width: 100%;
     max-width: 1000px;
}
 .yp-navigation .yp_nav-item {
     display: inline-block;
     margin-right: 20px;
     margin-bottom: 20px;
     cursor: pointer;
     opacity: 0.8;
}
 .yp-navigation .yp_nav-item .p-icon {
     display: flex;
     justify-content: center;
     padding-bottom: 5px;
}
 .e-icon {
     width: 100%;
     height: auto;
     max-width: 54px;
     display: block;
}
 .yp-icon_hover {
     display: none;
}
 .yp-navigation .yp_nav-item .p-text {
     font-size: 16px;
     display: block;
     font-weight: 600;
}
 .yp-tab_cat {
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     position: relative;
}
.item-content {
    display: none;
    gap: 45px;
}
.item-content.active {
    display: flex;
    flex-direction: column;
}
.yp-content-box {
    width: 100%;
}
.yp-content-box:before {
    content: '';
    display: block;
    height: 1px;
    background: #df0000;
    width: 100%;
    max-width: 130px;
    margin: 30px auto 47px;
    border-radius: 20px;
}
.item-content .text-detail{
    display: block;
    width: 100%;
    max-width: 750px;
    position: relative;
    margin: 0 auto;
}
.yp-content-box .item-content img {
    display: block;
    width: 100%;
    max-width: 100%;
}
.item-content .text-detail {
    font-size: 20px;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}
.item-content .text-detail {
    font-size: 20px;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}
.yp_nav-item.active .yp-icon_hover {
    display: block;
}
.yp_nav-item.active {
    opacity: 1;
}
.yp_nav-item.active .yp-icon {
    display: none;
}


  /*ipad (tablet)*/
  @media (max-width: 1024px) {
        
}
/*iphone8 (smartphone)*/
@media (max-width: 767px) {
    .e-icon {
        max-width: 40px;
    }
    .yp-navigation .yp_nav-item .p-text {
        font-size: 14px;
    }
    .yp-navigation .yp_nav-item {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .yp-content-box:before {
        margin: 30px auto 40px;
        max-width: 80px;
    }
    .item-content .text-detail {
        font-size: 16px;
    }

}

