@media (max-width: 1300px) and (min-width: 1001px) {
    .profile-preview .info-left {
        flex-direction: column;
        align-items: center;
    }

    .profile-preview .basic-infomation {
        margin-bottom: 30px;
    }

    .profile-preview .info-right {
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    .profile-preview .profile-input-rate {
        width: 120px;
        margin: 0 0 20px;
    }

    .profile-preview .contact-infomation {
        padding-top: 0;
    }
}

@media (max-width: 1300px) {
    .group-tab-content > [tab-content] {
        width: calc(100% - 380px - 15px);
    }

    .group-tab-title li:first-child {
        width: 380px;
    }

    .group-tab-content > [tab-content]:first-child {
        width: 380px;
    }

    .profile-editable:before {
        left: 380px;
    }

    .profile-editable:after {
        left: 388px;
    }

    .group-tab-title li span {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1000px) {
    .group-tab-title li span.fixed-sm {
        border-color: #fbbd00;
        opacity: 1;
        color: #333333;
        pointer-events: none;
    }

    .group-tab-content [tab-content].fixed-sm {
        display: block;
    }
}

@media (max-width: 1000px) {
    .profile-preview {
        justify-content: center;
    }

    .profile-preview .info-left {
        margin: 0 0 20px;
        width: 100%;
        justify-content: space-between;
    }

    .profile-preview .info-right {
        width: 100%;
        justify-content: space-between;
    }

    .profile-preview .profile-input-rate {
        margin: 0 20px 0 0;
    }

    .profile-editable:before,
    .profile-editable:after {
        display: none;
    }

    .group-tab-title li:first-child {
        width: auto;
    }

    .group-tab-title li {
        font-size: 13px;
    }

    .group-tab-content > [tab-content],
    .group-tab-content > [tab-content]:first-child {
        width: 100%;
        margin: 0;
    }

    .profile-preview {
        display: none !important;
    }
    
    .modal-list {
        padding: 15px 15px 5px;
    }

    .modal-profile.modal-tab.job-type-selection .modal-dialog .modal-body {
        padding-left: 330px;
        height: auto;
    }

    .search-overlay {
        width: 330px;
    }

    .modal-profile.modal-tab.job-type-selection .modal-dialog .modal-body:before {
        left: calc(330px - 1px);
    }

    .modal-profile.modal-tab.job-type-selection .modal-tab-title {
        top: 0 !important;
        font-size: 13px;
        width: 330px;
    }
}

@media (min-width: 641px) {
    .sp {
        display: none;
    }



    .repeat-btn:hover {
        background: #2a80b9;
        color: #fff;
    }

    .repeat-btn:hover:before,
    .repeat-btn:hover:after {
        background: #fff;
    }

    .accordion-button:hover {
        border-color: #999;
    }

    .modal-profile.modal-tab .modal-dialog .modal-footer .group-btn li .form-btn:hover {
        background: #e6e6e6;
    }

    .modal-profile.modal-tab .modal-dialog .modal-footer .group-btn li .form-btn[job-type-event="submit"]:hover {
        background: #fbbd00;
    }

    .modal-tab-title:not(.active):hover {
        background: #f1f1f1;
    }

    .group-add-attribute li .delete-row:hover {
        background: #888888;
        color: #fff;
    }

    .group-add-attribute li .delete-row:hover:before,
    .group-add-attribute li .delete-row:hover:after {
        background: #fff;
    }

    .job-type-search .wrap-input .close-search:hover:before,
    .job-type-search .wrap-input .close-search:hover:after {
        background: #dc3545;
    }

    .group-tab-title li span:hover {
        color: #666;
    }

    .form-btn.txt-blue:hover {
        color: #fff;
        background: #2a80b9;
    }

    .form-btn:hover {
        background-color: #e6e6e6;
    }

    .form-btn[button-event="submit"]:hover,
    input[type="submit"].form-btn:hover {
        background: #fbbd00;
    }

    .label-upload-file span:hover {
        background: #2a80b9;
        color: #fff;
        border-color: #2a80b9;
    }

    .delete-btn:hover {
        border-color: #f00;
    }

    .delete-btn:hover:before,
    .delete-btn:hover:after {
        background: #f00;
    }

    input[type="radio"].form-check-input.small+label:hover:before {
        border-width: 4px;
    }

    .modal-footer .group-btn li span[upload-event="submit"]:hover {
        background: #fbbd00;
    }

    .ownPicture .single-upload .filePreviewImage~.delete-btn:hover {
        border-color: #e62110;
    }

    .form-check input[type="checkbox"].small+label:hover:before {
        background: #ffe79d;
        border-color: transparent;
    }

    .form-check input[type="checkbox"].small:checked+label:hover:before {
        background: #ddd;
    }


    .help:hover {
        background: #007bff;
    }

    .modal-help .modal-footer .form-btn:hover {
        background: #3d88b8;
        color: #fff;
        border-color: transparent;
    }
}

@media (max-width: 640px) {
    .pc {
        display: none;
    }

    .profile-system {
        border: none;
        padding: 0 !important;
    }

    .group-tab-title {
        border-top: solid 1px #eeeeee;
        border-bottom: solid 1px #eeeeee;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        overflow: hidden;
    }

    .group-tab-title li {
        width: 25% !important;
        font-size: 13px;
        margin: 0 !important;
        border-right: solid 1px #eeeeee;
    }

    .group-tab-title li:last-child {
        border-right: none;
    }

    .group-tab-title li span {
        display: flex;
        width: 100%;
        height: 67px;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px 5px;
        position: relative;
        border: none !important;
        background: #FAFAFA;
    }

    .group-tab-title li span:before {
        content: "";
        width: calc(100% - 10px);
        height: 4px;
        background: #fbbd00;
        position: absolute;
        bottom: 9px;
        left: 5px;
        opacity: 0;
        transition: all 0.2s;
    }

    .group-tab-title li span.active {
        background: #fff;
    }

    .group-tab-title li span.active:before {
        opacity: 1;
    }

    .group-tab-content [tab-content] {
        padding: 15px 10px;
    }

    dl.field-input dt.field-name {
        padding-top: 4px;
    }

    .uploadImage {
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start;
    }

    dl.field-input.has-sub-item {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    dl.field-input dt.field-name {
        width: 105px !important;
        text-align: right !important;
        font-size: 11px;
    }

    dl.field-input dd.field-content {
        width: calc(100% - 105px) !important;
    }

    dl.field-input.has-sub-item>dt {
        width: 100% !important;
        padding: 17px 9px 5px;
        color: #666666;
        font-weight: bold;
        font-size: 13px;
        border-bottom: solid 1px #eeeeee;
        text-align: left !important;
    }

    dl.field-input.has-sub-item>dd {
        padding-left: 0;
        padding-right: 0;
        width: 100% !important;
    }

    .accordion-button {
        display: none;
    }

    [accordion-content] {
        display: block;
    }

    form {
        position: relative;
        padding-bottom: 90px;
        border-bottom: solid 1px #eee;
    }

    .form-title dd {
        position: absolute;
        bottom: 0;
        z-index: 1;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70px;
        margin-bottom: 15px;
    }

    .form-btn[button-event="edit"] {
        padding: 13px 20px 11px 30px;
        background-position: left 13px center;
        text-align: center;
        min-width: 200px;
    }

    form.onEdit [button-event="cancel"],
    form.onEdit [button-event="submit"],
    form.onEdit input[type="submit"].form-btn {
        padding: 13px 25px 11px;
        margin: 5px 10px;
        min-width: 120px;
        text-align: center;
    }

    .block-sp {
        display: block;
    }

    .block-sp:last-child {
        margin-bottom: 0;
    }

    .label-upload-file span,
    .form-btn.txt-blue {
        padding: 9px 30px 8px;
        min-width: 160px;
        text-align: center;
    }

    .form-title dt {
        font-size: 15px;
    }

    dl.field-input.block-sp {
        display: block;
        padding: 17px 10px 10px;
    }

    dl.field-input.block-sp>dt {
        width: 100% !important;
        display: block;
        border-right: none;
        text-align: left !important;
        font-size: 13px;
        font-weight: bold;
        padding: 0;
    }

    dl.field-input.block-sp>dd {
        width: 100% !important;
        display: block;
        border-left: none;
        padding: 0;
        margin: 15px 0 0 0;
    }

    .group-inline {
        margin-bottom: 0;
    }

    .modal-profile.modal-tab .modal-dialog .modal-body {
        height: auto;
        min-height: 40vh;
    }

    .modal-profile.modal-tab .modal-dialog .modal-body {
        padding: 0 !important;
    }

    .modal-profile.modal-tab .modal-dialog .modal-body:before {
        display: none;
    }

    .modal-profile.modal-tab .modal-tab-title {
        position: relative;
        width: 100% !important;
        border: solid 1px #eee;
        border-left: none;
        border-right: none;
        border-top: none;
        font-size: 14px !important;
        top: 0 !important;
        left: 0;
        height: auto;
        padding: 12px 30px 10px 10px !important;
        pointer-events: auto;
    }

    .modal-profile.modal-tab .modal-dialog .modal-header .job-type-search {
        width: calc(100% + 40px);
        border-bottom: 1px solid #dee2e6;
    }

    .search-overlay {
        display: none;
    }

    .search-overlay.open ~ .modal-tab-title {
        display: none;
    }

    .modal-list.active {
        display: none;
    }

    .modal-tab-title:before {
        width: 8px;
        height: 8px;
        border-top: solid 3px #999;
        border-right: solid 3px #999;
        transform: rotateZ(135deg);
        right: 15px;
        top: calc(50% - 5px);
    }

    .modal-tab-title.active {
        color: inherit;
        background: #fafafa;
    }

    .modal-tab-title.active:before {
        border-color: #999;
    }

    .modal-tab-title.open {
        background: #fff;
        color: #f1b500;
        border-color: #f1b500 !important;
    }

    .modal-tab-title.open:before {
        transform: rotateZ(-45deg);
        top: calc(50% - 4px);
        border-color: #f1b500;
    }

    .job-type-category {
        margin-bottom: 15px;
    }

    .job-type-category:last-child {
        margin-bottom: 0;
    }

    .list-attributes {
        padding: 0;
    }

    .list-attributes li {
        padding-left: 10px;
        margin-bottom: 12px;
    }

    .modal-profile .modal-dialog {
        margin-bottom: 70px;
    }

    .onEdit .align-top-sp {
        margin-bottom: auto !important;
        padding-top: 8px;
    }

    .onEdit .require .align-top-sp {
        padding-top: 3px;
    }

    .limit-input:last-child {
        margin-bottom: 0;
    }

    .flex-sp {
        display: flex;
    }
}

@media (max-width: 425px) {
    .group-picture-preview li {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .group-picture-preview li .comment {
        width: 100%;
        margin-top: 4px;
        font-size: 11px;
    }

    .list-attributes li {
        width: 100%;
    }

    .modal-profile .modal-dialog h5 .sub-info {
        margin-left: 10px;
    }

    .min-size-180 {
        min-width: 160px;
    }

    .modal-upload .modal-body {
        padding: 15px;
    }

    .single-upload {
        padding: 10px;
    }

    .filePreviewImage {
        margin-right: 10px;
    }

    .single-upload .label-upload-file span {
        min-width: 100px;
    }
}

@media (max-width: 375px) {
    .group-tab-title li {
        font-size: 11px;
    }

    /*    dl.field-input:not(.has-sub-item) dt.field-name {
        width: 90px !important;
    }

    dl.field-input:not(.has-sub-item) dd.field-content {
        width: calc(100% - 90px) !important
    }*/
}