@charset "UTF-8";
/* =============================================
修理依頼フォームログインモーダル
=============================================*/
.login-modal {
  max-width: 1200px;
  padding: 30px 0;
  overflow: visible;
  max-height: 90vh;
  height: auto;
}
.login-modal .close-button-wrap {
  position: absolute;
  top: -30px;
  right: 10px;
  z-index: 10;
}
.login-modal .close-button {
  display: block;
  position: relative;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  border-radius: 50%; /* 丸みの度合い */
  background: #000000; /* ボタンの背景色 */
}
.login-modal .close-button:hover {
  transform: none;
  opacity: 1;
  background: #4B4B4B;
}
.login-modal .close-button::before, .login-modal .close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 31px;
  border-radius: 50px;
  background: #ffffff; /* バツ印の色 */
}
.login-modal .close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.login-modal .close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 分割線のスタイル */
.login-divider {
  width: 0.1rem;
  background-color: #E2E2E2;
  margin: 0 3rem;
  align-self: stretch;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .login-divider {
    width: 100%;
    height: 0.1rem;
    margin: 3rem 0;
    align-self: auto;
  }
}

/* モーダルコンテンツのレイアウト */
.login-modal-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px 60px;
}
@media screen and (max-width: 768px) {
  .login-modal-content {
    flex-direction: column;
    gap: 0;
    max-height: calc(90vh - 110px);
  }
}

.login-modal-left,
.login-modal-right {
  flex: 1;
  max-width: 48rem;
}

/* 左側：アカウントをお持ちのお客さま */
.login-modal-left {
  flex: 1;
}
@media screen and (max-width: 768px) {
  .login-modal-left {
    padding-bottom: 0;
  }
}
.login-modal-left .form-style1 {
  max-width: 100%;
}
.login-modal-left .form-style1 .form-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.login-modal-left .form-style1 .required-text {
  margin-bottom: 20px;
}
.login-modal-left .form-style1 .form-wrap {
  margin-bottom: 20px;
}
.login-modal-left .form-style1 .password-group {
  position: relative;
}
.login-modal-left .form-style1 .password-group .password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}
.login-modal-left .form-style1 .password-group .password-toggle img {
  width: 20px;
  height: auto;
}
.login-modal-left .form-style1 .form-btn-wrap {
  margin: 30px 0;
}
.login-modal-left .form-style1 .forgot-password {
  margin-top: 20px;
}
.login-modal-left .form-style1 .forgot-password a {
  text-decoration: underline;
}
.login-modal-left .form-style1 .forgot-password a:hover {
  text-decoration: none;
}

/* 右側：会員登録がお済みでないお客さま */
.login-modal-right {
  flex: 1;
}
.login-modal-right .form-style1 {
  max-width: 100%;
}
.login-modal-right .form-style1 .form-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.login-modal-right .form-style1 .required-text {
  margin-bottom: 20px;
}
.login-modal-right .form-style1 .form-wrap {
  margin-bottom: 20px;
}
.login-modal-right .form-style1 .form-btn-wrap {
  margin: 30px 0;
}
.login-modal-right .form-style1 .privacy-policy-text {
  margin: 20px 0 40px;
}
.login-modal-right .form-style1 .verification-section {
  margin-top: 40px;
  padding-top: 40px;
}
.login-modal-right .form-style1 .verification-section .verification-text {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .login-modal {
    padding: 40px 0;
    max-height: 85vh;
  }
  .login-modal .close-button-wrap {
    top: -20px;
  }
  .login-modal .close-button {
    width: 40px;
    height: 40px;
  }
  .login-modal .close-button::before, .login-modal .close-button::after {
    height: 21px;
  }
  .login-modal-content {
    padding: 0 20px;
    flex-wrap: nowrap;
  }
}