@charset "utf-8";

.common_service {
    padding-bottom: 120px;
    font-size: 16px;
}

.common_service a {
    text-decoration: none;
}

.common_service .flex_sb {
    flex-wrap: wrap;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: space-between;
}

.common_service .link_list {
    padding-bottom: 5px;
    border-bottom: 1px solid #D3D3D3;
}

.common_service .link_item a {
    font-family: "YuGoPr6N-B", sans-serif;
    font-weight: 700;
    position: relative;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    color: #000;
    text-decoration: none;
}

.common_service .link_item a::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #005aa0;
    position: absolute;
    left: 50%;
    bottom: -12px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.common_service .solution_block {
    margin-top: 47px;
}

.common_service .accordion_button {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
    border: none;
    padding: 15px 20px;
    width: 100%;
    background-color: #005aa0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}

.common_service .accordion_button img {
    width: 30px;
    height: 30px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.common_service .accordion_button.nowOpen img {
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

.common_service .button_title {
    font-family: "YuGoPr6N-B", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
}

.common_service .button_title::before {
    content: "";
    display: inline-block;
}

.common_service #document_reduction .button_title::before {
    width: 31.6px;
    height: 30.6px;
    background: url(https://www.mbp-co.net/wp-content/themes/child/image/deco01_title.svg) no-repeat center center/contain;
}

.common_service #digital_archiving .button_title::before {
    width: 23.4px;
    height: 30px;
    background: url(https://www.mbp-co.net/wp-content/themes/child/image/deco02_title.svg) no-repeat center center/contain;
}

.common_service #office_work_outsource .button_title::before {
    width: 31.3px;
    height: 27.9px;
    background: url(https://www.mbp-co.net/wp-content/themes/child/image/deco03_title.svg) no-repeat center center/contain;
}

.common_service #document_management .button_title::before {
    width: 31.9px;
    height: 27px;
    background: url(https://www.mbp-co.net/wp-content/themes/child/image/deco04_title.svg) no-repeat center center/contain;
}

.common_service #logistics_outsource .button_title::before {
    width: 35.2px;
    height: 32.1px;
    background: url(https://www.mbp-co.net/wp-content/themes/child/image/deco05_title.svg) no-repeat center center/contain;
}

.common_service .top_card {
    margin-top: 40px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 50px;
}

.common_service .img {
    width: 300px;
}

.common_service .img img {
    width: 100%;
    aspect-ratio: 300/180;
    -o-object-fit: cover;
    object-fit: cover;
}

.common_service .text {
    width: 664px;
    letter-spacing: 0.02em;
    line-height: 1.8;
}

.common_service .item_list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.common_service .item_card a {
    background-color: #F7F7F7;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.common_service .item_img {
    width: 150px;
}

.common_service .item_img img {
    width: 100%;
    aspect-ratio: 150/170;
    -o-object-fit: cover;
    object-fit: cover;
}

.common_service .text_block {
    padding: 0 30px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.common_service .text_block img {
    width: 30px;
    height: 30px;
}

.common_service .item_title {
    font-family: "YuGoPr6N-B", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.6;
    color: #000;
}

.common_service .item_text {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #000;
}

.common_service .closeBtnHat {
    display: none;
}

@media (max-width: 750px) {

    /* SP_service */
    .common_service {
        padding-bottom: 18.5vw;
    }

    .common_service .link_list {
        margin-top: 6.9vw;
        padding-bottom: 0;
        border-bottom: none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .common_service .link_item {
        padding-bottom: 0.6vw;
        border-bottom: 1px solid #D3D3D3;
        position: relative;
    }

    .common_service .link_item:not(:first-of-type) {
        margin-top: 4.1vw;
    }

    .common_service .link_item::before {
        content: "";
        width: 3.1vw;
        height: 3.1vw;
        background: url(https://www.mbp-co.net/wp-content/themes/child/image/arrow_upward.svg) no-repeat center center/contain;
        position: absolute;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%) rotate(180deg);
        transform: translateY(-50%) rotate(180deg);
    }

    .common_service .link_item a {
        font-size: 3.8vw;
    }

    .common_service .link_item a::after {
        bottom: -2.2vw;
        opacity: 1;
        visibility: visible;
    }

    .common_service .solution_block {
        margin-top: 13.1vw;
    }

    .common_service .accordion_button {
        padding: 2.6vw;
    }

    .common_service .accordion_button img {
        width: 7.7vw;
        height: 7.7vw;
    }

    .common_service .button_title {
        font-size: 4.1vw;
        gap: 3.6vw;
    }

    .common_service #document_reduction .button_title::before {
        width: 6.2vw;
        height: 6vw;
    }

    .common_service #digital_archiving .button_title::before {
        width: 4.5vw;
        height: 5.8vw;
    }

    .common_service #office_work_outsource .button_title::before {
        width: 6.1vw;
        height: 5.4vw;
    }

    .common_service #document_management .button_title::before {
        width: 6.1vw;
        height: 5.4vw;
    }

    .common_service #logistics_outsource .button_title::before {
        width: 5.5vw;
        height: 5.1vw;
    }

    .common_service .top_card {
        margin-top: 7.7vw;
        gap: 4.4vw;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .common_service .img {
        width: 100%;
    }

    .common_service .img img {
        aspect-ratio: 350/180;
    }

    .common_service .text {
        width: 100%;
        font-size: 3.8vw;
        line-height: 1.6;
    }

    .common_service .item_list {
        margin-top: 9vw;
        grid-template-columns: 1fr;
        gap: 5.1vw;
    }

    .common_service .item_card a {
        padding: 2.6vw;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .common_service .item_img {
        width: 27%;
    }

    .common_service .item_img img {
        aspect-ratio: 90/90;
    }

    .common_service .text_block {
        padding: 0 7.7vw;
        display: contents;
    }

    .common_service .text_block img {
        width: 7.7vw;
        height: 7.7vw;
    }

    .common_service .title_wrap {
        margin-left: 7.7vw;
        padding-bottom: 1.3vw;
        border-bottom: 1px solid #D9D9D9;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 1.3vw;
    }

    .common_service .item_title {
        font-size: 3.8vw;
        line-height: 1.6;
    }

    .common_service .item_text {
        margin-top: 2.6vw;
        padding: 3.3vw 2.6vw;
        background-color: #fff;
        width: 100%;
        font-size: 3.1vw;
        line-height: 1.7;
    }

    .common_service .closeBtnHat {
        display: none;
    }
}

@media (hover: hover) {
    .common_service .click_box:hover .accordion_button {
        opacity: 0.7;
    }

    .common_service .item_card a:hover {
        opacity: 0.7;
    }
}