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

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

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

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

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

/* サイドバー見出し */
.sidebar h3 {
  background: #E9EFED;
  color: #333735;
  border: none;
  border-left: 3px solid #607D7A;
  padding: 10px 14px;
  font-size: 18px;
  font-weight: 500;
}

/* サムネイル上のカテゴリラベルを非表示 */
.cat-label {
  display: none;
}

/* SNSシェアボタンをサイトカラーに統一 */
.sns-share-buttons a {
  background: #fff !important;
  color: #6f8f8c !important;
  border: 1px solid #9fb4b1 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ホバー */
.sns-share-buttons a:hover {
  background: #eef3f2 !important;
  color: #587875 !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ========================================
   内部ブログカード
======================================== */

.internal-blogcard {
  border: 1px solid rgba(104, 137, 135, 0.45) !important;
  border-radius: 0 !important;
  padding: 16px !important;
  background: #fff !important;
}

/* ファビコン・サイト名を非表示 */
.internal-blogcard .blogcard-favicon,
.internal-blogcard .blogcard-domain {
  display: none !important;
}

/* タイトル */
.internal-blogcard .blogcard-title {
  font-weight: 600;
  line-height: 1.6;
  color: #333;
}

/* 抜粋 */
.internal-blogcard .blogcard-snippet {
  line-height: 1.8;
  color: #555;
}

/* 日付 */
.internal-blogcard .blogcard-date {
  font-size: 12px;
  color: #688987;
}
/* ブログカード 微調整 */

/* サムネイルを少し大きく */
.internal-blogcard .blogcard-thumbnail {
  width: 180px !important;
}

/* 抜粋は3行まで */
.internal-blogcard .blogcard-snippet {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 6px;
}

/* タイトル周り */
.internal-blogcard .blogcard-title {
  margin-bottom: 4px;
}

/* 記事下のカテゴリ表示を非表示 */
.entry-categories-tags {
  display: none;
}

/* ========================================
   記事内 H2見出し
======================================== */

.article h2 {
  background: transparent;
  color: #333735;
  border: none;
  padding: 0 0 0 30px;
  margin-top: 3.5em;
  margin-bottom: 1.5em;
  position: relative;
  font-weight: 600;
}

.article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 22px;
  height: 1px;
  background: #607D7A;
}

/* ========================================
   記事内 H3見出し
======================================== */

.article h3 {
  background: transparent;
  color: #333735;
  border: none;
  padding: 0 0 10px;
  margin-top: 2.5em;
  margin-bottom: 1.3em;
  font-weight: 600;
  position: relative;
}

.article h3::after {
  content: "";
  display: block;
  width: 70%;
  height: 1px;
  background: #C7D3D0;
  margin-top: 10px;
}

/* ========================================
   記事下 ページ送りナビ
======================================== */

.pager-post-navi {
  margin: 3.5em 0 3em;
  gap: 24px;
}

.pager-post-navi a {
  border: none;
  background: transparent;
  padding: 18px 0;
  position: relative;
}

.pager-post-navi a::before {
  display: block;
  color: #607D7A;
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.pager-post-navi .prev-post::before {
  content: "PREVIOUS STORY";
}

.pager-post-navi .next-post::before {
  content: "NEXT STORY";
}

.pager-post-navi .post-title {
  color: #333735;
  font-weight: 600;
  line-height: 1.7;
}

.pager-post-navi figure {
  opacity: 1;
}

.pager-post-navi .iconfont {
  color: #607D7A;
  opacity: 0.5;
}

/* =========================
   記事下エリア
========================= */

/* シェア見出し */
.sns-share-message {
  font-size: 11px !important;
  letter-spacing: 0.18em;
  color: #607D7A;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* シェアボタン */
.sns-share-buttons {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.sns-share-buttons a {
  font-size: 12px !important;
  opacity: 0.72;
}

/* 関連記事見出し */
.related-entry-heading {
  font-size: 0 !important;
  margin-top: 70px;
  margin-bottom: 32px;
  border: none !important;
  background: none !important;
}

.related-entry-heading::before {
  content: "OTHER STORIES";
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #607D7A;
}

/* 関連記事 */
.related-entry-card {
  padding: 18px 0 !important;
  border-bottom: 1px solid #E9EFED;
}

.related-entry-card-title {
  font-size: 16px !important;
  line-height: 1.7;
  color: #333735;
}

.related-entry-card-snippet {
  font-size: 13px;
  line-height: 1.8;
  color: #777;
}

/* =========================
   関連記事
========================= */

/* 見出し */
.related-entry-heading {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #607D7A;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.related-entry-heading::before {
  content: "MORE STORIES";
  display: block;
}

.related-entry-heading {
  font-size: 0;
}

/* 関連記事全体 */
.related-list {
  margin-top: 10px;
}

/* 1記事 */
.related-entry-card {
  border: none;
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #E9EFED;
}

/* サムネイル */
.related-entry-card-thumb {
  width: 34%;
}

/* タイトル */
.related-entry-card-title {
  font-size: 16px;
  line-height: 1.65;
  color: #333735;
  font-weight: 500;
}

/* 説明文 */
.related-entry-card-snippet {
  font-size: 13px;
  line-height: 1.7;
  color: #777;
  margin-top: 6px;
}

/* 最後の記事の線を消す */
.related-entry-card:last-child {
  border-bottom: none;
}

/* ========================================
   フッターメニュー
======================================== */

.navi-footer-in > .menu-footer {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 32px;
}

.navi-footer-in > .menu-footer li {
  width: auto !important;
  border: 0 !important;
}

.navi-footer-in > .menu-footer li:last-child {
  border: 0 !important;
}

.navi-footer-in > .menu-footer li a {
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: 0.12em;
}

@media screen and (max-width: 768px) {
  .navi-footer-in > .menu-footer {
    gap: 20px;
  }

  .navi-footer-in > .menu-footer li {
    width: auto !important;
    flex: none !important;
  }

  .navi-footer-in > .menu-footer li a {
    font-size: 10px;
    padding: 6px 0;
  }
}