@charset "UTF-8";

/*----------------------------------------------------*/
/*                    solution                       */
/*----------------------------------------------------*/
.lower-mv.food-hygiene {
    background-image: url(../img/service/service_detail/s_d_lower_mv.jpg);
}

.solution .ttl__txt {
    font-size: 68px;
}

.solution {
    padding-top: 120px;
}

.solution .lead-txt {
    margin-top: 25px;
}

.solution__list2 li {
    margin: 15px 0;
    display: flex;
    width: calc(100% / 2 - 15px);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .solution__list2 li {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .solution__list2 li {
        width: 100%;
    }
}

.solution__list2 li a {
    display: contents;
}

.solution__list2 li:hover {
    opacity: 0.7;
}

.solution__list2 img {
    max-width: 180px;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .solution__list2 img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .solution__list2 h3 {
        text-align: center;
        margin-bottom: 10px;
    }
}

.solution__list2 .txt-box {
    padding: 20px;
    background: #fff;
}

.solution__list2 .txt-box h3 {
    padding-bottom: 4px;
    border-bottom: #e60012 1px dotted;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .solution__list2 .txt-box {
        width: 100%;
    }
}

.solution .search_item2 {
    transition: all 0.3s ease-in;
    /* width: calc(100% / 3 - 1px); */
    background: #e60012;
    color: #fff;
    cursor: pointer;
    text-align: center;
    border-top: 3px solid #e60012;
    border-left: 3px solid #e60012;
    border-right: 3px solid #e60012;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .solution .search_item2 {
        font-size: clamp(16px, 3vw, 25px);
        /* width: calc(100% / 4); */
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .solution .search_item2 {
        /* width: calc(100% / 2 - 1px); */
        margin-top: 0;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 2px solid #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .solution .search_item2:first-of-type {
        width: 100%;
    }

    .solution .search_item2:nth-last-of-type(-n + 2) {
        border-bottom: none;
    }
}

.solution .search_item2:hover {
    opacity: 1;
    letter-spacing: 2px;
}

.solution .search_item2.is-active {
    background: #f3f1ef;
    color: #e60012;
}

@media (max-width: 768px) {
    .solution .search_item2:first-of-type.is-active {
        border: 2px solid #e60012;
        margin-bottom: 2px;
    }
}

.solution .search_item2 a {
    padding: 20px 0;
    width: 100%;
    height: 100%;
}

.solution .tab {
    width: 100%;
    padding-top: 80px;
}

.solution .tab__box li {
    width: 100%;
    /* width: calc(100% / 3 - 1px); */
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .solution .tab__box li {
        width: 100%;
    }
}

.solution .tab__box li:hover {
    letter-spacing: 2px;
}

.solution .tab__item {
    height: 60px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    color: #fff;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-color: #e60012;
    border-top: 3px solid #e60012;
    border-left: 3px solid #e60012;
    border-right: 3px solid #e60012;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 768px) {
    .solution .tab__item {
        border: none;
        width: 100%;
        height: 15vw;
        font-size: 2vw;
        padding: 10px 10px;
        margin-right: 0;
        margin-bottom: 3px;
    }
}

.solution .tab__item:hover {
    cursor: pointer;
}

@media (max-width: 768px) {
    .solution .tab__item:hover {
        opacity: 1;
    }
}

.tab__wrap {
    position: relative;
}

.tab__wrap::after {
    content: '';
    width: 100%;
    height: 3px;
    background: #e60012;
    z-index: -1;
    position: absolute;
    bottom: 0;
}

.solution .tab__box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2px;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .solution .tab__box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .solution .tab__box {
        display: block;
        width: 100%;
    }
}

.solution .tab__contents {
    padding: 100px 0;
    clear: both;
    overflow: hidden;
}

@media (max-width: 768px) {
    .solution .tab__contents {
        padding: 20px 0;
    }
}

.solution .tab input[name='tab__item'] {
    display: none;
}

.solution .tab input:checked::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 100px 173.2px 100px;
    border-color: transparent transparent #007bff transparent;
}

.solution .tab input:checked + .tab__item {
    background-color: #f3f1ef;
    color: #e60012;
}

.solution .tab #tab1_content {
    display: block;
}

@media (max-width: 768px) {
    .solution .tab #tab1_content {
        display: block;
    }
}

.pickup_list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.pickup_list li {
    width: calc(100% / 4 - 10px);
    margin-right: 10px;
    position: relative;
    transition: all 0.2s;
}

.pickup_list li:nth-of-type(n + 5) {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .pickup_list {
        justify-content: center;
        margin-bottom: 30px;
    }

    .pickup_list li {
        width: 100%;
        margin-right: 0;
    }

    .pickup_list li:nth-of-type(n + 5) {
        margin-top: 0;
    }

    .pickup_list li:not(:first-of-type) {
        margin-top: 10px;
    }
}

.pickup_list li a {
    position: relative;
}

.pickup_list li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    z-index: 1;
}

.pickup_list li:hover {
    cursor: pointer;
    opacity: 0.7;
}

.pickup_list li a:hover {
    opacity: 1;
}

.pickup_list li img {
    width: 100%;
    height: auto;
}

.pickup_list li h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    z-index: 2;
    text-align: center;
}

.piclup_ttl__area {
    margin: 0 auto 20px;
}

.pickup_ttl {
    font-size: 38px;
    color: #e60012;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    padding: 0 45px;
}

@media (max-width: 768px) {
    .pickup_ttl {
        font-size: 26px;
    }
}

.solution__list3 {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    justify-content: flex-start;
}

.solution__list3 li {
    width: calc(100% / 3 - 30px);
    margin: 10px;
    padding-bottom: 20px;
    position: relative;
    display: flex;
    border-bottom: 1px dotted #ddd;
}

@media (max-width: 768px) {
    .solution__list3 li {
        width: 100%;
    }

    .solution__list3 li:last-of-type {
        border-bottom: none;
    }
}

.solution__list3 li::before {
    background: url(../img/common/link_arw_small.png) no-repeat;
    margin-right: 6px;
    width: 22px;
    height: 22px;
    background-size: contain;
    content: '';
    flex-shrink: 0;
}

.solution__list3 li a {
    width: 100%;
    height: 100%;
}

/* カテゴリから探す */
.solutionCatList {
    display: flex;
    flex-direction: column;
    gap: 40px 0;
}

.solutionCatList_item {
    display: block;
}

.solutionCatList_body {
    padding: 20px 40px;
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .solutionCatList_body {
        padding: 20px;
    }
}

.solutionCatList_title {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: #e60012 1px dotted;
}

@media (max-width: 768px) {
    .solutionCatList_title {
        font-size: 18px;
    }
}

.solutionCatList_desc {
    margin-bottom: 25px;
    text-align: left;
}

.solutionCatList_inner {
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .solutionCatList_inner {
        padding: 10px 0;
    }
}

.solutionCatList_subList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

@media (max-width: 525px) {
    .solutionCatList_subList {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5em 0;
    }
}

.solutionCatList_subItem {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0 0.5em;
    width: 100%;
}

.solutionCatList_subItem::before {
    display: inline-block;
    content: '';
    width: 22px;
    height: 22px;
    background: url('https://www.maru-sin.co.jp/asset/img/common/link_arw_small.png') no-repeat;
    margin-right: 6px;
    background-size: contain;
    flex-shrink: 0;
}

.solutionCatList_subLink {
    display: block;
    font-weight: bold;
}

/* サービスバナーリンク */
.serviceLink {
    margin-top: 40px !important;
    text-align: center;
}

.serviceLink_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 0;
    width: 100%;
}

@media (max-width: 768px) {
    .serviceLink_list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        max-width: 680px;
        margin: 0 auto;
    }
}

.serviceLink_link {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 680 / 230;
}

.serviceLink_img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 680 / 230;
}
