/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 10 2026 | 05:35:52 */
/* ============================================================
   ④ トップページ — 個別ページ調整(最後に読み込む)
   ※ ①〜③ をすべて読み込んだ後、最後に適用する
   ============================================================ */

main {
  padding: 10px 0;
  border: 0;
}
/* ナビ〜コンテンツ間の余白を除去 */
@media screen and (max-width: 599px) {
    main {
        padding-top: 0 !important;
    }
}

.home-post {
  margin-top: 0;
  margin-bottom: 0;
}

.home-post .ecae {
  visibility: collapse;
  height: 0;
}

.post ul li {
  list-style: none;
}

.pagelink-count p {
  color: #333;
  text-align: center;
  text-shadow: 0 0 1px #34495e;
}

/* ============================================
   WP ULike(いいねボタン) — 暖色CTA・中央寄せ・大型化
   ============================================ */
.boxContainer {
  overflow-x: auto;
  overflow-y: hidden;
}
.boxContainer div.wpulike {
  float: right;
}
.boxContainer div.wp_ulike_general_class::before {
  content: "『記事の評価』";
  margin-left: 10px;
  color: #fff;
  font-weight: 700;
  text-shadow: var(--text-shadow-edge);
}

/* 記事下のいいねを中央寄せに（boxContainer内のfloat:rightは維持） */
.wpulike {
  margin: 14px 0;
  padding: 0;
  text-align: center;
}

.wpulike-default .count-box {
  width: 40px;
  color: #333;
  font-weight: 700;
}

/* ボタン本体：暖色グラデCTA・大型 */
.wpulike-default .wp_ulike_btn {
  width: auto;
  min-width: 220px;
  height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 26px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ed542a 100%);
  box-shadow: 0 3px 8px rgba(237, 84, 42, .35);
  color: #fff !important;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-all);
}

.wpulike .wp_ulike_btn:hover {
  background: linear-gradient(135deg, #ff7a26 0%, #d8431c 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(237, 84, 42, .45);
}

/* いいね済みの状態 */
.wpulike-default .wp_ulike_is_liked .wp_ulike_btn {
  background: linear-gradient(135deg, #9CCC65 0%, #56A764 100%);
  box-shadow: 0 3px 8px rgba(86, 167, 100, .35);
}

.wpulike .wp_ulike_txt {
  font-weight: 700;
  text-shadow: var(--text-shadow-edge);
}

.fa-thumbs-up::before {
  font-size: 150%;
  margin-right: 4px;
}

.articleFooter div.wp_ulike_general_class::after {
  display: none;
}

p#wpar {
  padding: 8px;
  text-align: end;
}

/* ============================================
   トップ情報・メタ
   ============================================ */
.st-top-info {
  display: flex;
  margin-bottom: 10px;
  align-items: baseline;
  color: #6a8cec;
  font-size: var(--font-size-sm);
  overflow-x: auto;   /* ← 追加 */
  overflow-y: hidden; /* ← 追加 */
}

.st-top-info span {
  color: #222;
}

/* ============================================
   WPP ビュー数
   ※ Usedスニペットと競合していた span.wpp-views をここで統合。
   ※ 元は !important で殴り合い → トップ側(アイコンのみ)が常に勝つ状態。
   ※ 見た目を変えずにそれを再現(font-size:0でアイコンのみ表示)。
   ============================================ */
.wp-views {
  padding: 5px;
  background: #ffeb3b;
}

span.wpp-views {
  display: content;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: #FF0007;
  font-size: 0;        /* 数字を隠してアイコンのみ表示(現状の挙動を維持) */
  font-weight: 700;
}

span.wpp-views::before {
  content: "\f062";
  margin-right: 5px;
  color: #ff1744;
  font-family: FontAwesome;
  font-weight: 900;
  text-decoration: none !important;
}

.wpp-text {
  margin-left: 2px;
  font-size: 80%;
}

div.st-wp-views span.wpp-views {
  text-shadow: 3px 1px 10px #34495e;
}
/* ============================================
   人気記事ウィジェット v2
   WPPデフォルト出力 + CSS counterで順位バッジ
   ============================================ */

.uma-popular-wrap {
    margin-top: 24px;
}

.uma-popular-block {
    margin-bottom: 20px;
}

/* WPPが出力する ol または ul */
.uma-popular-wrap ol,
.uma-popular-wrap ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    counter-reset: wpp-rank;
}

/* 各li — flexboxで縦中央揃え */
.uma-popular-wrap li {
    counter-increment: wpp-rank;
    position: relative;
    display: flex !important;
    align-items: center !important;        /* ← 縦中央 */
    gap: 10px;
    padding: 9px 10px 9px 46px !important;
    border-bottom: 1px solid var(--boader-color-soft);
    background: #fff;
    transition: background .2s;
    line-height: 1.45;
}

/* 順位バッジ（CSSカウンター） */
.uma-popular-wrap li::before {
    content: counter(wpp-rank);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);           /* flexと併用で確実に中央 */
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background: var(--main-bg-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.uma-popular-wrap li:hover {
    background: var(--hover-bg-color);
}

/* 1〜3位カラー */
.uma-popular-wrap li:nth-child(1)::before { background: #f5a623; }
.uma-popular-wrap li:nth-child(2)::before { background: #aaa; }
.uma-popular-wrap li:nth-child(3)::before { background: #cd7f32; }

/* 記事タイトルリンク */
.uma-popular-wrap li a {
    font-size: var(--font-size-sm) !important;
    color: var(--color-text) !important;
    text-decoration: none !important;
    display: block;
}

.uma-popular-wrap li a:hover {
    color: var(--link-red) !important;
    text-decoration: underline !important;
}

/* PV数（殿堂入りブロックのみ表示） */
.uma-popular-wrap .wpp-views,
.uma-popular-wrap span.wpp-views {
    display: block !important;
    font-size: var(--font-size-xs) !important;
    color: #aaa !important;
    font-weight: normal !important;
    margin-top: 2px;
    /* 既存のfont-size:0とアイコンを上書き */
}

.uma-popular-wrap span.wpp-views::before {
    display: none !important;
}


/* ============================================
   関連記事(.kanren)
   ============================================ */
.kanren {
  margin-top: 0;
  padding-top: 0 !important;
}

.kanren dl {
  margin: 5px 0 20px;
  padding: 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #FEFEFE;
  box-shadow: var(--box-shadow);
}

aside .kanren h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #494949;
  font-size: var(--font-size-lg);
  line-height: 1.4;
  transition: var(--transition-all);
}

.kanren h3 a,
.post .kanren h3 a {
}

.kanren h3 a:hover,
.post .kanren h3 a:hover {
  color: var(--link-base);
  text-decoration: underline;
}

.kanren dt {
  float: left;
  width: 200px;
  margin-top: 5px;
}

.kanren dt img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.kanren dd {
  min-height: 140px;
  padding-left: 210px;
}

.kanren dd p {
  padding: 5px;
}

/* ============================================================
   スマホ(max-width: 599px)
   ============================================================ */
@media screen and (max-width: 599px) {
  .kanren dt {
    width: 120px;
  }
  .kanren dt img {
    width: 100%;
    height: 68px;        /* 120×68 ≒ 1.76:1 で横長に近づける */
    object-fit: cover;
  }
  .kanren dd {
    padding-top: 4px;
    min-height: 68px;       /* 95 → 68（画像高さに合わせる）*/
    padding-left: 130px;    /* 110 → 130（dt幅120px + 余白10px）*/
    /*border-bottom: 1px dashed #999;*/
  }

}

/* ============================================
   馬トラック区切り
   ============================================ */
.uma-track-divider {
	position: relative;
	margin: 8px 0 0;
	height: 28px;
	overflow: hidden;
	border-bottom: 2px solid #7db4e6;
}

.uma-track-inner {
	position: relative;
	height: 100%;
}

/* ダッシュ線(芝コース風) */
.uma-track-divider::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: repeating-linear-gradient(
		90deg,
		#7db4e6 0px, #7db4e6 18px,
		transparent 18px, transparent 32px
	);
	opacity: 0.25;
}

.uma-horse {
	position: absolute;
	bottom: 4px;
	font-size: 2.5rem;
	line-height: 1;
	animation: uma-gallop 2.8s linear infinite;
	will-change: transform;
    transform: scaleX(-1);
}

@keyframes uma-gallop {
	0%   { left: -30px; }
	100% { left: 105%; }
}

/* ページング前のトラックは少し余白を広く */
.uma-track-divider--paging {
	margin-top: 16px;
	height: 36px;
}

.uma-track-label {
	position: absolute;
	right: 8px;
	bottom: 8px;
	font-size: 0.72rem;
	color: #7db4e6;
	font-weight: 700;
	letter-spacing: 0.05em;
}

/* ============================================
   ② 抜粋文のスマホ対応
   PC: デフォルト表示
   SP(~499px): 2行クランプ
   ============================================ */
@media (max-width: 499px) {
	.kanren dd p,         /* the_excerpt()が出力するp要素 */
	.kanren dd .wp-block-post-excerpt__excerpt {
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		font-size: 0.78rem !important;
		line-height: 1.55 !important;
		color: #555 !important;
		padding: 2px 0 !important;
	}
}

/* ============================================
   コメント一覧
   ============================================ */
.recent-comments-content {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.recent-comments-content li {
    background: #fff;
    border: 1px solid #f0d4dc;
    border-left: 4px solid #e8889f;
    padding: 10px 12px;
    margin-bottom: 4px;
    transition: box-shadow .2s, transform .2s;
}

.recent-comments-content li:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

/* 記事タイトルリンク */
.recent-comments-content li > a {
    display: block;
	font-size: var(--font-size-sm);
    font-weight: bold;
    color: #c44569;
    text-decoration: none;
    line-height: 1.4;
    margin: 4px;
    /* 1行に省略したい場合は下の3行を有効化*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-comments-content li > a:hover {
    text-decoration: underline;
}

/* コメント抜粋 */
.recent-comments-content .comment-excerpt {
	font-size: var(--font-size-sm);
    color: #333;
    line-height: 1.5;
    margin: 4px;
}

/* 投稿日時 */
.recent-comments-content .comment-date {
    display: block;
	font-size: var(--font-size-xs);
    color: #333;
    text-align: right;
}

/* -------------------------------------------------------------------------
   [1] 時間表示 ── タイトルと競合しないバランスに
   ------------------------------------------------------------------------- */
.st-top-time {
    color: var(--link-indigo) !important;
    font-size: var(--font-size-xs) !important;
    font-weight: normal !important;
}
 
.st-top-time .fa-clock-o {
    color: var(--link-indigo) !important;
    color: #aaa !important;
}
 
/* 新着（6時間以内）のみオレンジ強調 */
.st-top-info--new .st-top-time {
    color: var(--color-accent) !important;   /* #ed542a */
    font-weight: 600 !important;
}


/* --- タイムスタンプ・コメント数 --- */
span.timestamp,
time.updated {
  margin-right: 10px;
  color: var(--color-accent) !important;   /* #ed542a */
  font-size: var(--font-size-xs);
  font-weight: 700;
}

span.itiran-comments-count a {
  color: #999;
  font-size: var(--font-size-sm);
  font-weight: 700;
}

span.itiran-comments-count a:hover {
  color: #fff !important;
  background: var(--hover-bg-color);
}

/* -------------------------------------------------------------------------
   [2] コメント表示 ── 0件は「コメントする」で書き込みを促す
   ------------------------------------------------------------------------- */
.st-top-comments {
    font-size: var(--font-size-xs) !important;
}
 
/* 1件以上: 既存の青系 */
.st-top-comments .itiran-comments-count a {
    color: var(--link-indigo) !important;
    font-weight: normal !important;
    text-decoration: none !important;
}
 
.st-top-comments .itiran-comments-count a:hover {
    text-decoration: underline !important;
    color: #4a6cc0 !important;
}
 
/* 0件: サイトカラー緑で「参加歓迎」 */
.st-top-comments--zero .itiran-comments-count a {
    color: var(--link-green) !important;   /* #72CC82 */
    font-weight: 600 !important;
}
 
.st-top-comments--zero .fa-comments {
    color: var(--link-green) !important;
}
 
.st-top-comments--zero .itiran-comments-count a:hover {
    color: var(--title-header-green-sub) !important;  /* #56A764 */
}
 
/* -------------------------------------------------------------------------
   [3] 「続きを読む」ボタン ── サイトカラー緑のゴーストボタン
   ------------------------------------------------------------------------- */
.ecae,
.ecae p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  padding: 5px 5px 5px 0px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecae .t_h,
.ecae .res_header,
.ecae .res_footer {
  display: none;
}

.ecae blockquote {
  padding: 5px;
  background-color: #e9ebd7;
  font-size: 90%;
}

.ecae .t_b,
.ecae .res_content {
  margin: 20px 0;
  color: #666;
  line-height: 1.6;
  overflow: hidden;
}

.ecae img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.ecae h2 {
  display: none;
}

.ecae-button.ecae-buttonskin-white {
    text-align: left !important;
    margin-top: 6px !important;
}
 
.ecae-link span {
    display: inline-block !important;
    box-sizing: border-box !important;
    background: transparent !important;
    color: var(--link-blue) !important;       /* #56A764 */
    border: 1.5px solid var(--boader-color-green) !important;  /* #72CC82 */
    border-radius: 4px !important;
    padding: 4px 14px !important;
    font-size: var(--font-size-xs) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: var(--transition-all) !important;
}
 
.ecae-link span:hover,
.ecae-link:hover span {
    background: var(--main-bg-color) !important;   /* #9CCC65 */
    color: #fff !important;
    border-color: var(--main-bg-color) !important;
}

.ecae .toc-title {
    color: var(--color-text);
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 4px;
}

/* 目次リスト間隔 */
.ecae ol li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--link-indigo);
	font-size: var(--font-size-sm);
}