@charset "Shift_JIS";
/* モーダルログイン */

.ml-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ml-overlay.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ml-box {
  background: #fff;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  -webkit-animation: mlSlideIn 0.3s ease;
  animation: mlSlideIn 0.3s ease;
}

@-webkit-keyframes mlSlideIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes mlSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ml-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
  z-index: 10;
}

.ml-close:hover {
  opacity: 1;
}

.ml-header {
  background: #0b98b6;
  padding: 12px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.ml-header img {
  width: 24px;
  height: 24px;
}

.ml-header span {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.ml-body {
  padding: 15px;
  border: 2px solid #cbcbcb;
  border-top: none;
  font-size: 12px;
}

.ml-text {
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.ml-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 10px;
}

.ml-row label {
  width: 120px;
  font-weight: bold;
  color: #333;
  text-align: right;
  margin: 0;
  padding-right: 8px;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.ml-row input {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ml-row input:focus {
  outline: none;
  border-color: #0b98b6;
}

.ml-submit {
  text-align: center;
  margin: 15px 0 10px;
}

.ml-links {
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}

.ml-links a {
  color: #0b98b6;
}

.ml-links a:hover {
  text-decoration: none;
}

.ml-links strong {
  font-weight: bold;
}

.ml-line-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dotted #ccc;
}

.ml-line-btn {
  display: block;
  margin: 15px auto 0;
  border: none;
  background: none;
  cursor: pointer;
}

.ml-error {
  background: #fff3f3;
  border: 1px solid #e74c3c;
  color: #c0392b;
  padding: 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-size: 11px;
  display: none;
}

.ml-error.is-visible {
  display: block;
}

.ml-logged-in {
  text-align: center;
  padding: 30px;
}

.ml-logged-in-icon {
  font-size: 48px;
  color: #27ae60;
}

.ml-logged-in p {
  margin-top: 10px;
}

.ml-logged-in a {
  color: #0b98b6;
  font-weight: bold;
}

.ml-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 20;
}

.ml-loading.is-visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ml-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #eee;
  border-top-color: #0b98b6;
  border-radius: 50%;
  -webkit-animation: mlSpin 0.8s linear infinite;
  animation: mlSpin 0.8s linear infinite;
}

@-webkit-keyframes mlSpin {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes mlSpin {
  to {
    transform: rotate(360deg);
  }
}

/* SP対応 */
@media screen and (max-width: 480px) {
  .ml-box {
    width: 95%;
    max-height: 85vh;
  }

  .ml-header {
    padding: 10px 12px;
  }

  .ml-header span {
    font-size: 14px;
  }

  .ml-body {
    padding: 12px;
  }

  .ml-row {
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  .ml-row label {
    width: 90px;
    font-size: 11px;
    text-align: right;
    padding-right: 5px;
  }

  .ml-row input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
    font-size: 12px;
  }

  .ml-close {
    top: 6px;
    right: 8px;
    font-size: 22px;
  }

  .ml-text {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .ml-line-section {
    margin-top: 10px;
    padding-top: 10px;
  }

  .ml-line-section .ml-text {
    font-size: 10px;
    line-height: 1.4;
  }

  .ml-line-btn img {
    max-width: 180px;
    height: auto;
  }

  .ml-submit {
    margin: 10px 0 8px;
  }

  .ml-links {
    font-size: 10px;
  }
}