/* Overrides for styles that came from per-page CSS not preserved in the archive. */
.sow-slider-base { display: block; }
.sow-accordion-panel-header { cursor: pointer; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto;
  height: auto;
  width: auto;
  display: block;
  padding: 12px 20px;
  background: #f1f1f1;
  z-index: 100000;
  left: 5px;
  top: 5px;
}

/* SiteOrigin widget styles not preserved in the archive */
.sow-headline-container .sow-headline {
  margin: 0 0 0.4em;
  line-height: 1.4;
}
.sow-headline-container .sow-sub-headline {
  margin: 0.4em 0 1em;
  line-height: 1.6;
}
.sow-slider-images {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.sow-slider-image img,
.sow-image-container img,
.wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
}
.sow-image-container {
  display: flex;
  justify-content: center;
}
.ow-button-base {
  margin: 0 0 12px;
}
.ow-button-base a.sowb-button {
  display: block;
  padding: 1em 1.5em;
  border: 2px solid #0d2c8c;
  border-radius: 0;
  color: #0d2c8c;
  background: transparent;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.ow-button-base a.sowb-button:hover {
  background: #0d2c8c;
  color: #fff;
}
.sow-accordion-panel {
  margin-bottom: 8px;
}
.sow-accordion-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #0d2c8c;
  color: #fff;
  font-weight: bold;
}
.sow-accordion-panel-content .sow-accordion-panel-border {
  padding: 16px 20px;
  border: 1px solid #d5d9e6;
  border-top: 0;
}
.sow-features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.sow-features-feature {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid #d5d9e6;
  background: #fff;
  box-sizing: border-box;
}
.sow-features-feature h6 {
  margin: 12px 0 4px;
  font-size: 1rem;
}
.sow-features-feature a {
  box-shadow: none;
  font-size: 1.4rem;
  font-weight: bold;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#overlay-input {
  display: none;
}
@media screen and (max-width: 970px) {
  #overlay-button {
    top: 24px;
    z-index: 1001;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
  }
  #overlay {
    z-index: 1000;
  }
}

html,
body {
  overflow-x: hidden;
}

.img-missing-link {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ccc;
  font-weight: bold;
}

/* 上部メニューは6個（賃貸を外した）。元テーマの 14% は7個用 */
#menubar ul li { width: calc(98% / 6); }
