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


/************************************
** 非表示
************************************/

/* コメント欄のメールアドレスに関する説明を非表示 */
.comment-notes {
  display: none;
}

/************************************
** 目次
************************************/

/* 目次タイトル */
.toc-title {
  font-weight: bold;
}

.toc-title::after {
  color: #337ab7;
}

/* 大見出し */
.toc-list > li a {
  display: block;
  margin-top: 10px;
  margin-left: 10px;
  font-weight: bold;
}

.toc-list > li a::before {
  margin-right: 7px;
  font-family: "Font Awesome 5 Free";
  content: "\f144";
}

/* 小見出し */
.toc-list > li li a {
  margin-top: 0;
  margin-left: 2em;
  font-size: 95%;
  font-weight: normal;
}

.toc-list > li li a::before {
  position: relative;
  left: -2px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-bottom: 2px;
  border-radius: 50%;
  background-color: #0589ba;
  content: "";
}

/* スマートフォン・タブレット表示 */
@media (max-width: 880px) {
  .toc-list > li a {
    margin-left: -10px;
  }

  .toc-list > li li a {
    margin-left: -2em;
  }

  .toc-list > li li a::before {
    left: 3px;
    margin-bottom: 1px;
  }
}

/* マウスオーバー */
.toc a:hover {
  color: #333333;
  text-decoration: underline;
}

/************************************
** 記事本文の見出し
************************************/

/* 見出し2 */
h2 {
  padding: 0.5em 0;
  color: #17181a;
  border-top: 3px solid #17181a;
  border-bottom: 3px solid #17181a;
}

/* 見出し5 */
h5 {
  padding: 0.25em 0.5em;
  color: #494949;
  background-color: transparent;
  border-left: 5px solid #7db4e6;
}


/************************************
** 検索ボックス
************************************/

/* 入力欄 */
.search-box .search-edit {
  padding: 8px 68px 8px 8px;
  border-color: #999999;
}

/* 検索ボタン */
.search-box .search-submit {
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  color: #ffffff;
  background-color: #999999;
  border-radius: 0 4px 4px 0;
}

.search-box .fa-search {
  display: block;
  margin-top: 3px;
}

/* フォーカス時 */
.search-box .search-edit:focus,
.search-box .search-submit:focus {
  outline: 0;
}


/************************************
** ヘッダー 20260803
************************************/

#header-container {
  background: #ffffff;
  border-bottom: 1px solid #e8ecea;
  box-shadow: none;
}

/* ヘッダー全体 */
#header-container .header-container-in {
  max-width: 1200px;
  min-height: 70px;
  margin: 0 auto;
}

/* ロゴ */
.logo-header img {
  width: auto;
  max-width: 210px;
  max-height: 42px;
}

/* グローバルメニュー */
#navi,
#navi .navi-in {
  background: #ffffff !important;
}

#navi .navi-in > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 0 20px;
  color: #263a34 !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* メニューの下線 */
#navi .navi-in > ul > li > a::after {
  position: absolute;
  right: 20px;
  bottom: 12px;
  left: 20px;
  height: 2px;
  background: #075c4a;
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

/* ホバー時 */
#navi .navi-in > ul > li > a:hover {
  color: #075c4a !important;
  background: transparent !important;
}

/* ホバー時・現在のページ */
#navi .navi-in > ul > li > a:hover::after,
#navi .navi-in > ul > li.current-menu-item > a::after {
  transform: scaleX(1);
}


/************************************
** フッター 20260803
************************************/

#footer,
.footer {
  color: #ffffff !important;
  background: #303030 !important;
  border-top: none;
}

/* フッター全体の横幅・余白 */
#footer .footer-in {
  max-width: 1025px;
  margin: 0 auto;
  padding: 8px 16px 6px !important;
}

/*
 * サイト説明｜カテゴリー・おすすめ｜サイト情報
 *
 * おすすめ欄を広めに確保した非均等レイアウト
 */
#footer .footer-widgets {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr 1fr;
  gap: 26px;
  align-items: start;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#footer .footer-widgets > div {
  width: auto !important;
  margin: 0 !important;
}

/* Cocoon標準のウィジェット余白を解除 */
#footer .footer-widgets .widget {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 中央：カテゴリー＋おすすめ */
#footer .kb-footer-center {
  display: grid;
  grid-template-columns: 0.75fr 1.45fr;
  gap: 24px;
}

/* リストの標準余白・装飾を解除 */
#footer .kb-footer-center ul,
#footer .kb-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* サイト名 */
#footer .kb-footer-logo {
  margin: 16px 0 4px;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 400;
}

/* 各列の見出し */
#footer .kb-footer-title,
#footer .widget-title {
  margin: 0 0 7px;
  padding: 0;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.5;
  background: transparent;
  border: none;
}

/* サイト説明 */
#footer .kb-footer-description {
  margin: 0;
  font-size: 13px !important;
  line-height: 1.8;
}

/* リンク一覧 */
#footer .kb-footer-center li,
#footer .kb-footer-links li {
  margin-bottom: 3px;
  font-size: 13px !important;
  line-height: 1.55;
}

#footer .kb-footer-center a,
#footer .kb-footer-links a {
  font-size: 13px !important;
}

/* フッターの文字色 */
#footer p,
#footer li,
#footer a {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* リンク */
#footer a {
  text-decoration: none;
}

#footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* コピーライト部分 */
#footer .footer-bottom {
  margin-top: 9px !important;
  padding-top: 5px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#footer .copyright {
  margin: 0;
  color: #777777 !important;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}


/************************************
** タブレット・スマホ表示
************************************/

@media screen and (max-width: 1023px) {
  #header-container .header-container-in {
    min-height: auto;
  }

  .logo-header img {
    max-width: 180px;
    max-height: 36px;
  }
}

@media screen and (max-width: 768px) {
  /* フッターを縦1列に変更 */
  #footer .footer-in {
    padding: 22px 20px 12px !important;
  }

  #footer .footer-widgets,
  #footer .kb-footer-center {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #footer .kb-footer-logo {
    margin-top: 0;
  }

  #footer .footer-bottom {
    margin-top: 16px !important;
    padding-top: 10px !important;
  }
}