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


/* Common Style */

.fs80 {
  font-size: 80% !important;
}

.fs90 {
  font-size: 90% !important;
}

.fs100 {
  font-size: 100% !important;
}

.fs110 {
  font-size: 110% !important;
}

.fs120 {
  font-size: 120% !important;
}

.fs130 {
  font-size: 130% !important;
}


/* Customize Style */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: Lato,"Noto Sans JP","ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

.site-header-container {
  max-width: 100%;
  width: 100%;
}

.wp-block-latest-posts li > a {
  font-weight: 700;
}

.wp-block-latest-posts__post-excerpt {
  overflow: hidden;
}

.entry-body img.alignleft {
  float: left;
  margin-bottom: .5em;
  margin-right: 1em;
}

.entry-body img.alignright {
  float: left;
  margin-bottom: .5em;
  margin-left: 1em;
}

.entry-body h1 a,
.entry-body h2 a,
.entry-body h3 a,
.entry-body h4 a,
.entry-body h5 a,
.entry-body h6 a,
.entry-body p a,
.entry-body .wp-block-file a:not(.wp-block-file__button),
.entry-body .wp-block-table table a {
  color: #0066CC;
}

.entry-body h1 a:hover,
.entry-body h2 a:hover,
.entry-body h3 a:hover,
.entry-body h4 a:hover,
.entry-body h5 a:hover,
.entry-body h6 a:hover,
.entry-body p a:hover,
.entry-body .wp-block-file a:not(.wp-block-file__button):hover,
.entry-body .wp-block-table table a:hover {
  color: var(--wp--preset--color--vk-color-primary);
}

.entry-body::after {
  content: "";
  display: block;
  clear: both;
}

.entry-footer {
  margin-top: 2rem;
}

.entry-meta-data-list dd a {
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .wp-block-latest-posts__featured-image img {
    max-width: 120px !important;
  }
}


/* CONTACT */

.contact-form {
  background-color: #f2f2f2;
  padding: min(5vw,50px);
}

.contact-form-list dd {
  margin-bottom: 2em;
}

.contact-form-submit {
  text-align: center;
}

.icon-required {
  background-color: #d1272d;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: .9em;
  line-height: 1.25;
  margin-left: 1.25em;
  padding: 2px 4px 3px;
}

.wpcf7-turnstile {
  margin: 2em auto;
  text-align: center;
}

.wpcf7-spinner {
  display: block;
  margin: auto;
}


/* Archive (Common) */

.vk_post_title_new {
  border: 1px solid #d1272d;
  color: #d1272d;
  display: inline-block;
  font-size: .6em;
  line-height: 1.25;
  margin-left: .75em;
  padding: 0 .25em;
  vertical-align: .2em;
}

.vk_post_taxonomy_terms {
  font-size: 120%;
  margin-top: 0;
}


/* INFO (Archive) */

.info-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1.5em;
}

.info-sort-select {
  margin-bottom: 0;
  padding: .5em 2.5em .5em 1em;
  width: auto;
}

.info-sort-select,
.info-sort-select option {
  font-family: inherit;
}

.icon-info-end {
  background-color: #d1272d;
  color: #fff;
  display: inline-block;
  font-size: .8em;
  margin-bottom: .5em;
  padding: .1em .5em;
  vertical-align: 1px;
}

.info-dates {
  margin: 0 0 .4rem;
}

.info-enddate {
  display: flex;
  column-gap: 10px;
  margin: 0;
  font-size: var(--vk-font-size-xs);
}

.info-enddate-name {
  background-color: rgba(0,0,0,.05);
  border: 1px solid var(--vk-color-border-hr,#e5e5e5);
  display: block;
  font-weight: 700;
  margin-bottom: 0;
  min-width: 8em;
  text-align: center;
}

.info-enddate-date {
  font-size: 120%;
}


/* INFO (Post) */

.post-info-beginning {
  display: flex;
  align-items: center;
  column-gap: 1em;
  margin-top: 1em;
}

.single-info .icon-info-end {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
  padding: .2em 1em .25em;
}

.single-info .info-dates {
  margin-bottom: 0;
}

.single-info .info-enddate {
  font-size: .9rem;
}

.single-info .info-enddate-date {
  font-size: 110%;
}


/* ORGANIZATION (Archive) */

.vk_post-postType-organization {
  border-top: 0 !important;
  border-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.vk_post-postType-organization .vk_post_title {
  font-size: 1.3em !important;
  padding-right: 70px;
}

.vk_post-postType-organization .vk_post_title a {
  color: var(--wp--preset--color--vk-color-primary);
  transition: ease-in-out .15s;
}

.vk_post-postType-organization .vk_post_title a:hover {
  opacity: .8;
}

.vk_post-postType-organization .vk_post_taxonomies {
  display: flex;
  column-gap: 2em;
  flex-wrap: wrap;
  margin-bottom: .5em;
}

.archive-organization-overview {
  font-size: .9em;
  margin-bottom: 0;
}

.vk_post.vk_post-postType-organization.vk_post-btn-display .vk_post_btnOuter {
  top: 0;
  bottom: auto;
  right: 0;
  width: auto;
}


/* ORGANIZATION (Search) */

body.search:not(.post-type-archive-organization) .sub-section .search-wrapper,
body.search:not(.post-type-archive-organization) .sub-section #wp_widget_vk_taxonomy_list-6,
body.search:not(.post-type-archive-organization) .sub-section #wp_widget_vk_taxonomy_list-7 {
  display: none;
}

.search-wrapper {
  background-color: #f2f8f5;
  padding: 25px;
}

.search-lead {
  font-size: .8em;
  margin-bottom: 1em;
}

.search-section {
  margin-bottom: 20px;
}

.search-section-title {
  font-size: 1rem;
}

.search-container {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  padding: 0 .5em;
}

.search-container label {
  font-size: .9em;
}

.search-btns {
  margin-top: 1.5em;
  text-align: center;
}

.btn-search-submit {
  width: 100%;
}

.btn-search-submit svg {
  vertical-align: -2px;
}

.search-criteria {
  background-color: #f2f8f5;
  margin-bottom: 45px;
  padding: 30px;
}

.search-criteria-title {
  font-weight: 700;
  margin-bottom: .5em !important;
}

.search-criteria-text {
  font-size: .9em;
  margin-bottom: 0 !important;
}

.search-criteria-back {
  font-size: .9em;
  margin-top: 1em;
  margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
  .search-criteria {
    padding: 15px;
  }
}


/* ORGANIZATION (Post) */

.post-organization-pdf {
  margin: 2em 0;
}

.post-organization-pdf object {
  aspect-ratio: 210 / 297;
  height: auto;
  width: 100%;
}


/* LOOP POSTS (Shortcode Include) */

.custom-loop {
  margin: 1.5em 0;
}

.custom-loop-list {
  list-style: none;
  padding-left: 0;
}

.custom-loop-list-item {
  border-bottom: 1px solid #0000000f;
  padding: 1.5em 0;
}

.custom-loop-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: .75em;
}

.custom-loop-post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
}

.custom-loop-post-term {
  background-color: var(--wp--preset--color--vk-color-primary);
  border: 1px solid  var(--wp--preset--color--vk-color-primary);
  border-radius: 100vh;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  padding: 1px 12px 2px;
  text-decoration: none;
}

.custom-loop-post-term:hover {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--vk-color-primary);
}

.custom-loop-post-beginning {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5em 1em;
}

.custom-loop-post-beginning .info-dates {
  margin-bottom: 0;
}

.custom-loop-post-beginning .icon-info-end {
  margin-bottom: 0;
}

.custom-loop-post-date {
  color: var(--vk-color-text-light);
  font-size: var(--vk-size-text-sm);
}

.custom-loop-post-title {
  color: #333;
  font-weight: 700;
  text-decoration: none;
}

.custom-loop-post-title:hover {
  color: var(--wp--preset--color--vk-color-primary);
}


