.page-yamf p {
    margin-bottom: 0px;
    font-size: 16px;
    line-height: 1.5;
}

.page-yamf * {
    color: #000;
}

.page-yamf img {
    width: auto;
}

html {
    scroll-behavior: smooth;
}

.m-b-18 {
    margin-bottom: 18px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.m-b-30 {
    margin-bottom: 30px !important;
}

.m-b-38 {
    margin-bottom: 38px !important;
}

.m-b-40 {
    margin-bottom: 40px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.m-t-30 {
    margin-top: 30px !important;
}

.fs-30 {
    font-size: 30px !important;
    line-height: 1.5 !important;
}

.fs-20 {
    font-size: 20px !important;
    line-height: 1.5 !important;
}

.fs-18 {
    font-size: 18px !important;
    line-height: 1.5 !important;
}

.dis-flex {
    display: flex;
}

.jus-content-center {
    justify-content: center;
}

.align-baseline {
    align-items: baseline;
}

.w-100 {
    width: 100% !important;
}

.nav-yamf {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    padding: 10px 15px;
}

.nav-yamf a {
    color: #fff;
    font-size: 18px;
    padding: 20px 20px;
    border-right: 1px solid #ffffff5e;
    font-weight: bold;
}

.nav-yamf a span i {
    color: #000;
    line-height: 1;
}

.nav-yamf a span {
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    background: #fff;
    padding: 2px 7px 2px 8px;
}

.m-b-12 {
    margin-bottom: 12px !important;
}

.yamf-add {
    background: #f8f8f8 ;
    padding: 40px 0px 50px;
}

.yamf-1 {
    padding: 50px 0px 90px;
}

.yamf-1-text {
}

.yamf-1-text div {
    width: calc(50% - 30px);
}

.m-b-45 {
    margin-bottom: 45px !important;
}

.m-b-120 {
    margin-bottom: 120px !important;
}

.yamf-3 {
    padding-bottom: 25px;
}

.yamf-item {
    margin-bottom: 75px;
}

.yamf-item div {
    width: calc(50% - 25px);
}

.yamf-item .yamf-item-text h2 {
    font-size: 50px;
    font-width: bold;
}

.yamf-4-item {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    width: calc(100% /2 - 40px );
}

.yamf-4-item div {
    flex: 1;
    display: flex;
    align-items: center;
}

.yamf-item-label {
    font-size: 30px;
    line-height: 44px;
    background: #f8f8f8 ;
    text-align: center;
    padding: 4px 20px;
    font-weight: bold;
    margin-top: 20px;
    flex-shrink: 0;
    height: 52px;
}

.yamf-4 {
    padding: 100px 0px 55px;
}

.bg-black {
    background: #000;
    padding: 80px 0px 60px;
}

.list-item {
    flex-wrap: wrap;
}

.item-pro {
    width: calc(50% - 10px);
    background: #fff;
    padding: 24px 30px 28px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.item-pro>.m-b-30 {
    min-height: 520px;
    flex-shrink: 0;
}

.item-pro-infor {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-pro-infor h3 {
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
    flex-shrink: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.item-pro-infor ul {
    flex: 1;
}

.item-pro-infor ul li {
    display: flex;
    margin-bottom: 4px;
}

.item-pro-infor ul li .label-black {
    color: #fff;
    font-size: 16px;
    line-height: 17px;
    padding: 4px 8px;
    background: #000;
    min-width: 80px;
    margin-right: 15px;
    display: inline-block;
    text-align: center;
    height: fit-content;
}

.item-pro-infor ul li .txt-infor {
    font-size: 16px;
    line-height: 17px;
}

.item-pro > .dis-flex {
}

.txt-blue {
    color: #106fb8;
    text-decoration: underline;
    font-size: 16px;
    line-height: 20px;
}

.txt-price {
    font-size: 20px;
    line-height: 30px;
    color: #f20100;
    font-weight: bold;
}

.fs-60 {
    font-size: 60px !important;
    color: #f20100;
    font-weight: bold;
    line-height: 1;
}

.btn-pink, .btn-blue {
    padding: 15px 12px;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    line-height: 1;
    color: #fff !important;
    border-radius: 4px;
    margin: 0px 2px;
    width: 50%;
}

.btn-pink {
    background: #fd0071 ;
}

.btn-blue {
    background: #00b3e0;
}

.text-right {
    text-align: right;
}

.yamf-tw-twitter {
    padding: 90px 0px 120px;
    background: #f6f6f6;
}

.yamf-tw-twitter-content-right {
    width: 50%;
    margin: auto;
}

.container-yamf-tw .content-battle {
    display: block;
    overflow: auto;
    max-height: 620px;
    background: #edfcff;
}

.yamf-last {
    padding: 90px 0px 80px;
}

.yamf-last-content {
    width: 80%;
    margin: auto;
}

.yamf-last-text h2 {
    font-size: 36px;
    font-weight: bold;
}

.yamf-last-quanlity {
    max-width: 200px;
    text-align: right;
    margin-left: 30px ;
}

.yamf-last-img {
    width: 80%;
    max-height: 290px;
    overflow: hidden;
}

.yamf-last-img img {
    object-fit: cover;
}

.page-battle .list-item-stock {
    max-width: max-content;
    margin: 0px auto;
}

.page-battle .table-sizes {
    max-width: max-content;
    overflow-x: auto!important;
    overflow-y: auto!important;
    max-height: 406px;
}

.m-b-40 {
    margin-bottom: 40px !important;
}

/*---------------------------*/
.yamf-banner {
    min-height: 863px;
}

.nav-yamf {
    min-height: 82px;
}

.yamf-add {
    min-height: 433px;
}

.yamf-1 {
    min-height: 998px;
}

.yamf-3 {
    min-height: 833px;
}

@media (max-width: 1100px) {
    .text-center {
        text-align: center;
    }

    .yamf-banner {
        padding: 15px;
    }

    .yamf-add {
        padding: 24px 0px 30px;
    }

    .yamf-1 {
        padding-bottom: 75px;
    }

    .yamf-1-text div, .yamf-item div {
        width: 100%;
    }

    .nav-yamf {
        flex-wrap: wrap;
        padding: 0px;
    }

    .nav-yamf a {
        width: calc(100%/3);
        border: 0.5px solid #fff;
        text-align: center;
        font-size: 12px;
        padding: 12px 2px ;
    }

    .nav-yamf a span {
        margin-left: 4px;
    }

    .yamf-2 {
        padding: 0px 0px 60px;
    }

    .yamf-2-bottom {
        padding: 20px 10px;
    }

    .yamf-2-bottom .num {
        font-size: 13px;
        width: 20px;
        height: 20px ;
        min-width: 20px;
        margin-right: 4px;
    }

    .label-blue {
        font-size: 12px;
        margin-right: 4px;
        padding: 4px;
        text-align: center;
    }

    .yamf-item {
        margin-bottom: 50px;
    }

    .yamf-3 {
        padding-bottom: 0px;
    }

    .yamf-4 {
        padding: 30px 0px;
    }

    .list-item {
        flex-direction: column;
    }

    .item-pro {
        width: 100%;
        padding: 20px 15px;
    }

    .item-pro .dis-flex div:first-child {
        width: 40%;
        padding-right: 10px;
    }

    .item-pro .dis-flex div:last-child {
        width: calc(100% - 40%);
    }

    .item-pro-infor ul li .label-black {
        font-size: 14px;
        min-width: 50px;
        padding: 4px;
        margin-right: 8px;
    }

    .item-pro-infor h3 {
        font-size: 20px !important;
        line-height: 1 !important;
        padding-bottom: 10px;
    }

    .fs-60 {
        font-size: 40px !important;
    }

    .btn-pink, .btn-blue {
        padding: 10px 12px;
        font-size: 14px;
    }

    .yamf-tw-twitter, .yamf-last {
        padding: 50px 0px;
    }

    .fs-30 {
        font-size: 20px !important;
    }

    .fs-20 {
        font-size: 16px !important;
    }

    .yamf-tw-twitter-content-right, .yamf-last-content {
        width: 100%;
    }

    .yamf-last-img {
        width: 100%;
        max-height: 170px;
    }

    .fs-18 {
        font-size: 14px !important;
    }

    .yamf-last-quanlity {
        margin-left: 10px;
    }

    .container-yamf-tw .content-battle {
        max-height: 480px;
    }

    .nav-yamf a span {
        padding: 2px 5px 2px 6px;
    }

    .yamf-2-bottom .fs-20 {
        font-size: 14px !important;
    }

    .yamf-4 .dis-flex {
        display: block;
    }

    .yamf-4-item {
        width: calc(100% - 40px);
        margin: 0px auto 40px;
    }

    .yamf-banner {
        min-height: 375px;
    }

    .yamf-add {
        min-height: 184px;
    }
}

@media (max-width: 767px) {
    .yamf-item .yamf-item-text h2 {
        font-size: 30px;
    }

    .yamf-item-label {
        font-size: 20px;
        line-height: 24px;
        height: 32px;
    }
}

.sp-size-text .hover_bkgr_fricc-1.trigger_popup_fricc-battle-table > div {
    max-width: 90%;
    width: 90%;
}

.item-pro.sp-artfes-item > .m-b-30 {
    min-height: unset
}
.hover_bkgr_fricc-1 {
    background: rgba(0,0,0,.4);
    display: none;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

.hover_bkgr_fricc-1 .helper {
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.6);
    display: block;
}

.hover_bkgr_fricc-1 > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    height: auto;
    max-width: 50%;
    min-height: 100px;
    vertical-align: middle;
    width: 60%;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    padding: 15px;
    z-index: 999;
}

.popupCloseButton-1 {
    background-color: #fff;
    cursor: pointer;
    font-family: arial;
    font-size: 40px;
    line-height: 30px;
    text-align: center;
}
