@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){
  /*必要ならばここにコードを書く*/
}

/* =========================================
   PicklePeople 記事タイトル
========================================= */
.single .entry-title,
.page .entry-title {
  color: var(--pp-navy, #17364a);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
}

/* 記事タイトル：スマホ版 */
@media screen and (max-width: 620px) {
  .single .entry-title,
  .page .entry-title {
    font-size: 24px;
    line-height: 1.5;
  }
}

/* =========================================
   PicklePeople 記事投稿日
========================================= */
.single .date-tags,
.page .date-tags {
  color: #647078;
  line-height: 1.4;
  margin-bottom: 12px;
}

.single .post-date,
.page .post-date {
  font-size: 12px;
}

/* =========================================
   PicklePeople アイキャッチカテゴリー
========================================= */
.single .eye-catch .cat-label {
  top: 14px;
  left: 14px;

  padding: 5px 13px;

  border: 0;
  border-radius: 999px;

  background: #4e7384;
  color: #fff;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;

  opacity: 1;
}

/* アイキャッチカテゴリー：スマホ版 */
@media screen and (max-width: 620px) {
  .single .eye-catch .cat-label {
    top: 10px;
    left: 10px;

    padding: 3px 10px;

    font-size: 12px;
    font-weight: 600;

    opacity: 0.9;
  }
}

/* =========================================
   PicklePeople アイキャッチ画像
========================================= */
.single .eye-catch,
.page .eye-catch {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

@media screen and (max-width: 620px) {
  .single .eye-catch,
  .page .eye-catch {
    margin-bottom: 18px;
    border-radius: 10px;
  }
}

/* =========================================
   PicklePeople 記事本文内の画像
========================================= */
.single .entry-content img,
.page .entry-content img {
  border-radius: 12px;
}

@media screen and (max-width: 620px) {
  .single .entry-content img,
  .page .entry-content img {
    border-radius: 10px;
  }
}

/* =========================================
   PicklePeople パンくず
========================================= */
.single .breadcrumb,
.page .breadcrumb {
  color: #7a8790;
  font-size: 13px;
}

.single .breadcrumb a,
.page .breadcrumb a {
  color: #7a8790;
}

.single .breadcrumb a:hover,
.page .breadcrumb a:hover {
  color: var(--pp-navy, #17364a);
}

/* =========================================
   PicklePeople PR表記
========================================= */
.single .pr-label-s,
.page .pr-label-s {
  padding: 5px 10px;

  border: 1px solid rgba(23, 54, 74, 0.18);
  border-radius: 4px;

  background: rgba(23, 54, 74, 0.05);
  color: #17364a;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

/* =========================================
   PicklePeople 記事本文 H2
========================================= */
.single .entry-content h2,
body.page:not(.home) .entry-content h2 {
  margin: 44px 0 22px;
  padding: 15px 18px;

  background: rgba(78, 115, 132, 0.07);
  border: 0;
  border-left: 4px solid #d9a441;
  border-radius: 8px;

  color: var(--pp-navy, #17364a) !important;

  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

/* H2：スマホ版 */
@media screen and (max-width: 620px) {
  .single .entry-content h2,
  body.page:not(.home) .entry-content h2 {
    margin: 36px 0 18px;
    padding: 13px 14px;

    border-left-width: 3px;
    border-radius: 7px;

    font-size: 19px;
    line-height: 1.5;
  }
}


/* =========================================
   PicklePeople 記事本文 H3
========================================= */
.single .entry-content h3,
body.page:not(.home) .entry-content h3 {
  margin: 36px 0 18px;
  padding: 2px 0 9px 12px;

  background: none;
  border: 0;
  border-left: 3px solid #4e7384;
  border-bottom: 1px solid rgba(78, 115, 132, 0.30);

  color: var(--pp-navy, #17364a) !important;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

/* H3：スマホ版 */
@media screen and (max-width: 620px) {
  .single .entry-content h3,
  body.page:not(.home) .entry-content h3 {
    margin: 30px 0 16px;
    padding: 2px 0 7px 10px;

    border-left-width: 3px;

    font-size: 17px;
  }
}


/* =========================================
   PicklePeople 記事本文 H4
========================================= */
.single .entry-content h4,
body.page:not(.home) .entry-content h4 {
  margin: 30px 0 14px;
  padding: 2px 0 2px 12px;

  background: none;
  border: 0;
  border-left: 3px solid #d9a441;
  border-radius: 0;

  color: var(--pp-navy, #17364a) !important;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

/* H4：スマホ版 */
@media screen and (max-width: 620px) {
  .single .entry-content h4,
  body.page:not(.home) .entry-content h4 {
    margin: 26px 0 12px;
    padding-left: 10px;

    border-left-width: 3px;

    font-size: 16px;
  }
}

/* =========================================
   PicklePeople 目次
========================================= */
.single .entry-content .toc,
.page .entry-content .toc {
  width: 100%;
  max-width: 680px;

  margin: 28px auto 42px;
  padding: 18px 22px;

  background: rgba(78, 115, 132, 0.035);
  border: 1px solid rgba(78, 115, 132, 0.22);
  border-radius: 10px;

  box-shadow: none;
}

/* 目次タイトル */
.single .entry-content .toc-title,
.page .entry-content .toc-title {
  padding: 0;

  color: var(--pp-navy, #17364a) !important;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* 目次を開いたときの内容 */
.single .entry-content .toc-content,
.page .entry-content .toc-content {
  margin-top: 14px;
  padding-top: 14px;

  border-top: 1px solid rgba(78, 115, 132, 0.16);

  text-align: left;
}

/* 目次内リンク */
.single .entry-content .toc a,
.page .entry-content .toc a {
  color: #425c6b;
  text-decoration: none;
}

.single .entry-content .toc a:hover,
.page .entry-content .toc a:hover {
  color: var(--pp-navy, #17364a);
}

/* =========================================
   目次：スマホ版
========================================= */
@media screen and (max-width: 620px) {
  .single .entry-content .toc,
  .page .entry-content .toc {
    max-width: none;

    margin: 24px 0 34px;
    padding: 15px 16px;

    border-radius: 8px;
  }

  .single .entry-content .toc-title,
  .page .entry-content .toc-title {
    font-size: 15px;
  }

  .single .entry-content .toc-content,
  .page .entry-content .toc-content {
    margin-top: 12px;
    padding-top: 12px;
  }
}

/* 目次：閉じた状態の余白調整 */
.single .entry-content .toc-checkbox:not(:checked) ~ .toc-content,
.page .entry-content .toc-checkbox:not(:checked) ~ .toc-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* =========================================
   PicklePeople サイドバー見出し
========================================= */
#sidebar .widget-sidebar-title {
  margin: 20px 0 14px;
  padding: 10px 12px;

  background: rgba(78, 115, 132, 0.07) !important;
  border: 0;
  border-left: 3px solid #4e7384;
  border-radius: 0px;

  color: var(--pp-navy, #17364a) !important;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================================
   PicklePeople サイドバー検索窓
========================================= */
#sidebar .search-edit {
  width: 100%;
  padding: 11px 42px 11px 12px;

  background: #fff;
  border: 1px solid rgba(78, 115, 132, 0.28);
  border-radius: 2px;

  color: var(--pp-navy, #17364a);
  font-size: inherit;

  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#sidebar .search-edit::placeholder {
  color: #7a8790;
}

#sidebar .search-edit:focus {
  outline: none;
  border-color: #4e7384;
  box-shadow: 0 0 0 2px rgba(78, 115, 132, 0.08);
}

/* =========================================
   スマホ：サイドバー検索を非表示
========================================= */
@media screen and (max-width: 620px) {
  #sidebar .widget_search {
    display: none !important;
  }
}

/* =========================================
   PicklePeople サイドバー カテゴリー一覧
========================================= */
#sidebar .widget_categories ul li a {
  position: relative;
  display: block;

  padding: 12px 6px 12px 22px;

  border-bottom: 1px solid rgba(78, 115, 132, 0.26);

  color: #334f5e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

/* カテゴリー先頭のアクセント */
#sidebar .widget_categories ul li a::before {
  content: "";

  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);

  width: 8px;
  height: 8px;

  background: #4e7384;
}

/* ホバー */
#sidebar .widget_categories ul li a:hover {
  color: var(--pp-navy, #17364a);
}

/* 最後の項目も線を残して一覧感を統一 */
#sidebar .widget_categories ul li:last-child a {
  border-bottom: 1px solid rgba(78, 115, 132, 0.26);
}

/* =========================================
   PicklePeople サイドバー 新着記事
========================================= */

/* 記事1件を包むリンク */
#sidebar .widget-entry-cards .widget-entry-card-link {
  display: block;
  margin: 0 0 6px;
  padding: 4px 0;
  text-decoration: none;
}

/* 記事1件 */
#sidebar .widget-entry-cards .widget-entry-card {
  position: relative;
  margin: 0;
  padding: 6px 6px 8px;

  border-bottom: 1px solid rgba(78, 115, 132, 0.16);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

/* サムネイル */
#sidebar .widget-entry-cards .widget-entry-card-thumb img {
  border-radius: 4px;
}

/* タイトル部分 */
#sidebar .widget-entry-cards .widget-entry-card-content {
  color: #425c6b;
}

/* 記事タイトル */
#sidebar .widget-entry-cards .card-title {
  color: #425c6b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

/* ホバー */
#sidebar .widget-entry-cards .widget-entry-card-link:hover .widget-entry-card {
  background: rgba(78, 115, 132, 0.04);
}

#sidebar .widget-entry-cards .widget-entry-card-link:hover .card-title {
  color: var(--pp-navy, #17364a);
}

/* 最後の記事 */
#sidebar .widget-entry-cards .widget-entry-card-link:last-child {
  margin-bottom: 0;
}

#sidebar .widget-entry-cards .widget-entry-card-link:last-child .widget-entry-card {
  border-bottom: 0;
}

/* =========================================
   PicklePeople 記事本文リンク
========================================= */
.single .entry-content p a,
.single .entry-content li a,
body.page:not(.home) .entry-content p a,
body.page:not(.home) .entry-content li a {
  color: #2f6f9f;
  font-weight: 500;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  transition: color 0.2s ease;
}

/* ホバー */
.single .entry-content p a:hover,
.single .entry-content li a:hover,
body.page:not(.home) .entry-content p a:hover,
body.page:not(.home) .entry-content li a:hover {
  color: #17364a;
}

/* =========================================
   PicklePeople SNSシェア：noteボタン
========================================= */
.sns-share .note-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #fff !important;
  border: 1px solid #d8d8d8 !important;
  color: #111 !important;

  box-shadow: none !important;
}

/* note公式アイコン */
.sns-share .note-button .note-share-icon {
  display: block !important;

  width: 30px !important;
  height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain;
  transform: none !important;
}

/* ホバー */
.sns-share .note-button:hover {
  background: #f5f5f5 !important;
  border-color: #bfc4c7 !important;
}

/* =========================================
   PicklePeople 記事下部 カテゴリー・タグ
========================================= */

/* カテゴリー */
.entry-categories-tags .cat-link {
  background: #4e7384 !important;
  color: #fff !important;

  border: 1px solid #4e7384 !important;
  border-radius: 2px !important;

  padding: 2px 6px;
  font-size: 12px;
  font-weight: 600;

  text-decoration: none;
}

/* タグ */
.entry-categories-tags .tag-link {
  background: #fff !important;
  color: #4e7384 !important;

  border: 1px solid rgba(78, 115, 132, 0.45) !important;
  border-radius: 2px !important;

  padding: 2px 6px;
  font-size: 12px;
  font-weight: 500;

  text-decoration: none;
}

/* ホバー */
.entry-categories-tags .cat-link:hover {
  background: #17364a !important;
  border-color: #17364a !important;
}

.entry-categories-tags .tag-link:hover {
  background: rgba(78, 115, 132, 0.07) !important;
  color: #17364a !important;
  border-color: #4e7384 !important;
}

/* =========================================
   PicklePeople 関連記事0件時は非表示
========================================= */
#related-entries:has(.related-list > p:only-child) {
  display: none !important;
}

/* =========================================
   Cocoon吹き出しアイコンは丸型を維持
========================================= */
.single .entry-content .speech-icon img,
.page .entry-content .speech-icon img {
  border-radius: 50% !important;
}

/* =========================================
   PicklePeople RYUSEI吹き出し背景
========================================= */
.single .entry-content .sbs-flat .speech-balloon {
  background-color: #eef6fa !important;
}
/* RYUSEI吹き出し：三角部分の色を背景と統一 */
.single .entry-content .sbs-flat .speech-balloon::before,
.single .entry-content .sbs-flat .speech-balloon::after {
  border-right-color: #eef6fa !important;
}

/* =========================================
   PicklePeople トップ：特徴エリア
   スマホ版SVGアイコン＋配置修正
========================================= */

/* PCではスマホ用SVGを非表示 */
.pp-trust__mobile-svg {
  display: none;
}

@media screen and (max-width: 620px) {

  /* アイコンを左列へ固定 */
  .pp-home .pp-trust__item > .pp-trust__icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  /* テキストを右列へ固定 */
  .pp-home .pp-trust__item > div {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  /* WordPressが生成した空要素はレイアウトから除外 */
  .pp-home .pp-trust__item > p:empty {
    display: none !important;
  }

  /* 1・3・4番目：元の文字アイコンを隠してSVGを表示 */
  .pp-home .pp-trust__icon--mobile-svg {
    display: grid !important;
    place-items: center;
    font-size: 0 !important;
  }

  .pp-home .pp-trust__mobile-svg {
    display: block !important;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #4e7384;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* =========================================
   PicklePeople サイドバー運営者プロフィール
========================================= */
.pp-sidebar-profile {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(78, 115, 132, 0.16);
  border-radius: 10px;
}

/* カバー画像 */
.pp-sidebar-profile__cover {
  height: 150px;
  overflow: hidden;
}

.pp-sidebar-profile__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

/* 本文エリア */
.pp-sidebar-profile__body {
  position: relative;
  padding: 62px 22px 24px;
  text-align: center;
}

/* プロフィール画像 */
.pp-sidebar-profile__avatar {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);

  width: 104px;
  height: 104px;

  background: #fff;
  border: 4px solid #fff;
  border-radius: 50%;

  box-shadow: 0 1px 5px rgba(23, 54, 74, 0.14);
  overflow: hidden;
}

.pp-sidebar-profile__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
}

/* 名前 */
.pp-sidebar-profile__name {
  margin-bottom: 4px;

  color: #17364a;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

/* 肩書き */
.pp-sidebar-profile__role {
  margin-bottom: 16px;

  color: #6a7b85;
  font-size: 12px;
  font-weight: 500;
}

/* 紹介文 */
.pp-sidebar-profile__text {
  margin: 0 !important;

  color: #425c6b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

/* =========================================
   PicklePeople サイドバー
   プロフィール詳細ボタン
========================================= */
.pp-sidebar-profile__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 100%;
  margin-top: 20px;
  padding: 11px 14px;

  background: #17364a;
  border: 1px solid #17364a;
  border-radius: 6px;

  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.pp-sidebar-profile__button:hover {
  background: #4e7384;
  border-color: #4e7384;
  color: #fff !important;
}

.pp-sidebar-profile__button span {
  line-height: 1;
}

/* =========================================
   PicklePeople 記事内テーブル
========================================= */
.single .entry-content table,
body.page:not(.home) .entry-content table {
  width: 100%;
  margin: 28px 0 34px;

  border-collapse: separate;
  border-spacing: 0;

  background: #fff;
  border: 1px solid rgba(78, 115, 132, 0.28);
  border-radius: 8px;
  overflow: hidden;

  font-size: 16px;
  line-height: 1.65;
}

/* 全セル */
.single .entry-content table th,
.single .entry-content table td,
body.page:not(.home) .entry-content table th,
body.page:not(.home) .entry-content table td {
  padding: 13px 14px;

  background: #fff;
  border: 0;
  border-right: 1px solid rgba(78, 115, 132, 0.18);
  border-bottom: 1px solid rgba(78, 115, 132, 0.18);

  vertical-align: middle;
}

/* ヘッダー */
.single .entry-content table th,
body.page:not(.home) .entry-content table th {
  background: #eef4f7;

  color: #17364a;
  font-weight: 700;
  text-align: center;
}

/* 本文1列目 */
.single .entry-content table tbody td:first-child,
body.page:not(.home) .entry-content table tbody td:first-child {
  background: #f7fafb;

  color: #17364a;
  font-weight: 600;
}

/* 右端の縦線を消す */
.single .entry-content table th:last-child,
.single .entry-content table td:last-child,
body.page:not(.home) .entry-content table th:last-child,
body.page:not(.home) .entry-content table td:last-child {
  border-right: 0;
}

/* 最終行の横線を消す */
.single .entry-content table tr:last-child td,
body.page:not(.home) .entry-content table tr:last-child td {
  border-bottom: 0;
}

/* スマホ */
@media screen and (max-width: 620px) {
  .single .entry-content table,
  body.page:not(.home) .entry-content table {
    margin: 22px 0 28px;

    font-size: 14px;
    line-height: 1.6;
    border-radius: 6px;
  }

  .single .entry-content table th,
  .single .entry-content table td,
  body.page:not(.home) .entry-content table th,
  body.page:not(.home) .entry-content table td {
    padding: 10px 9px;
  }
}

/* =========================================
   PicklePeople 固定ページ：テーブル外枠を維持
========================================= */
body.page:not(.home) .entry-content table {
  border: 1px solid rgba(78, 115, 132, 0.28) !important;
  border-radius: 8px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
}

/* ========================================
   テーブル：横スクロール表示の調整
======================================== */

/* PC・スマホ共通：Cocoon標準アイコンを非表示 */
.article .scroll-hint-icon-wrap {
  display: none !important;
}

/* スマホ版のみ */
@media screen and (max-width: 834px) {

  /* 実際に横スクロールが必要な表だけ案内を表示 */
  .article .scrollable-table.pp-table-overflow::before {
    content: "↔ 左右にスクロールできます";
    display: block;
    margin: 0 0 6px;
    padding: 0;
    color: #7a8790;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
  }

}