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

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

/* サイト名テキストのみ非表示（ロゴ画像は表示） */
.site-name-text {
    display: none !important;
}

/* フッターのロゴのみ非表示 */
.logo-footer {
    display: none !important;
}

/* ヘッダーロゴは表示 */
.logo-header {
    display: block !important;
}

h1.logo.logo-header {
    margin: 0 !important;
    padding: 10px 0 !important;
    height: auto !important;
    text-align: center;
}

.source-org.copyright {
    display: none !important;
}

/* new_listショートコードの日付を強制表示 */
.new-entry-cards .new-entry-card-date.display-none,
.widget-entry-cards .widget-entry-card-date.display-none,
.new-entry-card-date.display-none,
.widget-entry-card-date.display-none,
.display-none.new-entry-card-date,
.display-none.widget-entry-card-date {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    position: static !important;
}

.new-entry-card-post-date,
.new-entry-card-update-date,
.widget-entry-card-post-date,
.widget-entry-card-update-date,
span.new-entry-card-post-date,
span.new-entry-card-update-date {
    display: inline-block !important;
    visibility: visible !important;
    margin-right: 10px;
    font-size: 14px;
    color: #333 !important;
}

/* カスタムヘッダーナビゲーション */
.custom-header-nav {
    background-color: #333;
    padding: 0;
    margin: 0;
}

.custom-header-nav .custom-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-header-nav .menu-item {
    margin: 0;
    padding: 0;
}

.custom-header-nav .menu-item a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.custom-header-nav .menu-item a:hover {
    background-color: #555;
}

/* カスタムフッター情報 */
.custom-footer-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px 20px;
    background-color: #f5f5f5;
    color: #333;
}

.custom-footer-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.footer-about,
.footer-links {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #333;
}

/* SNSシェアボタンの最適化 - 主要なもののみ表示 */
.pinterest-button,
.pocket-button,
.line-button,
.copy-button {
    display: none !important;
}

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

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

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