/* .loop */
.loop p {
	margin:0 0 0.3em 0;
}
.loop article {
	font-size:110%;
	border-bottom:dotted 1px #ccc;
	margin:0 0 1em 0;
}
.loop article a.thumbnail {
	display:block;
	width:30%;
	float:left;
	margin-bottom:0.5em;
}
.loop article .detail {
	width:calc(70% - 0.8em);
	float:right;
	font-weight:normal;
	margin-bottom:0.5em;
}
.loop .date_and_category {
	font-size:70%;
	line-height:1em;
	margin-bottom:0.4em;
}
.loop a.category {
	color:#333 !important;
	text-decoration:none !important;
	margin:0 0.5em 0 0;
}
.loop .title {
	font-size:1.0em;
	line-height:1.6em;
	font-weight:bold;
	margin-bottom:0.1em;
}
.loop .title a {
	color:#333 !important;
	text-decoration:none !important;
}
.loop .excerpt {
	font-size:0.8em;
	line-height:1.8em;
}
.loop article .detail p {
	margin-left:0;
}

a.readmore {
	font-size:80%;
	background:#eee;
	padding:0.2em 0.5em;
	border-radius:0.2em;
}
span.date-and-place {
	font-size:0.9em;
	font-weight: bold;
	border:solid 0.1em;
	border-radius: 0.2em;
	padding:0.1em 0.5em;
	margin:0 0.7em 0 0;
}

/* .loop.record */
.loop.record article {
	display:grid;
	grid-template-columns: 1fr 3fr 1fr;/* 幅 */
	grid-template-rows: 1fr 1fr;/* 高さ */
	row-gap: 0;
	column-gap: 0.5em;
}
.loop.record article .date {
	grid-column:1;/* 幅 */
	grid-row:1/3;/* 高さ */
	display: grid;/* 左寄せ・上下中央表示用 */
	place-items: center start;/* 左寄せ・上下中央表示用 */
}
.loop.record article .detail {
	grid-column:2;/* 幅 */
	grid-row:1/3;/* 高さ */
	width:100%;
}
.loop.record article .box-thumbnail {
	grid-column:3;/* 幅 */
	grid-row:1/3;/* 高さ */
}
.loop.record article .box-thumbnail a.thumbnail {
	width:100%;
}
/*** section別loop ***/
/* pickup */
section#pickup .loop p {
	margin:0 0 0.3em 0;
}
section#pickup .loop article {
	margin:0 0 0 0;
}
section#pickup .loop article a {
	color:#333;
}
section#pickup .loop  .category {
	margin:0 0.5em 0 0;
}
section#pickup .loop a.thumbnail {
	width:100%;
	margin:0 0 0 0;
}
section#pickup .loop .detail {
	/* サムネイルに重ねる場合
	position:absolute;
	bottom:0;
	background:rgba(255,255,255,0.8); */
	width:100%;
	padding:0.6em 0.6em;
}
section#pickup .loop .detail .title,section#pickup .loop .detail .date,section#pickup .loop .detail .place {
	clear:both;
	width:100%;
}
section#pickup .loop .detail .title {
	font-size:1.1em;
	font-weight: bold;
}
/* cast-and-staff */
section#cast-and-staff .loop {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap:0.8em;
	margin-bottom:1em;
}
section#cast-and-staff .loop article {
	margin:0 0 0 0;
	border:none;
}
section#cast-and-staff .loop article a.thumbnail {
	display:block;
	width:100%;
	margin-bottom:0.5em;
}
section#cast-and-staff .loop article .detail {
	display:block;
	width:100%;
	font-weight:normal;
	margin-bottom:0.5em;
}
/*** レスポンシブ対応 ***/
/* 800px以下 */
@media screen and (max-width: 800px) {
	section#cast-and-staff .loop {
		grid-template-columns: repeat(2, 1fr);
		gap:0.8em;
	}
}

/***** ボタン *****/
a.button {
	display:inline-block;
	color:#fff !important;
	font-size:1.3em;
	font-weight:normal;
	border:thin solid #fff;
	padding:0.3em 1.5em;
	text-decoration:none !important;
}
a.button-detail {
	font-size:0.9em;
	font-weight: bold;
	color:#333;
	display:inline-block;
	float:right;
	padding:0.1em 0.8em 0.1em 2.3em;
	border-radius: 0.2em;
	background: url("img/arrow.gif") no-repeat #EFEFEF 0.8em 50%;
	background-size:1em;
	text-decoration: none !important;
}
.box_button a.detail {
	font-weight:bold;
	background:#eee;
	padding:0.6em;
}
a.reload {
	color:#000 !important;
	text-decoration:none !important;
	padding:0.5em 1em;
	border:solid #000 1px;
}

/* menu-mini */
p.menu-mini a {
	display:inline-block;
	text-decoration:none;
	background:#673577;
	font-size:90%;
	font-weight:bold;
	padding:0 0.7em;
	margin:0 0.6em 0.5em 0;
	border-radius:0.3em;
}
p.menu-mini a:link,p.menu-mini a:visited,p.menu-mini a:hover {
	text-decoration:none !important;
	color:#fff !important;
}
/* category */
span.category-volunteer, span.category-event, span.category-course {
	display:inline-block;
	color:#fff !important;
	line-height:1;
	padding:0.4em 1em;
	margin:0 0.6em 0 0;
	border-radius:0.2em;
	width:6em;
	text-align: center;
	font-weight:bold;
	font-size:90%;
	text-decoration: none !important;
}
@media all and (-ms-high-contrast:none){ /* IE11表示調整用ハック */
	span.category-volunteer, span.category-event, span.category-course {
		padding:0.6em 1em 0.3em;
	}
}


/* reCAPTCHAを非表示にする */
.grecaptcha-badge { visibility: hidden; }
/* recaptcha */
p.recaptcha {
	font-size:0.6em;
	line-height:1.5em;
}

/*　Googleカレンダー埋め込み　*/
.google-cal iframe {
width:100%;
max-width:800px;
height:400px;
}
@media (min-width: 750px) {
.google-cal iframe {
height:600px;
}
}

/* contactform7 */
.wpcf7-text,.wpcf7-textarea {
	width:30em;
	max-width:100%;
	font-size:1em;
}

.wpcf7-submit {
	color:#000;
	font-size:1em;
	border:solid 1px rgb(169, 169,169);
	padding:0.3em 1.5em;
	background:#eee;
}

/* Youtubeレスポンシブ表示用 */
.movie {
	width: 100%;
	aspect-ratio: 16 / 9;
	margin:0 auto 1.5em auto;
}
.movie iframe {
  width: 100%;
  height: 100%;
}
.video {
	width:100%;
	padding-bottom: 56.25%;
	height:0;
	position: relative;
	margin-bottom:1.5em;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*** 段落 ***/
/* the_content p */
.the_content > p { /* the_content 直下のpのみ 一般投稿用 */
	margin-left:0;
}

/* note */
.note {
	font-size:90%;
	background:#fffae2;
	padding:1em 1.5em;
	margin:0 0 2em 0;
}
.note p {
	margin:0 0;
}

/*** Wordpress ***/
/* wp-block-table */
figure.wp-block-table {
	max-width:55em;
	margin-bottom:1.5em;
}
.wp-block-table table tr th,.wp-block-table table tr td {
	padding:0.5em 1.1em;
}
.wp-block-table table tr th {
	background:#eee;
	border:thin solid #ccc;
}
.wp-block-table table tr td {
	border:thin solid #ccc;	
	margin:0 0 0.5em 0;
}
/* WP-pagenavi */
.wp-pagenavi {
	width:100%;
	text-align:center;
	font-size:0.8em;
	margin:0 0 2em 0;
}
.wp-pagenavi a, .wp-pagenavi span{
	color:#333;
	background:#f0f0f0;
	border-radius:0.3em;
	border:none !important;
	padding:0.5em 1em !important;
}
.wp-pagenavi span.current {
	color:#333;
	background:#ddd;
}