@charset "UTF-8";

#links
{
	padding-top: 0;
}

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

#ouchi
{
	background-image: url(https://ko.dougukan.jp/_img/bg.jpg);
	background-size:75%;
	background-position: 50%;
	padding-top: max(3rem, 5vw);
	padding-bottom: max(5rem, 10vw);
}

#lead
{
	max-width: 650px;
	margin: 0 auto;
	padding: 0 2rem;
}

#lead > div
{
	border-radius: 1rem;
	background-color: rgb(255, 255, 255);
	font-family: 'GG-M';
	font-weight: 550;
	padding: 1.5rem;
}

#lead h3
{
	font-family: 'Robo-M', 'GG-M', sans-serif;
	font-weight: 550;
	display: flex;
	flex-wrap:wrap;
	justify-content:center;
	margin-bottom: 1em;
}

#lead .news
{
	border-top: 1px solid rgb(150, 150, 150);
	padding-top: 1em;
	margin-top: 1em;
}

#ouchi-museum
{
	width: 100%;
	max-width: calc(1280px + 4rem);
	margin: 0rem auto;
	padding: 5rem 2rem 0rem 4rem;

	display:flex;
	justify-content: space-between;
	align-items: flex-start;
}

#cate
{
	position:sticky;
	top: 4.5rem;
	display: flex;
	flex-direction: column;
	width: 15rem;
}

#cate .now
{
	color: rgb(150, 150, 150);
}

#cate .cate
{
	line-height: 1.3;
	padding-top: .5em;
}

#cate .cate + .cate
{
	margin-top: .5em;
	border-top: 1px solid rgb(200, 200, 200);
}

#cont
{
	width: calc(100% - 20rem);
}

#cont .secTitle
{
	margin-bottom: max(1.5rem, 2vw);
}

#cont h3,
#cont h2
{
	font-family: 'Robo-M', 'GG-M', sans-serif;
	font-weight: 550;
	padding-bottom: .5rem;
	font-size: clamp(1.2rem, 3vw, 1.5rem);
}

#cont .cont + .cont
{
	margin-top: 3em;
}

#mokuji1 .video_wrapper .profile
{
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items: flex-start;
}

#mokuji1 .video_wrapper .profile > *
{
	width: calc(50% - 2rem);
	margin: 1rem;
}

#mokuji1 .video_wrapper .profile + .profile
{
	margin-top: max(2rem, 3vw);
}

.video_wrapper
{
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
	margin: -1rem;
}

#mokuji2 .video_wrapper > *
{
	width: calc(50% - 2rem);
	margin: 1rem;
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
}

#mokuji3 .video_wrapper > *,
#mokuji4 .video_wrapper > *,
.exhibition .video_wrapper > *
{
	width: calc(100% / 3 - 2rem);
	margin: 1rem;
}

#mokuji3 .video_wrapper,
#mokuji4 .video_wrapper,
.exhibition .video_wrapper
{
	margin: -1rem;
	width: calc(100% + 2rem);
	justify-content: flex-start;
}

.v_n
{
	display:flex;
	flex-wrap:wrap;
	flex-direction: column;
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
	align-items:flex-start;
}

.tag
{
	font-family: 'R-R', 'GG-R', sans-serif;
	font-weight: 400;
	font-size: .8em;
}

#mokuji4 .secTitle
{
	margin-bottom: 0;
}

#mokuji4 .desc
{
	margin: max(1rem, 1.1vw) 0 max(2rem, 2vw);
}

#mokuji4 .desc h3
{
	font-size: clamp(1.1rem, 2vw, 1.2rem);
}

a.box
{
	margin-top: .5em;
}

.exhibition._a .fig_txt
{
	display:flex;
	align-items: flex-end;
}

.exhibition._a .fig_txt figure
{
	line-height:0;
	width: 60%;
	margin-right: 2rem;
}

.exhibition._a .fig_txt .txt
{
	width: calc(40% - 2rem);
}

.exhibition .video_wrapper
{
	margin-top: max(2rem, 3vw);
}

.exhibition .profile dd > p
{
	display:flex;
	flex-direction:column;
}

.name
{
	font-family: 'R-M', 'GG-M', sans-serif;
	font-weight: 550;
}

.time,
.v_n .sub
{
	font-size: .8em;
}

#mokuji12 .video,
#mokuji18 .video
{
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
}


#mokuji12 .video > *,
#mokuji18 .video > *
{
	width:calc(50% - 1rem);
}

#mokuji12 .video h3
{
	font-size: clamp(1.1rem, 2vw, 1.2rem);
}

#mokuji13 .list-photo
{
	display:flex;
	flex-wrap:wrap;
	margin: -1rem;
	margin-top: max(2rem, 2vw);
	width: calc(100% + 2rem);
}

#mokuji13 .list-photo > figure
{
	width: calc(100% / 2 - 2rem);
	margin: 1rem;
	display:flex;
	flex-direction:row;
	align-items:flex-end;
}

#mokuji13 .list-photo > figure figcaption
{
	margin-left: 1rem;
	margin-bottom: 1rem;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	width: 50%;
}

#mokuji13 .list-photo > figure > a
{
	width: 50%;
}

#mokuji13 .list-photo > figure img
{
	border-radius: .5rem;
}

#mokuji18 .secTitle .tag
{
	margin-right: 1em;
}

#mokuji15 .box
{
	font-size: 1.1em;
	margin-top: 1em;
	white-space: break-spaces;
}

/**********************************************************************/
/****************************** YouTube *******************************/
/**********************************************************************/

.pkg
{
	display: inline-block;
	box-sizing:border-box;
	width: 100%;
	border-radius: .5rem;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, .1);
}

.modal-open
{
	cursor: pointer;
	 width: 100%;
	 height: 100%;
	 position: absolute;
	 top: 0;
	 left: 0;
	z-index: 6;
	background-color: rgba(0, 0, 0, 0);

	-webkit-transition: background-color .2s ease;
	-moz-transition: background-color .2s ease;
	-ms-transition: background-color .2s ease;
	-o-transition: background-color .2s ease;
	transition: background-color .2s ease;
}
.modal-open:hover
{
	background-color: rgba(0, 0, 0, .3);
}

.modal-open:before
{
	content:"";
	display:block;
	position: absolute;
	width: 4rem;
	height: 3rem;
	background-color: rgba(50, 50, 50, .8);
	top:calc(50% - 1.5rem);
	left: calc(50% - 2rem);
	border-radius: 25%;
}
.modal-open:after
{
	content:"";
	display:block;
	position: absolute;
	width: 0;
	height: 0;
	top:calc(50% - .5rem);
	left: calc(50% - .4rem);
	border-style: solid;
	border-width: .5rem 0 .5rem 1rem;
	border-color: transparent transparent transparent rgb(255, 255, 255);
}

.vdo-body
{
	max-width: 100%;
	height: auto;
	aspect-ratio: 5.5 / 3;
	overflow: hidden;
	background-size: 102%;
	background-position: 50% 50%;
}

.pkg .vdo-ttl
{
	margin-top:1.5rem;
	font-size: .8rem;
	-webkit-justify-content: center;
	justify-content: center;
}

.pkg .vdo-desc
{
	font-size: 1em;
	margin: 1rem auto 2.5rem;
	max-width: calc(900px - 6rem);
}

.modal-vdo-body
{
	width: calc(100% - 4rem);
/*	width: 100%;*/
	height: auto;
	padding-bottom: 56.25%;
	position: relative;
	overflow: hidden;
}

.modal-vdo-body iframe
{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}


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

@media screen and (max-width: 950px)
{
	#mokuji1 .video_wrapper .profile
	{
		flex-direction:column;
	}
	#mokuji1 .video_wrapper .profile > *
	{
		width: calc(100% - 2rem);
	}
	#mokuji1 .video_wrapper .profile > dd
	{
		margin-top: 1rem;
	}
}

@media screen and (max-width: 800px)
{
	#ouchi-museum
	{
		flex-direction: column;
	}
	
	#cate
	{
		position:static;
		margin-bottom: 3rem;
		width: calc(100% - 0rem);
	}
	
	#cont
	{
		width: calc(100% - 0rem);
	}
}

@media screen and (max-width: 950px)
{
	#mokuji3 .video_wrapper > *,
	#mokuji4 .video_wrapper > *,
	.exhibition .video_wrapper > *
	{
		width: calc(100% / 2 - 2rem);
	}
	
	#mokuji13 .list-photo > figure
	{
		width: 100%;
	}
}

@media screen and (max-width: 750px)
{
	#mokuji12 .video,
	#mokuji18 .video
	{
		flex-direction: column;
	}
	
	#mokuji12 .video > *,
	#mokuji18 .video > *
	{
		width:100%;
	}
	#mokuji12 .video > .desc,
	#mokuji18 .video > .desc
	{
		margin-top: 1rem;
	}
}

@media screen and (max-width: 600px), (max-height: 600px)
{
	#ouchi-museum
	{
		padding: 5rem 2rem 0rem 2rem;
	}
	#mokuji13 .list-photo > figure
	{
		width: calc(100% / 2 - 2rem);
	}
}

@media screen and (max-width: 550px)
{	
	#mokuji13 .list-photo > figure
	{
		width: 100%;
	}
}