@charset "UTF-8";
/* CSS Document */

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

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: "Questrial", "Noto Sans JP", Arial, sans-serif;
  font-weight: 600;
  padding: 40px;
  margin: 0;
  overflow-x: hidden;
  color: #3e3a39;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #ffffff;	
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
}

/* login */

.login_container{
  width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.login_container img {
  width: 50px;
  height: auto;
}

.login_container span{
	font-size:50px;
	margin: 10px auto 100px auto;
	color: #3e3a39;
}

.login_btn {
  border: 1px solid #3e3a39;
}

.login_form {
  display: flex;
  align-items: center;
}

.login_form input {
  width: 260px;
  height: 50px;
  padding: 0 20px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #3e3a39;
  background: #ffffff;
}

.toggle_password_btn {
  display: block;
  width: 180px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid #ebebeb;
  background: #ebebeb;
  color: #3e3a39;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.toggle_password_btn:hover {
  background: #3e3a39;
  color: #ffffff;
}

button{
	background: #3e3a39;
	color:#ffffff;
	transition: background-color 0.3s;
}

.open_btn{
	width: 120px;
	height: 50px;
	background: #3e3a39;
	color:#ffffff;
	transition: background-color 0.3s;
}

.open_btn:hover{
	background: #c7ddfc;
	color: #3e3a39;	
	border: 1px solid #c7ddfc;
}



/* page back */
.back_btn{
	border: 1px solid #c0c0c0;
	background: #ffffff;
	color: #3e3a39;
	margin-top: 300px;
	padding: 10px;
	width: 260px;
	transition: background-color 0.3s;
}

.back_btn:hover{
	background: #3e3a39;
	color: #ffffff;	
}



/* footer */
footer {
  margin-top: 50px;
  text-align: center;
}





/* ==============================
   Responsive / Smartphone
   ============================== */
@media screen and (max-width: 768px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    padding: 0;
    overflow-x: hidden;
  }

  body {
    min-height: 100svh;
    padding: 32px 20px 20px;
    justify-content: flex-start;
    font-family: "Questrial", "Noto Sans JP", sans-serif;
  }

  .login_container {
    width: 100%;
    max-width: 420px;
    margin-top: clamp(32px, 10vh, 80px);
    gap: 20px;
  }

  .login_container img {
    width: 50px;
  }

  .login_container span {
    margin: 8px auto 50px;
    font-size: clamp(38px, 12vw, 46px);
  }

  .login_btn {
    width: 100%;
    border: none;
	padding-right: 20px;
	padding-left: 20px;
  }

.login_form {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}
  .login_form input {
  width: 60%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #3e3a39;
  border-right: none;
  border-radius: 0;
  font-size: 16px;
}

.open_btn {
  width: 40%;
  height: 52px;
  border: 1px solid #3e3a39;
  border-radius: 0;
}

  .toggle_password_btn {
    width: 100%;
    max-width: 160px;
    height: 40px;
  }

  .login_error {
    width: 100%;
    color: #c00;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .back_btn {
    width: 100%;
    max-width: 130px;
    margin-top: clamp(100px, 20vh, 200px);
  }

  footer {
    width: 100%;
    margin-top: auto;
    padding-top: 32px;
    font-size: 18px;
  }
}

@media screen and (max-width: 380px) {
  body {
    padding-right: 16px;
    padding-left: 16px;
  }

  .login_container span {
    margin-bottom: 40px;
  }

  .back_btn {
    margin-top: 200px;
  }
}