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

/*--------------------------------------------------------
　基本設定
--------------------------------------------------------*/

#mv {
	width: 100%;
	line-height: 0;
	margin: 0;
	position: relative;
}

#mv h2{
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
}

/*--------------------------------------------------------
　PC
--------------------------------------------------------*/

@media print, screen and (min-width: 641px){
	#mv {
		margin-bottom: 65px;
	}
	
	section#work {
		width: 1140px;
		margin: 0 auto 80px;
	}
	
	section#work h2{
		font-size: 30px;
		font-size: 3.0rem;
		font-weight: 500;
		line-height: 1;
		letter-spacing: 0.2em;
		padding-left: 32px;
		position: relative;
		margin-bottom: 40px;
	}
	
	section#work h2 span{
		display: block;
		width: 328px;
		margin-top: 12px;
	}
	
	section#work h2::before{
		content: "";
		width: 10px;
		height: 100%;
		background: #f0d300;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	section#work div.block {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	section#work div.block div.box{
		width: 33.33%;
		min-height: 371px;
		padding: 25px;
		position: relative;
	}
	
	section#work div.block div.box::after{
		content: "";
		width: -webkit-calc(100% - 20px);
		width: -moz-calc(100% - 20px);
		width: calc(100% - 20px);
		height: 2px;
		background: #666;
		border-radius: 2px;
		position: absolute;
		bottom: 0;
		left: 10px;
	}
	
	section#work div.block div.box:nth-child(2) div.box_inner::before,
	section#work div.block div.box:nth-child(4) div.box_inner::before,
	section#work div.block div.box:nth-child(5) div.box_inner::before,
	section#work div.block div.box:nth-child(7) div.box_inner::before,
	section#work div.block div.box:nth-child(9) div.box_inner::before,
	section#work div.block div.box:nth-child(10) div.box_inner::before,
	section#work div.block div.box:nth-child(12) div.box_inner::before,
	section#work div.block div.box:nth-child(13) div.box_inner::before{
		content: "";
		width: 2px;
		height: 90%;
		background: #666;
		border-radius: 2px;
		position: absolute;
		bottom: 5%;
		left: 0;
	}
	
	section#work div.block div.box div.box_inner figure{
		line-height: 0;
		border-radius: 12px;
		overflow: hidden;
		position: relative;
	}
	
	section#work div.block div.box div.box_inner figure figcaption{
		font-size: 12px;
		font-size: 1.2rem;
		line-height: 1;
		color: #FFF;
		position: absolute;
		right: 15px;
		bottom: 15px;
		z-index: 3;
	}
	
	section#work div.block div.box div.box_inner h3{
		font-size: 20px;
		font-size: 2.0rem;
		font-weight: 500;
		line-height: 1;
		letter-spacing: 0.1em;
		color: #FFF;
		margin: 15px 0;
		padding: 8px 16px;
		background: #f0d300;
		border-radius: 10px;
	}
	
	section#work div.block div.box div.box_inner p{
		font-size: 14px;
		font-size: 1.4rem;
		line-height: 2;
		letter-spacing: 0.04em;
	}
	
	section#work div.block div.box.connection {
		width: 66.66%;
	}
}

/*--------------------------------------------------------
　SP
--------------------------------------------------------*/

@media screen and (max-width: 640px){
	
	#mv {
		margin-bottom: 40px;
	}
	
	section#work {
		width: 90%;
		margin: 0 auto 40px;
	}
	
	section#work h2{
		font-size: 18px;
		font-size: clamp(18px, 4.19vw, 36px);
		font-weight: 500;
		line-height: 1;
		letter-spacing: 0.12em;
		padding-left: 24px;
		position: relative;
		margin-bottom: 30px;
	}
	
	section#work h2 span{
		display: block;
		width: 80%;
		max-width: 328px;
		margin-top: 10px;
	}
	
	section#work h2::before{
		content: "";
		width: 6px;
		height: 100%;
		background: #f0d300;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	section#work div.block {
		display: block;
	}
	
	section#work div.block div.box{
		width: 100%;
		padding: 25px 0;
		position: relative;
	}
	
	section#work div.block div.box::after{
		content: "";
		width: 100%;
		height: 2px;
		background: #666;
		border-radius: 2px;
		position: absolute;
		bottom: 0;
		left: 0;
	}
	
	section#work div.block div.box div.box_inner figure{
		line-height: 0;
		border-radius: 8px;
		overflow: hidden;
		position: relative;
	}
	
	section#work div.block div.box div.box_inner figure figcaption{
		font-size: 12px;
		font-size: clamp(12px, 2.79vw, 24px);
		line-height: 1;
		color: #FFF;
		position: absolute;
		right: 10px;
		bottom: 10px;
		z-index: 3;
	}
	
	section#work div.block div.box div.box_inner h3{
		font-size: 16px;
		font-size: clamp(16px, 3.72vw, 32px);
		font-weight: 500;
		line-height: 1;
		letter-spacing: 0.1em;
		color: #FFF;
		margin: 15px 0;
		padding: 8px 14px;
		background: #f0d300;
		border-radius: 8px;
	}
	
	section#work div.block div.box div.box_inner p{
		font-size: 13px;
		font-size: clamp(13px, 3.03vw, 26px);
		line-height: 2;
		letter-spacing: 0.04em;
	}
	
	section#work div.block div.box.connection {
		width: 100%;
	}
}
