@charset "UTF-8";

.entry-title_p
{
	margin-bottom: 0;
}

#links
{
	padding-top: 0;
}

#links > div
{
	transform: translateY(-5px);
}

#tools_story
{
	padding: 4rem 0 max(10vw, 4rem);
	background-image: url(https://ko.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
}

.lead
{
	font-family: 'Zen-B', serif;
	font-weight: 700;
	margin-bottom: 3rem;
}

#tools_story .content
{
	background-color: rgb(50, 50, 50);
	border: 1px solid;
}

#tools_story .head
{
	display:flex;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 1px solid;
	border-radius: 5px;
	background-image: url(https://ko.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
	border: 1px solid;
}

#tools_story .head figure._a
{
	aspect-ratio: 430 / 110;
	width: 50%;
	max-width: 500px;
}

#tools_story .head figure._b
{
	position:absolute;
	right: 0;
	bottom: .5rem;
	aspect-ratio:199 / 207;
	height: calc(100% + 2rem);
}

#tools_story .list
{
	display:flex;
	flex-wrap:wrap;
}

#tools_story a._a
{
	font-family: 'Zen-B', serif;
	font-weight: 700;
	font-size: clamp(1.1rem, 3vw, 1.2rem);
	display:flex;
	align-items:center;
	justify-content: center;
	width:calc(100% / 4);
	padding: .5rem;
	border-radius: 5px;
	background-image: url(https://ko.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
	border: 1px solid;
	
	aspect-ratio: 1 / .75;
}

#tools_story a._a > p
{
	text-align: center;
	border-bottom: 2px solid rgba(0, 0, 0, 0);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
body:not(.touch) #tools_story a._a:hover > p
{
	border-bottom: 2px solid rgba(0, 0, 0, 1);
}

#tools_story a._a .num
{
	position: absolute;
	font-size: 1.5em;
	line-height: 1;
	top: .5rem;
	left: .5rem;
}


/*//////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// MEDIA SCREEN ////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 920px)
{
	#tools_story a._a
	{
		width: calc(100% / 3);
	}
}

@media screen and (max-width: 650px)
{
	#tools_story a._a
	{
		width: calc(100% / 2);
	}
}