
/* event
------------------------------------------------------------*/

.event_list {
    display: flex;
    flex-wrap: wrap;
	/*justify-content:center;*/
    gap: 30px 0px;
    margin-top: 0%;
	margin-bottom: 5%;
}
.event_list li {
    padding-top: 1%;
    padding-right: 0%;
    padding-bottom: 1%;
    padding-left: 0%;
    /*border: 1px solid #E3E3E3;   */ 
    background-color: rgba(255,255,255,1.00);
}
.event_list > li {
    width: calc( ( 100% / 3 ) - 0px ); 
}
@media screen and (max-width: 991px) {
.event_list > li {
    width: calc( ( 100% / 2 ) - 0px ); 
}
}
@media screen and (max-width: 575px) {
.event_list > li {
    width: calc( 100% ); 
}
}
.event_list_day {
    font-size: 14px;
    font-feature-settings: "palt";
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    letter-spacing: 0.1em;
    color: rgba(146,146,146,1.00);
}
.event_list_ttl {
    font-size: 18px;
    font-feature-settings: "palt";
    padding-left: 5px;
    padding-right: 5px;
    letter-spacing: 0.1em;
    font-weight: bold;
}
.nav-below {	
	margin-bottom: 1%;	
	margin-top: 1%;
}

/* .move_bottom-lineを基点にします */
.move_bottom-line{
    display: inline-block;
    position: relative;
}
/* ::afterの擬似要素を作ります。 */
.move_bottom-line::after{
    content: "";
    position: absolute;
    bottom:0;
    left:0;
    width: 0;                   /* hoverしていない時の横幅は0に指定 */
    height: 10px;                /* 線の太さ */
    background-color: rgba(202,192,145,1.00);  /* 線色 */
    transition: .3s;            /* アニメーション時間 */
}
/* .move_bottom-lineがホバーされた時に線の横幅を100%にします */
.move_bottom-line:hover::after{
    width: 100%;
}


.event_box h3 {
    font-size: 24px;
    padding-bottom: 5px;
    margin-bottom: 30px;
    font-weight: bold;
    font-feature-settings: "palt";
    color: rgba(202,192,145,1.00)
}
@media screen and (max-width: 1199px) {
.event_box h3 {
    font-size: 20px;
}
}
@media screen and (max-width: 575px) {
.event_box h3 {
    font-size: 17px;
}
}

.event_box p {
  font-size: 16px;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
  .event_box p {
    font-size: 14px;
  }
}

.photo_gallery_3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 20px;
    margin-top: 30px;
    position: relative;
}

@media screen and (max-width: 575px) {
.photo_gallery_3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 10px;
}
}
.photo_gallery_4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 20px;
    margin-top: 30px;
}
@media screen and (max-width: 991px) {
.photo_gallery_4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px 10px;
}
}
@media screen and (max-width: 575px) {
.photo_gallery_4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 10px;
}
}
/* トリミング
---------------------------------*/
.trimming {
  overflow: hidden;
  position: relative;
  padding-top: 65%;
  margin-bottom: 15px;
}
.photo {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* ブロックエディタ
---------------------------------*/

 .wp-block-columns {
    margin-bottom: 20px;       
    }       
/* --- 「my-three-column-images」クラスを持つカラムブロック内の要素のみを対象 --- */

/* 1. カラム自体の幅と挙動を制御（Flexboxの拡大・縮小を阻止） */
/* このセレクタは、3つの均等なカラムがあることを前提とします */
.my-three-column-images.is-layout-flex > .wp-block-column {
    /* 3等分に正確な幅を計算し、強制適用 */
    flex-basis: calc(33.333% - (var(--wp--style--block-gap, 1.5em) * 2 / 3)) !important;
    flex-grow: 0 !important;   /* カラムが拡大するのを強制的に防ぐ */
    flex-shrink: 0 !important; /* カラムが縮小するのを強制的に防ぐ */
    box-sizing: border-box !important; /* パディングとボーダーを幅に含めることを強制 */
    margin: 0 !important; /* 既存のマージンが影響している場合も強制リセット */
}

/* 2. カラム内の画像を格納するfigure要素（画像ブロックのコンテナ）の高さを固定 */
/* これにより、画像自体ではなく、そのコンテナの高さが均一になります。*/
.my-three-column-images.is-layout-flex .wp-block-column > figure.wp-block-image {
    height: 300px !important; /* **★ここでお好みの固定高さを設定してください（強制適用）★** */
    overflow: hidden !important; /* コンテナからはみ出る画像を強制的に隠す */
    margin: 0 !important; /* figureのデフォルトマージンを強制リセット */
    display: flex !important; /* 画像の配置を柔軟にするためFlexboxに */
    align-items: center !important; /* 縦方向中央揃え */
    justify-content: center !important; /* 横方向中央揃え */
}

/* 3. カラム内の実際の画像（imgタグ）に適用 */
/* 親要素（figure）のサイズに合わせて、画像をトリミングしてフィットさせます。 */
.my-three-column-images.is-layout-flex .wp-block-column img {
    width: 100% !important; /* 親要素の幅いっぱいに強制拡張 */
    height: 100% !important; /* 親要素（figureなど）の高さに強制的に合わせる */
    object-fit: cover !important; /* 画像を強制的にトリミングして領域を埋める */
    display: block !important; /* 画像の下の余白を強制的に削除 */
}

/* 補足：もしカラム内にギャラリーブロックを挿入している場合のみ適用 */
/* 現状のHTMLでは画像が直接figureにあるため、このケースは通常不要です */
.my-three-column-images.is-layout-flex .wp-block-column .wp-block-gallery .blocks-gallery-item img {
    width: 100% !important;
    height: 300px !important; /* カラム内のギャラリー画像の高さを固定 */
    object-fit: cover !important;
    display: block !important;
}