@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
mody by TF 2025.4.9-
*/
:root {
  --cocoon-tab-label-active-color: #4f819e;
  --cocoon-basic-border-color: #ddd;
  --cocoon-tab-label-color: #f2f2f2;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  padding: 0.5rem 0.25rem;
  font-weight: 600;
  line-height: 1;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.d-flex {
  display: flex !important;
}
.d-flex ul {
  padding-left: 0;
}

.justify-content-center {
  justify-content: center !important;
}

.text-end {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.pe-4 {
  padding-right: 1.5em;
}

button:disabled {
  cursor: default;
  opacity: 0.2;
  pointer-events: none;
}

/* パンくずリストのリンク (ホバー時) */
.breadcrumb a:hover {
  color: #e53900;
  text-decoration: underline;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  line-height: 1.5;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
}
.article h2 {
  color: #4f819e;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.75em 0.5em;
  margin: 4rem 0 3rem;
  border: none;
  border-top: 3px solid #4f819e;
  border-bottom: 3px solid #4f819e;
  background-color: rgba(79, 129, 158, 0.05);
  border-radius: 0;
  position: relative;
}
.article h3 {
  color: #4f819e;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 3rem 0 2rem;
  padding: 0.75em 0 0.75em 1rem;
  border: none;
  border-left: 4px solid #4f819e;
}
.article h4 {
  color: #4f819e;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 4rem 0 2rem;
  padding: 0.25em 0 0.25em 0;
  border: none;
}
.article h5 {
  display: inline-block;
  color: #4f819e;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  padding: 0.2em 1em;
  border: none;
  border-top: 1px solid #4f819e;
  border-bottom: 1px solid #4f819e;
}

.tagline {
  margin: 0 1em 0.6em;
}

.entry-content > *,
.demo .entry-content p {
  letter-spacing: 0.03em;
}

hr {
  height: 1px;
  background-color: #e3e3e3;
  border: none;
  box-shadow: 2px 2px #ffffff;
}

strong {
  color: #c06060;
}
strong > a {
  color: #c06060;
}

a:has(> strong) {
  color: #c06060;
}

a {
  color: #4f819e;
  text-underline-offset: 2px;
}
a:hover {
  color: #5db16c;
}

b {
  color: #c88;
}

em + strong {
  color: #555;
}

small,
.small {
  font-size: 0.8em;
}

ul {
  list-style-type: disc;
}

li ul {
  list-style-type: circle;
}

/**/
.main {
  padding: 0 29px 36px;
}

.lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4f819e;
}

/**/
.color_red {
  color: #c36c5a;
}

.color_gray {
  color: #6c757d;
}

.logo-image {
  padding: 0 !important;
}

.koto_title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.3em;
}

.yomigana {
  display: inline-block;
  font-weight: normal;
  font-size: 1rem;
  white-space: nowrap;
}

.info_line {
  text-align: right;
  margin-right: 1em;
  font-size: 0.9em;
}

/* cocoon上書き */
.related-entry-card-content,
.entry-card-content {
  padding-bottom: 0.3em !important;
}

.entry-card-thumb {
  width: 220px;
}

.entry-card-content {
  margin-left: 220px;
}

.article ul li,
.article ol li {
  margin-top: 0.5em;
}

#navi .navi-in > ul > li {
  border-left: 1px solid #eee;
}

#navi .navi-in > ul > li:last-child {
  border-right: 1px solid #eee;
}

.navi-in > ul > .menu-item-has-children > a::after {
  right: 10px;
}

.widget-entry-cards.ranking-visible .card-thumb::before {
  width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 2px;
  opacity: 0.7;
  font-size: 11px;
  border-bottom-right-radius: 6px;
}

.video-container {
  max-width: none;
}

.logo-menu-button img {
  padding: 10px 0;
}

/* 五十音順ボタン */
.goju-group {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 8px;
  margin-bottom: 8px;
}
.goju-group div {
  flex-grow: 1;
}
.goju-group div a {
  width: 100%;
}

/* トップページの検索ボタン */
input[type=search] {
  border-width: 2px 0 2px 2px;
  border-radius: 4px 0 0 4px;
  border-color: #c57b7b;
  background-color: #fff !important;
}

.wp-element-button,
.wp-block-button__link {
  background-color: #c57b7b;
  padding: 2px;
}

.wp-block-search__button {
  width: 80px;
  margin-left: 0;
  border-radius: 0 4px 4px 0;
  border: none;
}

.kotonum_pager {
  background: #f1f6ea;
  padding: 1em 1em;
  border: 1px solid #ccc;
  max-width: 400px;
  margin: 0 auto;
}
.kotonum_pager .num_before_current_after {
  display: flex;
  align-items: center;
  justify-content: center;
}
.kotonum_pager .num_before_current_after .current_num {
  font-size: 1.2em;
  margin: 0 0.5em;
  color: #c06060;
}

/**/
body.matome-page-body main table {
  border: 2px solid #4f819e;
}
body.matome-page-body main table th,
body.matome-page-body main table td {
  line-height: 1.5;
}
body.matome-page-body main table th:first-child {
  width: 40%;
}
body.matome-page-body main table td:nth-child(2) {
  font-size: 0.9em;
  vertical-align: baseline;
}

.btn_50on {
  background-color: #4c83a9;
  color: #fff;
}

.btn_dmy {
  background-color: #eee;
  color: #fff;
  cursor: default;
  pointer-events: none;
}
.btn_dmy:hover {
  opacity: 1;
}

.btn_numc {
  background-color: #ba6357;
  color: #fff;
}

.badge,
.ref,
.reffer,
.sankou {
  background-color: var(--cocoon-orange-color);
}

/* バッジ Bootstrap風 */
.badge {
  display: inline-block;
  padding: 0.35em 0.68em;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}
.badge_koto {
  background-color: #e1a638;
}
.badge_kan {
  background-color: #61bb70;
}
.badge_koji {
  background-color: #747cbe;
}
.badge_sanji {
  background-color: #5daac1;
}
.badge_yoji {
  background-color: #c681bb;
}
.badge_etc {
  background-color: #777777;
}

.nw {
  white-space: nowrap;
}

/* メニュー関係 */
.menu-drawer a {
  font-size: 1.1em;
  line-height: 2.5em;
  border-bottom: solid 1px #e6e6e6;
}

.mobile-menu-buttons .menu-caption {
  display: none;
}

.mobile-menu-buttons {
  align-items: center;
}

/**/
.text-bg-success {
  color: #fff !important;
  background-color: RGBA(25, 135, 84, 1) !important;
}

/**/
.widget-entry-card {
  font-size: 0.9rem;
}

/**/
.wp-block-cocoon-blocks-blank-box-1 {
  font-weight: bold;
  font-size: 1.2em;
  border: 3px solid #4f819e;
  padding: 1em 1.5em;
  background: #fffcdd;
  margin-top: 1em;
}
.wp-block-cocoon-blocks-blank-box-1 p {
  color: #4f819e;
}

/* 画像キャプション */
figcaption.wp-element-caption {
  -moz-text-align-last: center;
       text-align-last: center;
}

/* テーブル */
table.tbl_small th,
table.tbl_small td {
  font-size: 0.8em;
}

table.tbl_bordered th,
table.tbl_bordered td {
  border: 1px solid gainsboro;
}

/*  */
.cocoon-block-faq {
  padding-bottom: 1em !important;
  margin-bottom: 0em !important;
  border-bottom: 1px dotted #ccc;
}

/*  FAQ */
.faq {
  color: #4f819e;
  font-weight: bold;
  font-size: 1rem;
}
.faq .faq-answer-content {
  font-weight: normal;
}

/*
// ページネーションに影響するんですけど。これって何？
.next {
	background: #ffffb5;
	padding: 10px;
	border: 1px solid #a9a904;
	text-align: center;
}
	*/
.koto_info {
  background: #f5f5f2;
  padding: 1em 1em;
  margin: 1em 0;
  border-radius: 6px;
  border: 3px solid #ededed;
  box-shadow: 0px 0px 1px 1px #fff inset;
}

/* ブログカード */
.blogcard-content {
  min-height: auto;
}

/*内部ブログカードの抜粋文とサイト名を消す*/
.internal-blogcard-snippet,
.internal-blogcard-site {
  display: none;
}

/* for YARPP */
.yarpp-related h3 {
  border: none;
}

/**/
.related-entries h3 {
  border: none;
  font-weight: 700;
  margin: 0px 0 0;
  padding: 0 0 5px;
  text-transform: capitalize;
}

.related-entry-card-title {
  font-size: 0.8rem;
  font-feature-settings: "palt";
  font-weight: normal;
  line-height: 1.5;
}

figure.card-thumb img {
  border: none;
}

p.koto_imi {
  font-size: 0.8em;
  line-height: 1.4;
  margin-bottom: 0;
  opacity: 0.8;
}

.carousel-entry-card-thumb,
.related-entry-card-thumb,
.widget-entry-card-thumb,
.entry-card-thumb {
  margin-top: 0;
}

.cat-label {
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
  border: none;
  opacity: 0.8;
}

.ect-entry-card figure {
  top: 21px;
}
.ect-entry-card .card-thumb .cat-label {
  height: 20px;
  top: -20px;
  line-height: 18px;
  font-feature-settings: "palt";
}

.related-entries .cat-label {
  top: -18px;
}

.eye-catch-wrap {
  margin-top: 70px;
}

.eye-catch .cat-label {
  height: 36px;
  top: -36px;
  bottom: auto;
  left: 0;
  font-size: 1em;
  line-height: 1;
  padding: 11px 8px;
  border: none;
}

.card-thumb img {
  border: 1px solid #eee;
  filter: drop-shadow(2px 2px 5px #eee);
}

/* とりあえずの対処法 */
.menu-content .menu-drawer {
  padding: 2em 1em 30px;
}

.tagline {
  margin: 0.6em 1em 0.6em;
}

/* ページネーション */
.pagination-next a:hover,
.pagination a:hover,
.pagination .current {
  background-color: #4caf50;
  color: white;
  border-color: #4caf50;
}

/* cocoonの目次（設定で数字表示にすること） */
.article .toc {
  border: 4px solid rgba(63, 156, 255, 0.2);
  padding: 1.5em 3.6em;
  width: 90%;
}
.article .toc .toc-title {
  position: relative;
  text-align: left;
  padding: 0;
  font-size: 1.4em;
}
.article .toc .toc-title::after {
  position: absolute;
  right: 0;
  top: 8px;
  box-sizing: content-box;
  padding: 8px 12px;
  font-size: 10px;
  height: 15px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background-color: #f2f2f2;
  letter-spacing: 1px;
}
.article .toc .toc-list {
  padding-left: 2em;
  padding: 0 0 0 2em;
}

/* RTOC (Rich Table of Contents) */
.rtoc-mokuji-content {
  font-size: 16px;
}

.toc-content li {
  padding-top: 0.5em;
}
.toc-content li::marker {
  color: #3f9cff;
}
.toc-content li::before {
  color: #3f9cff;
}
.toc-content li > a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: all 0.3s;
}
.toc-content ol {
  list-style-type: decimal-leading-zero;
}
.toc-content ol > li::before {
  display: inline-block;
  content: counter(rtoc-decimal-1, decimal-leading-zero) "";
  position: absolute;
  left: -1.3em;
  top: 16px;
  width: auto;
  height: auto;
  font-size: 1.05em;
  font-weight: normal;
  background-color: transparent !important;
  background: transparent;
  box-shadow: none;
}
.toc-content ol > li::after {
  content: "" !important;
  position: absolute;
  top: 18px;
  left: 12px;
  right: auto;
  bottom: auto;
  height: 17px;
  width: 1px;
  border-radius: 1px;
}

/* 文字数さくいん */
.article ul.kotonum-index {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding: 0 !important;
}
.article ul.kotonum-index li {
  margin: 0;
}
.article ul.kotonum-index li a {
  min-width: 70px;
}
.article ul.kotonum-index li small {
  vertical-align: bottom;
}

/* 文字数さくいん */
p.spf-title {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

ul.spf-index {
  padding-left: 2em;
  margin-bottom: 0.5em;
}
ul.spf-index li {
  min-width: 4em;
  background-color: #55a495;
  margin: 0;
  margin-bottom: 0.5rem;
  margin-right: 3px;
  display: inline-block;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  word-break: break-all;
}
ul.spf-index li a {
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  line-height: 1;
}
ul.spf-index li a:hover {
  opacity: 0.8;
}

.widget-entry-cards figure {
  width: 140px;
}

.widget-entry-card-content {
  margin-left: 150px;
}

.sp-only {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cat-item {
  font-feature-settings: "palt";
}

.entry-card .admin-pv {
  font-size: 0.8em !important;
  background: #efefc8;
  z-index: -2;
}

/* タブ切り替え */
.tab-content-group {
  border-top: 3px solid var(--cocoon-tab-label-active-color);
}

.grecaptcha-badge {
  visibility: hidden;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  .entry-card-thumb {
    width: 40%;
  }
}
/*834px以下*/
@media screen and (max-width: 834px) {
  .article h2 {
    font-size: 1.2rem;
    margin: 2rem -16px;
    border-radius: 0;
    padding: 1em 1em;
  }
  .article h3 {
    font-size: 1.1rem;
    margin: 2rem 0;
    padding: 0.5em 0 0.5em 1rem;
  }
  .article ul,
.article ol {
    padding-left: 1em;
  }
  .entry-content > *,
.demo .entry-content p {
    letter-spacing: 0.01em;
  }
  .rect-vertical-card .related-entry-card-content h3 {
    margin: 0;
    padding: 0;
  }
  #sidebar-scroll aside#custom_html-2 {
    display: none;
  }
  .nw {
    white-space: normal;
  }
  .card-arrow .a-wrap::after {
    right: 5px;
  }
  .sp-only {
    display: block;
  }
  main.main,
div.sidebar {
    padding: 0 16px 32px;
  }
  .kotonum_pager {
    display: block;
  }
  body.matome-page-body main table th,
body.matome-page-body main table td {
    line-height: 1.3;
  }
  body.matome-page-body main table th:first-child {
    width: 40%;
  }
  body.matome-page-body main table td:nth-child(2) {
    font-size: 0.85em;
  }
  ul.spf-index {
    padding-left: 0.5em;
  }
  /* RTOC (Rich Table of Contents) */
  .rtoc-mokuji-content {
    font-size: 0.85em !important;
  }
}
/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}
/*# sourceMappingURL=style.css.map */