html {
  height: 100%;
}

BODY {
  background-color: rgb(242,243,247);
  font-family: 'Noto Sans JP';

  display: flex;
  justify-content: center;
  align-items: center;

  height: 100%;
}

div.LoginContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}

DIV.loginPane {
  width: 344px;
  background-color: white;
  padding: 32px;
  padding-right: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.10);
}

div.titleArea {
  padding-bottom: 10px;
}

DIV.loginArea {
  display: flex;
  padding: 0 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

SPAN.loginTitle {
  font-weight: 400;
  font-size: 27px;
  color: white;
  line-height: 36px;
  flex: 1 0 0;
}

SPAN.loginCaption {
  font-weight: 500;
  font-size: 27px;
  line-height: 32px;
  color: #282C33;
  padding-left: 16px;
  padding-top: 8px;
  padding-bottom: 32px;
}

SPAN.loginComment {
  font-family: 'Noto Sans JP';
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #282C33;
}

DIV.buttons {
  width: 280px;
  display: flex;
  justify-content: center;
}

DIV.buttonContent {
  display: flex;
  align-items: center;
  width: 100%;
}

span.buttonText {
  flex-grow: 1;
  text-align: center;
}

/* UDS outlined-button（md、radius md） */
BUTTON.loginButton {
  width: 280px;
  height: 40px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #282C33;
  background-color: #FFFFFF;
  border: 1px solid #E4ECF2;
  border-radius: 12px;
  font-family: 'Noto Sans JP';
  cursor: pointer;
}

span.SfIcon {
  display: flex;
  justify-content: flex-start;
  float: left;
  padding-left: 8px;
}

span.DyIcon {
  display: flex;
  justify-content: flex-start;
  padding-left: 8px;
}

BUTTON.loginButton:hover {
  background-color: rgba(0, 102, 153, 0.06);
}

BUTTON.loginButton:active {
  background-color: rgba(120, 160, 190, 0.2);
}

BUTTON.loginButton:focus-visible {
  outline: 2px solid #0070FA;
  outline-offset: 2px;
}

BUTTON.loginButton:disabled {
  opacity: .5;
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

/* カスタムドメイン（UDS Web Components v3 の値） */
DIV.myDomainSaved {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

DIV.myDomainSavedLine {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

SPAN.myDomainSavedHost {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
  font-size: 14px;
  line-height: 20px;
  color: #282C33;
  overflow-wrap: anywhere;
}

SPAN.myDomainTipWrap {
  position: relative;
  flex: none;
}

BUTTON.myDomainIconButton {
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #282C33;
  cursor: pointer;
  display: grid;
  place-items: center;
}

SPAN.myDomainTooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  color: #282C33;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s;
}

SPAN.myDomainTipWrap:hover SPAN.myDomainTooltip,
SPAN.myDomainTipWrap:focus-within SPAN.myDomainTooltip {
  opacity: 1;
}

DIV.myDomainLine {
  height: 1px;
  margin: 6px 0;
  background: #E4ECF2;
}

BUTTON.myDomainTextButton {
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0070FA;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  cursor: pointer;
}

BUTTON.myDomainTextButton:hover,
BUTTON.myDomainIconButton:hover,
BUTTON.myDomainGhost:hover {
  background-color: rgba(0, 102, 153, 0.06);
}

BUTTON.myDomainTextButton:active,
BUTTON.myDomainIconButton:active,
BUTTON.myDomainGhost:active {
  background-color: rgba(120, 160, 190, 0.2);
}

FORM.myDomainForm {
  width: 280px;
  box-sizing: border-box;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #E4ECF2;
  border-radius: 12px;
  color: #282C33;
}

SPAN.myDomainTitle {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

DIV.myDomainField {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

DIV.myDomainLabel {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

DIV.myDomainLabel LABEL {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

SPAN.myDomainHint {
  font-size: 12px;
  line-height: 18px;
  color: #75808C;
}

DIV.myDomainInputBox {
  display: flex;
  flex-direction: column;
}

FORM.myDomainForm INPUT {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #D2DCE3;
  border-radius: 12px;
  background: #FFFFFF;
  color: #282C33;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  line-height: 20px;
}

FORM.myDomainForm INPUT::placeholder {
  color: #96A2AC;
}

FORM.myDomainForm INPUT:focus {
  outline: none;
  border-color: #0070FA;
}

FORM.myDomainForm INPUT.invalid {
  border-color: #F44C4D;
}

SPAN.myDomainError {
  padding-top: 4px;
  font-size: 12px;
  line-height: 18px;
  color: #F44C4D;
  overflow-wrap: anywhere;
}

DIV.myDomainDest {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

SPAN.myDomainDestLabel {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

SPAN.myDomainDestHost {
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

BUTTON.myDomainPrimary {
  width: 100%;
  height: 40px;
  border: 1px solid #0070FA;
  border-radius: 12px;
  background-color: #0070FA;
  color: #FFFFFF;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  cursor: pointer;
}

BUTTON.myDomainPrimary:hover:not(:disabled) {
  background-color: #0046EB;
  border-color: #0046EB;
}

BUTTON.myDomainPrimary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

BUTTON.myDomainGhost {
  align-self: center;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #282C33;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

DIV.myDomainScrim {
  position: fixed;
  inset: 0;
  z-index: 10;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 44, 51, 0.5);
}

DIV.myDomainDialog {
  width: 100%;
  max-width: 360px;
  border-radius: 28px;
  background: #FFFFFF;
  color: #282C33;
  font-family: 'Noto Sans JP';
}

H3.myDomainDialogTitle {
  margin: 0;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}

P.myDomainDialogBody {
  margin: 0;
  padding: 8px 20px;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

DIV.myDomainDialogActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  padding: 16px;
}

BUTTON.myDomainDialogCancel,
BUTTON.myDomainDialogDanger {
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

BUTTON.myDomainDialogCancel {
  border: 1px solid #E4ECF2;
  background: #FFFFFF;
  color: #282C33;
}

BUTTON.myDomainDialogCancel:hover {
  background: rgba(0, 102, 153, 0.06);
}

BUTTON.myDomainDialogDanger {
  border: 1px solid #F44C4D;
  background: #F44C4D;
  color: #FFFFFF;
}

BUTTON.myDomainDialogDanger:hover {
  border-color: #D21B1E;
  background: #D21B1E;
}

BUTTON.myDomainTextButton:focus-visible,
BUTTON.myDomainIconButton:focus-visible,
BUTTON.myDomainPrimary:focus-visible,
BUTTON.myDomainGhost:focus-visible,
BUTTON.myDomainDialogCancel:focus-visible,
BUTTON.myDomainDialogDanger:focus-visible {
  outline: 2px solid #0070FA;
  outline-offset: 2px;
}
