/* ---------- photographer ---------- */
body, html {
	height: 100%;
}
body {
	background-color: #222;
	color: #fff;
	font-size: 10px;
	line-height: 15px;
	min-width: 960px;
}
main {
	padding-bottom: 100px;
}
a {
	color: #fff;
}
a:hover {
	opacity: 0.7;
}
img {
	width: 100%
}
.wrapper {
	margin: 0 auto;
	overflow: hidden;
	width: 710px;
}
header {
	height: 60px;
	line-height: 60px;
	text-align: center;
	vertical-align: middle;
}
header .wrapper p {
	margin: 0 auto;
	text-align: justify;
	width: 80%;
}
table {
	margin-bottom: 80px;
}
table tr {
	display: block;
	margin-bottom: 50px;
}
table tr:last-child {
	margin: 0;
}
table tr th {
	border-right: solid 1px #555;
	color: #ccc;
	font-size: 140%;
	font-weight: normal;
	vertical-align: middle;
	width: 200px;
}
table tr td {
	font-size: 140%;
	line-height: 210%;
	padding-left: 30px;
	vertical-align: top;
	width: 510px;
}
.name td {
	text-align: center;
	width: 350px
}
.time td {
	text-align: center;
	width: 350px
}
.imgbox {
	display: table-cell;
	height: 350px;
	text-align: center;
	vertical-align: middle;
	width: 350px;
}
.imgbox img {
	height: auto;
	max-height: 100%;
	max-width: 100%;
	width: auto;
}
table tr td p {
	margin-bottom: 1rem;
}
table tr td p:last-child {
	margin-bottom: 0;
}
.website td {
	text-align: center;
}
.website td a {
	display: block;
	text-align: left;
	width: 350px;
}
footer {
	background-color: #333;
	height: 50px;
}
footer small {
	display: block;
	font-size: 140%;
	height: 50px;
	line-height: 50px;
	text-align: center;
}

main .wrapper .imgbox .real_img {
	width: 100%;
}

@media screen and (max-width: 768px) {
/* ---------- photographer ---------- */
	body {
		min-width: 100%;
	}
	p {
		width: 100%;
	}
	.wrapper {
		width: 92%;
	}
	table {
		width: 100%;
	}
	header a {
		font-size: 140%;
	}
	table tr {
		border-bottom: solid 1px #555;
		margin-bottom: 20px;
		padding-bottom: 30px;
		width: 100%;
	}
	table tr:first-child {
		border-top: solid 1px #555;
	}
	table tr th {
		border-right: none;
		display: block;
		font-size: 200%;
		line-height: 300%;
		width: 100%;
	}
	table tr td {
		display: block;
		font-size: 180%;
		padding: 0;
		width: 100%;
	}
	.name td {
		width: 100%;
	}
	.photo td {
		display: inline-table;
	}
	.imgbox {
		display: contents;
		height: auto;
		width: 100%;
	}
	.imgbox img {
		margin: 0 auto;
		display: block;
	}
	table tr td p {
		margin-bottom: 2rem;
		text-align: justify;
	}
	.website td a {
		width: 100%;
	}
	footer small {
		font-size: 140%;
	}
}





/* ---------- main ---------- */

#main .wrapper {
	width: 1200px;
}
#main a {
	box-sizing: border-box;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	line-height: 25px;
	text-align: center;
	text-decoration: none;
	width: 297px;
}
#main .cast-time {
	color: #0080ff;
	text-decoration: none;
}
#main header {
	font-size: 18px;
	height: auto;
	padding: 80px 0 50px 0;
}
#main .ttlbox {
	margin: 0 auto 30px auto;
	width: 100%;
}
.ichiren img {
	margin-bottom: 40px;
	width: 12%;
}
.anithtxt {
	width: 60%;
}

.hasu_txt {
	background: url(../images/content/hasu_clear.png) no-repeat;
	background-size: 30%;
	background-position: center;
}

#main main > .wrapper > p {
	font-size: 30px;
	line-height: 60px;
	margin: 30px 0 15px;
	text-align: center;
}
#main main > .cast-time-link > p {
	line-height: 0px;
    margin: 25px 0 0;
}


@media screen and (max-width: 768px) {
	.hasu_txt {
		background: url(../images/content/hasu_clear.png) no-repeat;
		background-size: 50%;
		background-position: center;
	}
	.ichiren img {
		margin: 30px 0 0;
		width: 25%;
	}
	.anithtxt {
		width: 100%;
	}
	#main .wrapper {
		width: 92%;
	}
	#main header {
		padding: 60px 0 0px;
	}
	header .wrapper p{
		line-height: 50px;
		text-align: left;
		width: 92%;
			background-size: 90%;
	}
	#main .ttlbox {
		margin-bottom: 10px;
		width: 100%;
	}
	#main a {
		display: inline-block;
		width: 49%;
	}
	table {
		margin-bottom: 0;
		table-layout: fixed;
		width: 100%;
		word-break: break-all;
		word-wrap: break-all;
	}
}


/* ---------- translation ---------- */

#main .translation {
	left: 10px;
	position: fixed;
	top: 20px;
	z-index: 999;
}
#main .translation a {
	background-color: rgba(0,0,0,0.5);
	border: solid #fff 1px;
	border-spacing: 10px;
	color: #fff;
	font-size: 160%;
	padding: 5px 12px;
	width: 110px;
	}
}
#main .translation a:first-child {
	margin-right: 3px;
}
#main .cast-time-link p a {
	color: #0080ff;
	font-size: 18px;
	text-decoration: underline;
}
#main .cast-time-link p a:hover {
	color: #ff0000!important;
}
.kaisai {
	border: solid 1px #fff;
	box-sizing: border-box;
	float: left;
	margin: 0 2%;
	padding: 2% 0;
	text-align: center;
	width: 46%;
	background-color: #eee;
	color: #333;
	font-weight: bold;
}
#main .kaisai p a {
	font-size: 18px;
	text-decoration: underline;
}
#main .kaisai p a:hover {
	color: #ff0000!important;
}
.kaisai p:nth-child(1) {
	font-size: 26px;
	line-height: 2.5;
	text-align: center;
}
.kaisai p:nth-child(2) {
	font-size: 18px;
	line-height: 2.5;
	text-align: center;
}
.kaisai p:nth-child(3), .kaisai p:nth-child(4), #main .kaisai p:nth-child(4) a , #main .kaisai p:nth-child(5) a , #main .kaisai p:nth-child(6) a , #main .kaisai p:nth-child(7) a {
	font-size: 18px;
	line-height: 2.5;
	text-align: center;
}
.kaisai p:nth-child(4) {
	font-size: 18px;
	line-height: 2.5;
	text-align: center;
	color: red;
}
#main .kaisai p:nth-child(4) a, #main .kaisai p:nth-child(5) a , #main .kaisai p:nth-child(6) a , #main .kaisai p:nth-child(7) a {
	color: #0080ff;
	width: 100%;
}
#main main .kaijo p {
	font-size: 35px;
	margin: 60px 0 0;
}
#main main .wrapper .setumei {
	font-size: 18px;
	line-height: 40px;
}

@media screen and (min-width: 768px) {
	#main .translation {
		left: auto;
		right: 10px;
	}
}
@media screen and (max-width: 768px) {
	#main .cast-time-link p a {
		width: 80%;
	}
	.kaisai {
		margin: 0 0 40px;
		width: 100%;
		padding: 4% 4%;
	}
	main {
		padding-bottom: 40px;
	}
	#main .kaisai p:nth-child(4) a {
		width: 100%;
	}
}
.home-back {
	left: 38px;
	position: fixed;
	top: 62px;
	z-index: 999;
}
.home-back a {
	width: 100%!important;
}
@media  screen and (min-width: 768px) {
	.home-back {
		left: 0;
		position: fixed;
		top: 22px;
		z-index: 999;
		right: 0;
	}
}

/*#main {
	position: relative;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}*/
/*フッターを位置指定するための基準設定を、まずフッターの親に書くよ*/
/* 全部囲ってるdiv#containerは、”最低でも”高さ100%（＝ブラウザ画面めいっぱい）にしてね */
/* min-heightは最低限の高さを指定するプロパティ。コンテンツ量が増えれば、高さは伸びるよ */
/*IE6じゃmin-height使えないからIE6専用にこの行と次の行をこう書くよ*/
/*main {
	padding-bottom:50px;
}*/
/* 高さ50pxのフッターだから、その分空けてあげて */
/*footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 50px;
}*/
/* フッターを絶対配置に指定する設定 */
/* フッターを一番下に置くぜ！ */
/* フッターの高さ */

/* ---------- 開催要項 ---------- */



.en-txt {
	text-align: center!important;
}


.spt__box p {
	font-size: 18px;
	margin-bottom: 20px;
	text-align: center;
}












