﻿@charset "utf-8";

#main img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slider li.slide_box{
	width: 100%;
	height: 450px;
}
.slider li.slide_box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slick-dots{
	bottom: -50px;
}
.slick-dots li button:before{
	font-size: 25px;
}

#main h2{
	text-align: center;
	font-weight: bold;
	margin: 50px 0 30px;
	font-size: 2.4rem;
}
.content #main h3{
	font-weight: bold;
	font-size: 1.6rem;
	margin: 20px 0;
	text-align: center;
}

.content #main h3 + p{
	margin-bottom: 40px;
}

#main .links{
	display: flex;
	flex-wrap: wrap;
	margin-top: 40px;
}

#main .links li{
	width: calc(100% / 3 - 10px);
	margin-bottom: 60px;
	text-align: center;
}

#main .links li:nth-child(3n - 1){
	margin:0 15px;
}

#main .links li a{
	display: block;
}
#main .links li a:hover{
	opacity: 0.7;
}

#main .links li figure{
	height: 160px;
}

#main .links li h3{
	font-size: 1.5rem;
	margin: 10px 0 0;
	font-weight: bold;
	position: relative;
}

#main .links li h3::before,
#main .links li h3::after{
	content: "";
  position: absolute;
  display: block;
  background-color: #4d4d4d;
  width: 40px;
  margin: auto;
  height: 1px;
  right: 0;
	left: 0;
  bottom: -20px;
}

#main .links li h3::after{
	width: 10px;
  right: -10px;
  transform-origin: right bottom;
  transform: scaleX(1) rotate(210deg);
  bottom: -14px;
}

#main .links li h3 span{
	display: block;
	color: #aaa;
	font-size: 1.2rem;
}




/* detail */
#main.detail h2{
	margin: 30px 0 20px;
	line-height: 1.7;
}
#main.detail h3{
	text-align: center;
	font-weight: bold;
	margin: 20px 0;
	font-size: 2rem;
}

#main.detail h3 span{
	display: block;
	color: #aaa;
	font-size: 1.6rem;
}


#main.detail .cat{
	display: flex;
	justify-content: center;
	margin: 15px 0;
}

#main.detail .cat + p{
	margin-bottom: 15px;
	text-align: justify;
}

#main.detail .cat li{
	background-color: #d9d6cf;
	padding: 0 10px;
	margin: 0 2px;
	font-size: 1.2rem;
	font-weight: bold;
	color: #fff;
}

#main.detail .photos li{
	margin-bottom: 20px;
	text-align: center;
}

#main.detail .photos li img{
	width: auto;
	max-width: 100%;
	height: auto;
}

a.back{
	display: block;
	border: 1px solid #4d4d4d;
	padding: 10px 0;
	width: 300px;
	margin: 50px auto;
	text-align: center;
	position: relative;
}

a.back::before,
a.back::after{
	content: "";
  position: absolute;
  display: block;
  background-color: #4d4d4d;
  width: 30px;
  margin: auto;
  height: 1px;
  left: 15px;
  top: 50%;
}

a.back::after{
	width: 10px;
  left: 5px;
  transform-origin: right bottom;
  transform: scaleX(1) rotate(150deg);
  top: calc(50% - 1px);
}

.pager{
	margin-top: 100px;
	overflow: visible;
}


@media screen and (max-width: 640px){
	#main .links li:nth-child(3n - 1){
		margin: 0;
	}
	.slick-dots li button:before{
		font-size: 2rem;
	}
	.slider li.slide_box{
		height: 60vw;
	}
	.content #main h3{
		font-size: 1.1rem;

	}
	#main .links{
		justify-content: space-between;
	}
	#main .links li {
    width: calc(100% / 2 - 1%);
	}
	#main .links li figure{
		height: 30vw;
	}
	#main .links li h3{
		font-size: 1.1rem;
	}
	#main .links li h3 span{
		font-size: 1rem;
	}
	#main.detail h2{
		font-size: 1.3rem;
		border: none;
	}
	#main.detail h3{
		font-size: 1.5rem;
	}
	#main.detail h3 span{
		font-size: 1.2rem;
	}
	#main.detail .cat{
		flex-wrap: wrap;
	}
	#main.detail .cat li{
		margin-bottom: 2px;
		font-size: 1rem;
	}
}
.page-template-page-webcreative-php #main .links li {
width: calc(100% / 2 - 30px);
margin: 0 15px;
}
.page-template-page-webcreative-php #main .links li h3 {
margin: 25px 0 55px;
}
.page-template-page-webcreative-php #main img {
height: auto;
object-fit: contain;
border: 1px solid #ccc;
}
.page-template-page-webcreative-php #main img {
height: auto;
object-fit: contain;
border: 1px solid #ccc;
}
.webcreative-template-default #main img {
border: 1px solid #ccc;
}
.webcreative-template-default #main.detail .photos li:last-child img {
border: none;
}
.alignnone{
	margin-top: 40px;
}
@media screen and (max-width: 640px){
.page-template-page-webcreative-php #main .links li {
width: 100%;
margin: 0;
}
.page-template-page-webcreative-php #main .links li h3 {
margin: 60px 0 55px;
}
}
