
/* Codex nougyou responsive containment 2026-07-05. */
@media (max-width: 640px) {
  .post_content table,
  .entry-content table,
  .c-postContent table,
  article table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
  }

  .post_content th,
  .post_content td,
  .entry-content th,
  .entry-content td,
  .c-postContent th,
  .c-postContent td,
  article th,
  article td {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }
}

/* Codex hide side widgets 2026-07-10. */
#sidebar.l-sidebar,
aside.l-sidebar,
.l-sidebar {
  display: none !important;
}

#body_wrap.-sidebar-on #content.l-content {
  display: block !important;
}

#body_wrap.-sidebar-on #main_content.l-mainContent {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Codex accessibility polish 2026-07-10. */
.nma-skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  transform: translateY(-120%);
  padding: 12px 16px;
  border: 3px solid #1d4ed8;
  border-radius: 0 0 8px 0;
  background: #ffffff;
  color: #0f5132;
  font-weight: 700;
  text-decoration: none;
}

.nma-skip-link:focus,
.nma-skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

.nma-site-trustbar,
.nma-site-trustbar span,
.nma-site-trustbar a {
  color: #ffffff !important;
}

.nma-site-footer,
.nma-site-footer p,
.nma-site-footer li,
.nma-site-footer small {
  color: #edf7f3 !important;
}

.nma-site-footer h2,
.nma-site-footer h3,
.nma-site-footer strong,
.nma-site-footer a {
  color: #ffffff !important;
}

.nma-site-footer__btn--gold {
  background: #f2c66d !important;
  color: #0d2134 !important;
}

.nma-site-footer__btn--line {
  background: #092b4f !important;
  color: #ffffff !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.wpcf7-submit:focus-visible {
  outline: 3px solid #1d4ed8 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.22) !important;
}

.post_content a:not(.wp-block-button__link):not(.swell-block-button__link),
.entry-content a:not(.wp-block-button__link):not(.swell-block-button__link) {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.wpcf7 form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7 form select,
.wpcf7 form textarea {
  min-height: 48px;
  font-size: 16px;
  line-height: 1.55;
}

.wpcf7 form textarea {
  min-height: 128px;
}

.wpcf7 form label,
.wpcf7-list-item-label,
.nma-form-note,
.nma-input-hint,
.kmc-form__privacy {
  line-height: 1.75;
}

.nma-input-hint,
.nma-form-note,
.kmc-form__privacy {
  color: #334155;
}

.nma-badge--required {
  background: #9f1239;
  color: #ffffff;
}

.nma-badge--optional {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

.wpcf7 form input[type="checkbox"],
.wpcf7 form input[type="radio"] {
  width: 1.18em;
  height: 1.18em;
  accent-color: #0f5132;
}

.wpcf7-not-valid {
  border-color: #b91c1c !important;
  background-color: #fff7f7 !important;
}

.wpcf7-not-valid-tip,
.wpcf7 form .wpcf7-response-output {
  color: #7f1d1d;
  font-weight: 700;
}

@media (max-width: 600px) {
  .wpcf7 form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .wpcf7 form select,
  .wpcf7 form textarea {
    width: 100%;
  }

  .wpcf7-submit {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  summary:focus-visible {
    outline: 3px solid CanvasText !important;
  }
}/* Codex trusted header polish 2026-07-10. */
:root {
  --nma-header-navy: #07233f;
  --nma-header-green: #124f36;
  --nma-header-gold: #c7922c;
  --nma-header-line: #dbe5df;
}

.nma-site-trustbar {
  border-top: 0 !important;
  border-bottom: 3px solid var(--nma-header-gold) !important;
  background: linear-gradient(90deg, #061f38 0%, #082f4d 58%, #0d4637 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}

.nma-site-trustbar__inner {
  min-height: 44px !important;
  align-items: center !important;
  font-weight: 800 !important;
}

.nma-site-trustbar__copy {
  gap: 18px !important;
}

.nma-site-trustbar__copy span {
  display: inline-flex !important;
  align-items: center !important;
}

.nma-site-trustbar__copy span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-right: 18px;
  background: rgba(255, 255, 255, 0.28);
}

.nma-site-trustbar b {
  color: #f6d37b !important;
}

.nma-site-trustbar a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 5px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

#header .l-header__bar.pc_,
#header .c-iconList {
  display: none !important;
}

#header.l-header {
  position: relative !important;
  z-index: 1000 !important;
  border-bottom: 1px solid rgba(7, 35, 63, 0.1) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 14px 34px rgba(7, 35, 63, 0.1) !important;
  backdrop-filter: saturate(140%) blur(10px);
}

#header .l-header__inner.l-container {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  min-height: 92px !important;
  padding: 0 !important;
  gap: 22px !important;
  align-items: center !important;
}

#header .l-header__logo {
  flex: 0 0 auto !important;
}

#header .c-headLogo__link {
  display: inline-flex !important;
  align-items: center !important;
}

#header .c-headLogo__img {
  display: block !important;
  width: clamp(230px, 21vw, 292px) !important;
  max-width: 292px !important;
  height: auto !important;
}

body #header.l-header .l-header__inner .c-headLogo__link img.c-headLogo__img {
  width: clamp(240px, 22vw, 300px) !important;
  max-width: 300px !important;
  height: auto !important;
}

#header .l-header__gnav {
  margin-left: auto !important;
}

#header .c-gnav {
  gap: 2px !important;
}

#header .c-gnav > .menu-item > a {
  display: flex !important;
  align-items: center !important;
  min-height: 92px !important;
  padding: 0 10px !important;
  color: #10291e !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

#header .c-gnav > .menu-item > a:hover,
#header .c-gnav > .current-menu-item > a {
  color: var(--nma-header-green) !important;
}

#header .c-gnav > .menu-item > a::after {
  height: 3px !important;
  border-radius: 999px !important;
  background: var(--nma-header-gold) !important;
}

#header .c-gnav > .menu-item:last-child {
  display: none !important;
}

#header .nma-header-actions {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: 2px !important;
}

#header .nma-header-actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 58px !important;
  border-radius: 8px !important;
  padding: 9px 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

#header .nma-header-actions a:hover {
  transform: translateY(-1px);
}

#header .nma-header-actions__phone {
  min-width: 154px !important;
  flex-direction: column !important;
  border: 1px solid var(--nma-header-line) !important;
  background: #ffffff !important;
  color: var(--nma-header-navy) !important;
  font-size: 18px !important;
  box-shadow: 0 10px 24px rgba(7, 35, 63, 0.07) !important;
}

#header .nma-header-actions__phone::before {
  content: "電話相談 平日10:00-17:00";
  display: block;
  margin-bottom: 3px;
  color: #526174;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

#header .nma-header-actions__sell {
  min-width: 156px !important;
  border: 1px solid #a77520 !important;
  background: linear-gradient(135deg, #f1d174 0%, #c7922c 100%) !important;
  color: #10291e !important;
  box-shadow: 0 14px 26px rgba(167, 117, 32, 0.22) !important;
}

#header .nma-header-actions__sell:hover {
  background: linear-gradient(135deg, #f6dc8a 0%, #b88425 100%) !important;
}

#header .l-header__customBtn .c-iconBtn,
#header .l-header__menuBtn .c-iconBtn {
  color: var(--nma-header-navy) !important;
}

@media (max-width: 1180px) and (min-width: 960px) {
  #header .l-header__inner.l-container {
    width: min(1080px, calc(100% - 32px)) !important;
    gap: 14px !important;
  }

  #header .c-headLogo__img {
    width: clamp(210px, 20vw, 246px) !important;
  }

  body #header.l-header .l-header__inner .c-headLogo__link img.c-headLogo__img {
    width: clamp(210px, 20vw, 246px) !important;
    max-width: 246px !important;
  }

  #header .c-gnav > .menu-item > a {
    padding: 0 8px !important;
    font-size: 13px !important;
  }

  #header .nma-header-actions__phone {
    display: none !important;
  }
}

@media (max-width: 959px) {
  #header .nma-header-actions.pc_ {
    display: none !important;
  }

  .nma-site-trustbar {
    font-size: 12px !important;
  }

  .nma-site-trustbar__inner {
    width: calc(100% - 24px) !important;
    min-height: 42px !important;
    padding: 7px 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .nma-site-trustbar__copy {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .nma-site-trustbar__copy span:nth-child(2),
  .nma-site-trustbar a {
    display: none !important;
  }

  .nma-site-trustbar__copy span:first-child {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1 !important;
  }

  .nma-site-trustbar__copy span:first-child::after {
    content: "譲渡企業様は手数料0円・成功報酬まで不要";
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
  }

  #header .l-header__inner.l-container {
    width: calc(100% - 30px) !important;
    min-height: 76px !important;
    padding: 0 !important;
  }

  #header .c-headLogo__img {
    width: min(190px, calc(100vw - 166px)) !important;
    max-width: 190px !important;
  }

  body #header.l-header .l-header__inner .c-headLogo__link img.c-headLogo__img {
    width: min(190px, calc(100vw - 166px)) !important;
    max-width: 190px !important;
  }

  #header .l-header__customBtn .c-iconBtn,
  #header .l-header__menuBtn .c-iconBtn {
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(7, 35, 63, 0.12) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(7, 35, 63, 0.06) !important;
  }
}

@media (max-width: 360px) {
  #header .c-headLogo__img {
    width: min(170px, calc(100vw - 158px)) !important;
  }

  body #header.l-header .l-header__inner .c-headLogo__link img.c-headLogo__img {
    width: min(170px, calc(100vw - 158px)) !important;
    max-width: 170px !important;
  }
}

@media (min-width: 600px) and (max-width: 959px) {
  body #header.l-header .l-header__inner .c-headLogo__link img.c-headLogo__img {
    width: 220px !important;
    max-width: 220px !important;
  }
}/* Codex trusted footer polish 2026-07-10. */
body .nma-site-footer {
  position: relative !important;
  overflow: hidden !important;
  border-top: 5px solid #c7922c !important;
  background:
    radial-gradient(circle at 16% 8%, rgba(39, 113, 82, 0.35) 0, rgba(39, 113, 82, 0) 32%),
    radial-gradient(circle at 86% 6%, rgba(199, 146, 44, 0.18) 0, rgba(199, 146, 44, 0) 30%),
    linear-gradient(180deg, #0d3048 0%, #061e36 48%, #041526 100%) !important;
  color: #eef6f2 !important;
  padding: clamp(44px, 6vw, 70px) 0 28px !important;
}

body .nma-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 72px;
  opacity: 0.5;
}

body .nma-site-footer > .nma-site-wrap {
  position: relative !important;
  z-index: 1 !important;
  width: min(1120px, calc(100% - 48px)) !important;
}

body .nma-site-footer a {
  color: #eef6f2 !important;
  text-decoration: none !important;
}

body .nma-site-footer a:focus-visible {
  outline: 3px solid #8db8ff !important;
  outline-offset: 3px !important;
}

body .nma-site-footer__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr) !important;
  gap: 34px !important;
  align-items: stretch !important;
}

body .nma-site-footer__brand {
  display: grid !important;
  gap: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)) !important;
  padding: clamp(22px, 3vw, 30px) !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.16) !important;
}

body .nma-site-footer__logo {
  width: min(314px, 100%) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  padding: 13px 18px !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18) !important;
}

body .nma-site-footer__lead {
  max-width: 720px !important;
  margin: 0 !important;
  color: #dcebe5 !important;
  font-size: 15.5px !important;
  line-height: 2 !important;
}

body .nma-site-footer__badges {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 2px !important;
}

body .nma-site-footer__badge {
  position: relative !important;
  min-height: 76px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  padding: 14px 15px 13px !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

body .nma-site-footer__badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f1d174, #c7922c);
}

body .nma-site-footer__badge small {
  display: block !important;
  margin-top: 6px !important;
  color: #cfe0d7 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body .nma-site-footer__contact {
  position: relative !important;
  display: grid !important;
  align-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(135deg, rgba(23, 74, 108, 0.96), rgba(12, 55, 45, 0.96)) !important;
  padding: clamp(26px, 3.2vw, 34px) !important;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2) !important;
}

body .nma-site-footer__contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1d174, #c7922c);
}

body .nma-site-footer__contact small {
  display: block !important;
  margin: 0 0 9px !important;
  color: #f6d37b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
}

body .nma-site-footer__contact strong {
  display: block !important;
  color: #ffffff !important;
  font-size: clamp(1.55rem, 2.5vw, 2rem) !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

body .nma-site-footer__contact p {
  margin: 14px 0 22px !important;
  color: #dcebe5 !important;
  line-height: 1.9 !important;
}

body .nma-site-footer__actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

body .nma-site-footer__btn {
  min-height: 52px !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

body .nma-site-footer__btn:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

body .nma-site-footer__btn--gold {
  border: 1px solid #d2a23d !important;
  background: linear-gradient(135deg, #f4d57b 0%, #c7922c 100%) !important;
  color: #10291e !important;
}

body .nma-site-footer__btn--line {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

body .nma-site-footer__cols {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 34px !important;
  padding-top: 30px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
}

body .nma-site-footer__cols section {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  padding: 20px 20px 18px !important;
}

body .nma-site-footer h2,
body .nma-site-footer h3 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

body .nma-site-footer__cols ul {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body .nma-site-footer__cols a {
  display: block !important;
  border-radius: 6px !important;
  padding: 5px 0 !important;
  color: #dcebe5 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body .nma-site-footer__cols a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

body .nma-site-footer__company {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 30px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #dcebe5 !important;
  font-size: 13.5px !important;
}

body .nma-site-footer__legal {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 14px !important;
}

body .nma-site-footer__legal a {
  color: #dcebe5 !important;
}

@media (max-width: 900px) {
  body .nma-site-footer > .nma-site-wrap {
    width: calc(100% - 34px) !important;
  }

  body .nma-site-footer__top {
    grid-template-columns: 1fr !important;
  }

  body .nma-site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body .nma-site-footer {
    padding-top: 40px !important;
  }

  body .nma-site-footer > .nma-site-wrap {
    width: calc(100% - 28px) !important;
  }

  body .nma-site-footer__brand,
  body .nma-site-footer__contact {
    padding: 20px !important;
    border-radius: 10px !important;
  }

  body .nma-site-footer__logo {
    width: min(280px, 100%) !important;
  }

  body .nma-site-footer__cols,
  body .nma-site-footer__actions {
    grid-template-columns: 1fr !important;
  }

  body .nma-site-footer__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .nma-site-footer__company {
    display: grid !important;
    justify-items: start !important;
  }

  body .nma-site-footer__legal {
    justify-content: flex-start !important;
  }
}

/* Codex homepage clarity polish 2026-07-10. */
body .agri-pmc {
  --navy: #082f4d;
  --navy2: #12496f;
  --teal: #0f6b5f;
  --gold: #c7922c;
  --ivory: #eef5e9;
  --paper: #fffaf0;
  --line: #d6dfcf;
  --text: #1d2b24;
  --muted: #5d6d62;
  --forest: #185a38;
  background:
    radial-gradient(circle at 8% 3%, rgba(199, 146, 44, 0.13) 0, rgba(199, 146, 44, 0) 28%),
    linear-gradient(180deg, #eef5e9 0%, #f7faf1 38%, #edf5e8 100%) !important;
  color: var(--text) !important;
}

body .agri-pmc__topline {
  border-top: 0 !important;
  border-bottom: 1px solid rgba(8, 47, 77, 0.14) !important;
  background: linear-gradient(90deg, #edf6e7 0%, #fff4d8 52%, #e9f4e7 100%) !important;
  color: #082f4d !important;
}

body .agri-pmc__topline-inner {
  min-height: 48px !important;
}

body .agri-pmc__topline span {
  color: #0f3528 !important;
  font-weight: 900 !important;
}

body .agri-pmc__topline a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 6px 13px !important;
  border-radius: 8px !important;
  background: #082f4d !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(8, 47, 77, 0.12) !important;
}

body .agri-pmc__hero {
  min-height: clamp(580px, 64vw, 680px) !important;
  background-image:
    linear-gradient(90deg, rgba(5, 29, 52, 0.94) 0%, rgba(9, 61, 58, 0.84) 38%, rgba(14, 83, 66, 0.48) 66%, rgba(14, 83, 66, 0.14) 100%),
    url('https://nougyou-ma-center.jp/wp-content/uploads/2026/07/nougyou-ma-hero-consultation-20260710.jpg') !important;
  background-position: center right !important;
  box-shadow: inset 0 -90px 120px rgba(5, 29, 52, 0.24) !important;
}

body .agri-pmc__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(246, 211, 123, 0.18) 0, rgba(246, 211, 123, 0) 26%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) !important;
}

body .agri-pmc__hero > * {
  position: relative !important;
  z-index: 1 !important;
}

body .agri-pmc__hero-body {
  padding: clamp(72px, 8vw, 104px) 0 clamp(58px, 7vw, 82px) !important;
}

body .agri-pmc__hero-kicker {
  border-color: rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(8px);
}

body .agri-pmc__hero h1 {
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}

body .agri-pmc__hero p {
  color: #f0f7f2 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32) !important;
}

body .agri-pmc__buttons {
  gap: 14px !important;
}

body .agri-pmc__btn {
  min-height: 52px !important;
  border-radius: 8px !important;
  padding: 13px 20px !important;
  box-shadow: 0 14px 28px rgba(5, 29, 52, 0.13) !important;
}

body .agri-pmc__btn--primary {
  border-color: #0b4d3a !important;
  background: linear-gradient(135deg, #0b3762 0%, #135b3d 100%) !important;
  color: #ffffff !important;
}

body .agri-pmc__btn--primary:hover {
  background: linear-gradient(135deg, #12496f 0%, #176b48 100%) !important;
}

body .agri-pmc__btn--light {
  border-color: rgba(255, 255, 255, 0.88) !important;
  background: #fffaf0 !important;
  color: #082f4d !important;
}

body .agri-pmc__btn--gold {
  border-color: #b88425 !important;
  background: linear-gradient(135deg, #f2d27a 0%, #c7922c 100%) !important;
  color: #10291e !important;
}

body .agri-pmc__hero-panel {
  max-width: 800px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(8px);
}

body .agri-pmc__hero-card {
  background: rgba(5, 29, 52, 0.48) !important;
  padding: 18px !important;
}

body .agri-pmc__phone {
  background: #eef5e9 !important;
}

body .agri-pmc__phone-inner {
  border: 1px solid rgba(8, 47, 77, 0.12) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #fffaf0 0%, #eef6e8 100%) !important;
  box-shadow: 0 24px 56px rgba(8, 47, 77, 0.13) !important;
}

body .agri-pmc__ticker {
  background: #082f4d !important;
  color: #eaf3ec !important;
}

body .agri-pmc__proof-band {
  background: linear-gradient(135deg, #082f4d 0%, #0f513f 100%) !important;
}

body .agri-pmc__section {
  background: #f7faf1 !important;
}

body .agri-pmc__section--ivory,
body .agri-pmc__dense.agri-pmc__section--ivory {
  background: #edf5e8 !important;
}

body .agri-pmc__seller-zero {
  background:
    radial-gradient(circle at 10% 10%, rgba(199, 146, 44, 0.14) 0, rgba(199,146,44,0) 28%),
    linear-gradient(135deg, #edf6e7 0%, #fff4d8 100%) !important;
}

body .agri-pmc__seller-zero-panel,
body .agri-pmc__fee-box,
body .agri-pmc__card,
body .agri-pmc__expert-card,
body .agri-pmc__metric,
body .agri-pmc__route,
body .agri-pmc__material,
body .agri-pmc__mobile-guide-card,
body .agri-pmc__faq details {
  border: 1px solid rgba(8, 47, 77, 0.1) !important;
  border-radius: 14px !important;
  background: rgba(255, 250, 240, 0.9) !important;
  box-shadow: 0 18px 42px rgba(8, 47, 77, 0.08) !important;
}

body .agri-pmc__photo-story {
  background: #eef5e9 !important;
}

body .agri-pmc__photo-card {
  overflow: hidden !important;
  border: 1px solid rgba(8, 47, 77, 0.12) !important;
  border-radius: 16px !important;
  background: #fffaf0 !important;
  box-shadow: 0 18px 42px rgba(8, 47, 77, 0.12) !important;
}

body .agri-pmc__photo-card img,
body .agri-pmc__assurance-image img,
body .agri-pmc__media img,
body .agri-pmc__photo img,
body .agri-pmc__route-visual img,
body .agri-pmc__industries-visual img,
body .agri-pmc__process-visual img,
body .agri-pmc__mobile-guide-image img {
  filter: saturate(1.04) contrast(1.02) brightness(1.02) !important;
}

body .agri-pmc__assurance-strip,
body .agri-pmc__network-band,
body .agri-pmc__dense.agri-pmc__section--navy,
body .agri-pmc__cta {
  background:
    radial-gradient(circle at 12% 10%, rgba(246, 211, 123, 0.12) 0, rgba(246,211,123,0) 32%),
    linear-gradient(135deg, #082f4d 0%, #0f513f 100%) !important;
}

body .agri-pmc__eyebrow {
  color: #9b6b1f !important;
}

body .agri-pmc__title,
body .agri-pmc h2 {
  color: #082f4d !important;
}

body .agri-pmc__lead {
  color: #53655a !important;
}

html body #body_wrap.home .agri-pmc__section,
html body #body_wrap.home .agri-pmc__dense,
html body #body_wrap.home .agri-pmc__photo-story,
html body #body_wrap.home .agri-pmc__seller-zero,
html body #body_wrap.home .agri-pmc__assurance-strip,
html body #body_wrap.home .agri-pmc__network-band {
  position: relative !important;
  padding-top: clamp(64px, 6.5vw, 92px) !important;
  padding-bottom: clamp(64px, 6.5vw, 92px) !important;
  border-top: 1px solid rgba(8, 47, 77, 0.08) !important;
  overflow: hidden !important;
}

html body #body_wrap.home .agri-pmc__section::before,
html body #body_wrap.home .agri-pmc__dense::before,
html body #body_wrap.home .agri-pmc__photo-story::before,
html body #body_wrap.home .agri-pmc__seller-zero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto auto 50% !important;
  width: min(1080px, 88vw) !important;
  height: 1px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(90deg, transparent, rgba(199, 146, 44, 0.52), transparent) !important;
  pointer-events: none !important;
}

html body #body_wrap.home .agri-pmc__wrap {
  position: relative !important;
  z-index: 1 !important;
}

html body #body_wrap.home .agri-pmc__section-head {
  margin-bottom: clamp(28px, 4.2vw, 46px) !important;
}

html body #body_wrap.home .agri-pmc__section-head--split {
  align-items: end !important;
  gap: clamp(24px, 4vw, 48px) !important;
}

html body #body_wrap.home .agri-pmc__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: fit-content !important;
  min-height: 34px !important;
  padding: 7px 14px !important;
  border: 1px solid rgba(199, 146, 44, 0.34) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 240, 0.76) !important;
  box-shadow: 0 10px 24px rgba(8, 47, 77, 0.06) !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

html body #body_wrap.home .agri-pmc__eyebrow::before {
  content: "" !important;
  width: 30px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #c7922c !important;
}

html body #body_wrap.home .agri-pmc__title,
html body #body_wrap.home .agri-pmc h2 {
  max-width: 980px !important;
  margin-bottom: 16px !important;
  letter-spacing: 0 !important;
}

html body #body_wrap.home .agri-pmc__lead {
  max-width: 860px !important;
  margin-bottom: 0 !important;
}

html body #body_wrap.home .agri-pmc__grid,
html body #body_wrap.home .agri-pmc__expert-grid,
html body #body_wrap.home .agri-pmc__metric-grid,
html body #body_wrap.home .agri-pmc__route-grid,
html body #body_wrap.home .agri-pmc__material-grid,
html body #body_wrap.home .agri-pmc__media-grid,
html body #body_wrap.home .agri-pmc__stats,
html body #body_wrap.home .agri-pmc__steps,
html body #body_wrap.home .agri-pmc__proof-grid,
html body #body_wrap.home .agri-pmc__assurance-grid,
html body #body_wrap.home .agri-pmc__mobile-points,
html body #body_wrap.home .agri-pmc__industries {
  gap: clamp(14px, 2vw, 24px) !important;
}

html body #body_wrap.home .agri-pmc__card,
html body #body_wrap.home .agri-pmc__expert-card,
html body #body_wrap.home .agri-pmc__metric,
html body #body_wrap.home .agri-pmc__stat,
html body #body_wrap.home .agri-pmc__route,
html body #body_wrap.home .agri-pmc__material,
html body #body_wrap.home .agri-pmc__mobile-guide-card,
html body #body_wrap.home .agri-pmc__industry,
html body #body_wrap.home .agri-pmc__mini,
html body #body_wrap.home .agri-pmc__proof,
html body #body_wrap.home .agri-pmc__assurance-card {
  height: 100% !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 38px rgba(8, 47, 77, 0.07) !important;
}

html body #body_wrap.home .agri-pmc__media,
html body #body_wrap.home .agri-pmc__photo,
html body #body_wrap.home .agri-pmc__route-visual,
html body #body_wrap.home .agri-pmc__industries-visual,
html body #body_wrap.home .agri-pmc__process-visual,
html body #body_wrap.home .agri-pmc__mobile-guide-image,
html body #body_wrap.home .agri-pmc__assurance-image {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 48px rgba(8, 47, 77, 0.12) !important;
}

html body #body_wrap.home .agri-pmc__section--navy .agri-pmc__title,
html body #body_wrap.home .agri-pmc__network-band .agri-pmc__title,
html body #body_wrap.home .agri-pmc__assurance-strip .agri-pmc__title,
html body #body_wrap.home .agri-pmc__cta .agri-pmc__title,
html body #body_wrap.home .agri-pmc__section--navy h2,
html body #body_wrap.home .agri-pmc__network-band h2,
html body #body_wrap.home .agri-pmc__assurance-strip h2 {
  color: #ffffff !important;
}

html body #body_wrap.home .agri-pmc__section--navy .agri-pmc__lead,
html body #body_wrap.home .agri-pmc__network-band .agri-pmc__lead,
html body #body_wrap.home .agri-pmc__assurance-strip .agri-pmc__lead,
html body #body_wrap.home .agri-pmc__cta .agri-pmc__lead {
  color: #dce9f5 !important;
}

body .agri-pmc__mobile-bar {
  border-top: 1px solid rgba(8, 47, 77, 0.14) !important;
  background: rgba(255, 250, 240, 0.95) !important;
  box-shadow: 0 -16px 34px rgba(8, 47, 77, 0.12) !important;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  body .agri-pmc__wrap {
    width: calc(100% - 30px) !important;
  }

  body .agri-pmc__topline-inner {
    display: grid !important;
    gap: 8px !important;
    justify-items: center !important;
    padding: 10px 0 !important;
    text-align: center !important;
  }

  body .agri-pmc__hero {
    min-height: 640px !important;
    background-image:
      linear-gradient(180deg, rgba(5, 29, 52, 0.94) 0%, rgba(9, 61, 58, 0.82) 56%, rgba(9, 61, 58, 0.54) 100%),
      url('https://nougyou-ma-center.jp/wp-content/uploads/2026/07/nougyou-ma-hero-consultation-20260710.jpg') !important;
    background-position: 62% center !important;
  }

  body .agri-pmc__hero-body {
    padding: 54px 0 42px !important;
  }

  body .agri-pmc__hero h1 {
    font-size: clamp(2.05rem, 10vw, 3.1rem) !important;
  }

  body .agri-pmc__buttons,
  body .agri-pmc__hero-panel,
  body .agri-pmc__phone-inner {
    grid-template-columns: 1fr !important;
  }

  body .agri-pmc__buttons .agri-pmc__btn {
    width: 100% !important;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  html body #body_wrap.home #fix_bottom_menu {
    display: none !important;
  }

  html body #body_wrap.home .agri-pmc__hero {
    min-height: auto !important;
    padding: 54px 0 54px !important;
    background-position: 66% center !important;
  }

  html body #body_wrap.home .agri-pmc__hero-body {
    width: min(700px, 100%) !important;
    padding: 44px 0 24px !important;
  }

  html body #body_wrap.home .agri-pmc__hero h1 {
    font-size: clamp(2.25rem, 5.1vw, 2.85rem) !important;
    line-height: 1.22 !important;
    margin: 22px 0 16px !important;
  }

  html body #body_wrap.home .agri-pmc__hero p {
    line-height: 1.88 !important;
    margin-bottom: 20px !important;
  }

  html body #body_wrap.home .agri-pmc__hero .agri-pmc__buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  html body #body_wrap.home .agri-pmc__hero .agri-pmc__buttons .agri-pmc__btn {
    width: auto !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  html body #body_wrap.home .agri-pmc__hero .agri-pmc__buttons .agri-pmc__btn:first-child {
    grid-column: 1 / -1 !important;
  }

  html body #body_wrap.home .agri-pmc__hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1px !important;
  }

  html body #body_wrap.home .agri-pmc__hero-card {
    padding: 13px !important;
  }

  html body #body_wrap.home .agri-pmc__hero-card span {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 640px) {
  html body #body_wrap.home #fix_bottom_menu {
    display: none !important;
  }

  html body #body_wrap.home .agri-pmc {
    padding-bottom: 76px !important;
  }

  html body #body_wrap.home .agri-pmc__hero {
    padding: 34px 0 38px !important;
  }

  html body #body_wrap.home .agri-pmc__hero h1 {
    font-size: clamp(29px, 8vw, 34px) !important;
    line-height: 1.28 !important;
    margin: 18px 0 12px !important;
  }

  html body #body_wrap.home .agri-pmc__hero p {
    font-size: 13.5px !important;
    line-height: 1.78 !important;
    margin-bottom: 16px !important;
  }

  html body #body_wrap.home .agri-pmc__hero-kicker {
    padding: 9px 11px !important;
    font-size: 13px !important;
  }

  html body #body_wrap.home .agri-pmc__section,
  html body #body_wrap.home .agri-pmc__dense,
  html body #body_wrap.home .agri-pmc__photo-story,
  html body #body_wrap.home .agri-pmc__seller-zero,
  html body #body_wrap.home .agri-pmc__assurance-strip,
  html body #body_wrap.home .agri-pmc__network-band {
    padding-top: 54px !important;
    padding-bottom: 56px !important;
  }

  html body #body_wrap.home .agri-pmc__section-head {
    margin-bottom: 24px !important;
  }

  html body #body_wrap.home .agri-pmc__eyebrow {
    min-height: 30px !important;
    padding: 6px 11px !important;
    font-size: 12px !important;
  }

  html body #body_wrap.home .agri-pmc__eyebrow::before {
    width: 22px !important;
  }

  html body #body_wrap.home .agri-pmc__title,
  html body #body_wrap.home .agri-pmc h2 {
    margin-bottom: 12px !important;
  }

  html body #body_wrap.home .agri-pmc__grid,
  html body #body_wrap.home .agri-pmc__expert-grid,
  html body #body_wrap.home .agri-pmc__metric-grid,
  html body #body_wrap.home .agri-pmc__route-grid,
  html body #body_wrap.home .agri-pmc__material-grid,
  html body #body_wrap.home .agri-pmc__media-grid,
  html body #body_wrap.home .agri-pmc__stats,
  html body #body_wrap.home .agri-pmc__steps,
  html body #body_wrap.home .agri-pmc__proof-grid,
  html body #body_wrap.home .agri-pmc__assurance-grid,
  html body #body_wrap.home .agri-pmc__mobile-points,
  html body #body_wrap.home .agri-pmc__industries {
    gap: 14px !important;
  }

  html body #body_wrap.home .agri-pmc__mobile-bar {
    grid-template-columns: 0.9fr 1fr 1fr !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 10px !important;
    border-radius: 12px !important;
    background: rgba(255, 250, 240, 0.97) !important;
  }

  html body #body_wrap.home .agri-pmc__mobile-bar a {
    min-height: 44px !important;
    padding: 0 4px !important;
    font-size: 12px !important;
  }

  html body #body_wrap.home .nma-site-footer {
    padding-bottom: 128px !important;
  }
}

/* Codex Japanese line-break polish 2026-07-10. */
html[lang="ja"],
html[lang="ja"] body {
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}

body :where(
  .agri-pmc,
  .nma-site-trustbar,
  .nma-site-footer,
  .nma-spmenu-card,
  #header,
  .post_content,
  .entry-content,
  .c-postContent,
  .wpcf7
) :where(h1,h2,h3,h4,p,li,summary,dt,dd,figcaption,label,legend,small,span,strong,b,a,button) {
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: normal;
  text-wrap: pretty;
}

body :where(
  .agri-pmc__title,
  .agri-pmc__hero h1,
  .agri-pmc__hero-kicker,
  .agri-pmc__lead,
  .nma-site-trustbar__copy,
  .nma-site-footer h2,
  .nma-site-footer h3,
  #header .c-gnav a,
  #header .nma-header-actions a
) {
  text-wrap: balance;
}

body :where(
  .agri-pmc__btn,
  .agri-pmc__hero-kicker,
  .agri-pmc__topline span,
  .nma-site-trustbar__copy span,
  .nma-header-actions a,
  .nma-spmenu-card strong,
  .nma-site-footer__badge,
  .nma-site-footer__btn
) {
  white-space: normal;
}

body :where(
  .agri-pmc__stat strong,
  .agri-pmc__metric strong,
  .agri-pmc__fee-main strong,
  .agri-pmc__fee-row strong,
  .nma-header-actions__phone,
  .agri-pmc__phone a,
  .nma-site-footer__contact strong
) {
  white-space: nowrap;
  word-break: keep-all;
}

body #sp_menu.p-spMenu {
  z-index: 2001 !important;
}

body #sp_menu .p-spMenu__inner,
body #sp_menu .p-spMenu__body {
  background: #fff !important;
}

body #sp_menu .p-spMenu__inner {
  box-shadow: 18px 0 42px rgba(6, 28, 24, .22) !important;
}

body #sp_menu .p-spMenu__closeBtn {
  background: #fff !important;
  border-right: 1px solid #d9e4dc !important;
  border-bottom: 1px solid #d9e4dc !important;
}

body #sp_menu .nma-spmenu-card strong {
  line-height: 1.75 !important;
  text-wrap: balance;
}

body #sp_menu .nma-spmenu-card strong span {
  display: inline !important;
}

body #sp_menu .nma-spmenu-card > span {
  display: block !important;
}

body :where(.agri-pmc__btn, .nma-site-footer__btn, .nma-header-actions__sell) {
  min-width: max-content;
}

@media (max-width: 640px) {
  body :where(.agri-pmc__btn, .nma-site-footer__btn, .nma-header-actions__sell) {
    min-width: 0;
  }

  body :where(.agri-pmc__title, .agri-pmc__lead, .agri-pmc__hero h1, .agri-pmc__hero p) {
    text-wrap: pretty;
  }
}

body :where(.post_content, .entry-content, .c-postContent) :where(a,code,pre) {
  overflow-wrap: anywhere;
}/* Codex typography balance polish 2026-07-10. */
body {
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

body .agri-pmc {
  font-size: 16px !important;
}

body .agri-pmc :where(p, li, summary, figcaption, small, span) {
  letter-spacing: 0 !important;
}

body .agri-pmc__hero h1 {
  font-size: clamp(2.55rem, 4.45vw, 4.05rem) !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  max-width: 760px !important;
}

body .agri-pmc__hero p {
  max-width: 860px !important;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem) !important;
  line-height: 2 !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}

body .agri-pmc__hero-kicker {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  font-weight: 900 !important;
}

body .agri-pmc__title {
  font-size: clamp(1.68rem, 2.35vw, 2.32rem) !important;
  line-height: 1.36 !important;
  font-weight: 900 !important;
}

body .agri-pmc__lead {
  font-size: clamp(0.98rem, 1.1vw, 1.05rem) !important;
  line-height: 1.95 !important;
  font-weight: 600 !important;
}

body .agri-pmc :where(.agri-pmc__card, .agri-pmc__expert-card, .agri-pmc__route, .agri-pmc__material, .agri-pmc__mini, .agri-pmc__stat, .agri-pmc__metric) {
  font-size: 0.96rem !important;
  line-height: 1.78 !important;
}

body .agri-pmc :where(.agri-pmc__card h3, .agri-pmc__expert-card h3, .agri-pmc__route h3, .agri-pmc__mini strong, .agri-pmc__material strong) {
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  line-height: 1.55 !important;
  font-weight: 900 !important;
}

body .agri-pmc :where(.agri-pmc__card p, .agri-pmc__expert-card p, .agri-pmc__route p, .agri-pmc__material span, .agri-pmc__mini span, .agri-pmc__metric span, .agri-pmc__stat span) {
  font-size: 0.94rem !important;
  line-height: 1.82 !important;
  font-weight: 600 !important;
}

body .agri-pmc__btn,
body .nma-site-footer__btn,
body #header .nma-header-actions a {
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

body .agri-pmc__fee-main strong,
body .agri-pmc__stat strong,
body .agri-pmc__metric strong {
  line-height: 1.08 !important;
}

body .nma-site-footer__lead {
  font-size: 0.96rem !important;
  line-height: 1.95 !important;
  font-weight: 500 !important;
}

body .nma-site-footer__cols a,
body .nma-site-footer__badge,
body .nma-site-footer__company {
  line-height: 1.75 !important;
}

@media (max-width: 960px) {
  body .agri-pmc__hero h1 {
    font-size: clamp(2.14rem, 6.1vw, 3rem) !important;
    line-height: 1.22 !important;
  }

  body .agri-pmc__hero p {
    font-size: 0.96rem !important;
    line-height: 1.92 !important;
    font-weight: 750 !important;
  }
}

@media (max-width: 640px) {
  body .agri-pmc__hero {
    min-height: auto !important;
  }

  body .agri-pmc__hero h1 {
    font-size: clamp(2rem, 8.1vw, 2.44rem) !important;
    line-height: 1.24 !important;
  }

  body .agri-pmc__hero p {
    font-size: 0.92rem !important;
    line-height: 1.86 !important;
    font-weight: 700 !important;
  }

  body .agri-pmc__hero-kicker {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  body .agri-pmc__title {
    font-size: clamp(1.45rem, 6.2vw, 1.72rem) !important;
    line-height: 1.4 !important;
  }

  body .agri-pmc__lead {
    font-size: 0.94rem !important;
    line-height: 1.86 !important;
  }

  body .agri-pmc :where(.agri-pmc__card p, .agri-pmc__expert-card p, .agri-pmc__route p, .agri-pmc__material span, .agri-pmc__mini span, .agri-pmc__metric span, .agri-pmc__stat span) {
    font-size: 0.9rem !important;
    line-height: 1.78 !important;
  }
}


/* Codex clean professional homepage 2026-07-10. */
body .agri-pmc {
  --navy: #173a35;
  --navy2: #24524a;
  --teal: #0f766e;
  --gold: #b8893c;
  --ivory: #eef4ed;
  --paper: #ffffff;
  --line: #dce4dc;
  --text: #17231b;
  --muted: #5e6b63;
  --forest: #235c39;
  background: #f4f7f1 !important;
  color: var(--text) !important;
}

body .agri-pmc *,
body .agri-pmc *::before,
body .agri-pmc *::after {
  animation: none !important;
  letter-spacing: 0 !important;
}

body .agri-pmc__wrap {
  width: min(1120px, calc(100% - 56px)) !important;
}

body .agri-pmc__ticker {
  display: none !important;
}

body:has(.agri-pmc) .l-header,
body:has(.agri-pmc) #header.l-header {
  border-bottom: 1px solid rgba(23, 35, 27, .12) !important;
  box-shadow: none !important;
}

body:has(.agri-pmc) .nma-site-trustbar {
  background: #183a35 !important;
  border-top-width: 3px !important;
  font-size: 12px !important;
}

body:has(.agri-pmc) .nma-site-trustbar__inner {
  min-height: 38px !important;
}

body .agri-pmc__hero {
  min-height: 650px !important;
  align-items: center !important;
  background-image:
    linear-gradient(90deg, rgba(15, 42, 36, .86) 0%, rgba(15, 42, 36, .62) 46%, rgba(15, 42, 36, .18) 100%),
    url('https://nougyou-ma-center.jp/wp-content/uploads/2026/07/nougyou-ma-hero-consultation-20260710.jpg') !important;
  background-position: center right !important;
}

body .agri-pmc__hero::after {
  height: 1px !important;
  background: rgba(255, 255, 255, .24) !important;
}

body .agri-pmc__hero-body {
  width: min(680px, 100%) !important;
  padding: 78px 0 70px !important;
}

body .agri-pmc__hero-kicker {
  gap: 6px !important;
  border-radius: 6px !important;
  border-color: rgba(255, 255, 255, .26) !important;
  background: rgba(255, 255, 255, .10) !important;
  color: #f7f8f4 !important;
  padding: 9px 12px !important;
  font-size: .88rem !important;
}

body .agri-pmc__hero-kicker::before {
  display: none !important;
}

body .agri-pmc__hero h1 {
  max-width: 690px !important;
  margin: 24px 0 18px !important;
  font-family: inherit !important;
  font-size: clamp(2.5rem, 4.1vw, 4.1rem) !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .24) !important;
}

body .agri-pmc__hero p {
  max-width: 670px !important;
  margin-bottom: 24px !important;
  font-size: 1.03rem !important;
  line-height: 1.9 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .24) !important;
}

body .agri-pmc__hero-contact {
  display: none !important;
}

body .agri-pmc__hero-panel {
  max-width: 760px !important;
  margin-top: 26px !important;
  gap: 12px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body .agri-pmc__hero-card {
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .10) !important;
  padding: 16px !important;
}

body .agri-pmc__btn {
  min-height: 48px !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  transform: none !important;
}

body .agri-pmc__btn:hover {
  transform: none !important;
}

body .agri-pmc__btn--primary {
  background: #0f5f64 !important;
  border-color: #0f5f64 !important;
}

body .agri-pmc__section,
body .agri-pmc__dense,
body .agri-pmc__expert,
body .agri-pmc__fee-zero,
body .agri-pmc__seller-zero {
  padding: clamp(58px, 6vw, 78px) 0 !important;
  border-top: 1px solid var(--line) !important;
  background: #f4f7f1 !important;
}

body .agri-pmc__section--ivory,
body .agri-pmc__dense.agri-pmc__section--ivory {
  background: #eef4ed !important;
}

body .agri-pmc__section--navy,
body .agri-pmc__dense.agri-pmc__section--navy {
  background: #edf4f0 !important;
  color: var(--text) !important;
}

body .agri-pmc__section--navy .agri-pmc__title,
body .agri-pmc__section--navy h2 {
  color: var(--text) !important;
}

body .agri-pmc__section--navy .agri-pmc__lead {
  color: var(--muted) !important;
}

body .agri-pmc__eyebrow {
  color: #6e5a2e !important;
  font-size: .82rem !important;
  margin-bottom: 10px !important;
}

body .agri-pmc__title {
  max-width: 920px !important;
  margin-bottom: 16px !important;
  font-size: clamp(1.55rem, 2.55vw, 2.5rem) !important;
  line-height: 1.32 !important;
  color: var(--text) !important;
}

body .agri-pmc__lead {
  max-width: 820px !important;
  margin-bottom: 26px !important;
  color: var(--muted) !important;
  line-height: 1.9 !important;
}

body :where(
  .agri-pmc__card,
  .agri-pmc__stat,
  .agri-pmc__step,
  .agri-pmc__mini,
  .agri-pmc__metric,
  .agri-pmc__route,
  .agri-pmc__material,
  .agri-pmc__industry,
  .agri-pmc__expert-card,
  .agri-pmc__fee-compare,
  .agri-pmc__seller-zero-row,
  .agri-pmc__faq details
) {
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

body :where(.agri-pmc__card, .agri-pmc__route, .agri-pmc__mini, .agri-pmc__metric, .agri-pmc__material):hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: #cbd8cf !important;
}

body .agri-pmc__icon,
body .agri-pmc__mini b,
body .agri-pmc__expert-card h3 span,
body .agri-pmc__step b {
  border-radius: 6px !important;
  background: #edf4ec !important;
  color: var(--forest) !important;
}

body :where(.agri-pmc__media, .agri-pmc__photo, .agri-pmc__industries-visual, .agri-pmc__network-band, .agri-pmc__route-visual, .agri-pmc__process-visual, .agri-pmc__mobile-guide-image, .agri-pmc__assurance-image) {
  border-radius: 6px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body :where(.agri-pmc__media img, .agri-pmc__photo img, .agri-pmc__industries-visual img, .agri-pmc__network-band img) {
  transform: none !important;
  transition: none !important;
}

body .agri-pmc__network-band {
  color: var(--text) !important;
}

body .agri-pmc__network-band::before {
  display: none !important;
}

body .agri-pmc__network-band img {
  opacity: 1 !important;
}

body .agri-pmc__network-copy {
  position: static !important;
  background: #fff !important;
  color: var(--text) !important;
  padding: 20px 22px !important;
  border-top: 1px solid var(--line) !important;
}

body .agri-pmc__network-copy span {
  color: var(--muted) !important;
}

body .agri-pmc__cta {
  background: #183a35 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

body:has(.agri-pmc) .nma-site-footer {
  background: #183a35 !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: none !important;
}

body:has(.agri-pmc) .nma-site-footer__contact,
body:has(.agri-pmc) .nma-site-footer__badge {
  border-radius: 6px !important;
  box-shadow: none !important;
}

@media (max-width: 960px) {
  body .agri-pmc__wrap {
    width: min(100% - 36px, 1120px) !important;
  }

  body .agri-pmc__hero {
    min-height: 760px !important;
    align-items: flex-end !important;
    background-image:
      linear-gradient(180deg, rgba(15, 42, 36, .28) 0%, rgba(15, 42, 36, .78) 48%, rgba(15, 42, 36, .94) 100%),
      url('https://nougyou-ma-center.jp/wp-content/uploads/2026/07/nougyou-ma-hero-consultation-20260710.jpg') !important;
    background-position: 58% top !important;
  }

  body .agri-pmc__hero-body {
    padding: 108px 0 34px !important;
  }

  body .agri-pmc__hero h1 {
    font-size: clamp(2rem, 8.2vw, 2.85rem) !important;
    line-height: 1.28 !important;
  }

  body .agri-pmc__hero-panel {
    display: none !important;
  }

  body .agri-pmc__section,
  body .agri-pmc__dense,
  body .agri-pmc__expert,
  body .agri-pmc__fee-zero,
  body .agri-pmc__seller-zero {
    padding: 52px 0 !important;
  }
}

@media (max-width: 640px) {
  body .agri-pmc__wrap {
    width: min(100% - 30px, 1120px) !important;
  }

  body .agri-pmc__hero {
    min-height: 720px !important;
  }

  body .agri-pmc__hero p {
    font-size: .95rem !important;
    line-height: 1.84 !important;
  }

  body .agri-pmc__buttons {
    gap: 9px !important;
  }
}
/* Append after the existing common voices stylesheet. Color roles only. */
html body #ma-owner-voices#ma-owner-voices {
  --voice-ink: #132c46;
  --voice-muted: #526171;
  --voice-line: #d6dde5;
  --voice-paper: #f3f5f7;
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
  background-color: #f3f5f7 !important;
}

html body #ma-owner-voices#ma-owner-voices h2,
html body #ma-owner-voices#ma-owner-voices h3 {
  color: #132c46 !important;
  -webkit-text-fill-color: #132c46 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-kicker,
html body #ma-owner-voices#ma-owner-voices .ma-voices-intro,
html body #ma-owner-voices#ma-owner-voices .ma-voice-topic,
html body #ma-owner-voices#ma-owner-voices .ma-voices-note {
  color: #526171 !important;
  -webkit-text-fill-color: #526171 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voice-card {
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
  background-color: #ffffff !important;
  border-color: #d6dde5 !important;
}

html body #ma-owner-voices#ma-owner-voices blockquote,
html body #ma-owner-voices#ma-owner-voices blockquote p {
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #132c46 !important;
  border-color: #132c46 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #1e4264 !important;
  border-color: #1e4264 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline-color: #8a631f;
}

nav#gnav#gnav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
nav#gnav#gnav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
nav#gnav#gnav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
nav#gnav#gnav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']) > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
nav#gnav#gnav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):hover > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
nav#gnav#gnav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):focus-visible > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#header#header#header#header div.l-header__inner.l-container a.nma-header-actions__phone[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#header#header#header#header div.l-header__inner.l-container a.nma-header-actions__phone[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#header#header#header#header div.l-header__inner.l-container a.nma-header-actions__phone[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#fix_header#fix_header#fix_header#fix_header div.l-fixHeader__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#fix_header#fix_header#fix_header#fix_header div.l-fixHeader__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#fix_header#fix_header#fix_header#fix_header div.l-fixHeader__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#fix_header#fix_header#fix_header#fix_header div.l-fixHeader__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']) > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#fix_header#fix_header#fix_header#fix_header div.l-fixHeader__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):hover > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#fix_header#fix_header#fix_header#fix_header div.l-fixHeader__gnav.c-gnavWrap a:not([class]):is([href='https://nougyou-ma-center.jp/contact/'],[href^='https://nougyou-ma-center.jp/contact/?']):focus-visible > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }

