@charset "utf-8";
@import url("base.css");



/*共通設定-------------------------------------------------------------------------------------------------------------------------------------*/

/*リンク*/
#activities li dd a{
	color: #028a4a;
	text-decoration: none;
}
#activities li dd a:hover,#activities li dd a:active{
	color: #028a4a;
	text-decoration:underline;
}
/*メイン*/
h1:after{
	content: 'activities';
}
#main_title{
	background-image: url(../img/activities/top_img.png);
	background-position: bottom center;
}
#activities{
	margin: 4em auto 0;
}
#activities > ul > li{
	width: 96%;
	padding: 1em 2%;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}
#activities li:nth-child(odd){
	background-color: #f7f7f7;
}
#activities li dl{
	width: 100%;
}
#activities li dt{
	color: #028a4a;
	margin: 0 0 1em;
}		
#activities ul.photos{
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}
#activities ul.photos li{
	width:32%;
	margin:0 0 1em 0;
}
/*#activities li img{
	width: 35%;
}*/
		

/*共通設定ここまで-------------------------------------------------------------------------------------------------------------------------------------*/

/* pc */
@media screen and (min-width: 1300px)  {

/*メイン*/
h1,#activities{
	width: 1280px;
}

}

/* tablet以下共通 ------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1299px)  {
	
/*メイン*/
h1,#activities{
	width: 96%;
}
}
/* tablet以下共通ここまで ------------------------------------------------------------------------------------------*/


/* tablet1 */
@media only screen and (min-width: 1024px) and (max-width: 1299px)  {

/*メイン*/

}


/* tablet2  */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	
/*メイン*/
	
}

/* tablet3  */
@media only screen and (max-width: 767px) {

/*メイン*/
#activities li{
	flex-direction:column;
}
#activities li a{
	width: 100%;
}
#activities li dl{
	width: 100%;
}
#activities li dt{
	margin: 0 0 0.5em;
}	
#activities ul.photos li{
	width:48%;
}
}

/* smartPhone1 */
@media only screen and (max-width: 499px) {
	
/*メイン*/
#activities ul.photos li{
	width:100%;
}

}