@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** Z1_manager・編集UIを完全非表示
************************************/

/* authorリンク削除 */
a[href*="/author/z1_manager/"],
a[href*="author/z1_manager"],
a[href*="z1_manager"]{
  display:none !important;
}

/* WordPress編集リンク削除 */
.post-edit-link,
.entry-edit-link,
.edit-link,
.wp-block-post-edit-link,
.wp-block-post-edit-link__link,
a.post-edit-link,
a.entry-edit-link{
  display:none !important;
}

/* 編集アイコン（鉛筆）SVGやbutton含め完全削除 */
svg[class*="edit"],
svg[aria-label*="edit"],
svg[aria-label*="Edit"],
svg[aria-label*="編集"],
i[class*="edit"],
span[class*="edit"],
button[class*="edit"],
a[class*="edit"]{
  display:none !important;
}

/* 右下固定型UI対策（最終保険） */
a[style*="position: fixed"],
button[style*="position: fixed"],
span[style*="position: fixed"]{
  display:none !important;
}


/************************************
** イベントフォト レイアウト
************************************/

.ep-list{
  display:flex;
  flex-direction:column;
  gap:40px;
}

.ep-item a{
  display:flex;
  align-items:flex-start;
  gap:30px;
  text-decoration:none;
  color:#333;
}

/* 画像サイズ統一 */
.ep-thumb img{
  width:320px;
  height:200px;
  object-fit:cover;
  display:block;
}

/* Cocoon見出し装飾削除 */
.ep-item h3{
  border:none !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
}

.ep-item h3::before,
.ep-item h3::after{
  content:none !important;
  display:none !important;
}

/* タイトル調整 */
.ep-text h3{
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}


/************************************
** レスポンシブ
************************************/

@media screen and (max-width: 834px){
  .ep-item a{
    flex-direction:column;
    gap:14px;
  }

  .ep-thumb img{
    width:100%;
    height:auto;
  }
}