/* Override Laravel app.css defaults to match production typography */
body {
  font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  line-height: 24px;
}

/* Match production inline spacing between arrow / unit / text inside menu buttons */
.menu-text .btn-quiz-test .wrapper-arrow,
.menu-text .btn-quiz-test1 .wrapper-arrow,
.menu-text .btn-quiz-test2 .wrapper-arrow {
  margin-right: 0.5em;
}
.menu-text .btn-quiz-test img:nth-child(2) {
  margin-right: 0.5em;
}

/* Match production banner line-height to avoid vertical drift */
.banner p {
  line-height: 18px;
}

/* Match production copyright line-height */
.copyright {
  line-height: 15px;
}

/* Constrain modal backdrop to the main panel (avoid viewport-wide overlay) */
.main .modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* BR-CAMPAIGN-TEXT-001: キャンペーン文言で使用できるクラス
   （span.pink / span.blue は style.css に既存のため再定義しない） */
.banner span.red,
.banner a.red {
  color: #e50314;
}
.banner span.yellow,
.banner a.yellow {
  color: #e8a000;
}
.banner span.green,
.banner a.green {
  color: #009944;
}
.banner span.bold,
.banner a.bold {
  font-weight: bold;
}
.banner span.biggest,
.banner a.biggest {
  font-size: 1.5em;
}
.banner span.big,
.banner a.big {
  font-size: 1.25em;
}
.banner span.small,
.banner a.small {
  font-size: 0.85em;
}
.banner span.smallest,
.banner a.smallest {
  font-size: 0.7em;
}
