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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*記事一覧のタイトル3行制限を解除*/
.entry-card-title {
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  display: block !important;
  overflow: visible !important;
}

.top-category-card {
    margin: 20px 0;
}

.top-category-card a {
    display: block;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    background: linear-gradient(135deg,#f8f9fa,#ffffff);
    border: 1px solid #e5e5e5;
    transition: .3s;
}

.top-category-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
	color: black;
}

.card-desc {
    color: #666;
    font-size: 14px;
}

.tweet-archive {
    max-width: 700px;
    margin: 0 auto;
}

.tweet-item {
    padding: 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.tweet-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.tweet-content {
    font-size: 16px;
    line-height: 1.8;
}

.tweet-categories {
    margin-bottom: 10px;
}

.tweet-category {
    display: inline-block;
    margin-right: 6px;
    padding: 4px 8px;
    background: #f2f2f2;
    border-radius: 999px;
    font-size: 12px;
}

.tweet-category a {
    text-decoration: none;
    color: #666;
}

.tweet-content p {
    margin-bottom: 1em;
}

.tweet-content a:has(img) {
    display: inline-block;
    margin-right: 1em;
    margin-bottom: 1em;
}

.entry-content a:has(img) {
    display: inline-block;
    margin-right: 1em;
    margin-bottom: 1em;
}

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

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

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