/* サロン用ログイン画面：sharmo（https://sharmo.jp/login）の見た目に合わせる */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #fff;
  color: #000;
  font-family: Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.25px;
}
.sh-app {
  max-width: 520px;
  min-height: 100%;
  margin: 0 auto;
  background: #fffbf7;
  display: flex;
  flex-direction: column;
}
.sh-header { padding: 12px 12px 0; height: 40px; }
.sh-header img { display: block; }

.sh-hero { position: relative; height: 145px; margin-top: 24px; display: flex; align-items: center; justify-content: center; }
.sh-hero img { display: block; max-width: 100%; height: auto; }
.sh-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  line-height: 48px;
  background: #fff;
  color: #2d5b5b;
  font-size: 24px;
  text-align: center;
}

.sh-lead { margin: 4px 32px 0; text-align: center; color: #2d5b5b; font-size: 14px; font-weight: 500; line-height: 1.7; }
.sh-lead span { color: #464646; font-size: 12px; font-weight: 400; }

.sh-form { padding: 20px 32px 32px; }
.sh-label { display: block; color: #464646; font-size: 14px; margin: 8px 0 6px; }
.sh-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #2d5b5b;
  border-radius: 4px;
}
.sh-field:focus-within { border-width: 2px; }
.sh-field input {
  flex: 1;
  height: 100%;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.87);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.5px;
  outline: none;
}
.sh-eye {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z'/%3E%3C/svg%3E");
  width: 40px;
  height: 40px;
  margin-right: 4px;
  border: 0;
  cursor: pointer;
  background: #000;
  -webkit-mask: var(--icon) center / 22px no-repeat;
  mask: var(--icon) center / 22px no-repeat;
}
.sh-eye.on { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E"); }

.sh-submit { text-align: center; margin-top: 4px; }
.sh-button {
  width: 66.666%;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: #fed8d5;
  color: #2d5b5b;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.25px;
  cursor: pointer;
}
.sh-button:hover { background: #fdc9c4; }

.sh-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #f3b3ad;
  color: #c0392b;
  font-size: 13px;
}

.sh-footer {
  margin-top: auto;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #464646;
  font-size: 10px;
}

@media (max-width: 400px) {
  .sh-form { padding: 20px 20px 28px; }
}
