:root {
  --yabane-sidebar-width: 200px;
}

body {
  background-image: url("../../images/notepaper.gif");
  background-repeat: repeat-y;
  background-position: center top;
  background-color: #f4f1e7;
}

body.yabane-view-mobile {
  min-width: 320px;
}

#site-header,
#site-header-container,
.site-header,
.site-header-container,
.yabane-utility-wrap,
.yabane-search button::before {
  content: "🔍";
  font-size: 1.05rem;
  line-height: 1;
}

.yabane-search button > span,
.yabane-search button .screen-reader-text {
  display: none;
}

.global-nav {
  position: static !important;
  transform: none !important;
}

.site-header {
  background: transparent;
  position: static !important;
  top: auto !important;
}

.site-header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  row-gap: 10px;
  padding-top: 10px;
  padding-bottom: 0;
}

.site-header-logo {
  width: 322px;
  margin: 0;
  align-self: center;
  flex: 0 0 322px;
}

.site-header-logo a {
  display: block;
  width: 322px;
  line-height: 1;
  background: none;
}

.site-header-logo a span {
  display: block;
  width: 322px;
  height: 42px;
  line-height: 1;
  overflow: hidden;
  text-indent: -9999px;
  background: url("../../images/common/site_id.png") no-repeat left center;
  background-size: contain;
}

.site-header-logo img {
  display: block;
  width: 322px;
  max-width: 100%;
  height: auto;
}

.page-header {
  width: min(930px, calc(100% - 36px));
  margin: 0 auto;
  background-color: var(--vk-color-primary);
}

.page-header .page-header-inner.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}


.yabane-utility-wrap {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 0;
  position: static !important;
}

.yabane-utility {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 0 2px;
}

.yabane-utility-menu {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yabane-utility-menu li {
  margin: 0;
}

.yabane-utility-menu a {
  color: #606060;
  font-size: 0.88rem;
  text-decoration: none;
}

.yabane-utility-menu a::before {
  content: "●";
  display: inline-block;
  margin-right: 6px;
  color: #b6b6b6;
  font-size: 0.62rem;
  vertical-align: middle;
}

.yabane-search {
  display: flex;
  gap: 0;
  align-items: center;
}

.yabane-search input {
  width: 210px;
  min-width: 210px;
  min-height: 24px;
  height: 24px;
  border: 1px solid #d0d0d0;
  padding: 2px 8px;
  background: #fff;
  line-height: 1.2;
}

.yabane-search button {
  border: 0;
  padding: 0 0 0 10px;
  background: transparent;
  color: #1b95dc;
  min-height: 24px;
  height: 24px;
  white-space: nowrap;
}

.global-nav {
  width: 100%;
  margin-top: 6px;
  border-radius: 4px;
  overflow: visible;
  background: linear-gradient(180deg, #59b9f2 0%, #2fa4e7 48%, #1b95dc 100%);
  border: 1px solid rgba(15, 114, 177, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(0, 88, 141, 0.14), 0 1px 3px rgba(0, 0, 0, 0.14);
  position: static !important;
}

.global-nav.yabane-global-nav-fixed {
  position: fixed !important;
  transform: none !important;
  z-index: 1000;
  margin-top: 0;
}

body.yabane-global-nav-active #site-header {
  padding-bottom: var(--yabane-global-nav-height, 48px);
}

.global-nav nav,
.global-nav-list {
  width: 100%;
}

.global-nav .nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: stretch;
  margin: 0;
  padding: 0;
}

.global-nav .menu-item {
  flex: 1 1 0;
  text-align: center;
  min-width: 0;
  position: relative;
}

.global-nav .menu-item + .menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(9, 101, 161, 0.26) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.global-nav-list > li > a {
  display: flex;
  color: #fff;
  font-weight: 500;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  padding: 0;
  background: linear-gradient(180deg, #59b9f2 0%, #2fa4e7 48%, #1b95dc 100%);
  text-shadow: 0 -1px 0 rgba(0, 72, 121, 0.25);
}

.global-nav-name {
  display: block;
  line-height: 1;
  padding: 0;
}

.global-nav-list > li.current-menu-item > a,
.global-nav-list > li.current_page_item > a,
.global-nav-list > li.current-menu-ancestor > a,
.global-nav-list > li.current-page-ancestor > a,
.global-nav-list > li.current_page_ancestor > a,
.global-nav-list > li.current-menu-parent > a,
.global-nav-list > li.current-page-parent > a,
.global-nav-list > li.current_page_parent > a,
.global-nav-list > li > a:hover {
  background: linear-gradient(180deg, #2398e4 0%, #137fd0 48%, #0a6ab8 100%);
}

.global-nav .menu-item-has-children {
  position: relative;
}

.global-nav-list > li.menu-item-has-children > ul.sub-menu {
  width: 190px !important;
  min-width: 190px !important;
  margin-top: -1px !important;
  margin-left: 0 !important;
  padding: 0 !important;
  top: 100% !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  border: 1px solid #d7d7d7 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  text-align: left !important;
  z-index: 1001 !important;
}

.global-nav .menu-item-has-children > .sub-menu > li {
  margin: 0 !important;
  border-bottom: 1px dotted #cfcfcf !important;
}

.global-nav .menu-item-has-children > .sub-menu > li:last-child {
  border-bottom: 0 !important;
}

.global-nav .menu-item-has-children > .sub-menu > li > a {
  display: block !important;
  position: relative !important;
  padding: 12px 16px 12px 24px !important;
  color: #555 !important;
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  background: transparent !important;
}

.global-nav .menu-item-has-children > .sub-menu > li > a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #5c8fcf;
  transform: translateY(-50%);
}

.global-nav .menu-item-has-children > .sub-menu > li > a:hover {
  background: rgba(240, 245, 251, 0.9) !important;
  color: #333 !important;
}

.home .site-body {
  padding-top: 0 !important;
}

.home .site-body-container,
.home .main-section,
.home .yabane-home-entry,
.home .yabane-home-entry .entry-body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home .yabane-hero {
  margin-top: 0;
}

.yabane-home-entry .entry-body {
  margin-top: 0;
}

.yabane-hero {
  margin-top: 0;
  margin-bottom: 20px;
}

.site-body-container {
  align-items: flex-start;
}

.main-section {
  min-width: 0;
}

.sub-section {
  width: var(--yabane-sidebar-width);
}

.page .main-section.main-section--col--two,
.single-club .main-section.main-section--col--two,
.yabane-news-page .main-section.main-section--col--two {
  width: calc(100% - var(--yabane-sidebar-width) - 24px);
  flex: 0 0 calc(100% - var(--yabane-sidebar-width) - 24px);
  max-width: calc(100% - var(--yabane-sidebar-width) - 24px);
  box-sizing: border-box;
}

.page .sub-section.sub-section--col--two,
.single-club .sub-section.sub-section--col--two,
.yabane-news-page .sub-section.sub-section--col--two {
  width: var(--yabane-sidebar-width);
  flex: 0 0 var(--yabane-sidebar-width);
  max-width: var(--yabane-sidebar-width);
  box-sizing: border-box;
}

.sub-section .widget {
  margin-bottom: 20px;
}

.yabane-home-entry .entry-body {
  background: transparent;
  padding: 0;
}

.yabane-hero {
  margin-bottom: 28px;
}

.yabane-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.yabane-home-section {
  padding: 0 28px 32px;
}

.yabane-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, calc(100% - var(--yabane-sidebar-width) - 24px)) var(--yabane-sidebar-width);
  gap: 24px;
  align-items: start;
}

.yabane-lead-main {
  min-width: 0;
}

.yabane-inline-sidebar {
  width: var(--yabane-sidebar-width);
  max-width: var(--yabane-sidebar-width);
  flex: 0 0 var(--yabane-sidebar-width) !important;
}

.yabane-lead-layout > .yabane-lead-main {
  min-width: 0;
}

.yabane-lead-layout > .yabane-inline-sidebar {
  justify-self: stretch;
}

.yabane-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.yabane-section-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1ba0eb;
  font-size: 1.45rem;
}

.yabane-date {
  margin: -4px 0 16px;
  text-align: right;
  color: #777;
  font-size: 0.92rem;
}

.yabane-note {
  text-align: center;
}

.yabane-photo-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.yabane-photo-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yabane-photo-card {
  margin: 0;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.yabane-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.yabane-photo-card figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.yabane-photo-card--single {
  max-width: 520px;
  margin: 18px auto 0;
}

.yabane-photo-card--single img {
  aspect-ratio: auto;
  height: auto;
}

.yabane-home-section a {
  color: #2f77c8;
}

.yabane-home-section p {
  line-height: 1.75;
}

.yabane-more-link {
  color: #1990d8;
  text-decoration: none;
  white-space: nowrap;
}

.yabane-more-link a {
  display: inline-block;
  padding: 7px 14px;
  background: #9a9a9a;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 3px;
}

.yabane-news-section .yabane-section-title {
  border-bottom: 0;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  padding-bottom: 0;
}

.yabane-news-section .yabane-section-head {
  margin-bottom: 8px;
}

.yabane-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yabane-news-item {
  display: grid;
  grid-template-columns: 108px 78px 1fr;
  gap: 8px;
  align-items: center;
  border-bottom: 1px dotted #b9b9b9;
  padding: 6px 0;
}

.yabane-news-item:first-child {
  border-top: 1px dotted #b9b9b9;
}

.yabane-news-item time {
  color: #666;
  font-size: 0.92rem;
}

.yabane-news-category {
  display: inline-block;
  padding: 3px 8px;
  background: #2d9ae1;
  color: #fff !important;
  text-align: center;
  font-size: 0.64rem;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.yabane-news-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yabane-news-item .yabane-news-title,
.yabane-news-item .yabane-news-title:visited,
.yabane-news-item .yabane-news-title:hover,
.yabane-news-item .yabane-news-title:focus {
  color: #111 !important;
  text-decoration: none;
}

.yabane-news-title:hover {
  text-decoration: underline;
}

.yabane-news-category--info,
.yabane-news-category--notice {
  background: #2d9ae1;
}

.yabane-news-category--sasuke {
  background: #6e86cf;
}

.yabane-news-category--activity,
.yabane-news-category--club {
  background: #41a85f;
}

.yabane-news-category--membership {
  background: #d98a3a;
}

.yabane-news-category--event {
  background: #c96a5b;
}

.yabane-news-category--uncategorized {
  background: #7f8ea3;
}

.yabane-news-new {
  margin-left: 8px;
  color: #d63b2b;
  font-size: 0.82rem;
  font-weight: 700;
}

.yabane-inline-sidebar .yabane-front-widget + .yabane-front-widget {
  margin-top: 14px;
}

.yabane-inline-sidebar .widget,
.yabane-inline-sidebar .yabane-front-widget {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.yabane-inline-sidebar .wp-block-button,
.yabane-inline-sidebar .widget .wp-block-button {
  width: 100%;
}

.yabane-news-page .site-body-container {
  align-items: flex-start;
}

.yabane-news-page .main-section {
  width: calc(100% - var(--yabane-sidebar-width) - 24px);
}

.yabane-news-archive .yabane-home-section {
  padding-top: 0;
}

.yabane-news-sidebar {
  width: var(--yabane-sidebar-width);
}

.yabane-news-accordion {
  background: transparent;
}

.yabane-news-accordion-summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  margin: 0 0 12px;
  padding: 0 0 8px 20px;
  border-bottom: 2px solid #1ba0eb;
  font-size: 1.05rem;
  font-weight: 700;
}

.yabane-news-accordion-summary::-webkit-details-marker {
  display: none;
}

.yabane-news-accordion-summary::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #555;
  font-size: 0.9rem;
}

.yabane-news-accordion[open] .yabane-news-accordion-summary::before {
  content: "▼";
}

.yabane-news-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yabane-news-category-list li {
  border-bottom: 1px dotted #c7c7c7;
}

.yabane-news-category-list a {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
}

.yabane-news-category-list .is-current a {
  color: #1990d8;
  font-weight: 700;
}

.yabane-news-page .page-numbers {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
}

.yabane-news-page .page-numbers li {
  margin: 0;
}

.yabane-news-page .page-numbers a,
.yabane-news-page .page-numbers span {
  display: inline-block;
  min-width: 34px;
  padding: 6px 10px;
  border: 1px solid #c9c9c9;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  text-align: center;
  text-decoration: none;
}

.yabane-news-page .page-numbers .current {
  background: #1990d8;
  border-color: #1990d8;
  color: #fff;
}

.yabane-post-side-menu .is-current a {
  color: #1990d8;
  font-weight: 700;
}

.yabane-side-widget {
  background: transparent;
  border: 0;
  padding: 0;
}

.yabane-side-widget--compact {
  padding: 14px;
}

.yabane-side-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yabane-side-menu li + li {
  border-top: 1px dotted #ccc;
}

.yabane-side-menu a {
  display: block;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
}

.yabane-rss-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.yabane-follow-image {
  margin: 0 0 12px;
}

.yabane-follow-image img {
  display: block;
  width: 100%;
  height: auto;
}

.yabane-facebook-box {
  background: transparent;
  border: 0;
  padding: 0;
}

.yabane-facebook-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.yabane-facebook-text {
  margin: 0 0 12px;
  color: #666;
  font-size: 0.92rem;
}

.yabane-comment-toggle {
  margin-top: 24px;
}

.yabane-comment-toggle summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding-left: 20px;
}

.yabane-comment-toggle summary::-webkit-details-marker {
  display: none;
}

.yabane-comment-toggle summary::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #555;
  font-size: 0.9rem;
}

.yabane-comment-toggle[open] summary::before {
  content: "▼";
}

.yabane-comment-form-wrap {
  margin-top: 16px;
}

.yabane-facebook-button {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 9px 14px;
  background: #1877f2;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
}

.yabane-facebook-button--secondary {
  background: #4267b2;
}

.yabane-view-switch {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.yabane-view-switch a {
  color: #2f77c8;
  text-decoration: none;
}

.site-footer-copyright a {
  color: inherit;
  text-decoration: underline;
}

.site-footer-copyright {
  text-align: right;
}

.site-footer .site-footer-copyright,
.site-footer .site-footer-copyright p {
  text-align: right !important;
}

.home .site-body-bottom,
.home .site-body-bottom .container,
.home .widget_archive,
.home .widget_categories,
.home .wp-block-archives,
.home .wp-block-categories {
  display: none !important;
}

.entry-meta,
.entry-meta-items,
.entry-meta-data-list,
.entry-meta-data-list dl,
.entry-meta-data-list dt,
.entry-meta-data-list dd,
.post-meta,
.postList_date,
.vk_post .meta-date,
.vk_post .meta-author,
.entry-footer {
  display: none !important;
}

.sub-section-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1ba0eb;
  font-size: 1.05rem;
}

.page .entry-body,
.single .entry-body {
  font-weight: 400;
}

.page .entry-body p,
.page .entry-body li,
.page .entry-body td,
.page .entry-body th,
.single .entry-body p,
.single .entry-body li,
.single .entry-body td,
.single .entry-body th {
  font-weight: 400;
}

.page .entry-body strong,
.page .entry-body b,
.single .entry-body strong,
.single .entry-body b {
  font-weight: 700;
}

.page .entry-body h2:not([class]),
.page .entry-body h3:not([class]),
.single .entry-body h2:not([class]),
.single .entry-body h3:not([class]) {
  font-size: 1.75rem;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .yabane-news-page .main-section,
  .yabane-news-sidebar {
    width: 100%;
  }

  .yabane-news-sidebar {
    margin-top: 24px;
  }

  body:not(.yabane-view-desktop) .yabane-utility-wrap {
    width: 100%;
    flex-basis: 100%;
  }

  body:not(.yabane-view-desktop) .yabane-utility {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
  }

  body:not(.yabane-view-desktop) .yabane-utility-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  body:not(.yabane-view-desktop) .site-header-logo {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 0;
  }

  body:not(.yabane-view-desktop) .site-header-logo a {
    width: min(322px, 100%);
    margin: 0 auto;
  }

  body:not(.yabane-view-desktop) .global-nav .nav {
    flex-wrap: wrap;
  }

  body:not(.yabane-view-desktop) .global-nav .menu-item {
    flex: 1 1 50%;
  }

  body:not(.yabane-view-desktop) .yabane-search input {
    min-width: 0;
    width: 100%;
  }

  body:not(.yabane-view-desktop) .yabane-news-item {
    grid-template-columns: 1fr;
  }

  body:not(.yabane-view-desktop) .yabane-photo-grid--two {
    grid-template-columns: 1fr;
  }

  body:not(.yabane-view-desktop) .yabane-lead-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .yabane-view-switch {
    display: flex;
  }
}

@media (max-width: 767px) {
  body:not(.yabane-view-desktop) .global-nav {
    display: none;
  }

  body:not(.yabane-view-desktop) .yabane-home-section {
    padding: 0 16px 24px;
  }

  body:not(.yabane-view-desktop) .yabane-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body:not(.yabane-view-desktop) .yabane-view-switch {
    justify-content: flex-start;
  }
}

.vk_posts.next-prev .vk_post_imgOuter_img {
  display: none !important;
}

.vk_posts.next-prev .vk_post_imgOuter {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  background-image: none !important;
  background-color: transparent !important;
}

.vk_posts.next-prev .card-img-overlay {
  position: static !important;
  padding: 0 !important;
}

.vk_posts.next-prev .vk_post_imgOuter_singleTermLabel {
  display: inline-block;
}

.vk_posts.next-prev .vk_post {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.vk_posts.next-prev .card-intext-inner {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
}

.vk_posts.next-prev .vk_post_body {
  display: none !important;
}

.vk_posts.next-prev .vk_post_date {
  display: none !important;
}


.yabane-history {
  margin-top: 24px;
}

.yabane-history-year {
  margin-bottom: 18px;
}

.yabane-history-year-title {
  margin: 0 0 8px;
  padding: 0;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.yabane-history-list {
  display: grid;
  gap: 2px;
}

.yabane-history-item {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.yabane-history-date {
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  padding-left: 22px;
}

.yabane-history-body {
  line-height: 1.5;
}

.page-id-132 .entry-body table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
  background: transparent;
}

.page-id-132 .entry-body table th,
.page-id-132 .entry-body table td {
  border: 0 !important;
  background: transparent;
  padding: 6px 10px;
  vertical-align: top;
}

.page-id-132 .entry-body table th:nth-child(1),
.page-id-132 .entry-body table td:nth-child(1),
.page-id-132 .entry-body table th:nth-child(2),
.page-id-132 .entry-body table td:nth-child(2),
.page-id-132 .entry-body table th:nth-child(3),
.page-id-132 .entry-body table td:nth-child(3),
.page-id-132 .entry-body table th:nth-child(5),
.page-id-132 .entry-body table td:nth-child(5) {
  white-space: nowrap;
}

.page-id-132 .entry-body table th:nth-child(1),
.page-id-132 .entry-body table td:nth-child(1) {
  width: 54px;
  text-align: center;
}

.page-id-132 .entry-body table th:nth-child(2),
.page-id-132 .entry-body table td:nth-child(2) {
  width: 74px;
}

.page-id-132 .entry-body table th:nth-child(3),
.page-id-132 .entry-body table td:nth-child(3) {
  width: 86px;
}

.page-id-132 .entry-body table th:nth-child(5),
.page-id-132 .entry-body table td:nth-child(5) {
  width: 96px;
}

.page-id-153 .entry-body table {
  width: 100%;
  margin: 0 0 28px;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
}

.page-id-153 .entry-body table th,
.page-id-153 .entry-body table td {
  border: 1px solid #d6d6d6;
  padding: 8px 12px;
  vertical-align: middle;
  background: transparent;
  line-height: 1.45;
}

.page-id-153 .entry-body table th {
  width: 106px;
  background: #efefef;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}

.page-id-153 .entry-body table td {
  text-align: center;
}

.page-id-153 .entry-body table td a {
  word-break: keep-all;
}



.page-id-14 .entry-body > p:first-of-type {
  display: block;
}

.page-id-14 .entry-body > p:first-of-type > img.alignleft {
  float: left;
  margin: 6px 24px 12px 0;
  width: 150px;
  height: auto;
}

@media (max-width: 767px) {
  .page-id-14 .entry-body > p:first-of-type > img.alignleft {
    float: none;
    display: block;
    margin: 0 auto 16px;
  }
}

@media (max-width: 767px) {
  .yabane-history-year {
    margin-bottom: 18px;
  }

  .yabane-history-year-title {
    font-size: 1.4rem;
  }

  .yabane-history-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .yabane-history-date {
    font-size: 1.3rem;
  }
}

.single-club .entry-header {
  margin-bottom: 18px;
}

.single-club .entry-title {
  display: inline-block;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #1ba0eb;
  line-height: 1.2;
}

.single-club .entry-body {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.single-club .entry-body > .yabane-club-single-meta {
  margin: 0 0 22px;
}

.single-club .entry-body > h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 1.75rem;
  line-height: 1.4;
}

.single-club .entry-body > h2::before {
  content: "";
  width: 4px;
  height: 1.05em;
  background: #1ba0eb;
  border-radius: 2px;
}

.single-club .entry-body > h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 400;
  color: #333;
}

.single-club .entry-body > h3 strong,
.single-club .entry-body > h3 b {
  font-weight: 700;
}

.yabane-club-page .entry-body > p:first-child {
  margin-top: 0;
}

.yabane-club-sections-wrap {
  margin-top: 24px;
}

.yabane-club-archive-title {
  margin: 0 0 18px;
  font-size: 1.75rem;
  line-height: 1.4;
}

.yabane-club-list,
.yabane-club-sidebar-top,
.yabane-club-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yabane-club-list {
  border-top: 1px dotted #b9b9b9;
}

.yabane-club-item {
  padding: 18px 0 24px;
  border-bottom: 1px dotted #b9b9b9;
}

.yabane-club-item-title {
  margin: 0 0 8px;
  padding: 0 0 0 12px;
  border-left: 5px solid #1ba0eb;
  font-size: 1.55rem;
  line-height: 1.1;
}

.yabane-club-link {
  color: #2b6fbe;
  text-decoration: none;
}

.yabane-club-link:hover,
.yabane-club-link:focus {
  color: #1b5e93;
  text-decoration: underline;
}

.yabane-club-thread {
  margin: 0 0 10px;
  color: #444;
  font-size: 0.98rem;
}

.yabane-club-summary {
  margin: 0 0 14px;
  color: #333;
  line-height: 1.8;
}

.yabane-club-meta-table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  border-collapse: collapse;
}

.yabane-club-meta-table th,
.yabane-club-meta-table td {
  padding: 6px 14px;
  border: 1px solid #d6d6d6;
}

.yabane-club-meta-table th {
  width: 33.333%;
  background: #f2f2f2;
  color: #333;
  font-weight: 700;
}

.yabane-club-meta-table td {
  background: transparent;
  color: #333;
}

.yabane-club-detail {
  margin: 0;
}

.yabane-club-detail a {
  color: #2b6fbe;
  text-decoration: underline;
}

.yabane-club-sidebar {
  width: 100%;
}

.yabane-club-sidebar-inner {
  padding-left: 0;
}

.yabane-club-sidebar-top,
.yabane-club-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yabane-club-sidebar-top {
  margin-bottom: 10px;
}

.yabane-club-sidebar-top li,
.yabane-club-sidebar-list li {
  border-bottom: 1px dotted #c7c7c7;
}

.yabane-club-sidebar-top a,
.yabane-club-sidebar-list a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  word-break: keep-all;
  line-break: strict;
}

.yabane-club-sidebar-top .is-current > a,
.yabane-club-sidebar-list .is-current > a,
.yabane-club-accordion.is-current > .yabane-club-accordion-summary a {
  color: #1b5e93;
  font-weight: 700;
}

.yabane-club-accordion {
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.yabane-club-accordion-summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 0 0 8px 18px;
  font-weight: 700;
}

.yabane-club-accordion-summary::-webkit-details-marker {
  display: none;
}

.yabane-club-accordion-summary::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: #555;
}

.yabane-club-accordion[open] .yabane-club-accordion-summary::before {
  content: '▼';
}

.yabane-club-accordion-summary a {
  color: #222;
  text-decoration: none;
  word-break: keep-all;
  line-break: strict;
}

.yabane-club-accordion-summary a:hover,
.yabane-club-accordion-summary a:focus {
  color: #1b5e93;
}

.yabane-club-sidebar-list {
  padding-bottom: 6px;
}

.yabane-club-sidebar-list a {
  padding-left: 18px;
  font-size: 0.95rem;
}

.single-club .main-section {
  width: calc(100% - var(--yabane-sidebar-width) - 24px);
  flex: 0 0 calc(100% - var(--yabane-sidebar-width) - 24px);
  max-width: calc(100% - var(--yabane-sidebar-width) - 24px);
  box-sizing: border-box;
}

.single-club .sub-section--col--two {
  width: var(--yabane-sidebar-width);
  flex: 0 0 var(--yabane-sidebar-width);
  max-width: var(--yabane-sidebar-width);
  box-sizing: border-box;
}

.page-template-page-club .sub-section--col--two > .yabane-club-sidebar,
.single-club .sub-section--col--two > .yabane-club-sidebar,
.yabane-news-sidebar {
  margin: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .page-template-page-club .main-section,
  .single-club .main-section,
  .yabane-club-sidebar {
    width: 100%;
  }

  .yabane-club-sidebar-inner {
    padding-left: 0;
    margin-top: 24px;
  }

}

/* Section header imagery */
.page-header .page-header-inner.container {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--vk-color-primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page-header .page-header-inner.container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 32, 56, 0.4);
  z-index: 0;
}

.page-header .page-header-title,
.page-header .page-header-sub-title,
.page-header .page-header-inner.container > * {
  position: relative;
  z-index: 1;
}

.page-header .page-header-title,
.page-header .page-header-sub-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.page-id-22 .page-header .page-header-inner.container,
.parent-pageid-22 .page-header .page-header-inner.container {
  background-image: url("../../images/top/main_image.png");
  background-position: center 38%;
}

.page-id-31 .page-header .page-header-inner.container,
.single-club .page-header .page-header-inner.container {
  background-image: url("../../../uploads/2019/11/19000603.451f49f9ace2a5479964efa14b552ff3.19112307.jpg");
  background-position: center 42%;
}

.page-id-20 .page-header .page-header-inner.container,
.parent-pageid-20 .page-header .page-header-inner.container {
  background-image: url("../../../uploads/2018/05/apple-touch-icon.png");
  background-position: 76% 44%;
  background-size: auto 180%;
}

.page-id-29 .page-header .page-header-inner.container,
.parent-pageid-29 .page-header .page-header-inner.container,
.page-id-136 .page-header .page-header-inner.container {
  background-image: url("../../images/yabane/platehouse.png");
  background-position: center 46%;
  background-size: cover;
}

@media (max-width: 767px) {
  .page-id-20 .page-header .page-header-inner.container,
  .parent-pageid-20 .page-header .page-header-inner.container {
    background-position: 72% 42%;
    background-size: auto 150%;
  }
}

/* Section header imagery override */
.page-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--vk-color-primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 32, 56, 0.32);
  z-index: 0;
}

.page-header .page-header-inner.container {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.page-id-22 .page-header,
.parent-pageid-22 .page-header {
  background-image:
    radial-gradient(circle at 16% 50%, rgba(255, 255, 255, 0.13) 0 5px, transparent 5px),
    radial-gradient(circle at 84% 50%, rgba(255, 255, 255, 0.13) 0 5px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #3598d8 0%, #2b79b2 100%);
  background-size: auto, auto, auto, auto, 100% 100%;
}

.page-id-31 .page-header,
.single-club .page-header {
  background-image:
    radial-gradient(circle at 14% 50%, rgba(255, 255, 255, 0.12) 0 34px, transparent 34px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0 22px, transparent 22px),
    radial-gradient(circle at 86% 50%, rgba(255, 255, 255, 0.12) 0 34px, transparent 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 190px),
    linear-gradient(180deg, #3598d8 0%, #2b79b2 100%);
}

.page-id-20 .page-header,
.parent-pageid-20 .page-header {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    url("../../../uploads/2018/05/apple-touch-icon.png"),
    linear-gradient(180deg, #3598d8 0%, #2b79b2 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, center;
  background-size: 100% 100%, auto 155%, 100% 100%;
}

.page-id-29 .page-header,
.parent-pageid-29 .page-header {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    url("../../../uploads/2018/05/plate.png"),
    linear-gradient(180deg, #3598d8 0%, #2b79b2 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, center;
  background-size: 100% 100%, auto 150%, 100% 100%;
}

@media (max-width: 767px) {
  .page-id-20 .page-header,
  .parent-pageid-20 .page-header,
  .page-id-29 .page-header,
  .parent-pageid-29 .page-header {
    background-size: 100% 100%, auto 110%, 100% 100%;
  }
}

/* 30years header artwork override */
.page-id-22 .page-header,
.parent-pageid-22 .page-header {
  background-image: url("../../images/headers/history-30years-theme.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.page-id-22 .page-header::before,
.parent-pageid-22 .page-header::before {
  background: rgba(8, 32, 56, 0.26) !important;
}

/* Remove legacy inner header stripe */
.page-header .page-header-inner.container::before {
  display: none !important;
}

/* Section header artwork overrides */
.page-id-31 .page-header,
.single-club .page-header {
  background-image: url("../../images/headers/club-theme.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.page-id-31 .page-header::before,
.single-club .page-header::before {
  background: rgba(8, 32, 56, 0.30) !important;
}

.page-id-20 .page-header,
.parent-pageid-20 .page-header {
  background-image: url("../../images/headers/moroyama-theme.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.page-id-20 .page-header::before,
.parent-pageid-20 .page-header::before {
  background: rgba(8, 32, 56, 0.28) !important;
}

.page-id-29 .page-header,
.parent-pageid-29 .page-header {
  background-image: url("../../images/headers/volunteer-theme.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.page-id-29 .page-header::before,
.parent-pageid-29 .page-header::before {
  background: rgba(8, 32, 56, 0.24) !important;
}

.page-id-136 .page-header {
  background-image: url("../../images/headers/news-theme.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.page-id-136 .page-header::before {
  background: rgba(8, 32, 56, 0.28) !important;
}

/* Match section header height to artwork aspect ratio */
.page-id-22 .page-header,
.parent-pageid-22 .page-header,
.page-id-31 .page-header,
.single-club .page-header,
.page-id-20 .page-header,
.parent-pageid-20 .page-header,
.page-id-29 .page-header,
.parent-pageid-29 .page-header,
.page-id-136 .page-header {
  aspect-ratio: 3 / 1;
  min-height: 0 !important;
}

.page-id-22 .page-header .page-header-inner.container,
.parent-pageid-22 .page-header .page-header-inner.container,
.page-id-31 .page-header .page-header-inner.container,
.single-club .page-header .page-header-inner.container,
.page-id-20 .page-header .page-header-inner.container,
.parent-pageid-20 .page-header .page-header-inner.container,
.page-id-29 .page-header .page-header-inner.container,
.parent-pageid-29 .page-header .page-header-inner.container,
.page-id-136 .page-header .page-header-inner.container {
  min-height: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  box-sizing: border-box;
}

.page-id-22 .page-header .page-header-title,
.parent-pageid-22 .page-header .page-header-title,
.page-id-31 .page-header .page-header-title,
.single-club .page-header .page-header-title,
.page-id-20 .page-header .page-header-title,
.parent-pageid-20 .page-header .page-header-title,
.page-id-29 .page-header .page-header-title,
.parent-pageid-29 .page-header .page-header-title,
.page-id-136 .page-header .page-header-title {
  margin: 0;
}

@media (max-width: 767px) {
  .page-id-22 .page-header,
  .parent-pageid-22 .page-header,
  .page-id-31 .page-header,
  .single-club .page-header,
  .page-id-20 .page-header,
  .parent-pageid-20 .page-header,
  .page-id-29 .page-header,
  .parent-pageid-29 .page-header,
  .page-id-136 .page-header {
    aspect-ratio: 16 / 7;
  }
}

/* Final notebook frame alignment */
:root {
  --yabane-note-width: 1280px;
  --yabane-content-width: min(1110px, calc(100vw - 120px));
}

body {
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-size: var(--yabane-note-width) auto !important;
}

body::after {
  display: none !important;
}

#site-header-container.site-header-container.container,
.global-nav,
.page-header {
  width: var(--yabane-content-width) !important;
  max-width: var(--yabane-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#site-header-container .global-nav {
  flex: 0 0 var(--yabane-content-width) !important;
}

/* Responsive notebook frame and synchronized band widths */
:root {
  --yabane-note-width: 100vw;
  --yabane-band-width: calc(100vw - 100px);
}

body {
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-size: 100vw auto !important;
}

#site-header-container.site-header-container.container,
.global-nav,
.page-header {
  width: var(--yabane-band-width) !important;
  max-width: var(--yabane-band-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#site-header-container .global-nav {
  flex: 0 0 var(--yabane-band-width) !important;
}

.page-header {
  width: var(--yabane-band-width) !important;
  max-width: var(--yabane-band-width) !important;
}

@media (max-width: 767px) {
  :root {
    --yabane-band-width: calc(100vw - 60px);
  }

  body {
    background-size: 100vw auto !important;
  }
}

/* Sync top hero, global nav, and section band widths */
:root {
  --yabane-band-width: min(930px, calc(100vw - 120px));
}

.global-nav,
.page-header,
.home .yabane-hero {
  width: var(--yabane-band-width) !important;
  max-width: var(--yabane-band-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#site-header-container .global-nav {
  flex: 0 0 var(--yabane-band-width) !important;
}

.home .yabane-hero img {
  width: 100%;
  display: block;
}

/* Final unified content frame */
:root {
  --yabane-frame-width: min(1110px, calc(100vw - 120px));
}

body {
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-size: 100vw auto !important;
}

.site-body-container.container,
#site-header-container.site-header-container.container,
.global-nav,
.page-header,
.home .yabane-hero {
  width: var(--yabane-frame-width) !important;
  max-width: var(--yabane-frame-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#site-header-container .global-nav {
  flex: 0 0 var(--yabane-frame-width) !important;
}

.home .yabane-hero img {
  width: 100%;
  display: block;
}

@media (max-width: 767px) {
  :root {
    --yabane-frame-width: calc(100vw - 60px);
  }
}

/* Match menu and image bands to the inner page frame (container minus side padding) */
:root {
  --yabane-inner-frame-width: calc(var(--yabane-frame-width) - 30px);
}

.global-nav,
.page-header,
.home .yabane-hero {
  width: var(--yabane-inner-frame-width) !important;
  max-width: var(--yabane-inner-frame-width) !important;
}

#site-header-container .global-nav {
  flex: 0 0 var(--yabane-inner-frame-width) !important;
}

/* Mobile single-column layout fix */
@media (max-width: 767px) {
  .site-body-container.container,
  #site-header-container.site-header-container.container,
  .global-nav,
  .page-header,
  .home .yabane-hero {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page .main-section.main-section--col--two,
  .single-club .main-section.main-section--col--two,
  .yabane-news-page .main-section.main-section--col--two,
  .single-club .main-section,
  .page-template-page-club .main-section {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .page .sub-section.sub-section--col--two,
  .single-club .sub-section.sub-section--col--two,
  .yabane-news-page .sub-section.sub-section--col--two,
  .sub-section,
  .yabane-news-sidebar,
  .yabane-club-sidebar,
  .yabane-inline-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 20px !important;
  }

  .sub-section .widget,
  .yabane-news-sidebar .widget,
  .yabane-club-sidebar .widget,
  .yabane-inline-sidebar .widget,
  .yabane-club-sidebar-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  .page .entry-body,
  .single .entry-body {
    font-size: 1rem !important;
    line-height: 1.9 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .page .entry-body p,
  .single .entry-body p,
  .page .entry-body li,
  .single .entry-body li {
    font-size: 1rem !important;
    line-height: 1.9 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}
