@media screen and (min-width: 480px) {
    * {
        margin: 0;
        padding: 0;
    }
    
    p {
        font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
        font-size: 25px;
        color: rgb(74, 29, 29);
    
    }
    
    @font-face {
        font-family: "Maka";
        src:
          url("./../851MkPOP_101.ttf")
        }
    
    
    .maka{
        font-family: Maka;
        font-size: 35px;
        padding-right: 10px;
    }
    
    .content {
        width: 100vw;
    
    }
    
    #doc0 {
        margin: 0 auto;
        font-size: 20px;
        inline-size: 720px;
        overflow-wrap: break-word;
        border-bottom: solid;
    }
    
    .top {
        width: 100vw;
        height: 544px;
        margin-top: 106px;
        object-fit: none;
    }
    
    .mes {
        display: block;
        width: 800px;
        margin: 40px auto;
    }
    
    .date{
        display: block;
        width: 800px;
        margin: 40px auto;
    }
    
    .quest {
        display: flex;
        background-color: #EFE8DA;
        padding-left: 50px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .quest2 {
        display: flex;
        background-color: #EFE8DA;
        padding-left: 50px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .answer {
        background-color: #c2f6e9;
        padding-left: 50px;
    }
    
    .ansmsg {
        color: white;
        background-color: #32d1bb;
    }
    
    /* 吹き出し本体 */
    .ansmsg {
        font-size: 16px;
        margin-left: 20px;
        margin-right: 20px;
        position: relative;
        padding: 10px;
        background-color: #32d1bb;
        display: inline-block;
        /* 横幅を自動で変更 */
        border-radius: 20px;
    }
    
    /* beforeで三角を表現 */
    .ansmsg::before {
        content: '';
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        left: -15px;
        top: 20px;
        border-right: 15px solid transparent;
        border-bottom: 15px solid#32d1bb;
        border-left: 15px solid transparent;
    }
    
    .person {
        display: flex;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .maka {
        font-family: Maka;
    }
    
    .kuti {
        width: 800px;
        margin: 30px auto;
    }
    
    .kuti-title {
        margin-bottom: 20px;
    }
    
    .rec {
        width: 800px;
        margin: 0 auto;
    }
    
    .recmes {
        display: flex;
        border-top: solid #dbdbdb;
        margin-left: 50px;
        margin-right: 50px;
    
    }
    .recmes img{
        margin-left: 20px;
        width: 30px;
        height: 35px;
        padding-top: 10px;
    }
    .recmes p {
        text-decoration: underline;
        text-underline-offset: -0.2em;
        text-decoration-thickness: 0.7em;
        text-decoration-color:rgb(24 241 255 / 20%);
        text-decoration-skip-ink: none;
        font-size: 20px;
        padding-top: 10px;
        margin-left: 20px;
    }
    
    .num {
        height: 300px;
    }
    
    
    .men {
        height: 300px;
    }
    
    .sch {
        height: 605px;
    }
    
    .gaku {
        height: 300px;
    }
    
    .pin{
        width:40px;
        height: 50px;
        margin-right: 10px;
    }
    
    .toggle{
    display: none;
    }
    
    .quest::before{		/*タイトル横の矢印*/
        content:"";
        width: 6px;
        height: 6px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: rotate(45deg);
        position: absolute;
        top:calc( 50% - 3px );
        right: 20px;
        transform: rotate(135deg);
    }
    .quest,
    .cont {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: all 0.3s;
    }
    
    .cont {		/*本文*/
        height: 0;
        overflow: hidden;
    }
    
    
    .toggle:checked + .Label + .cont{	/*開閉時*/
        height: auto;
        transition: all .3s;
    }
    .toggle:checked + .Label::before {
        transform: rotate(-45deg) !important;
    }
    
    .recpoint{
        display: inline-block;
        background-color: white;
        width: 180px;
        color: rgb(0, 255, 200);
        border-radius: 10px;
        border: gray solid 1px;
        font-family: Maka;
        padding-left: 10px;
    }
    
    .last{
        border-top: solid #dbdbdb;
        margin-left: 50px;
        margin-right: 50px;}


        .event{
            position: relative;
            text-align: center;
            width: 650px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .appeal{
            width: 650px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        
        .x{
            position: absolute;
            width: 125px;
            left: 420px;
            top: 165px;
        }

        .back{
            width: 300px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
    }
    
    @media screen and (max-width: 480px) {
    
        * {
            margin: 0;
            padding: 0;
        }
        
        p {
            font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
            font-size: 15px;
            color: rgb(74, 29, 29);
        
        }
    
        
        @font-face {
            font-family: "Maka";
            src:
              url("./../851MkPOP_101.ttf")
            }
        
        
        .maka{
            font-family: Maka;
            font-size: 20px;
            padding-right: 10px;
        }
        
        
        #doc0 {
            margin: 0 auto;
            font-size: 20px;
            inline-size: 720px;
            overflow-wrap: break-word;
            border-bottom: solid;
        }
        
        .top {
            width: 100vw;
        height: auto;
        margin-top: 62px;
        }
        
        .mes {
            display: block;
            width: 330px;
            margin:20px auto;
        }
        
        .date{
            display: block;
            width: 330px;
            margin:20px auto;
        }
        
        .quest {
            display: flex;
            background-color: #EFE8DA;
            padding-left: 31px;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        
        .quest2 {
            display: flex;
            background-color: #EFE8DA;
            padding-left: 20px;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        
        .answer {
            background-color: #c2f6e9;
            padding-left: 31px;
        }
        
        .ansmsg {
            color: white;
            background-color: #32d1bb;
        }
    
        .person img{
            width: 30px;
            height: 30px;
        }
        
        /* 吹き出し本体 */
        .ansmsg {
            font-size: 12px;
            margin-left: 20px;
            margin-right: 20px;
            position: relative;
            padding: 10px;
            background-color: #32d1bb;
            display: inline-block;
            border-radius: 21px;
        }
        
        /* beforeで三角を表現 */
        .ansmsg::before {
            content: '';
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        left: -7px;
        top: 15px;
        border-right: 9px solid transparent;
        border-bottom: 8px solid #32d1bb;
        border-left: 7px solid transparent;
        }
        
        .person {
            display: flex;
            padding-top: 5px;
            padding-bottom: 5px;
        }
        
        .maka {
            font-family: Maka;
        }
        
        .kuti {
            margin-top: 50px;
            width: 100vw;
        }
        
        .kuti-title {
            width: 280px;
            margin-bottom: 20px;
        }
        
        .rec {
            width: 100vw;
            margin: 30px auto;
        }
        
        .recmes {
            display: flex;
            border-top:1px solid #dbdbdb;
            margin-left: 50px;
            margin-right: 50px;
        
        }
        .recmes img{
            margin-left: 9px;
            width: 13px;
            height: 18px;
            padding-top: 20px;
        }
        .recmes p {
            text-decoration: underline;
            text-underline-offset: -0.2em;
            text-decoration-thickness: 0.7em;
            text-decoration-color: rgb(24 241 255 / 20%);
            text-decoration-skip-ink: none;
            font-size: 12px;
            padding-top: 10px;
            margin-left: 20px;
        }
        
        .num {
            height: 121px;
        }
        
        
        .men {
            height: 121px;
        }
        
        .sch {
            height: 243px;
        }
        
        .gaku {
            height: 125px;
        }
        
        .pin{
            width: 26px;
            height: 32px;
            margin-right: 10px;
        }
        
        .toggle{
        display: none;
        }
        
        .quest::before{		/*タイトル横の矢印*/
            content:"";
            width: 6px;
            height: 6px;
            border-top: 2px solid #fff;
            border-right: 2px solid #fff;
            -webkit-transform: rotate(45deg);
            position: absolute;
            top:calc( 50% - 3px );
            right: 20px;
            transform: rotate(135deg);
        }
        .quest,
        .cont {
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            transform: translateZ(0);
            transition: all 0.3s;
        }
        
        .cont {		/*本文*/
            height: 0;
            overflow: hidden;
        }
        
        
        .toggle:checked + .Label + .cont{	/*開閉時*/
            height: auto;
            transition: all .3s;
        }
        .toggle:checked + .Label::before {
            transform: rotate(-45deg) !important;
        }
        
        .recpoint{
            display: inline-block;
            background-color: white;
            width: 120px;
            color: rgb(0, 255, 200);
            border-radius: 10px;
            border: gray solid 1px;
            font-family: Maka;
            padding-left: 10px;
            padding-bottom: 4px;
        }
        
        .last{
            border-top: 1px solid #dbdbdb;
            margin-left: 50px;
            margin-right: 50px;}

            .all{
                width: 96vw;
            }
    
            .event{
                position: relative;
                text-align: center;
                width: 350px;
                margin-left: auto;
                margin-right: auto;
            }
            
            .appeal{
                width: 350px;
                display: block;
                margin-left: auto;
                margin-right: auto;
            }
            
            .x{
                position: absolute;
                width: 70px;
                left: 230px;
                top: 89px;
            }

            .back{
                width: 200px;
                display: block;
                margin-left: auto;
                margin-right: auto;
            }
    }