@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.12
    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
*/

/* SMC spacing polish start 2026-06-23 */
/* SMC sitewide spacing polish: default WordPress layouts */
body:not(.smc-custom-page) #content.l-content {
  padding-top: clamp(36px, 4.4vw, 56px) !important;
  margin-bottom: clamp(44px, 5vw, 64px) !important;
}

body:not(.smc-custom-page) #body_wrap.archive #content.l-content {
  padding-top: clamp(32px, 4vw, 48px) !important;
  margin-bottom: clamp(36px, 4vw, 56px) !important;
}

body:not(.smc-custom-page) .post_content {
  margin-top: clamp(36px, 4.4vw, 48px) !important;
  margin-bottom: clamp(36px, 4.4vw, 48px) !important;
}

body:not(.smc-custom-page) .post_content > :first-child {
  margin-top: 0 !important;
}

body:not(.smc-custom-page) .post_content > :last-child {
  margin-bottom: 0 !important;
}

body:not(.smc-custom-page) .post_content h2.wp-block-heading,
body:not(.smc-custom-page) .post_content h2:not([class*="smc-"]) {
  margin-top: clamp(52px, 5.5vw, 72px) !important;
  margin-bottom: clamp(18px, 2vw, 26px) !important;
  padding-top: clamp(16px, 2vw, 20px) !important;
  padding-bottom: clamp(16px, 2vw, 20px) !important;
}

body:not(.smc-custom-page) .post_content h2.wp-block-heading:first-child,
body:not(.smc-custom-page) .post_content h2:not([class*="smc-"]):first-child {
  margin-top: 0 !important;
}

body:not(.smc-custom-page) .post_content h3.wp-block-heading,
body:not(.smc-custom-page) .post_content h3:not([class*="smc-"]) {
  margin-top: clamp(32px, 4vw, 44px) !important;
  margin-bottom: clamp(12px, 1.8vw, 18px) !important;
}

body:not(.smc-custom-page) .post_content h4.wp-block-heading,
body:not(.smc-custom-page) .post_content h4:not([class*="smc-"]) {
  margin-top: clamp(24px, 3vw, 34px) !important;
  margin-bottom: 12px !important;
}

body:not(.smc-custom-page) .post_content h2 + p,
body:not(.smc-custom-page) .post_content h2 + ul,
body:not(.smc-custom-page) .post_content h2 + ol,
body:not(.smc-custom-page) .post_content h3 + p,
body:not(.smc-custom-page) .post_content h3 + ul,
body:not(.smc-custom-page) .post_content h3 + ol {
  margin-top: 0 !important;
}

body:not(.smc-custom-page) .post_content .wp-block-image,
body:not(.smc-custom-page) .post_content figure.wp-block-image {
  margin-top: clamp(24px, 3vw, 36px) !important;
  margin-bottom: clamp(24px, 3vw, 36px) !important;
}

body:not(.smc-custom-page) #body_wrap.archive .p-postList__item {
  margin-bottom: clamp(26px, 3vw, 34px) !important;
}

body:not(.smc-custom-page) #body_wrap.archive .c-pagination {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.wp-block-search__label {
  display: block !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1024px) {
  .p-breadcrumb__item,
  .p-breadcrumb__text {
    font-size: 12px !important;
    line-height: 1.7 !important;
  }

  .smc-site .smc-footer__nav a {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .smc-site .smc-form input[type="checkbox"],
  .smc-site .smc-form input[type="radio"],
  .smc-site .wpcf7-list-item input[type="checkbox"],
  .smc-site .wpcf7-list-item input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
  }

  .smc-site .smc-form label,
  .smc-site .wpcf7-list-item label {
    min-height: 36px !important;
    align-items: flex-start !important;
  }

  body.smc-custom-page .p-fixBtnWrap {
    right: 14px !important;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }
}

/* SMC section visual organization */
.smc-site .smc-section {
  border-top: 1px solid rgba(8, 48, 67, .08) !important;
}

.smc-site .smc-section:not(.smc-section--indigo):not(.smc-section--paper) {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(90deg, rgba(201, 164, 76, .05), rgba(8, 73, 83, .035)) !important;
}

.smc-site .smc-section--paper {
  box-shadow: inset 0 1px 0 rgba(201, 164, 76, .14), inset 0 -1px 0 rgba(8, 48, 67, .05) !important;
}

.smc-site .smc-section > .smc-wrap {
  position: relative !important;
}

.smc-site .smc-section > .smc-wrap > .smc-eyebrow:first-child {
  margin-bottom: clamp(12px, 1.2vw, 16px) !important;
}

.smc-site .smc-section > .smc-wrap > .smc-title {
  max-width: 920px !important;
  margin-top: 0 !important;
  margin-bottom: clamp(24px, 3vw, 36px) !important;
  padding-bottom: clamp(14px, 1.6vw, 18px) !important;
  border-bottom: 2px solid rgba(6, 61, 78, .82) !important;
}

.smc-site .smc-section--indigo > .smc-wrap > .smc-title {
  border-bottom-color: rgba(220, 181, 82, .92) !important;
}

.smc-site .smc-section > .smc-wrap > .smc-title + .smc-lead,
.smc-site .smc-section > .smc-wrap > .smc-title + p {
  margin-top: calc(clamp(24px, 3vw, 36px) * -0.35) !important;
  max-width: 900px !important;
}

.smc-site .smc-grid,
.smc-site .smc-grid--3,
.smc-site .smc-prep-grid,
.smc-site .smc-area-grid,
.smc-site .smc-route-grid,
.smc-site .smc-industry-grid,
.smc-site .smc-trust-grid,
.smc-site .smc-fee-cards {
  gap: clamp(18px, 2.2vw, 28px) !important;
}

.smc-site .smc-card,
.smc-site .smc-prep-card,
.smc-site .smc-area-card,
.smc-site .smc-route-card,
.smc-site .smc-industry-card,
.smc-site .smc-trust-item,
.smc-site .smc-fee-card {
  height: 100% !important;
  border-color: rgba(8, 48, 67, .12) !important;
  box-shadow: 0 14px 34px rgba(8, 35, 47, .08) !important;
}

.smc-site .smc-photo-card,
.smc-site .smc-media-card,
.smc-site .smc-gallery-card,
.smc-site .smc-inline-photo,
.smc-site .smc-route-photo,
.smc-site .smc-area-visual {
  border: 1px solid rgba(8, 48, 67, .12) !important;
  box-shadow: 0 18px 42px rgba(8, 35, 47, .12) !important;
}

.smc-site .smc-section .smc-btns,
.smc-site .smc-section .smc-actions {
  gap: 14px !important;
}

@media (max-width: 767px) {
  .smc-site .smc-section {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  .smc-site .smc-section > .smc-wrap > .smc-title {
    margin-bottom: 22px !important;
    padding-bottom: 12px !important;
  }

  .smc-site .smc-grid,
  .smc-site .smc-grid--3,
  .smc-site .smc-prep-grid,
  .smc-site .smc-area-grid,
  .smc-site .smc-route-grid,
  .smc-site .smc-industry-grid,
  .smc-site .smc-trust-grid,
  .smc-site .smc-fee-cards {
    gap: 16px !important;
  }
}

@media (max-width: 767px) {
  body:not(.smc-custom-page) #content.l-content {
    padding-top: 28px !important;
    margin-bottom: 40px !important;
  }

  body:not(.smc-custom-page) .post_content {
    margin-top: 30px !important;
    margin-bottom: 36px !important;
  }

  body:not(.smc-custom-page) .post_content h2.wp-block-heading,
  body:not(.smc-custom-page) .post_content h2:not([class*="smc-"]) {
    margin-top: 42px !important;
    margin-bottom: 16px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  body:not(.smc-custom-page) .post_content h3.wp-block-heading,
  body:not(.smc-custom-page) .post_content h3:not([class*="smc-"]) {
    margin-top: 28px !important;
    margin-bottom: 12px !important;
  }

  body:not(.smc-custom-page) .post_content .wp-block-image,
  body:not(.smc-custom-page) .post_content figure.wp-block-image {
    margin-top: 22px !important;
    margin-bottom: 22px !important;
  }

  .smc-site .smc-inline-photo img[src*="smc-hero-consultation"] {
    object-position: 72% center !important;
  }
}
/* SMC spacing polish end 2026-06-23 */


/* Japanese line-break tuning for article pages */
body:not(.smc-custom-page) .post_content :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
body:not(.smc-custom-page) .p-articleContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
body:not(.smc-custom-page) .c-postContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4) {
  line-break: strict !important;
  overflow-wrap: normal !important;
  text-wrap: pretty !important;
}

body:not(.smc-custom-page) .post_content :where(h1,h2,h3,h4,.wp-block-heading),
body:not(.smc-custom-page) .p-articleContent :where(h1,h2,h3,h4,.wp-block-heading),
body:not(.smc-custom-page) .c-postContent :where(h1,h2,h3,h4,.wp-block-heading) {
  text-wrap: balance !important;
}

@supports (word-break: auto-phrase) {
  body:not(.smc-custom-page) .post_content :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
  body:not(.smc-custom-page) .p-articleContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
  body:not(.smc-custom-page) .c-postContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4) {
    word-break: auto-phrase !important;
    overflow-wrap: normal !important;
  }
}

body:not(.smc-custom-page) .post_content :where(a[href^="http"], code),
body:not(.smc-custom-page) .p-articleContent :where(a[href^="http"], code),
body:not(.smc-custom-page) .c-postContent :where(a[href^="http"], code) {
  overflow-wrap: anywhere !important;
}


/* Japanese line-break tuning for article titles */
#body_wrap:not(.smc-custom-page) :where(.c-postTitle__ttl,.p-articleHead h1,.c-pageTitle__ttl) {
  line-break: strict !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance !important;
}



/* SMC typography balance for article pages 2026-06-24 */
#body_wrap:not(.smc-custom-page),
#body_wrap:not(.smc-custom-page) .post_content {
  letter-spacing: 0 !important;
}

#body_wrap:not(.smc-custom-page) :where(.c-postTitle__ttl,.p-articleHead h1,h1.c-pageTitle,.c-pageTitle) {
  font-size: 25px !important;
  line-height: 1.42 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  color: #172536 !important;
  line-break: strict !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(p),
#body_wrap:not(.smc-custom-page) .post_content > :where(ul,ol) li {
  font-size: 16px !important;
  line-height: 1.9 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #374151 !important;
  line-break: strict !important;
  overflow-wrap: normal !important;
  text-wrap: pretty !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(h2.wp-block-heading,h2:not([class*="smc-"])) {
  font-size: 25px !important;
  line-height: 1.42 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  margin-top: 46px !important;
  margin-bottom: 18px !important;
  color: #172536 !important;
  text-wrap: balance !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(h3.wp-block-heading,h3:not([class*="smc-"])) {
  font-size: 21px !important;
  line-height: 1.48 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  margin-top: 34px !important;
  margin-bottom: 14px !important;
  color: #1f3b4d !important;
  text-wrap: balance !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(.wp-block-image,figure.wp-block-image) + :where(p,h2,h3) {
  margin-top: 24px !important;
}

@supports (word-break: auto-phrase) {
  #body_wrap:not(.smc-custom-page) .post_content > :where(p,h2,h3,h4,figcaption),
  #body_wrap:not(.smc-custom-page) .post_content > :where(ul,ol) li {
    word-break: auto-phrase !important;
    overflow-wrap: normal !important;
  }
}

#body_wrap:not(.smc-custom-page) .post_content > :where(p,ul,ol,h2,h3,h4):not(.smc-site *) :where(a[href^="http"],code),
#body_wrap:not(.smc-custom-page) .post_content > :where(a[href^="http"],code) {
  overflow-wrap: anywhere !important;
}

@media (min-width: 768px) {
  #body_wrap:not(.smc-custom-page) :where(.c-postTitle__ttl,.p-articleHead h1,h1.c-pageTitle,.c-pageTitle) {
    font-size: 32px !important;
    line-height: 1.36 !important;
  }
  #body_wrap:not(.smc-custom-page) .post_content > :where(p),
  #body_wrap:not(.smc-custom-page) .post_content > :where(ul,ol) li {
    font-size: 16.5px !important;
    line-height: 1.95 !important;
  }
  #body_wrap:not(.smc-custom-page) .post_content > :where(h2.wp-block-heading,h2:not([class*="smc-"])) {
    font-size: 30px !important;
    line-height: 1.38 !important;
    margin-top: 56px !important;
  }
  #body_wrap:not(.smc-custom-page) .post_content > :where(h3.wp-block-heading,h3:not([class*="smc-"])) {
    font-size: 23px !important;
    line-height: 1.45 !important;
  }
}
/* SMC typography balance for article pages end 2026-06-24 */


/* SMC small button readability 2026-06-24 */
#body_wrap .p-toc__expandBtn {
  min-width: 8.8em !important;
  padding-inline: 1.1em !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}
/* SMC small button readability end 2026-06-24 */

/* SMC TOC button overflow polish 2026-06-24 */
#body_wrap .p-toc:not([data-omit="nest"]) .p-toc__expandBtn::before,
#body_wrap .p-toc:not([data-omit="nest"]) .p-toc__expandBtn::after {
  display: none !important;
}

#body_wrap .p-toc .p-toc__expandBtn {
  color: #1f3437 !important;
  background: #fff !important;
  box-shadow: 0 0 0 1px rgba(31, 52, 55, 0.28) !important;
}

/* SMC accessibility baseline start 2026-07-15 */
.smc-clean :where(a, button, input, select, textarea, summary):focus-visible,
.smc-site :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #0b57d0 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #0b57d0 !important;
}

.smc-site .smc-cf7-form input[type="text"],
.smc-site .smc-cf7-form input[type="email"],
.smc-site .smc-cf7-form input[type="tel"],
.smc-site .smc-cf7-form select,
.smc-site .smc-cf7-form textarea {
  border-color: #667085 !important;
}

.smc-site .smc-cf7-form input::placeholder,
.smc-site .smc-cf7-form textarea::placeholder {
  color: #667085 !important;
  opacity: 1;
}

.smc-site .smc-cf7-form input[type="checkbox"],
.smc-site .smc-cf7-form input[type="radio"] {
  accent-color: #0b57d0;
}

.smc-site .smc-cf7-checks label {
  min-height: 44px !important;
}

.smc-a11y-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.smc-a11y-group > legend {
  margin-bottom: 8px;
  color: var(--indigo, #182433);
  font-weight: 900;
}

.smc-site .wpcf7-not-valid-tip {
  color: #9b1c1c;
  font-weight: 700;
}

html {
  scroll-padding-top: 96px;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 84px;
    scroll-padding-bottom: 88px;
  }

  .smc-clean :focus-visible,
  .smc-site :focus-visible,
  .smc-clean :target,
  .smc-site :target {
    scroll-margin-top: 84px;
    scroll-margin-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smc-clean *,
  .smc-clean *::before,
  .smc-clean *::after,
  .smc-site *,
  .smc-site *::before,
  .smc-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .smc-clean :where(a, button, input, select, textarea, summary):focus-visible,
  .smc-site :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid CanvasText !important;
    box-shadow: none !important;
  }
}
/* SMC accessibility baseline end 2026-07-15 */

body:not(.smc-custom-page) .post_content > :last-child {
  margin-bottom: 0 !important;
}

body:not(.smc-custom-page) .post_content h2.wp-block-heading,
body:not(.smc-custom-page) .post_content h2:not([class*="smc-"]) {
  margin-top: clamp(52px, 5.5vw, 72px) !important;
  margin-bottom: clamp(18px, 2vw, 26px) !important;
  padding-top: clamp(16px, 2vw, 20px) !important;
  padding-bottom: clamp(16px, 2vw, 20px) !important;
}

body:not(.smc-custom-page) .post_content h2.wp-block-heading:first-child,
body:not(.smc-custom-page) .post_content h2:not([class*="smc-"]):first-child {
  margin-top: 0 !important;
}

body:not(.smc-custom-page) .post_content h3.wp-block-heading,
body:not(.smc-custom-page) .post_content h3:not([class*="smc-"]) {
  margin-top: clamp(32px, 4vw, 44px) !important;
  margin-bottom: clamp(12px, 1.8vw, 18px) !important;
}

body:not(.smc-custom-page) .post_content h4.wp-block-heading,
body:not(.smc-custom-page) .post_content h4:not([class*="smc-"]) {
  margin-top: clamp(24px, 3vw, 34px) !important;
  margin-bottom: 12px !important;
}

body:not(.smc-custom-page) .post_content h2 + p,
body:not(.smc-custom-page) .post_content h2 + ul,
body:not(.smc-custom-page) .post_content h2 + ol,
body:not(.smc-custom-page) .post_content h3 + p,
body:not(.smc-custom-page) .post_content h3 + ul,
body:not(.smc-custom-page) .post_content h3 + ol {
  margin-top: 0 !important;
}

body:not(.smc-custom-page) .post_content .wp-block-image,
body:not(.smc-custom-page) .post_content figure.wp-block-image {
  margin-top: clamp(24px, 3vw, 36px) !important;
  margin-bottom: clamp(24px, 3vw, 36px) !important;
}

body:not(.smc-custom-page) #body_wrap.archive .p-postList__item {
  margin-bottom: clamp(26px, 3vw, 34px) !important;
}

body:not(.smc-custom-page) #body_wrap.archive .c-pagination {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.wp-block-search__label {
  display: block !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1024px) {
  .p-breadcrumb__item,
  .p-breadcrumb__text {
    font-size: 12px !important;
    line-height: 1.7 !important;
  }

  .smc-site .smc-footer__nav a {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .smc-site .smc-form input[type="checkbox"],
  .smc-site .smc-form input[type="radio"],
  .smc-site .wpcf7-list-item input[type="checkbox"],
  .smc-site .wpcf7-list-item input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
  }

  .smc-site .smc-form label,
  .smc-site .wpcf7-list-item label {
    min-height: 36px !important;
    align-items: flex-start !important;
  }

  body.smc-custom-page .p-fixBtnWrap {
    right: 14px !important;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }
}

/* SMC section visual organization */
.smc-site .smc-section {
  border-top: 1px solid rgba(8, 48, 67, .08) !important;
}

.smc-site .smc-section:not(.smc-section--indigo):not(.smc-section--paper) {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(90deg, rgba(201, 164, 76, .05), rgba(8, 73, 83, .035)) !important;
}

.smc-site .smc-section--paper {
  box-shadow: inset 0 1px 0 rgba(201, 164, 76, .14), inset 0 -1px 0 rgba(8, 48, 67, .05) !important;
}

.smc-site .smc-section > .smc-wrap {
  position: relative !important;
}

.smc-site .smc-section > .smc-wrap > .smc-eyebrow:first-child {
  margin-bottom: clamp(12px, 1.2vw, 16px) !important;
}

.smc-site .smc-section > .smc-wrap > .smc-title {
  max-width: 920px !important;
  margin-top: 0 !important;
  margin-bottom: clamp(24px, 3vw, 36px) !important;
  padding-bottom: clamp(14px, 1.6vw, 18px) !important;
  border-bottom: 2px solid rgba(6, 61, 78, .82) !important;
}

.smc-site .smc-section--indigo > .smc-wrap > .smc-title {
  border-bottom-color: rgba(220, 181, 82, .92) !important;
}

.smc-site .smc-section > .smc-wrap > .smc-title + .smc-lead,
.smc-site .smc-section > .smc-wrap > .smc-title + p {
  margin-top: calc(clamp(24px, 3vw, 36px) * -0.35) !important;
  max-width: 900px !important;
}

.smc-site .smc-grid,
.smc-site .smc-grid--3,
.smc-site .smc-prep-grid,
.smc-site .smc-area-grid,
.smc-site .smc-route-grid,
.smc-site .smc-industry-grid,
.smc-site .smc-trust-grid,
.smc-site .smc-fee-cards {
  gap: clamp(18px, 2.2vw, 28px) !important;
}

.smc-site .smc-card,
.smc-site .smc-prep-card,
.smc-site .smc-area-card,
.smc-site .smc-route-card,
.smc-site .smc-industry-card,
.smc-site .smc-trust-item,
.smc-site .smc-fee-card {
  height: 100% !important;
  border-color: rgba(8, 48, 67, .12) !important;
  box-shadow: 0 14px 34px rgba(8, 35, 47, .08) !important;
}

.smc-site .smc-photo-card,
.smc-site .smc-media-card,
.smc-site .smc-gallery-card,
.smc-site .smc-inline-photo,
.smc-site .smc-route-photo,
.smc-site .smc-area-visual {
  border: 1px solid rgba(8, 48, 67, .12) !important;
  box-shadow: 0 18px 42px rgba(8, 35, 47, .12) !important;
}

.smc-site .smc-section .smc-btns,
.smc-site .smc-section .smc-actions {
  gap: 14px !important;
}

@media (max-width: 767px) {
  .smc-site .smc-section {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  .smc-site .smc-section > .smc-wrap > .smc-title {
    margin-bottom: 22px !important;
    padding-bottom: 12px !important;
  }

  .smc-site .smc-grid,
  .smc-site .smc-grid--3,
  .smc-site .smc-prep-grid,
  .smc-site .smc-area-grid,
  .smc-site .smc-route-grid,
  .smc-site .smc-industry-grid,
  .smc-site .smc-trust-grid,
  .smc-site .smc-fee-cards {
    gap: 16px !important;
  }
}

@media (max-width: 767px) {
  body:not(.smc-custom-page) #content.l-content {
    padding-top: 28px !important;
    margin-bottom: 40px !important;
  }

  body:not(.smc-custom-page) .post_content {
    margin-top: 30px !important;
    margin-bottom: 36px !important;
  }

  body:not(.smc-custom-page) .post_content h2.wp-block-heading,
  body:not(.smc-custom-page) .post_content h2:not([class*="smc-"]) {
    margin-top: 42px !important;
    margin-bottom: 16px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  body:not(.smc-custom-page) .post_content h3.wp-block-heading,
  body:not(.smc-custom-page) .post_content h3:not([class*="smc-"]) {
    margin-top: 28px !important;
    margin-bottom: 12px !important;
  }

  body:not(.smc-custom-page) .post_content .wp-block-image,
  body:not(.smc-custom-page) .post_content figure.wp-block-image {
    margin-top: 22px !important;
    margin-bottom: 22px !important;
  }

  .smc-site .smc-inline-photo img[src*="smc-hero-consultation"] {
    object-position: 72% center !important;
  }
}
/* SMC spacing polish end 2026-06-23 */


/* Japanese line-break tuning for article pages */
body:not(.smc-custom-page) .post_content :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
body:not(.smc-custom-page) .p-articleContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
body:not(.smc-custom-page) .c-postContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4) {
  line-break: strict !important;
  overflow-wrap: normal !important;
  text-wrap: pretty !important;
}

body:not(.smc-custom-page) .post_content :where(h1,h2,h3,h4,.wp-block-heading),
body:not(.smc-custom-page) .p-articleContent :where(h1,h2,h3,h4,.wp-block-heading),
body:not(.smc-custom-page) .c-postContent :where(h1,h2,h3,h4,.wp-block-heading) {
  text-wrap: balance !important;
}

@supports (word-break: auto-phrase) {
  body:not(.smc-custom-page) .post_content :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
  body:not(.smc-custom-page) .p-articleContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4),
  body:not(.smc-custom-page) .c-postContent :where(p,li,dt,dd,figcaption,.wp-block-heading,h1,h2,h3,h4) {
    word-break: auto-phrase !important;
    overflow-wrap: normal !important;
  }
}

body:not(.smc-custom-page) .post_content :where(a[href^="http"], code),
body:not(.smc-custom-page) .p-articleContent :where(a[href^="http"], code),
body:not(.smc-custom-page) .c-postContent :where(a[href^="http"], code) {
  overflow-wrap: anywhere !important;
}


/* Japanese line-break tuning for article titles */
#body_wrap:not(.smc-custom-page) :where(.c-postTitle__ttl,.p-articleHead h1,.c-pageTitle__ttl) {
  line-break: strict !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance !important;
}



/* SMC typography balance for article pages 2026-06-24 */
#body_wrap:not(.smc-custom-page),
#body_wrap:not(.smc-custom-page) .post_content {
  letter-spacing: 0 !important;
}

#body_wrap:not(.smc-custom-page) :where(.c-postTitle__ttl,.p-articleHead h1,h1.c-pageTitle,.c-pageTitle) {
  font-size: 25px !important;
  line-height: 1.42 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  color: #172536 !important;
  line-break: strict !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(p),
#body_wrap:not(.smc-custom-page) .post_content > :where(ul,ol) li {
  font-size: 16px !important;
  line-height: 1.9 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #374151 !important;
  line-break: strict !important;
  overflow-wrap: normal !important;
  text-wrap: pretty !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(h2.wp-block-heading,h2:not([class*="smc-"])) {
  font-size: 25px !important;
  line-height: 1.42 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  margin-top: 46px !important;
  margin-bottom: 18px !important;
  color: #172536 !important;
  text-wrap: balance !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(h3.wp-block-heading,h3:not([class*="smc-"])) {
  font-size: 21px !important;
  line-height: 1.48 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  margin-top: 34px !important;
  margin-bottom: 14px !important;
  color: #1f3b4d !important;
  text-wrap: balance !important;
}

#body_wrap:not(.smc-custom-page) .post_content > :where(.wp-block-image,figure.wp-block-image) + :where(p,h2,h3) {
  margin-top: 24px !important;
}

@supports (word-break: auto-phrase) {
  #body_wrap:not(.smc-custom-page) .post_content > :where(p,h2,h3,h4,figcaption),
  #body_wrap:not(.smc-custom-page) .post_content > :where(ul,ol) li {
    word-break: auto-phrase !important;
    overflow-wrap: normal !important;
  }
}

#body_wrap:not(.smc-custom-page) .post_content > :where(p,ul,ol,h2,h3,h4):not(.smc-site *) :where(a[href^="http"],code),
#body_wrap:not(.smc-custom-page) .post_content > :where(a[href^="http"],code) {
  overflow-wrap: anywhere !important;
}

@media (min-width: 768px) {
  #body_wrap:not(.smc-custom-page) :where(.c-postTitle__ttl,.p-articleHead h1,h1.c-pageTitle,.c-pageTitle) {
    font-size: 32px !important;
    line-height: 1.36 !important;
  }
  #body_wrap:not(.smc-custom-page) .post_content > :where(p),
  #body_wrap:not(.smc-custom-page) .post_content > :where(ul,ol) li {
    font-size: 16.5px !important;
    line-height: 1.95 !important;
  }
  #body_wrap:not(.smc-custom-page) .post_content > :where(h2.wp-block-heading,h2:not([class*="smc-"])) {
    font-size: 30px !important;
    line-height: 1.38 !important;
    margin-top: 56px !important;
  }
  #body_wrap:not(.smc-custom-page) .post_content > :where(h3.wp-block-heading,h3:not([class*="smc-"])) {
    font-size: 23px !important;
    line-height: 1.45 !important;
  }
}
/* SMC typography balance for article pages end 2026-06-24 */


/* SMC small button readability 2026-06-24 */
#body_wrap .p-toc__expandBtn {
  min-width: 8.8em !important;
  padding-inline: 1.1em !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}
/* SMC small button readability end 2026-06-24 */

/* SMC TOC button overflow polish 2026-06-24 */
#body_wrap .p-toc:not([data-omit="nest"]) .p-toc__expandBtn::before,
#body_wrap .p-toc:not([data-omit="nest"]) .p-toc__expandBtn::after {
  display: none !important;
}

#body_wrap .p-toc .p-toc__expandBtn {
  color: #1f3437 !important;
  background: #fff !important;
  box-shadow: 0 0 0 1px rgba(31, 52, 55, 0.28) !important;
}

/* SMC authoritative trustworthy header start 2026-07-15 */

/* Custom landing pages own their full-width header and should not inherit
   SWELL's article spacing or render a second theme header before the page CSS. */
body.smc-custom-page #header,
body.smc-custom-page .l-header,
body.smc-custom-page #fix_header {
  display: none !important;
}

body.smc-custom-page #content.l-content,
body.smc-custom-page .l-mainContent,
body.smc-custom-page .l-mainContent__inner,
body.smc-custom-page .post_content {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#body_wrap .smc-header {
  z-index: 90;
  isolation: isolate;
  background: #fffdf8;
  border-bottom: 1px solid rgba(23, 58, 76, 0.16);
  box-shadow: 0 8px 24px rgba(16, 43, 57, 0.08);
}

#body_wrap .smc-header__top {
  color: #fff;
  background: #102b39;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#body_wrap .smc-header__top .smc-wrap,
#body_wrap .smc-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

#body_wrap .smc-topclaims,
#body_wrap .smc-header__trust {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  min-width: 0;
  white-space: nowrap;
}

#body_wrap .smc-topclaims span,
#body_wrap .smc-header__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f2e5c7;
}

#body_wrap .smc-topclaims span::before,
#body_wrap .smc-header__trust span::before {
  width: 5px;
  height: 5px;
  content: "";
  flex: 0 0 5px;
  border-radius: 50%;
  background: #c59a45;
}

#body_wrap .smc-toplinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

#body_wrap .smc-toplinks a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(242, 229, 199, 0.32);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

#body_wrap .smc-toplinks a:hover {
  border-color: rgba(242, 229, 199, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

#body_wrap .smc-souvenir-v2 .smc-header__main,
#body_wrap .smc-site .smc-header__inner {
  display: grid;
  grid-template-columns: minmax(300px, 330px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.45vw, 20px);
  min-height: 92px;
}

#body_wrap .smc-logo,
#body_wrap .smc-brand--image {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 330px;
  max-width: 100%;
  padding: 0;
}

#body_wrap .smc-logo img,
#body_wrap .smc-logo-img {
  display: block;
  width: 330px !important;
  max-width: 100%;
  height: auto;
  max-height: 68px !important;
  aspect-ratio: 640 / 130;
  object-fit: contain;
}

#body_wrap .smc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#body_wrap .smc-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 clamp(6px, 0.8vw, 11px);
  border-radius: 0;
  color: #173a4c;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
}

#body_wrap .smc-nav a::after {
  position: absolute;
  right: 9px;
  bottom: 3px;
  left: 9px;
  height: 2px;
  content: "";
  background: #b44d38;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

#body_wrap .smc-nav a:hover,
#body_wrap .smc-nav a[aria-current="page"] {
  color: #9a382b;
  background: transparent;
}

#body_wrap .smc-nav a:hover::after,
#body_wrap .smc-nav a:focus-visible::after,
#body_wrap .smc-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

#body_wrap .smc-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

#body_wrap .smc-header__phone,
#body_wrap .smc-site .smc-phone,
#body_wrap .smc-header__cta,
#body_wrap .smc-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 6px 15px;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

#body_wrap .smc-header__phone,
#body_wrap .smc-site .smc-phone {
  min-width: 158px;
  flex-direction: column;
  border: 1px solid rgba(23, 58, 76, 0.2);
  color: #173a4c;
  background: #fff;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
}

#body_wrap .smc-header__phone-label {
  display: block;
  margin-bottom: 2px;
  color: #59696c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

#body_wrap .smc-header__phone strong,
#body_wrap .smc-site .smc-phone strong {
  font: inherit;
}

#body_wrap .smc-header__cta,
#body_wrap .smc-header-cta {
  min-width: 142px;
  border: 1px solid #a84130;
  color: #fff !important;
  background: #b44d38;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(180, 77, 56, 0.2);
}

#body_wrap .smc-header__phone:hover,
#body_wrap .smc-site .smc-phone:hover {
  border-color: rgba(23, 58, 76, 0.48);
  color: #9a382b;
}

#body_wrap .smc-header__cta:hover,
#body_wrap .smc-header-cta:hover {
  border-color: #923a2c;
  background: #9f402f;
  transform: translateY(-1px);
}

#body_wrap .smc-menu-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border: 1px solid rgba(23, 58, 76, 0.2);
  border-radius: 6px;
  color: #173a4c;
  background: #fffdf8;
  cursor: pointer;
}

#body_wrap .smc-menu-button__icon,
#body_wrap .smc-menu-button__icon::before,
#body_wrap .smc-menu-button__icon::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

#body_wrap .smc-menu-button__icon {
  position: relative;
}

#body_wrap .smc-menu-button__icon::before,
#body_wrap .smc-menu-button__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

#body_wrap .smc-menu-button__icon::before {
  top: -7px;
}

#body_wrap .smc-menu-button__icon::after {
  top: 7px;
}

#body_wrap .smc-menu-button[aria-expanded="true"] .smc-menu-button__icon {
  background: transparent;
}

#body_wrap .smc-menu-button[aria-expanded="true"] .smc-menu-button__icon::before {
  top: 0;
  transform: rotate(45deg);
}

#body_wrap .smc-menu-button[aria-expanded="true"] .smc-menu-button__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

#body_wrap .smc-header :where(a, button):focus-visible {
  outline: 3px solid #0b57d0 !important;
  outline-offset: 3px !important;
  border-radius: 5px;
}

html {
  scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

@media (min-width: 901px) {
  #body_wrap .smc-header {
    position: sticky;
    top: 0;
  }

  body.admin-bar #body_wrap .smc-header {
    top: 32px;
  }

  #body_wrap .smc-site :target,
  #body_wrap .smc-clean :target {
    scroll-margin-top: 150px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  #body_wrap .smc-souvenir-v2 .smc-header__main,
  #body_wrap .smc-site .smc-header__inner {
    grid-template-columns: minmax(250px, 280px) minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 84px;
  }

  #body_wrap .smc-logo,
  #body_wrap .smc-brand--image,
  #body_wrap .smc-logo img,
  #body_wrap .smc-logo-img {
    width: 280px !important;
    max-height: 58px !important;
  }

  #body_wrap .smc-nav a {
    min-height: 46px;
    padding-inline: 5px;
    font-size: 12.5px;
  }

  #body_wrap .smc-header__phone,
  #body_wrap .smc-site .smc-phone {
    display: none !important;
  }

  #body_wrap .smc-header__cta,
  #body_wrap .smc-header-cta {
    min-width: 132px;
    min-height: 50px;
    padding-inline: 12px;
  }

  #body_wrap .smc-site :target,
  #body_wrap .smc-clean :target {
    scroll-margin-top: 138px;
  }
}

@media (max-width: 900px) {
  #body_wrap .smc-header {
    position: relative;
    top: auto;
  }

  #body_wrap .smc-header__top .smc-wrap,
  #body_wrap .smc-header__top-inner {
    justify-content: center;
    min-height: 38px;
    padding-block: 4px;
  }

  #body_wrap .smc-toplinks {
    display: none !important;
  }

  #body_wrap .smc-topclaims,
  #body_wrap .smc-header__trust {
    justify-content: center;
    gap: 6px 12px;
    overflow: hidden;
    font-size: 11px;
    text-align: center;
  }

  #body_wrap .smc-souvenir-v2 .smc-header__main,
  #body_wrap .smc-site .smc-header__inner {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 46px !important;
    gap: 4px;
    min-height: 74px;
    padding-block: 0;
  }

  #body_wrap .smc-logo,
  #body_wrap .smc-brand--image {
    grid-row: 1;
    grid-column: 2;
    justify-self: center;
    justify-content: center;
    width: min(286px, 100%) !important;
  }

  #body_wrap .smc-logo img,
  #body_wrap .smc-logo-img {
    width: min(286px, 100%) !important;
    max-height: 58px !important;
  }

  #body_wrap .smc-nav,
  #body_wrap .smc-header__actions {
    display: none !important;
  }

  #body_wrap .smc-menu-button {
    display: inline-grid !important;
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
  }

  #body_wrap .smc-drawer {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 95;
    border-top: 1px solid rgba(23, 58, 76, 0.14);
    background: #fffdf8;
    box-shadow: 0 18px 34px rgba(16, 43, 57, 0.16);
  }

  #body_wrap .smc-drawer[hidden] {
    display: none !important;
  }

  #body_wrap .smc-drawer:not([hidden]) {
    display: block !important;
  }

  #body_wrap .smc-drawer__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    max-height: calc(100vh - 120px);
    padding-block: 10px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #body_wrap .smc-drawer a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 10px 13px;
    border-bottom: 1px solid rgba(23, 58, 76, 0.1);
    color: #173a4c;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
  }

  #body_wrap .smc-drawer a:hover {
    background: #f6f0e4;
  }

  #body_wrap .smc-drawer a.smc-drawer__cta {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 8px;
    border: 1px solid #a84130;
    border-radius: 6px;
    color: #fff;
    background: #b44d38;
    box-shadow: 0 8px 18px rgba(180, 77, 56, 0.18);
  }

  /* No-JS fallback: retain an accessible horizontally scrollable nav. */
  #body_wrap .smc-site .smc-header:not(:has(.smc-menu-button)) .smc-header__inner {
    grid-template-rows: 70px auto;
    padding-bottom: 6px;
  }

  #body_wrap .smc-site .smc-header:not(:has(.smc-menu-button)) .smc-nav {
    display: flex !important;
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  #body_wrap .smc-site .smc-header:not(:has(.smc-menu-button)) .smc-nav a {
    min-height: 44px;
    flex: 0 0 auto;
    padding-inline: 12px;
  }

  #body_wrap .smc-site :target,
  #body_wrap .smc-clean :target {
    scroll-margin-top: 20px;
  }
}

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

  #body_wrap .smc-header__top .smc-wrap,
  #body_wrap .smc-header__top-inner {
    min-height: 36px;
    font-size: 10.5px;
  }

  #body_wrap .smc-topclaims span:nth-child(3),
  #body_wrap .smc-header__trust span:nth-child(3) {
    display: none;
  }

  #body_wrap .smc-souvenir-v2 .smc-header__main,
  #body_wrap .smc-site .smc-header__inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    min-height: 72px;
  }

  #body_wrap .smc-logo,
  #body_wrap .smc-brand--image,
  #body_wrap .smc-logo img,
  #body_wrap .smc-logo-img {
    width: min(250px, calc(100vw - 104px)) !important;
    max-height: 52px !important;
  }

  #body_wrap .smc-menu-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  #body_wrap .smc-drawer__inner {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 108px);
    padding-top: 6px;
  }

  #body_wrap .smc-drawer a.smc-drawer__cta {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  #body_wrap .smc-logo,
  #body_wrap .smc-brand--image,
  #body_wrap .smc-logo img,
  #body_wrap .smc-logo-img {
    width: min(220px, calc(100vw - 100px)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #body_wrap .smc-header *,
  #body_wrap .smc-header *::before,
  #body_wrap .smc-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  #body_wrap .smc-header :where(a, button):focus-visible {
    outline: 2px solid CanvasText !important;
    box-shadow: none !important;
  }
}

@media print {
  #body_wrap .smc-header {
    position: static !important;
    box-shadow: none;
  }

  #body_wrap .smc-menu-button,
  #body_wrap .smc-drawer {
    display: none !important;
  }
}

/* SMC authoritative trustworthy header end 2026-07-15 */

/* SMC authoritative shared footer start 2026-07-15 */

/* The shared footer is rendered once at the true page end. */
body .smc-footer:not(.smc-footer--shared),
body footer#footer.l-footer {
  display: none !important;
}

.smc-footer--shared {
  --smc-footer-ink: #102b39;
  --smc-footer-navy: #102b39;
  --smc-footer-navy-deep: #0a222f;
  --smc-footer-ivory: #fffdf8;
  --smc-footer-ivory-deep: #f6f0e4;
  --smc-footer-rust: #b44d38;
  --smc-footer-rust-dark: #923a2c;
  --smc-footer-brass: #c59a45;
  --smc-footer-text: #e5edf0;
  --smc-footer-muted: #c5d1d6;
  position: relative;
  z-index: 2;
  clear: both;
  width: 100%;
  margin: 0;
  color: var(--smc-footer-ink);
  background: var(--smc-footer-ivory);
  font-family: inherit;
  line-height: 1.65;
  isolation: isolate;
}

.smc-footer--shared,
.smc-footer--shared *,
.smc-footer--shared *::before,
.smc-footer--shared *::after {
  box-sizing: border-box;
}

.smc-footer--shared :where(h2, h3, p, ul, figure, address) {
  margin: 0;
}

.smc-footer--shared :where(ul) {
  padding: 0;
  list-style: none;
}

.smc-footer--shared a {
  text-decoration: none;
}

.smc-footer__wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.smc-footer__sr-only {
  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;
  white-space: nowrap !important;
  border: 0 !important;
}

.smc-footer-prompt {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid rgba(16, 43, 57, 0.12);
  color: var(--smc-footer-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(197, 154, 69, 0.14), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, #f9f3e8 58%, #f1e8d8 100%);
}

.smc-footer-prompt::before,
.smc-footer-prompt::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.smc-footer-prompt::before {
  top: -70px;
  right: -50px;
  width: 340px;
  height: 230px;
  border: 1px solid rgba(180, 77, 56, 0.14);
  transform: rotate(-8deg);
}

.smc-footer-prompt::after {
  right: 7%;
  bottom: 18px;
  width: 86px;
  height: 4px;
  background: var(--smc-footer-brass);
}

.smc-footer-prompt__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
}

.smc-footer-prompt__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(16, 43, 57, 0.16);
  border-radius: 12px;
  background: #d8d1c5;
  box-shadow: 0 24px 54px rgba(16, 43, 57, 0.17);
}

.smc-footer-prompt__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(to top, rgba(10, 34, 47, 0.9), transparent);
  pointer-events: none;
}

.smc-footer-prompt__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.smc-footer-prompt__media figcaption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.025em;
}

.smc-footer-prompt__content {
  min-width: 0;
}

.smc-footer-prompt__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px !important;
  color: #8d352a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.smc-footer-prompt__eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--smc-footer-rust);
}

.smc-footer-prompt__content h2 {
  max-width: 18em;
  color: var(--smc-footer-ink);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.smc-footer-prompt__lead {
  max-width: 58ch;
  margin-top: 18px !important;
  color: #43535a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.smc-footer-prompt__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px !important;
}

.smc-footer-prompt__points li {
  position: relative;
  min-width: 0;
  padding: 13px 14px 13px 38px;
  border: 1px solid rgba(16, 43, 57, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

.smc-footer-prompt__points li::before {
  position: absolute;
  top: 17px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--smc-footer-rust);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.smc-footer-prompt__points strong,
.smc-footer-prompt__points span {
  display: block;
}

.smc-footer-prompt__points strong {
  color: var(--smc-footer-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.smc-footer-prompt__points span {
  margin-top: 3px;
  color: #52636a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.smc-footer-prompt__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.smc-footer-button {
  display: flex;
  min-height: 68px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid rgba(16, 43, 57, 0.2);
  border-radius: 7px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.smc-footer-button span {
  font-size: 14px;
}

.smc-footer-button small {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
}

.smc-footer-button--seller {
  border-color: var(--smc-footer-rust-dark);
  color: #fff !important;
  background: var(--smc-footer-rust);
  box-shadow: 0 12px 24px rgba(180, 77, 56, 0.18);
}

.smc-footer-button--seller small {
  color: #fff3ee;
}

.smc-footer-button--buyer {
  color: var(--smc-footer-ink) !important;
  background: #fff;
}

.smc-footer-button--buyer small {
  color: #52636a;
}

.smc-footer-prompt__phone {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  min-height: 48px;
  margin-top: 12px;
  padding: 7px 10px;
  color: var(--smc-footer-ink) !important;
  font-variant-numeric: tabular-nums;
}

.smc-footer-prompt__phone > span {
  font-size: 12px;
  font-weight: 800;
}

.smc-footer-prompt__phone strong {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.smc-footer-prompt__phone small {
  color: #59696c;
  font-size: 11px;
  font-weight: 700;
}

.smc-footer-main {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 72px) 0 28px;
  border-top: 5px solid var(--smc-footer-brass);
  color: var(--smc-footer-text);
  background:
    radial-gradient(circle at 8% 0%, rgba(197, 154, 69, 0.11), transparent 31%),
    linear-gradient(135deg, var(--smc-footer-navy) 0%, #123747 58%, var(--smc-footer-navy-deep) 100%);
}

.smc-footer-main::before {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.smc-footer-brand {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(230px, 1fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(24px, 3vw, 38px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.smc-footer-brand__logo {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 330px;
  min-height: 78px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.smc-footer-brand__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.smc-footer-brand > p {
  max-width: 48ch;
  color: var(--smc-footer-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}

.smc-footer-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.smc-footer-trust li {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(242, 229, 199, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.smc-footer-trust strong,
.smc-footer-trust span {
  display: block;
}

.smc-footer-trust strong {
  color: #f2dea0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.smc-footer-trust span {
  margin-top: 3px;
  color: var(--smc-footer-muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
}

.smc-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 2.12fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
  padding-top: 34px;
}

.smc-footer-company {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.smc-footer--shared h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

.smc-footer-company h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}

.smc-footer-company h3::before,
.smc-footer-nav h3::before {
  width: 3px;
  height: 1.1em;
  border-radius: 3px;
  content: "";
  background: var(--smc-footer-brass);
}

.smc-footer-company__name {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.smc-footer-company address {
  margin-top: 10px !important;
  color: var(--smc-footer-text);
  font-size: 13px;
  font-style: normal;
  line-height: 1.85;
}

.smc-footer-company__meta {
  margin-top: 10px !important;
  color: var(--smc-footer-muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.smc-footer-company__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: #fff !important;
  font-size: 19px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
}

.smc-footer-company__hours {
  color: var(--smc-footer-muted);
  font-size: 11px;
  font-weight: 700;
}

.smc-footer-company__detail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  color: #f2dea0 !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}

.smc-footer-nav {
  display: grid;
  grid-template-columns: 0.95fr 0.95fr 1.1fr;
  gap: clamp(18px, 3vw, 32px);
  min-width: 0;
}

.smc-footer-nav > section {
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.smc-footer-nav h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.smc-footer-nav ul {
  display: grid;
  gap: 2px;
}

.smc-footer-nav li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 5px 0 5px 15px;
  color: #eef4f6 !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  transition: color 0.18s ease, transform 0.18s ease;
}

.smc-footer-nav li > a::before {
  position: absolute;
  left: 1px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #f2dea0;
  border-right: 1px solid #f2dea0;
  content: "";
  transform: rotate(45deg);
}

.smc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--smc-footer-muted);
  font-size: 12px;
  font-weight: 600;
}

.smc-footer-bottom__fee {
  color: #f2dea0;
  font-weight: 900;
}

.smc-footer-disclaimer {
  margin-top: 10px !important;
  color: #afbec4;
  font-size: 10.5px;
  line-height: 1.75;
}

.smc-footer-prompt :where(a, button):focus-visible {
  outline: 3px solid #0b57d0 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #0b57d0 !important;
  border-radius: 6px;
}

.smc-footer-main :where(a, button):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #6fb2ff !important;
  border-radius: 6px;
}

@media (hover: hover) {
  .smc-footer-button:hover {
    transform: translateY(-1px);
  }

  .smc-footer-button--seller:hover {
    background: var(--smc-footer-rust-dark);
    box-shadow: 0 15px 30px rgba(180, 77, 56, 0.25);
  }

  .smc-footer-button--buyer:hover {
    box-shadow: 0 12px 26px rgba(16, 43, 57, 0.13);
  }

  .smc-footer-prompt__phone:hover,
  .smc-footer-company__tel:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .smc-footer-nav li > a:hover {
    color: #f2dea0 !important;
    transform: translateX(2px);
  }
}

@media (max-width: 1020px) {
  .smc-footer-brand {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  }

  .smc-footer-trust {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .smc-footer-grid {
    grid-template-columns: minmax(240px, 0.82fr) minmax(0, 2.18fr);
    gap: 28px;
  }

  .smc-footer-nav {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .smc-footer__wrap {
    width: min(100% - 36px, 1120px);
  }

  .smc-footer-prompt__grid {
    gap: 30px;
  }

  .smc-footer-prompt__content h2 {
    font-size: clamp(25px, 4vw, 36px);
  }

  .smc-footer-grid {
    grid-template-columns: 1fr;
  }

  .smc-footer-company {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .smc-footer-company h3,
  .smc-footer-company__name {
    grid-column: 1 / -1;
  }

  .smc-footer-company__detail {
    justify-self: start;
  }

  .smc-footer-nav li > a {
    min-height: 44px;
  }

  body:has(.smc-mobile-actions) .smc-footer-main {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 760px) {
  .smc-footer-prompt {
    padding-block: 52px;
  }

  .smc-footer-prompt__grid {
    grid-template-columns: 1fr;
  }

  .smc-footer-prompt__media {
    width: min(100%, 620px);
    max-height: 430px;
  }

  .smc-footer-prompt__content {
    max-width: 620px;
  }

  .smc-footer-prompt__content h2 {
    max-width: 20em;
  }

  .smc-footer-brand {
    grid-template-columns: 1fr;
  }

  .smc-footer-brand__logo {
    max-width: 330px;
  }

  .smc-footer-trust {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smc-footer-company {
    grid-template-columns: 1fr;
  }

  .smc-footer-company h3,
  .smc-footer-company__name {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .smc-footer__wrap {
    width: min(100% - 28px, 1120px);
  }

  .smc-footer-prompt {
    padding-block: 44px;
  }

  .smc-footer-prompt__media {
    border-radius: 9px;
  }

  .smc-footer-prompt__media figcaption {
    right: 16px;
    bottom: 14px;
    left: 16px;
    font-size: 12px;
  }

  .smc-footer-prompt__content h2 {
    font-size: clamp(24px, 7.4vw, 32px);
  }

  .smc-footer-prompt__lead {
    font-size: 14px;
  }

  .smc-footer-prompt__points,
  .smc-footer-prompt__actions {
    grid-template-columns: 1fr;
  }

  .smc-footer-prompt__phone {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1px 9px;
    width: 100%;
    padding-inline: 3px;
  }

  .smc-footer-prompt__phone strong {
    font-size: 18px;
  }

  .smc-footer-prompt__phone small {
    grid-column: 2;
  }

  .smc-footer-main {
    padding-top: 44px;
  }

  .smc-footer-brand__logo {
    min-height: 70px;
  }

  .smc-footer-nav {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .smc-footer-nav > section {
    padding: 18px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .smc-footer-nav > section:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .smc-footer-nav li > a {
    width: 100%;
    min-height: 46px;
    font-size: 13.5px;
  }

  .smc-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .smc-footer__wrap {
    width: min(100% - 24px, 1120px);
  }

  .smc-footer-trust {
    grid-template-columns: 1fr;
  }

  .smc-footer-company {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smc-footer--shared *,
  .smc-footer--shared *::before,
  .smc-footer--shared *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .smc-footer--shared :where(a, button):focus-visible {
    outline: 2px solid CanvasText !important;
    box-shadow: none !important;
  }

  .smc-footer-prompt__points li::before {
    border: 1px solid CanvasText;
  }
}

@media print {
  .smc-footer-prompt {
    display: none !important;
  }

  .smc-footer-main {
    padding-block: 20px;
    border-top: 1px solid #000;
    color: #000;
    background: #fff;
  }

  .smc-footer-brand,
  .smc-footer-grid {
    display: block;
  }

  .smc-footer-brand > p,
  .smc-footer-company address,
  .smc-footer-company__meta,
  .smc-footer-company__hours,
  .smc-footer-bottom,
  .smc-footer-disclaimer {
    color: #000;
  }

  .smc-footer-trust,
  .smc-footer-nav {
    display: none;
  }

  .smc-footer-company {
    padding: 18px 0;
    border: 0;
    background: transparent;
  }

  .smc-footer--shared h3,
  .smc-footer-company__name,
  .smc-footer-company__tel,
  .smc-footer-brand__logo {
    color: #000 !important;
    box-shadow: none;
  }
}

/* SMC authoritative shared footer end 2026-07-15 */

/* SMC contrast-safe states start 2026-07-15 */
#body_wrap .smc-souvenir-v2 {
  --v2-rust: #8f3328;
}

/* Skip links must remain legible when they move into view on keyboard focus. */
#body_wrap .smc-clean .smc-skip,
#body_wrap .smc-site .smc-skip-link {
  border: 2px solid #102b39 !important;
  color: #102b39 !important;
  background: #fffdf8 !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* A solid label surface prevents the hero gradient and label from merging. */
#body_wrap .smc-site .smc-page-hero .smc-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid #d6b15c !important;
  border-radius: 999px;
  color: #f8f3e8 !important;
  background: #071f2b !important;
  letter-spacing: 0.08em;
}

/* Small rust labels on light washi cards use an AAA-safe rust and opaque paper. */
#body_wrap .smc-clean .smc-kicker,
#body_wrap .smc-clean .smc-practice-point__label,
#body_wrap .smc-clean :where(.smc-card__num, .smc-knowledge time) {
  color: #8f3328 !important;
}

#body_wrap .smc-clean .smc-practice-point__label {
  border: 1px solid #8c8070;
  color: #8f3328 !important;
  background: #fffdf8 !important;
}

/* Primary calls to action: opaque surfaces in every state. */
#body_wrap .smc-clean :where(.smc-btn--primary, .smc-header__cta),
#body_wrap .smc-site :where(.smc-btn--primary, .smc-header-cta),
#body_wrap .smc-site .smc-cf7-form .wpcf7-submit,
#body_wrap .smc-clean .smc-mobile-actions a:last-child,
#body_wrap .smc-site .smc-mobile-bar a:last-child,
.smc-footer--shared .smc-footer-button--seller {
  border: 2px solid #8f3328 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: #8f3328 !important;
  opacity: 1 !important;
}

@media (hover: hover) {
  #body_wrap .smc-clean :where(.smc-btn--primary, .smc-header__cta):hover,
  #body_wrap .smc-site :where(.smc-btn--primary, .smc-header-cta):hover,
  #body_wrap .smc-site .smc-cf7-form .wpcf7-submit:not(:disabled):hover,
  #body_wrap .smc-clean .smc-mobile-actions a:last-child:hover,
  #body_wrap .smc-site .smc-mobile-bar a:last-child:hover,
  .smc-footer--shared .smc-footer-button--seller:hover {
    border-color: #76261e !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: #76261e !important;
  }
}

#body_wrap .smc-clean :where(.smc-btn--primary, .smc-header__cta):active,
#body_wrap .smc-site :where(.smc-btn--primary, .smc-header-cta):active,
#body_wrap .smc-site .smc-cf7-form .wpcf7-submit:not(:disabled):active,
#body_wrap .smc-clean .smc-mobile-actions a:last-child:active,
#body_wrap .smc-site .smc-mobile-bar a:last-child:active {
  border-color: #611b17 !important;
  color: #fff !important;
  background: #611b17 !important;
}

/* Outline and telephone actions use a visible 2px boundary on light surfaces. */
#body_wrap .smc-clean .smc-btn:not(.smc-btn--primary):not(.smc-btn--dark),
#body_wrap .smc-site .smc-btn:not(.smc-btn--primary):not(.smc-btn--dark),
#body_wrap .smc-clean .smc-header__phone,
#body_wrap .smc-site :where(.smc-header__phone, .smc-phone),
#body_wrap .smc-clean .smc-menu-button,
#body_wrap .smc-site .smc-menu-button,
#body_wrap .smc-clean .smc-practice__sources a,
.smc-footer--shared .smc-footer-button--buyer {
  border: 2px solid #173a4c !important;
  color: #102b39 !important;
  -webkit-text-fill-color: #102b39;
  background: #fffdf8 !important;
}

@media (hover: hover) {
  #body_wrap .smc-clean .smc-btn:not(.smc-btn--primary):not(.smc-btn--dark):hover,
  #body_wrap .smc-site .smc-btn:not(.smc-btn--primary):not(.smc-btn--dark):hover,
  #body_wrap .smc-clean .smc-header__phone:hover,
  #body_wrap .smc-site :where(.smc-header__phone, .smc-phone):hover,
  #body_wrap .smc-clean .smc-menu-button:hover,
  #body_wrap .smc-site .smc-menu-button:hover,
  #body_wrap .smc-clean .smc-practice__sources a:hover,
  .smc-footer--shared .smc-footer-button--buyer:hover {
    border-color: #173a4c !important;
    color: #102b39 !important;
    -webkit-text-fill-color: #102b39;
    background: #eaf0f2 !important;
  }
}

/* Dark actions and the telephone half of fixed mobile bars remain high contrast. */
#body_wrap .smc-clean .smc-btn--dark,
#body_wrap .smc-clean .smc-mobile-actions a:first-child,
#body_wrap .smc-site .smc-mobile-bar a:first-child {
  border: 2px solid #071f2b !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: #071f2b !important;
}

@media (hover: hover) {
  #body_wrap .smc-clean .smc-btn--dark:hover,
  #body_wrap .smc-clean .smc-mobile-actions a:first-child:hover,
  #body_wrap .smc-site .smc-mobile-bar a:first-child:hover {
    border-color: #102b39 !important;
    color: #fff !important;
    background: #102b39 !important;
  }
}

/* Header navigation retains text/background separation in every state. */
#body_wrap .smc-header .smc-nav a {
  color: #102b39 !important;
  background: transparent !important;
}

#body_wrap .smc-header .smc-nav a:hover,
#body_wrap .smc-header .smc-nav a[aria-current="page"] {
  color: #8f3328 !important;
  background: #fffdf8 !important;
}

#body_wrap .smc-header :where(.smc-toplinks a, .smc-topclaims span, .smc-header__trust span) {
  color: #f8f3e8 !important;
}

/* Form controls: readable values, placeholders, boundaries and states. */
#body_wrap .smc-site .smc-cf7-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) {
  border: 2px solid #7a8696 !important;
  color: #183847 !important;
  -webkit-text-fill-color: #183847;
  background: #fff !important;
  opacity: 1;
}

#body_wrap .smc-site .smc-cf7-form :where(input, textarea)::placeholder {
  color: #5f6b7a !important;
  -webkit-text-fill-color: #5f6b7a;
  opacity: 1 !important;
}

#body_wrap .smc-site .smc-cf7-form :where(input, select, textarea)[aria-invalid="true"] {
  border-color: #9a2d24 !important;
  background: #fff8f7 !important;
}

#body_wrap .smc-site .smc-cf7-form :where(input, select, textarea):disabled,
#body_wrap .smc-site .smc-cf7-form :where(input, select, textarea)[readonly] {
  border-color: #7a8696 !important;
  color: #3b535d !important;
  -webkit-text-fill-color: #3b535d;
  background: #eef2f4 !important;
  opacity: 1 !important;
}

#body_wrap .smc-site .smc-cf7-form :where(.smc-cf7-note, .smc-cf7-help) {
  color: #4f5f66 !important;
}

#body_wrap .smc-site .smc-cf7-form :where(.smc-cf7-checks label, .wpcf7-acceptance label) {
  border: 2px solid #7a8696 !important;
  color: #3b535d !important;
  background: #fffdf8 !important;
}

#body_wrap .smc-site .smc-cf7-form :where(.smc-cf7-checks label, .wpcf7-acceptance label):has(input:checked) {
  border-color: #8f3328 !important;
  color: #183847 !important;
  background: #fff1de !important;
}

#body_wrap .smc-site .smc-cf7-form :where(input[type="checkbox"], input[type="radio"]) {
  width: 20px;
  min-width: 20px;
  height: 20px;
  accent-color: #8f3328;
  opacity: 1 !important;
}

#body_wrap .smc-site .smc-cf7-form :where(.smc-cf7-consent, .wpcf7-acceptance) a {
  color: #0b5670 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

#body_wrap .smc-site .smc-cf7-form .wpcf7-submit:disabled,
#body_wrap .smc-site .smc-cf7-form.submitting .wpcf7-submit {
  border-color: #59636f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: #59636f !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

#body_wrap .smc-site .smc-cf7-form.submitting .wpcf7-submit {
  cursor: progress;
}

#body_wrap .smc-site .smc-cf7-form .wpcf7-not-valid-tip {
  color: #9a2d24 !important;
  font-weight: 800;
}

#body_wrap .smc-site .wpcf7-form .wpcf7-response-output {
  border-width: 2px !important;
  border-style: solid !important;
  border-radius: 6px;
  padding: 13px 15px !important;
  font-weight: 750;
}

#body_wrap .smc-site .wpcf7-form:is(.invalid, .unaccepted) .wpcf7-response-output {
  border-color: #8a4b00 !important;
  color: #5b2f00 !important;
  background: #fff4e5 !important;
}

#body_wrap .smc-site .wpcf7-form.sent .wpcf7-response-output {
  border-color: #257a3e !important;
  color: #174b29 !important;
  background: #eaf7ef !important;
}

#body_wrap .smc-site .wpcf7-form:is(.failed, .aborted, .spam) .wpcf7-response-output {
  border-color: #9a2d24 !important;
  color: #6b1f1a !important;
  background: #fff0ef !important;
}

/* One two-color focus ring works on paper, rust, navy and photographs. */
#body_wrap :where(.smc-clean, .smc-site) :where(a, button, input, select, textarea, summary):focus-visible,
.smc-footer--shared :where(a, button):focus-visible {
  outline: 3px solid #fffdf8 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 6px #071f2b !important;
}

/* Footer colors use opaque text/button pairs with AAA-level separation. */
.smc-footer--shared {
  --smc-footer-navy: #071f2b;
  --smc-footer-navy-deep: #071f2b;
  --smc-footer-rust: #8f3328;
  --smc-footer-rust-dark: #76261e;
  --smc-footer-brass: #d6b15c;
  --smc-footer-text: #f8f3e8;
  --smc-footer-muted: #c9d2d5;
}

.smc-footer--shared .smc-footer-prompt__eyebrow {
  color: #8f3328 !important;
}

.smc-footer--shared .smc-footer-disclaimer {
  color: #c9d2d5 !important;
}

@media (max-width: 900px) {
  #body_wrap .smc-clean .smc-mobile-actions,
  #body_wrap .smc-site .smc-mobile-bar {
    bottom: max(8px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  }
}

@media (forced-colors: active) {
  #body_wrap .smc-site .smc-cf7-form :where(input, select, textarea, .smc-cf7-checks label, .wpcf7-acceptance label),
  #body_wrap :where(.smc-clean, .smc-site) :where(a, button, input, select, textarea, summary):focus-visible {
    border: 2px solid CanvasText !important;
    outline: 2px solid CanvasText !important;
    box-shadow: none !important;
  }

  #body_wrap .smc-site .smc-cf7-form .wpcf7-submit {
    border: 2px solid ButtonText !important;
  }
}
/* SMC contrast-safe states end 2026-07-15 */

/* SMC warm trustworthy homepage polish start 2026-07-15 */
#body_wrap.home .smc-souvenir-v2 {
  --smc-home-navy-900: #0d2832;
  --smc-home-navy-800: #123643;
  --smc-home-ink: #19333d;
  --smc-home-body: #314851;
  --smc-home-ivory: #f7f1e6;
  --smc-home-sand: #ebdcc5;
  --smc-home-cream: #f3e6d1;
  --smc-home-sage: #d9e5da;
  --smc-home-teal: #245a65;
  --smc-home-rust: #8f3328;
  --smc-home-rust-hover: #76261e;
  --smc-home-gold: #d6b15c;
  --smc-home-line: #a5977f;
  color: var(--smc-home-body);
  background: var(--smc-home-sand);
}

/* Header: warm ivory instead of a stark white slab. */
#body_wrap.home .smc-header {
  border-bottom: 2px solid #d1bd96;
  background: linear-gradient(180deg, #fbf6ed 0%, var(--smc-home-ivory) 100%);
  box-shadow: 0 9px 26px rgba(13, 40, 50, 0.09);
}

#body_wrap.home .smc-header__top {
  background: linear-gradient(90deg, var(--smc-home-navy-900), var(--smc-home-navy-800));
}

#body_wrap.home .smc-header__main {
  position: relative;
  min-height: 92px;
}

#body_wrap.home .smc-header__main::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(214, 177, 92, 0.78), transparent);
  pointer-events: none;
}

#body_wrap.home .smc-logo,
#body_wrap.home .smc-logo img {
  filter: none;
}

#body_wrap.home .smc-header .smc-nav a:hover,
#body_wrap.home .smc-header .smc-nav a[aria-current="page"] {
  color: var(--smc-home-rust) !important;
  background: var(--smc-home-cream) !important;
}

#body_wrap.home .smc-header__phone,
#body_wrap.home .smc-header .smc-phone,
#body_wrap.home .smc-menu-button {
  color: var(--smc-home-navy-900) !important;
  background: var(--smc-home-ivory) !important;
}

#body_wrap.home .smc-drawer {
  border-top-color: #b9a983;
  background: var(--smc-home-ivory);
}

#body_wrap.home .smc-drawer a {
  border-bottom-color: rgba(13, 40, 50, 0.18);
  color: var(--smc-home-navy-900);
}

#body_wrap.home .smc-drawer a:hover {
  background: var(--smc-home-cream);
}

/* Hero: bright wrapping-paper tones, a clear face-visible photo and grounded facts. */
#body_wrap.home .smc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #c7b895;
  background:
    radial-gradient(circle at 86% 14%, rgba(214, 177, 92, 0.24), transparent 26%),
    linear-gradient(120deg, #fbf6ec 0%, var(--smc-home-ivory) 42%, var(--smc-home-sand) 100%);
}

#body_wrap.home .smc-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(13, 40, 50, 0.025) 48% 48.2%, transparent 48.2% 100%),
    repeating-linear-gradient(45deg, rgba(165, 151, 127, 0.045) 0 1px, transparent 1px 34px);
  pointer-events: none;
}

#body_wrap.home .smc-hero__grid {
  min-height: 620px;
  padding-block: clamp(62px, 6vw, 78px);
}

#body_wrap.home .smc-hero__content {
  max-width: 650px;
}

#body_wrap.home .smc-hero .smc-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid #91a99a;
  border-radius: 999px;
  color: var(--smc-home-teal);
  background: var(--smc-home-sage);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

#body_wrap.home .smc-hero .smc-eyebrow::before {
  width: 22px;
  height: 2px;
  margin-right: 8px;
  content: "";
  background: var(--smc-home-rust);
}

#body_wrap.home .smc-hero h1 {
  max-width: 12.5em;
  color: var(--smc-home-navy-900);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

#body_wrap.home .smc-hero__content > p {
  max-width: 39em;
  color: var(--smc-home-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.95;
}

#body_wrap.home .smc-hero__consult {
  overflow: hidden;
  border: 1px solid #b7a77f;
  border-top: 5px solid var(--smc-home-teal);
  border-radius: 12px;
  background: var(--smc-home-ivory);
  box-shadow: 0 26px 58px rgba(13, 40, 50, 0.18);
}

#body_wrap.home .smc-hero__image {
  overflow: hidden;
  border: 1px solid #d0c09e;
  border-radius: 8px;
  background: var(--smc-home-sand);
}

#body_wrap.home .smc-hero__image img,
#body_wrap.home .smc-hero__mobile-photo img {
  filter: saturate(0.95) brightness(1.035);
  object-position: 58% 42%;
}

#body_wrap.home .smc-hero__facts {
  gap: 9px;
}

#body_wrap.home .smc-fact {
  border: 1px solid #c7b895;
  border-left: 4px solid var(--smc-home-gold);
  color: var(--smc-home-body);
  background: #fbf5ea;
}

#body_wrap.home .smc-fact:nth-child(2) {
  border-left-color: var(--smc-home-teal);
  background: #e6eee8;
}

#body_wrap.home .smc-fact:nth-child(3) {
  border-left-color: var(--smc-home-rust);
  background: #f2e3d6;
}

#body_wrap.home .smc-fact b {
  color: var(--smc-home-navy-900);
}

#body_wrap.home .smc-fact span {
  color: var(--smc-home-body);
}

/* Proof strip: a stable dark anchor after the bright hero. */
#body_wrap.home .smc-trustbar {
  border-top: 1px solid var(--smc-home-gold);
  border-bottom: 1px solid #071f2b;
  background: linear-gradient(90deg, var(--smc-home-navy-900), var(--smc-home-navy-800) 54%, #174958);
  box-shadow: 0 12px 26px rgba(13, 40, 50, 0.14);
}

#body_wrap.home .smc-trustbar__item {
  border-left-color: rgba(214, 177, 92, 0.56);
}

#body_wrap.home .smc-trustbar__item strong {
  color: #f8f3e8;
}

#body_wrap.home .smc-trustbar__item span {
  color: #d9e3e4;
}

#body_wrap.home .smc-trustbar__item--fee {
  background: rgba(214, 177, 92, 0.09);
}

/* Alternating warm and sage bands avoid a long, mostly-white page. */
#body_wrap.home .smc-section {
  position: relative;
  padding-block: clamp(70px, 6vw, 88px);
  border-top: 1px solid rgba(13, 40, 50, 0.11);
}

#body_wrap.home #service {
  background: linear-gradient(180deg, #f6ecdc 0%, #efe1ca 100%);
}

#body_wrap.home #industry-practice {
  background:
    linear-gradient(90deg, rgba(36, 90, 101, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(36, 90, 101, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #e6eee8 0%, var(--smc-home-sage) 58%, #e3eadf 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

#body_wrap.home #fee {
  background:
    radial-gradient(circle at 10% 12%, rgba(214, 177, 92, 0.22), transparent 28%),
    linear-gradient(135deg, var(--smc-home-sand), var(--smc-home-cream));
}

#body_wrap.home #valuation {
  background: linear-gradient(180deg, var(--smc-home-ivory), #efe3d0);
}

#body_wrap.home #process {
  background: linear-gradient(135deg, #e4ece6, #d5e3d9);
}

#body_wrap.home #faq {
  background:
    linear-gradient(120deg, rgba(214, 177, 92, 0.08), transparent 38%),
    linear-gradient(180deg, var(--smc-home-cream), #ead8bd);
}

#body_wrap.home .smc-section__head {
  margin-bottom: clamp(34px, 4vw, 48px);
}

#body_wrap.home .smc-title,
#body_wrap.home .smc-section h2 {
  color: var(--smc-home-ink);
  text-wrap: balance;
}

#body_wrap.home .smc-lead,
#body_wrap.home .smc-section__head > p {
  color: var(--smc-home-body);
}

/* Photo cards: warm surfaces, visible boundaries and restrained depth. */
#body_wrap.home .smc-card {
  overflow: hidden;
  border: 1px solid var(--smc-home-line);
  border-radius: 10px;
  background: #fbf5ea;
  box-shadow: 0 16px 34px rgba(13, 40, 50, 0.1);
}

#body_wrap.home .smc-card__media {
  border-bottom: 4px solid var(--smc-home-gold);
  background: var(--smc-home-sand);
}

#body_wrap.home .smc-card__media img,
#body_wrap.home .smc-photo img {
  filter: saturate(0.96) brightness(1.025);
}

#body_wrap.home .smc-card__body {
  background: #fbf5ea;
}

#body_wrap.home .smc-card h3,
#body_wrap.home .smc-card strong {
  color: var(--smc-home-ink);
}

#body_wrap.home .smc-card p {
  color: var(--smc-home-body);
}

/* Industry knowledge: dark title caps over calm sage paper cards. */
#body_wrap.home .smc-practice-card {
  overflow: hidden;
  border: 1px solid #95a79b;
  border-radius: 10px;
  background: var(--smc-home-ivory);
  box-shadow: 0 16px 34px rgba(13, 40, 50, 0.09);
}

#body_wrap.home .smc-practice-card__head {
  border-top-color: var(--smc-home-gold);
  background: linear-gradient(135deg, var(--smc-home-navy-900), var(--smc-home-teal));
}

#body_wrap.home .smc-practice-card__body {
  background: var(--smc-home-ivory);
}

/* Fee area: one authoritative navy panel with warmer supporting cards. */
#body_wrap.home .smc-fee__main {
  border: 1px solid var(--smc-home-gold);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--smc-home-navy-900), var(--smc-home-navy-800));
  box-shadow: 0 20px 44px rgba(13, 40, 50, 0.18);
}

#body_wrap.home .smc-fee__main :where(h2, p, li, span) {
  color: #f8f3e8;
}

#body_wrap.home .smc-fee__main .smc-kicker {
  color: #f2d994 !important;
}

#body_wrap.home .smc-fee-mini {
  border: 1px solid var(--smc-home-line);
  border-radius: 9px;
  background: #fbf5ea;
  box-shadow: 0 10px 24px rgba(13, 40, 50, 0.07);
}

#body_wrap.home .smc-fee-mini:nth-child(2) {
  border-color: #93a89b;
  background: #e6eee8;
}

#body_wrap.home .smc-fee-mini h3 {
  color: var(--smc-home-ink);
}

#body_wrap.home .smc-fee-mini p {
  color: var(--smc-home-body);
}

/* Valuation image and process cards remain bright without pure-white patches. */
#body_wrap.home .smc-photo {
  overflow: hidden;
  border: 1px solid var(--smc-home-line);
  border-radius: 10px;
  background: var(--smc-home-sand);
  box-shadow: 13px 13px 0 rgba(214, 177, 92, 0.22);
}

#body_wrap.home .smc-photo figcaption {
  color: var(--smc-home-ink);
  background: var(--smc-home-ivory);
}

#body_wrap.home .smc-step {
  border: 1px solid #91a89a;
  border-radius: 9px;
  background: var(--smc-home-ivory);
  box-shadow: 0 9px 22px rgba(13, 40, 50, 0.06);
}

#body_wrap.home .smc-step::before {
  color: #f8f3e8;
  background: var(--smc-home-navy-800);
}

#body_wrap.home .smc-step h3 {
  color: var(--smc-home-ink);
}

#body_wrap.home .smc-step p {
  color: var(--smc-home-body);
}

/* FAQ: cream panels, clear open state and visible boundaries. */
#body_wrap.home .smc-faq details {
  overflow: hidden;
  border: 1px solid var(--smc-home-line);
  border-radius: 9px;
  background: var(--smc-home-ivory);
  box-shadow: 0 8px 18px rgba(13, 40, 50, 0.045);
}

#body_wrap.home .smc-faq details[open] {
  border-color: #8f7453;
  background: #fbf5ea;
}

#body_wrap.home .smc-faq summary {
  color: var(--smc-home-ink);
  background: transparent;
}

#body_wrap.home .smc-faq details[open] summary {
  border-bottom: 1px solid #c7b895;
  background: #eee3cf;
}

#body_wrap.home .smc-faq details > :not(summary) {
  color: var(--smc-home-body);
}

/* Shared footer: brighter warm pre-footer, then a confident dark information area. */
.smc-footer--shared .smc-footer-prompt {
  border-top-color: #c7b895;
  background:
    radial-gradient(circle at 8% 8%, rgba(214, 177, 92, 0.2), transparent 28%),
    linear-gradient(135deg, #faf4e9 0%, #efe3cf 58%, #e5d3b7 100%);
}

.smc-footer--shared .smc-footer-prompt__media {
  border-color: #9f8f73;
  border-radius: 12px;
}

.smc-footer--shared .smc-footer-prompt__points li {
  border-color: #a99a7f;
  background: #f8f0e2;
}

.smc-footer--shared .smc-footer-brand__logo {
  border-color: #d0bf9c;
  background: #f7f0e3;
}

.smc-footer--shared .smc-footer-button--buyer {
  border-color: var(--smc-home-navy-900, #0d2832) !important;
  color: #0d2832 !important;
  -webkit-text-fill-color: #0d2832;
  background: #f7f0e3 !important;
}

.smc-footer--shared .smc-footer-main {
  background:
    radial-gradient(circle at 8% 0%, rgba(214, 177, 92, 0.12), transparent 31%),
    linear-gradient(135deg, #0d2832 0%, #123643 58%, #071f2b 100%);
}

/* Tablet and mobile keep the same color rhythm while simplifying the layout. */
@media (max-width: 900px) {
  #body_wrap.home .smc-header__main {
    min-height: 74px;
  }

  #body_wrap.home .smc-hero__grid {
    min-height: 0;
    padding-block: 52px;
  }

  #body_wrap.home .smc-hero__content {
    max-width: 680px;
  }

  #body_wrap.home .smc-hero h1 {
    max-width: 15em;
    font-size: clamp(34px, 6.2vw, 46px);
  }

  #body_wrap.home .smc-hero__mobile-photo {
    overflow: hidden;
    border: 5px solid var(--smc-home-ivory);
    border-radius: 11px;
    background: var(--smc-home-sand);
    box-shadow: 0 18px 38px rgba(13, 40, 50, 0.16);
  }

  #body_wrap.home .smc-section {
    padding-block: 68px;
  }

  #body_wrap.home .smc-trustbar__grid {
    background: transparent;
  }
}

@media (max-width: 640px) {
  #body_wrap.home .smc-header {
    box-shadow: 0 6px 18px rgba(13, 40, 50, 0.08);
  }

  #body_wrap.home .smc-hero__grid {
    padding-block: 42px 48px;
  }

  #body_wrap.home .smc-hero .smc-eyebrow {
    min-height: 30px;
    margin-bottom: 15px;
    padding-inline: 10px;
    font-size: 11px;
  }

  #body_wrap.home .smc-hero h1 {
    font-size: clamp(29px, 8vw, 35px);
    line-height: 1.36;
  }

  #body_wrap.home .smc-hero__content > p {
    font-size: 15px;
    line-height: 1.9;
  }

  #body_wrap.home .smc-hero__mobile-photo {
    margin-block: 22px 20px;
    border-width: 4px;
  }

  #body_wrap.home .smc-hero__mobile-photo img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 58% 42%;
  }

  #body_wrap.home .smc-section {
    padding-block: 54px;
  }

  #body_wrap.home .smc-section__head {
    margin-bottom: 30px;
  }

  #body_wrap.home .smc-card,
  #body_wrap.home .smc-practice-card,
  #body_wrap.home .smc-fee__main,
  #body_wrap.home .smc-fee-mini,
  #body_wrap.home .smc-step,
  #body_wrap.home .smc-faq details {
    border-radius: 8px;
  }

  #body_wrap.home .smc-photo {
    box-shadow: 8px 8px 0 rgba(214, 177, 92, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  #body_wrap.home .smc-souvenir-v2 *,
  #body_wrap.home .smc-souvenir-v2 *::before,
  #body_wrap.home .smc-souvenir-v2 *::after {
    transition-duration: 0.01ms !important;
  }
}
/* SMC warm trustworthy homepage polish end 2026-07-15 */

/* SMC homepage supporting bands and CTA distinction start 2026-07-15 */
#body_wrap.home .smc-section:has(.smc-industries) {
  background: linear-gradient(180deg, #f7f1e6, #efe4d2);
}

#body_wrap.home .smc-section:has(.smc-knowledge) {
  background:
    linear-gradient(120deg, rgba(214, 177, 92, 0.08), transparent 34%),
    linear-gradient(180deg, #f3e6d1, #eadcc5);
}

#body_wrap.home .smc-note-section {
  background: #e7d7bd;
}

#body_wrap.home .smc-note {
  border: 1px solid #9e8e73;
  background: #f3e6d1;
}

#body_wrap.home .smc-section__head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(13, 40, 50, 0.18);
}

#body_wrap.home .smc-section--navy {
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 177, 92, 0.16), transparent 29%),
    linear-gradient(135deg, #0d2832, #123643 62%, #0a232d);
}

#body_wrap.home .smc-section--navy .smc-section__head {
  border-bottom-color: rgba(248, 243, 232, 0.22);
}

#body_wrap.home .smc-section--navy :where(.smc-title, .smc-lead, h2, h3, p) {
  color: #f8f3e8;
}

#body_wrap.home .smc-route-card {
  overflow: hidden;
  border: 1px solid rgba(214, 177, 92, 0.58);
  border-radius: 10px;
  background: rgba(248, 243, 232, 0.085);
  box-shadow: 0 16px 34px rgba(7, 31, 43, 0.2);
}

#body_wrap.home .smc-route-card__media {
  border-bottom: 3px solid rgba(214, 177, 92, 0.8);
}

#body_wrap.home .smc-route-card__media img {
  filter: saturate(0.94) brightness(1.04);
}

/* A light telephone button cannot disappear into the navy closing band. */
#body_wrap.home .smc-section--navy .smc-btn--dark {
  border: 2px solid #f7f1e6 !important;
  color: #0d2832 !important;
  -webkit-text-fill-color: #0d2832;
  background: #f7f1e6 !important;
}

@media (hover: hover) {
  #body_wrap.home .smc-section--navy .smc-btn--dark:hover {
    border-color: #ebdcc5 !important;
    color: #0d2832 !important;
    -webkit-text-fill-color: #0d2832;
    background: #ebdcc5 !important;
  }
}

#body_wrap.home .smc-industries span {
  border: 1px solid #a5977f;
  color: #19333d;
  background: #fbf5ea;
  box-shadow: 0 7px 16px rgba(13, 40, 50, 0.045);
}

#body_wrap.home .smc-industry-gallery__item {
  border: 1px solid #9e8e73;
  border-radius: 9px;
  background: #ebdcc5;
}

#body_wrap.home .smc-industry-gallery figcaption {
  color: #f8f3e8;
  background: rgba(13, 40, 50, 0.9);
}

#body_wrap.home .smc-knowledge article {
  overflow: hidden;
  border: 1px solid #a5977f;
  border-radius: 10px;
  background: #fbf5ea;
  box-shadow: 0 13px 28px rgba(13, 40, 50, 0.08);
}

#body_wrap.home .smc-knowledge__media {
  border-bottom: 4px solid #d6b15c;
  background: #ebdcc5;
}

#body_wrap.home .smc-knowledge__media img {
  filter: saturate(0.96) brightness(1.025);
}

#body_wrap.home .smc-knowledge__body {
  background: #fbf5ea;
}

#body_wrap.home .smc-knowledge__body :where(h3, a) {
  color: #19333d;
}

#body_wrap.home .smc-knowledge__body p {
  color: #314851;
}

#body_wrap.home .smc-knowledge__body a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  #body_wrap.home .smc-section__head {
    padding-bottom: 18px;
  }
}

@media (max-width: 640px) {
  #body_wrap.home .smc-section__head {
    padding-bottom: 15px;
  }

  #body_wrap.home .smc-route-card,
  #body_wrap.home .smc-knowledge article {
    border-radius: 8px;
  }
}
/* SMC homepage supporting bands and CTA distinction end 2026-07-15 */


/* SMC terminal sitewide spacing normalization start 2026-07-15 */
/* Remove inherited SWELL reservations from pages that render their own full-width shell. */
body.smc-custom-page :where(
  #content.l-content,
  .l-content,
  .l-mainContent,
  .l-mainContent__inner,
  .post_content
) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin-block: 0 !important;
  padding-block: 0 !important;
}

body.smc-custom-page .post_content > :where(p:empty, .wp-block-spacer) {
  display: none !important;
}

body.smc-custom-page :where(.smc-souvenir-v2, .smc-site, .smc-footer--shared) {
  margin-block: 0 !important;
}

/* One predictable vertical rhythm for the home and custom fixed pages. */
#body_wrap .smc-souvenir-v2 .smc-hero__grid {
  padding-block: clamp(52px, 5.6vw, 68px);
}

#body_wrap .smc-souvenir-v2 .smc-section,
body.smc-custom-page .smc-site .smc-section {
  margin-block: 0 !important;
  padding-block: clamp(56px, 5.4vw, 68px);
}

#body_wrap .smc-souvenir-v2 .smc-section__head {
  margin-block: 0 clamp(26px, 3vw, 34px);
}

#body_wrap .smc-souvenir-v2 .smc-section > .smc-wrap > :first-child,
body.smc-custom-page .smc-site .smc-section > .smc-wrap > :first-child {
  margin-block-start: 0 !important;
}

#body_wrap .smc-souvenir-v2 .smc-section > .smc-wrap > :last-child,
body.smc-custom-page .smc-site .smc-section > .smc-wrap > :last-child {
  margin-block-end: 0 !important;
}

#body_wrap .smc-souvenir-v2 .smc-note-section {
  padding-block: clamp(20px, 2.2vw, 26px);
}

body.smc-custom-page .smc-site .smc-page-hero {
  padding-block:
    clamp(76px, 7vw, 88px)
    clamp(48px, 4.5vw, 56px);
}

body.smc-custom-page .smc-footer--shared > :last-child {
  margin-bottom: 0 !important;
}

/* Editorial templates already contain their own hero; avoid stacking theme and article gaps. */
body:not(.smc-custom-page) #content.l-content:has(
  .post_content > :where(.smc-column, .smc-article, .smc-case, .smc-case-study)
) {
  padding-top: clamp(22px, 2.4vw, 30px) !important;
}

body:not(.smc-custom-page) .post_content:has(
  > :where(.smc-column, .smc-article, .smc-case, .smc-case-study)
) {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  body.smc-custom-page :where(.smc-souvenir-v2, .smc-site) {
    padding-bottom: 0 !important;
  }

  body.smc-custom-page .smc-footer--shared {
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-hero__grid {
    padding-block: 48px;
  }

  #body_wrap .smc-souvenir-v2 .smc-section,
  body.smc-custom-page .smc-site .smc-section {
    padding-block: 52px;
  }

  body.smc-custom-page .smc-site .smc-page-hero {
    padding-block: 68px 46px;
  }
}

@media (max-width: 640px) {
  #body_wrap .smc-souvenir-v2 .smc-hero__grid {
    padding-block: 40px 44px;
  }

  #body_wrap .smc-souvenir-v2 .smc-section,
  body.smc-custom-page .smc-site .smc-section {
    padding-block: 44px;
  }

  #body_wrap .smc-souvenir-v2 .smc-note-section {
    padding-block: 20px;
  }

  body.smc-custom-page .smc-site .smc-page-hero {
    padding-block: 60px 40px;
  }

  body:not(.smc-custom-page) #content.l-content:has(
    .post_content > :where(.smc-column, .smc-article, .smc-case, .smc-case-study)
  ) {
    padding-top: 20px !important;
  }
}
/* SMC terminal sitewide spacing normalization end 2026-07-15 */


/* SMC responsive edge-case spacing corrections start 2026-07-15 */
/* Keep sticky regions stable without creating hidden overflow ancestors. */
body.smc-custom-page,
body.smc-custom-page #body_wrap,
body.smc-custom-page #content,
body.smc-custom-page .l-content,
body.smc-custom-page .l-mainContent,
body.smc-custom-page .l-mainContent__inner,
body.smc-custom-page .post_content,
#body_wrap .smc-site,
#body_wrap .smc-souvenir-v2 {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

/* Open FAQ copy needs its own inset after the page reset. */
#body_wrap.home .smc-faq details > :not(summary) {
  padding-inline: 22px !important;
  padding-bottom: 20px !important;
}

body.smc-custom-page .wpcf7-form :where(p:empty, p:has(> br:only-child)) {
  display: none !important;
}

/* Use the full article column once sidebar widgets are removed. */
body:is(.single, .archive, .blog, .search):not(.smc-custom-page) .l-sidebar {
  display: none !important;
}

body:is(.single, .archive, .blog, .search):not(.smc-custom-page) #content.l-content {
  display: block !important;
}

body.single:not(.smc-custom-page) .l-mainContent {
  width: 100% !important;
  max-width: 920px !important;
  margin-inline: auto !important;
}

body.single:not(.smc-custom-page) .post_content > :where(
  .smc-column,
  .smc-article,
  .smc-case,
  .smc-case-study
) {
  width: 100% !important;
  max-width: 860px !important;
  margin-inline: auto !important;
}

body:is(.archive, .blog, .search):not(.smc-custom-page) .l-mainContent {
  width: 100% !important;
  max-width: 1100px !important;
  margin-inline: auto !important;
}

@media (max-width: 900px) {
  #body_wrap .smc-drawer__inner {
    max-height: calc(100dvh - 112px - 64px - env(safe-area-inset-bottom)) !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-hero__consult {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #body_wrap .smc-site .smc-mobile-bar {
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  }

  body.smc-custom-page:has(.smc-mobile-actions) .smc-footer--shared {
    padding-bottom: calc(36px + 64px + env(safe-area-inset-bottom)) !important;
  }

  body.smc-custom-page:has(.smc-mobile-bar) .smc-footer--shared {
    padding-bottom: calc(30px + 76px + env(safe-area-inset-bottom)) !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-section,
  body.smc-custom-page .smc-site .smc-section {
    padding-block: 56px !important;
  }

  body.smc-custom-page .smc-site .smc-page-hero {
    padding-block: 54px 42px !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  #body_wrap.home :where(.smc-industry-gallery, .smc-knowledge) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #body_wrap.home :where(.smc-industry-gallery, .smc-knowledge) > :last-child {
    grid-column: auto !important;
  }

  #body_wrap.home :where(.smc-industry-gallery__item, .smc-knowledge article) {
    aspect-ratio: auto !important;
  }
}

@media (max-width: 640px) {
  #body_wrap .smc-drawer__inner {
    max-height: calc(100dvh - 108px - 64px - env(safe-area-inset-bottom)) !important;
  }

  #body_wrap.home .smc-trustbar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #body_wrap.home .smc-trustbar__item {
    min-height: 82px !important;
    padding: 12px 14px 12px 22px !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-section,
  body.smc-custom-page .smc-site .smc-section {
    padding-block: 48px !important;
  }

  body.smc-custom-page .smc-site .smc-page-hero {
    padding-block: 48px 36px !important;
  }

  #body_wrap.home :where(.smc-industry-gallery, .smc-knowledge) {
    grid-template-columns: 1fr !important;
  }

  #body_wrap.home :where(.smc-industry-gallery__item img, .smc-knowledge__media img) {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }

  #body_wrap.home .smc-faq details > :not(summary) {
    padding-inline: 18px !important;
    padding-bottom: 18px !important;
  }
}

@media (max-width: 360px) {
  #body_wrap .smc-logo,
  #body_wrap .smc-brand--image,
  #body_wrap .smc-logo img,
  #body_wrap .smc-logo-img {
    width: min(220px, calc(100vw - 124px)) !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-section,
  body.smc-custom-page .smc-site .smc-section {
    padding-block: 44px !important;
  }

  body.smc-custom-page .smc-site .smc-page-hero {
    padding-block: 42px 34px !important;
  }
}
/* SMC responsive edge-case spacing corrections end 2026-07-15 */


/* SMC standard-template empty-column prevention start 2026-07-15 */
body:not(.smc-custom-page) .l-sidebar {
  display: none !important;
}

body.page:not(.smc-custom-page) #content.l-content {
  display: block !important;
}

body.page:not(.smc-custom-page) .l-mainContent {
  width: 100% !important;
  max-width: 960px !important;
  margin-inline: auto !important;
}
/* SMC standard-template empty-column prevention end 2026-07-15 */

/* SMC tablet and mobile final QA start 2026-07-15 */
/* Custom long-form posts already carry their own branded hero. */
body.single.smc-custom-page .p-articleThumb {
  display: none !important;
}

body.single.smc-custom-page :where(.l-mainContent__inner, .post_content) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Keep form labels and consent controls comfortable to tap. */
#body_wrap .smc-site .smc-cf7-label {
  flex-wrap: wrap;
  row-gap: 4px;
}

#body_wrap .smc-site .smc-cf7-privacy .wpcf7-list-item {
  margin: 0 !important;
}

#body_wrap .smc-site .smc-cf7-form :where(
  .smc-cf7-checks label,
  .smc-cf7-privacy label,
  .wpcf7-acceptance label
) {
  min-height: 44px;
  cursor: pointer;
}

#body_wrap .smc-site .smc-cf7-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#body_wrap .smc-site .smc-cf7-form :where(
  .smc-cf7-privacy input[type="checkbox"],
  .smc-cf7-checks input[type="checkbox"]
) {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 3px;
}

/* Wide tables stay readable without forcing the whole page sideways. */
body.single.smc-custom-page .smc-main :where(.smc-table-scroll, table) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.single.smc-custom-page .smc-main table:not(.smc-table-scroll table) {
  display: block;
}

body:is(.archive, .category, .blog) .p-postList__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body:is(.archive, .category, .blog) .p-postList__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 641px) and (max-width: 900px) {
  #body_wrap .smc-souvenir-v2 .smc-hero__mobile-photo {
    width: 100%;
    max-width: 640px;
    margin: 22px auto 20px;
  }

  #body_wrap .smc-souvenir-v2 .smc-hero__consult {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  #body_wrap .smc-souvenir-v2 .smc-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  #body_wrap .smc-souvenir-v2 .smc-fact {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
    min-height: 96px;
    padding: 14px;
    text-align: left;
  }

  #body_wrap .smc-site .smc-cf7-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 20px;
  }

  #body_wrap .smc-site .smc-cf7-field--full {
    grid-column: 1 / -1;
  }

  #body_wrap .smc-site .smc-cf7-checks .wpcf7-form-control {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-mobile-actions {
    right: auto;
    left: 50%;
    bottom: 16px;
    width: min(560px, calc(100% - 32px));
    border-radius: 8px;
    overflow: hidden;
    transform: translateX(-50%);
  }

  #body_wrap .smc-site .smc-mobile-bar {
    right: auto;
    left: 50%;
    bottom: 16px;
    width: min(560px, calc(100% - 32px));
    transform: translate(-50%, 130%);
  }

  #body_wrap .smc-site .smc-mobile-bar.is-visible {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 900px) {
  #body_wrap :where(.smc-souvenir-v2, .smc-site) {
    padding-bottom: 0 !important;
  }

  body.smc-custom-page .smc-footer--shared,
  #body_wrap .smc-souvenir-v2 > .smc-footer,
  #body_wrap .smc-site > .smc-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important;
  }

  #body_wrap .smc-site .smc-mobile-bar {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  body.smc-custom-page .p-fixBtnWrap {
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }

  .smc-footer--shared :where(nav, .smc-footer-nav, .smc-footer-links) a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  #body_wrap .smc-site .smc-cf7-form :where(
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    select,
    textarea
  ) {
    font-size: 16px !important;
  }

  body.single.smc-custom-page .smc-page-hero h1 {
    font-size: 28px !important;
    line-height: 1.42 !important;
  }

  body.single.smc-custom-page .smc-main h2 {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }

  body.single.smc-custom-page .smc-main h3 {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  body.single.smc-custom-page .smc-main table :where(th, td) {
    padding: 10px 12px !important;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  #body_wrap :where(.smc-logo, .smc-brand--image) {
    width: 100% !important;
    max-width: 220px !important;
  }

  #body_wrap :where(.smc-logo img, .smc-logo-img) {
    width: 100% !important;
    max-width: 220px !important;
  }
}
/* SMC tablet and mobile final QA end 2026-07-15 */

/* SMC organized homepage sections start 2026-07-15 */
#body_wrap.home .smc-souvenir-v2 .smc-section--organized,
#body_wrap.home .smc-souvenir-v2 #fee.smc-fee-highlight {
  position: relative;
  isolation: isolate;
  margin: 0 !important;
  border-top: 1px solid rgba(31, 52, 55, 0.14);
}

#body_wrap.home .smc-souvenir-v2 .smc-section--organized::before,
#body_wrap.home .smc-souvenir-v2 #fee.smc-fee-highlight::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(143, 51, 40, 0.48), rgba(214, 177, 92, 0.72), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

/* SWELL's article h2 margin must not split the kicker from its heading. */
#body_wrap.home .smc-souvenir-v2 .smc-kicker + :where(h2, .smc-title) {
  margin-top: 0 !important;
}

#body_wrap.home .smc-souvenir-v2 .smc-section__head .smc-title {
  margin-bottom: 0 !important;
}

#body_wrap.home .smc-souvenir-v2 :where(
  .smc-process-intro,
  .smc-proof,
  .smc-fee-highlight__lead
) .smc-title,
#body_wrap.home .smc-souvenir-v2 .smc-fee-highlight__lead h2 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

#body_wrap.home .smc-souvenir-v2 .smc-section__head {
  align-items: end;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(30px, 3vw, 38px) !important;
}

#body_wrap.home .smc-souvenir-v2 .smc-section__head .smc-kicker {
  margin-bottom: 12px;
}

#body_wrap.home .smc-souvenir-v2 :where(
  #industries,
  #service,
  #industry-practice,
  #valuation,
  #process,
  #insights,
  #faq,
  #consultation
) {
  scroll-margin-top: 142px;
}

/* Explicit bands keep the long page easy to scan without becoming stark white. */
#body_wrap.home .smc-souvenir-v2 #industries {
  background: #f1e5d3 !important;
}

#body_wrap.home .smc-souvenir-v2 #fee.smc-fee-highlight {
  padding-block: clamp(58px, 5.4vw, 72px) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(214, 177, 92, 0.2), transparent 28%),
    linear-gradient(135deg, #e4ecdf 0%, #f3e7d4 100%) !important;
}

#body_wrap.home .smc-souvenir-v2 #service {
  background: #fffaf1 !important;
}

#body_wrap.home .smc-souvenir-v2 #industry-practice {
  background:
    radial-gradient(circle at 96% 4%, rgba(36, 90, 101, 0.1), transparent 25%),
    #e5ece3 !important;
}

#body_wrap.home .smc-souvenir-v2 #valuation {
  background: #f7f0e3 !important;
}

#body_wrap.home .smc-souvenir-v2 #process {
  background: #eadcc6 !important;
}

#body_wrap.home .smc-souvenir-v2 #insights {
  background: #fffaf1 !important;
}

#body_wrap.home .smc-souvenir-v2 #faq {
  background: #e9eee4 !important;
}

#body_wrap.home .smc-souvenir-v2 #consultation {
  border-top-color: #d6b15c;
  background:
    radial-gradient(circle at 92% 0%, rgba(214, 177, 92, 0.14), transparent 29%),
    linear-gradient(135deg, #0d2832 0%, #123643 58%, #071f2b 100%) !important;
}

#body_wrap.home .smc-souvenir-v2 #consultation::before {
  background: linear-gradient(90deg, transparent, #d6b15c, transparent);
}

/* Industry self-identification comes before service detail. */
#body_wrap.home .smc-souvenir-v2 #industries .smc-industries {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}

#body_wrap.home .smc-souvenir-v2 #industries .smc-industries span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid #cdbd9d;
  border-radius: 6px;
  color: #173a4c;
  background: rgba(255, 253, 248, 0.9);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

#body_wrap.home .smc-souvenir-v2 #industries .smc-industry-gallery {
  margin-top: 0;
}

/* One fee section: headline, comparison, reassurance, then legal scope. */
#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-highlight__grid {
  align-items: start;
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-disclosure {
  margin-top: 14px;
  border: 1px solid rgba(23, 58, 76, 0.22);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.72);
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-disclosure summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  color: #173a4c;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-disclosure .smc-fee-compare__source {
  margin: 0;
  padding: 0 14px 14px;
  border: 0;
  background: transparent;
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-assurance {
  margin-top: clamp(28px, 3.2vw, 40px);
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-assurance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-mini {
  min-height: 100%;
  padding: 20px;
  border: 1px solid #c6b896;
  border-top: 4px solid #245a65;
  border-radius: 8px;
  color: #314851;
  background: rgba(255, 253, 248, 0.88);
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-mini b {
  display: block;
  margin-bottom: 8px;
  color: #0d2832;
  font-size: 16px;
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-mini span {
  display: block;
  font-size: 14px;
  line-height: 1.75;
}

#body_wrap.home .smc-souvenir-v2 #fee .smc-fee-assurance__note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #8f3328;
  color: #42545a;
  background: rgba(255, 253, 248, 0.68);
  font-size: 12px;
  line-height: 1.75;
}

/* Editorial cards and their archive links read as one contained section. */
#body_wrap.home .smc-souvenir-v2 #insights .smc-knowledge article {
  display: flex;
  height: 100%;
  flex-direction: column;
}

#body_wrap.home .smc-souvenir-v2 #insights .smc-knowledge__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#body_wrap.home .smc-souvenir-v2 #insights .smc-knowledge__body > a {
  min-height: 44px;
  margin-top: auto;
}

#body_wrap.home .smc-souvenir-v2 #insights .smc-insights-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

#body_wrap.home .smc-souvenir-v2 #insights .smc-insights-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #245a65;
  border-radius: 6px;
  color: #173a4c;
  background: #fffdf8;
  font-weight: 850;
  text-decoration: none;
}

#body_wrap.home .smc-souvenir-v2 #insights .smc-insights-links a:hover {
  color: #fff;
  background: #245a65;
}

/* The seller route is primary; the buyer route stays clearly available. */
#body_wrap.home .smc-souvenir-v2 #consultation .smc-route {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr) !important;
  gap: 24px;
}

#body_wrap.home .smc-souvenir-v2 #consultation .smc-route-card:first-child {
  border: 2px solid #d6b15c;
  box-shadow: 0 20px 42px rgba(4, 19, 27, 0.25);
}

#body_wrap.home .smc-souvenir-v2 #consultation .smc-route-card__body h3,
#body_wrap.home .smc-souvenir-v2 #consultation .smc-cta h2 {
  margin-top: 0 !important;
}

#body_wrap.home .smc-souvenir-v2 #consultation .smc-cta--inline {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(214, 177, 92, 0.5);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.07);
}

#body_wrap.home .smc-souvenir-v2 #consultation .smc-cta--inline h2 {
  margin-bottom: 10px !important;
}

@media (max-width: 900px) {
  #body_wrap.home .smc-souvenir-v2 #industries .smc-industries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #body_wrap.home .smc-souvenir-v2 #consultation .smc-route {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  #body_wrap.home .smc-souvenir-v2 #fee .smc-fee-assurance__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #body_wrap.home .smc-souvenir-v2 .smc-section--organized,
  #body_wrap.home .smc-souvenir-v2 #fee.smc-fee-highlight {
    padding-block: 46px !important;
  }

  #body_wrap.home .smc-souvenir-v2 .smc-section__head {
    gap: 14px;
    margin-bottom: 28px !important;
  }

  #body_wrap.home .smc-souvenir-v2 :where(
    #industries,
    #service,
    #industry-practice,
    #valuation,
    #process,
    #insights,
    #faq,
    #consultation
  ) {
    scroll-margin-top: 90px;
  }

  #body_wrap.home .smc-souvenir-v2 #industries .smc-industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 22px;
  }

  #body_wrap.home .smc-souvenir-v2 #industries .smc-industries span {
    min-height: 50px;
    padding: 8px;
    font-size: 13px;
  }

  #body_wrap.home .smc-souvenir-v2 #fee .smc-fee-mini {
    padding: 17px;
  }

  #body_wrap.home .smc-souvenir-v2 #insights .smc-insights-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  #body_wrap.home .smc-souvenir-v2 #insights .smc-insights-links a {
    width: 100%;
    min-width: 0;
  }

  #body_wrap.home .smc-souvenir-v2 #consultation .smc-cta--inline {
    margin-top: 28px;
    padding: 20px;
  }
}

/* SMC organized responsive refinements 2026-07-15 */
@media (min-width: 901px) {
  #body_wrap.home .smc-souvenir-v2 #process .smc-process-layout {
    align-items: center;
  }
}
@media (max-width: 640px) {
  #body_wrap.home .smc-souvenir-v2 #process .smc-process-intro > .smc-btns {
    display: none;
  }
}
@media (max-width: 360px) {
  #body_wrap.home .smc-souvenir-v2 .smc-hero h1 {
    font-size: 26px !important;
    text-wrap: wrap !important;
  }
}
/* SMC organized responsive refinements end 2026-07-15 */


/* SMC organized tablet card balance 2026-07-15 */
@media (min-width: 641px) and (max-width: 900px) {
  #body_wrap.home .smc-souvenir-v2 .smc-industry-gallery__item:last-child {
    aspect-ratio: 16 / 5 !important;
  }
  #body_wrap.home .smc-souvenir-v2 .smc-knowledge article:last-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  #body_wrap.home .smc-souvenir-v2 .smc-knowledge article:last-child .smc-knowledge__media {
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto !important;
    border-width: 0 1px 0 0;
  }
}
@media (max-width: 640px) {
  #body_wrap.home .smc-souvenir-v2 .smc-hero .smc-btns .smc-btn--primary {
    display: none !important;
  }
}
/* SMC organized tablet card balance end 2026-07-15 */

/* SMC organized homepage sections end 2026-07-15 */

/* SMC text collision and visibility guard start 2026-07-16 */

/* Content must remain readable even if an IntersectionObserver misses a fast scroll. */
#body_wrap .smc-reveal,
#body_wrap .smc-reveal.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

/* Grid and flex children may shrink instead of colliding with adjacent content. */
#body_wrap :where(.smc-souvenir-v2, .smc-site) :where(
  .smc-header__main,
  .smc-header__inner,
  .smc-header__actions,
  .smc-hero__grid,
  .smc-trustbar__grid,
  .smc-section__head,
  .smc-grid,
  .smc-route,
  .smc-process-layout,
  .smc-knowledge,
  .smc-industry-gallery,
  .smc-footer__inner,
  .smc-bottom,
  .smc-cf7-grid,
  .smc-cf7-quick
) > *,
#body_wrap .smc-site .smc-cf7-form :where(
  .smc-cf7-field,
  .wpcf7-form-control-wrap,
  fieldset
) {
  min-width: 0 !important;
  max-width: 100%;
}

#body_wrap .smc-site .smc-cf7-form fieldset {
  min-inline-size: 0 !important;
}

/* Long Japanese text, URLs and button labels wrap without being clipped. */
#body_wrap :where(.smc-souvenir-v2, .smc-site) :where(
  h1,
  h2,
  h3,
  h4,
  p,
  li,
  legend,
  summary,
  .smc-cf7-label,
  .wpcf7-list-item-label
) {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

#body_wrap :where(.smc-souvenir-v2, .smc-site) :where(
  .smc-btn,
  .smc-header__cta,
  .smc-header-cta,
  .smc-mobile-actions a,
  .smc-mobile-bar a,
  .smc-route-card a,
  .smc-insights-links a,
  .smc-footer a,
  .wpcf7-submit
) {
  min-width: 0;
  max-width: 100%;
  height: auto;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-align: center;
}

#body_wrap .smc-site .smc-cf7-form :where(
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  .wpcf7-form-control-wrap
) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

#body_wrap .smc-site .smc-cf7-form :where(
  .smc-cf7-checks label,
  .smc-cf7-privacy label,
  .wpcf7-acceptance label
) {
  min-height: 44px !important;
  align-items: flex-start !important;
  gap: 10px;
  white-space: normal;
}

#body_wrap .smc-site .smc-cf7-form :where(
  .smc-cf7-checks input[type="checkbox"],
  .smc-cf7-privacy input[type="checkbox"],
  .wpcf7-acceptance input[type="checkbox"]
) {
  flex: 0 0 20px;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  margin-top: 3px;
}

#body_wrap :where(.smc-souvenir-v2, .smc-site) :where(
  .smc-footer__inner,
  .smc-bottom
) {
  min-width: 0;
}

#body_wrap :where(.smc-souvenir-v2, .smc-site) .smc-bottom {
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  #body_wrap :where(.smc-souvenir-v2, .smc-site) :where(
    .smc-topclaims,
    .smc-header__trust
  ) {
    flex-wrap: wrap !important;
    overflow: visible !important;
    min-width: 0;
    height: auto;
  }

  #body_wrap .smc-souvenir-v2 .smc-mobile-actions,
  #body_wrap .smc-site .smc-mobile-bar {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 64px;
  }

  #body_wrap .smc-souvenir-v2 .smc-mobile-actions a,
  #body_wrap .smc-site .smc-mobile-bar a {
    min-width: 0;
    min-height: 64px;
    padding: 8px;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body:has(.smc-mobile-actions),
  body:has(.smc-mobile-bar) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 640px) {
  #body_wrap :where(.smc-souvenir-v2, .smc-site) .smc-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  #body_wrap .smc-souvenir-v2 .smc-mobile-actions a,
  #body_wrap .smc-site .smc-mobile-bar a {
    font-size: 12px !important;
  }
}

/* SMC text collision and visibility guard end 2026-07-16 */


/* SMC collision audit addendum start 2026-07-16 */

/* Preserve the intended step number column without allowing long text to push the grid wider. */
#body_wrap .smc-souvenir-v2 .smc-step {
  grid-template-columns: 56px minmax(0, 1fr) !important;
}

/* Keep every three-step form guide item readable even if reveal JavaScript is delayed. */
#body_wrap .smc-site .smc-cf7-quick span {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  color: #132a43 !important;
}

#body_wrap .smc-site .smc-cf7-quick span > b {
  display: inline-grid !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Keep the theme page-top control clear of the fixed consultation actions. */
@media (max-width: 900px) {
  html {
    scroll-padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  }

  #body_wrap :where(.smc-topclaims, .smc-header__trust) {
    white-space: normal !important;
  }

  #body_wrap .smc-site .smc-cf7-form :where(
    input,
    select,
    textarea,
    button,
    summary,
    .wpcf7-list-item,
    .wpcf7-response-output
  ) {
    scroll-margin-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  }

  body:has(.smc-mobile-actions) .p-fixBtnWrap,
  body:has(.smc-mobile-bar):not(:has(.smc-cf7-form)) .p-fixBtnWrap {
    right: 14px !important;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Form pages already contain their own primary submit action; removing the floating bar prevents it covering fields. */
  #body_wrap .smc-site:has(.smc-cf7-form) .smc-mobile-bar {
    display: none !important;
  }

  #body_wrap .smc-site:has(.smc-cf7-form),
  body:has(.smc-cf7-form) {
    padding-bottom: 0 !important;
  }

  body:has(.smc-cf7-form) .p-fixBtnWrap {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* At high text zoom, move image captions below photographs instead of clipping over them. */
@media (max-width: 640px) {
  #body_wrap .smc-souvenir-v2 :where(.smc-industry-gallery__item, .smc-photo),
  #body_wrap .smc-site .smc-inline-photo {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-industry-gallery__item img,
  #body_wrap .smc-souvenir-v2 .smc-photo img,
  #body_wrap .smc-site .smc-inline-photo img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-industry-gallery__item img,
  #body_wrap .smc-souvenir-v2 .smc-photo img {
    aspect-ratio: 4 / 3;
  }

  #body_wrap .smc-site .smc-inline-photo img {
    aspect-ratio: 16 / 9;
  }

  #body_wrap .smc-souvenir-v2 :where(.smc-industry-gallery__item, .smc-photo) figcaption,
  #body_wrap .smc-site .smc-inline-photo figcaption {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    background: #123643 !important;
    overflow-wrap: anywhere;
    text-align: left;
  }

  #body_wrap .smc-souvenir-v2 :where(.smc-industry-gallery__item, .smc-photo)::after,
  #body_wrap .smc-site .smc-inline-photo::after {
    display: none !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-mobile-actions a,
  #body_wrap .smc-site .smc-mobile-bar a {
    font-size: 14px !important;
  }
}


@media (max-width: 900px) {
  #body_wrap.home {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #body_wrap .smc-souvenir-v2 .smc-mobile-actions a,
  #body_wrap .smc-site .smc-mobile-bar a {
    font-size: clamp(14px, 1.8vw, 16px) !important;
  }
}

@media (max-width: 640px) {
  #body_wrap .smc-souvenir-v2 .smc-btn {
    font-size: clamp(14px, 4vw, 16px) !important;
  }
}

/* SMC collision audit addendum end 2026-07-16 */


/* 2026-07-16: archive heading language cleanup */
.c-pageTitle__subTitle{display:none!important}


/* 2026-07-16: Japanese natural line wrapping */
:where(
  #body_wrap .smc-souvenir-v2,
  #body_wrap .smc-site,
  #body_wrap .post_content,
  #body_wrap .p-postList,
  #body_wrap .c-pageTitle,
  #body_wrap .l-header,
  #body_wrap .smc-footer
) {
  line-break: strict !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

:where(
  #body_wrap .smc-souvenir-v2,
  #body_wrap .smc-site,
  #body_wrap .post_content,
  #body_wrap .p-postList,
  #body_wrap .c-pageTitle,
  #body_wrap .l-header,
  #body_wrap .smc-footer
) :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, th, td, blockquote, figcaption, a, button, label, summary) {
  line-break: strict !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

:where(
  #body_wrap .smc-souvenir-v2,
  #body_wrap .smc-site,
  #body_wrap .post_content,
  #body_wrap .p-postList,
  #body_wrap .c-pageTitle,
  #body_wrap .l-header,
  #body_wrap .smc-footer
) :where(h1, h2, h3, h4, h5, h6),
#body_wrap :where(button, .smc-btn, .smc-trustbar__item, .smc-mobile-actions a, .smc-mobile-bar a, .smc-footer__cta a, .p-postList__title, .c-pageTitle__title) {
  text-wrap: balance !important;
}

:where(
  #body_wrap .smc-souvenir-v2,
  #body_wrap .smc-site,
  #body_wrap .post_content,
  #body_wrap .p-postList,
  #body_wrap .c-pageTitle,
  #body_wrap .smc-footer
) :where(p, li, dt, dd, th, td, blockquote, figcaption) {
  text-wrap: pretty !important;
}

@supports (word-break: auto-phrase) {
  :where(
    #body_wrap .smc-souvenir-v2,
    #body_wrap .smc-site,
    #body_wrap .post_content,
    #body_wrap .p-postList,
    #body_wrap .c-pageTitle,
    #body_wrap .l-header,
    #body_wrap .smc-footer
  ),
  :where(
    #body_wrap .smc-souvenir-v2,
    #body_wrap .smc-site,
    #body_wrap .post_content,
    #body_wrap .p-postList,
    #body_wrap .c-pageTitle,
    #body_wrap .l-header,
    #body_wrap .smc-footer
  ) :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, th, td, blockquote, figcaption, a, button, label, summary) {
    word-break: auto-phrase !important;
  }
}

#body_wrap a[href^="tel:"] {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

#body_wrap a[href^="mailto:"] {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}
/* Japanese natural line wrapping end */


/* 2026-07-16: Japanese link wrapping specificity refinement */
#body_wrap a:not([href^="mailto:"]):not([href^="tel:"]) {
  line-break: strict !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

@supports (word-break: auto-phrase) {
  #body_wrap a:not([href^="mailto:"]):not([href^="tel:"]) {
    word-break: auto-phrase !important;
  }
}
/* Japanese link wrapping specificity refinement end */


/* 2026-07-16: main content Japanese wrapping */
#body_wrap main :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, th, td, blockquote, figcaption, a, button, label, summary) {
  line-break: strict !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

#body_wrap main :is(h1, h2, h3, h4, h5, h6) {
  text-wrap: balance !important;
}

#body_wrap main :is(p, li, dt, dd, th, td, blockquote, figcaption) {
  text-wrap: pretty !important;
}

@supports (word-break: auto-phrase) {
  #body_wrap main :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, th, td, blockquote, figcaption, a, button, label, summary) {
    word-break: auto-phrase !important;
  }
}

#body_wrap main a[href^="tel:"] {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

#body_wrap main a[href^="mailto:"] {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}
/* main content Japanese wrapping end */


/* 2026-07-16: page and post title wrapping */
#body_wrap main.l-mainContent .l-mainContent__inner h1.c-pageTitle,
#body_wrap main.l-mainContent .l-mainContent__inner h1.c-postTitle__ttl {
  line-break: strict !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  text-wrap: balance !important;
}

@supports (word-break: auto-phrase) {
  #body_wrap main.l-mainContent .l-mainContent__inner h1.c-pageTitle,
  #body_wrap main.l-mainContent .l-mainContent__inner h1.c-postTitle__ttl {
    word-break: auto-phrase !important;
  }
}
/* page and post title wrapping end */
