@charset "UTF-8";

/* ↓フォント関連 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;900&display=swap&subset=japanese');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@200;500;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css');

body{
	font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN', Meiryo,  sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

h2,
#link a span,
footer{
	font-family: 'Urbanist', 'Noto Sans JP';
}

/* ↓各デバイス用サイズ調整 */

@media screen and (min-width: 1181px) {
	html{ font-size:62.5%;}}
@media screen and (max-width: 1180px) {
	html{ font-size:50%;}}
@media screen and (max-width: 768px) {
	html{ font-size:45%;}}
@media screen and (max-width: 539px) {
	html{ font-size:62.5%;}}

html{
	scroll-behavior: smooth;
}

body{
	position: relative;
}

body.body-fixed{
	overflow: hidden;
}

h1{
	width: fit-content;
	font-weight: 600;
	line-height: 1;
}

#plof p{
	width: fit-content;
}

#icon{
	display: block;
	border-radius:10px;
	object-fit: cover;
}

#link{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#link a{
	display: block;
	text-align: center;
}

#link a > *{
	display: block;
	transition: 0.5s;
}

#link a i{
	margin: 0 auto;
	border-radius:50%;
}

#link a span{
	font-weight: bold;
}

#link a:hover span{
	font-weight: bold;
}

#about{
	display: flex;
	justify-content: space-between;
}

#about > div{
	position: relative;
}

#about > div:first-child::before{
	font-family:'Font Awesome 6 Free';
	content:'\f0c6';
	position: absolute;
	font-weight: bold;
	transform: rotate(-44deg);
}

#about > div > h3{
	font-weight: bold;
}

#about > div > *:first-child{
	margin-top: 0;
}

#about > div > *:last-child{
	margin-bottom: 0;
}

#about > div p a{
	font-weight: 500;
}

#about > div p a::after{
	font-family: "Font Awesome 5 Free";
	content: "\f08e";
	font-weight: bold;
	margin: 0 0.3rem;
}

#about strong{
	font-weight: 500;
}

#about ul li{
	position: relative;
	font-weight: 500;
}

#about ul li:last-child{
	padding-bottom: 0;
}

#about ul li::before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	content: "\f058";
}

#modal{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#modal::before,
#modal::after{
	content: '';
	display: block;
	order: 1;
}

#modal::before,
#modal::after{
	height: 0;
}

#modal div.modal-open{
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

#modal div.modal-open::before{
	font-family:'Font Awesome 6 Free';
	content:'\f08d';
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	font-weight: bold;
	text-align: right;
}

#modal div.modal-open > p{
	flex: 1;
	display: flex;
}

.tag{
	position: absolute;
	z-index: 1;
}

.tmb{
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.tmb::before {
    content: "";
    display: block;
}

.tmb img{
    position: absolute;
    top: 0; 
    left: 0;
	width:100%;
	height:100%;
	object-fit: cover;
	vertical-align:bottom; 
}

.caution{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	transition: 0.5s;
}

.restricted{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.restricted > div{
	text-align: center;
}

.restricted > div .btn{
	display: inline-block;
	cursor: pointer;
	text-align: center;
}

footer{
	margin-top: auto;
	text-align: center;
}