*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font: 14px/20px -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Segoe UI", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  background: radial-gradient(at 33% 50%, #4369be, #283f73);
}

body header {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  min-height: 56px;
  line-height: 60px;
}

p {
  margin: 0 0 10px;
}

a {
  text-decoration: none;
}

.form-container {
  padding-inline: 30px;
  background: white;
  width: clamp(1rem, 420px, 100%);
  border-radius: 6px;
  box-shadow: 0 15px 70px 0 rgba(0 0 0 / 0.5);
}

.form-container header {
  height: 4rem;
  background: url(https://webmail.so-net.ne.jp/appsuite/apps/themes/sonet/login_logo.svg)
      no-repeat center 4px / auto 100%,
    #fff;
}

form {
  font-size: 14px;
  padding-block: 27px 32px;
}

.form-label {
  margin-block-end: 3px;
  cursor: pointer;
}

.form-control {
  border: 1px solid #ccc;
  border-radius: 3px;
  height: 2.5rem;
}

.form-group {
  margin-block-end: 15px;
}

form .login-help {
  min-height: 16px;
  margin-block: 4px;
}

form .help-text {
  color: #888;
}

.login-title {
  margin: 4px 0;
  font-size: 18px;
  font-weight: bold;
}

form a {
  font-size: 13px;
  color: #3c61aa;
}

form > * {
  margin-block-end: 4px;
}

.input-group--check {
  margin-block: 10px 4px;
  gap: 5px;
  position: relative;
  display: flex;
  align-items: center;
}

#check {
  width: 16px;
  height: 16px;
  border-radius: 0.1875rem;
  appearance: none;
  border: 1px solid #aaa;
  padding: 1px;
  align-self: center;
  cursor: pointer;
}

#check:checked ~ .toggle {
  display: block !important;
}

.toggle {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 1px;
  cursor: pointer;
  display: none;
}

.input-group--feedback {
  margin-block: 4px 14px;
  min-height: 32px;
  opacity: 1;
}

.input-group--feedback .alert {
  font-size: 13px;
  background: #eee;
  color: red;
  font-weight: bold;
  margin: 0;
  --bs-alert-border: none;
  --bs-alert-border-radius: 3px;
  --bs-alert-margin-bottom: 14px;
  --bs-alert-padding-x: 8px;
  --bs-alert-padding-y: 8px;
}

.feedback {
  min-height: 32px;
}

form .btn {
  height: 2.5rem;
  border-color: #355697;
  --bs-btn-border-radius: 3px;
  --bs-btn-font-size: 14px;
  --bs-btn-bg: #3c61aa;
  --bs-btn-active-bg: var(--bs-btn-bg);
  --bs-btn-hover-bg: var(--bs-btn-bg);
}

#information-message {
  margin-block-start: 8px;
}

footer {
  background: rgb(0 0 0 / 0.15);
  padding: 6px 2px;
  margin-block-start: 64px;
  gap: 1rem;
}

footer a {
  color: #94c1ec;
}
