@charset "UTF-8";

#fancybox-content
{
	box-sizing: content-box;
}

#allWrapper
{
	background-color: rgb(255, 255, 255);
	padding-top: 4rem;
}

img
{
	max-width: 100%;
	height: auto;
}

iframe
{
	max-width: 100%;
	height: auto;
	aspect-ratio: 720 / 470;
}

strong, b, el, th
{
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
}

.gg_r
{
	font-family: 'R-R', 'GG-R', sans-serif;
	font-weight: 400;
}
.gg_m
{
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
}
.gg_b
{
	font-family: 'R-B', 'GG-B', sans-serif;
	font-weight: 700;
}

.zen_b
{
	font-family: 'Zen-B', serif;
	font-weight: 700;
}

ol.num
{
	counter-reset: item;
	list-style-type: none;
}
ol.num li
{
	padding-left: 1.2rem;
}
ol.num li:before
{
	counter-increment: item;
	content: counter(item)'.';
	display: inline-block;
	transform:translateX(-1.2rem);
	font-family:  'ZEN-B', serif;
	font-weight: 700;
	font-size: 1.1em;
	padding-right: .5em;
	color: rgb(50, 50, 50);
}

/*****************************************************************
***************************** HEADER *****************************
******************************************************************/

#header_link
{
	background-image: url(https://ko.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
	padding: 5rem 2rem 1rem;
}

#header_link > div
{
	display:flex;
	justify-content:center;
}

#header_link > div > div
{
	display:flex;
	flex-wrap:wrap;
	max-width: 100%;
}

#header_link h2
{
	font-size: clamp(1.3rem, 4vw, 2rem);
	display: flex;
	align-items:center;
	line-height: 1;
	flex-wrap:nowrap;
	white-space: nowrap;
	margin-right: 2rem;
	margin-bottom: 1rem;
}

#header_link h2:before
{
	content:"";
	display:block;
	width: 1.5em;
	margin-right: .5em;
	aspect-ratio: 1/1;
	background-size:cover;
}

#header_link h2.information:before
{
	background-image:url(https://ko.dougukan.jp/_img/menu_1.svg);
}
#header_link h2.special_exhibition:before
{
	background-image:url(https://ko.dougukan.jp/_img/menu_2.svg);
}
#header_link h2.exhibition:before
{
	background-image:url(https://ko.dougukan.jp/_img/menu_3.svg);
	margin-right: .75em;
}
#header_link h2.event:before
{
	background-image:url(https://ko.dougukan.jp/_img/menu_7.svg);
}
#header_link h2.publishment:before
{
	background-image:url(https://ko.dougukan.jp/_img/menu_4.svg);
	margin-right: .5em;
}
#header_link h2.about_us:before
{
	background-image:url(https://ko.dougukan.jp/_img/menu_6.svg);
}

#header_link h2.learning:before
{
	background-image:url(https://ko.dougukan.jp/_img/menu_5.svg);
}

#header_link h2 > a
{
	border-bottom-width: 0;
	text-decoration:none;
	color: rgb(50, 50, 50);
	font-family: 'Zen-B', serif;
	font-weight: 700;
}

#header_link > div
{
	display:flex;
	align-items: flex-end;
}

#sub_links
{
	display:flex;
	margin-bottom: 1.5em;
	overflow-x: auto;
}

#sub_links.ov
{
	margin-bottom: 0em;
}

#sub_links + p
{
	padding-left: .5rem;
	transform: scale(.7);
	display:none;
}

#sub_links.ov + p
{
	display:flex;
	margin-bottom: 1.5rem;
}

#sub_links.ov > div
{
	padding-top:1em;
}

/*#sub_links.ov > div:after
{
	content:"\f054";
	font-family: "Font Awesome 5 Free";
	display:block;
	position: sticky;
	right: 0em;
	top: 0;
	color: rgb(255, 255, 255);
	background-color: rgb(150, 150, 150);
	height: 100%;
	padding: 0 .25em;
}*/

#sub_links > div
{
	display:flex;
	align-items: flex-end;
}

#sub_links > div a._a
{
	font-family: 'Zen-B', serif;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	display: block;
	color: rgb(130, 130, 130);
	padding: 0em 1em;
}
#sub_links > div a._a + a._a
{
	border-left: 1px solid rgb(130, 130, 130);
}

#sub_links > div a._a._n
{
	color: rgb(50, 50, 50);
}

/*****************************************************************
***************************** CONTENTS ***************************
******************************************************************/

.entry-title_p
{
	width: 100%;
	padding: 3rem 0rem 1rem;
	margin-bottom: 3rem;
	border-bottom: 1px solid rgb(150, 150, 150);
}

.entry-title,
#primary
{
	width: 100%;
	max-width: 1020px;
	margin: 0 auto;
}
.entry-title
{
	padding: 4rem 2rem;
}

.entry-title_p .entry-title
{
	padding: 0 2rem;
}

#primary
{
	padding: 0 2rem 2rem;
}

.entry-title h1
{
	font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.entry-content > table,
.entry-content > table > tbody
{
	display:block;
	width: 100%;
}

.entry-content > table > tbody > tr
{
	display: flex;
	align-items:flex-start;
	flex-wrap:wrap;
	
/*	transform: translateY(5rem);
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;*/
	transform: translateY(0rem);
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	
	-webkit-transition: transform .7s ease, opacity .7s ease;
	-moz-transition: transform .7s ease, opacity .7s ease;
	-ms-transition: transform .7s ease, opacity .7s ease;
	-o-transition: transform .7s ease, opacity .7s ease;
	transition: transform .7s ease, opacity .7s ease;
}
.entry-content > table > tbody > tr.end
{
	transform: translateY(0rem);
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

.entry-content > table > tbody > tr > td,
.entry-content > table > tbody > tr > th
{
	display: block;
/*	margin-bottom: 5rem;*/
	margin-bottom: min(5rem, 15vw);
}

.entry-content > table > tbody > tr > td
{
	flex-grow: 1;
	width: calc(100% - 15rem);
}

.entry-content > table > tbody > tr > th
{
	font-family: 'Zen-B', serif;
	font-weight: 700;
	line-height: 1.3;
	
	position:sticky;
	top: 5rem;
	
	text-align:center;
	width: 10%;
	min-width: 10rem;
	margin-right: 5rem;
	padding-bottom: .5em;

	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: rgba(50, 50, 50, 0);
	
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
.entry-content > table > tbody > tr.end > th
{
	transition-delay: .2s;
	border-bottom-color: rgba(50, 50, 50, 1);
}
.entry-content > table > tbody > tr > th:empty
{
	border-bottom-width: 0;
}

.entry-content > table > tbody > tr > th:after,
.entry-content > table > tbody > tr > th:before
{
	content:"";
	display:block;
	position:absolute;
	background-size:contain;
	background-position:50%;
	width: 6px;
	height: 10px;
	bottom: -5.5px;
	background-image:url(https://ko.dougukan.jp/_img/anchor.svg);
	
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
.entry-content > table > tbody > tr > th:empty:after,
.entry-content > table > tbody > tr > th:empty:before
{
	display:none;
}

.entry-content > table > tbody > tr > th:after
{
	transform:rotate(180deg);
	transform-origin:center;
}

.entry-content > table > tbody > tr > th:before
{
	left:50%;
}
.entry-content > table > tbody > tr.end > th:before
{
	left:0;
}

.entry-content > table > tbody > tr > th:after
{
	right:50%;
}
.entry-content > table > tbody > tr.end > th:after
{
	right:0;
}


.entry-content > table > tbody table
{
	width: 100%;
	margin-bottom: 2rem;
}

.entry-content > table > tbody table th,
.entry-content > table > tbody table td
{
	padding: .5em 1em;
/*	text-align:center;*/
}

.entry-content > table > tbody table th + th,
.entry-content > table > tbody table td + td
{
	border-left: 1px solid rgb(150, 150, 150);
}

.entry-content > table > tbody table
{
	border-top: 1px solid rgb(150, 150, 150);
}

.entry-content > table > tbody table td
{
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
	border-bottom: 1px solid rgb(150, 150, 150);
	font-size: .9em;
}

.entry-content > table > tbody table th
{
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
	background-color: rgb(240, 240, 240);
	border-bottom: 1px solid rgb(150, 150, 150);
	color: rgb(100, 100, 100);
}

.secLine
{
	display:flex;
	align-items: center;
	margin-bottom: max(3rem, 5vw);
}

section + section .secLine
{
	margin-top: max(3rem, 5vw);
}

.secLine > span + span
{
	position:absolute;
	width: 24px;
	bottom: -6px;
	left: 0;
	border-bottom: 1px solid;
	
	transition-delay: 3s;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

.end .secLine > span + span
{
	width: 100%;
}

.secLine > span + span:after,
.secLine > span + span:before
{
	content:"";
	display:block;
	position:absolute;
	background-size:cover;
	background-position:50%;
	width: 6px;
	height: 10px;
	top: -4.5px;
	background-image:url(https://ko.dougukan.jp/_img/anchor.svg);
}

.secLine > span + span:after
{
	right:0;
	transform:rotate(180deg);
	transform-origin:center;
}

* + table.data
{
	margin-top:1rem;
}

table.data
{
	border-top: 1px solid rgb(150,150,150);
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

table.data th,
table.data  td
{
	line-height: 1.3;
	vertical-align: middle;
	padding: .75em 1em;
	border-bottom: 1px solid rgb(150,150,150);
	margin: 0;
}

table.data th
{
	color: rgb(100, 100, 100);
	width: 20%;
	background-color: rgb(240, 240, 240);
	border-right: 1px solid rgb(150,150,150);
}

table.data:not(._b) th
{
	min-width: 10rem;
}

table.data  td
{
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
	font-size: .9em;
}

ol.num_b
{
	list-style-type: decimal;
	padding-left:2em;
}

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


@media screen and (max-width: 980px)
{
	.entry-content > table > tbody > tr
	{
		flex-direction:column;
	}
	.entry-content > table > tbody > tr > td

	{
		width: 100%;
	}
	.entry-content > table > tbody > tr > th
	{
		position: relative;
		top: 0;
/*		margin-bottom: 3rem;*/
		margin-bottom: min(2rem, 10vw);
		display: block;
		width: 100%;
	}
}

@media screen and (max-width: 600px)
{
	table.data:not(._b)
	{
		border-top: 0;
		border: 2px solid rgb(240, 240, 240);
	}
	table.data:not(._b) th,
	table.data:not(._b)  td
	{
		display:block;
		border-bottom: 0px;
		width: 100%;
	}
	table.data:not(._b) th
	{
		border-right: 0px;
	}
}

@media screen and (max-width: 600px), (max-height: 600px)
{
	#header_link
	{
		padding: 3rem 2rem 1rem;
	}
}