@font-face {
  font-family: 'digital';
  src:url("./font/digital-7.ttf") format("truetype");
}

html, body {
  overscroll-behavior: none;      /* スクロールでのリバウンド防止 */
  -webkit-tap-highlight-color: transparent; /* タップ時の灰色ハイライト除去 */
}

img{
	width:100%;
}

.subpage{
    background-image: url("../img/catch/catch_back.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /*min-height: unset;*/
}

.medium_flex{
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
    align-items: center;
}

.catch_guide_contents{
    font-family: "M PLUS Rounded 1c", sans-serif;
    /*font-size: 17px;*/
    font-size: 20px;
    font-weight: 800;
    font-style: normal;
    color: #4d4d4d;
    background: #fffbc4;
    border-radius: 36px;
    padding: 21px 25px 10px 25px;
    max-height: 390px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
	.catch_guide_contents img{
		margin: 0px 0px 10px 0px;
	}

/*ルビ文字装飾*/
.catch_guide_contents ruby[data-ruby] rt {
  display: none;
}
 
.catch_guide_contents ruby[data-ruby] {
  position: relative;
  display: inline-block;
}
 
.catch_guide_contents ruby[data-ruby]::after {
  content: attr(data-ruby);
  position: absolute;
  transform: translate(-50%, -1.7em);
  display: block;
  left: 50%;
  top: 0;
  white-space: nowrap;
  font-size: 44%;
  letter-spacing: 0;
}

	.catch_guide_contents p{
	    line-height: 29px;
	    margin-bottom: 5px;
	}
	.catch_guide_contents .rubi1{
		line-height: 36px;
	}
	.catch_guide_contents .rubi2{
		line-height: 31px;
	}
	.catch_guide_contents .rubi3{
		line-height: 33px;
	}

.catch_start_btn{
    display: block;
    max-width: 340px;
    margin: 18px auto;
}

.catch_start_btn:hover{
    opacity: 0.8;
}

	.stage_select_guide{
		border: 6px solid #534740;
	    background: #e8d9d3;
	    border-radius: 20px;
	    min-height: 550px;
		max-width: 500px;
	    width: 100%;
	}

	.guide_stage_ttl{
		max-width: 300px;
	    margin: -45px auto 10px auto;
	    max-width: 91%;
	    width: 100%;
	}

	.level_select_contents{
	    display: flex;
	    flex-direction: column;
	    flex-wrap: nowrap;
	    align-items: center;
	    justify-content: space-evenly;
	    margin-bottom: 25px;
	}
		.level_select_contents a,
		.level_select_contents button{
		    width: 90%;
		    text-align: center;
		    background: #de5f3b;
		    border: 5px solid #fff;
		    border-radius: 50px;
		    padding: 14px 20px;
		    margin: 14px 0px;
		}
			.level_select_contents img{
			    max-width: 125px;
			}

.splash_back_contents{
    border-radius: 40px;
    min-width: 340px;
    font-size: 25px;
    box-shadow: -1px 4px #c1272d;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
    background: #ee762b;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    margin-top: 13px;
}
		.splash_back_contents a{
			display: block;
	        width: 100%;
		}

/*************************level選択*********************************/
@media screen and (max-width: 600px){
	.stage_select_guide{
	    max-width: 91%;
	    border: 1.5vw solid #534740;
	    border-radius: 4vw;
	    min-height: 125vw;
	}
	.guide_stage_ttl{
	    margin: -10.4vw auto 2.5vw auto;
	}
	.level_select_contents{
		margin-bottom: 5.8vw;
	}
		.level_select_contents a,
		.level_select_contents button{
			border: 1.2vw solid #fff;
		    border-radius: 10vw;
			padding: 2.3vw 5vw;
			margin: 2.2vw 0px;
		}
			.level_select_contents img{
				max-width: 27vw;
			}
	.splash_back_contents{
		border-radius: 10vw;
	    min-width: 57vw;
	    font-size: 6vw;
	    background: #f7931e;
	    box-shadow: -0.2vw 1vw #c1272d;
	    font-family: "M PLUS Rounded 1c", sans-serif;
	    font-weight: 700;
	    font-style: normal;
	    background: #ee762b;
	    color: #fff;
	    padding: 3vw 4vw;
	    text-align: center;
	    margin-top: 3vw;
	}
		.splash_back_contents a{
			display: block;
	        width: 100%;
		}
}