/* Generic WordPress pages only. The two landing pages load their adopted CSS instead. */
.ecoriver-standard-page,
.ecoriver-standard-page * {
  box-sizing: border-box;
}

.ecoriver-standard-page {
  margin: 0;
  color: #17222c;
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}

.ecoriver-standard-page a {
  color: #123f6b;
}

.wp-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.wp-skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-180%);
}

.wp-skip-link:focus {
  transform: translateY(0);
}

.wp-site-header {
  border-bottom: 1px solid #d9e0e5;
  background: #fff;
}

.wp-header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
}

.wp-brand img {
  display: block;
  width: auto;
  height: 58px;
}

.wp-primary-nav {
  margin-left: auto;
}

.wp-menu,
.wp-menu-fallback {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-menu a,
.wp-menu-fallback a {
  color: #17222c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.wp-header-contact,
.wp-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #123f6b;
  color: #fff !important;
  background: #123f6b;
  font-weight: 700;
  text-decoration: none;
}

.wp-page-hero {
  padding: 64px 0;
  border-bottom: 1px solid #d9e0e5;
  background: #f3f7f9;
}

.wp-page-hero h1 {
  margin: 0;
  color: #123f6b;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.35;
}

.wp-eyebrow,
.wp-post-date {
  color: #5b6b77;
  font-size: 13px;
  font-weight: 700;
}

.wp-entry-content,
.wp-listing-section {
  padding-block: 56px;
}

.wp-entry-content > * {
  max-width: 820px;
  margin-inline: auto;
}

.wp-featured-image {
  padding-top: 40px;
}

.wp-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.wp-post-card {
  padding: 24px;
  border: 1px solid #d9e0e5;
}

.wp-post-card h2 {
  margin: 6px 0 10px;
  color: #123f6b;
  font-size: 22px;
  line-height: 1.45;
}

.wp-center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wp-button-outline {
  color: #123f6b !important;
  background: #fff;
}

.wp-site-footer {
  padding: 40px 0 0;
  color: #dbe6ef;
  background: #17364d;
}

.wp-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}

.wp-site-footer a {
  color: #fff;
}

.wp-site-footer address {
  margin-top: 8px;
  font-style: normal;
}

.wp-site-footer nav {
  display: grid;
  gap: 6px;
}

.wp-footer-bottom {
  margin-top: 32px;
  padding: 14px 20px;
  border-top: 1px solid #35566f;
  text-align: center;
}

@media (max-width: 820px) {
  .wp-shell {
    width: min(100% - 32px, 1160px);
  }

  .wp-header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }

  .wp-brand img {
    height: 50px;
  }

  .wp-primary-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .wp-menu,
  .wp-menu-fallback {
    width: max-content;
  }

  .wp-header-contact {
    margin-left: auto;
    font-size: 13px;
  }

  .wp-post-list,
  .wp-footer-grid {
    grid-template-columns: 1fr;
  }
}
/* Blog index, archives, and article pages. */
.wp-blog-hero p:last-child,
.wp-archive-description {
  max-width: 760px;
  margin: 14px 0 0;
}

.wp-archive-description > :first-child {
  margin-top: 0;
}

.wp-archive-description > :last-child {
  margin-bottom: 0;
}

.ecoriver-post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e0e5;
  background: #fff;
}

.ecoriver-post-card__image {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #d9e0e5;
  background: #edf1f4;
}

.ecoriver-post-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ecoriver-post-card__body {
  padding: 22px;
}

.ecoriver-post-card__meta,
.wp-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin: 0;
  color: #5b6b77;
  font-size: 13px;
  font-weight: 700;
}

.ecoriver-post-card__categories,
.wp-article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ecoriver-post-card__categories a,
.wp-article-categories a {
  padding: 2px 8px;
  color: #123f6b;
  background: #e8f0f6;
  text-decoration: none;
}

.ecoriver-post-card__title {
  margin: 10px 0 0;
  color: #123f6b;
  font-size: 22px;
  line-height: 1.45;
}

.ecoriver-post-card__title a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.ecoriver-post-card__title a:hover,
.ecoriver-post-card__title a:focus-visible {
  text-decoration-color: currentColor;
}

.ecoriver-post-card__excerpt {
  margin: 10px 0 0;
  color: #3f4d58;
  font-size: 14px;
  line-height: 1.8;
}

.navigation.pagination {
  margin-top: 36px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #b9c6cf;
  text-decoration: none;
}

.page-numbers.current {
  border-color: #123f6b;
  color: #fff;
  background: #123f6b;
}

.wp-empty-posts {
  margin: 0;
  padding: 28px;
  border: 1px solid #d9e0e5;
  background: #f7f9fa;
}

.wp-article-header-inner {
  max-width: 980px;
}

.wp-article-hero h1 {
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 52px);
}

.wp-article-featured {
  max-width: 980px;
  padding-top: 44px;
}

.wp-article-featured img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-article-content {
  max-width: 900px;
  font-size: 16px;
}

.wp-article-content h2,
.wp-article-content h3,
.wp-article-content h4 {
  color: #123f6b;
  line-height: 1.5;
}

.wp-article-content h2 {
  margin-top: 2.4em;
  padding-bottom: 10px;
  border-bottom: 2px solid #123f6b;
  font-size: 30px;
}

.wp-article-content h3 {
  margin-top: 2em;
  font-size: 23px;
}

.wp-article-content img {
  max-width: 100%;
  height: auto;
}

.wp-article-content a {
  text-underline-offset: 3px;
}

.wp-article-content blockquote {
  margin-inline: 0;
  padding: 18px 24px;
  border-left: 4px solid #123f6b;
  background: #f3f7f9;
}

.wp-article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.wp-article-content th,
.wp-article-content td {
  padding: 10px 12px;
  border: 1px solid #cbd4db;
  text-align: left;
}

.wp-article-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 8px 0 64px;
}

.wp-article-navigation > :last-child {
  text-align: right;
}

@media (max-width: 820px) {
  .ecoriver-post-card__body {
    padding: 18px;
  }

  .wp-article-content {
    font-size: 15px;
  }

  .wp-article-content h2 {
    font-size: 25px;
  }

  .wp-article-content h3 {
    font-size: 21px;
  }

  .wp-article-navigation {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .wp-article-navigation > :last-child {
    text-align: left;
  }
}
