@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

body {
  /* text-align: center; */
  /* font-family: "Roboto"; */
  /* color: #888888; */
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #ffffff;
}

/* a {
  color: #00b7ff;
}

header {
  text-align: right;
  font-size: 15px;
  margin-bottom: 55px;
}

div#form-wrapper {
  padding-top: 30px;
  margin: 0 auto;
  width: 300px;
}

button,
div.sso-btn {
  margin-top: 5px;
  border: none;
  height: 30px;
  width: 230px;
  border-radius: 3px;
  background: #00b7ff;
  color: #ffffff;
}

input {
  outline: none;
  width: 220px;
  padding-left: 5px;
  margin-bottom: 5px;
  height: 23px;
  display: inline-block;
}

div.service-btn {
  padding-top: 10px;
  border: 2px solid #cccccc;
  border-radius: 5px;
  padding-bottom: 10px;
  color: #888888;
  width: 230px;
  margin: 10px auto;
  font-size: 13px;
  cursor: pointer;
} */

@font-face {
  font-family: "Roboto";
  src: url("Roboto/Roboto-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* .logo-image-style {
  max-width: 150px;
}

.header-height-style {
  min-height: 100vh;
}

.index-logo {
  max-width: 150px
}

.index-list {
  height: 150px;
} */

.iframeWrap {
  /* padding: 20px; */
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .iframeWrap .bgLogo {
  z-index: -1;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .6;
} */
/* .iframeWrap .bgLogo img {
  max-width: 500px;
  width: 60%;
  opacity: .1;
} */
.iframeWrap .logo {
  margin: 0px;
  text-align: center;
}

.iframeWrap .logo img {
  height: 80%;
}

/* .iframeWrap .logoz img {
  height: 64px;
} */
.iframeWrap .loginBody {
  max-width: 300px;
  width: 100%;
  /* padding: 40px; */
  background-color: rgba(255, 255, 255, .6);
  border: 1px solid transparent;
  transition: 0.2s ease-in-out;
}

.iframeWrap .loginBody .heading {
  margin-bottom: 15px;
  text-align: center;
  color: #0494FA;
}

.iframeWrap .loginBody [type=submit] {
  margin-bottom: 0;
  width: 100%;
}

.iframeWrap .loginBody .inputArea {
  position: relative;
}

.iframeWrap .loginBody .inputArea label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #aaa;
  pointer-events: none;
  transition: 0.2s ease-in-out;
}

.iframeWrap .loginBody .inputArea input {
  padding: 15px 15px 0;
  height: 56px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
  background-color: transparent;
  transition: 0.2s ease-in-out;
}

.iframeWrap .loginBody .inputArea input:valid,
.iframeWrap .loginBody .inputArea input:focus {
  outline: none;
  box-shadow: none;
}

.iframeWrap .loginBody .inputArea input:valid+label,
.iframeWrap .loginBody .inputArea input:focus+label {
  top: 10px;
  font-size: 10px;
}

.iframeWrap.error .loginBody .inputArea input {
  border-bottom-color: #f44336;
  background-color: rgba(244, 67, 54, 0.1);
}

.iframeWrap.error .loginBody .inputArea input+label {
  color: #f44336;
}

.iframeWrap .loginBody button[type=submit] {
  height: 50px;
  background-color: #002e54;
  border-radius: 0;
  color: #fff;
  border-color: transparent;
}

.iframeWrap .errMsg {
  margin-top: 1rem;
  height: 24px;
}

.iframeWrap.error .loginBody {
  border-color: #f44336;
  animation: shake 0.1s 1;
}

/* ログインフォーム */
.loginWrap {
  padding: 20px;
  /* position: fixed; */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (min-height: 600px) {
  .loginWrap {
    position: fixed;
  }
}

.loginWrap .bgLogo {
  z-index: -1;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .6;
}

.loginWrap .bgLogo img {
  max-width: 500px;
  width: 60%;
  opacity: .1;
}

/* .loginWrap .logo {
  margin-top: -66px;
} */
.loginWrap .logo img {
  height: 100px;

  @media (max-width: 992px){
    height: 70px;    
  }
}

.loginWrap .logoz img {
  height: 64px;
}

.loginWrap .loginBody {
  max-width: 450px;
  width: 100%;
  padding: 40px;
  background-color: rgba(255, 255, 255, .6);
  border: 1px solid transparent;
  transition: 0.2s ease-in-out;

  @media (max-width: 992px){
    padding: 5px;    
  }
}

.loginWrap .loginBody .heading {
  margin-bottom: 15px;
  text-align: center;
  color: #0494FA;
}

.loginWrap .loginBody [type=submit] {
  margin-bottom: 0;
  width: 100%;
}

.loginWrap .loginBody .inputArea {
  position: relative;
}

.loginWrap .loginBody .inputArea label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #aaa;
  pointer-events: none;
  transition: 0.2s ease-in-out;
}

.loginWrap .loginBody .inputArea input {
  padding: 15px 15px 0;
  height: 56px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
  background-color: transparent;
  transition: 0.2s ease-in-out;
}

/* .loginWrap .loginBody .inputArea input:not(:placeholder-shown),  */
.loginWrap .loginBody .inputArea input:valid,
.loginWrap .loginBody .inputArea input:focus {
  outline: none;
  box-shadow: none;
}

/* .loginWrap .loginBody .inputArea input:not(:placeholder-shown) + label,  */
.loginWrap .loginBody .inputArea input:valid+label,
.loginWrap .loginBody .inputArea input:focus+label {
  top: 10px;
  font-size: 10px;
}

.loginWrap.error .loginBody .inputArea input {
  border-bottom-color: #f44336;
  background-color: rgba(244, 67, 54, 0.1);
}

.loginWrap.error .loginBody .inputArea input+label {
  color: #f44336;
}

.loginWrap .loginBody button[type=submit] {
  height: 50px;
  background-color: #002e54;
  border-radius: 0;
  color: #fff;
  border-color: transparent;
}

.loginWrap .errMsg {
  margin-top: 1rem;
  height: 24px;
}

.loginWrap.error .loginBody {
  border-color: #f44336;
  animation: shake 0.1s 1;
}

.manual-link {
  margin-top: 20px;
  text-decoration: none;
}

.manual-link a {
  color: rgb(138, 146, 155);
}
.islonline-link {
  margin-top: 0px;
  text-decoration: none;
  color: rgb(138, 146, 155);
}

.islonline-link a {
  color: rgb(138, 146, 155);
  cursor: text;
}
.islonline-link a:hover {
  text-decoration: none;
}
@keyframes shake {
  0% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }

  25% {
    transform: translate(2px, 2px) rotateZ(2deg);
  }

  50% {
    transform: translate(0px, 2px) rotateZ(0deg);
  }

  75% {
    transform: translate(2px, 0px) rotateZ(-2deg);
  }

  100% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
}

.modal {
  position:fixed; 
  inset:0; 
  background:rgba(0,0,0,0.4); 
  display:flex; 
  align-items:center; 
  justify-content:center;
}
.hidden {
  display:none;
}
.modal-content {
  background:white; 
  padding:20px; 
  border-radius:8px; 
  min-width:300px;
  width: 50%;
}
.modal h2 {
  font-size:20px;
  line-height: 1.5;
}
.modal .button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
}
.modal button[type=submit] {
  height: 50px;
  background-color: #002e54;
  border-radius: 0;
  color: #fff;
  border-color: transparent;
  width: 100%;
}
.modal button[type=button] {
  height: 50px;
  background-color: #696969;
  border-radius: 0;
  color: #fff;
  border-color: transparent;
  width: 100%;
}

.modal input[required]:invalid, .invalid {
  background-color: #ffe6ea;
  color: #ff0000;
}
.modal .error-message {
  color: red;
  display: block;
  margin-top: 5px;
}

/* ワンタイムパスワードフォーム */
.otpWrap {
  padding: 20px;
  /* position: fixed; */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (min-height: 600px) {
  .otpWrap {
    position: fixed;
  }
}

.otpWrap .logo img {
  height: 100px;
  @media (max-width: 992px){
    height: 70px;    
  }
}

.otpWrap .logoz img {
  height: 64px;
}

.otpBody {
  background: white;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  width: 50%;
  min-width: 300px;;
  text-align: center;
}
.otpBody p {
  font-size: 20px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  text-align: left;
}
.otpBody input[required]:invalid, .invalid {
  background-color: #ffe6ea;
  color: #ff0000;
}
.otpBody .error-message {
  color: red;
  margin-top: 5px;
  text-align: left;
}
.otpBody button[type=submit] {
  height: 50px;
  background-color: #002e54;
  border-radius: 0;
  color: #fff;
  border-color: transparent;
  width: 100%;
}
.otpBody .resend {
  margin-top: 10px;
}
.otpBody .resend a {
  text-decoration: none;
}
.otpBody .resend a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .otpBody .resend {
    flex-direction: column;
    align-items: flex-start !important; /* 左寄せ */
    gap: 6px; /* 行間を少しあける */
    text-align: left;
  }
}

.fs-small {
  font-size: small;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-border {
    width: 60px;
    height: 60px;
    color: #0d6efd;
}

.link-red {
  background-color: yellow;
  padding: 2px 4px;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}