@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* --- 1. 基本設定・レイアウト --- */
#appeal, .p-appeal { display: none !important; }
#main { background-color: #fff !important; }
.header { margin-bottom: 0 !important; }

/* --- 2. 記事一覧の調整（最終版：PC横長・スマホ正方形） --- */

.entry-card {
  display: flex !important;
  align-items: flex-start;
  padding: 20px !important;
  gap: 20px;
  background: #fff;
}

.home .entry-card-thumb, 
.archive .entry-card-thumb { 
  display: block !important; 
  width: 240px !important;  
  height: 135px !important; 
  flex-shrink: 0;
}

.entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px;
}

.entry-card-content {
  flex: 1;
  margin-left: 0 !important;
  padding: 0 !important;
}

@media screen and (max-width: 480px) {
  .entry-card {
    align-items: center;
    padding: 12px !important;
  }

  .home .entry-card-thumb, 
  .archive .entry-card-thumb { 
    width: 90px !important; 
    height: 90px !important; 
    margin-right: 15px !important;
  }

  .entry-card-thumb img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* --- 3. サイドバーの豹柄設定 --- */
#sidebar {
    background-image: url("http://www.earth-bounder.com/wp-content/uploads/2026/02/IMG_2161.png") !important;
    background-size: 800px !important;
    background-repeat: repeat !important;
    padding: 20px 10px !important;
    border-radius: 12px !important;
}
#sidebar .widget {
    background: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 10px !important;
}

/* --- 4. カテゴリーと最新記事のスタイル --- */
.widget_categories ul li a,
.widget_recent_entries ul li a {
    font-family: "Noto Sans JP", sans-serif !important;
    color: #636363 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid transparent !important;
    border-image: linear-gradient(to right, transparent, #aaa, transparent) 1 !important;
}


/* --- 5. ホバー時の色変更 --- */
a:hover,
.widget_categories ul li a:hover,
.widget_recent_entries ul li a:hover,
.entry-card-title a:hover,
.related-entry-card-title:hover,
.navi-in a:hover {
    color: #e56940 !important;
    transition: 0.3s !important;
}

/* --- 6. ブログタイトル --- */
.site-name-text { font-size: 60px !important; font-weight: 900 !important; }
@media screen and (max-width: 480px) { .site-name-text { font-size: 24px !important; } }

/* --- アイキャッチ画像上のカテゴリー名を消す --- */
.cat-label {
  display: none !important;
}



/* ブロックウィジェットのRecent Posts区切り線 */
#block-3 ul li {
    border-bottom: 2px solid transparent !important;
    border-image: linear-gradient(to right, transparent, #aaa, transparent) 1 !important;
    padding: 8px 0 !important;
}

/* 最後の項目は線なし */
#block-3 ul li:last-child {
    border-bottom: none !important;
    border-image: none !important;
}





/* スマホ版 Recent Posts区切り線 */
.wp-block-latest-posts__list li {
    border-bottom: 2px solid transparent !important;
    border-image: linear-gradient(to right, transparent, #aaa, transparent) 1 !important;
    padding: 8px 0 !important;
}

.wp-block-latest-posts__list li:last-child {
    border-bottom: none !important;
    border-image: none !important;
}



/* トップページ・記事一覧の区切り線 */
.entry-card-wrap {
    border-bottom: 2px solid transparent !important;
    border-image: linear-gradient(to right, transparent, #aaa, transparent) 1 !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

.entry-card-wrap:last-child {
    border-bottom: none !important;
    border-image: none !important;
}




/* About Me アイコン画像 */
.about-me-icon {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
	border: 3px solid #636363 !important;
}

/* X リンクアイコン */
.x-link-wrap {
    text-align: center;
    margin: -10px 0 15px 0;
}
.x-icon {
    width: 24px;
    height: 24px;
    color: #636363;
    transition: 0.3s;
}
.x-icon:hover {
    color: #e56940;
}