@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;
}

.info {
    width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.info2 {
    width: 800px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info3 {
    height: 593px;
    margin: 0 auto;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 37px;
}

.info3 img {
    width: 435px;
}

.info4 {
    width: 794px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info4 img {
    height: 321px;
}

.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: #F6E0C2;
    padding-left: 50px;
}

.ansmsg {
    color: white;
    background-color: #F6AD48;
}

/* 吹き出し本体 */
.ansmsg {
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    padding: 10px;
    background-color: #F6AD48;
    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 #F6AD48;
    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: rgba(255, 120, 24, 0.203);
    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: orange;
    border-radius: 10px;
    border: gray solid 1px;
    font-family: Maka;
    padding-left: 10px;
}

.last{
    border-top: solid #dbdbdb;
    margin-left: 50px;
    margin-right: 50px;}
}

@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);
    
    }

    .content {
    
    }
    
    @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;
    }
    
    .info {
        width: 300px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .info2 {
        width: 300px;
        margin: 0px auto;
        margin-top: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .info3 {
        height: 243px;
    /* margin: 0 auto; */
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    }
    
    .info3 img {
        width: 173px;
    }
    
    .info4 {
        width: 300px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .info4 img {
        height: 128px;
    }
    
    .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: #F6E0C2;
        padding-left: 31px;
    }
    
    .ansmsg {
        color: white;
        background-color: #F6AD48;
    }

    .person img{
        width: 30px;
        height: 30px;
    }
    
    /* 吹き出し本体 */
    .ansmsg {
        font-size: 12px;
        margin-left: 20px;
        margin-right: 20px;
        position: relative;
        padding: 10px;
        background-color: #F6AD48;
        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 #F6AD48;
    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: 20px;
        margin-right: 20px;
    
    }
    .recmes img{
        margin-left: 9px;
        width: 13px;
        height: 18px;
        padding-top: 10px;
    }
    .recmes p {
        text-decoration: underline;
        text-underline-offset: -0.2em;
        text-decoration-thickness: 0.7em;
        text-decoration-color: rgba(255, 120, 24, 0.203);
        text-decoration-skip-ink: none;
        font-size: 10px;
        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: orange;
        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;
        }
}