/* FormCarbon sample forms: colours and type only. Sizes, spacing and visibility of the form are left as they are. */
:root { color-scheme: light; }
html { background: #f3f6f6; }
body { color: #2c3137; font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', Meiryo, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
h1 { letter-spacing: 0.01em; }
a { color: #0a6c62; }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea {
  border-color: #aab5b6; border-style: solid; border-radius: 6px; background-color: #fff; color: #2c3137;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid #18a497; outline-offset: 1px; }
input[type=checkbox], input[type=radio] { accent-color: #0a6c62; }
button, input[type=submit] { border-radius: 6px; }

.fct-band {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  margin: 0 0 20px; padding: 8px 12px;
  background: #ffffff; border: 1px solid #d3dbdb; border-left: 3px solid #18a497; border-radius: 8px;
  font-size: 13px; line-height: 1.5; color: #2c3137;
}
.fct-band .fct-mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #2c3137; text-decoration: none; }
.fct-band .fct-mark img { width: 18px; height: 18px; display: block; }
.fct-band .fct-say { color: #535b63; flex: 1 1 14em; }
.fct-band .fct-back { font-weight: 700; color: #0a6c62; }

/* The notice shown for a few seconds when a submit is stopped. Hidden and not hit-testable while empty, so it never covers a field. */
.fct-sent {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2147483000;
  box-sizing: border-box; max-width: calc(100vw - 32px); width: max-content; margin: 0; padding: 8px 14px;
  background: #2c3137; color: #ffffff; border-left: 3px solid #18a497; border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font: 600 14px/1.5 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.2s, visibility 0s linear 0.2s;
}
.fct-sent.is-on { visibility: visible; opacity: 1; transition: opacity 0.2s; }
@media (prefers-reduced-motion: reduce) { .fct-sent, .fct-sent.is-on { transition: none; } }

/* Fixtures that ship no CSS of their own (plain HTML): spacing, rules and borders only. Nothing is hidden, moved or reordered. */
body.fct-tidy { max-width: 760px; margin: 0 auto; padding: 22px 20px 48px; line-height: 1.6; font-size: 15px; }
body.fct-tidy h1 { font-size: 22px; margin: 0 0 16px; line-height: 1.35; }
body.fct-tidy h2, body.fct-tidy h3 { font-size: 17px; margin: 22px 0 10px; padding-bottom: 5px; border-bottom: 1px solid #cfd8d8; line-height: 1.4; }
body.fct-tidy form div, body.fct-tidy form p { margin-top: 0; margin-bottom: 11px; }
body.fct-tidy label { margin-right: 10px; }
body.fct-tidy input:not([type=checkbox]):not([type=radio]), body.fct-tidy select, body.fct-tidy textarea { padding: 5px 8px; margin-top: 2px; margin-bottom: 2px; }
body.fct-tidy input[type=checkbox], body.fct-tidy input[type=radio] { margin-right: 6px; }
body.fct-tidy button, body.fct-tidy input[type=submit] { padding: 6px 16px; margin: 2px 4px 2px 0; border: 1px solid #aab5b6; background: #fff; color: #2c3137; cursor: pointer; }
body.fct-tidy fieldset { border: 1px solid #cfd8d8; border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
body.fct-tidy legend { padding: 0 6px; font-weight: 600; }
body.fct-tidy table { border-collapse: collapse; width: 100%; }
body.fct-tidy th, body.fct-tidy td { border: 1px solid #d3dbdb; padding: 9px 12px; text-align: left; vertical-align: middle; font-weight: 400; }
body.fct-tidy th { background: #eef2f2; font-weight: 600; width: 11em; }
