@charset "utf-8";
/*
Theme Name: Lightning Marugoto
Template: lightning
Author: CPL
Version: 1.0
*/

/* site */

.site-body-container {
	background: #fff;
}

.site-header-logo img {
	max-height: 60px;
}

/* menu */

.global-nav-list
> li[class*="current"]:has(~ li[class*="current"]):not(:hover):before {
	width: 0;
}

.global-nav-list
> li[class*="current"]:has(~ li[class*="current"]):not(:hover)
.global-nav-description {
	opacity: 0.6;
}

/* footer */

.site-footer .widget {
	margin-bottom: 0;
}

/*-------------------------------------------*/
/* .bs-callout
/*-------------------------------------------*/
.bs-callout {
	padding: 20px;
	margin: 20px 0;
	border: 1px solid #eee;
	border-left-width: 5px;
	border-radius: 3px;
}
.bs-callout h4 {
	margin-top: 0;
	margin-bottom: 5px;
}
.bs-callout p:last-child {
	margin-bottom: 0;
}
.bs-callout code {
	border-radius: 3px;
}
.bs-callout + .bs-callout {
	margin-top: -5px;
}
.bs-callout-default {
	border-left-color: #777;
}
.bs-callout-default h4 {
	color: #777;
}
.bs-callout-primary {
	border-left-color: #428bca;
}
.bs-callout-primary h2,
.bs-callout-primary h4 {
	color: #428bca;
}
.bs-callout-success {
	border-left-color: #5cb85c;
}
.bs-callout-success h4 {
	color: #5cb85c;
}
.bs-callout-danger {
	border-left-color: #d9534f;
}
.bs-callout-danger h2,
.bs-callout-danger h4 {
	color: #d9534f;
}
.bs-callout-warning {
	border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
	color: #f0ad4e;
}
.bs-callout-info {
	border-left-color: #5bc0de;
}
.bs-callout-info h4 {
	color: #5bc0de;
}

/* page, single */

@media (min-width: 992px) {
	body.single .site-body-container:has(.entry-full),
	body.page:not(.home) .site-body-container:has(.entry-full) {
		max-width: 810px;
	}
}

/* single */

body.single .entry {
	padding-bottom: var(--vk-margin-lg);
	margin-bottom: var(--vk-margin-md);
	border-bottom: 1px solid var(--vk-color-border-hr);
}

/* post */

.entry.post header {
	padding-bottom: var(--vk-margin-sm);
	border-bottom: 1px solid var(--vk-color-border-hr);
}

.entry.post h1 {
	font-size: 1.3rem;
}

/* event */

/* event archive */

.vk_post.card.event .vk_post_body {
	position: initial !important;
}

.vk_post.card.event .event-tag {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	border-bottom: 5em solid transparent;
	border-left: 5em solid currentColor;
}

.vk_post.card.event .event-tag i {
	position: absolute;
	top: 0.2em;
	left: -4em;
	width: 4.5em;
	text-align: center;
	color: #fff;
}

.vk_post.card.event .event-registration {
	color: #d9534f;
}

.vk_post.card.event .event-some-registration {
	color: #f0ad4e;
}

.vk_post.card.event .event-link {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* event single */

@media (min-width: 992px) {
	body.single-event .site-body-container:has(.entry-full) {
		max-width: 900px !important;
	}
}

.event-header {
	display: flex;
	flex-direction: column;
	margin-bottom: 35px;
}

.event-header .event-title {
	margin-bottom: 10px;
	text-align: center;
	order: 1;
}

.event-header .event-lead {
	position: relative;
	margin-top: 0;
	padding: 1em 2em;
	text-align: center;
	color: #337ab7;
	border: none;
	background-color: transparent;
	order: 2;
}

.event-header .event-lead::before,
.event-header .event-lead::after {
	content: "";
	position: absolute;
	left: 15%;
	width: 70%;
	height: 6px;
}

.event-header .event-lead::before {
	top: 0;
	border-top: 2px solid #337ab7;
	border-bottom: 1px solid #337ab7;
}

.event-header .event-lead::after {
	bottom: 0;
	border-top: 1px solid #337ab7;
	border-bottom: 2px solid #337ab7;
}

.event-header .event-company {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	order: 0;
}

.event-header .event-tag {
	color: #fff;
	font-size: 12px;
	line-height: 1.1em;
	padding: 4px 8px;
	min-width: 7em;
	text-align: center;
	border-radius: 3px;
}

.event-header .event-registration {
	background-color: #d9534f;
}

.event-header .event-some-registration {
	background-color: #f0ad4e;
}

.event-company .label-company {
	float: right;
	font-size: 12px;
	color: #aaaaaa;
}

.event-header .event-meta {
	text-align: center;
	order: 3;
}

.event-meta .event-term-list .event-term {
	display: inline-block;
}

.event-meta .event-term-list .event-term:nth-child(n + 3)::before {
	content: "、";
}

.event-child-heading h2 {
	padding: 15px 0px;
	margin-bottom: 10px;
	font-size: 26px;
	background-color: transparent;
	border: 0;
}

.event-galley-thumbnail {
	border: none;
	border-radius: unset;
}

.event-galley-thumbnail p {
	margin-bottom: 10px;
}

article.event img.aligncenter {
	display: block;
	margin: 0 auto;
}

#map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* sento table */

.sento-table {
	margin-bottom: var(--vk-margin-element-bottom);
} 

.sento-table td,
.sento-table th {
	padding: .5rem;
}

.sento-table th {
	background: var(--vk-color-primary-vivid);
	color: #fff;
}

.sento-table td:first-child {
	background: var(--vk-color-custom-3);
}

.sento-table td:nth-child(2),
.sento-table td:nth-child(3),
.sento-table td:nth-child(5) {
	white-space: nowrap;
}

@media (max-width: 782px) {
	.sento-table thead {
		display: none;
	}

	.sento-table tr {
		width: 100%;
	}

	.sento-table td {
		display: block;
		padding-right: 2.5%;
		padding-left: 30%;
		width: 100%;
	}

	.sento-table td:first-child {
		background: var(--vk-color-primary-vivid);
		color: #fff;
		font-weight: bold;
	}

	.sento-table td:before {
		content: attr(data-label);
		position: absolute;
		left: 2.5%;
		font-weight: bold;
		margin-right: 10px;
	}
}

/* tokuten */

body.post-type-archive-tokuten {
	background-color: #cbe0f2;
}

body.post-type-archive-tokuten .site-body-container {
	background: transparent;
}

.card.tokuten {
	background-color: #fff;
	border-radius: 5px 25px 5px 50px !important;
	transition: transform 0.1s linear, box-shadow 0.2s;
}

.card.tokuten .ribbon {  
	display: inline-block;
	position: absolute;
	top: -6px;
	left: 10px;
	margin: 0;
	padding: 10px 0;
	z-index: 2;
	width: 50px;
	text-align: center;
	color: white;
	font-size: 20px;
	background: linear-gradient(var(--vk-color-primary-vivid) 0%, var(--vk-color-primary-dark) 100%);
	border-radius: 2px 0 0 0;
}

.card.tokuten .ribbon:before {
	position: absolute;
	content: '';
	top: 0;
	right: -6px;
	border: none;
	border-bottom: solid 5px var(--vk-color-primary-dark);
	border-right: solid 5px transparent;
}

.card.tokuten .ribbon:after {
	content: '';
	position: absolute;
	left: 0;
	top: 100%;
	height: 0;
	width: 100%;
	border-left: 25px solid var(--vk-color-primary-dark);
	border-right: 25px solid var(--vk-color-primary-dark);
	border-bottom: 15px solid transparent;
}

.card.tokuten .ribbon i {
	margin: 0 !important;
}

.card.tokuten .card-title,
.card.tokuten .card-text {
	margin-left: 50px;
}

.card.tokuten .card-body {
	padding: 1.5rem 1.8rem 2rem !important;
}

/* gallery */

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.7rem;
}

.gallery br {
	display: none;
}

.gallery-item {
	position: relative;
	margin-top: 0;
}

.gallery-icon {
	margin-bottom: 0;
	height: 100%;
}

.gallery-icon img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 600px;
	object-fit: cover;
}

.event-child-group .gallery-icon img {
	max-height: 300px;
}

.gallery-caption {
	/*   position: absolute; */
	margin-top: 0.5rem;
	width: 100%;
	text-align: center;
	font-size: var(--vk-size-text-sm);
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-1 .gallery-icon {
	height: auto;
}

.gallery-columns-1 .gallery-icon img {
	object-fit: contain;
}

.gallery-columns-2 .gallery-item {
	width: calc(100% / 2 - 1rem);
}

.gallery-columns-3 .gallery-item {
	width: calc(100% / 3 - 1rem);
}

.gallery-columns-4 .gallery-item {
	width: calc(100% / 4 - 1rem);
}

.gallery-columns-5 .gallery-item {
	width: calc(100% / 5 - 1rem);
}

@media (max-width: 575.98px) {
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item {
		width: calc(100% / 2 - 1rem);
	}

	.gallery-columns-5 .gallery-item {
		width: calc(100% / 3 - 1rem);
	}
}
