html,body{
	overflow: hidden;
    margin: 0;
    height: 100vh;
    width: 100%;
}

.sp{
	display: none;
}
@media (max-width:999px){
	.sp{
		display: block;
	}
}

#canvas{
	position:relative;
	width:100%;
	height:auto;
}

@media (max-width:999px){
	#canvas{
		height: 100%;
		overflow: hidden;
		object-fit: cover;
	}
}


h1{
	color: #000;
    font-size: 72px;
	font-family: linotype-didot, serif;
    letter-spacing: 0.05em;
    position: absolute;
    top: 0%;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    margin-block-start: 0;
    margin-block-end: 0;
	mix-blend-mode: darken;
	font-weight:700;
	
}
@media (max-width:999px){
	h1{
		font-size:7vw;
	}
}



h1 span{
    opacity: 0;
}
@keyframes showtext{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

button{
	width:300px;
	height:64px;
	color:#fff;
	background:#000;
	position:fixed;
	bottom:72px;
	left:0;
	right:0;
	margin:auto;
	font-size: 40px;
	font-family: linotype-didot, serif;
	letter-spacing: 0.1em;
	z-index:2;
	padding: 0;
    border-width: 0;
}

@media (max-width:999px){
	button{
		width:60vw;
		height:48px;
		font-size:5vw;
	}
}

dialog:modal {
	display: block;
    width: 80%;
    height: auto;
    top: 0;
    z-index: 3;
	font-family: 'Noto Sans JP', sans-serif;
}

.modal-content{
	width:89%;
	margin:20px auto;
}
.modal-content h2{
	font-size:40px;
	text-align: center;
	font-weight:700;
}
.modal-content p{
	font-size:24px;
	font-weight:400;
	margin-block-start: 0em;
    margin-block-end: 0em;
	margin-top:24px;
}
.modal-content p.right{
	text-align:right;
}

.modal-content p.bold{
	font-weight:500;
	font-size:28px;
	margin-top:0;
}

button.close{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    line-height: 48px;
    text-align: center;
    letter-spacing: 0;
    font-weight: 700;
    font-size: 40px;
    bottom: inherit;
    top: -80%;
    left: 75%;
	display: flex;
	justify-content:center;
	align-items:center;
}

button.close span{
	margin-top: -2px;
}


@media (max-width:999px){
	.modal-content h2{
		font-size:24px;
	}

	.modal-content p{
		font-size:16px;
		margin-top:16px;
	}
	.modal-content p.bold{
		font-size:20px;
	}
	_::-webkit-full-page-media, _:future, :root button.close {
		left:90%;
	}

	button.close{
		width:40px;
		height:40px;
		font-size: 28px;
		top:-90%;
		z-index:1;
	}
}

@media (max-width:480px){
	button.close{
		width:32px;
		height:32px;
		left:0%;
		top:-90%;
		margin-right:30px;
		text-align: center;
	}

	_::-webkit-full-page-media, _:future, :root button.close {
		width:32px;
		height:32px;
		left:0%;
		top:-90%;
		left:0%;
		margin-right:40px;
	}
}

