@charset "euc-jp";
/* CSS Document */

/* ver.2023.5 */

#actv .titlebox {
	background-image: url(../activities_sys/images/titlebg.jpg);
}

/* ----------------
     THUMBNAIL
----------------- */
.listthumb {
    position: relative;
	overflow: hidden;
	border: none;
	text-align: center;
	width: 100%;
	height: 100%;
}
.listthumb:after {
    padding-top: 100%;
    display: block;
    content: "";
}
.listthumb > .content {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	margin: 0;
	text-align: center;
	background: #EFEFEF url(../images/bg-w1.png) repeat center;
}
#actv .listthumb > .content {
	background-color: #E3FDFD;
}
.listthumb img {
	max-width: 100%;
	max-height: 100%;
	text-align: center;
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.date {
	text-align: right;
	color: #333;
	margin: 0 !important;
}

#Dlist {
	display: flex;
	flex-flow: row wrap;
}
/* #Dlist .dbox { border-top: dashed 1px #CCC;
	margin: 1.5em 0;
	padding: 1.5em 10px 0; } */
#Dlist .dbox {
	word-wrap: break-word;
	width: 100%;
	clear: both;
	margin: 0 0 1em;
	padding: 0 10px 0;
	letter-spacing: normal;
}
#Dlist .dbox:first-child {
	border: none;
	padding-top: 0 !important;
}

#Dlist .dbox h2, 
#Dlist .dbox p {
	margin-top: 0;
}
#Dlist .photobox {
	vertical-align: top;
	width: 25%;
	margin: 0 0 1em;
	padding: 0 10px;
	z-index: 5;
	letter-spacing: normal;
}
#Dlist .dbox .photobox {
	width: 45%;
	max-width: 500px;
	display: block !important;
	float: right !important;
	text-align: center;
	padding: 0 0 0 1.5em;
	z-index: 10;
}

#Dlist .photobox a {
	display: block;
	position: relative;
	text-align: center;
	margin-bottom: 0.5em;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#Dlist .photobox a:after {
	position: absolute;
	bottom: 0;
	right: 0;
	margin:0;
	content:"";
	display:inline-block;
	width: 20px;
	height: 20px;
	background: url(../images/zoom.png) no-repeat; 
	background-size: contain;
}
.phototxt {
	display: block;
	font-size: 1.4rem;
	color: #444;
	word-break: break-all;
}

#Dlist .dbox:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#Dlist .photobox.hidden {
	padding: 0;
	margin: 0;
	height: 1px;
}
#Dlist .photobox.hidden hr {
	display: none;
}

/* ----------------------
	tenpu file
---------------------- */
.tenpu {
	background: #EFEFEF;
	border-right: solid 3px #FFF;
	border-bottom: solid 3px #FFF;
	box-shadow: 2px 2px 0 #DDD;
	margin: 2em;
	padding: 2em;
	border-radius: 8px;
	line-height: normal;
}
.tenpu p {
	margin: 0 0 0.5em;
}

/* ----------------------
	youtube
---------------------- */
.movie {
	text-align: center;
	margin-bottom:1em;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#itemfooter {
	margin-bottom: 2em;
}

@media screen and (max-width:979px){
#Dlist .dbox {
	background-size: auto 8px;
}
#info #Dlist .dbox {
	background-size: auto 10px;
}
#Dlist .photobox {
	padding: 0 5px;
}
}

@media screen and (max-width:639px){
#Dlist .dbox {
	background-size: auto 6px;
}
#info #Dlist .dbox {
	background-size: auto 8px;
}
#Dlist .photobox {
	width: 50%;
}
#Dlist .dbox .photobox {
	width: 50%;
	display: block !important;
	float: right !important;
	padding: 0 0 0 10px;
}

.tenpu {
	margin: 1em;
	padding: 1em;
}
}

@media screen and (max-width:399px){
#Dlist .dbox .photobox {
	width: 100%;
	float: none;
	padding: 0 0;
}
}
