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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 記事一覧のサムネイルサイズを変更 */
.entry-card-content {
    margin-left: 150px !important;	
}

.entry-card-thumb {
    width: 150px !important;	
}

.entry-card-thumb img {
    width: 150px; 
    height: auto;
}

/* サイドバーのサイズを変更 */
.related-entry-card-title, .entry-card-title {
	font-size: 16px;
}

.sidebar h2, .sidebar h3 {
	padding: 5px;
    margin-bottom: 10px;
	border-bottom: 1px solid #5e5e5e;
	background-color: #fff;
}

/*カテゴリの行間を狭くする*/
.widget_categories ul li a {
    line-height: 0.8;
}

.entry-title, .archive-title {
	font-size: 20px;
}

.related-entry-heading, .comment-title {
	font-size: 18px;
}

/* 見出しのデザインを変更 */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  	background: none;
  	border: none;
  	border-radius: 0;
}

.entry-content h2 {
  	border-left: solid 5px #5e5e5e;
  	padding: .5em 1em;
	font-size: 18px;
}

.entry-content h3 {
  	border-left: double 5px #5e5e5e;
  	padding: .5em 1em;
	font-size: 16px;
}

/* イイネとお便りボタン */
.like-letter-box {
    display: flex;
	align-items: center; /* 縦の中央揃え */
    gap: 15px; /* ボタン同士の間隔 */
    margin: 40px 0; /* 上下の余白 */
}

.like-button-item .wp_ulike_general_class {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.otayori-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
	color: #5e5e5e;
    height: 38px; /* WP ULikeの標準的な高さに固定してY軸を強制的に揃える */
    padding: 0 18px;
    background-color: #ffffff; /* 白背景 */
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #e6e6e6; /* WP ULikeに合わせた薄いグレーの枠線 */
    border-radius: 4px; /* 優しい角丸 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* ほんの少しの立体感 */
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.otayori-btn i {
    margin-right: 6px;
    font-size: 15px; /* アイコンの大きさ */
}

.otayori-btn:hover {
    background-color: #f9f9f9;
    border-color: #d8d8d8;
    color: #333333;
}

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

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

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