@charset "UTF-8";

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

#links
{
	padding-top: 0;
}

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

#main
{
	background-image: url(https://cn.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
}

#main > div
{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-top: 4vw;
	padding-bottom: 4vw;
}

#subnavi
{
	position:sticky;
	top: 5rem;
}

.page_dir span._l,
.page_dir span._r,
.page_dir a._l,
.page_dir a._r
{
	margin: 1rem 0;
}

#subnavi a.box
{
	width: 100%;
	margin-top: .5em;
	text-align: center;
}

#subnavi a._dir
{
	white-space: nowrap;
	font-size: 1rem;
	font-family: 'Zen-B', serif;
	font-weight: 700;
	padding-top: .75em;
	padding-bottom: .75em;
	line-height: 1;
}

#subnavi a._dir._n
{
	color: rgb(150, 150, 150);
}

#subnavi a._dir span.num
{
	margin-right: 1em;
}

#subnavi a._dir + a._dir
{
	border-top: 1px solid rgb(150, 150, 150);
}

#content
{
	margin-left: 5vw;
	max-width: 600px;
}

#content > div.wrapper
{
	background-color: rgb(50, 50, 50);
	display: flex;
	border: 1px solid;
}

#title
{
	padding: 1.5rem;
	border: 1px solid;
	border-radius: 5px;
	background-image: url(https://cn.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
}

#title h1
{
	position:sticky;
	top: 5rem;
	display:flex;
	flex-direction: column;
	align-items: center;
}

#title h1 .num
{
	margin-bottom: .5em;
}
#title h1 .title
{
	writing-mode: tb;
}

#content div.content
{
	background-image: url(https://cn.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
	border: 1px solid;
	border-radius: 5px;
	
	font-family: 'Zen-B', serif;
	font-weight: 700;
	padding:1.5rem;
}

#content div.content > div > div + div
{
	margin-top: max(1rem, 1vw);
}

#content .caution
{
	font-family: 'R-R', 'GG-R', serif;
	font-weight: 400;
	font-size: .8em;
	margin-top: max(1.5rem, 2vw);
}

#content .caution + .caution
{
	margin-top: max(1rem, 1vw);
}

#content .cap
{
	font-family: 'R-R', 'GG-R', serif;
	font-weight: 400;
	font-size: .9em;
	color: rgb(100, 100, 100);
}

.prev_next
{
	width: 100%;
	display: flex;
	justify-content:space-between;
	margin-top: max(2rem, 2vw);
}

.prev_next .page_dir > a
{
	cursor:pointer;
	display:flex;
}

.prev_next .page_dir span._r,
.prev_next .page_dir span._l
{
	width: 2rem;
}

body:not(.touch) .prev_next .page_dir > a:hover span._r._s
{
	transform:translateX(0rem);
}
body:not(.touch) .prev_next .page_dir > a:hover span._l._s
{
	transform: translateX(0rem) rotate(180deg);
}

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

@media screen and (max-width: 800px)
{
	#main > div
	{
		flex-direction:column-reverse;
	}
	#content
	{
		margin-left:0;
		margin-bottom: 3vw;
		max-width: 100%;
	}
	#subnavi
	{
		position:relative;
		top: 0;
		width: 100%;
		margin-bottom: 3vw;
		margin-top: 3vw;
	}
}

@media screen and (max-width: 600px)
{
	#main > div
	{
		padding: 1rem;
	}

	#content > div.wrapper
	{
		flex-direction: column;
	}
	#title h1
	{
		position:relative;
		top: 0;
		flex-direction: row;
	}
	#title h1 .num
	{
		margin-bottom: 0em;
		margin-right: .5em;
	}
	#title h1 .title
	{
		writing-mode: lr;
	}
}