html{
    font-family: 'Noto Serif JP', selif;
}
*{
    margin: 0;
    padding: 0;
}

body{
    background: #fafafa;
    height: 100dvh;
}

#thumb{
    height: 100dvh;
    width: 100vw;
    background-color: #327BB7;
}
#thumb img{
    min-height: 100dvh;
    min-width: 100vw;
    object-fit: cover;    
}
h1{
    color: #fff;
    background: #000;
    padding: 0 8px;
    position: absolute;
    font-size: 72px;
    top: 64px;
    left: 40px;
}
.text-box{
	width: 520px;
	max-width: 70vw;
    line-height: 1.8em;
    font-weight: 500;
}
#back{
	text-align: center;
    font-size: 18px;
    line-height: 2.5em;
}
#back a{
    color: #327BB7;
}

.page{
	display: flex;
	justify-content: center;
	align-items: center;
}

.container{
	padding: 0 32px;
	box-sizing: border-box;
}
.container img{
	max-width: 100%;
	max-height: 40dvh;
	display: block;
}
.container img:nth-of-type(2n) {
	margin-top: 24px;
}
img:first-child:last-child{
	max-height: 80dvh;
	max-width: 100%;
}

.pagination{
	position: fixed;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	list-style: none;
}
.pagination a{
	display: block;
	height: 20px;
	width: 32px;
	position: relative;
	border-radius: 50%;
}
.pagination a.active:after{
	background: #327BB7;
	width: 4px;
	height: 4px;
}
.pagination a:after{
	background: #dddede;
	width: 2px;
	height: 2px;
	display: block;
	border-radius: 50%;
	content: '';
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

@media screen and ( max-width:501px )
{
    h1{
        font-size: 56px;
    }
}