/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/* ------------------------
打消し
------------------------ */
/* margin */
p {
  margin: 0;
}

article p {
  margin-bottom: 2%;
}

/* ボタン枠線 */
.vk-mobile-nav-menu-btn,
.menu-open,
.vk-mobile-nav,
.acc-btn,
.btn-primary {
  border: none !important;
}

/* ------------------------
ヘッダー
------------------------ */
.header-top__inner {
  margin: auto;
  max-width: 1140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* スクロール時にヘッダーロゴ表示 */
@media (min-width: 992px) {
  .header_scrolled .site-header-logo {
    display: block;
    position: absolute;
    padding-top: 10px;
  }

  .site-header--layout--nav-float .site-header-logo {
    margin-right: 0;
    width: auto;
  }

  .header_scrolled .site-header-logo img {
    width: auto;
    height: 40px;
  }

  .header_scrolled .site-header .global-nav {
    margin-right: 0;
  }
}

/* サブメニュー調整 */
/* ①サブメニューの背景色 */
.global-nav-list>li>ul.sub-menu {
  background-color: #333 !important;
}

/* ②突起部分の色 */
.global-nav-list>li.menu-item-has-children::after {
  display: none !important;
}

/* ③マウスホバー時の背景色 */
.global-nav-list .sub-menu li a:hover {
background-color: #222;
}

/* ④ボーダーの太さ・線種・色 */
.global-nav-list .sub-menu li a {
border-bottom: none;
}


/* ページヘッダーを非表示 */
.page-header {
  display: none;
}

/* ------------------------
TOPページ
------------------------ */
.top-category-link {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.top-category-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.post-type-wrapper p {
  margin: 0;
}

.post-type-card {
  /* 	margin-bottom: 1%; */
  padding: 2% 1% 1% 1%;
  border-bottom: 1px solid #ddd;
}

.post-type-card:hover {
  background: rgba(112, 193, 223, 0.1);
}

.post-title {
  display: block;
  margin-bottom: 0.5%;
}

.post-meta {
  font-size: 0.9em;
  color: #555;
  display: flex;
  gap: 2%;
}

.post-modified, .post-meta, .post-taxonomy {
	max-width: 100%;
}

.post-taxonomy a {
	display: inline-block;
	padding: 0px 8px;
	background: #aaa;
	font-size: 0.8em;
	color: #fff !important;
	border-radius: 4px;
}

.post-taxonomy a:hover {
  background: #1e73be;
  color: #fff;
}

/* ------------------------
記事一覧
------------------------ */

.vk_post_imgOuter {
  display: none;
}

/* ------------------------
検索
------------------------ */
.wp-block-search .wp-block-search__button {
  margin: 0;
}

/* ------------------------
全ての記事
------------------------ */
.all-post-ttl h2 {
  font-size: 18px;
}
