.site-header {
  position: relative;
  min-height: 86px;
  min-width: 0;
  height: auto;
  display: flex;
  align-items: center;
  padding: 12px 24px;
  overflow: visible;
  z-index: 1;
}

.site-header .site-header-inner {
  display: flex;
  width: min(100%, 1200px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: visible;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  color: #222;
}

.site-logo span {
  font-size: 11px;
  font-weight: 700;
}

.site-logo img {
  width: 160px;
  height: auto;
}

.site-header .site-nav,
.site-header .site-nav ul {
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
  float: none;
  overflow: visible;
}

.site-header .site-nav {
  gap: 12px;
}

.site-header .site-nav li {
  float: none;
}

.site-header .site-nav li a {
  padding-inline: 10px;
  white-space: nowrap;
}

.site-contact {
  display: inline-block;
  padding: 10px 18px;
  background: #ac3e47;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.site-contact:hover,
.site-contact:focus-visible {
  color: #fff;
  background: #8d3038;
}

.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 200;
  padding: 8px 14px;
  color: #123565;
  background: white;
}

:focus-visible {
  outline: 3px solid #0654a6;
  outline-offset: 3px;
}

.mobile-menu {
  display: none;
}

main img {
  max-width: 100%;
  height: auto;
}

.topservice,
.contents_area,
.txt_area,
.footerlink,
.footerlink ul,
#breadcrumb > ul,
.copyright {
  max-width: 100%;
}

/* Let the content set the box height while retaining the overlap with the heading. */
.base_bk.parentBox {
  display: flow-root;
}

.parentBox > .contents_area {
  position: static;
  margin-top: -100px;
}

.parentBox > .topservice {
  margin-top: -50px;
}

h2.title_bk {
  background-color: #17375f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

h2.title-bk-company {
  background-image: url("../images/media/2019/03/company_bk-1.jpg");
}

h2.title-bk-development {
  background-image: url("../images/media/2019/04/development_bk.jpg");
}

h2.title-bk-recruit {
  background-image: url("../images/media/2019/03/recruit_bk.jpg");
}

h2.title-bk-service {
  background-image: url("../images/media/2019/03/service_bk.jpg");
}

h2.title-bk-treasurer {
  background-image: url("../images/media/2019/04/treasurer_bk.jpg");
}

.wp-block-columns {
  display: flex;
  gap: 1.5rem;
}

.wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}

.notice-page {
  width: min(100%, 48rem);
  margin-inline: auto;
  padding: clamp(32px, 8vw, 96px) 24px;
}

.notice-page p {
  margin-block: 1em;
  line-height: 1.8;
}

.notice-page a {
  color: #04409b;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.mail-link {
  font-size: 1.25rem;
  font-weight: 700;
}

.map-link {
  display: inline-block;
  margin-block: 16px;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .site-header {
    min-height: 76px;
    padding-inline: 16px;
  }

  .site-header .site-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    flex: 0 0 auto;
  }

  .mobile-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 22px;
    height: 2px;
    background: #242424;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-icon::before {
    top: -7px;
  }

  .menu-icon::after {
    top: 7px;
  }

  .mobile-menu[open] .menu-icon {
    background: transparent;
  }

  .mobile-menu[open] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .mobile-menu[open] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-header .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 12px 20px 20px;
    max-height: calc(100dvh - 76px);
    overflow: auto;
    background: white;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }

  .site-header .mobile-nav ul {
    margin: 0 0 16px;
    float: none;
  }

  .site-header .mobile-nav li {
    float: none;
    border-bottom: 1px solid #eee;
  }

  .site-header .mobile-nav li a {
    padding: 12px 0;
    font-size: 16px;
  }
}

@media (max-width: 780px) {
  .wp-block-columns {
    flex-direction: column;
  }
}
