
/* Codex responsive fixes for kyushoku-ma-center.jp - 2026-07-05 */
@media (max-width: 430px) {
  html body .kyu-global-header.kyu-global-header .kyu-header-main__inner.kyu-header-main__inner {
    align-items: center !important;
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 0 !important;
    padding: 8px 0 !important;
  }

  html body .kyu-global-header.kyu-global-header .kyu-header-main__inner > .kyu-brand.kyu-brand {
    box-sizing: border-box !important;
    display: flex !important;
    flex: initial !important;
    grid-column: 1 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body .kyu-global-header.kyu-global-header .kyu-brand.kyu-brand .kyu-brand__logo.kyu-brand__logo {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 7px 9px !important;
  }

  html body .kyu-global-header.kyu-global-header .kyu-brand.kyu-brand .kyu-brand__logo.kyu-brand__logo img {
    height: auto !important;
    max-width: 100% !important;
    width: clamp(176px, 56vw, 214px) !important;
  }

  html body .kyu-global-header.kyu-global-header .kyu-brand.kyu-brand .kyu-brand__copy.kyu-brand__copy {
    display: none !important;
  }

  html body .kyu-global-header.kyu-global-header .kyu-header-main__inner > .kyu-mobile-menu.kyu-mobile-menu {
    display: block !important;
    grid-column: 2 !important;
    justify-self: end !important;
    margin-left: 0 !important;
    min-width: 0 !important;
  }

  html body .kyu-global-header.kyu-global-header .kyu-mobile-menu.kyu-mobile-menu > summary {
    height: 46px !important;
    width: 46px !important;
  }
}

@media (max-width: 340px) {
  html body .kyu-global-header.kyu-global-header .kyu-brand.kyu-brand .kyu-brand__logo.kyu-brand__logo {
    padding: 6px 7px !important;
  }

  html body .kyu-global-header.kyu-global-header .kyu-brand.kyu-brand .kyu-brand__logo.kyu-brand__logo img {
    width: clamp(162px, 54vw, 190px) !important;
  }
}


/* Codex header-width fix for form access - 2026-07-23 */
@media (min-width: 1041px) and (max-width: 1280px) {
  html body .kyu-global-header .kyu-header-main__inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 96px !important;
    align-items: center !important;
  }
  html body .kyu-global-header .kyu-header-main__inner > .kyu-brand {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  html body .kyu-global-header .kyu-brand__copy {
    width: auto !important;
    min-width: 126px !important;
    max-width: none !important;
  }
  html body .kyu-global-header .kyu-header-actions {
    width: auto !important;
    justify-content: flex-end !important;
  }
}

/* Codex Kyushoku contact UI - 2026-08-26. */
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-panel {
  width: 100%;
  max-width: 900px;
  margin: 32px auto 0;
  padding: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  box-shadow: none;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-head span {
  background: #eef2f6;
  color: #334155;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-head h2,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-section legend,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field label {
  color: #0f172a;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-head p,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-section-lead,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field small {
  color: #475569;
  opacity: 1;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-guide span {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-note {
  border-left-color: #14213d;
  background: #f8fafc;
  color: #334155;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-note strong {
  color: #14213d;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-note p {
  color: #475569;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-section {
  border-top-color: #e2e8f0;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-section legend span,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-required {
  background: #14213d;
  color: #fff;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-optional {
  background: #eef2f6;
  color: #475569;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field-grid {
  grid-template-columns: minmax(0,1fr);
  gap: 22px;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field.-full {
  grid-column: auto;
  gap: 8px;
  margin-bottom: 0;
  min-width: 0;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field:focus-within label {
  color: #1d4ed8;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field input,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field select,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea {
  width: 100%;
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid #64748b;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: none;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea {
  height: 200px;
  min-height: 180px;
  resize: vertical;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field input::placeholder,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field input:hover,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field select:hover,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea:hover {
  border-color: #334155;
  background: #fff;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field input:focus,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field select:focus,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea:focus {
  border-color: #1d4ed8;
  outline: 3px solid rgba(29,78,216,.30);
  outline-offset: 2px;
  background: #fff;
  box-shadow: none;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-consent,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-consent-needs {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  align-items: start;
  gap: 12px;
  min-height: 58px;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  box-shadow: none;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-consent input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: #14213d;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-consent a {
  color: #14213d;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-submit {
  min-height: 60px;
  border: 1px solid #14213d;
  border-radius: 8px;
  background: #14213d;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: none;
  opacity: 1;
}

#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:valid .kyu-submit:not(:disabled) {
  border-color: #14213d;
  background: #14213d;
  color: #fff;
  cursor: pointer;
}

#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:valid .kyu-submit:not(:disabled):hover {
  border-color: #0b162b;
  background: #0b162b;
  filter: none;
  transform: none;
}

#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:invalid .kyu-submit,
#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:invalid .kyu-submit:hover,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-submit:disabled {
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: #475569;
  cursor: pointer;
  filter: none;
  transform: none;
  box-shadow: none;
  opacity: 1;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-submit:disabled {
  cursor: wait;
}

#body_wrap.page-id-1274 #content .kmc-cf7-form {
  max-width: 900px;
  padding: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  box-shadow: none;
}

#body_wrap.page-id-1274 #content .kmc-cf7-grid {
  grid-template-columns: minmax(0,1fr);
  gap: 0;
}

#body_wrap.page-id-1274 #content .kmc-cf7-grid > p {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 20px;
  margin: 0;
}

#body_wrap.page-id-1274 #content .kmc-cf7-grid > p > br {
  display: none;
}

#body_wrap.page-id-1274 #content .kmc-cf7-field,
#body_wrap.page-id-1274 #content .kmc-cf7-field--full {
  grid-column: auto;
  gap: 8px;
  min-width: 0;
}

#body_wrap.page-id-1274 #content .kmc-cf7-label {
  flex-flow: row wrap;
  align-items: center;
  gap: 8px;
  color: #0f172a;
}

#body_wrap.page-id-1274 #content .kmc-cf7-required {
  background: #14213d;
  color: #fff;
}

#body_wrap.page-id-1274 #content .kmc-cf7-optional {
  background: #eef2f6;
  color: #475569;
}

#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="text"],
#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="email"],
#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="tel"],
#body_wrap.page-id-1274 #content .kmc-cf7-form select,
#body_wrap.page-id-1274 #content .kmc-cf7-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid #64748b;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: none;
}

#body_wrap.page-id-1274 #content .kmc-cf7-form textarea {
  height: 200px;
  min-height: 180px;
  resize: vertical;
}

#body_wrap.page-id-1274 #content .kmc-cf7-form input::placeholder,
#body_wrap.page-id-1274 #content .kmc-cf7-form textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="text"]:hover,
#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="email"]:hover,
#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="tel"]:hover,
#body_wrap.page-id-1274 #content .kmc-cf7-form select:hover,
#body_wrap.page-id-1274 #content .kmc-cf7-form textarea:hover {
  border-color: #334155;
}

#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="text"]:focus,
#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="email"]:focus,
#body_wrap.page-id-1274 #content .kmc-cf7-form input[type="tel"]:focus,
#body_wrap.page-id-1274 #content .kmc-cf7-form select:focus,
#body_wrap.page-id-1274 #content .kmc-cf7-form textarea:focus {
  border-color: #1d4ed8;
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  box-shadow: none;
}

#body_wrap.page-id-1274 #content .kmc-cf7-privacy {
  padding: 18px;
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

#body_wrap.page-id-1274 #content .kmc-cf7-privacy .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  align-items: start;
  gap: 12px;
  min-height: 44px;
  color: #1f2937;
  cursor: pointer;
}

#body_wrap.page-id-1274 #content .kmc-cf7-privacy input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #14213d;
}

#body_wrap.page-id-1274 #content .kmc-cf7-privacy input[type="checkbox"]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

#body_wrap.page-id-1274 #content .kmc-cf7-submit input[type="submit"] {
  min-height: 60px;
  border: 1px solid #14213d;
  border-radius: 8px;
  background: #14213d;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  opacity: 1;
}

#body_wrap.page-id-1274 #content .kmc-cf7-submit input[type="submit"]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

#body_wrap.page-id-1274 #content .kmc-cf7-submit input[type="submit"]:disabled {
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: #475569;
  cursor: not-allowed;
  opacity: 1;
}

#body_wrap.page-id-1274 #content .kmc-cf7-submit input[type="submit"]:not(:disabled):hover {
  border-color: #0b162b;
  background: #0b162b;
}

#body_wrap.page-id-1274 #content .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #b42318;
  font-weight: 700;
}

#body_wrap.page-id-1274 #content .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-color: #64748b;
  border-radius: 8px;
  background: #f8fafc;
  color: #1f2937;
}

#body_wrap.page-id-20 #content .kmc-contact-choice a,
#body_wrap.page-id-20 #content .kmc-contact-choice a.-seller,
#body_wrap.page-id-20 #content .kmc-contact-choice a.-buyer {
  border: 1px solid #cbd5e1;
  border-top: 3px solid #14213d;
  background: #fff;
  color: #0f172a;
  box-shadow: none;
}

#body_wrap.page-id-20 #content .kmc-contact-choice a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

#body_wrap.page-id-20 #content .kmc-contact-choice a:hover {
  border-color: #64748b;
  transform: none;
  box-shadow: none;
}

#body_wrap.page-id-20 #content .kmc-contact-choice small,
#body_wrap.page-id-20 #content .kmc-contact-choice .-seller small {
  background: #eef2f6;
  color: #334155;
}

#body_wrap.page-id-20 #content .kmc-contact-choice span {
  color: #475569;
}

#body_wrap.page-id-20 #content .kmc-contact-choice b,
#body_wrap.page-id-20 #content .kmc-contact-choice .-seller b {
  color: #14213d;
}

@media (max-width: 760px) {
  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-panel {
    margin-top: 24px;
    padding: 22px 18px;
    border-radius: 8px;
  }

  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }

  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field input,
  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field select {
    min-height: 56px;
    padding: 13px 14px;
  }

  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea {
    height: 180px;
    min-height: 160px;
    padding: 13px 14px;
  }

  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-consent,
  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-consent-needs {
    gap: 10px;
    padding: 14px;
    font-size: 14px;
    line-height: 1.75;
  }

  #body_wrap:is(.page-id-289,.page-id-291) #content .kyu-submit {
    min-height: 58px;
    font-size: 16px;
  }

  #body_wrap.page-id-1274 #content .kmc-cf7-form {
    padding: 22px 16px;
    border-radius: 8px;
  }

  #body_wrap.page-id-1274 #content .kmc-cf7-grid > p {
    gap: 18px;
  }

  #body_wrap.page-id-1274 #content .kmc-cf7-label {
    flex-flow: row wrap;
    align-items: center;
  }

  #body_wrap.page-id-1274 #content .kmc-cf7-form input[type="text"],
  #body_wrap.page-id-1274 #content .kmc-cf7-form input[type="email"],
  #body_wrap.page-id-1274 #content .kmc-cf7-form input[type="tel"],
  #body_wrap.page-id-1274 #content .kmc-cf7-form select {
    min-height: 54px;
  }

  #body_wrap.page-id-1274 #content .kmc-cf7-form textarea {
    height: 180px;
    min-height: 160px;
  }

  #body_wrap.page-id-1274 #content .kmc-cf7-privacy {
    padding: 16px;
  }

  #body_wrap.page-id-1274 #content .kmc-cf7-submit input[type="submit"] {
    min-height: 58px;
    font-size: 16px;
  }
}

/* Kyushoku form palette compatibility overrides. */
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-head h2,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-section legend,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field label {
  color: #0f172a !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-head p,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-section-lead,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-form-note p,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field small {
  color: #475569 !important;
  opacity: 1 !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-optional {
  background: #eef2f6 !important;
  color: #475569 !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field input,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field select,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea {
  background: #fff !important;
  color: #111827 !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field input::placeholder,
#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-field textarea {
  height: 200px !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:valid .kyu-submit:not(:disabled) {
  border-color: #14213d !important;
  background: #14213d !important;
  color: #fff !important;
  cursor: pointer !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:valid .kyu-submit:not(:disabled):hover {
  border-color: #0b162b !important;
  background: #0b162b !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:invalid .kyu-submit,
#body_wrap:is(.page-id-289,.page-id-291) #content form.kyu-contact-form:invalid .kyu-submit:hover {
  border-color: #cbd5e1 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  cursor: pointer !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

#body_wrap:is(.page-id-289,.page-id-291) #content .kyu-submit:disabled {
  cursor: wait !important;
}


/* Reserve a readable text column beside the homepage guide cover. */
@media (min-width:601px) {
  html body #body_wrap.home .maog-home-callout .maog-callout-main {
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    align-items:center!important;
    gap:20px!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }
  html body #body_wrap.home .maog-home-callout .maog-callout-main > .maog-callout-cover {
    width:120px!important;
    max-width:100%!important;
    height:auto!important;
  }
  html body #body_wrap.home .maog-home-callout .maog-callout-main > div {
    min-width:0!important;
  }
}

#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084'] > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084']:hover > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084']:focus-visible > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084'] > span { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084']:hover > span { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-phone[href='tel:0345600084']:focus-visible > span { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-seller:is([href='https://kyushoku-ma-center.jp/seller-contact/'],[href^='https://kyushoku-ma-center.jp/seller-contact/?']) { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-seller:is([href='https://kyushoku-ma-center.jp/seller-contact/'],[href^='https://kyushoku-ma-center.jp/seller-contact/?']) > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-seller:is([href='https://kyushoku-ma-center.jp/seller-contact/'],[href^='https://kyushoku-ma-center.jp/seller-contact/?']) > span { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']) > small { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):hover > small { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):focus-visible > small { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']) > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):hover > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a.kyu-header-cta.-buyer:is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):focus-visible > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a:not([class]):is([href='https://kyushoku-ma-center.jp/seller-contact/'],[href^='https://kyushoku-ma-center.jp/seller-contact/?']) { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a:not([class]):is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a:not([class]):is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a:not([class]):is([href='https://kyushoku-ma-center.jp/contact-buy/'],[href^='https://kyushoku-ma-center.jp/contact-buy/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a:not([class])[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a:not([class])[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#body_wrap#body_wrap#body_wrap header.kyu-global-header a:not([class])[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content nav.kyu3-mobile-cta a:not([class])[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content nav.kyu3-mobile-cta a:not([class])[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content nav.kyu3-mobile-cta a:not([class])[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content nav.kyu3-mobile-cta a:not([class]):is([href='/seller-contact/'],[href='https://kyushoku-ma-center.jp/seller-contact/'],[href^='https://kyushoku-ma-center.jp/seller-contact/?']) { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }


/* Logo surroundings: white footer surface, 2026-10-09. */
.kyu-global-footer .kyu-footer-main{background:#fff!important;color:#193b4a!important}
.kyu-global-footer .kyu-footer-brand,.kyu-global-footer .kyu-footer-trust{background:#fff!important;border-color:#dce6e5!important;box-shadow:none!important}
.kyu-global-footer .kyu-footer-logo,.kyu-global-footer .kyu-footer-logo img{background:#fff!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.kyu-global-footer .kyu-footer-main p,.kyu-global-footer .kyu-footer-main dd,.kyu-global-footer .kyu-footer-main a,.kyu-global-footer .kyu-footer-trust h2{color:#193b4a!important}
.kyu-global-footer .kyu-footer-main b,.kyu-global-footer .kyu-footer-main dt,.kyu-global-footer .kyu-footer-trust span{color:#0f574c!important}
.kyu-global-footer .kyu-footer-trust span,.kyu-global-footer .kyu-footer-trust__list b{background:#f0f6f4!important}
.kyu-global-footer .kyu-footer-navwrap,.kyu-global-footer .kyu-footer-company,.kyu-global-footer .kyu-footer-company div{border-color:#dce6e5!important}
.kyu-global-footer .kyu-footer-nav a:hover,.kyu-global-footer .kyu-footer-brand a:hover{color:#0f574c!important}

