@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

/************************************
** 
************************************/

/************************************
** デバイス別表示設定
************************************/
@media screen and (min-width: 768px) {
  .pc-only {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .mobile-only {
    display: none;
  }
}

/************************************
** 全体
************************************/

/* スムーズスクロール
************************************/
html {
  scroll-behavior: smooth;
}

/* 背景色
************************************/
body {
  background: #fff;
}

/* ホバー時の背景色
************************************/
.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_pages ul li a:hover,
.widget_meta ul li a:hover,
.widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover,
.navi-in a:hover,
.navi-footer-in a:hover,
.a-wrap:hover,
.comment-reply-link:hover,
.recent-comments .a-wrap:hover .recent-comment-content,
.pagination a:hover,
.pagination-next-link:hover,
.comment-btn:hover,
.pager-links a:hover span,
.pager-links a:hover span,
.mobile-menu-buttons .menu-button:hover,
.menu-drawer a:hover,
.bp-login-widget-register-link a:hover {
  background: transparent;
  transition: 0.3s;
  color: #ff8549;
}

/** 画像
************************************/
body:not(.home):not(.front-page)  img {
  border-radius: 14px;
}

/* ウィジェット
************************************/

/* 投稿日を表示 */
.new-entry-card-date {
  display: block;
}

/*更新日を非表示*/
.widget-entry-card-update-date{
   display: none;
}

/* 文字サイズ */
.new-entry-card-title,
.widget-entry-card-title,
.card-title,
.popular-entry-card-title {
  font-size: 14px;
}

/* バッジを丸く */
.widget-entry-card-pv,
.widget-entry-cards.ranking-visible ::before {
  border-radius: 14px;
}

/* カテゴリーラベル
************************************/
a.cat-link.cat-link-2,
.cat-label,
.eye-catch .cat-label,
.cat-link {
  background: #ff8549;
  border: solid 0px;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 14px;
  opacity: 1;
  transition: 0.3s;
}

.cat-link:hover {
  color: #fff;
}

/************************************
** ヘッダーメニュー
************************************/
#navi .item-label {
  font-size: 14px;
  color: #333;
}

#navi .navi-in>ul>li>a {
  border-radius: 14px;
  background: transparent !important;
  color: inherit !important;
  text-decoration: none;
}

#navi .navi-in>ul>li>a .item-label {
  position: relative;
  display: inline-block;
  overflow: visible;
}

#navi .navi-in>ul>li>a .item-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.28s ease;
  pointer-events: none;
}

#navi .navi-in>ul>li>a:hover .item-label::after,
#navi .navi-in>ul>li>a:focus-visible .item-label::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  #navi .navi-in>ul>li>a .item-label::after {
    transition: none;
  }
}

/************************************
** グローバルナビ
************************************/
#content-top {
  margin: 0.5em 0;
  position: relative;
  z-index: 0;
}

#content-top {
  position: relative;
  isolation: isolate;
}

#content-top::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  background: #00a99d;
  clip-path: inset(0 -100vmax);
}

#content-top .content-top-in {
  position: relative;
  z-index: 1;
}

#content-top .menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: .5rem 0;
}

#content-top .menu a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: .35rem .75rem;
  border-radius: 4px;
  transition: color .3s ease, background .3s ease;
}

#content-top .menu li:hover>a,
#content-top .menu a:focus {
  color: #00a99d;
  background: #fff;
}

@media (min-width: 1023px) {
  #content-top .menu {
    justify-content: space-evenly;
  }
}

@media (max-width: 1022px) {
  #content-top .widget_nav_menu>div {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #content-top .menu {
    gap: .75rem;
  }

  #content-top .menu>li {
    flex: 0 0 auto;
  }
}

#content-top.wwa {
  padding-left: .5rem;
  padding-right: .5rem;
}

/************************************
** パンくずリスト
************************************/
.breadcrumb,
.breadcrumb-caption {
  color: #00a99d;
}

/************************************
** 目次
************************************/
#toc {
  padding: 2em;
  border: 0px;
  background-image: linear-gradient(-45deg, #fff 25%, #F5F5F5 25%, #F5F5F5 50%, #fff 50%, #fff 75%, #F5F5F5 75%, #F5F5F5);
  background-size: 4px 4px;
  background-clip: padding-box;
  border-bottom: 4px double #E2E2E2;
  border-top: 4px double #E2E2E2;
  width: 90%;
}

#toc a,
#toc li>a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

#toc a:visited,
#toc li>a:visited {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

#toc a:hover,
#toc li>a:hover,
#toc a:active,
#toc li>a:active,
#toc a:focus,
#toc li>a:focus {
  color: #ff8549;
  text-decoration: none;
  transition: color 0.3s ease;
}

/************************************
** 見出し
************************************/

/* デフォルト見出し要素リセット
************************************/
.article h1 {
  padding: 0;
  background: none;
}

.article h2 {
  padding: 0;
  background: none;
}

.article h3 {
  border: none;
  padding: 0;
}

.article h4 {
  border: none;
  padding: 0;
}

/* 上書き用見出しデザイン
************************************/
body:not(.home):not(.front-page) .article h2 {
  position: relative;
  background: #00a99d;
  padding: 0.75em 1em;
  color: #fff;
  margin: 3em 0 1em;
}

body:not(.home):not(.front-page) .article h2::before {
  position: absolute;
  display: block;
  pointer-events: none;
  content: "";
  top: -4px;
  left: 0;
  width: 100%;
  height: calc(100% + 4px);
  box-sizing: content-box;
  border-top: solid 2px #00a99d;
  border-bottom: solid 2px #00a99d;
}

body:not(.home):not(.front-page) .article h3 {
  margin: 3em 0 2em;
  position: relative;
  padding: 0 0.5em 0em;
  display: grid;
}

body:not(.home):not(.front-page) .article h3::before {
  position: absolute;
  bottom: -10px;
  content: "";
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #00a99d 0%, #00a99d 29.3%, #eaeaea 29.3%, #eaeaea 100%);
}

body:not(.home):not(.front-page) .article h4 {
  padding: 0 0 0 16px;
  border-left: solid 2px #00a99d;
  margin: 3em 0 1.5em;
}

/************************************
** リスト
************************************/

/* 番号ありリスト
************************************/
body:not(.home):not(.front-page) #main ol:not(.toc ol):not(.timeline):not(.timeline *):not(table ol):not(table ol *):not(ol ol) {
  margin-right: 20px;
  margin-left: 20px;
  padding: 10px 10px 10px 40px;
  border: 3px solid transparent;
  border-image: linear-gradient(45deg, #00a99d, #00a99d);
  border-image-slice: 1;
}

/* 番号なしリスト
************************************/
body:not(.home):not(.front-page) #main ul li:not(.toc li):not(#sidebar li):not(ol li),
body:not(.home):not(.front-page) #main ul li:not(.toc li):not(#sidebar li):not(ol li) * {
  list-style: none;
  position: relative;
  padding-left: 1.6em;
}

body:not(.home):not(.front-page) #main ul li:not(.toc li):not(#sidebar li):not(ol li)::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #ff8549;
  position: absolute;
  left: 0;
  top: 0.1em;
}

/************************************
** テーブル
************************************/
table th,
.scrollable-table th {
  background: #f5f7fa;
  color: #333;
  font-size: 14px;
}

table td {
  background: #fff;
  font-size: 15px;
}

/************************************
** 引用
************************************/
blockquote {
  border: 0px;
  background: #F5F5F5;
  position: relative;
  font-size: .9em;
}

blockquote::before {
  content: "";
  display: block;
  width: 5px;
  height: calc(100% - 1em);
  top: 0.5em;
  left: 0.5em;
  border-left: solid 1px rgba(180, 180, 180, .75);
  border-right: solid 1px rgba(180, 180, 180, .75);
}

blockquote::after {
  content: "";
}

blockquote p {
  padding: 0px 0px 0px 20px;
}

/************************************
** SNSセンタリング
************************************/
.video-container,
.instagram-container,
.facebook-container,
.twitter-tweet {
  margin: 30px auto;
}

/************************************
** ブログカード
************************************/
.blogcard {
  color: #333;
  background: #f9fafc;
  border: solid 1px #ccd;
  transition: 0.3s;
}

.blogcard:hover {
  color: #333;
  background: #e7f0ff;
}

.internal-blogcard-post-date {
  display: none;
}

/************************************
** 関連記事（記事下）
************************************/
.related-entry-card-wrap {
  border-bottom: 1px dashed #ccc;
  border-image-slice: 1;
  transition: 0.3s;
}

/************************************
** 	サイドバー
************************************/

/* 基本
************************************/
#sidebar {
  z-index: 1 !important;
}

/* 見出し
************************************/
#sidebar h3 {
  font-size: 18px;
  background: transparent;
  margin: 3em 0 2em;
  position: relative;
  padding: 0 0.5em 0em;
  display: grid;
}

#sidebar h3::before {
  position: absolute;
  bottom: -10px;
  content: "";
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #00a99d 0%, #00a99d 29.3%, #eaeaea 29.3%, #eaeaea 100%);
}

/* 検索窓ウィジェット
************************************/
input.search-edit {
  font-size: 14px;
  border-radius: 4px;
}

/* カテゴリーウィジェット
************************************/

/* リスト内のスタイル */
#sidebar li.cat-item {
  transition: 0.3s;
}

/* リスト内のテキストスタイル */
#sidebar span.list-item-caption {
  font-size: 14px;
  color: #333;
  padding-left: 30px;
  transition: color 0.3s ease;
}

/* リンクの基本スタイル */
#sidebar .cat-item a {
  position: relative;
}

/* フォントサイズ */
#sidebar .toc-checkbox:checked~.toc-content {
  font-size: 14.4px;
}

/* 文字の前にラインを追加 */
#sidebar .cat-item a::before {
  content: "";
  width: 10px;
  height: 2px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

/* 右矢印を追加 */
#sidebar .cat-item a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-top: solid 2px #333;
  border-right: solid 2px #333;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 15px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* ホバー時の動作 */
#sidebar li.cat-item:hover span.list-item-caption {
  color: #ff8549;
}

#sidebar li.cat-item:hover a::before {
  background: #ff8549;
}

/* ホバー時に矢印の色を変更＆右に移動 */
#sidebar li.cat-item:hover a::after {
  border-top: solid 2px #ff8549;
  border-right: solid 2px #ff8549;
  transform: translateX(5px) rotate(45deg);
}

/* ホバー時に白くならないように */
#sidebar .widget_categories ul li a:hover {
  background: rgba(0, 0, 0, 0);
}

/* 	目次ウィジェット
************************************/
.toc .toc-list {
    padding-left: 0em;
    padding-bottom: 1em;
}

#sidebar .toc {
    width: 100%;
    background-image: none;
}

#sidebar .toc-title,
#sidebar .toc a {
    color: #333;
}

#sidebar .toc li {
    margin: 0;
    line-height: 1.5;
    padding: 0;
    position: relative;
    border-bottom: dashed 1px silver;
    list-style-type: none !important;
}

#sidebar .toc li > a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 0.8em 0 0.8em 1.8em; /* アイコン分の左余白を確保 */
    transition: color 0.3s ease;
}

#sidebar .toc li > a:hover {
    color: #ff8549;
}

#sidebar .toc li::before {
    position: absolute;
    left: 0.6em;
    top: 0.8em;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f101";
    color: #ff8549;
    pointer-events: none;
}

@media screen and (max-width: 1023px) {
    #sidebar .widget_toc {
        display: none;
    }
}

/************************************
** ページ送り（次のページ）
************************************/
.pagination-next-link,
.comment-btn {
  color: #333;
  background: transparent;
  border: 1px solid #00a99d;
  border-radius: 14px;
  transition: 0.3s;
}

.pagination-next-link:hover,
.comment-btn:hover {
  color: #fff;
  background: #00a99d;
}

.page-numbers {
  border: 1px solid #00a99d;
  transition: 0.3s;
}

.pagination a:hover {
  color: #fff;
  background: #00a99d;
  transition: 0.3s;
}

.pagination .current {
  color: #fff;
  background: #00a99d;
}

.page-numbers.dots {
  background: transparent;
  opacity: 1;
}

/***********************************
** トップへ戻る
************************************/
/* Font Awesome */
.fa-angle-double-up:before {
  content: "\f02d";
}

/* 表示位置等 */
.go-to-top-button {
  position: relative;
  width: 80px;
  height: 80px;
  font-size: 48px;
  background: transparent;
  color: #00a99d;
  transition: 0.3s ease;
  overflow: visible;
}

/* 左に表示 */
.go-to-top {
  left: 10px;
  right: auto;
}

/* ラベル本体 */
.go-to-top-button::after {
  content: "トップへ";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0px);
  transform: translate(-50%, 16px);
  padding: 0;
  background: transparent;
  color: #00a99d;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .25s cubic-bezier(.22, .61, .36, 1),
    transform .25s cubic-bezier(.22, .61, .36, 1);
}

/* ホバーでにゅっと出す */
.go-to-top-button:hover::after,
.go-to-top-button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 親は不透明のまま */
.go-to-top-button:hover,
.go-to-top-button:focus-visible {
  color: #00a99d;
  opacity: 1;
}

/* アイコン要素パターンにトランジション付与 */
.go-to-top-button i,
.go-to-top-button .fa,
.go-to-top-button .fas,
.go-to-top-button .far {
  transition: opacity .3s ease, color .3s ease;
}

/* hover時アイコンだけ透過 */
.go-to-top-button:hover i,
.go-to-top-button:focus-visible i,
.go-to-top-button:hover .fa,
.go-to-top-button:focus-visible .fa,
.go-to-top-button:hover .fas,
.go-to-top-button:focus-visible .fas,
.go-to-top-button:hover .far,
.go-to-top-button:focus-visible .far {
  opacity: .7;
}

/* 擬似要素パターン */
.go-to-top-button.fa-angle-double-up::before {
  transition: opacity .3s ease, color .3s ease;
}

.go-to-top-button.fa-angle-double-up:hover::before,
.go-to-top-button.fa-angle-double-up:focus-visible::before {
  opacity: .7;
}

/* テーマ側でボタン自体のopacityを変えている場合の上書き */
.go-to-top-button {
  opacity: 1;
}

/* 微かなグロー */
.go-to-top-button::after {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

/* 動きが苦手な人向けの配慮 */
@media (prefers-reduced-motion: reduce) {
  .go-to-top-button::after {
    transition: none;
  }
}

/* モバイルで非表示 */
@media screen and (max-width: 1023px) {
  .go-to-top-button {
    display: none;
  }
}

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

/* 基本
************************************/
#footer .wrap {
  width: 1256px;
  margin: 0 auto;
}

@media screen and (max-width: 1255px) {
  #footer .wrap {
    width: auto;
  }
}

#footer {
  background: #f3f4ef;
  color: #333;
  margin-top: 0;
  border-top: solid 1px #00a99d;
}

@media screen and (min-width: 1023px) {
  #footer {
    padding-top: 30px;
  }
}

#footer a {
  font-size: 14px;
  transition: 0.3s;
}

#footer a:hover {
  color: #ff8549;
}

#footer a:hover {
  background: transparent;
}

#footer h3 {
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  display: grid;
}

#footer h3::before {
  position: absolute;
  bottom: -10px;
  content: "";
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #00a99d 0%, #00a99d 29.3%, #eaeaea 29.3%, #eaeaea 100%);
}

/* サイドバーを非表示にしてフッターを表示
************************************/
@media screen and (max-width: 834px) {
  #sidebar {
    display: none;
  }

  .footer-widgets {
    display: block;
  }
}

/* ヘッダーをフッターよりも前面に
************************************/
#main,
#content,
#container,
.l-container,
.wrap,
#sidebar,
.sidebar,
.main {
  position: relative;
  z-index: 200;
}

#footer {
  position: relative;
  z-index: 100;
}

/* カテゴリードロップダウン
************************************/
#footer select,
#footer option {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  background: #f7f7f7f7;
}

#footer select {
  border: 1px solid #eaeaea;
}

/* カテゴリーのキャレットを非表示 */
#footer .widget_categories select.postform {
  appearance: none;
}

/* カテゴリーのキャレットをFont Awesomeで再表示 */
#footer .widget_categories form {
  position: relative;
}

#footer .widget_categories form::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: .75em;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #C7C7C7;
}

/* タグ
************************************/
#footer .tagcloud a {
  border: solid 1px #C7C7C780;
}

#footer .tagcloud a:hover {
  color: #ff8549;
  border: solid 1px #ff8549;
}

/* リスト
************************************/
#footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .menu>li {
  margin: 0 0 8px;
  position: relative;
}

#footer .menu>li>a {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  padding: 12px 16px 12px 0px;
  text-decoration: none;
  color: #333;
  line-height: 1.6;
  border-bottom: solid 1px #C7C7C7;
  z-index: 1;
  pointer-events: auto !important;
  transition:
    color .25s cubic-bezier(.22, .61, .36, 1),
    gap .25s cubic-bezier(.22, .61, .36, 1);
}

#footer .menu>li>a::before {
  content: "\f35a";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-size: 20px;
  color: #00a99d;
  line-height: 1;
  flex: 0 0 auto;
  pointer-events: none;
}

#footer .menu>li:hover>a,
#footer .menu>li:focus-within>a,
#footer .menu>li>a:hover,
#footer .menu>li>a:focus-visible {
  color: #ff8549;
  gap: 14px;
}

/* メニュー
************************************/
.menu-footer li {
  padding: 0 0.75em;
}

.footer-bottom.fnm-text-width .menu-footer li a {
  padding: 0px;
}

.footer-bottom.fnm-text-width .menu-footer li a:hover {
  color: #333 !important;
}

.navi-footer-in>.menu-footer li {
  width: 120px;
  border-left: 1px solid #eaeaea;
}

.navi-footer-in>.menu-footer li:last-child {
  border-right: 1px solid #eaeaea;
}

.menu-footer li>a {
  position: relative;
  display: inline-block;
  padding: 0;
  text-decoration: none;
  box-sizing: content-box;
}

.menu-footer li>a::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -0.75em;
  right: -0.75em;
}

.menu-footer li>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: none;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.28s ease;
  will-change: transform;
  pointer-events: none;
}

.menu-footer li>a:hover::after,
.menu-footer li>a:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .menu-footer li>a::after {
    transition: none;
  }
}

/* モバイルでも横並びに */
@media screen and (max-width: 834px) {
  .navi-footer-in>.menu-footer li.menu-item {
    width: auto;
    border-right: 1px solid #eaeaea;
    flex: none;
  }
}

/* モバイルで左端に罫線を引く */
.navi-footer-in>.menu-footer>li.menu-item:first-of-type {
  border-left: 1px solid #eaeaea;
}