/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
@charset "utf-8";

/* header */
.page-header {
	margin-top: 84px;
	min-height: 18em;
	background-size: cover;
	background-position-y: bottom;
}
.page-header .page-header-title {
  font-size: min(3rem,8vw);
  font-weight: 600;
  text-align: center;
  color: #fff;
  filter: drop-shadow(1px 1px 6px #000000e3);
}
.page-header .page-header-subtext{
  font-size: min(2.5rem,5.5vw);
  font-weight: 600;
  filter: drop-shadow(1px 1px 6px #000000e3);
}
/* breadcrumb */
.breadcrumb{
	border: none;
}
.breadcrumb-list {
	text-align: left;
	font-size: .875rem;
	padding: 2.5em 0;
}
.breadcrumb-list li:after {
  content: "\003E";
}
.breadcrumb-list li a {
  text-decoration: none;
}
.breadcrumb-list li a .fas {
  display: none;
}
.breadcrumbs ul {
  padding-left: 0;
}
@media screen and (max-width:767px) {
	.breadcrumb-list {
		padding: 1em 0;
	}
}


/* content */
.site-body{
	text-align: left;
	padding-bottom: 0;
}
.container {
	max-width: 1100px;
	--main-color: #1684b7;
}
:where(:not(.wp-block-table))>table :is(thead, tbody, tfoot, th, td) {
  border-color: transparent;
}
.entry-body h2,
.section-wrap h2,
.archive-header-title{
	position: relative;
	z-index: 0;
	text-align: left;
	font-size: 1.75rem;
	font-weight: bold;
	padding-bottom: .25em;
	margin-bottom: 1em;
	color: #1684b7;
	border-bottom: 2px solid #1684b7;
}
.entry-body h3 {
	font-size: 1.75rem;
	font-weight: bold;
	margin-bottom: 1em;
	padding: 0.1em 0.5em;
	background: #1684b721;
	border-radius: 5px;
}
.entry-body h4 {
	font-size: 1.5rem;
	color: var(--main-color);
	border-bottom: 1px solid #bbbbbb;
	font-weight: bold;
	padding-bottom: 0.25em;
	margin-bottom: 0.75em;
	margin-top: 1em;
}
.entry-body h5 {
	font-size: 1.25rem;
	font-weight: 600;
}
.entry-body h6 {
	font-size: 1.125rem;
	font-weight: bold;
	color: var(--main-color);
}
#vk-mobile-nav-menu-btn {
  display: none;
}
.entry-body ul li {
  list-style-type: disc;
}
.entry-body a {
  color: #0368be;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}
.entry-body a:hover {
  text-decoration: none;
}
.entry-body a:focus {
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  outline: none;
}
.entry-title{
	position: relative;
	z-index: 0;
	text-align: left;
	font-size: 1.875rem;
	font-weight: bold;
	padding-bottom: .25em;
	margin-bottom: 1em;
	border-bottom: 2px solid #f8b62b;
}
.widget_block .wp-block-heading{
	font-weight:600;
	font-size:1.25rem;
	padding-bottom: 0.5em;
	margin-bottom: 0.5em !important;
	border-bottom: 1px solid #1684b7;
}
.vk_archive-list{
	padding-left: 0 !important;
}
.sub-section .localNavi .cat-item a{
	font-weight: 500;
	color: unset;
	transition: background 0.3s;
}
@media (any-hover: hover) {
	.sub-section .localNavi .cat-item a:hover{
		background: #eee;
	}
}
.has-fixed-layout th,
.has-fixed-layout td {
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  font-size: 1rem;
}
.has-fixed-layout th {
  font-weight: bold;
}
.wp-block-vk-blocks-button .vk_button_link:not(.vk_button_link-type-text) {
	display:flex;
	width: fit-content;
	max-width: 300px;
	min-width: 230px;
	border: solid 2px #28a7e1;
	color: #FFF;
	background: #28a7e1 !important;
	font-size: 1rem;
	font-weight: 500;
	padding: 10px 2em;
	min-height: 58px;
	align-items:center;
	justify-content:center;
	position:relative;
	z-index: 0;
	text-decoration:none;
	border-radius: 3em;
	margin: 1em 0 2em;
	transition: filter 0.3s , transform 0.3s;
	filter: drop-shadow(6px 6px 0px rgba(0, 0, 0, 0.1));
}
.wp-block-vk-blocks-button .vk_button_link:not(.vk_button_link-type-text)::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 10;
	inset: 0 25px 0 auto;
	margin:auto;
	background-image: url(assets/img/common/icon_arrow.svg);
	background-size: contain;
	width: 16px;
	height: 16px;
}
@media (any-hover: hover) {
  .wp-block-vk-blocks-button .vk_button_link:not(.vk_button_link-type-text):hover {
		filter: none;
		transform: translateY(3px) translateX(3px);
		opacity: 1;
		box-shadow: none;
		}
}
.wp-block-vk-blocks-button.vk_button-align-block .vk_button_link,
.wp-block-vk-blocks-button.vk_button-align-wide .vk_button_link {
  max-width: 100%;
}
@media screen and (max-width: 1124px) {
  .page-header {
    margin-top: 0px;
  }
}
@media screen and (max-width: 767px) {
	.page-header {
		min-height: 12em;
		margin-top: 0;
	}
	.page-header .page-header-title {
		font-size: 1.7rem;
	}
	.entry-body h2,
	.section-wrap h2,
	.archive-header-title {
	  font-size: 1.6rem;
	}
	.entry-body h3 {
		font-size: 1.45rem !important;
	}
	.entry-body h4 {
		font-size: 1.35rem;
	}
	.entry-body h5 {
		font-size: 1.25rem;
	}
	.entry-body h6 {
		font-size: 1.125rem;
	}
	table.has-fixed-layout,
	.has-fixed-layout tbody {
		border: none;
	}
	.has-fixed-layout th,
	.has-fixed-layout td {
		font-size: 1rem;
	}
	.has-fixed-layout.is-stacked-on-mobile tr:not(:first-of-type) th,
	.has-fixed-layout.is-stacked-on-mobile td {
		border-top-color: #fff;
	}
	.has-fixed-layout.is-stacked-on-mobile th,
	.has-fixed-layout.is-stacked-on-mobile td {
		padding: 0.75em 1em !important;
	}
	.has-fixed-layout th {
		font-weight: bold;
	}
	.wp-block-button {
		width: 100%;
	}
	 .wp-block-vk-blocks-button{
		 text-align: center;
	 }
  .wp-block-vk-blocks-button .vk_button_link:not(.vk_button_link-type-text) {
	max-width: 100%;
	width: auto;
	min-height: 3.5em;
	min-width: auto;
	margin-inline: auto;
	margin-bottom: 0;
	}
  .wp-block-vk-blocks-button.vk_button-align-wide .vk_button_link {
    width: 100%;
  }
  .wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link {
    max-width: 100%;
  }
  .wp-block-button .wp-block-button__link:hover {
    transform: none;
  }
  .wp-block-vk-blocks-button .vk_button_link::after {
    width: 6px;
    height: 6px;
    border-width: 2px;
    right: 14px;
  }
}
.entry-body a img {
  transition: opacity .4s;
}
@media (any-hover: hover) {
  .entry-body a:hover img {
    opacity: 0.6;
  }
}
body.post-name-corporate .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
body.post-name-corporate .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
  border-color: #e9e9e9;
}



/* news
-------------------------------------------------------------------*/
.post-type-news .site-body{
	margin-bottom: 10em;
}
.post-type-news .widget-title{
	font-size : 1.5rem;
	font-weight: 500;
	display: block;
	margin-bottom: 0.5rem !important;
}
.post-type-news .sub-section aside{
	margin-bottom: 0;	
}
ul.localNavi{
  padding-left: 0;
}
ul.localNavi li{
  border-bottom: 1px solid #0064ba;
  list-style: none;
  margin-bottom: 0.5em;
}
ul.localNavi li a{
	display: block;
  font-size: 1rem;
  color: unset;
  padding: 0.5em 0 0.5em;
  border: none;
text-decoration: none;
}
@media (any-hover: hover){
  ul.localNavi li a:hover{
	  opacity: 0.7;
	  background: unset;
  }
}
@media screen and (max-width:767px) {
	.post-type-news .site-body{
		margin-bottom: 6em;
	}
}

/* works
-------------------------------------------------------------------*/
.post-type-works .site-body{
	margin-bottom: 10em;
}
.post-type-works .widget{
	margin-bottom: 0.5em;
}
