@charset "UTF-8";

body{
	font-size: 1.4rem;
	line-height: 1.6;
	letter-spacing: 0.06rem;
}

#about > div,
#modal div.modal-open{
	border-radius:0.4rem;
}

.restricted > div{
	border-radius:0.2rem;
}

#link a i,
#about > div,
#modal div.modal-open{
	border-width: 0.2rem;
}

h1{
	margin: 1rem auto;
	font-size: 2.2rem;
	letter-spacing: 0.3rem;
}

section{
	margin: 3rem auto;
	padding: 0 3rem;
}

#plof p{
	margin: 0 auto -0.5rem;
}

#icon{
	margin: 0 auto 0;
	width: 90%;
	height: 90%;
}


#link{
	margin: 2rem auto;
	width: fit-content;
	gap: 1rem 1.5rem;
}

#link a i{
	width: 5rem;
	height: 5rem;
	line-height: 5rem;
	font-size: 2rem;
}

#link a span{
	font-size: 1rem;
}

#about{
	flex-wrap: wrap;
	flex-direction: column;
	gap: 2rem 0;
}

#about > div{
	width: 100%;
	padding: 2rem 2.5rem;
}

#about > div > h3{
	margin: 1.5rem 0 -0.7rem;
}

@media screen and (min-width: 540px) {

	#about{
		flex-direction: row;
		gap: 2rem 1.5%;
	}

	#about > div{
	width: 32.5%;
	}

	#about > div:first-child{
	width: 64.5%;
	}
}

#about > div:first-child::before{
	top: -1.8rem;
	left: 0;
	width: 3.5rem;
	font-size: 2rem;
}

#about > div > *{
	margin: 2rem 0;
}

#about ul{
	padding-left: 2.2rem;
}

#about ul li{
	padding-bottom: 0.8rem;
	line-height: 1.5;
}

#about ul li::before{
	left: -2.2rem;
}

#modal{
	flex-direction: column;
	margin: 0 auto;
	gap: 2rem 0;
}

#modal::before,
#modal::after{
	content: none;
}

#modal div.modal-open{
	padding: 2rem;
	width: 100%;
}

#modal div.modal-open::before{
	top: -1.5rem;
	width: 2.6rem;
	font-size: 2rem;
	transform:rotate(20deg);
}

@media screen and (min-width: 540px) {

	#modal{
		flex-direction: row;
		gap: 2rem 1.5%;
	}

	#modal div.modal-open{
		width: 48.5%;
	}

}

#modal div.modal-open > p{
	margin: -0.5rem 0 1rem;
	font-size: 1.4rem;
	line-height: 2rem;
	letter-spacing: 0.2rem;
}

.tag{
	bottom: 0.7rem;
	right: -0.6rem;
	padding: 0 1rem;
	font-size: 1rem;
	line-height: 2rem;
}

.tmb::before {
	padding-top: 60%;
}

.caution{
	font-size: 1.3rem;
	line-height: 1.3;
	letter-spacing: 0.2rem;
}

.caution i{
	font-size: 7rem;
}

.restricted{
	padding: 3rem;
}

.restricted > div{
	padding: 2.5rem 1.5rem;
}

.restricted > div p{
	letter-spacing: 0.2rem;
	margin-bottom: 1rem;
}

.restricted > div .btn{
	margin: 0 0.5rem;
	width: 30vw;
	line-height: 3rem;
	letter-spacing: 0.3rem;
}

footer{
	line-height: 3rem;
	font-size: 1.2rem;
	letter-spacing: 0.2rem;
}
