/* カスタム CSS をここに入力してください */
.img-box {
 width:1140px;
margin:0 auto;
	padding-top: 25px;
}

@media (min-width:992px) and (max-width:1199px) { 
.img-box {
 width:960px;
margin:0 auto;
	padding-top: 20px;
}
}

@media (min-width:768px) and (max-width:991px) { 
.img-box {
 width:720px;
margin:0 auto;
	padding-top: 20px;
}
}

@media (max-width: 767px) {
.img-box {
 width:90%;
margin:0 auto;
	padding-top: 15px;
}
}

.hoge { text-align: center; }

.wpp-list {
    counter-reset: number;/*ここは自分の好きな名前でOK*/
    list-style: none;
}

.wpp-list li:before {
    color:#FFFFFF /*ここに数字の文字色*/;
    content: counter(number);/*()内はcounter-resetで指定したものをそのまま書く*/
    counter-increment: number;/*ここはcounter-resetで指定したものをそのまま書く*/
    text-align: center;
    opacity: .999;
    float: left;
    line-height: 30px;
    width: 30px;
    height: 30px;
    background-color:#337ab7 /*ここに数字の背景色*/;
    border-radius: 2px;
    -moz-border-radius: 2px;
    margin-right: -25px;
}

/* 個別記事ごとのliタグ */
.widget ul {
padding: 0;
}

.mainSection-title,
h2 {
    border-top:none !important;
    border-bottom:none !important;
    background-color:#3bb7ed;
    border-radius:5px;
    color:#fff;
    padding: 7px 10px 7px 10px;
    line-height: 2.5em;
		margin-top: 1px!important;
    }

.mainSection-title:before,
h2:before {
    margin:0 10px 0 0;
    content:" ";
    display:inline-block;
    margin-right:20px;
    background-image:url( "画像ファイルのURLを入れます" );
    background-size:contain;
    background-repeat: no-repeat;
    vertical-align:middle;
    }

.ewd-ufaq-post-margin-symbol {
    display:none;
    }

.ufaq-faq-title {
    background-color:#3bb7ed;
    }

.ufaq-faq-title-text h4 {
    background-color:#3bb7ed;
    color:#fff;
    }


.su-spoiler-title {
    background-color: #3bb7ed;
    color: white;
    border-radius: 10px;
	  margin-top: -8px;
    margin-bottom: -8px;
    font-size: 24px;
}

.home .vk_post:not(.card-horizontal) .vk_post_imgOuter::before {
	padding-top: calc(360 / 800 * 100%);
}

.home .vk_post:hover {
	opacity: .7;
}

.home .vk_posts .vk_post-col-xl-6 {
	width: calc(50% - 30px);
}

@media (max-width: 480px) {
	.home .vk_posts .vk_post-col-xl-6 {
		width: calc(100% - 30px);
	}
} 

/* =========================================
   TOP右側：よく読まれている記事をランキング風に変更
   WordPress Popular Posts / Lightning用
   ※見出しは変更しない
========================================= */

/* 対象：トップページ右側の人気記事ウィジェット */
body.home .sideSection aside.popular-posts {
  counter-reset: popular-ranking;
}

/* リスト初期化 */
body.home .sideSection aside.popular-posts .wpp-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  counter-reset: popular-ranking;
}

/* 1記事ごとのレイアウト */
body.home .sideSection aside.popular-posts .wpp-list li {
  counter-increment: popular-ranking;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 112px 1fr;
  column-gap: 12px;
  align-items: start;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: none !important;
  overflow: visible !important;
}

/* ランキング番号の丸 */
body.home .sideSection aside.popular-posts .wpp-list li::before {
  content: counter(popular-ranking);
  position: absolute;
  top: -9px;
  left: -7px;
  z-index: 3;
  width: 27px;
  height: 27px;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  line-height: 23px;
  text-align: center;
  box-sizing: border-box;
}

/* 画像リンク */
body.home .sideSection aside.popular-posts .wpp-list li > a:first-child {
  display: block !important;
  grid-column: 1;
  grid-row: 1;
  width: 112px !important;
  height: 74px !important;
  margin: 0 !important;
  overflow: hidden;
}

/* サムネイル */
body.home .sideSection aside.popular-posts .wpp-thumbnail {
  display: block !important;
  float: none !important;
  width: 112px !important;
  height: 74px !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

/* 記事タイトル */
body.home .sideSection aside.popular-posts .wpp-post-title {
  display: block !important;
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  padding: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  text-decoration: none !important;
}

body.home .sideSection aside.popular-posts .wpp-post-title:hover {
  text-decoration: underline !important;
}

/* スマホ時も崩れにくく */
@media (max-width: 767px) {
  body.home .sideSection aside.popular-posts .wpp-list li {
    grid-template-columns: 120px 1fr;
    column-gap: 14px;
  }

  body.home .sideSection aside.popular-posts .wpp-list li > a:first-child,
  body.home .sideSection aside.popular-posts .wpp-thumbnail {
    width: 120px !important;
    height: 80px !important;
  }
}


/* =========================================
   TOPページ「ブログ」欄：カテゴリ別カラー設定
========================================= */

/* 共通：カテゴリラベルの基本デザイン */
body.home #ltg_post_list-2 .entry-meta_items_term_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 4px 9px !important;
  border: none !important;
  border-radius: 3px !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* お知らせ */
body.home #ltg_post_list-2 .category-8 .entry-meta_items_term_button {
  background-color: #5bc8df !important;
}

/* 一般質問 */
body.home #ltg_post_list-2 .category-84 .entry-meta_items_term_button {
  background-color: #f29b76 !important;
}

/* 生成AIの活用 */
body.home #ltg_post_list-2 .category-ai .entry-meta_items_term_button {
  background-color: #8bbf72 !important;
}

/* 起業・在宅ワーク */
body.home #ltg_post_list-2 .category-104 .entry-meta_items_term_button {
  background-color: #b08ad9 !important;
}

/* hover時：少し濃くする */
body.home #ltg_post_list-2 .category-8 .entry-meta_items_term_button:hover {
  background-color: #3fb8d2 !important;
}

body.home #ltg_post_list-2 .category-84 .entry-meta_items_term_button:hover {
  background-color: #e6845c !important;
}

body.home #ltg_post_list-2 .category-ai .entry-meta_items_term_button:hover {
  background-color: #78aa5f !important;
}

body.home #ltg_post_list-2 .category-104 .entry-meta_items_term_button:hover {
  background-color: #9a73c7 !important;
}