@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/puzzle/puzzle_back2.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;
}

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

/*ルビ文字装飾*/
.puzzle_guide_contents ruby[data-ruby] rt {
  display: none;
}
 
.puzzle_guide_contents ruby[data-ruby] {
  position: relative;
  display: inline-block;
}
 
.puzzle_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;
}

	.puzzle_guide_contents p{
	    line-height: 29px;
	    margin-bottom: 5px;
	}
	.puzzle_guide_contents .rubi1{
		line-height: 36px;
	}
	.puzzle_guide_contents .rubi2{
		line-height: 31px;
	}
	.puzzle_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%;
	}


.puzzle_img_list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 13px;
}

.puzzle_img_list img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0px;
}