/*============================================ TOPBAR ============================================*/
.layout-topbar .topbar-item-top {
    border-left: 1px solid #cdd5e6;
    margin: 0;
    /*width: 107px;*/
    justify-content: center;
    align-items: center;
    padding: 14px 0;
    width: 100%;
}
.layout-topbar .topbar-item-top.cart {
    margin-right: -1.5em;
}
.topbar-course-table{
    margin-top: 0em !important;
    margin-bottom: 0em !important;
    box-shadow: -5px 5px 5px -1px rgb(0 0 0 / 8%);
    -webkit-box-shadow: -5px 5px 5px -1px rgb(0 0 0 / 8%);
    -moz-box-shadow: -5px 5px 5px -1px rgb(0 0 0 / 8%);
}
.icon-topbar {
    height: 23px;
    text-align: center;
    margin-bottom: 14px;
}
.layout-topbar .icon-topbar img {
    height: 100%;
}
.chevronn {
    height: 21px;
    width: 23px;
    clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    background: #0f3587;
    position: relative;
    transform: rotate(180deg);
    margin: auto;
}
.chevronn::after {
    content: '';
    height: 23px;
    width: 25px;
    clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    background: white;
    position: absolute;
    left: -1px;
}
.topbar-item-top button {
    border: none;
    border-radius: 50%;
    background-color: #123a89;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-item-top a.profile img {
    width: 60%;
    border-radius: 50%;
}
.layout-topbar .layout-topbar-top {
    align-items: stretch;
    margin: 0;
    padding: 0;
    width: 100%;
}
.layout-topbar-wrap {
    justify-content: space-between;
}
.topbar-item-top .chevronn {
    margin-top: 12px;
    margin-bottom: -13px;
}
.article .icon-topbar img {
    height: 93%;
}
.course .icon-topbar img {
    height: 80%;
    margin-top: 8%;
}
.layout-topbar .topbar-item-top.category {
    /*position: relative;*/
}
.layout-topbar .topbar-item-top.category .topbar-category {
    max-height: 0px;
    top: calc(100% - 4px);
    transform: translateX(-50%);
    left: 50%;
    width: 83%;
    max-width: 1240px;
}
.layout-topbar .topbar-item-top.category:hover .topbar-category {
    max-height: 1000px;
}
.departmen-course-table p{
    margin: 0;
    word-break: keep-all;
    font-size: 14px;
}
.departmen-course-table{
    border-collapse: collapse;
    width: -webkit-fill-available;
}
.departmen-course-table tr td{
    padding: 1em 1.5em;
    width: 200px;
    border: 1px solid #e5e5e5;
}
.dep-course-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
}
.dep-course-wrap a{
    color: #000000;
}
.box-arrow-knit{
    border: 1px solid #aa7b53;
    height: 25px;
    width: 25px;
    background-color: #aa7b53;
    min-width: 25px;
    position: relative;
}
.box-arrow-embroidery{
    border: 1px solid #f4618e;
    height: 25px;
    width: 25px;
    background-color: #f4618e;
    min-width: 25px;
    position: relative;
}
.box-arrow-lace{
    border: 1px solid #66bfd9;
    height: 25px;
    width: 25px;
    background-color: #66bfd9;
    min-width: 25px;
    position: relative;
}
.deactive-box-arrow{
    opacity: 0.4;
}
.box-arrow-quilt{
    border: 1px solid #b06dc8;
    height: 25px;
    width: 25px;
    background-color: #b06dc8;
    min-width: 25px;
    position: relative;
}
.box-arrow-paint{
    border: 1px solid #2ecaa0;
    height: 25px;
    width: 25px;
    background-color: #2ecaa0;
    min-width: 25px;
    position: relative;
}
.box-arrow-handwoven{
    border: 1px solid #81b32d;
    height: 25px;
    width: 25px;
    background-color: #81b32d;
    min-width: 25px;
    position: relative;
}
.box-arrow-leather{
    border: 1px solid #ffb401;
    height: 25px;
    width: 25px;
    background-color: #ffb401;
    min-width: 25px;
    position: relative;
}
.box-arrow-calligraphy{
    border: 1px solid #c9a966;
    height: 25px;
    width: 25px;
    background-color: #c9a966;
    min-width: 25px;
    position: relative;
}
.box-arrow-sewing{
    border: 1px solid #1190c6;
    height: 25px;
    width: 25px;
    background-color: #1190c6;
    min-width: 25px;
    position: relative;
}
.box-arrow-other{
    border: 1px solid #ed8e60;
    height: 25px;
    width: 25px;
    background-color: #ed8e60;
    min-width: 25px;
    position: relative;
}
.arrow-departmen-course{
    content: '';
    width: 7px;
    height: 7px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(45deg);
    position: absolute;
    left: 6px;
    top: 8px
}

.topbar-category {
    max-height: 0;
    position: absolute;
    overflow: hidden;
    top: 100%;
    background-color: #ffffff;
    color: white;
    width: max-content;
    z-index: 1;
    transition: 500ms ease 0s;
    transform: translateX(130px);
}
.topbar-category a {
    color: white;
}
.topbar-category ul {
    list-style: none;
    padding: .5em 0;
}
.topbar-category ul li {
    margin: .5em 1em;
}
.topbar-category ul li a:hover {
    color: #ffffff;
}
.topbar-item-top button:hover {
    background-color: rgb(255, 135, 101);
    cursor: pointer;
}
#topbar-menu-top {
    width: 100%;
    max-width: 865px;
    margin-left: 2em;
}
.layout-topbar .topbar-item-top:first-child {
    /*border: none;*/
}
.topbar-item-top.cart .icon-cart-pc::before {
    width: 26px;
    height: 26px;
    position: absolute;
    margin: auto;
    image-rendering: -webkit-optimize-contrast;
}
.topbar-item-top.cart .icon-login-pc::before {
    width: 26px;
    height: 26px;
    position: absolute;
    margin: auto;
    image-rendering: -webkit-optimize-contrast;
}
.topbar-item-top.cart .icon-about-pc::before {
    width: 26px;
    height: 26px;
    position: absolute;
    margin: auto;
    image-rendering: -webkit-optimize-contrast;
}
.topbar-item-top.cart .cart-num {
    top: -4px;
    right: -1px;
    min-width: 23px;
    width: 23px;
    height: 23px;
}
.cart-num .dot-cart {
    line-height: 19px;
}
.layout-topbar .topbar-item-top.login {
    border-left: none;
    max-width: 44px;
}
.wrap-topbar-cart {
    position: relative;
}
.contact .icon-topbar img {
    height: 76%;
    margin-top: 3%;
}

/*cart style 2*/
.cart-style-2 {
    flex-flow: nowrap;
    padding: 0;
}
.topbar-item-top.cart-style-2 button {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    margin: 0 5px 0 0;/*0 0 0 1em;*/
}
.layout-topbar .topbar-item-top.cart-style-2 {
    padding: 0;
    align-items: center;
    border-left: none;
    display: flex;
    justify-content: flex-start;
}
.layout-topbar .cart-style-2 .topbar-item-top.login {
    padding: 0;
}
.topbar-item-top.cart.cart-style-2 .icon-about-pc::before {
    width: 25px;
    height: 25px;
}
.topbar-item-top.cart.cart-style-2 .icon-cart-pc::before {
    width: 26px;
    height: 26px;
}
.topbar-item-top.cart.cart-style-2 .icon-login-pc::before {
    width: 24px;
    height: 26px;
}
.layout-topbar .topbar-item-top.cart-style-2 form {
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 0;
}
.cart-style-2 span {
    word-break: keep-all;
    margin-left: 0;
    color: #222;
    display: block;
}

/*new topbar*/
.layout-topbar-top-wrap {
    justify-content: space-between;
}
.topbar-top-txt p {
    color: #484848;
    font-size: 14px;
    font-family: 'Hiragino Kaku Gothic ProN';
}
.topbar-top-btn-wrap {
    display: flex;
    align-items: center;
    margin: 0 auto;
    float: none;
    padding: 0;
    padding-right: 0.5em;
}
.topbar-search .wrapper {
    margin: 0;
}
.topbar-search .btn-search {
    background-color: #5E81AC;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-left: 1em;
}
.topbar-search .btn-search .ui-button-text {
    word-break: keep-all;
}
.topbar-search .wrap-form {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}
.topbar-search .input-search {
    width: 100%;
}
.topbar-search form {
    display: inline-flex;
    background: #fff;
    height: 35px;
    vertical-align: middle;
    float: right;
    position: relative;
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    max-width: 280px;
    min-width: 160px;
}
.topbar-search input {
    width: 100%;
    border-radius: 5px;
    border: 0;
    padding-right: 3em;
    font-size: 13px;
}
.topbar-search button {
    height: 33px;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: transparent!important;
    padding: 0 .5em;
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    position: absolute;
    right: 0;
    border: none!important;
}
.topbar-search .ui-button.ui-state-hover, .topbar-search .ui-button.ui-state-focus {
    background-color: #fff;
    border-color: #fff;
    box-shadow: none;
    transition: 500ms ease 0s;
}
.topbar-search  .ui-inputfield.ui-state-hover:not(.ui-state-error) {
    box-shadow: 0 0 0 0.2rem rgba(105, 39, 39, 0.25);
}
.topbar-search .ui-button.ui-button-text-only .ui-button-text {
    font-size: 14px;
    line-height: 1em;
}
.topbar-search .ui-messages {
    position: absolute;
    top: 10%;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
}
.topbar-top-search{
    padding-right: 0;
    padding-left: 1em;
}
.ui-button-text-icon-right .ui-icon .top-search-btn {
    position: absolute;
    top: 45%;
    width: 16px;
    font-size: 18px;
    margin-left: -10px;
}
.search-box-main button:hover .fa-search {
    opacity: .6;
    transition: 500ms ease 0s;
}
.search-box-main button .fa-search {
    color: #8b3333;
}
.search-box-main button .ui-button.ui-button-icon-only .ui-icon {
    margin-top: -8px;
}
.search-box-main {
    margin-right: .3em;
    width: 100%;
}
.ui-button.ui-button-icon-only .ui-icon.fa-search2 {
    margin: 0;
    left: 8px;
    top: 7px;
    width: 18px;
}
.fa-search2::before {
    content: "";
    background-image: url(../../resources/jhia/images/mag-icon-grey.png);
    background-size: cover;
    height: 18px;
    width: 18px;
    display: inline-block;
    /*image-rendering: optimizespeed;*/
}
.topbar-top-login {
    padding-left: 1em;
}

/* cartnumber */
.dot-cart {
    text-align: center;
    z-index: 1;
    margin-left: -1em;
    position: absolute;
    height: 20px;
    width: 20px;
    background-color: #f9b672;
    border-radius: 50%;
    color: #ffffff;
    top: -2px;
}
.dot-cart span {
    margin-left: 0;
    color: #fff;
    font-size: 12px;
}
/*============================================ END TOPBAR ============================================*/

/*============================================ FOOTER ============================================*/
.wrap-footer-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 0 0.5em;
}
.footer-guide-wrap img {
    height: 27px;
    width: auto;
    margin: auto;
    display: block;
}
.footer-guide-wrap {
    display: flex;
}
.footer-guide-wrap .guide {
    margin: 0 1em;
}
.bottom-link-new p::before {
    content: '';
    border-right: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    transform: rotate(45deg);
    height: 7px;
    width: 7px;
    display: inline-block;
    margin-right: 1.4em;
}
.bottom-link-new p {
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
}
.bottom-link-new {
    display: flex;
    flex-wrap: wrap;
    padding: 0.5em 0 0.6em;
}
.bottom-link-new a {
    width: 20%;
}
/*.bottom-link-new a:nth-child(6n) {
    width: 12.5%;
}*/
.footer-btm .bottom-menu {
    padding: 0;
    list-style: none;
    display: table;
    margin: 0;
    text-align: left;
}
.footer-btm .bottom-menu li:first-child {
    margin-left: 0;
}
.footer-btm .bottom-menu a {
    color: #ffffff;
    font-size: 16px;
}
.footer-btm .bottom-menu li {
    display: inline-block;
    margin: 0 4em 0 0;
    font-size: 14px;
}
.bottom-link-new p {
    margin: 0.2em 8px;
    padding: .5em 0 0.25em;
}
.bottom-link-new a:nth-child(n+6) p {
    padding-top: .25em;
    padding-bottom: .5em;
}
.footer-jhia-new a:hover {
    color: #ff8765;
}
.footer-jhia-new a:hover p {
    color: #ff8765;
}
.footer-guide-wrap .guide:last-of-type {
    margin-right: 0;
}
.footer-guide-wrap p {
    margin-bottom: 0;
    margin-top: 0.5em;
    font-size: 14px;
}
.wrap-bottom-menu {
    display: flex;
    justify-content: space-between;
    margin: 0.5em 0 0.6em;
    align-items: center;
}
.footer-sns-wrap {
    display: flex;
    position: relative;
    top: 2px;
}
.footer-sns-wrap .sns {
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    border-radius: 50%;
}
.footer-sns-wrap .sns i {
    font-size: 22px;
    line-height: 36px;
    color: #003884;
}
.footer-sns-wrap .sns img {
    width: 22px;
    height: 22px;
    margin-top: 7px;
}
.footer-sns-wrap a {
    margin: 3px 6px 0;
}
.footer-sns-wrap a:last-child {
    margin-right: 0;
}
.footer-jhia-new a:hover p {
    transition: 500ms ease 0s;
}
.footer-jhia-new a:hover {
    transition: 500ms ease 0s;
}
.footer-jhia-new .footer-line {
    padding: 0;
}
.footer-jhia-new .footer-bttm {
    padding: 0;
    width: calc(100% + 16px);
    margin-left: -8px;
}
.cart-style-2 .gallery form,.cart-style-2 .login form, .cart-style-2 #container-cart-quantity form{
    margin-right: 10px;
}
/*============================================ END FOOTER ============================================*/


/*ipad pro*/
@media only screen and (max-width: 1024px) {
    /*============================================ TOPBAR (1024px) ============================================*/
    .layout-topbar-wrap {
        width: 95%;
    }
    #topbar-menu-top {
        max-width: 695px;
    }
    .topbar-category {
        transform: translateX(168px);
    }
    .layout-topbar .topbar-item-top.category .topbar-category {
        width: 95%;
    }
    .departmen-course-table tr td {
        padding: 1em;
    }
    .layout-topbar .topbar-item-top.cart-style-2 {
        padding:  0 2em 0 0em;
        align-items: center;
        border-left: none;
        display: flex;
        justify-content: flex-end;
    }
    /*    .topbar-top-search {
            padding-right: 1em;
        }*/
    .topbar-item-top.cart-style-2 button {
        margin: 0px 0 0 0.5em;
    }
    .cart-style-2 span {
        word-break: keep-all;
        margin-left: 0.5em;
        color: #222;
        display: none;
    }
    .topbar-top-btn-wrap {
        padding-right: 0;
    }
    /*============================================ END TOPBAR (1024px) ============================================*/


    /*============================================ FOOTER (1024px) ============================================*/

}

/* iPad */
@media screen and (max-width: 768px) {
    /*============================================ TOPBAR (768PX) ============================================*/
    .header-logo img {
        height: 42px;
        width: auto;
    }
    .mobile-top-bar {
        justify-content: space-between;
        height: 62px;
    }
    .layout-topbar .topbar-item-top {
        margin: auto 0;
        width: 33.333%;
        border: none;
        text-align: center;
    }
    .layout-topbar-top {
        flex-wrap: wrap;
    }
    .icon-topbar {
        height: 38px;
    }
    .topbar-item-top .chevronn {
        display: inline-block;
        width: 15px;
        height: 14px;
        margin-bottom: -7px;
        margin-left: 1em;
    }
    .topbar-item-top .chevronn::after {
        width: 17px;
        height: 16px;
    }
    .layout-topbar .layout-topbar-top {
        justify-content: flex-start;
    }
    .topbar-item-top button {
        margin: auto;
    }
    .wrap-topbar-cart {
        display: table;
        margin: auto;
    }
    .topbar-item-top.cart .cart-num {
        top: 12px;
    }
    .layout-topbar .topbar-item-top.cart {
        padding: 0 0 .5em;
        max-width: 90px;
    }
    .layout-topbar .topbar-item-top.login {
        padding: 0 0 .5em;
        max-width: 90px;
    }
    .topbar-category {
        max-height: unset;
        position: unset;
        transform: none;
        width: 100%;
        margin-bottom: 1em;
        padding: 0 13em;
    }
    .topbar-category table tr {
        display: flex;
        flex-wrap: wrap;
    }
    .topbar-category table tr td {
        width: calc(50% - 1em);
        border: none;
        border-bottom: 1px dashed #a2a2a2;
        padding: .6em 0;
        margin: 0 .5em;
    }
    .topbar-category table tr td:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .cart-style-2 span {
        margin-right: 1em;
        display: block;
    }
    .topbar-search form {
        max-width: 400px;
    }

    /*cart style 2*/
    .layout-topbar .topbar-item-top.cart-style-2 {
        width: auto;
        max-width: none;
        margin: auto;
        display: flex;
    }
    .cart-style-2 .wrap-topbar-cart {
        margin: 0;
    }
    .mobile-menu-list .topbar-btn-menu .cart-style-2 .ui-button:last-of-type {
        margin: 8px 0;
    }
    .topbar-top-search {
        padding-left: 0;
    }
    /*============================================ END TOPBAR (768PX) ============================================*/

    /*============================================ FOOTER (768PX) ============================================*/
    .bottom-link-new a {
        width: 25%;
    }
    .bottom-link-new a:nth-child(6n) {
        width: 25%;
    }
    .footer-btm .bottom-menu li {
        margin: 0.5em 2em 0 0;
    }
    /*============================================ END FOOTER (768PX) ============================================*/
}

/* Smarthphone */
@media screen and (max-width: 40.063em) {
    /*============================================ TOPBAR (SM) ============================================*/
    .header-logo img {
        height: 32px;
    }
    .icon-topbar {
        height: 33px;
    }
    .mobile-top-bar {
        height: 52px;
    }
    .mobile-menu-list .topbar-category {
        padding: 0;
    }
    .mobile-menu-list .topbar-category table tr td {
        width: calc(50% - 1em);
        border-bottom: 1px dashed #a2a2a2;
        padding: .6em 0;
        margin: 0 .5em;
    }
    .mobile-menu-list .topbar-category table tr {
        flex-direction: row;
    }
    .mobile-menu-list .topbar-category table tr td:last-child {
        width: calc(50% - 1em);
        padding: .6em 0;
    }
    .mobile-menu-list .topbar-category table tr td:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .mobile-menu-list .topbar-category .box-arrow {
        height: 22px;
        width: 22px;
        min-width: 22px;
    }
    .mobile-menu-list .topbar-category .arrow-departmen-course {
        left: 5px;
        top: 6px;
    }
    .footer-jhia-new .footer-bttm {
        margin-top: 1em;
    }
    .cart-style-2 span {
        margin-right: 1em;
    }
    .topbar-btn-menu {
        display: block;
    }
    .topbar-search form {
        max-width: 400px;
    }
    #mobile-menu {
        overflow: hidden;
    }
    .layout-topbar .topbar-item-top.cart-style-2 {
        padding: 0 0 0 0em;
    }
    /*============================================ END TOPBAR (SM) ============================================*/

    /*============================================ FOOTER (SM) ============================================*/
    .wrap-footer-1 {
        flex-flow: column;
        padding-bottom: 1.2em;
    }
    .bottom-link-new a {
        width: 50%;
    }
    .bottom-link-new a:nth-child(6n) {
        width: 50%;
    }
    .jhia-footer-logo {
        max-width: 195px;
        margin: 0;
    }
    a.link-logo-footer {
        margin-bottom: 0;
    }
    .footer-guide-wrap {
        margin: 2.5em auto 0;
    }
    .footer-guide-wrap img {
        height: 22px;
    }
    .footer-guide-wrap {
        margin-right: auto;
    }
    .footer-guide-wrap .guide:first-of-type {
        margin-left: 0;
    }
    .wrap-bottom-menu {
        flex-flow: column;
        margin: .8em 0 0.5em;
    }
    .footer-sns-wrap {
        margin-top: 2.2em;
        margin-bottom: .7em;
    }
    .bottom-link-new p {
        margin: 0 0.5em;
    }
    .bottom-link-new {
        padding: 0 0 1em;
    }
    .footer-line {
        padding: 0;
    }
    .footer-btm .bottom-menu li {
        margin: 0.5em 1.5em 0 0;
    }
    .bottom-link-text {
        text-align: center;
        margin-bottom: 1.5em;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-top: 1em;
    }
    p.copyright {
        text-align: center;
    }
    .bottom-link-new p {
        padding: .25em 0 0.25em;
    }
    .bottom-link-new a:nth-child(n+6) p {
        padding-top: .25em;
        padding-bottom: .25em;
    }
    .bottom-link-new p::before {
        margin-right: 10px;
    }
    /*============================================ END FOOTER (SM) ============================================*/
}
@media screen and (max-width: 820px){
    .layout-topbar .topbar-item-top.cart-style-2 {
        padding: 0 4em 0 1em;
    }
    .layout-topbar .topbar-item-top.cart-style-2 {
        padding: 0;
        align-items: center;
        border-left: none;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

@media screen and (min-width:1024px) and (max-width:1430px){
    /*    .cart-style-2 span {
            word-break: keep-all;
            margin-left: 0.5em;
            color: #222;
            display: none;
        }
        .layout-topbar .topbar-item-top.cart-style-2 {
            padding: 0 2em 0 0em;
            align-items: center;
            border-left: none;
            display: flex;
            justify-content: flex-end;
        }*/
}

@media screen and (min-width: 1440px) and (max-width: 2560px) {
    .layout-topbar .topbar-item-top.cart-style-2 {
        padding: 0 4em 0 4.5em;
    }
}