/* sub common */
#pancz {
	width:100%;
	font-size: 11px;
	margin:0 0 60px;
	text-align:center;
}
.gallery #pancz a {
	color: #3E4261;
	text-decoration: underline;
}
.gallery #pancz a:hover {
	text-decoration: none;
}
.article .main {
	margin:0 auto 50px;
	overflow: hidden;
}
#backbtn {
	clear: both;
	display: block;
    width: 30%;
    min-width: 300px;
    height: 3em;
    margin: 0 auto;
    font-size: 15px;
    background-color: transparent;
    border: 1px solid #333;
    color: #333;
    line-height: 3em;
    overflow: hidden;
}
#backbtn:hover {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
    transition: all 0.3s ease;
}
.gallery.index #backbtn {
	margin:0 auto 100px;
}
.crimson {
	font-family: 'Crimson Text', serif;
}

/* gallery */
.gallery .bg_mawashi {
	overflow: hidden;
	width:100%;
	height: 100%;
	background: url(../img/bg_mawashi_M.png) no-repeat top -100px left -200px,
	url(../img/bg_mawashi_M.png) no-repeat top 1000px right -200px,
	url(../img/bg_mawashi_M.png) no-repeat top 1800px left -200px,
	url(../img/bg_mawashi_M.png) no-repeat top 2600px right -200px,
	#fff;
}
.gallery .content {
	width:100%;
	max-width:1100px;
	margin:0 auto;
	padding:100px 0 50px;
	overflow: hidden;
}
.gallery .content h2 {
	text-align:center;
	font-size: 36px;
	color: #333758;
	margin:0 auto 80px;
}
.gallery.index .content a {
	position: relative;
	display:block;
	width:46%;
	height:180px;
	max-width:530px;
	margin:0 2% 40px;
	float: left;
	color: #fff;
	text-align:center;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
}
.gallery a#nenpu {
	background-image:url(../gallery/img/thumb_nenpu.jpg);
}
.gallery a#history01 {
	background-image:url(../gallery/img/thumb_history01.jpg);
}
.gallery a#history02 {
	background-image:url(../gallery/img/thumb_history02.jpg);
}
.gallery a#history03 {
	background-image:url(../gallery/img/thumb_history03.jpg);
}
.gallery a#person {
	background-image:url(../gallery/img/thumb_person.jpg);
}
.gallery a#episode01 {
	background-image:url(../gallery/img/thumb_episode02.jpg);
}
.gallery a#episode02 {
	background-image:url(../gallery/img/thumb_episode01.jpg);
}
.gallery.index .content a:after {
	position:absolute;
	width:100%;
	height: 100%;
	content: '';
	top:0;
	left:0;
	background-color: rgba(25, 25, 25, 0.75);
	z-index: 10;
}
.gallery.index .content a:hover::after {
	background-color: rgba(51, 51, 51, 0);
	transition: all 0.3s ease;
}
.gallery.index .content dl {
	position: relative;
	z-index: 100;
	top:calc(50% - 1.5em);
}
.gallery.index .content dd,
.gallery.index .content dt {
	display: inline-block;
	padding:0 0.5em;
}
.gallery.index .content a:hover dd,
.gallery.index .content a:hover dt {
	background-color: rgba(51, 55, 88, 0.95);
	transition: all 0.3s ease;
	box-shadow:0px 2px 5px 0px rgba(0,0,0,0.12);
}
.gallery.index .content h3 {
	font-size: 28px;
	letter-spacing: 0.1em;
	font-weight: normal;
}
.gallery.index .content a:hover h3 {
	font-weight: bold;
	transition: all 0.3s ease;
}
.gallery.index .content h3 span {
	font-size: 70%;
	display:inline-block;
	margin:0 1em 0 0;
}
.gallery.index .content dd {
	font-size: 16px;
	font-weight: normal;
}
.gallery.index .content a:hover dd:after {
	display: block;
	content: '';
}

/* gallery article*/
.gallery.article h3 {
	position: relative;
	line-height: 1.4;
	margin:0 auto 80px;
	padding:0.25em 1em;
	text-align:center;
	width:100%;
	max-width: 600px;
	font-size: 28px;
	letter-spacing: 0.1em;
}
.gallery.article h3:before,
.gallery.article h3:after{ 
	content:'';
	width: 20px;
	height: 30px;
	position: absolute;
	display: inline-block;
}
.gallery.article h3:before{
	  border-left: solid 1px #ff5722;
	  border-top: solid 1px #ff5722;
	  top:0;
	  left: 0;
}
.gallery.article h3:after{
	  border-right: solid 1px #ff5722;
	  border-bottom: solid 1px #ff5722;
	  bottom:0;
	  right: 0;
}
.gallery.article table.nenpu {
	width:100%;
	margin:0 auto 30px;
	max-width: 800px;
	border-top:#ccc 1px solid;
	table-layout: fixed;
}
.gallery.article table.nenpu tr {
	padding:0.7em 0;
	border-bottom:#ccc 1px solid;
}
.gallery.article table.nenpu tr:nth-child(2n) {
	background-color: rgba(241, 241, 241, 0.68);
}
.gallery.article table.nenpu th {
	text-align:center;
	padding:0.8em 0.5em;
	width: 22%;
}
.gallery.article table.nenpu th span {
	display: block;
}
.gallery.article table.nenpu td {
	width: 78%;
	padding:0.8em 0.5em;
	/*line-height: 2em; ルビ対応 */
	vertical-align: middle;
}
.gallery.article dl {
	position: relative;
	width:100%;
	margin:0 auto 50px;
	max-width: 960px;
	overflow: hidden;
	clear: both;
	line-height: 1.7em;
}
.gallery.article dt {
	color: #fff;
	text-align:center;
	font-size: 18px;
	background: url(../img/bg_nami_l_indigo.png) repeat 0 0, #494d69;
}
.gallery.article .history dt {
	position: absolute;
	top: 0;
	left: 0;
	bottom:0;
	width:20%;
	padding:3em;
	margin: 0 4% 0 0;
}
.gallery.article .theme dt {
	padding:1em 3em;
	width:100%;
}
.gallery.article dd {
	padding:2em 3em 3em;
	background: url(../img/bg_nami_l_touka.png) repeat 0 0, rgba(241, 241, 241, 1);
}
.gallery.article .history dd {
	float: right;
	width:76%;
}
.gallery.article .theme dd {
	width:100%;
}
.gallery.article dd div.pickup {
	width:96%;
	margin:20px 2% 0;
	padding:3em 3em 2em;
	background-color: #fff;
	font-size: 92%;
	box-shadow:inset 0 0 10px rgba(0,0,0,.2);
	overflow: hidden;
}
.gallery.article dd h4 {
	clear: both;
	font-size: 18px;
	margin:2em 0 1em;
	position: relative;
	z-index: 100;
}
.gallery.article dd h4:first-child {
	margin:0 0 1em;
}
.gallery.article dd h4:first-letter {
	color: #fff;
	font-size: 130%;
    margin: 0 0.2em 0 0;
    padding:0.35em 0.5em;
    background: #ce472f/*#ff5722*/;
    left: -0.5em;
    display: inline-block;
    position: relative;
}
.gallery.article dd div.pickup p {
	padding:0 0 0 1em;
}
.gallery.article dd div.pickup img {
	height: auto;
	float: left;
	margin:0 2em 0 0;
}
.gallery.article .history dd div.pickup img {
	width: 200px;
}
.gallery.article .history dd div.pickup img.wide {
	display: block;
	margin:0 auto 2em;
	width:400px;
	float: none;
}
.gallery.article .theme dd div.pickup img {
	width: 300px;
}
.gallery.article dd a.btn {
	display: block;
    width: 30%;
    min-width: 300px;
    height: 3em;
    margin: 30px auto 0;
    font-size: 15px;
    background-color: #fff;
    border: 1px solid #333;
    color: #333;
    line-height: 3em;
    overflow: hidden;
}
.gallery.article dd a:hover {
    background-color: #ce472f;
    border: 1px solid #ce472f;
    color: #fff;
    transition: all 0.3s ease;
}
.gallery.article dd em {
	color: #ff5722;
	font-weight: bold;
}
.gallery.article .pickup .box {
	float: left;
	width:48%;
	padding:15px 0 0;
	text-align: center;
}
.gallery.article .pickup .box:nth-child(2n+1) {
	margin:0 4% 0 0;
}
.gallery.article .pickup .box img {
	width:96%;
	height: auto;
	margin:0 auto 0.5em;
	display: block;
	float: none;
}
.gallery.article .pickup .box .name {
	text-align: center;
	font-size: 120%;
	margin:0 0 1em;
	padding:0;
}
.gallery.article .pickup .box .caption {
	line-height: 1.5em;
	text-align:left;
}


@media screen and (min-width: 1024px) { /* 1024px以上用（PC用）の記述 */

}

@media screen and (max-width: 1023px) { /* 1023px以下用（タブレット用）の記述 */
.pc {
	display:none;
}
.gallery .content {
	max-width: none;
	padding:80px 0
}
}

@media screen and (max-width: 800px) {
    /* 767px以下用（タブレット／スマートフォン用）の記述 */
.gallery .bg_mawashi {
	width:100%;
	height: 100%;
	background: url(../img/bg_mawashi_M.png) no-repeat top -5% left -5%,
	url(../img/bg_mawashi_M.png) no-repeat top 90% right -5%;
}
.gallery .content {
	padding:80px 0;
}
.gallery.index .content a {
	width:90%;
	margin:0 auto 30px;
	float: none;
}
.gallery.index .content a:after {
	background-color: rgba(0, 0, 0, 0.3);
}
.gallery.index .content a:after::hover {
	background-color: rgba(0, 0, 0, 0.3);
}
.gallery.index .content dl {
	top:calc(50% - 1.5em);
}
.gallery.index .content dd,
.gallery.index .content dt {
	padding:0.1em 0.5em;
	background-color: rgba(51, 55, 88, 0.95);
}
.gallery.index .content dt span {
	font-size: 150%;
	font-weight: normal;
	margin:0 0 0.5em;
}
.gallery.index .content h3 {
	font-size: 24px;
	font-weight: bold;
}
.gallery.index .content h3 span {
	font-size: 70%;
}
.gallery.index .content dd {
	font-size: 14px;
}

.gallery.article h3,
.gallery.article table.nenpu {
	width:90%;	
	max-width: none;
}
.gallery.article h3 {
	font-size: 24px;
	margin:0 5% 60px;
}
.gallery.article table.nenpu {
	margin:0 5% 30px;
}
.gallery.article dl {
	position: static;
	width:92%;
	margin:0 4% 50px;
}
.gallery.article .history dt {
	position: static;
	width: 100%;
	margin: 0;
	padding:1em;
}
.gallery.article dd div.pickup p {
    padding: 0.2em;
}
.gallery.article dt br {
	display: none;
}
.gallery.article .history dd {
	float: none;
	position: static;
	width:100%;
	padding:5%;
}
.gallery.article .history dd div.pickup {
	width:100%;
	margin:20px auto 0;
	padding:2em 5%;
}
}

@media screen and (max-width: 479px) {
    /* 479px以下用（スマートフォン用）の記述 */
.gallery.article dd {
	padding:2em 4%;
}
.gallery.article dd div.pickup {
	width: 100%;
	margin: 20px 0 0;
    padding: 3em 4% 2em;
}
.gallery.article dd h4 {
	clear: both;
	font-size: 18px;
	margin:2em 0 1em;
	position: relative;
	z-index: 100;
	line-height: 2em;
}
.gallery.article dd div.pickup img {
	width: 100% !important;
	height: auto;
	float: none;
	display: block;
	margin:0 auto 1em;
}
.gallery.article .history dd div.pickup img.wide {
	margin:0 auto 2em;
	width:100%;
}
.gallery.article dd a.btn {
    width: 100%;
    min-width: none !important;
}
.gallery.article .pickup .box {
	float: none;
	width:96%;
}
.gallery.article.pickup .box:nth-child(2n+1) {
	margin:0 0 0 0;
}
}
