@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.23
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Header trust polish - 2026-06 */
:root {
  --cse-deep: #07383c;
  --cse-deep-2: #0f4b49;
  --cse-ink: #15211f;
  --cse-muted: #526660;
  --cse-line: rgba(7, 56, 60, .14);
  --cse-gold: #b8944a;
  --cse-gold-2: #d2b66a;
  --cse-paper: #fbfcfa;
}

.cse-trustbar {
  background: linear-gradient(90deg, var(--cse-deep) 0%, var(--cse-deep-2) 62%, #123c3b 100%);
  color: #fff;
  border-bottom: 1px solid rgba(210, 182, 106, .32);
}

.cse-trustbar__inner {
  max-width: 1120px;
  min-height: 40px;
  margin: 0 auto;
  padding: 7px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.cse-trustbar__inner span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.cse-trustbar__inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cse-gold-2);
  box-shadow: 0 0 0 3px rgba(210, 182, 106, .16);
  flex: 0 0 auto;
}

#header.l-header {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(7, 56, 60, .1);
  box-shadow: 0 12px 30px rgba(7, 56, 60, .08);
}

#header .l-header__bar {
  background: linear-gradient(90deg, #f7faf8 0%, #fff 48%, #f4f7f4 100%);
  border-bottom: 1px solid rgba(7, 56, 60, .09);
}

#header .l-header__barInner {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #243d38;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

#header .l-header__barInner::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--cse-gold);
  box-shadow: 0 0 0 4px rgba(184, 148, 74, .13);
}

#header .l-header__inner {
  min-height: 92px;
  gap: 28px;
}

#header .l-header__logo {
  padding: 14px 0;
  margin-right: 8px;
  flex: 0 0 348px;
}

#header .l-header__logo img,
#fix_header .l-fixHeader__logo img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#header .l-header__logo img {
  max-height: 64px;
}

#gnav .c-gnav {
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

#gnav .c-gnav > .menu-item > a,
#fix_header .c-gnav > .menu-item > a {
  min-height: 44px;
  height: auto;
  padding: 0 11px;
  border-radius: 4px;
  color: #243531;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#gnav .c-gnav > .menu-item > a:hover,
#fix_header .c-gnav > .menu-item > a:hover,
#gnav .c-gnav > .current-menu-item > a:not([href*="/contact/"]),
#fix_header .c-gnav > .current-menu-item > a:not([href*="/contact/"]) {
  color: var(--cse-deep);
  background: rgba(7, 56, 60, .07);
}

#gnav .c-gnav > .menu-item > a[href*="/contact/"],
#fix_header .c-gnav > .menu-item > a[href*="/contact/"] {
  min-width: 128px;
  min-height: 52px;
  margin-left: 10px;
  padding: 0 18px;
  justify-content: center;
  color: #161108;
  background: linear-gradient(135deg, var(--cse-gold-2) 0%, var(--cse-gold) 48%, #a77d32 100%);
  border: 1px solid rgba(126, 90, 31, .25);
  box-shadow: 0 12px 24px rgba(184, 148, 74, .22);
}

#gnav .c-gnav > .menu-item > a[href*="/contact/"]:hover,
#fix_header .c-gnav > .menu-item > a[href*="/contact/"]:hover {
  color: #0f0d07;
  background: linear-gradient(135deg, #dec47a 0%, #bf9840 100%);
  box-shadow: 0 14px 26px rgba(184, 148, 74, .28);
  transform: translateY(-1px);
}

#fix_header.l-fixHeader {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(7, 56, 60, .1);
  box-shadow: 0 10px 24px rgba(7, 56, 60, .1);
}

#fix_header .c-gnav > .menu-item > a[href*="/contact/"] {
  min-height: 44px;
}

@media (max-width: 1199px) and (min-width: 960px) {
  #header .l-header__inner {
    gap: 18px;
  }

  #header .l-header__logo {
    flex-basis: 300px;
  }

  #gnav .c-gnav > .menu-item > a,
  #fix_header .c-gnav > .menu-item > a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }

  #gnav .c-gnav > .menu-item > a[href*="/contact/"],
  #fix_header .c-gnav > .menu-item > a[href*="/contact/"] {
    min-width: 116px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 959px) {
  .cse-trustbar {
    border-top: 4px solid var(--cse-gold);
  }

  .cse-trustbar__inner {
    min-height: 50px;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 14px;
    overflow-x: auto;
    font-size: 12px;
    scrollbar-width: none;
  }

  .cse-trustbar__inner::-webkit-scrollbar {
    display: none;
  }

  .cse-trustbar__inner span {
    flex: 0 0 auto;
    gap: 6px;
  }

  .cse-trustbar__inner span:nth-child(n+3) {
    display: none;
  }

  #header.l-header {
    background: #fff;
    border-bottom: 1px solid rgba(7, 56, 60, .12);
    box-shadow: 0 8px 20px rgba(7, 56, 60, .08);
  }

  #header .l-header__inner {
    min-height: 66px;
    padding: 0 10px;
  }

  #header .l-header__logo {
    flex: 1 1 auto;
    max-width: calc(100vw - 148px);
    min-width: 0;
    margin: 0 auto;
    padding: 8px 0;
  }

  #header .l-header__logo img {
    max-height: 48px;
  }

  #header .l-header__menuBtn,
  #header .l-header__customBtn {
    flex: 0 0 48px;
    min-width: 48px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #header .l-header__menuBtn > .c-iconBtn,
  #header .l-header__customBtn > .c-iconBtn {
    width: 48px;
    height: 52px;
    justify-content: center;
  }

  #header .l-header__menuBtn {
    border-right: 1px solid rgba(7, 56, 60, .1);
  }

  #header .l-header__customBtn {
    border-left: 1px solid rgba(7, 56, 60, .1);
  }

  .p-spMenu__inner {
    background: var(--cse-paper);
  }

  .p-spMenu__nav .c-spnav > li > a {
    min-height: 52px;
    padding: 14px 20px;
    color: #1a2d2a;
    font-weight: 800;
    border-bottom: 1px solid rgba(7, 56, 60, .09);
  }

  .p-spMenu__nav .c-spnav > li:last-child > a {
    min-height: 52px;
    margin: 14px 16px;
    justify-content: center;
    color: #161108;
    background: linear-gradient(135deg, var(--cse-gold-2) 0%, var(--cse-gold) 100%);
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(184, 148, 74, .22);
  }
}

/* Footer trust polish - 2026-06 */
.cse-brand-footer {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #052f33 0%, var(--cse-deep) 48%, #0d4a47 100%);
  border-top: 1px solid rgba(210, 182, 106, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.cse-brand-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(210, 182, 106, .18), rgba(210, 182, 106, 0) 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 15px);
}

.cse-brand-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 48px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: start;
}

.cse-brand-footer__lead {
  max-width: 760px;
  padding-left: 24px;
  border-left: 3px solid var(--cse-gold-2);
}

.cse-brand-footer__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #d8c28d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cse-brand-footer__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: .9;
}

.cse-brand-footer__lead h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.52;
}

.cse-brand-footer__lead p:not(.cse-brand-footer__eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(244, 250, 247, .88);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 2;
}

.cse-brand-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cse-brand-footer__btn {
  min-height: 52px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cse-brand-footer__btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.cse-brand-footer__btn--gold {
  color: #161108;
  background: linear-gradient(135deg, var(--cse-gold-2) 0%, var(--cse-gold) 52%, #a77d32 100%);
  border: 1px solid rgba(126, 90, 31, .28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .18);
}

.cse-brand-footer__btn--outline {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .46);
}

.cse-brand-footer__btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.cse-brand-footer__btn--gold:hover {
  color: #0f0d07;
  background: linear-gradient(135deg, #dec47a 0%, #bf9840 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .22);
}

.cse-brand-footer__btn--outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .72);
}

.cse-brand-footer__legal {
  padding: 26px 26px 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .055));
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
}

.cse-brand-footer__legal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.cse-brand-footer__legal-title::before {
  content: "";
  width: 8px;
  height: 18px;
  border-radius: 2px;
  background: var(--cse-gold-2);
}

.cse-brand-footer__legal ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cse-brand-footer__legal li + li {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.cse-brand-footer__legal a {
  min-height: 38px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.cse-brand-footer__legal a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cse-gold-2);
  flex: 0 0 auto;
  opacity: .9;
}

.cse-brand-footer__legal a:hover {
  color: #fff;
  text-decoration: none;
}

#footer.l-footer {
  color: #213733;
  background: linear-gradient(180deg, #f7faf8 0%, #eef5f2 100%);
  border-top: 1px solid rgba(7, 56, 60, .12);
}

#footer .l-footer__foot {
  padding: 26px 0 22px;
}

#footer .l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 0 0 14px;
}

#footer .l-footer__nav li {
  margin: 0;
  padding: 0;
}

#footer .l-footer__nav a {
  min-height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #243531;
  background: #fff;
  border: 1px solid rgba(7, 56, 60, .14);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

#footer .l-footer__nav a:hover,
#footer .l-footer__nav .current-menu-item > a {
  color: var(--cse-deep);
  background: rgba(7, 56, 60, .07);
  border-color: rgba(7, 56, 60, .24);
  text-decoration: none;
}

#footer .copyright {
  margin: 2px 0 0;
  color: #667873;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}

.cse-legal-footer {
  padding: 15px 48px 17px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: rgba(255, 255, 255, .84);
  background: #052b2f;
  border-top: 1px solid rgba(210, 182, 106, .18);
}

.cse-legal-footer a {
  position: relative;
  padding-left: 12px;
  color: rgba(244, 250, 247, .86);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

.cse-legal-footer a::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cse-gold-2);
}

.cse-legal-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 959px) {
  .cse-brand-footer__inner {
    padding: 46px 20px 42px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cse-brand-footer__lead {
    padding-left: 16px;
    border-left-width: 2px;
  }

  .cse-brand-footer__eyebrow {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 11px;
  }

  .cse-brand-footer__eyebrow::before {
    width: 28px;
  }

  .cse-brand-footer__lead h2 {
    font-size: 24px;
    line-height: 1.58;
  }

  .cse-brand-footer__lead p:not(.cse-brand-footer__eyebrow) {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  .cse-brand-footer__actions {
    margin-top: 24px;
    flex-direction: column;
  }

  .cse-brand-footer__btn {
    width: 100%;
    min-height: 52px;
  }

  .cse-brand-footer__legal {
    padding: 20px;
    border-radius: 6px;
  }

  .cse-brand-footer__legal-title {
    font-size: 16px;
  }

  .cse-brand-footer__legal a {
    min-height: 40px;
    font-size: 13.5px;
  }

  #footer .l-footer__foot {
    padding: 22px 0 20px;
  }

  #footer .l-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 18px 16px;
  }

  #footer .l-footer__nav a {
    min-height: 42px;
    padding: 0 8px;
    font-size: 12px;
  }

  .cse-legal-footer {
    padding: 16px 18px 20px;
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .cse-legal-footer a {
    font-size: 12px;
  }
}

/* Footer trust polish specificity - 2026-06 */
body .cse-brand-footer.cse-brand-footer--home-minimal {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #052f33 0%, var(--cse-deep) 48%, #0d4a47 100%);
  border-top: 1px solid rgba(210, 182, 106, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

body .cse-brand-footer.cse-brand-footer--home-minimal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(210, 182, 106, .18), rgba(210, 182, 106, 0) 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 15px);
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 48px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: start;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__lead {
  max-width: 760px;
  padding-left: 24px;
  border-left: 3px solid var(--cse-gold-2);
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #d8c28d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: .9;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__lead h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.52;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__lead p:not(.cse-brand-footer__eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(244, 250, 247, .88);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 2;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn {
  min-height: 52px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn--gold {
  color: #161108;
  background: linear-gradient(135deg, var(--cse-gold-2) 0%, var(--cse-gold) 52%, #a77d32 100%);
  border: 1px solid rgba(126, 90, 31, .28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .18);
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn--outline {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .46);
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal {
  padding: 26px 26px 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .055));
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal-title::before {
  content: "";
  width: 8px;
  height: 18px;
  border-radius: 2px;
  background: var(--cse-gold-2);
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal li + li {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal a {
  min-height: 38px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cse-gold-2);
  flex: 0 0 auto;
  opacity: .9;
}

body .cse-legal-footer {
  padding: 15px 48px 17px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: rgba(255, 255, 255, .84);
  background: #052b2f;
  border-top: 1px solid rgba(210, 182, 106, .18);
}

body .cse-legal-footer a {
  position: relative;
  padding-left: 12px;
  color: rgba(244, 250, 247, .86);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

body .cse-legal-footer a::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cse-gold-2);
}

body .cse-legal-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 959px) {
  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__inner {
    padding: 46px 20px 42px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__lead {
    padding-left: 16px;
    border-left-width: 2px;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__eyebrow {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 11px;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__eyebrow::before {
    width: 28px;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__lead h2 {
    font-size: 24px;
    line-height: 1.58;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__lead p:not(.cse-brand-footer__eyebrow) {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__actions {
    margin-top: 24px;
    flex-direction: column;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn {
    width: 100%;
    min-height: 52px;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal {
    padding: 20px;
    border-radius: 6px;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal-title {
    font-size: 16px;
  }

  body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__legal a {
    min-height: 40px;
    font-size: 13.5px;
  }

  body .cse-legal-footer {
    padding: 16px 18px 20px;
    justify-content: flex-start;
    gap: 8px 12px;
  }

  body .cse-legal-footer a {
    font-size: 12px;
  }
}

/* Footer legal strip visibility fix - 2026-06 */
body .cse-legal-footer {
  background: #052b2f !important;
  border-top: 1px solid rgba(210, 182, 106, .18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

body .cse-legal-footer a {
  color: rgba(244, 250, 247, .88) !important;
}

body .cse-legal-footer a:hover {
  color: #fff !important;
}

/* Contrast separation guard - 2026-06 */
#gnav .c-gnav > .menu-item > a:hover,
#fix_header .c-gnav > .menu-item > a:hover,
#gnav .c-gnav > .current-menu-item > a:not([href*="/contact/"]),
#fix_header .c-gnav > .current-menu-item > a:not([href*="/contact/"]),
#footer .l-footer__nav a:hover,
#footer .l-footer__nav .current-menu-item > a {
  color: #161108 !important;
  background: #f5ead2 !important;
  border-color: rgba(184, 148, 74, .32) !important;
}

#gnav .c-gnav > .menu-item > a[href*="/contact/"],
#fix_header .c-gnav > .menu-item > a[href*="/contact/"],
.gmh-btn.gmh-btn--gold,
.cse-brand-footer__btn.cse-brand-footer__btn--gold,
body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn--gold {
  color: #111 !important;
  background: linear-gradient(135deg, #dec47a 0%, #b8944a 52%, #966f2b 100%) !important;
  border-color: rgba(87, 58, 18, .34) !important;
}

.gmh-btn.gmh-btn--white,
.gmh-btn.gmh-btn--ghost,
.cse-brand-footer__btn.cse-brand-footer__btn--outline,
body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn--outline {
  color: #07383c !important;
  background: #fff !important;
  border-color: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}

.gmh-btn.gmh-btn--white:hover,
.gmh-btn.gmh-btn--ghost:hover,
.cse-brand-footer__btn.cse-brand-footer__btn--outline:hover,
body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn--outline:hover {
  color: #111 !important;
  background: #f5ead2 !important;
  border-color: rgba(184, 148, 74, .42) !important;
}

.gmh-btn.gmh-btn--white::after,
.gmh-btn.gmh-btn--ghost::after,
.cse-brand-footer__btn.cse-brand-footer__btn--outline::after,
body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__btn--outline::after {
  border-color: currentColor !important;
}

.cse-trustbar,
.gmh-hero,
.gmh-contact,
body .cse-brand-footer.cse-brand-footer--home-minimal,
body .cse-legal-footer {
  color: #fff !important;
}

.gmh-hero p,
.gmh-contact p,
body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__lead p:not(.cse-brand-footer__eyebrow) {
  color: rgba(255, 255, 255, .92) !important;
}

body .cse-brand-footer.cse-brand-footer--home-minimal .cse-brand-footer__eyebrow,
.gmh-kicker {
  color: #d8c28d !important;
}

#footer.l-footer,
#footer .l-footer__nav a,
.l-header,
.l-header a:not([href*="/contact/"]) {
  color: #172120;
}

/* Button text contrast hard fix - 2026-06 */
body .gmh-hero .gmh-btn.gmh-btn--ghost,
body .gmh-contact .gmh-btn.gmh-btn--ghost,
body .gmh-contact .gmh-btn.gmh-btn--white,
body .gmh .gmh-btn.gmh-btn--ghost,
body .gmh .gmh-btn.gmh-btn--white {
  color: #07383c !important;
  background: #fff !important;
  border-color: rgba(255, 255, 255, .94) !important;
  -webkit-text-fill-color: #07383c !important;
}

body .gmh-hero .gmh-btn.gmh-btn--ghost:hover,
body .gmh-contact .gmh-btn.gmh-btn--ghost:hover,
body .gmh-contact .gmh-btn.gmh-btn--white:hover,
body .gmh .gmh-btn.gmh-btn--ghost:hover,
body .gmh .gmh-btn.gmh-btn--white:hover {
  color: #111 !important;
  background: #f5ead2 !important;
  -webkit-text-fill-color: #111 !important;
}

/* Guideline ghost button contrast override - 2026-06 */
#body_wrap .post_content .gmh .gmh-hero .gmh-hero__copy .gmh-btns > a.gmh-btn.gmh-btn--ghost[href*="sme-ma-guideline"],
#body_wrap .post_content .gmh .gmh-btns > a.gmh-btn.gmh-btn--ghost[href*="sme-ma-guideline"],
body.home #body_wrap .gmh a.gmh-btn.gmh-btn--ghost[href*="sme-ma-guideline"] {
  color: #07383c !important;
  -webkit-text-fill-color: #07383c !important;
  background: #fff !important;
  border-color: rgba(255, 255, 255, .96) !important;
  text-shadow: none !important;
}

#body_wrap .post_content .gmh .gmh-hero .gmh-hero__copy .gmh-btns > a.gmh-btn.gmh-btn--ghost[href*="sme-ma-guideline"]::after,
#body_wrap .post_content .gmh .gmh-btns > a.gmh-btn.gmh-btn--ghost[href*="sme-ma-guideline"]::after,
body.home #body_wrap .gmh a.gmh-btn.gmh-btn--ghost[href*="sme-ma-guideline"]::after {
  border-color: #07383c !important;
}

/* Home page bright trust refinement - 2026-06 */
#body_wrap.home #content,
#body_wrap.home #main_content {
  width: 100%;
  max-width: none;
  padding: 0;
}

#body_wrap.home .l-mainContent__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

#body_wrap.home .post_content {
  padding: 0 !important;
}

#body_wrap.home .gmh {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  color: #142420;
  background: #f7fbf9;
}

#body_wrap.home .gmh > section {
  width: 100%;
  margin: 0;
}

#body_wrap.home .gmh-wrap {
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

#body_wrap.home .gmh-hero {
  position: relative;
  min-height: 720px;
  background: linear-gradient(105deg, #062d36 0%, #0c5f58 52%, #eef8f4 100%);
}

#body_wrap.home .gmh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 35, 42, .9) 0%, rgba(7, 56, 60, .76) 56%, rgba(248, 252, 250, .22) 100%);
}

#body_wrap.home .gmh-hero__photo {
  opacity: .5;
  filter: brightness(1.18) saturate(.92) contrast(1.02);
}

#body_wrap.home .gmh-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 720px;
  padding: 72px 0 48px;
  align-items: center;
}

#body_wrap.home .gmh-hero__copy {
  max-width: 670px;
  padding-left: 30px;
  border-left: 3px solid #d8c28d;
}

#body_wrap.home .gmh-hero h1 {
  max-width: 690px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.22;
  letter-spacing: 0;
}

#body_wrap.home .gmh-pill {
  max-width: 650px;
  padding: 11px 18px;
  color: #07383c;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(184, 148, 74, .24);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .12);
}

#body_wrap.home .gmh-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, .93) !important;
  font-size: 16px;
  line-height: 2;
}

#body_wrap.home .gmh-hero__side {
  gap: 14px;
}

#body_wrap.home .gmh-hero__point,
#body_wrap.home .gmh-phone {
  color: #142420;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(7, 56, 60, .13);
  border-left: 4px solid #b8944a;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

#body_wrap.home .gmh-hero__point h3 {
  color: #07383c;
}

#body_wrap.home .gmh-hero__point p,
#body_wrap.home .gmh-phone__note {
  color: #4f5f5a;
}

#body_wrap.home .gmh-proofbar {
  color: #142420;
  background: linear-gradient(180deg, #eef8f4 0%, #f9fcfa 100%);
  border-top: 1px solid rgba(7, 56, 60, .1);
  border-bottom: 1px solid rgba(7, 56, 60, .1);
}

#body_wrap.home .gmh-proofbar__inner {
  padding: 20px 0;
  gap: 14px;
  background: transparent;
}

#body_wrap.home .gmh-proof {
  color: #142420;
  background: #fff;
  border: 1px solid rgba(7, 56, 60, .12);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 56, 60, .07);
}

#body_wrap.home .gmh-section {
  padding: 76px 0;
  background: #fbfdfc;
}

#body_wrap.home .gmh-section--ivory {
  background: linear-gradient(180deg, #fffaf0 0%, #f7fbf8 100%);
}

#body_wrap.home .gmh-section--soft {
  background: linear-gradient(180deg, #edf8f4 0%, #f8fcfa 100%);
}

#body_wrap.home .gmh-section--dark {
  background: linear-gradient(135deg, #07383c 0%, #0d5b55 100%);
}

#body_wrap.home .gmh-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

#body_wrap.home .gmh-head h2 {
  margin: 0;
  color: #102723;
  font-size: clamp(30px, 3.3vw, 42px);
  line-height: 1.35;
  letter-spacing: 0;
}

#body_wrap.home .gmh-head p:not(.gmh-kicker) {
  color: #526660;
  font-weight: 700;
  line-height: 1.9;
}

#body_wrap.home .gmh-section--dark .gmh-head h2,
#body_wrap.home .gmh-section--dark .gmh-head p:not(.gmh-kicker) {
  color: #fff;
}

#body_wrap.home .gmh-kicker {
  color: #b8944a !important;
  letter-spacing: 0;
}

#body_wrap.home .gmh-section--dark .gmh-kicker,
#body_wrap.home .gmh-hero .gmh-kicker,
#body_wrap.home .gmh-cta .gmh-kicker {
  color: #f2db95 !important;
}

#body_wrap.home .gmh-card,
#body_wrap.home .gmh-fee__main,
#body_wrap.home .gmh-compare,
#body_wrap.home .gmh-route__card,
#body_wrap.home .gmh-step,
#body_wrap.home .gmh-doc,
#body_wrap.home .gmh-faq,
#body_wrap.home .gmh-service,
#body_wrap.home .gmh-process-img,
#body_wrap.home .gmh-metric {
  background: #fff;
  border: 1px solid #dce9e4;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(7, 56, 60, .08);
}

#body_wrap.home .gmh-card,
#body_wrap.home .gmh-route__card,
#body_wrap.home .gmh-service,
#body_wrap.home .gmh-doc,
#body_wrap.home .gmh-faq,
#body_wrap.home .gmh-metric {
  padding: 26px;
}

#body_wrap.home .gmh-card h3,
#body_wrap.home .gmh-route__card h3,
#body_wrap.home .gmh-service h3,
#body_wrap.home .gmh-doc h3,
#body_wrap.home .gmh-faq h3,
#body_wrap.home .gmh-step h3,
#body_wrap.home .gmh-compare h3 {
  color: #102723;
  line-height: 1.55;
}

#body_wrap.home .gmh-card p,
#body_wrap.home .gmh-route__card p,
#body_wrap.home .gmh-service p,
#body_wrap.home .gmh-doc p,
#body_wrap.home .gmh-faq p,
#body_wrap.home .gmh-step p,
#body_wrap.home .gmh-compare p,
#body_wrap.home .gmh-list li {
  color: #4f5f5a;
  line-height: 1.85;
}

#body_wrap.home .gmh-grid,
#body_wrap.home .gmh-metrics,
#body_wrap.home .gmh-docs,
#body_wrap.home .gmh-types,
#body_wrap.home .gmh-steps {
  gap: 16px;
}

#body_wrap.home .gmh-zero-banner {
  color: #142420;
  background: linear-gradient(135deg, #fff 0%, #fff8e4 100%);
  border: 1px solid rgba(184, 148, 74, .28);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(184, 148, 74, .12);
}

#body_wrap.home .gmh-zero-banner strong,
#body_wrap.home .gmh-zero-banner p,
#body_wrap.home .gmh-zero-banner span {
  color: #142420;
}

#body_wrap.home .gmh-fee__tag {
  color: #b18435;
}

#body_wrap.home .gmh-compare--accent {
  background: linear-gradient(135deg, #fff 0%, #fff8e4 100%);
  border-color: rgba(184, 148, 74, .28);
}

#body_wrap.home .gmh-step__num {
  color: #fff;
  background: #07383c;
  box-shadow: 0 8px 18px rgba(7, 56, 60, .18);
}

#body_wrap.home .gmh-section--dark .gmh-type {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
}

#body_wrap.home .gmh-section--dark .gmh-type strong,
#body_wrap.home .gmh-section--dark .gmh-type span,
#body_wrap.home .gmh-section--dark .gmh-type p {
  color: #fff;
}

#body_wrap.home .gmh-cta {
  background: linear-gradient(135deg, #07323e 0%, #0c5c50 100%);
}

#body_wrap.home .gmh-cta__inner {
  align-items: center;
}

#body_wrap.home .gmh-btn {
  border-radius: 5px;
  box-shadow: 0 12px 24px rgba(7, 56, 60, .12);
}

#body_wrap.home .gmh-btn--gold {
  color: #111 !important;
  background: linear-gradient(135deg, #dec47a 0%, #b8944a 52%, #966f2b 100%) !important;
}

#body_wrap.home .gmh-btn--white,
#body_wrap.home .gmh-btn--ghost {
  color: #07383c !important;
  background: #fff !important;
  border-color: rgba(7, 56, 60, .14) !important;
  -webkit-text-fill-color: #07383c !important;
}

@media (min-width: 960px) {
  #body_wrap.home .gmh-split,
  #body_wrap.home .gmh-fee,
  #body_wrap.home .gmh-route,
  #body_wrap.home .gmh-cta__inner {
    gap: 28px;
  }
}

@media (max-width: 959px) {
  #body_wrap.home .gmh-wrap {
    width: min(100% - 28px, 1120px);
  }

  #body_wrap.home .gmh-hero {
    min-height: auto;
  }

  #body_wrap.home .gmh-hero__inner {
    min-height: auto;
    padding: 48px 0 42px;
  }

  #body_wrap.home .gmh-hero__copy {
    padding-left: 16px;
    border-left-width: 2px;
  }

  #body_wrap.home .gmh-hero h1 {
    font-size: 31px;
    line-height: 1.42;
  }

  #body_wrap.home .gmh-lead {
    font-size: 14.5px;
    line-height: 1.95;
  }

  #body_wrap.home .gmh-pill {
    padding: 10px 14px;
  }

  #body_wrap.home .gmh-hero__side {
    margin-top: 26px;
  }

  #body_wrap.home .gmh-proofbar__inner {
    padding: 14px 0;
  }

  #body_wrap.home .gmh-section {
    padding: 54px 0;
  }

  #body_wrap.home .gmh-head {
    display: block;
    margin-bottom: 24px;
  }

  #body_wrap.home .gmh-head h2 {
    font-size: 26px;
    line-height: 1.5;
  }

  #body_wrap.home .gmh-card,
  #body_wrap.home .gmh-route__card,
  #body_wrap.home .gmh-service,
  #body_wrap.home .gmh-doc,
  #body_wrap.home .gmh-faq,
  #body_wrap.home .gmh-metric {
    padding: 22px;
  }

  #body_wrap.home .gmh-btns {
    gap: 10px;
  }

  #body_wrap.home .gmh-btn {
    width: 100%;
    min-height: 54px;
  }
}

/* Home hero readability fix - 2026-06 */
#body_wrap.home .gmh-hero h1 {
  font-size: clamp(38px, 4.45vw, 56px);
  line-height: 1.2;
}

#body_wrap.home .gmh-hero__inner {
  min-height: 680px;
  padding-top: 58px;
  padding-bottom: 42px;
}

#body_wrap.home .gmh-hero {
  min-height: 680px;
}

#body_wrap.home .gmh-hero .gmh-hero__point,
#body_wrap.home .gmh-hero .gmh-phone {
  background: rgba(255, 255, 255, .96) !important;
  color: #142420 !important;
  -webkit-text-fill-color: initial !important;
}

#body_wrap.home .gmh-hero .gmh-hero__point h3,
#body_wrap.home .gmh-hero .gmh-phone strong,
#body_wrap.home .gmh-hero .gmh-phone__label {
  color: #07383c !important;
  -webkit-text-fill-color: #07383c !important;
}

#body_wrap.home .gmh-hero .gmh-hero__point p,
#body_wrap.home .gmh-hero .gmh-phone__note {
  color: #4f5f5a !important;
  -webkit-text-fill-color: #4f5f5a !important;
}

#body_wrap.home .gmh-hero .gmh-phone__number {
  color: #0b5f82 !important;
  -webkit-text-fill-color: #0b5f82 !important;
}

@media (max-width: 959px) {
  #body_wrap.home .gmh-hero,
  #body_wrap.home .gmh-hero__inner {
    min-height: auto;
  }

  #body_wrap.home .gmh-hero h1 {
    font-size: 29px;
    line-height: 1.42;
  }
}

/* Home zero banner contrast fix - 2026-06 */
#body_wrap.home .gmh-zero-banner,
.home .gmh-zero-banner {
  color: #142420 !important;
  background: linear-gradient(135deg, #ffffff 0%, #fff8e4 100%) !important;
}
#body_wrap.home .gmh-zero-banner b,
.home .gmh-zero-banner b {
  color: #0b3936 !important;
  text-shadow: none !important;
}
#body_wrap.home .gmh-zero-banner strong,
.home .gmh-zero-banner strong {
  color: #102f2d !important;
}
#body_wrap.home .gmh-zero-banner small,
.home .gmh-zero-banner small {
  color: #4c5f5a !important;
  opacity: 1 !important;
}

/* Home soft lead contrast fix - 2026-06 */
#body_wrap.home .gmh .gmh-section:not(.gmh-section--dark) .gmh-lead,
.home .gmh .gmh-section:not(.gmh-section--dark) .gmh-lead {
  color: #425650 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
#body_wrap.home .gmh .gmh-section--dark .gmh-lead,
.home .gmh .gmh-section--dark .gmh-lead {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Sitewide spacing and media stability - 2026-06 */
#body_wrap .gma-subpage .gma-subhero,
#body_wrap .gma-subpage .gma-section,
#body_wrap .gma-subpage .gma-cta,
#body_wrap .gma-contact .gma-subhero,
#body_wrap .gma-contact .gma-section,
#body_wrap .gma-contact .gma-cta {
  overflow: hidden;
}
#body_wrap .gma-subpage .gma-section > .gma-wrap > :first-child,
#body_wrap .gma-contact .gma-section > .gma-wrap > :first-child {
  margin-top: 0 !important;
}
#body_wrap .gma-subpage .gma-section > .gma-wrap > :last-child,
#body_wrap .gma-contact .gma-section > .gma-wrap > :last-child {
  margin-bottom: 0 !important;
}
#body_wrap .gma-photo {
  display: block !important;
  width: 100% !important;
  min-height: 340px !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  overflow: hidden !important;
  border-radius: 8px;
  border: 1px solid rgba(184, 148, 74, 0.2);
  background: linear-gradient(135deg, #e7f2ef 0%, #f6faf8 100%);
  box-shadow: 0 20px 44px rgba(9, 47, 44, 0.08);
}
#body_wrap .gma-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 340px !important;
  object-fit: cover !important;
  object-position: center !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
#body_wrap .gma-photo img[data-src*="chishitsu-deal-room"] {
  background-image: url("https://chishitsu-ma-center.jp/wp-content/uploads/2026/06/chishitsu-deal-room-20260601.jpg?v=2026060102") !important;
}
#body_wrap .gma-photo img[data-src*="chishitsu-core-valuation"] {
  background-image: url("https://chishitsu-ma-center.jp/wp-content/uploads/2026/06/chishitsu-core-valuation-20260601.jpg?v=2026060102") !important;
}
@media (max-width: 900px) {
  #body_wrap .gma-photo,
  #body_wrap .gma-photo img {
    min-height: 240px !important;
  }
  #body_wrap .gma-subpage .gma-subhero,
  #body_wrap .gma-contact .gma-subhero {
    padding-top: 46px !important;
    padding-bottom: 38px !important;
  }
  #body_wrap .gma-subpage .gma-section,
  #body_wrap .gma-contact .gma-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  #body_wrap .gma-subpage .gma-cta,
  #body_wrap .gma-contact .gma-cta {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
}

/* Section organization refinement - 2026-06 */
#body_wrap .gmh-section,
#body_wrap .gma-subpage .gma-section,
#body_wrap .gma-contact .gma-section {
  position: relative;
  isolation: isolate;
  border-top: 1px solid rgba(9, 47, 44, 0.08);
}
#body_wrap .gmh-section > .gmh-wrap,
#body_wrap .gmh-cta > .gmh-wrap,
#body_wrap .gma-subpage .gma-wrap,
#body_wrap .gma-contact .gma-wrap {
  position: relative;
  z-index: 1;
}
#body_wrap .gmh .gmh-head,
#body_wrap .gma-subpage .gma-section .gma-wrap > .gma-eyebrow:first-child,
#body_wrap .gma-contact .gma-section .gma-wrap > .gma-eyebrow:first-child {
  position: relative;
}
#body_wrap .gmh .gmh-head {
  max-width: 880px;
  margin-bottom: 36px !important;
  padding-left: 24px;
  border-left: 3px solid #b8944a;
  gap: 12px !important;
}
#body_wrap .gmh .gmh-section--dark .gmh-head,
#body_wrap .gmh .gmh-cta__inner > div {
  border-left-color: #d5b15d;
}
#body_wrap .gmh .gmh-head .gmh-kicker,
#body_wrap .gmh .gmh-kicker,
#body_wrap .gma-eyebrow {
  margin-bottom: 8px !important;
}
#body_wrap .gmh .gmh-head h2,
#body_wrap .gma-subpage .gma-section h2,
#body_wrap .gma-contact .gma-section h2 {
  max-width: 850px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.38 !important;
}
#body_wrap .gmh .gmh-head .gmh-lead,
#body_wrap .gmh .gmh-lead,
#body_wrap .gma-subpage .gma-section p,
#body_wrap .gma-contact .gma-section p {
  max-width: 780px;
}
#body_wrap .gmh-grid,
#body_wrap .gmh-metrics,
#body_wrap .gmh-route,
#body_wrap .gmh-steps,
#body_wrap .gmh-types,
#body_wrap .gmh-docs,
#body_wrap .gmh-faq,
#body_wrap .gmh-list,
#body_wrap .gma-kpis,
#body_wrap .gma-grid,
#body_wrap .gma-contact__cards {
  gap: 20px !important;
}
#body_wrap .gmh-card,
#body_wrap .gmh-route__card,
#body_wrap .gmh-step,
#body_wrap .gmh-type,
#body_wrap .gmh-docs > *,
#body_wrap .gmh-faq > *,
#body_wrap .gmh-list > li,
#body_wrap .gmh-metrics > *,
#body_wrap .gma-kpis > *,
#body_wrap .gma-card,
#body_wrap .gma-contact__card {
  border-radius: 8px !important;
  border: 1px solid rgba(9, 47, 44, 0.11) !important;
  box-shadow: 0 14px 34px rgba(9, 47, 44, 0.055) !important;
}
#body_wrap .gmh-section--dark .gmh-type,
#body_wrap .gmh-section--dark .gmh-card,
#body_wrap .gmh-section--dark .gmh-list > li {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
}
#body_wrap .gmh-photo,
#body_wrap .gmh-process-img,
#body_wrap .gma-photo {
  border-radius: 8px !important;
  overflow: hidden !important;
}
#body_wrap .gmh-section + .gmh-section,
#body_wrap .gma-subpage .gma-section + .gma-section,
#body_wrap .gma-contact .gma-section + .gma-section {
  margin-top: 0 !important;
}
#body_wrap .gma-subpage .gma-subhero,
#body_wrap .gma-contact .gma-contact__hero {
  border-bottom: 1px solid rgba(9, 47, 44, 0.08);
}
#body_wrap .gma-subpage .gma-grid--2,
#body_wrap .gma-contact .gma-contact__cards {
  align-items: stretch !important;
}
#body_wrap .gma-subpage .gma-grid--2 > *,
#body_wrap .gma-contact .gma-contact__cards > * {
  min-width: 0;
}
@media (min-width: 901px) {
  #body_wrap .gma-subpage .gma-grid--2,
  #body_wrap .gma-contact .gma-contact__cards {
    gap: 34px !important;
  }
}
@media (max-width: 900px) {
  #body_wrap .gmh-section,
  #body_wrap .gma-subpage .gma-section,
  #body_wrap .gma-contact .gma-section {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
  #body_wrap .gmh .gmh-head {
    margin-bottom: 26px !important;
    padding-left: 16px;
  }
  #body_wrap .gmh .gmh-head h2,
  #body_wrap .gma-subpage .gma-section h2,
  #body_wrap .gma-contact .gma-section h2 {
    font-size: 28px !important;
    line-height: 1.42 !important;
  }
  #body_wrap .gmh-grid,
  #body_wrap .gmh-metrics,
  #body_wrap .gmh-route,
  #body_wrap .gmh-steps,
  #body_wrap .gmh-types,
  #body_wrap .gmh-docs,
  #body_wrap .gmh-faq,
  #body_wrap .gmh-list,
  #body_wrap .gma-kpis,
  #body_wrap .gma-grid,
  #body_wrap .gma-contact__cards {
    gap: 16px !important;
  }
  #body_wrap .gmh-card,
  #body_wrap .gmh-route__card,
  #body_wrap .gmh-step,
  #body_wrap .gmh-type,
  #body_wrap .gmh-docs > *,
  #body_wrap .gmh-faq > *,
  #body_wrap .gmh-list > li,
  #body_wrap .gmh-metrics > *,
  #body_wrap .gma-kpis > *,
  #body_wrap .gma-card,
  #body_wrap .gma-contact__card {
    box-shadow: 0 10px 24px rgba(9, 47, 44, 0.045) !important;
  }
}
@media (max-width: 480px) {
  #body_wrap .gmh .gmh-head h2,
  #body_wrap .gma-subpage .gma-section h2,
  #body_wrap .gma-contact .gma-section h2 {
    font-size: 26px !important;
  }
  #body_wrap .gmh .gmh-head,
  #body_wrap .gmh .gmh-lead {
    max-width: 100%;
  }
}


/* Home M&A Do minimal info - 2026-06 */
#body_wrap.home .cse-brand-footer--home-minimal .cse-brand-footer__btn--outline {
  display: none !important;
}
#body_wrap.home .cse-brand-footer--home-minimal .cse-home-operator-mini > span {
  display: none !important;
}

/* Text readability guard - 2026-06 */
#body_wrap .post_content,
#body_wrap .post_content * {
  overflow-wrap: break-word;
}

#body_wrap .gmh,
#body_wrap .gmh *,
#body_wrap .gma,
#body_wrap .gma *,
.cse-brand-footer,
.cse-brand-footer *,
.l-footer,
.l-footer *,
.cse-legal-footer,
.cse-legal-footer * {
  min-width: 0;
}

#body_wrap .gmh h1,
#body_wrap .gmh h2,
#body_wrap .gmh h3,
#body_wrap .gma h1,
#body_wrap .gma h2,
#body_wrap .gma h3,
.cse-brand-footer h2,
.cse-brand-footer h3 {
  line-height: 1.48 !important;
}

#body_wrap .gmh p,
#body_wrap .gmh li,
#body_wrap .gmh summary,
#body_wrap .gma p,
#body_wrap .gma li,
#body_wrap .gma dd,
#body_wrap .gma dt,
.cse-brand-footer p,
.cse-brand-footer li {
  line-height: 1.82;
}

#body_wrap .gmh-btn,
#body_wrap .gma-btn,
#body_wrap .cse-brand-footer__btn,
.cse-brand-footer__btn,
.wpcf7-submit,
.gma-cf7 input[type="submit"],
.l-footer__nav a,
.cse-legal-footer a,
.cse-brand-footer__legal a {
  height: auto !important;
  min-height: 44px;
  white-space: normal !important;
  line-height: 1.45 !important;
  text-align: center;
  align-items: center;
  justify-content: center;
}

#body_wrap .gmh-phone__number,
#body_wrap .gma-contact__phone a,
#body_wrap a[href^="tel:"] {
  line-height: 1.28 !important;
  min-height: 1.28em;
  overflow-wrap: anywhere;
}

.cse-legal-footer {
  row-gap: 8px !important;
}

.cse-legal-footer a,
.cse-brand-footer__legal a {
  padding-top: 4px;
  padding-bottom: 4px;
}

@media (max-width: 599px) {
  #body_wrap .gmh-btn,
  #body_wrap .gma-btn,
  #body_wrap .cse-brand-footer__btn,
  .cse-brand-footer__btn,
  .wpcf7-submit,
  .gma-cf7 input[type="submit"] {
    width: 100%;
    min-height: 48px;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }

  .l-footer__nav a {
    min-height: 42px;
    padding: 10px 8px !important;
  }

  .cse-legal-footer a {
    min-height: 28px;
    line-height: 1.55 !important;
  }
}


/* FAQ readability spacing - 2026-06 */
#body_wrap details {
  overflow: visible !important;
}

#body_wrap details + details {
  margin-top: 12px !important;
}

#body_wrap details > summary {
  min-height: 44px;
  line-height: 1.55 !important;
}

#body_wrap details[open] > summary {
  margin-bottom: 12px !important;
}

#body_wrap details > p,
#body_wrap details > div {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  line-height: 1.85 !important;
}

@media (max-width: 599px) {
  #body_wrap details + details {
    margin-top: 14px !important;
  }

  #body_wrap details > summary {
    min-height: 48px;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  #body_wrap details > p,
  #body_wrap details > div {
    margin-bottom: 20px !important;
  }
}


/* Japanese line break polish - 2026-06 */
#body_wrap .post_content,
#body_wrap .post_content :where(h1,h2,h3,h4,p,li,dt,dd,summary,a,button,label,span,strong,small),
.cse-brand-footer,
.cse-brand-footer :where(h2,h3,p,li,a,button,span,strong,small),
.l-footer__nav a,
.cse-legal-footer a {
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}

#body_wrap .post_content :where(h1,h2,h3,h4,summary,.gmh-btn,.gma-btn),
.cse-brand-footer :where(h2,h3,.cse-brand-footer__btn),
.l-footer__nav a {
  text-wrap: balance;
}

@supports (word-break: auto-phrase) {
  #body_wrap .post_content :where(h1,h2,h3,h4,p,li,summary,a,button,label,span,strong,small),
  .cse-brand-footer :where(h2,h3,p,li,a,button,span,strong,small),
  .l-footer__nav a,
  .cse-legal-footer a {
    word-break: auto-phrase;
  }
}

#body_wrap .post_content :where(code,pre,kbd,samp),
#body_wrap .post_content a[href*='://'],
#body_wrap .post_content a[href^='mailto:'],
#body_wrap .post_content .u-break-all {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#body_wrap a[href^='tel:'],
#body_wrap .gmh-phone__number,
#body_wrap .gma-contact__phone a {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

#body_wrap .gmh-btn,
#body_wrap .gma-btn,
.cse-brand-footer__btn,
.l-footer__nav a {
  word-break: keep-all;
}


/* Japanese CTA wrap override - 2026-06 */
#body_wrap .post_content a.gmh-btn,
#body_wrap .post_content a.gma-btn,
#body_wrap .post_content a.cse-brand-footer__btn,
#body_wrap .post_content a[class*="__btn"],
#body_wrap .post_content a[class*="-btn"] {
  line-break: strict;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  text-wrap: balance;
}

@supports (word-break: auto-phrase) {
  #body_wrap .post_content a.gmh-btn,
  #body_wrap .post_content a.gma-btn,
  #body_wrap .post_content a.cse-brand-footer__btn,
  #body_wrap .post_content a[class*="__btn"],
  #body_wrap .post_content a[class*="-btn"] {
    word-break: auto-phrase !important;
  }
}


/* Sitewide typography balance - 2026-06 */
#body_wrap {
  color: #20322f;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

#body_wrap .post_content {
  font-size: 16px;
  line-height: 1.82;
}

#body_wrap .post_content :where(p,li,dd,dt,summary),
#body_wrap.home .gmh :where(p,li,summary),
#body_wrap .gma :where(p,li,dd,dt) {
  color: #4b5f5a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.84;
}

#body_wrap.home .gmh-hero :where(p,li),
#body_wrap.home .gmh-section--dark :where(p,li),
#body_wrap.home .gmh-cta :where(p,li),
.cse-brand-footer :where(p,li) {
  font-weight: 600;
}

#body_wrap.home .gmh-lead,
#body_wrap .gma-lead,
#body_wrap .gma-contact__hero p {
  font-size: 16px;
  font-weight: 600 !important;
  line-height: 1.9 !important;
}

#body_wrap.home .gmh-kicker,
#body_wrap .gma-kicker,
#body_wrap .gma-eyebrow,
#body_wrap .gma-contact__eyebrow,
.cse-brand-footer__eyebrow {
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

#body_wrap.home .gmh-hero h1 {
  font-size: 44px !important;
  font-weight: 900 !important;
  line-height: 1.42 !important;
}

#body_wrap.home .gmh-section h2,
#body_wrap.home .gmh-head h2,
#body_wrap.home .gmh-fee__main h2,
#body_wrap.home .gmh-cta h2 {
  font-size: 34px !important;
  font-weight: 850 !important;
  line-height: 1.48 !important;
}

#body_wrap.home .gmh-card h3,
#body_wrap.home .gmh-service h3,
#body_wrap.home .gmh-compare h3,
#body_wrap.home .gmh-route__card h3,
#body_wrap.home .gmh-step h3,
#body_wrap.home .gmh-hero__point h3,
#body_wrap .gma-card h3,
#body_wrap .gma-route h3 {
  font-size: 18px !important;
  font-weight: 760 !important;
  line-height: 1.55 !important;
}

#body_wrap .post_content h1,
#body_wrap .post_content h2,
#body_wrap .post_content h3,
#body_wrap .post_content h4,
.cse-brand-footer h2,
.cse-brand-footer h3 {
  letter-spacing: 0 !important;
}

#body_wrap .gma-hero h1,
#body_wrap .gma-contact__hero h1 {
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
}

#body_wrap .gma-section h2,
#body_wrap .gma-contact h2,
#body_wrap .gma-contact__section h2 {
  font-size: 28px !important;
  font-weight: 780 !important;
  line-height: 1.5 !important;
}

#body_wrap .gmh-btn,
#body_wrap .gma-btn,
.cse-brand-footer__btn,
.wpcf7-submit,
.gma-cf7 input[type="submit"] {
  font-size: 15px !important;
  font-weight: 820 !important;
  line-height: 1.45 !important;
}

#body_wrap .c-gnav a,
#body_wrap .l-footer__nav a,
.cse-legal-footer a,
.cse-brand-footer__legal a {
  font-size: 13px !important;
  font-weight: 740 !important;
  line-height: 1.5 !important;
}

@media (max-width: 959px) {
  #body_wrap.home .gmh-hero h1 {
    font-size: 32px !important;
    line-height: 1.42 !important;
  }

  #body_wrap.home .gmh-section h2,
  #body_wrap.home .gmh-head h2,
  #body_wrap.home .gmh-fee__main h2,
  #body_wrap.home .gmh-cta h2 {
    font-size: 25px !important;
    line-height: 1.52 !important;
  }

  #body_wrap .gma-hero h1,
  #body_wrap .gma-contact__hero h1 {
    font-size: 28px !important;
    line-height: 1.42 !important;
  }

  #body_wrap .gma-section h2,
  #body_wrap .gma-contact h2,
  #body_wrap .gma-contact__section h2 {
    font-size: 22px !important;
    line-height: 1.52 !important;
  }
}

@media (max-width: 599px) {
  #body_wrap .post_content,
  #body_wrap .post_content :where(p,li,dd,dt,summary),
  #body_wrap.home .gmh :where(p,li,summary),
  #body_wrap .gma :where(p,li,dd,dt) {
    font-size: 14.8px;
    line-height: 1.82;
  }

  #body_wrap.home .gmh-lead,
  #body_wrap .gma-lead,
  #body_wrap .gma-contact__hero p {
    font-size: 14.8px;
    line-height: 1.86 !important;
  }

  #body_wrap.home .gmh-card h3,
  #body_wrap.home .gmh-service h3,
  #body_wrap.home .gmh-compare h3,
  #body_wrap.home .gmh-route__card h3,
  #body_wrap.home .gmh-step h3,
  #body_wrap.home .gmh-hero__point h3,
  #body_wrap .gma-card h3,
  #body_wrap .gma-route h3 {
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  #body_wrap .gmh-btn,
  #body_wrap .gma-btn,
  .cse-brand-footer__btn,
  .wpcf7-submit,
  .gma-cf7 input[type="submit"] {
    font-size: 14.5px !important;
    font-weight: 780 !important;
  }

  #body_wrap .l-footer__nav a,
  .cse-legal-footer a,
  .cse-brand-footer__legal a {
    font-size: 12px !important;
    font-weight: 700 !important;
  }
}


/* Article TOC button readability - 2026-06-16 */
.p-toc__expandBtn{min-width:12em!important;width:auto!important;padding-inline:1.25em!important;white-space:nowrap!important;text-align:center!important;box-sizing:content-box!important}
@media(max-width:599px){.p-toc__expandBtn{min-width:11.5em!important;padding-inline:1.15em!important}}

/* Japanese headline wrapping - 2026-06-18 */
#body_wrap :where(.c-postTitle__ttl,.c-pageTitle,.post_content h2,.post_content h3,.post_content h4,.gmh h1,.gmh h2,.gmh h3,.gma h1,.gma h2,.gma h3) {
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: break-word;
  text-wrap: balance;
}

@supports not (word-break: auto-phrase) {
  #body_wrap :where(.c-postTitle__ttl,.c-pageTitle,.post_content h2,.post_content h3,.post_content h4,.gmh h1,.gmh h2,.gmh h3,.gma h1,.gma h2,.gma h3) {
    word-break: normal;
  }
}

/* Mobile article width guard - 2026-06-19 */
@media (max-width: 599px) {
  #body_wrap.single-post .p-articleHead.c-postTitle {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #body_wrap.single-post .c-postTitle__date {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 44px !important;
    min-width: 44px !important;
    margin: 0 !important;
    transform: none !important;
  }

  #body_wrap.single-post .c-postTitle__ttl {
    grid-column: 2 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.55 !important;
    overflow-wrap: break-word !important;
  }

  #body_wrap.single-post .p-articleThumb,
  #body_wrap.single-post .p-articleThumb__img,
  #body_wrap.single-post .post_content img {
    max-width: 100% !important;
  }

  #body_wrap.single-post .p-articleThumb__img,
  #body_wrap.single-post .post_content img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Mobile article date and image refinement - 2026-06-19 */
@media (max-width: 599px) {
  #body_wrap.single-post .p-articleHead.c-postTitle {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  #body_wrap.single-post .c-postTitle__date {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  #body_wrap.single-post .c-postTitle__date .__y,
  #body_wrap.single-post .c-postTitle__date .__md {
    display: block !important;
    white-space: nowrap !important;
  }

  #body_wrap.single-post .p-articleThumb {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  #body_wrap.single-post .p-articleThumb__img {
    object-fit: contain !important;
  }
}

/* Codex responsive tap-target refinement - 2026-06 */
@media (max-width: 1024px) {
  body .p-breadcrumb a,
  body .p-breadcrumb a.p-breadcrumb__text,
  body .p-breadcrumb__text {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  body .cse-brand-footer a,
  body .l-footer a,
  #body_wrap .l-footer .l-footer__nav > li > a,
  #body_wrap .cse-brand-footer.cse-brand-footer--home-minimal .cse-home-operator-mini a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }

  body .wpcf7-list-item label {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body .wpcf7-list-item input[type="checkbox"],
  body .wpcf7-list-item input[type="radio"] {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 auto !important;
  }
}

/* Codex readability overlap guard - 2026-06 */
html body .gmh-skip-link:not(:focus):not(:focus-visible),
html body .gma-skip-link:not(:focus):not(:focus-visible),
html body .cse-skip-link:not(:focus):not(:focus-visible),
html body a.skip-link:not(:focus):not(:focus-visible) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html body .gmh-skip-link:focus,
html body .gmh-skip-link:focus-visible,
html body .gma-skip-link:focus,
html body .gma-skip-link:focus-visible,
html body .cse-skip-link:focus,
html body .cse-skip-link:focus-visible,
html body a.skip-link:focus,
html body a.skip-link:focus-visible {
  position: fixed !important;
  z-index: 100000 !important;
  top: 10px !important;
  left: 10px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  color: #07383c !important;
  background: #fffaf0 !important;
  border: 2px solid #bd9342 !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 24px rgba(7, 56, 60, .18) !important;
}

html body .post_content .wp-block-group.has-background .wp-block-button__link,
html body .post_content .wp-block-cover .wp-block-button__link {
  color: #ffffff !important;
  background: #0b5b4f !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
  text-decoration: none !important;
}

html body .post_content .wp-block-group.has-background .wp-block-button__link:hover,
html body .post_content .wp-block-cover .wp-block-button__link:hover,
html body .post_content .wp-block-group.has-background .wp-block-button__link:focus-visible,
html body .post_content .wp-block-cover .wp-block-button__link:focus-visible {
  color: #ffffff !important;
  background: #07383c !important;
}

html body .post_content .wp-block-button.is-style-outline .wp-block-button__link {
  color: #07383c !important;
  background: #ffffff !important;
  border-color: #b8944a !important;
}

html body .post_content .wp-block-button__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

html body .gmh .gmh-kicker,
html body .gmh-kicker {
  color: #07383c !important;
  background: #f8edcf !important;
  border: 1px solid rgba(189, 147, 66, .42) !important;
}

html body .cse-trustbar__contact a,
html body .cse-trustbar__contact a:visited {
  color: #07383c !important;
  background: #fffaf0 !important;
  border: 1px solid rgba(189, 147, 66, .5) !important;
  text-decoration: none !important;
}

html body .cse-trustbar__contact a:hover,
html body .cse-trustbar__contact a:focus-visible {
  color: #ffffff !important;
  background: #0b5b4f !important;
}

@media (max-width: 767px) {
  html body .post_content h1,
  html body .post_content h2,
  html body .post_content h3,
  html body .gmh h1,
  html body .gmh h2,
  html body .gmh h3,
  html body .gma h1,
  html body .gma h2,
  html body .gma h3 {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }

  html body .post_content p,
  html body .gmh p,
  html body .gma p,
  html body .gmh .gmh-lead-line {
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  html body .gmh .gmh-lead-line {
    display: inline !important;
  }

  html body .gma-cf7__section,
  html body .gma-cf7__field,
  html body .gma-cf7__details,
  html body .gma-cf7__details-inner,
  html body .wpcf7-form p {
    overflow: visible !important;
  }
}
/* End Codex readability overlap guard - 2026-06 */

/* Codex home dark contrast fallback - 2026-06 */
html body .gmh .gmh-section--dark,
html body .gmh .gmh-cta,
html body .cse-brand-footer.cse-brand-footer--home-minimal {
  background-color: #07383c !important;
  color: #f2fbf8 !important;
}

html body .gmh .gmh-section--dark h1,
html body .gmh .gmh-section--dark h2,
html body .gmh .gmh-section--dark h3,
html body .gmh .gmh-section--dark .gmh-phrase,
html body .gmh .gmh-cta h1,
html body .gmh .gmh-cta h2,
html body .gmh .gmh-cta h3,
html body .gmh .gmh-cta .gmh-phrase {
  color: #ffffff !important;
}

html body .gmh .gmh-section--dark .gmh-head > p,
html body .gmh .gmh-section--dark p:not(.gmh-kicker),
html body .gmh .gmh-cta p:not(.gmh-kicker) {
  color: #eaf4f1 !important;
}

html body .gmh .gmh-section--dark .gmh-kicker,
html body .gmh .gmh-cta .gmh-kicker {
  color: #07383c !important;
  background: #f8edcf !important;
  border-color: rgba(248, 237, 207, .75) !important;
}

html body .cse-brand-footer.cse-brand-footer--home-minimal,
html body .cse-brand-footer--home-minimal .cse-brand-footer__topline,
html body .cse-brand-footer--home-minimal .cse-brand-footer__topline-inner {
  background-color: #07383c !important;
  color: #ffffff !important;
}

html body .cse-brand-footer--home-minimal .cse-brand-footer__topline span,
html body .cse-brand-footer--home-minimal a {
  color: #ffffff !important;
}
/* End Codex home dark contrast fallback - 2026-06 */

/* Codex contact legal notice width guard - 2026-06 */
html body #body_wrap .gma-contact .cse-legal-notice {
  box-sizing: border-box !important;
  width: min(1120px, calc(100vw - 48px)) !important;
  max-width: calc(100vw - 48px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body #body_wrap .gma-contact .cse-legal-notice h2,
html body #body_wrap .gma-contact .cse-legal-notice p,
html body #body_wrap .gma-contact .cse-legal-notice li {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}
@media (max-width: 767px) {
  html body #body_wrap .gma-contact .cse-legal-notice {
    width: min(100%, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
  }
}
/* End Codex contact legal notice width guard - 2026-06 */
