/*
Theme Name: colibri-wp-child
Template: colibri-wp
*/

/* root */
:root {
  --style--color-fff: #fff;
  --style--color-eee: #eee;
  --style--color-ccc: #ccc;
  --style--color-999: #999;
  --style--color-666: #666;
  --style--color-333: #333;
  --style--color-000: #000;
}

/* font */
body, body *, #content, .entry-content, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .widget-area, .widget, .sidebar, #sidebar, footer, .footer, #footer, .site-footer {
  font-family: 'Noto Serif JP',"Helvetica Neue","Helvetica","Arial","Hiragino Sans","Hiragino Kaku Gothic ProN","Arial","Yu Gothic","Meiryo",sans-serif !important;
  letter-spacing: 0.1em;
}

/* header */
#colibri #navigation {
  background: var(--style--color-eee);
}
#colibri .style-250 > div > .colibri-menu-container > ul.colibri-menu li > ul {
  margin: 0;
}
.h-menu-horizontal > div > .colibri-menu-container > .colibri-menu > li:nth-child(n+3) > ul {
  left: -100%;
}

/* offscreen */
.has-offcanvas-mobile .h-hamburger-button {
  text-align: center;
}
.offscreen-header, .offscreen-footer {
  display: none;
}
.h-menu-accordion > div > .colibri-menu-container > ul.colibri-menu li a > .arrow-wrapper > svg {
  color: var(--style--color-fff);
}
.h-dropdown-menu > div > .colibri-menu-container > ul.colibri-menu li.hover > ul,
.h-dropdown-menu > div > .colibri-menu-container > ul.colibri-menu li:hover > ul,
.h-dropdown-menu > div > .colibri-menu-container > ul.colibri-menu li > a:focus + ul {

}

/* footer */
#customFooter {
  background: var(--style--color-eee);
  font-size: 87.5%;
  text-align: left;
  color: var(--style--color-000);
}
#customFooter .customFooterWrapper {
  display: flex;
}
#customFooter ul {
  list-style-type: none;
}
#customFooter .companyInfo {
  width: 340px;
  padding: 0 10px;
}
#customFooter .companyInfo .image {
  max-width: 260px;
  margin: 0 0 1em;
}
#customFooter .menu-footer-menu-container {
  flex: 1;
  padding: 0 0 0 4%;
}
#customFooter #menu-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}
#customFooter #menu-footer-menu > li {
  width: calc((100% - 3em) / 3);
}
#customFooter #menu-footer-menu > li:nth-child(4) {
  display: none;
}
#customFooter #menu-footer-menu a {
  position: relative;
  color: var(--style--color-000);
}
#customFooter #menu-footer-menu a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: var(--style--color-000);
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}
#customFooter #menu-footer-menu a:hover::after {
  transform: scale(1, 1);
}
#customFooter #menu-footer-menu a svg {
  display: none;
}
#customFooter #menu-footer-menu > li > a {
  font-size: 114.28571429%;
  font-weight: 700;
}
#customFooter #menu-footer-menu .sub-menu {
  border-left: 1px solid var(--style--color-ccc);
  margin: 0.75em 0 0 0.5em;
  padding: 0 0 0 0.75em;
}
#customFooter #menu-footer-menu .sub-menu li:not(:last-child) {
  margin: 0 0 0.5em;
}
#customFooter .copyrightArea {
  background: var(--style--color-000);
  color: var(--style--color-fff);
  text-align: center;
  padding: 2em 1em;
}
@media (max-width: 1023px) {
  #customFooter .customFooterWrapper {
    flex-direction: column;
  }
  #customFooter .menu-footer-menu-container {
    padding: 0 10px;
  }
  #customFooter .companyInfo {
    width: 100%;
    margin: 0 0 60px;
  }
  #customFooter .companyInfo .image {
    width: 270px;
    padding: 0 30px 0 0;
  }
  #customFooter ul {
    display: flex;
    flex-wrap: wrap;
  }
  #customFooter ul li:first-child {
    width: 100%;
  }
  #customFooter #menu-footer-menu {
    padding: 0;
  }
}
@media (max-width: 640px) {
  #customFooter .customFooterWrapper {
    max-width: 100%;
  }
  #customFooter .h-section-global-spacing {
    padding: 30px 0 0;
  }
  #customFooter .companyInfo {
    margin: 0 0 30px;
  }
  #customFooter .menu-footer-menu-container {
    padding: 0;
  }
  #customFooter #menu-footer-menu {
    flex-direction: column;
    gap: 0;
  }
  #customFooter #menu-footer-menu > li {
    width: 100%;
  }
  #customFooter #menu-footer-menu > li:nth-child(4) {
    display: block;
  }
  #customFooter #menu-footer-menu > li > a {
    display: block;
    font-size: 100%;
    font-weight: 400;
    border-top: 1px solid var(--style--color-999);
    padding: 15px 10px;
  }
  #customFooter #menu-footer-menu > li > a:before {
    font-family: "Font Awesome 6 Free";
    content:'\f105';
    font-weight: 700;
    padding: 0 0.5em 0 0;
  }
  #customFooter #menu-footer-menu .sub-menu {
    display: none;
  }
}

/* archives */
.content.colibri-main-content-single .main-section,
.content.colibri-main-content-archive .main-section {
  background: none;
  padding: 150px 0 60px;
}
.content.colibri-main-content-single .main-section .main-section-inner,
.content.colibri-main-content-archive .main-section .main-section-inner {
  margin: 0 auto;
}
.content.colibri-main-content-single .main-section .main-row,
.content.colibri-main-content-archive .main-section .main-row {
  background: none;
  box-shadow: none;
  border: none;
}
.ayg-player-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--style--color-000);
}
.ayg-thumbnail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--style--color-333);
}
.ayg-thumbnail-excerpt {
  font-size: 1rem;
  font-weight: 400;
  color: var(--style--color-999);  
}
@media (max-width: 1023px) {
  .ayg-player-title {
    font-size: 1.75rem;
  }
}
@media (max-width: 767px) {
  .content.colibri-main-content-single .main-section,
  .content.colibri-main-content-archive .main-section {
    background: none;
    padding: 90px 0 45px;
  }
  .ayg-player-title {
    font-size: 1.5rem;
  }
  .ayg-thumbnail-title {
    font-size: 1.125rem;
  }
  .ayg-thumbnail-excerpt {
    font-size: 0.875rem;
  }
}
