@charset "UTF-8";

#primary {
	margin: 0 0 0 0;
}
#primary #content div.entry-content {
	width: 100%;
	margin: 0 auto;
}
#primary #content div.entry-content h2 {
	margin: 0 0 40px 0;
}

#primary #content div.entry-content table {
	margin: 20px auto 0;
}

@media screen and (max-width: 767px) {
	#primary #content {
		margin: 0 10px;
	}
	#primary #content div.entry-content table {
		margin: 20px auto 0;
	}
	#primary #content div.entry-content iframe {
		width: 100%;
		height: 250px;
	}
}

table.large_image {
	width: 100%;
	margin: 0 auto 0;
}
table.large_image td {
	vertical-align: middle;
	padding-bottom: 0;
	line-height: 0;
	background-color: #000;
	background-position: center top;
	background-repeat: no-repeat;
}
table.large_image span {
	font-family: 'Lato','ヒラギノ明朝 W3','ＭＳ Ｐ明朝','_明朝';
	font-size: 36px;
	color: #fff;
	width: 960px;
	display: block;
	margin: 0 auto 0;
}
#primary #content div.entry-content table.large_image {
	width: 100%;
	margin: 0 auto 80px;
}
#primary #content div.entry-content table.large_image td {
	vertical-align: middle;
	padding-bottom: 0;
	line-height: 0;
	background-color: #000;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}
#primary #content div.entry-content table.large_image span {
	font-family: 'Lato','ヒラギノ明朝 W3','ＭＳ Ｐ明朝','_明朝';
	font-size: 36px;
	color: #fff;
	width: 960px;
	display: block;
	margin: 0 auto 0;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  border: solid #DBDBDB;
  border-width: 1px 0 0 0;
  padding: 0 0 40px 0;
  margin: 0;
}
@media screen and (max-width: 767px) {
	#primary #content div.entry-content table.large_image {
		width: 100vw;
		margin: 0 0 40px -20px;
	}
	#primary #content div.entry-content table.large_image td {
		display: table-cell;
	}
	.about_us #primary #content div.entry-content table.large_image td {
		height: 150px!important;
	}
	.about_architecture #primary #content div.entry-content table.large_image td {
		height: 100px!important;
	}
}


table.large_image {
	width: 100%;
	margin: 0 auto 0;
}
table.large_image td {
	vertical-align: middle;
	padding-bottom: 0;
	line-height: 1.1;
	background-color: #000;
	background-position: center top;
	background-repeat: no-repeat;
}
#primary #content div.entry-content table.large_image span {
	font-family: 'Lato','ヒラギノ明朝 W3','ＭＳ Ｐ明朝','_明朝';
	font-size: 36px;
	color: #fff;
	width: 960px;
	display: block;
	margin: 0 auto 0;
	line-height: 120%;
}
@media screen and (max-width: 767px) {
	#primary #content div.entry-content table.large_image span {
		font-size: 20px;
		width: auto;
		margin-left: 30px;
	}
}

/*--- 常設展用 -----*/
#primary #content div.entry-content table.exhibition_menu_table,
#primary #content div.entry-content table.exhibition_menu_table th,
#primary #content div.entry-content table.exhibition_menu_table td {
	margin: 0;
	padding: 0;
}
#primary #content div.entry-content table.exhibition_menu_table {
	margin: 13px auto;
}
#primary #content div.entry-content table.exhibition_menu_table td {
	width: 126px;
	height: 421px;/*390+32*/
	line-height: 1em;
	padding-left: 13px;
	vertical-align: top;
	text-align: left;
}
#primary #content div.entry-content table.exhibition_menu_table td.ft {
	padding-left: 0;
}
#primary #content div.entry-content table.exhibition_table td {
	padding-bottom: 20px;
}
#primary #content div.entry-content table.exhibition_table td.main_img {
	width: 440px;
	padding-right: 36px;
	padding-bottom: 24px;
	line-height: 1em;
}
@media screen and (max-width: 767px) {
	#primary #content div.entry-content table.exhibition_menu_table {
		display: none;
	}

	#primary #content div.entry-content #history,
	#primary #content div.entry-content #toryo,
	#primary #content div.entry-content #tool,
	#primary #content div.entry-content #world,
	#primary #content div.entry-content #tradition,
	#primary #content div.entry-content #crafts,
	#primary #content div.entry-content #wood {
		margin-top: 0;
	}
	#primary #content div.entry-content #wood {
		margin-bottom: 20px;
	}
	#primary #content div.entry-content #history tr:first-child th,
	#primary #content div.entry-content #toryo tr:first-child th,
	#primary #content div.entry-content #tool tr:first-child th,
	#primary #content div.entry-content #world tr:first-child th,
	#primary #content div.entry-content #tradition tr:first-child th,
	#primary #content div.entry-content #crafts tr:first-child th,
	#primary #content div.entry-content #wood tr:first-child th {
		width: 100vw;
		height: 60px;
		border-top: 1px solid #fff;
		text-align: right;
		line-height: 1.2em;
		color: #fff;
		padding: 0 30px 0 10px;
		margin-left: -20px;
		margin-bottom: 0;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		background-position: right 10px center, center;
		background-size: 10px 6px, cover;
		background-repeat: no-repeat;
	}
	#primary #content div.entry-content #history tr:first-child th div,
	#primary #content div.entry-content #toryo tr:first-child th div,
	#primary #content div.entry-content #tool tr:first-child th div,
	#primary #content div.entry-content #world tr:first-child th div,
	#primary #content div.entry-content #tradition tr:first-child th div,
	#primary #content div.entry-content #crafts tr:first-child th div,
	#primary #content div.entry-content #wood tr:first-child th div {
		display: table;
		width: 100%;
		height: 60px;
	}
	#primary #content div.entry-content #history tr:first-child th div p,
	#primary #content div.entry-content #toryo tr:first-child th div p,
	#primary #content div.entry-content #tool tr:first-child th div p,
	#primary #content div.entry-content #world tr:first-child th div p,
	#primary #content div.entry-content #tradition tr:first-child th div p,
	#primary #content div.entry-content #crafts tr:first-child th div p,
	#primary #content div.entry-content #wood tr:first-child th div p {
		display: table-cell;
		font-weight: normal;
		vertical-align: middle;
	}
	#primary #content div.entry-content #history tr:first-child th {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-down-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-history.jpg);
	}
	#primary #content div.entry-content #history tr:first-child th.active {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-up-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-history.jpg);
	}
	#primary #content div.entry-content #toryo tr:first-child th {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-down-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-toryo.jpg);
	}
	#primary #content div.entry-content #toryo tr:first-child th.active {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-up-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-toryo.jpg);
	}
	#primary #content div.entry-content #tool tr:first-child th {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-down-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-tool.jpg);
	}
	#primary #content div.entry-content #tool tr:first-child th.active {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-up-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-tool.jpg);
	}
	#primary #content div.entry-content #world tr:first-child th {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-down-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-world.jpg);
	}
	#primary #content div.entry-content #world tr:first-child th.active {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-up-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-world.jpg);
	}
	#primary #content div.entry-content #tradition tr:first-child th {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-down-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-tradition.jpg);
	}
	#primary #content div.entry-content #tradition tr:first-child th.active {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-up-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-tradition.jpg);
	}
	#primary #content div.entry-content #crafts tr:first-child th {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-down-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-crafts.jpg);
	}
	#primary #content div.entry-content #crafts tr:first-child th.active {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-up-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-crafts.jpg);
	}
	#primary #content div.entry-content #wood tr:first-child th {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-down-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-wood.jpg);
	}
	#primary #content div.entry-content #wood tr:first-child th.active {
		background-image: url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/icon-arrow-up-white.png), url(https://ko.dougukan.jp/wp-content/themes/dougukan/images/exhibition-sp-wood.jpg);
	}
	#primary #content div.entry-content #history tr:first-child .main_img,
	#primary #content div.entry-content #toryo tr:first-child .main_img,
	#primary #content div.entry-content #tool tr:first-child .main_img,
	#primary #content div.entry-content #world tr:first-child .main_img,
	#primary #content div.entry-content #tradition tr:first-child .main_img,
	#primary #content div.entry-content #crafts tr:first-child .main_img,
	#primary #content div.entry-content #wood tr:first-child .main_img {
		margin-top: 20px;
	}

	#primary #content div.entry-content table.exhibition_table td.main_img {
		width: 100%;
		padding-right: 0;
		padding-bottom: 24px;
	}
	#primary #content div.entry-content table.exhibition_table td.main_img img {
		width: 100%;
		height: auto;
	}
	#primary #content div.entry-content table.exhibition_table td a[href$=".jpg"] {
		width: calc((100% / 4) - 6px);
		margin: 0 5px 5px 0;
	}
	#primary #content div.entry-content table.exhibition_table td a[href$=".jpg"]:last-child {
		margin-right: 0;
	}
	#primary #content div.entry-content table.exhibition_table td a[href$=".jpg"] img {
		width: calc(100% - 10px);
		height: auto;
		margin: 5px;
	}
}



