@charset "UTF-8";
/* CSS Document */

    /* コンテンツ全体 */
    .mz_toc4area {
        width: 100%;
        max-width: 1152px;
        margin: 40px auto;
    }

    /* トピックエリア */
    .mz_flex_toc {
        display: flex;
        justify-content: center;
        gap: 0;
        padding: 18px 0 0;
    }

    /* 各トピック 全体 */
    .mz_toc {
        width: calc(100% / 5);
        padding: 9px;
        cursor: pointer;
        position: relative;
    }

    /* 追加：バッジ用上にスペース  */
    .mz_toc2 {
        width: calc(100% / 5);
        padding: 9px;
        cursor: pointer;
        position: relative;
    }

    /* バッジ */
    span.mz_badge {
        position: absolute;
        top: -36px;
        left: 5px;
        z-index: 1;
        padding: 8px 2px;
        background-color: #ef444d;
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        border-radius: 0;
        width: 95%;
		text-align: center;
    }

    .mz_toc,.mz_toc2 li {
        list-style: none;
        text-align: center;
    }


    /* 各アイテム 画像 */
    .mz_toc_img,.mz_toc2_img {
        display: block;
        width: 100%;
        margin: 0 auto;
        object-fit: cover;
        -webkit-transition: -webkit-transform 0.1s linear;
        transition: -webkit-transform 0.1s linear;
        transition: transform 0.1s linear;
        transition: transform 0.1s linear, -webkit-transform 0.1s linear;
        margin: auto;
    }

    .mz_toc_img,.mz_toc_img:hover {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    /* リンクエリア */
    .mz_toc4area a {
        text-decoration: none !important;
    }

    /* マウスホバー時 */
    .mz_toc4area a:hover {
        text-decoration: none !important;
        opacity: 0.8 !important;
    }
    
    .mz_toc.mz_pc_none,.mz_toc2.mz_pc_none {
            display: none;	
        }


    @media screen and (max-width: 767px) {
        /* コンテンツ全体 */
        .mz_toc4area {
            width: 95%;
            padding: 0;
            margin: 0 auto;
        }

        .mz_flex_toc_container {
            padding-bottom: 0px;
        }

        /* トピックエリア */
        .mz_flex_toc {
            width: 100%;
            margin: auto;
            flex-wrap: wrap;
        }

        /* 各トピック */
        .mz_toc {
            width: calc(100% / 3);
             margin: 5px 0 0 0;
        }
		
		/* 追加：バッジ用上にスペース */
        .mz_toc2 {
            width: calc(100% / 3);
             margin: 8% 0 0 0;
        }

        .mz_toc.mz_pc_none,.mz_toc2.mz_pc_none {
            display: block;
        }

        .mz_toc.mz_sp_none, .mz_toc2.mz_sp_none{
            display: none;
        }
		
        /* バッジ */
        span.mz_badge {
            padding: 2% 0px;
            top: -16.5%;
			width: 91%;
			text-align: center;
			font-size: 2.6vw;
        }
    }
