@charset "utf-8";
/* CSS Document */

header#main{
   border-bottom: 13px solid #666;

}



/* ----------------------------------------------------- */
/* #gallery */
/* ----------------------------------------------------- */

#gallery{
	width:100%;
	margin:0 auto 25px auto;
	padding:80px 0 20px 0;

}

#gallery h2{
	font-size:25px;
	margin: 0 auto 80px auto;
	text-align: center;
	line-height: 1.1em;
	padding: 0 60px 4px 60px;
    border-bottom:5px solid #217705;
	display: inline-block;
}


#gallery article{
    width:70%;
	margin: 0 auto 100px auto;
}


#gallery article ul{
   width:80%;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  justify-content: center; /* 全体を中央寄せにする */
  gap: 4%;                /* 要素間の隙間を4%にする（幅に合わせて調整） */
  margin:0 auto 30px auto;
}


#gallery article ul li{
   width: 48%;
   margin-bottom: 30px; /* 下の段との間隔 */
   box-sizing: border-box;  /* paddingやborderを含めた幅計算にする */
}

#gallery article ul li video {
  width: 100% !important; /* liの幅いっぱいに広げる */
  height: auto;
  aspect-ratio: 16 / 9;   /* アスペクト比を固定してガタつき防止 */
  display: block;
}

#gallery article ul li h4{
   font-size:18px;
   margin:0;
   paddding:0 0 0 22px;
   min-height:2em;
   border-bottom:1px solid #000;
   text-align:left;
}

#gallery article ul li h4:before{
   content:"▲";
   margin-right:2px;
   color:#217705;
   display: inline-block;
   transform: rotate(90deg);

}



