/**
* カスタムスタイル（個人用・上書き用）
* 共通の style.css とは別に管理するためのファイルです。
*/
.header-logo img {
	width: 200px;
	max-width: 100%;
}

.home .header-logo img {
	width: 100%;
}


/* ----------
* スマホ表示 981px
* ---------- */
@media screen and (max-width:981px) {
	.wp-block-query ul li:nth-child(n+2) {
		display: block!important;
	}
	.wp-block-query ul {
		gap: 16px;
	}
	.home .page_top_btn {
		bottom: 14%;
	}
}

/* ----------
* スマホ表示 600px
* ---------- */
@media screen and (max-width: 600px) {
	.wp-block-query ul li figure {
		display:none;
	}
	.wp-block-query ul li .wp-block-post-excerpt {
		display:none;
	}	
}

#menu-logo_before_menu .menu-item a::after,
#menu-logo_after_menu .menu-item a::after {
	background-color: #3886c9!important;
}

/* ----------------
* 
* MainVisual Slider
*
* -------------- */
.slider-next {
	margin-right: 60px;
}

.site-body {
	padding: 3.5rem 0 4rem!important;
}
@media (max-width: 1200px) {
	.site-body {
		padding: 3rem 0 3.5rem!important;
	}
}
@media (max-width: 992px) {
	.slider-next {
		margin-right: 0px;
	}
	.site-body {
		padding: 2.5rem 0 2.5rem!important;
	}
}
@media (max-width: 768px) {
	.site-body {
		padding: 2rem 0 2rem!important;
	}
}


/* ----------------
* 
* humbarger
*
* -------------- */
.site-header {
	z-index: 2000;
}
.home .site-header {
	z-index: 1000;
	padding-right: 130px;
}

.vk-mobile-nav {
	z-index: -1;
}
.vk-mobile-nav.vk-mobile-nav-open {
	z-index:2000;
}

.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-drop-in {
	grid-template-columns: 1fr 5fr!important;
	gap: 10px;
}

.vk-mobile-nav {
	background-color: rgba(255, 255, 255, 0.98)!important;
}

#menu-mobile-navigation {
	margin-top:60px!important;
	flex-wrap: wrap;
}

.vk-mobile-nav nav .menu-item-has-children .sub-menu a {
	padding: .4em .5em;
}

.vk-mobile-nav>nav>ul>li>a {
	position: relative;
}

.vk-mobile-nav>nav>ul>li>a::after {
	content: "";
	position: absolute;
	width: 70%;
	bottom: 4px;
	left: 6px;
	border-bottom: 3px dotted #3283b9;
}

#vk-mobile-nav-menu-btn {
	display: block !important;
	top: 20px;
	right: 20px;
}

.vk-mobile-nav-menu-btn {
	text-indent: inherit;
	text-align: center;
	left: inherit;
	right: 20px;
	width: 60px;
	height: 60px;
	border: none;
	border-radius: 30px;
	background-size: 65% !important;
	filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.2));
	padding-top: 40px;
	background-position: center;
	background-color: #ffffff;
	font-size: 0.65em;
}

.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-drop-in {
	overflow-y: auto;
	grid-template-rows: min-content!important;
}

#vk-mobile-nav a {
	color: #3283b9;
	text-decoration: none;
}

.info-group {
	margin-top: 4px;
}

.info-group>a {
	padding: .4em .5em!important;
}

.info-group>a::after {
	display: none;
}

@media screen and (max-width: 991px) {
	.vk-mobile-nav>nav>ul>li>a::after {
		width: 100%;
	}
	#vk-mobile-nav a {
		margin-right: 45px;
	}
	a.wp-block-social-link-anchor {
		margin-right: 0 !important;
	}
	.vk-mobile-nav-menu-btn {
		right: 5px;
		padding-top: 20px;
		font-size: 0.8rem;
		height: 40px;
		filter: none;
		border: 1px solid #333;
		border-radius: 0;
		background-position: top;
		width: 36px;
	}
	.vk-mobile-nav-menu-btn.menu-open {
		background-position: top;		
	}
	.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-drop-in {
		grid-template-columns: 1fr!important;
		margin: 10px;
		width: 96%;
	}
	#menu-mobile-navigation {
		margin-top: 0!important;
		flex-direction: column;
	}
	#menu-mobile-navigation .acc-btn {
		display: block!important;
	}
	.vk-menu-acc ul.acc-child-close {
		max-height: 0!important;
	}
	#block-25 {
		grid-row: 3!important;
		grid-column: 1!important;
		margin-top: 26px!important;
	}
	#block-26 {
		grid-row: 2!important;
		grid-column: 1!important;
	}
	#block-25 .wp-block-group {
		margin: 0!important;
	}
	.vk-menu-acc .info-group ul.acc-child-close {
		max-height: 100%!important;
		opacity: 1 !important;
	}
	#menu-mobile-navigation>.info-group .acc-btn {
		display: none!important;
	}

}


/* -------------------
* 
* BreadCrumb
* 
* ------------------- */
.breadcrumb {
	border:none;
}

/* -------------------
* 
* page-header
* 
* ------------------- */
#block-36 {
	margin-bottom: 0;
}
.page-header {
	display: none!important;
}

@media screen and (max-width: 991px) {
	.home .site-header {
		padding-right: 0px;
	}
	.blog .page-header .page-header-title, h1.page-header-title {
		padding: 40px 0;
	}
}

/* -------------------
* 
* 投稿ページ - Singular
* 
* ------------------- */

/* 投稿一覧 */

.blog .page-header {
	display: block!important;
	font-family: 'AlpenFont';
	font-weight: normal;
	font-style: normal;
	min-height: 0;
	height:0;
}

.blog .page-header .page-header-inner.container {
	width: 100%;
	max-width: calc( 1140px - 15px * 2);
	margin: 0 auto;
}

.blog .page-header .page-header-title, h1.page-header-title {
	margin-top: 1rem;
	padding: 80px 0;
	position: absolute;
}

.blog .breadcrumb {
	margin-bottom: 10rem;
}

.vk_post_btnOuter .btn-primary {
	background-color: var(--vk-color-primary);
	border-color: var(--vk-color-primary);
}

.entry-body>.vk_posts>.vk_post-col-lg-12 .vk_post_excerpt,
.main-section>.vk_posts>.vk_post-col-lg-12 .vk_post_excerpt,
.vk_post .vk_post_date {
	font-size: 16px;
	color: #000;
}

@media (max-width: 992px) {
	.vk_post .vk_post_title {
		font-size: 16px;
	}
	.entry-body>.vk_posts>.vk_post-col-lg-12 .vk_post_excerpt,
	.main-section>.vk_posts>.vk_post-col-lg-12 .vk_post_excerpt,
	.vk_post .vk_post_date {
		font-size: 14px;
	}
	.vk_post.media {
		display: block;
	}

	.vk_post .media-img {
		width: 100%;
	}

	.vk_post .media-body {
		width: 100%;
		margin-top: 2rem;
		height: auto;
	}

	.vk_post-btn-display.media .vk_post_body {
		padding-bottom: 0;
	}

	.vk_post-btn-display .vk_post_btnOuter {
		position: static;
		margin: 1rem 0;
	}
}

/* 投稿詳細 */
.vk_post_imgOuter_singleTermLabel,
.entry-meta-item-updated,
.entry-meta-item-author,
.entry-meta-data-list--category,
.vk_posts.next-prev,
.entry-footer {
	display: none;
}

.sticky.hentry .media-body::before {
	content: "📌トピックス-Topics-";
	font-weight: bold;
}

.sticky.hentry .vk_post_title.media-title {
	margin-top: 10px;
}

.wp-block-query .taxonomy-category {
	display:none;
}


/* -------------------
* 
* 固定ページ - HOME
* 
* ------------------- */
.home .site-body {
	padding-top: 0!important;	
	padding-right: 120px!important;
}

.wp-block-group-vk-link {
	min-width: 100%;
}

@media screen and (max-width: 991px) {
	.home .site-body {
		padding-right: 0px!important;
	}
}


/* ========== 
* 施設ボックス（統一）：.facilityBox.media のみ、リスト/単体どちらも同じ見た目 
* ========== */
/* 施設ボックス */
    .facility-list .facilityBox.media {
      margin-bottom: 12px;
    }

    .facility-list .facilityBox.media:last-child {
      margin-bottom: 0;
    }

    .facilityBox.media {
      border: 1px solid #ddd;
      border-radius: 10px;
      margin-bottom: 12px;
      background: #fff;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      padding: 20px;
    }

    .facilityBox.media:last-child {
      margin-bottom: 0;
    }

    .facilityBox.media>img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 6px;
      display: block;
    }

    .facilityBox.media>img:first-of-type {
      order: 0;
      flex-shrink: 0;
      width: 200px;
      height: 200px;
    }

    .facilityBox.media .body.media-body {
      order: 1;
      flex: 1;
      min-width: 200px;
    }

    .facilityBox.media .title {
      margin: 0 0 12px;
      font-size: 1.1rem;
    }

    .facilityBox.media .define {
      margin: 0 0 12px;
      font-size: 0.9rem;
    }

    .facilityBox.media .define::after {
      content: "";
      display: block;
      clear: both;
    }

    .facilityBox.media .define dt {
      float: left;
      width: 6em;
      margin: 0;
      padding: 2px 8px 2px 0;
      color: #555;
      font-weight: 600;
    }

    .facilityBox.media .define dd {
      margin: 0 0 4px;
      padding: 2px 0;
      overflow: hidden;
    }

    .facilityBox.media .define dd a {
      color: #2b6cb0;
    }

    .facilityBox.media .btn {
      display: inline-block;
      margin-bottom: 12px;
      padding: 8px 16px;
      font-size: 0.9rem;
      color: #fff;
      background: #2b6cb0;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .facilityBox.media .btn:hover {
      background: #2c5282;
    }

    /* details / summary アコーディオン */
    .facility-details {
      display: block;
      margin: 0;
    }

    .facility-details summary.btn {
      list-style: none;
      cursor: pointer;
      user-select: none;
    }

    .facility-details summary.btn::-webkit-details-marker,
    .facility-details summary.btn::marker {
      display: none;
    }

    .facility-details[open] summary.btn::after {
      content: "（閉じる）";
      font-weight: 400;
      margin-left: 0.25em;
    }

    .facility-details .facility-detail-images,
    .facility-details .message,
    .facility-details .define.define2 {
      display: block !important;
      overflow: hidden;
      max-height: 0;
      margin: 0;
      padding: 0;
      border: none;
      transition: max-height 0.4s ease-out;
    }

    .facility-details[open] .facility-detail-images,
    .facility-details[open] .message,
    .facility-details[open] .define.define2 {
      max-height: 800px;
      transition: max-height 0.45s ease-in-out;
    }

    .facility-details[open] .facility-detail-images {
      max-height: 220px;
      display: flex !important;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
    }

    .facility-details .facility-detail-images img {
      width: 180px;
      height: 180px;
      object-fit: contain;
      border-radius: 6px;
      display: block;
    }

    .facility-details .message {
      font-size: 0.875rem;
      color: #555;
      line-height: 1.7;
    }

    .facility-details[open] .message {
      margin-bottom: 12px;
      padding: 10px 0 0;
      border-top: 1px solid #eee;
    }

    .facility-details .define.define2 {
      margin-top: 0;
    }
@media screen and (max-width:892px) {
	.facility-details[open] .facility-detail-images {
		    max-height: 100%;
	}
}

/* -------------------
* 
* テーブル
* 
* ------------------- */
.vkp-table-underline :is(td,th) {
	border: none;
	padding: 1rem;
}

.vkp-table-underline tr td:nth-of-type(1) {
	padding-left: 0;
	border-top-color: var(--vk-color-primary);
	/*X-T9対応用*/
	border-right: none;
	border-bottom: none;
	border-left: none;
}
.vkp-table-underline tr:last-child td:nth-of-type(1) {
	border-bottom:1px solid var(--vk-color-primary);
}