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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 管理用 */
#wpadminbar,
.admin-panel {
  /*   display: none; */
}
/* エレメント */
body {
  letter-spacing: 0.05em;
}
i {
  display: inline-block;
  margin-left: 0.1em;
  margin-right: 0.2em;
}
/* リンク画像 */
.a-wrap figure {
  overflow: hidden;
}
.a-wrap figure > img {
  display: block;
  transition: transform 0.3s ease-in-out;
}
.a-wrap:hover figure > img {
  transform: scale(1.3);
}
/* フッターナビ */
.navi-footer-in a {
  font-size: 12px;
}
/* リンクボタン */
.body .btn-wrap a {
  margin-bottom: 0;
}

/* ボックスシャドウ */
.navi {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.16);
  font-weight: 700;
}
.main,
.sidebar,
.carousel-in,
.sbp-main-before,
.sbp-footer-before,
.pbp-main-before,
.pbp-footer-before,
.article h2,
h3.widget-title {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
/* レーティング */
.rating-number {
  display: none;
}
/* 動画 */
.video-container {
  max-width: 100%;
}
/* プロフィール */
.author-box {
  border-color: var(--wp--preset--color--key-color);
  background-color: #fff5f3;
}
/* 通知エリア */
/* .notice-area-wrap {
  font-weight: 700;
  position: relative;
}
.notice-area-wrap::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    -45deg,
    #fff 0 6px,
    transparent 6px 12px
  );
  opacity: 0.1;
} */
/* アピールエリア */
.appeal {
  background-position: center center;
}
.appeal-content {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 2em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
/* ヘッダーナビ */
.navi .item-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
#navi .navi-in a:hover {
  color: var(--wp--preset--color--ex-c);
}
/* タブ */
.tab-content-group {
  border-color: var(--wp--preset--color--key-color);
}
.tab-block .tab-label-group {
  justify-content: center;
}
.tab-block .tab-label-group .tab-label {
  border: 1px solid var(--cocoon-basic-border-color);
  border-bottom: none;
  transition: 0.3s;
}
.tab-block .tab-label-group .tab-label.is-active {
  border-color: var(--wp--preset--color--key-color);
  background-color: var(--wp--preset--color--key-color);
}
.home .tab-block .tab-label-group .tab-label::before {
  font-family: "Font Awesome 5 Free";
  margin-right: 0.2em;
}
.home .tab-block .tab-label-group .tab-label-0::before {
  content: "\f017";
}
.home .tab-block .tab-label-group .tab-label-1::before {
  content: "\f005";
}
/* ブログカード */
.blogcard-footer {
  display: none;
}
/* 見出し（h2） */
.article h2 {
  color: #fff;
}
/* 見出し（h3・サイドバー） */
.article h3,
.sidebar .widget-title {
  border-color: var(--wp--preset--color--key-color);
  border-width: 2px;
  border-radius: 8px;
  position: relative;
}
.sidebar .widget-title {
  color: #fff;
  text-align: center;
}
.article h3::after,
.sidebar .widget-title:after {
  position: absolute;
  top: 100%;
  left: 20px;
  content: "";
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top: 15px solid var(--wp--preset--color--key-color);
}
.sidebar .widget-title:after {
  left: 50%;
  transform: translateX(-50%);
}
/* 人気記事順位アイコン */
.widget-entry-cards.ranking-visible .card-thumb::before {
  background-color: #3f4a59;
  background-image: linear-gradient(
    135deg,
    #4c5b6b,
    #3f4a59,
    #354148,
    #3f4a59,
    #2c353e
  );
  opacity: 0.95;
}
.widget-entry-cards.ranking-visible .no-1 .card-thumb::before {
  background-color: #ffb700;
  background-image: linear-gradient(
    135deg,
    #ffcc33,
    #ffb700,
    #ff9e00,
    #ffb700,
    #e69a00,
    #d88f00,
    #ffb700,
    #ffcc33,
    #ff9e00,
    #e69a00,
    #d88f00
  );
}
.widget-entry-cards.ranking-visible .no-2 .card-thumb::before {
  background-color: #c0c0c0;
  background-image: linear-gradient(
    135deg,
    #d0d0d0,
    #c0c0c0,
    #b0b0b0,
    #c0c0c0,
    #a0a0a0,
    #909090,
    #c0c0c0,
    #d0d0d0,
    #b0b0b0,
    #a0a0a0,
    #909090
  );
}
.widget-entry-cards.ranking-visible .no-3 .card-thumb::before {
  background-color: #cd7f32;
  background-image: linear-gradient(
    135deg,
    #d88a44,
    #cd7f32,
    #b86a2e,
    #cd7f32,
    #a66124,
    #9c5b22,
    #cd7f32,
    #d88a44,
    #b86a2e,
    #a66124,
    #9c5b22
  );
}
.card-content .card-title {
  font-size: 14px;
}
.home .entry-title,
.home .date-tags {
  display: none;
}
/* 投稿ヘッダー */
.eye-catch .cat-label {
  padding-left: 2em;
  opacity: 0.95;
}
.eye-catch .cat-label::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.6em;
  content: "\f07b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
/* 目次 */
.toc-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  font-weight: 700;
}
.toc-title::before {
  display: inline-block;
  margin-right: 0.4em;
  content: "\f02d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
/* 目次（h2） */
.toc-list > li > a {
  padding-left: 1.3em;
  position: relative;
}
.toc-list > li > a::before {
  position: absolute;
  top: -0.15em;
  left: 0;
  content: "\f08d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transform: rotate(15deg);
}
/* 目次（h3） */
.toc-list > li li a {
  padding-left: 0.8em;
  font-size: 0.9em;
  position: relative;
}
.toc-list > li li a::before {
  position: absolute;
  top: -0.2em;
  left: 0;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
/* 目次（サイドバー） */
.sidebar .toc-title {
  display: none;
}
#sidebar.sidebar .toc-content {
  max-height: 500px;
  overflow-y: auto;
}
.sidebar .toc-content li a {
  transition: 0.3s;
}
.sidebar .toc-content li.current a {
  color: var(--wp--preset--color--ex-a);
  font-weight: 700;
}
/* カテゴリー・タグ（サイドバー） */
.sidebar .cat-item a,
.sidebar .tag-item a {
  display: flex;
  border-bottom: 1px dashed #ccc;
  padding: 0.3em 0 0.1em 2em;
  position: relative;
}
.sidebar .cat-item a::before {
  position: absolute;
  top: 50%;
  left: 0.4em;
  transform: translateY(-48%);
  content: "\f07b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.sidebar .tag-item a::before {
  position: absolute;
  top: 50%;
  left: 0.4em;
  transform: translateY(-48%);
  content: "\f02b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.sidebar .cat-item .post-count::before,
.sidebar .tag-item .post-count::before {
  content: "（";
}
.sidebar .cat-item .post-count::after,
.sidebar .tag-item .post-count::after {
  content: "）";
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
  /* モバイルスライドインメニュー */
  .menu-drawer a {
    border-bottom: 1px dashed #ccc;
    padding-top: 8px;
  }
  #navi .navi-in a:hover {
    color: var(--wp--preset--color--ex-c);
  }
  .menu-drawer a i {
    width: 1.5em;
  }
  /* フッタープロフィール */
  .footer .author-box {
    border-color: #555;
    background-color: #444;
    color: #fff;
  }
  #footer .author-name a {
    color: var(--wp--preset--color--ex-c);
  }
  #footer .author-name a:hover {
    background-color: transparent;
    color: var(--wp--preset--color--key-color);
  }
  .author-box .sns-follow-buttons a.follow-button {
    border-color: currentcolor;
    color: var(--wp--preset--color--key-color);
  }
  .author-box .sns-follow-buttons a.follow-button:hover {
    color: var(--wp--preset--color--ex-c);
  }
  /* フッターナビ */
  #footer .menu-footer a:hover {
    color: var(--wp--preset--color--key-color);
  }
}

/*1022px以下*/
@media screen and (max-width: 1022px) {
  #notice-area {
    background-color: #283593;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
}

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