@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){
  /*必要ならばここにコードを書く*/
}
/* =========================
   WAKA LIFE LOG 共通デザイン
   ========================= */

/* H1：記事タイトル */
.article-header .entry-title {
  color: #1E3A5F;
  padding-bottom: 18px;
  border-bottom: 2px solid #1E3A5F;
  position: relative;
}

.article-header .entry-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 3px;
  background: #F2B233;
}


/* H2：大見出し */
.article h2 {
  color: #1E3A5F;
  background: #E6ECF3;
  border-left: 6px solid #F2B233;
  padding: 18px 20px;
  margin: 32px 0 20px;
}


/* PC表示のアイキャッチを少し小さく */
@media screen and (min-width: 769px) {
  .eye-catch {
    width: 100%;
    max-width: 620px;
    margin: 18px auto 20px;
  }
}


/* SNSシェアボタン */
.sns-share-buttons a {
  background-color: #1E3A5F !important;
  border: 3px solid #F2B233 !important;
  color: #ffffff !important;

  font-size: 12px !important;
  padding: 5px 10px !important;
  min-height: 36px !important;
}
/* ========================================
   WAKA LIFE LOG｜グローバルメニュー
   ネイビー帯＋マスタードアクセント
======================================== */

/* ナビ全体をネイビー帯に */
#navi,
#navi .navi-in,
#navi .navi-in > ul {
  background: #1E3A5F !important;
}

/* 横並び・中央配置 */
#navi .navi-in > ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* 各項目 */
#navi .navi-in > ul > li {
  width: auto !important;
  background: transparent !important;
}

/* 通常・訪問済み・現在地すべて */
#navi .navi-in > ul > li > a,
#navi .navi-in > ul > li > a:link,
#navi .navi-in > ul > li > a:visited,
#navi .navi-in > ul > li.current-menu-item > a,
#navi .navi-in > ul > li.current-menu-parent > a {
  display: block;
  padding: 12px 30px;
  color: #ffffff !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 600;
}

/* マウスを乗せた時だけマスタード */
#navi .navi-in > ul > li > a:hover {
  color: #1E3A5F !important;
  background: #F2B233 !important;
}

/* 帯の下にマスタード線 */
#navi {
  border-bottom: 3px solid #F2B233 !important;
}
/* ========================================
   WAKA LIFE LOG｜メニューアイコン
======================================== */

/* アイコンと文字を横並び */
#navi .navi-in > ul > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: row !important;
}

/* アイコン共通 */
#navi .navi-in > ul > li > a::before {
  color: #F2B233;
  margin-right: 8px;
  margin-bottom: 0 !important;
  font-size: 21px;
  line-height: 1;
  display: inline-block !important;
}

/* ホーム */
#navi .navi-in > ul > li:nth-child(1) > a::before {
  content: "⌂";
}

/* 看護師の働き方 */
#navi .navi-in > ul > li:nth-child(2) > a::before {
  content: "✚";
}

/* セルフケア */
#navi .navi-in > ul > li:nth-child(3) > a::before {
  content: "♡";
}

/* 旅行 */
#navi .navi-in > ul > li:nth-child(4) > a::before {
  content: "✈";
}

/* ホバー時はアイコンをネイビーに */
#navi .navi-in > ul > li > a:hover::before {
  color: #1E3A5F;
}
/* 記事下SNSボタンをコンパクトに */
.sns-share-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sns-share-buttons a {
  flex: 0 0 auto !important;
  width: 130px !important;
  min-height: 34px !important;
  padding: 4px 8px !important;
  font-size: 13px !important;
}
/* ========================================
   WAKA LIFE LOG｜記事下プロフィールカード
======================================== */

.author-box {
  background: #ffffff !important;

  /* 横幅を少しコンパクトに */
  width: 85% !important;
  max-width: 850px !important;
  margin: 36px auto !important;

  /* 枠をはっきり */
  border: 2px solid #1E3A5F !important;
  border-left: 8px solid #F2B233 !important;
  border-radius: 6px !important;

  padding: 22px 26px !important;
  box-sizing: border-box;
}

/* プロフィール画像 */
.author-box .author-thumb {
  margin-right: 24px;
}

.author-box .author-thumb img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  border-radius: 50% !important;
}

/* 名前 */
.author-box .author-name,
.author-box .author-name a {
  color: #1E3A5F !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

/* 紹介文 */
.author-box .author-description {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}

/* SNS */
.author-box .sns-follow-buttons {
  margin-top: 14px;
}
/* ========================================
   WAKA LIFE LOG｜目次
   シンプルライン型
======================================== */

/* 目次全体 */
.toc {
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  padding: 24px 28px 26px !important;
  margin: 32px auto !important;
  width: 90% !important;
  max-width: 760px !important;
  box-sizing: border-box;
}

/* 「目次」タイトル */
.toc-title {
  color: #1E3A5F !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 0 0 12px !important;
  margin: 0 0 18px !important;
  border-bottom: 2px solid #F2B233 !important;
}

/* 目次タイトルの上に CONTENTS */
.toc-title::before {
  content: "CONTENTS";
  display: block;
  color: #F2B233;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

/* ［開く］［閉じる］ */
.toc-title .toc-checkbox + label,
.toc-title label {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #777 !important;
  margin-left: 8px;
}

/* リスト全体 */
.toc-content {
  margin-top: 0 !important;
}

.toc-content ol {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  counter-reset: waka-toc;
}

/* 1階層目 */
.toc-content > ol > li {
  counter-increment: waka-toc;
  position: relative;
  padding: 7px 0 7px 48px !important;
  margin: 0 !important;
}

/* 01 / 02 / 03 */
.toc-content > ol > li::before {
  content: counter(waka-toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 7px;
  width: 32px;
  color: #1E3A5F;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

/* 目次リンク */
.toc-content a {
  color: #333 !important;
  text-decoration: none !important;
  line-height: 1.7;
}

/* PCだけホバー */
@media screen and (min-width: 769px) {
  .toc-content a:hover {
    color: #1E3A5F !important;
    text-decoration: underline !important;
    text-decoration-color: #F2B233 !important;
    text-underline-offset: 4px;
  }
}

/* H3などの子階層 */
.toc-content ol ol {
  margin: 5px 0 3px !important;
  padding-left: 18px !important;
  counter-reset: none;
}

.toc-content ol ol li {
  padding: 3px 0 !important;
  font-size: 14px;
}

.toc-content ol ol li::before {
  display: none !important;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .toc {
    width: 100% !important;
    padding: 20px 16px 22px !important;
    margin: 26px auto !important;
  }

  .toc-title {
    font-size: 20px !important;
  }

  .toc-content > ol > li {
    padding-left: 40px !important;
  }

  .toc-content > ol > li::before {
    font-size: 15px;
    width: 28px;
  }
}