@charset "UTF-8";

.trouble_wrapper{
    padding: 100px 0 160px;
    .menu_block{
        &:not(:last-of-type){
            margin-bottom: 120px;
        }
    }
}
/* タイトルグループ */
hgroup.menu_title{
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 18px;
    p{
        font-size: 56px;
        font-family: var(--font-family-vintage);
        color: var(--color-gray-300);
        letter-spacing: 0.05em;
        line-height: 1;
    }
    h2{
        font-size: 20px;
        font-weight: normal;
    } 
}
/* メニューリスト */
.menu_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 3.6%;
    align-items: start;
}
.menu_item_block{
    box-shadow: 0px 2px 8px 0px rgba(200, 199, 198, 0.3),0px 6px 30px 0px rgba(237, 237, 237, 0.2);
}
.menu_item_title{
    display: flex;
    gap: 18px;
    align-items: center;
    .img{
        display: flex;
        align-items: center;
        justify-content: center;
        background-color:var(--color-gray-300);
        width: 80px;
        height: 80px;
        img{
            max-width: auto;
            max-height: 53px;
            object-fit: contain;
        }
    }
    hgroup{
        h3{
            margin-bottom: 4px;
            font-size: 20px;
            font-weight:500;
            line-height: 1;
        }
        p{
            font-size: 10px;
            color: var(--color-gray-400);
            font-weight: 500;
            font-family: var(--font-family-geometric);
        }
    }
}
.menu_item_block{
    a{  
        display: block;
        padding: 16px 0 16px 30px;
        background-color: var(--color-gray-800);
        position: relative;
        hgroup{
            h4{
                font-size: 16px;
                line-height: 1;
                margin-bottom: 4px;
                font-weight: 500;
            }
            p{
                font-size: 10px;
            color: var(--color-gray-400);
            font-weight: 500;
            font-family: var(--font-family-geometric);
            }
        }
        &:not(:last-of-type){
                border-bottom: 1px dotted var(--color-gray-500);

        }
        &::after{
            content: '';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: 16px;
            width:30px;
            height:20px;

            background-image:url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 30' fill='none'>\<rect x='1' y='1' width='42' height='28' rx='14' fill='white' stroke='%23BFBCBC' stroke-width='2'/>\<line x1='14' y1='15' x2='31' y2='15' stroke='%23211C1C' stroke-width='2' stroke-linecap='round'/>\<path d='M28 19L32 15L28 11' stroke='%23211C1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/>\</svg>");

            background-size:contain;
            background-repeat:no-repeat;
        }
    }
}
.menu_item_title._itemless{
    a{
        display: flex; 
        align-items: center;
        gap: 18px;
        width: 100%;
        padding: 0;
    }
}
@media screen and (max-width:768px) {
    .trouble_wrapper{
        padding: 50px 0 80px;
        .menu_block{
            &:not(:last-of-type){
                margin-bottom: 60px;
            }
            .menu_item_block{
                margin-bottom: 30px;
            }
        }
    }
     /* タイトルグループ */
    hgroup.menu_title{
        margin-bottom: 30px;
        p{
            font-size: 36px;
        }
        h2{
            font-size: 14px;
        }
    }
     /* メニューリスト */
    .menu_list{
        display: block;
    }
    .menu_item_title{
        gap: 16px;
        .img{
            width: 76px;
            height: 76px;
            img{
                max-height: 50px;
            }
        }
        hgroup{
            h3{
                font-size: 16px;
            }
            p{
                font-size: 10px;
            }
        }
    }
}
