@charset "UTF-8";

/* ==========================================================================
   Responsive Mailform - Typoglam Editorial Aesthetics
   ========================================================================== */

/* エラーメッセージ表示 */
.error_blank,
.error_format,
.error_match {
  display: block;
  color: #a0412d;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-top: 6px;
  line-height: 1.5;
}

/* 入力エラー時のボーダースタイル */
input.error,
textarea.error,
select.error {
  border-bottom-color: #a0412d !important;
}

/* ローディングオーバーレイ */
div.loading-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

span.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background-color: #f9f8f6;
  color: #1a1a1a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

span.loading::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #e3b830;
  border-top-color: transparent;
  border-radius: 50%;
  animation: rm-spin 0.8s linear infinite;
}

@keyframes rm-spin {
  to {
    transform: rotate(360deg);
  }
}
