/* PDF case cards */
.mb-case-card {
  display: block;
  position: relative;
  color: var(--mb-ink) !important;
  cursor: pointer;
}

.mb-case-card:focus-visible {
  outline: 3px solid var(--mb-blue);
  outline-offset: 4px;
}

.mb-case-art {
  background: #e7f0f6;
}

.mb-case-art::before {
  display: none;
}

.mb-case-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mb-case-art > span {
  z-index: 2;
  padding: 7px 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.mb-case-body p {
  color: #486277;
  margin-bottom: 0;
}

.mb-case-body {
  min-height: 184px;
  border-top: 1px solid #cbdbe6;
  background: #e3edf4 !important;
  transition: background-color 0.25s ease;
}

.mb-case-body small {
  color: #0759ad;
}

.mb-case-body h3 {
  color: #102f4f;
}

.mb-case-card:hover .mb-case-body,
.mb-case-card:focus-visible .mb-case-body {
  background: #d4e3ed !important;
}

/* MW WP Form */
.mb-form-guide {
  margin-bottom: 38px;
  padding: 24px 26px;
  border-left: 4px solid #0759ad;
  border-radius: 4px;
  background: #eef5fa;
  color: #294860;
  font-size: 13px;
  line-height: 1.9;
}

.mb-form-guide p {
  margin: 0;
}

.mb-form-guide__note {
  margin-top: 12px !important;
  color: #5e7486;
  font-size: 11px;
}

.mb-form-guide a {
  color: #0759ad;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mb-form-field {
  margin-bottom: 30px;
}

.mb-form-field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  color: #10243d;
  font-size: 13px;
  font-weight: 800;
}

.mb-required-badge,
.mb-optional-badge {
  display: inline-grid;
  min-width: 38px;
  min-height: 24px;
  place-items: center;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.mb-required-badge {
  background: #df001b;
}

.mb-optional-badge {
  background: #718391;
}

.mb-form-field__control input[type="text"],
.mb-form-field__control input[type="email"],
.mb-form-field__control input[type="tel"],
.mb-form-field__control textarea {
  width: 100% !important;
  max-width: none !important;
  border: 1px solid #cbd8e1 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #10243d !important;
  box-shadow: none !important;
}

.mb-form-field__control input[type="text"],
.mb-form-field__control input[type="email"],
.mb-form-field__control input[type="tel"] {
  min-height: 54px;
  padding: 0 16px !important;
}

.mb-form-field__control textarea {
  min-height: 150px;
  padding: 14px 16px !important;
  resize: vertical;
}

.mb-form-field__control input:focus,
.mb-form-field__control textarea:focus {
  outline: 0;
  border-color: #0759ad !important;
  box-shadow: 0 0 0 3px rgba(7, 89, 173, 0.12) !important;
}

.mb-form-field__control input[aria-invalid="true"] {
  border-color: #c92c31 !important;
}

.mb-form-field__control .horizontal-item {
  display: inline-flex;
  align-items: center;
  margin: 0 18px 10px 0 !important;
  color: #294860;
  font-size: 13px;
}

.mb-form-field__control input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  accent-color: #0759ad;
}

.mb-form-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mb-form-split__item {
  min-width: 0;
}

.mb-form-sublabel {
  display: block;
  margin-bottom: 7px;
  color: #486277;
  font-size: 12px;
  font-weight: 700;
}

.mb-objective-other[hidden] {
  display: none !important;
}

.mb-client-error,
.mw_wp_form .error {
  margin: 7px 0 0;
  color: #c92c31;
  font-size: 12px;
  font-weight: 700;
}

.mb-form-field--error {
  border-left: 3px solid #c92c31;
  padding-left: 14px;
}

.mb-form-field--error input[type="text"],
.mb-form-field--error input[type="email"],
.mb-form-field--error input[type="tel"],
.mb-form-field--error textarea,
.mb-form-field--error select {
  border-color: #c92c31 !important;
  background-color: #fff8f8 !important;
}

.mb-form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
}

.mb-form-actions input,
.mb-form-actions button {
  min-width: 210px;
  min-height: 58px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mb-form-actions input[type="submit"],
.mb-form-actions button[type="submit"] {
  color: #fff !important;
  background: #0759ad !important;
  box-shadow: 0 12px 28px rgba(7, 89, 173, 0.22) !important;
}

.mb-form-actions input[type="button"],
.mb-form-actions button[type="button"] {
  border: 1px solid #aabdc9 !important;
  color: #294860 !important;
  background: #fff !important;
}

.mb-form-actions input[value="戻る"],
.mb-form-actions button[value="戻る"] {
  border: 1px solid #aabdc9 !important;
  color: #294860 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.mb-form-actions input:hover,
.mb-form-actions button:hover {
  transform: translateY(-2px);
}

.mb-form-actions input[type="submit"]:hover,
.mb-form-actions button[type="submit"]:hover {
  background: #063f7b !important;
}

@media (max-width: 720px) {
  .mb-case-body {
    min-height: 164px;
  }

  .mb-form-guide {
    padding: 20px 18px;
  }

  .mb-form-actions {
    flex-direction: column-reverse;
  }

  .mb-form-actions input,
  .mb-form-actions button {
    width: 100%;
    min-width: 0;
  }

  .mb-form-split {
    gap: 9px;
  }
}

/* Hero: supplied Miracle Boy logo and main visual */
.mb-hero::after {
  display: none;
}

.mb-hero__inner {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.mb-hero__content,
.mb-hero__visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.mb-hero__logo {
  display: block;
  width: min(280px, 60%);
  height: auto;
  margin: 0 0 30px;
}

.mb-hero__content h1 {
  font-size: clamp(44px, 5.1vw, 72px);
}

.mb-hero__visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 65px rgba(0, 22, 51, 0.32);
}

.mb-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 536 / 328;
  object-fit: cover;
}

.mb-hero__number {
  display: none !important;
}

@media (max-width: 720px) {
  .miracleboy-information-lp.admin-bar .mb-hero,
  .mb-hero {
    min-height: auto;
  }

  .mb-hero__inner {
    width: calc(100% - 40px);
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 72px 0 54px;
  }

  .mb-hero__logo {
    width: min(250px, 72%);
    margin-bottom: 26px;
  }

  .mb-hero__content h1 {
    font-size: 44px;
  }

  .mb-hero__visual {
    width: 100%;
  }
}
