/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
a img:hover {
  opacity: 0.6;
}
a.wp-block-cover-vk-link:hover {
  opacity: 0.4;
  background-color: #fff;
}
.width100 {
  flex-basis: 100% !important;
}
.vkfs :is(input[type="text"], input[type="number"], select) {
  padding: 1.2em 1em;
  font-size: 1em;
  border-radius: 0.75em;
}
.vkfs .btn[type="submit"], .wpcf7-box input[type="submit"], .wpcf7-box input[type="button"] {
  padding: 1em;
  font-size: 1.6em;
  display: block;
  width: 30%;
  border-radius: 50px;
  font-weight: bold;
  border: none;
  margin: auto;
}
.wpcf7-box input[type="button"]:hover {
  cursor: pointer;
}
.CF7_table {
  font-size: 1.2rem;
}
.CF7_table dl small {
  background-color: #f00;
  color: #fff;
  font-size: 12px;
  margin-left: 10px;
  padding: 3px;
}
.CF7_table strong, .CF7_table small {
  vertical-align: middle;
  display: inline-block; /* 高さを計算しやすくするため */
  line-height: 1.1; /* 行高を揃える */
}
.maiform__privacy {
  padding: 1em;
  background-color: #efefef;
  border: solid 1px #ccc;
  height: 200px;
  overflow-y: auto;
  font-size: 10px;
  line-height: 1.2;
}
.wpcf7-form p {
  margin: 0em auto;
}
.wpcf7-form p.accept {
 text-align: center;
 margin: 2em auto;
}
.CF7_table2 input[type="email"], .CF7_table2 input[type="tel"], .CF7_table2 input[type="text"], .CF7_table2 select, .CF7_table2 textarea {
  background-color: #efefef !important;
}
.search-results-list {
  display: flex;
  flex-wrap: wrap;
}
.search-results-list .search_list1 {
  float: left;
  width: 22%;
  margin-right: 4%;
  margin-bottom: 2em;
}
.search-results-list .search_list1:nth-child(4n) {
  margin-right: 0;
}
.search-results-list h2 {
  font-size: 1em;
  margin-bottom: 0;
  border: none;
  padding-top: 5px;
}
.search-results-list img {
  width: 100%; /* 親要素に合わせる */
  aspect-ratio: 1 / 1; /* 幅と高さの比率を1:1に固定 */
  object-fit: cover; /* 中身のトリミング設定 */
  text-align: center;
  border: solid 1px #f7931e;
  padding: 5px;
  background-color: #fff;
}
.term-names {
  font-weight: bold;
  color: #f00;
  font-size: 1.1em;
}
.page-header {
  min-height: 4rem !important;
  margin-bottom: 1em !important;
}
.page-header-inner {
  margin: 1em auto;
}
.page-header-title, h1.page-header-title {
  font-size: 1.5rem;
}
.breadcrumb {
  border: none;
}
.site-body {
  padding: 1rem 0 2.5rem;
  border-bottom: dotted 1px #aaa;
}
h1.archive-header-title, h1.entry-title {
  font-size: 1.75rem;
  background-color: #ff0;
  padding: 5px 10px;
}
.container {
  padding-right: 10px;
  padding-left: 10px;
}
.search-results h1, .search-no-results h1 {
  border: none;
  margin: auto;
  font-size: 1.6em;
}
.search-results h1.border-bottom, .search-no-results h1.border-bottom {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.wp-pagenavi {
  text-align: center;
}
.wp-pagenavi span.current {
  font-weight: bold;
  background-color: #666;
  color: #fff;
}
.search-results ul.cate-list, .inner ul.cate-list {
  margin: 0 auto 5px;
  padding: 0;
}
.search-results ul.cate-list li, .inner ul.cate-list li {
  list-style: none;
  font-size: 13px;
  margin: 0;
}
.cate-list0 {
  padding-left: 10px;
}
.cate-list0 li {
  list-style: none;
  float: left;
  margin-right: 1em;
}
.cate-list0 li.type1 {
  background-color: #ff0;
}
.entry-meta {
  text-align: right;
  font-size: 12px;
}
.entry-meta-item-author {
  display: none;
}
.termid-36, .termid-25, .termid-24, .termid-21, .termid-18, .termid-19 {
  color: #aaa;
}
.termid-40, .termid-41, .termid-26, .termid-27 {
  font-weight: bold;
  color: #f00;
}
.vkfs__label-name {
  font-size: 1.2em;
}
.vkfs__outer-wrap {
  margin-bottom: 2em !important;
}
p.result_back {
  text-align: right;
  padding-top: 0.5em;
  clear: both;
}
p.result_back a {}
/* メイン画像：大きく表示 */
.main-slider {
  width: 100%;
  height: 600px; /* 必要に応じて調整 */
  margin-bottom: 10px;
}
.main-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-button-next, .swiper-button-prev {
  color: #000 !important;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
  opacity: 0 !important;
}
/* サムネイル：小さくリスト表示 */
.thumb-list {
  height: 60px;
  box-sizing: border-box;
  padding: 10px 0;
}
.thumb-list .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  cursor: pointer;
}
.thumb-list .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #fbb03b;
}
.thumb-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail_left {
  width: 48%;
  float: left;
}
.detail_right {
  width: 48%;
  float: right;
}
.detail_right.detail_right2 {
  width: 100%;
}
.detail_right table.cp {
  margin-bottom: 1.5em;
}
.detail_right table.cp th {
  background-color: #efefef;
  border: solid 1px #ccc;
  font-size: 1em;
  padding: 0.6em 0.4em;
  white-space: nowrap;
}
.detail_right table.cp td {
  border: solid 1px #ccc;
  font-size: 1.1em;
}
.detail_right table.cp2 td {
  text-align: center;
}
.detail_right .cate {
  text-align: center;
  width: 100%;
  background-color: #ddd;
  padding: 0.5em;
  margin-bottom: 10px;
  font-size: 1em;
}
.detail_right .favorite-btn {
  width: 100%;
  margin-top: 1em;
  font-size: 1.1em;
  background-color: #f00;
  color: #fff;
  border: solid 1px #f00;
  padding: 1em;
  border-radius: 10px;
}
.detail_right .favorite-btn:hover {
  cursor: pointer;
}
.detail_right h2 {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.2em;
  margin-bottom: 5px;
}
.detail_right h3 {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1em;
  margin-bottom: 5px;
}
.detail_right h3::after {
  display: none;
}
.honbuns_artc {
  padding: 1.5em;
  background-color: #efefef;
  line-height: 1.6;
  margin-top: 2em;
}
.vk_posts.next-prev {
  display: none;
}
.c_profile dl {
  width: 100%;
  clear: both;
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: dotted 1px #aaa;
  overflow: hidden;
}
.c_profile dl dt {
  float: left;
  width: 15%;
  text-align: center;
  margin-bottom: 0;
  font-size: 1.1em;
}
.c_profile dl dd {
  float: right;
  width: 85%;
}
.c_profile dl p {
  margin-bottom: 1em;
}
p.before_page {
  text-align: center;
  margin-top: 3em;
}
p.before_page a {
  width: 30%;
  display: block;
  padding: 1em;
  background-color: #fbb03b;
  color: #fff;
  text-decoration: none;
  margin: auto;
}
.close-modal {
  font-size: 40px !important;
  text-align: right;
  display: block;
  margin-right: 0.3em;
}
/* before_pageクラスのpタグの次にある、scriptタグの次にある、pタグを非表示 */
/*犬猫個別ページのエディタ部分は検索対象にして非表示にする*/
.single-profile p.before_page + script ~ p, .single-profile .entry-body p {
  display: none !important;
}
.single-venue p.before_page + script ~ p, .single-venue .entry-body p {
  display: none !important;
}
/* 特定の投稿タイプ（例: 'work'）の編集画面にのみ適用する場合 */
.post-type-profile .editor-styles-wrapper {
  min-height: 100px !important; /* お好みの高さに調整してください */
}
/* 全体のエディタ領域を絞りたい場合 */
.editor-styles-wrapper {
  max-height: 500px;
  overflow-y: auto;
}
.editor-styles-wrapper::after {
  height: 10vh !important;
}
h2.type1 {
  border: none;
  text-align: center;
  font-size: 2rem;
}
h2.type1 .fa-paw {
  color: #f7931e;
  margin-right: 10px;
  margin-left: 10px;
}
.custom-news-list ul {
  padding-left: 0;
}
.custom-news-list ul li {
	list-style: none;
	margin-bottom: 1em;
	min-height: 75px;
}
.custom-news-list ul li a {
  color: #333;
  font-size: 1.1em;
 text-decoration: none;
}
.custom-news-list ul li a:hover {
  color: #f7931e;
}
.custom-news-list ul li .date {
  display: block;
  color: #999;
  font-size: 0.9em;
}
.custom-news-list ul li .date::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 5px;
  color: #f7931e;
}
.site-footer {
  background-color: #f7931e;
  /* 上側に10pxの余白を確保（5px線 + 5px隙間分） */
  margin-top: 10px;
  /* 1つ目の影で白、2つ目の影でオレンジの線を表現 */
  box-shadow: 0 -5px 0 0 #ffffff, 0 -10px 0 0 #f7931e;
}
.site-footer-copyright {
  text-align: center;
}
.site-footer-copyright small {
  font-size: 1em;
  color: #fff;
}
.entry-footer {
  margin-bottom: 1em;
}
.footer_u1 {
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.4;
  margin-bottom: 5px;
  margin-top: 2em;
}
.footer_u2 {
  text-align: center;
  line-height: 1.4;
  margin-bottom: 3em;
}
.site-header-logo {
  padding-top: 10px;
  margin-bottom: 10px;
}
.global-nav-list > li .global-nav-name {
  font-size: 1.1em;
}
.device-pc .global-nav-list > li > a {
  padding: 14px 1.2rem;
}
.global-nav-list li {
  font-size: 1em;
  font-weight: bold;
  border-bottom: solid 1px #fff;
  border-right: solid 1px #fff;
  border-left: solid 1px #fff;
}
.global-nav-list li#menu-item-27848 {
 text-align: center;
 background-color: #000;
}
.global-nav-list .sub-menu li a {
  padding: 10px 1em;
}
.header_scrolled.admin-bar .site-header {
  border-bottom: solid 1px #f7931e;
  box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px 0px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px 0px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px 0px;
}
.mobile-nav-btn-right .vk-mobile-nav-menu-btn, .vk-mobile-nav-menu-btn.position-right {
  right: 7px;
  top: 10px;
}
.global-nav-list > li > ul.sub-menu {
	width: 300px !important;
}
@media only screen and (max-width:767px) {
  .search-results-list .search_list1 {
    width: 48%;
    margin-right: 4%;
  }
  .search-results-list .search_list1:nth-child(2n) {
    margin-right: 0;
  }
  .search-results-list h2 {
    font-size: 14px;
  }
  .search-results .cate-list li {
    list-style: none;
    font-size: 12px;
    margin: 0;
  }
  .vkfs .btn[type="submit"], .wpcf7-box input[type="submit"], .wpcf7-box input[type="button"] {
    width: 70%;
  }
  .detail_left {
    width: 100%;
    float: none;
  }
  .detail_right {
    width: 99%;
    float: none;
    margin: 1em auto;
  }
  .c_profile dl dt {
    float: none;
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
  }
  .c_profile dl dd {
    float: none;
    width: 100%;
    padding-left: 0.5em;
  }
  p.before_page a {
    width: 80%;
  }
  h1.archive-header-title, h1.entry-title {
    font-size: 1.4rem;
  }
  .main-slider {
    height: 400px;
  }
 h2.type1 {
	font-size: 1.8rem;
}
 .vk-mobile-nav nav ul li#menu-item-27848 {
  text-align: center;
}
}