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

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

:root {
  --cocoon-basic-border-radius: 12px;
  --cocoon-badge-border-radius: 24px;
}

/* 共通 */
.cat-label,
.pager-post-navi a,
.cat-item a,
.a-wrap {
  border-radius: var(--cocoon-badge-border-radius);
}

/* ヘッダー */
.site-name-text {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1.2rem;
}

.tagline {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 1.5rem;
}

/* ナビゲーションメニュー */
.item-label {
  font-weight: bold;
}

/* サイドバー共通 */
.sidebar h2, .sidebar h3 {
  text-align: center;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 12px solid #f0f5f3;
}

.toc-widget-box {
  border-top: 3px dotted #6b9e94;
  border-bottom: 3px dotted #6b9e94;
}

/* プロフィールウィジェット */
.author-widget-name {
  color: #5c8c7a;
  font-weight: bold;
}

/* 検索ウィジェット */
.wp-block-search__button {
  border: none;
  background-color: #e8b89a;
  color: #7a4830;
  font-weight: bold;
}

.wp-block-search__label {
  display: block;
  color: #5c8c7a;
  font-weight: bold;
}

/* カテゴリーバッチ */
.cat-link {
  padding: 4px 12px;
  font-weight: bold;
}

/* SNSシェア */
.sns-buttons a {
  font-weight: bold;
  height: 64px;
}

/* ウィジェット内要素 */
article,
.a-wrap {
  padding: 8px 20px;
}

.cat-label {
  padding: 2px 12px;
}

.cat-item span,
.widget-entry-card {
  padding: 4px 12px;
}


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

/*834px以下*/
@media screen and (max-width: 834px){
  /* ヘッダー */
  .tagline {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.4rem;
  }

  .header-site-logo-image {
    width: 50vw;
  }
}

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