@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){
  /*必要ならばここにコードを書く*/
}

/* Calm editorial system for Still Growing Life */
:root { --paper:#f7f5ef; --ink:#30302e; --muted:#5f5a60; --accent:#6f5b78; --rule:#ddd8cf; }
body { background:var(--paper)!important; color:var(--ink); }
#container,#content,#content-in,.main,#sidebar { background:transparent!important; box-shadow:none!important; }
#header { background:var(--paper)!important; background-image:none!important; }
#header-in { box-sizing:border-box; width:calc(100% - 32px); max-width:1080px; height:100%; margin:0 auto; padding:clamp(12px,2vw,24px) 16px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
#header .logo { margin:0; }
#header .site-name-text-link,#header .site-name-text { color:var(--ink)!important; font-family:"Yu Mincho","YuMincho","Hiragino Mincho ProN","Hiragino Mincho Pro","Noto Serif CJK JP","Source Han Serif JP","MS PMincho",serif; text-decoration:none; }
#header .site-name-text { font-size:clamp(22px,2.5vw,32px); font-weight:500; letter-spacing:.03em; line-height:1.4; }
#header .tagline { margin-top:6px; color:var(--muted)!important; font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif; font-size:clamp(12px,1vw,14px); font-weight:400; letter-spacing:.04em; line-height:1.6; }
#navi,#navi-in,#navi .menu-header,#navi .menu-mobile { background:var(--paper)!important; }
#navi { border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
#navi-in { max-width:1080px; margin:0 auto; }
#navi .menu-header>li>a,#navi .menu-mobile>li>a { color:var(--ink)!important; background:transparent!important; font-size:14px; font-weight:500; letter-spacing:.03em; line-height:1.45; padding:clamp(9px,1vw,13px) clamp(8px,1vw,14px); }
#navi .menu-header>li>a:hover,#navi .menu-mobile>li>a:hover,#navi .menu-header>li>a:focus-visible,#navi .menu-mobile>li>a:focus-visible { color:var(--accent)!important; background:transparent!important; text-decoration:underline; text-underline-offset:4px; }
#navi .current-menu-item>a { color:var(--accent)!important; }
.main .entry-card-wrap { display:block; background:transparent!important; border:0!important; border-bottom:1px solid var(--rule)!important; border-radius:0!important; box-shadow:none!important; margin:0!important; padding:clamp(16px,2vw,24px) 0!important; }
.main .entry-card { background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; }

.main .entry-card-title { color:var(--ink)!important; font-weight:600; line-height:1.55; }
.main .entry-card-wrap:hover .entry-card-title,.main .entry-card-wrap:focus-visible .entry-card-title { color:var(--accent)!important; }
.main .entry-card-snippet { color:var(--muted); line-height:1.75; }
.main .entry-card-thumb img { border-radius:3px; }
.main .cat-label { background:#e8e1eb!important; color:#514457!important; border:1px solid #d9cfdf; }
  #sidebar .widget { background:transparent!important; border:0!important; box-shadow:none!important; padding:0; margin-bottom:28px; }
  #sidebar .widget-sidebar-title { color:var(--ink)!important; background:transparent!important; border:0!important; border-bottom:1px solid var(--rule)!important; border-radius:0!important; padding:0 0 10px!important; margin:0 0 16px!important; font-size:16px; font-weight:600; }
  #sidebar .widget_author_box .author-box { background:transparent!important; border:0!important; box-shadow:none!important; padding:10px 0!important; }
  #sidebar .widget-entry-card { background:transparent!important; border:0!important; border-bottom:1px solid var(--rule)!important; box-shadow:none!important; }
  #sidebar .widget a { color:var(--ink); }
  #sidebar .widget a:hover,#sidebar .widget a:focus-visible { color:var(--accent)!important; text-decoration:underline; text-underline-offset:3px; }
  .main .entry-content { color:var(--ink); line-height:1.9; }
  a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
    #sidebar .author-name a { color:var(--accent)!important; text-decoration:none; font-weight:600; }
    #sidebar .author-name a:hover,#sidebar .author-name a:focus-visible { color:var(--ink)!important; text-decoration:underline; text-underline-offset:3px; }
    #footer { background:var(--paper)!important; color:var(--muted)!important; border-top:1px solid var(--rule); }
    #footer a { color:var(--ink)!important; }
    #footer-in { background:transparent!important; }
    
#header .site-name-text { font-size:clamp(18px,2.3vw,30px); }

/* Remove legacy title panel */
#header-in,#header #header-in,#header .logo,#header .logo-header,#header .site-name,#header .site-name-text-link,#header .site-name-text,#header .tagline,#header #header-in::before,#header #header-in::after,#header .logo::before,#header .logo::after { background:transparent!important; background-color:transparent!important; box-shadow:none!important; border:0!important; border-radius:0!important; backdrop-filter:none!important; }
#header #header-in::before,#header #header-in::after { content:none!important; display:none!important; }
