@charset "UTF-8";

#title {
background-image: url("image/title.jpg");
}
@media screen and (min-width: 641px),print {
#page p.explanation {
font-size: clamp(0.813rem, 0.653rem + 0.8vw, 1.25rem);
line-height: 1.8em;
text-align: center;
margin: 70px auto 0 auto;
max-width: 1200px;
width: 90%;
}
#real {
max-width: 1200px;
width: 90%;
margin: 80px auto 100px auto;
}
#real ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#real ul li {
width: 46%;
cursor: pointer;
margin-bottom:200px;
}
#real ul li h4 {
font-size: clamp(1.125rem, 0.943rem + 0.91vw, 1.625rem);
line-height: 1.8em;
font-weight: 500;
padding-bottom: 0.5em;
text-align: center;

}
#real ul .card {
position: relative;
width: 100%;
height: 450px;
perspective: 1000px;
}
#real ul .card .card-face {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	transition: transform 0.6s;
}
#real ul .card .card-face p.type1 {
position: absolute;
background-color: #ff0000;
color: #FFF;
font-family: gravita-hum-variable, sans-serif;
font-variation-settings: "wght" 520;
font-size: clamp(0.813rem, 0.699rem + 0.57vw, 1.125rem);
line-height: 1.5em;
padding: 0.1em 1em 0.2em 1em;
}
#real ul .card .card-face p.type2 {
position: absolute;
background-color: #2B99AC;
color: #FFF;
font-family: gravita-hum-variable, sans-serif;
font-variation-settings: "wght" 520;
font-size: clamp(0.813rem, 0.699rem + 0.57vw, 1.125rem);
line-height: 1.5em;
padding: 0.1em 1em 0.2em 1em;
}
#real ul .card .card-face img {
width: 100%;
object-fit: cover;
display: block;
}
#real ul .card .caption {
width: 100%;
padding: 1em 0 2em 0;
color: #000;
font-size: 16px;
box-sizing: border-box;
text-align: left;
}
#real ul .card .caption h5 {
font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
line-height: 1.8em;
font-weight: 500;
padding-bottom: 0.5em;
}
#real ul .card .caption p {
font-size: clamp(0.813rem, 0.744rem + 0.34vw, 1rem);
line-height: 1.8em;
font-weight: 400;
}
#real ul .card .front {
transform: rotateY(0deg);
}
#real ul .card .back {
transform: rotateY(180deg);
}
#real ul .card:hover .front {
transform: rotateY(180deg);
}
#real ul .card:hover .back {
transform: rotateY(360deg);
}
}

@media screen and (min-width: 0px) and (max-width: 640px) {
#page p.explanation {
font-size: 14px;
line-height: 1.3em;
text-align: center;
margin: 20px auto 0 auto;
width: 90%;
}
#real {
width: 90%;
margin: 40px auto 40px auto;
}
#real ul {
}
#real ul li {
margin-bottom: 50px;
}
#real ul li h4 {
font-size: clamp(1.125rem, 0.943rem + 0.91vw, 1.625rem);
line-height: 1.8em;
font-weight: 500;
padding-bottom: 0.5em;
text-align: center;
}
#real ul .card {
position: relative;
width: 100%;
}
#real ul .card .card-face {
}
#real ul .card .card-face p.type1 {
position: absolute;
background-color: #ff0000;
color: #FFF;
font-family: gravita-hum-variable, sans-serif;
font-variation-settings: "wght" 520;
font-size: 16px;
line-height: 1.5em;
padding: 0.1em 1em 0.2em 1em;
}
#real ul .card .card-face p.type2 {
position: absolute;
background-color: #2B99AC;
color: #FFF;
font-family: gravita-hum-variable, sans-serif;
font-variation-settings: "wght" 520;
font-size: 16px;
line-height: 1.5em;
padding: 0.1em 1em 0.2em 1em;
}
#real ul .card .card-face img {
width: 100%;
object-fit: cover;
display: block;
}
#real ul .card .caption {
width: 100%;
padding: 1em 0 2em 0;
color: #000;
font-size: 16px;
box-sizing: border-box;
text-align: left;
}
#real ul .card .caption h5 {
font-size: 16px;
line-height: 1.3em;
font-weight: 500;
padding-bottom: 0.5em;
}
#real ul .card .caption p {
font-size: 14px;
line-height: 1.3em;
font-weight: 400;
}
}
