
/* Codex iryoukiki archive excerpt cleanup 2026-07-04 */
#body_wrap.archive .p-postList__excerpt,
#body_wrap.category .p-postList__excerpt {
  display: none !important;
}

#body_wrap.archive .p-postList__title,
#body_wrap.category .p-postList__title {
  margin-bottom: .35em;
}

/* Codex iryoukiki contrast fixes 2026-08-24. */
#home .mmhp-hero-fee-badge b,
#home .mmhp-industry-reality__ledger-copy > span,
#home .mmhp-fee-comparison__intro span,
#home .mmhp-fee-comparison__all-zero,
#home .mmhp-fee-comparison__vs {
  color: #9f4729 !important;
}
#home .mmc2__button--primary,
#home .mmhp-industry-reality__cta,
#wpcf7-f1096-p16-o1 .mmc-required,
#wpcf7-f1096-p16-o1 .wpcf7-submit,
#wpcf7-f1097-p18-o1 .mmc-required,
#wpcf7-f1097-p18-o1 .wpcf7-submit {
  background-color: #9f4729 !important;
  color: #ffffff !important;
}
#home .mmhp-hero-panel__hours {
  color: #536470 !important;
}
.c-pagination a.page-numbers:not(.current) {
  background: #e4e9ed !important;
  color: #1f2f38 !important;
}
.c-pagination .c-pagination__dot {
  color: #4b5965 !important;
}
.c-pagination a.page-numbers:not(.current):hover,
.c-pagination a.page-numbers:not(.current):focus-visible {
  background: #d2dbe0 !important;
  color: #04384c !important;
}

/* Codex iryoukiki homepage specificity override 2026-08-24. */
html body #body_wrap.page-id-14 #home .mmhp-hero-fee-badge b,
html body #body_wrap.page-id-14 #home .mmhp-industry-reality__ledger-copy > span,
html body #body_wrap.page-id-14 #home .mmhp-fee-comparison__intro span,
html body #body_wrap.page-id-14 #home .mmhp-fee-comparison__all-zero,
html body #body_wrap.page-id-14 #home .mmhp-fee-comparison__vs {
  color: #9f4729 !important;
}
html body #body_wrap.page-id-14 #home .mmc2__button--primary,
html body #body_wrap.page-id-14 #home .mmhp-industry-reality__cta {
  background-color: #9f4729 !important;
  border-color: #9f4729 !important;
  color: #ffffff !important;
}
html body #body_wrap.page-id-14 #home .mmhp-hero-panel__hours {
  color: #536470 !important;
}

/* Iryoukiki Inquiry Form UI refresh 2026-08-26 */
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form{
  gap:18px!important;
  padding:28px!important;
  border:1px solid #d7e0e5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#203744!important;
  box-shadow:none!important;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form select,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form textarea{
  font-family:inherit!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:18px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__grid>*{
  grid-column:1!important;
  min-width:0!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form p,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__radio{
  margin:0!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form label,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__radio>span,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form legend{
  color:#243d4c!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.55!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-required{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:2px 8px!important;
  border-radius:4px!important;
  background:#173d56!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.4!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .wpcf7-form-control-wrap{
  display:block!important;
  width:100%!important;
  margin-top:8px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="text"],
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="email"],
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="tel"],
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form select,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form textarea{
  display:block!important;
  width:100%!important;
  min-height:56px!important;
  padding:14px 16px!important;
  border:1px solid #7f969f!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#18313f!important;
  font-size:16px!important;
  line-height:1.5!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form textarea{
  min-height:160px!important;
  resize:vertical!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input::placeholder,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form textarea::placeholder{
  color:#6d7e87!important;
  opacity:1!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="text"]:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="email"]:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="tel"]:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form select:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form textarea:focus{
  border-color:#1d5b78!important;
  background:#fff!important;
  outline:none!important;
  box-shadow:0 0 0 4px rgba(29,91,120,.14)!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__radio,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__checks,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__consent,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__privacy{
  padding:16px!important;
  border:1px solid #d7e0e5!important;
  border-left:4px solid #173d56!important;
  border-radius:8px!important;
  background:#f4f7f8!important;
  color:#2b424f!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__checks p,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__consent p,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__privacy p{
  margin:0!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__radio .wpcf7-form-control,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__checks .wpcf7-form-control,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__consent .wpcf7-form-control,
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__privacy .wpcf7-form-control{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form .wpcf7-list-item{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form .wpcf7-list-item label{
  display:flex!important;
  width:100%!important;
  min-height:52px!important;
  align-items:flex-start!important;
  gap:10px!important;
  padding:12px 14px!important;
  border:1px solid #cbd7dc!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#294553!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.5!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form .wpcf7-list-item label:has(input:checked){
  border-color:#173d56!important;
  background:#eef3f5!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="radio"],
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="checkbox"]{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  margin:0!important;
  accent-color:#173d56!important;
  flex:0 0 24px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__consent>p:first-child{
  margin-bottom:12px!important;
  color:#405965!important;
  font-size:15px!important;
  line-height:1.7!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__privacy a{
  color:#164b68!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__submit{
  text-align:center!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="submit"]{
  width:min(100%,420px)!important;
  min-width:0!important;
  min-height:58px!important;
  padding:0 24px!important;
  border:1px solid #173d56!important;
  border-radius:8px!important;
  background:#173d56!important;
  background-image:none!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="submit"]:hover{
  border-color:#0e2e43!important;
  background:#0e2e43!important;
  color:#fff!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="submit"]:disabled{
  border-color:#687984!important;
  background:#687984!important;
  color:#fff!important;
  opacity:1!important;
  cursor:not-allowed!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input.wpcf7-form-control:is(.wpcf7-not-valid,[aria-invalid="true"]),
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form select.wpcf7-form-control:is(.wpcf7-not-valid,[aria-invalid="true"]),
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form textarea.wpcf7-form-control:is(.wpcf7-not-valid,[aria-invalid="true"]){
  border-color:#9b2c2c!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .wpcf7-not-valid-tip{
  color:#9b2c2c!important;
  font-size:14px!important;
  font-weight:700!important;
}
@media(max-width:760px){
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content .mmc-sub__form-body{
    padding-right:0!important;
    padding-left:0!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form{
    padding:16px!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__grid{
    gap:14px!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__radio,
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__checks,
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__consent,
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form__privacy{
    padding:12px!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-16,.page-id-18) #main_content#main_content :is(#wpcf7-f1096-p16-o1,#wpcf7-f1097-p18-o1) .mmc-contact-form input[type="submit"]{
    width:100%!important;
  }
}
/* Keep the existing menu close target fully inside the visible edge. */
@media (max-width:1024px){
html body #body_wrap.home #sp_menu > .p-spMenu__inner > .p-spMenu__closeBtn{width:72px!important;right:16px!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;
}

/* White footer base integrates the existing logo on every page. */
html body #footer.l-footer,
html body #footer .mmfp-footer,
html body #footer .mmfp-footer__bottom {
  background: #ffffff !important;
}
html body #footer .mmfp-footer__grid,
html body #footer .mmfp-footer__grid h2,
html body #footer .mmfp-footer__grid p,
html body #footer .mmfp-footer__grid span,
html body #footer .mmfp-footer__grid a,
html body #footer .mmfp-footer__bottom,
html body #footer .mmfp-footer__bottom span,
html body #footer .mmfp-footer__bottom a {
  color: #16394b !important;
  -webkit-text-fill-color: #16394b !important;
}
html body #footer .mmfp-footer__contact-row,
html body #footer .mmfp-footer__badges span {
  background: #f0f6f7 !important;
  border-color: #d3e2e5 !important;
}
html body #footer .mmfp-footer__heading,
html body #footer .mmfp-footer__bottom {
  border-color: #d3e2e5 !important;
}
html body #footer .mmfp-footer__cta {
  background: #102e42 !important;
}
html body #footer .mmfp-footer__grid a:hover,
html body #footer .mmfp-footer__bottom a:hover {
  color: #076b66 !important;
  -webkit-text-fill-color: #076b66 !important;
}

html body #body_wrap #footer#footer.l-footer { background: #ffffff !important; }
html body #footer .mmfp-footer::before { background: none !important; }

