@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

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

html, body {
  height: 100%;
  line-height: 1.5;
  font-family: sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}


/* style */

body {
  font-size: 16px;
  font-family: 'M PLUS Rounded 1c', 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Meiryo UI',sans-serif;
  color: #1c1c1c;
  background: #F5F5F5;
  font-weight: 400;
}
.inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  /* height: 100dvh; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-wrap {
  width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 80px 20px 100px;
}
.logo {
  max-width: 100px;
  margin: 0 auto 40px;
}
.top .logo {
  max-width: 80px;
}
.mail-wrap {
  display: block;
  margin: 0 auto 20px;
  max-width: 350px;
}
.mail-wrap span {
  display: block;
  margin-bottom: 8px;
}
.mail-wrap input {
  width: 100%;
  font-size: 16px;
  padding: 7px 10px;
  border: 1px solid #B5B5B5;
  border-radius: 3px;
} 
.mail-wrap input:focus-visible {
  outline: none;
}
.btn {
  color: #fff;
  background: #FF6262;
  border: 2px solid #FF6262;
  font-weight: 600;
  font-size: 16px;
  min-width: 230px;
  width: fit-content;
  padding: 10px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
  transition: all .4s ease;
  cursor: pointer;
  white-space: normal;
}
.btn:not(:disabled):hover {
  background: #fff;
  color: #FF6262;
  transform: scale(1.01);
}
.btn:disabled {
  background: #ccc;
  color: #626262;
  border: 2px solid #ccc;
  cursor: default;
}
.login-btn {
  margin-top: 50px;
}

.contents-wrap {
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 70px 20px 100px;
  position: relative;
  overflow: hidden;
}
.page-title {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 33px;
}
.uploader + .uploader {
  margin-top: 50px;
}
.drop-area {
  position: relative;
  background: #F7F7F7 url('data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%2098%2098%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url(%23clip0_5_42)%22%3E%3Cpath%20d%3D%22M42.9166%2073.3334V23.7542L27.1%2039.5709L18.5833%2030.75L49%200.333374L79.4166%2030.75L70.9%2039.5709L55.0833%2023.7542V73.3334H42.9166ZM12.5%2097.6667C9.15415%2097.6667%206.28991%2096.4754%203.90727%2094.0928C1.52463%2091.7101%200.333313%2088.8459%200.333313%2085.5V67.25H12.5V85.5H85.5V67.25H97.6666V85.5C97.6666%2088.8459%2096.4753%2091.7101%2094.0927%2094.0928C91.7101%2096.4754%2088.8458%2097.6667%2085.5%2097.6667H12.5Z%22%20fill%3D%22%23D9D9D9%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_5_42%22%3E%3Crect%20width%3D%2298%22%20height%3D%2298%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E') no-repeat center top 35px / 50px 50px;
  border: 1px dotted #797979;
  width: 100%;
  max-width: 600px;
  height: 180px;
  border-radius: 10px;
  margin: 0 auto 10px;
  cursor: pointer;
}
.drop-area.is-active {
  outline: 3px solid #FF6262;
}
.file-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 5;
}
.file-input {
  display: none;
  /* position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 999px;
  opacity: 0; */
}
.file-name {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  padding: 0 10px;
  pointer-events: none;
  font-size: 14px;
}
.clear-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: #929292;
  border-radius: 50%;
  z-index: 10;
  border: none;
  cursor: pointer;
  display: none;
}
.clear-btn::before {
  content: "";
  width: 15px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.clear-btn::after {
  content: "";
  width: 15px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.clear-btn span {
  display: none;
}
.uploader .note {
  margin-top: 5px;
  text-align: center;
}
.uploader .note small {
  font-size: 13px;
}

.page-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #EEE;
  color: #484848;
  font-size: 14px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.page-foot .link {
  margin: 0 0 0 auto;
}
.page-foot .link .logout_btn {
  border: none;
  text-decoration: underline;
}

#alert {
  position: fixed;
  z-index: 1000;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 10px);
  width: 300px;
  background: #ccc;
  color: #000;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  opacity: 0;
}
#alert.success {
  background: #E4EBF0;
  color: #2076AB;
  animation: fadeSuccess 4s ease-in-out forwards;
}
@keyframes fadeSuccess {
  0% { opacity: 0; transform: translate(-50%, 5px); }
  10% { opacity: 1; transform: translate(-50%, 0); }
  85% { opacity: 1; transform: translate(-50%, 0);}
  100% { opacity: 0; transform: translate(-50%, 5px);}
}
#alert.error {
  background: #FFEBEB;
  color: #FF4949;
  animation: fadeError .4s ease-in-out forwards;
}
@keyframes fadeError {
  0% { opacity: 0; transform: translate(-50%, 5px); }
  100% { opacity: 1; transform: translate(-50%, 0);}
}

@media screen and (min-width: 768px) {
  .inner {
    padding: 35px;
  }
  .drop-area {
    background-size: 70px 70px;
  }
  .file-name {
    bottom: 15px;
    font-size: 15px;
  }
  .clear-btn span {
  display: inline-block;
  position: absolute;
  top: -35px;
  left: -70px;
  width: 167px;
  text-align: center;
  font-size: 12px;
  background: #929292;
  border-radius: 4px;
  padding: 5px 10px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all .4s ease;
  }
  .clear-btn:hover span {
    opacity: 1;
  }
  #alert {
    width: fit-content;
    max-width: 700px;
    text-align: center;
    top: 100px;
  }
  .page-foot {
    flex-direction: row;
  }
}
@media screen and (min-width: 1080px) {
  .form-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
    align-items: center;
    padding: 0 60px;
    height: 100%;
  }
  .uploader + .uploader {
    margin-top: 0;
  }
  .uploader {
    width: calc(50% - 70px / 2);
  }
  .drop-area {
    height: 270px;
    background-position: center top 32%;
    background-size: 130px 130px;
  }
  .file-name {
    bottom: 25px;
    font-size: 16px;
  }
}