@charset "utf-8";
/* CSS Document */

/* post（共通）
========================================== */
.postCategory{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap:1em;
	margin-bottom: 4em;
}
.postCategory li a{
	line-height: 1.2;
	display: block;
	padding:.3em 1em;
	background-color:#fff;
	box-sizing: border-box;
	border: 1px solid var(--color-primary);
	color:var(--text-primary);
	font-size: var(--font-size-caption);
	text-decoration: none;
	transition: .3s;
}
.postCategory li a:hover,
.postCategory .current a{background-color: var(--color-primary);color: #fff;}

@media screen and (max-width:840px) {
	.postCategory{
		justify-content: flex-start;
		gap:.6em;
	}
}

.postBox{
	margin-top: 10px;
	margin-bottom: 30px;
	padding:0 0 5%;
	border-bottom: 1px solid var(--border-color);
}
.postBox ul,.postBox ol{margin-left: 1.2em;margin-bottom: 1em;}
.postBox ul{list-style-type: disc;}
.postBox ul li{list-style-type: inherit;}
.postBox ol {list-style-type: decimal}
.postBox ol li{list-style-type: inherit;}

.postTitle{
	line-height:1.2;
	margin-bottom:1em;
	padding: 1em 0;
	border-top: 3px solid var(--color-primary);
	border-bottom: 1px solid var(--border-color);
	box-sizing: border-box;
	font-size:clamp(1.6rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--color-primary);
}
.postInfo{display:flex;flex-wrap: wrap;align-items: center;gap:.6em 1em;}
.postInfo .date{
	font-size: 1.3rem;
    font-family: var(--font-secondary);
    text-align: right;
    color: #888;
}
.postInfo .category{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
	margin-left: 0;
	margin-bottom: 0;
	list-style-type: none;}

.postInfo .category li{
	text-decoration: none;
	list-style-type: none;}

.postInfo .category a{
	padding: 0 0.6em;
	text-decoration: none;
	background-color:var(--color-primary);
	color: #fff;
	font-size: 1.3rem;
	transition: 0.3s;
}
.postInfo .category a:hover{background-color: var(--color-accent);color: var(--text-primary);}
.postInfo .tag{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5em;
	margin-left: 0;
	margin-bottom: 0;
	list-style-type: none;}

.postInfo .tag li{
	text-decoration: none;
	list-style-type: none;}

.postInfo .tag a{
	text-decoration: none;
	color: var(--text-secondary);
	font-size: 1.3rem;
	transition: 0.3s;
}
.postInfo .tag a::before{
	content: "#";
	display: inline-block;
}
.postInfo .tag a:hover{text-decoration: underline;}
.postText{padding: 2.5em 0;}
.postSignature{
	padding:20px;
	box-sizing: border-box;
	background-color:var(--bg-grey);
}
.postSignature .name{font-weight: 600;}
.postSignature p+p{margin-top: 0.5em!important;}
.postSignature .tel a{text-decoration: none;font-size: 120%;color: var(--txt-color);margin-right: 1em;}

/* nav（共通）
========================================== */
.wp_nav{margin: 30px 0 20px;}
.wp_nav .wp-pagenavi{padding:10px 0;}
.wp_nav::after{
	content:" ";
	display:block;
	clear:both;
	font-size:0;}

/* Pager（共通）
========================================== */
.pager{
	display: flex;
	justify-content: space-between;}
.pager li a{
	position: relative;
	padding-bottom: 5px;
	color:var(--text-primary);
	text-decoration:none;}
.pager li a::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--color-primary);
	transform:scale(0,1);
	transform-origin: left top;
	transition: 0.3s;
}
.pager li a:hover::after{
	transform:scale(1,1);
}
@media screen and (max-width:599px){
	.pager{
		display: flex;
		flex-direction: column;
		gap: 1em;}
	.pager li{
		text-align:center;}
	.pager li.prev{order:2;}
	.pager li.list{order:3;}
	.pager li.next{order:1;}
}

/* editor img
========================================== */
img.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
}
img.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.postBox p::after{content:" ";display:block;clear:both;font-size:0;}
@media screen and (max-width:599px){
	img.alignleft,
	img.alignright,
	img.aligncenter{
		display:block;
		float:none;
		margin:0 0 10px;
	}
}

/* 事例
========================================== */
.worksList{
	display: flex;
	flex-wrap: wrap;
	gap:40px 3%;
}
.worksList .item{width:calc((100% - 3% *3)/4);}
.worksList .item .imageBlock {margin-bottom: 15px;}
.worksList .item .imageBlock a{
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}
.worksList .item .imageBlock  a::before{
	content: "";
	display: block;
}
.worksList .item .imageBlock a img{
	z-index: 1;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	object-fit: cover;
	transition: 0.3s;
}
.worksList .item .title{
	line-height: 1.3;
	margin-bottom: 1em;}
.worksList .item .title a{
	display: block;
	text-decoration: none;
	font-weight: 600;}
.worksList .item .category{
	line-height: 1.3;
	margin-bottom: .8em;
}
.worksList .item .category a{
	display: inline-block;
	padding: .2em .5em;
	box-sizing: border-box;
	background-color: var(--color-primary);
	text-decoration: none;
	color: #fff;
	font-size: var(--font-size-caption);
	transition: .3s;
}

.worksList .item .text{
	line-height: 1.5;
	font-size: var(--font-size-caption);
}

.worksList .item .category a:hover{
	background-color: var(--color-secondary);
	color: #fff;
}
.worksList .item .title a:hover{
	text-decoration: underline;
	color: var(--color-primary);
}
.worksList .item .imageBlock a:hover img{
	opacity: 1;
	transform: scale(1.2);}

.worksList .item .tag{
	display: flex;
	flex-wrap: wrap;
	margin-top: 15px;
	gap:.6em .6em;
}
.worksList .item .tag li a{
	line-height: 1.2;
	font-size: var(--font-size-caption);
	text-decoration: none;
	color: var(--text-secondary);
}
.worksList .item .tag li a::before{
	content: "#";
	display: inline-block;
}
.worksList .item .tag li a:hover{
	text-decoration: underline;
}

@media screen and (max-width:840px){
	.worksList{gap:30px 3%;}
	.worksList .item{width:calc((100% - 3% * 2)/3);}
}
@media screen and (max-width:599px){
	.worksList{gap:30px 20px;}
	.worksList .item{width:calc((100% - 20px)/2);}
}

/* 事例詳細
========================================== */
.postTable{
	margin:50px auto;
	width: 100%;
	border-collapse: collapse;
}
.postTable th,
.postTable td{
	border: 1px solid var(--border-color);
	padding:1em 1.5em;
}
.postTable th {
	width: 12em;
	text-align: left;
	background-color:var(--color-primary);
	vertical-align: middle;
	color: #fff;
	font-weight: 800;
}

.tableType01 td {
	background-color: #fff;
	font-weight: 800;
}

.requestResponseList{
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: 30px;
	background-color:#cfd7e8;
}
.requestResponse{
	display: flex;
	gap: 30px;
}
.requestResponse:not(:last-of-type){
	padding-bottom: 30px;
	border-bottom: 1px solid #fff;
}
.requestResponse .item{
	width: 50%;
	background-color: #fff;
}

.requestResponse .item .title{
	line-height: var(--line-height-heading);
	display: flex;
}
.requestResponse .item dl{
	display: flex;
	align-items: flex-start;
	padding: 1em;
}
.requestResponse .item dt{
	padding: .5em 1em;
	width:7em;
	background-color: var(--color-primary);
	color: #fff;
	text-align: center;
}
.requestResponse .item dd{
	padding: .5em 1em;
	font-weight: 800;
}
.requestResponse .item.response dt{background-color: var(--color-accent);color: var(--color-primary);}

.requestResponse .item .text{
	padding:0em 1em 1em;
}


@media screen and (max-width:1080px){
	.tableType01{width:100%;}
}
@media screen and (max-width:840px){
}

@media screen and (max-width:599px){
	.postTable th {
		width: 8em;
	}
	.requestResponseList{
		padding: 20px;
	}
	.requestResponse{
		flex-direction: column;
		gap: 20px;
	}
	.requestResponse .item{
		width: 100%;
	}
}


/* スライダー
========================================== */
.postSlider{margin-top: 60px;}
.postSlider .mainImage{
	box-sizing: border-box;
	margin-bottom: 20px;
}
.postSlider .mainImage ul li{
	padding: 10px;
	height: 400px;
	list-style-type: none;
}
.postSlider .mainImage ul li .img img{
	position: absolute;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
.postSlider .mainImage ul li .img {
	position:relative;
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	transition-property: transform;
	display: flex;
	align-items: center;
}
.postSlider .mainImage ul li .img:after{
	display: block;
	padding-top: 75%;
	content: '';
}
.postSlider .thumbImage{
	margin: 0 auto;
}
.postSlider .thumbImage ul{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	list-style-type: none;}

.postSlider .thumbImage ul li{
	position: relative;
	max-width: 100px;
}

.postSlider .thumbImage ul li:before{
	display: block;
	padding-top: 100%;
	content: '';
}
.postSlider .thumbImage ul li img{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	object-fit: cover;
	border: 2px solid var(--border-color);
	box-sizing: border-box;
	cursor: pointer;
}
.postSlider .thumbImage ul li.swiper-slide{
	opacity: 0.6;
	transform: scale(1);
}
.postSlider .thumbImage ul li.swiper-slide-thumb-active{
	opacity: 1;
}
.postSlider .thumbImage ul li.swiper-slide-thumb-active img{
	border: 2px solid var(--color-primary);
}
.postSlider ul{margin-left: 0!important;}

@media screen and (max-width:840px){
	.postSlider .mainImage ul li{
		padding: 10px;
		height: auto;
		aspect-ratio: 4/3;
	}
}
@media screen and (max-width:599px){
	.postSlider .thumbImage ul li{
		position: relative;
		width:calc((100% - 10px * 4)/5);
	}
}