@charset "UTF-8";
/* CSS Document */
/*================
PC
================*/
.wrap {
  margin: 0 auto;
  width: min(80%, 995px); /* fixed width, centered in viewport */
  position: relative;
}
#showcase {
	visibility: hidden;
	padding-left: 0;
  height: 400px;
}
#showcase img {
  cursor: pointer;
}
.card {
  height: 265px;
  width: 265px;
  position: relative;
	overflow:hidden; 
}
.card:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	background: rgba(11,38,78,.5);
	  pointer-events: none;
}
.card a {
  display: block;
	color: #fff;
	text-decoration: none;
}
.card img {
  height: 265px;
  width: 265px;
object-fit: cover;
	 transition:1s all;
}
.card:hover img{
  transform:scale(1.2,1.2);
}
.card h3 {
	margin: auto;
	position: absolute;
	top: 30%;
	right: 0;
	left: 0;
	z-index: 1;
	text-align: center;
	font-size: 26px;
	pointer-events: none;
	line-height: 1;
}
.card h3 span {
	font-size: 50%;
}
.card .btm{
	margin: 0 auto;
	padding:.5em 1em;
	width: 115px;
	text-align: center;
	border: solid 1px #fff;
	position: absolute;
	bottom: 25%;
	right: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
	 transition:.5s all;
}
.card:hover .btm{
  background: #fff;
	color: #111;
}
.nav {
  color: #A5A5A5;
	font-size: 40px;
  cursor: pointer;
  position: absolute;
  top: 40%;
	border: none;
	background: inherit;
}
.nav:active, .nav.down {
  background: rgba(120, 120, 120, 0.5);
}
.nav.left {
  left: -43px;
}
.nav.right {
  right: -43px;
}
/*================
1023px以下
================*/
@media screen and (max-width: 1023px) {
.wrap {
  width: min(80%, 700px); /* fixed width, centered in viewport */
}
#showcase {
  height: 300px;
}
.card {
  height: 165px;
  width: 165px;
}
}
/*================
639px以下
================*/
@media screen and (max-width: 639px) {
.wrap {
  width: 100%; /* fixed width, centered in viewport */
}
#showcase {
  height: 300px;
}
.nav.left {
  left: -20px;
}
.nav.right {
  right: -20px;
}
.card {
  height: 180px;
  width: 180px;
}
.card h3 {
	font-size: 18px;
}
.card .btm{
	padding:.25em .5em;
	width: 75px;
	bottom: 10%;
	font-size: 11px;
	}
	.nav {
	font-size: 20px;
	z-index: 2;
}
}