body.mn-post {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(13, 40, 70, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(53, 185, 131, 0.04) 1px, transparent 1px),
    var(--mn-bg);
  background-size: 54px 54px, 54px 54px, auto;
  color: var(--mn-ink);
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

body.mn-post *,
body.mn-post *::before,
body.mn-post *::after {
  box-sizing: border-box;
}

body.mn-post img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.mn-post a {
  color: inherit;
}

body.mn-post :focus-visible {
  outline: 3px solid rgba(53, 185, 131, 0.35);
  outline-offset: 4px;
}

.mn-post-main {
  background: transparent;
}

.mn-post-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 82px;
  border-bottom: 1px solid rgba(217, 231, 229, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 244, 0.84)),
    var(--mn-bg);
}

.mn-post-hero::after {
  position: absolute;
  right: max(-90px, -6vw);
  bottom: -150px;
  width: min(480px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 185, 131, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  content: "";
  pointer-events: none;
}

.mn-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--mn-muted);
  font-size: 13px;
  font-weight: 800;
}

.mn-breadcrumb a {
  color: var(--mn-navy);
  text-decoration: none;
}

.mn-breadcrumb a:hover {
  color: var(--mn-green-dark);
}

.mn-post-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.mn-post-hero h1 {
  margin: 0;
  color: var(--mn-navy);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.mn-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.mn-post-meta time,
.mn-post-meta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  padding: 7px 11px;
}

.mn-post-meta time {
  background: #fff;
  color: var(--mn-muted);
  box-shadow: 0 8px 22px rgba(13, 40, 70, 0.06);
}

.mn-post-meta a {
  background: var(--mn-paper-tint);
  color: var(--mn-green-dark);
  text-decoration: none;
}

.mn-post-content-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.95));
}

.mn-post-article {
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid rgba(217, 231, 229, 0.92);
  border-radius: var(--mn-radius);
  background: #fff;
  box-shadow: var(--mn-shadow-soft);
  overflow: hidden;
}

.mn-post-thumbnail {
  margin: 0;
  background: var(--mn-paper-tint);
}

.mn-post-thumbnail img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.mn-post-content {
  padding: 38px;
}

.mn-post-content > *:first-child {
  margin-top: 0;
}

.mn-post-content > *:last-child {
  margin-bottom: 0;
}

.mn-post-content h2,
.mn-post-content h3,
.mn-post-content h4 {
  color: var(--mn-navy);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.mn-post-content h2 {
  margin: 2.1em 0 0.75em;
  border-left: 5px solid var(--mn-green);
  font-size: 28px;
  padding-left: 16px;
}

.mn-post-content h3 {
  margin: 1.9em 0 0.7em;
  font-size: 23px;
}

.mn-post-content p,
.mn-post-content li {
  color: #34495d;
  font-weight: 600;
  line-height: 2;
}

.mn-post-content a {
  color: var(--mn-green-dark);
  font-weight: 900;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.mn-post-content ul,
.mn-post-content ol {
  padding-left: 1.5em;
}

.mn-post-content figure,
.mn-post-content table,
.mn-post-content pre,
.mn-post-content iframe,
.mn-post-content video,
.mn-post-content embed,
.mn-post-content object {
  max-width: 100%;
}

.mn-post-content table {
  display: block;
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.mn-post-content th,
.mn-post-content td {
  border: 1px solid rgba(217, 231, 229, 0.92);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.mn-post-content pre {
  border-radius: var(--mn-radius);
  background: #f4f8f7;
  color: var(--mn-navy);
  font-size: 14px;
  line-height: 1.75;
  overflow-x: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.mn-post-content code {
  overflow-wrap: anywhere;
}

.mn-post-content .wp-block-embed__wrapper {
  max-width: 100%;
  overflow: hidden;
}

.mn-post-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.mn-post-page-links a,
.mn-post-page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--mn-radius);
  background: var(--mn-paper-tint);
  color: var(--mn-green-dark);
  font-weight: 900;
  text-decoration: none;
}

.mn-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 22px auto 0;
}

.mn-post-nav__item {
  min-width: 0;
  border: 1px solid rgba(217, 231, 229, 0.92);
  border-radius: var(--mn-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 40, 70, 0.06);
  padding: 20px;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mn-post-nav__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--mn-shadow-soft);
}

.mn-post-nav__item span {
  color: var(--mn-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.mn-post-nav__item strong {
  display: block;
  margin-top: 6px;
  color: var(--mn-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.mn-post-list-link {
  margin-top: 28px;
}

.mn-post-final-cta {
  padding: 88px 0;
}

.mn-post-final-cta .mn-button-row {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .mn-post-hero {
    padding-top: 118px;
  }

  .mn-post-hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  body.mn-post {
    max-width: 100vw;
    padding-bottom: 74px;
    font-size: 15px;
  }

  .mn-post-hero,
  .mn-post-main,
  .mn-post-content-section,
  .mn-post-final-cta {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .mn-post-hero {
    padding: 104px 0 58px;
  }

  .mn-post-hero::after {
    display: none;
  }

  .mn-breadcrumb {
    margin-bottom: 24px;
  }

  .mn-post-hero h1 {
    font-size: 31px;
    word-break: break-all;
  }

  .mn-post-content {
    padding: 24px;
  }

  .mn-post-content h2 {
    font-size: 24px;
  }

  .mn-post-content h3 {
    font-size: 21px;
  }

  .mn-post-content p,
  .mn-post-content li {
    word-break: break-all;
  }

  .mn-post-nav {
    grid-template-columns: 1fr;
  }

  .mn-post-final-cta {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mn-post *,
  body.mn-post *::before,
  body.mn-post *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
