/* ===== ゆるりの会 会員登録・ログイン ===== */
.auth-header-area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.auth-outline {
  background: #ffffff !important;
  color: var(--main-dark) !important;
  border: 1px solid rgba(111, 183, 168, 0.45) !important;
}
.auth-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff8ee;
  color: #2f5f58;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid rgba(247, 178, 103, 0.55);
  white-space: nowrap;
}
.auth-small-link {
  border: none;
  background: transparent;
  color: #3d8f83;
  font-weight: 900;
  cursor: pointer;
  padding: 4px 2px;
}
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgba(47, 95, 88, 0.48);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.auth-modal.is-open { display: flex; }
.auth-modal-card {
  width: min(440px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #fffdf8;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 18px 52px rgba(47, 95, 88, 0.32);
  border: 2px solid rgba(247, 178, 103, 0.7);
  position: relative;
}
.auth-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #fff3df;
  color: #2f5f58;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
  padding: 6px;
  background: #f2fbf8;
  border-radius: 999px;
}
.auth-tabs button {
  border: none;
  border-radius: 999px;
  padding: 10px;
  background: transparent;
  color: #2f5f58;
  font-weight: 900;
  cursor: pointer;
}
.auth-tabs button.active {
  background: #6fb7a8;
  color: #fff;
  box-shadow: 0 8px 18px rgba(67, 120, 110, 0.16);
}
#auth-login-box label,
#auth-register-box label {
  display: block;
  margin: 12px 0 4px;
  color: #2f5f58;
  font-weight: 900;
  font-size: 0.92rem;
}
#auth-login-box input,
#auth-register-box input,
#auth-register-box select {
  width: 100%;
  border: 1px solid rgba(111, 183, 168, 0.45);
  background: #fff;
  border-radius: 14px;
  padding: 12px 13px;
  font-size: 16px;
  color: #3d3d3d;
  outline: none;
}
#auth-login-box input:focus,
#auth-register-box input:focus,
#auth-register-box select:focus {
  border-color: #3d8f83;
  box-shadow: 0 0 0 4px rgba(111, 183, 168, 0.16);
}
.auth-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff8ee;
  color: #526762;
  font-size: 0.9rem;
  line-height: 1.6;
}
.auth-message {
  min-height: 1.6em;
  margin: 14px 0 0;
  color: #2f5f58;
  font-weight: 800;
  line-height: 1.6;
}
.auth-message.is-error { color: #b43b3b; }
.auth-message.is-success { color: #2f7d55; }
.auth-text-button {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: #3d8f83;
  font-weight: 900;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 480px) {
  .auth-header-area { gap: 6px; }
  .auth-modal-card { padding: 22px 18px; border-radius: 24px; }
  .auth-user-pill { font-size: 0.82rem; padding: 7px 10px; }
}


/* 会員登録：料金・認証メール注意案内 */
.auth-free-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf8f3;
  border: 2px solid #6fb7a8;
  color: #24665c;
  font-weight: 900;
  font-size: 0.95rem;
}
.auth-registration-guide {
  margin: 14px 0 2px;
  padding: 14px 15px;
  border-radius: 16px;
  background: #f7fffc;
  border: 2px solid rgba(111, 183, 168, 0.55);
  color: #425c56;
  font-size: 0.91rem;
  line-height: 1.65;
}
.auth-registration-guide p { margin: 7px 0; }
.auth-registration-guide-title {
  margin-top: 0 !important;
  color: #2f5f58;
  font-size: 1rem;
  font-weight: 900;
}
.auth-spam-warning {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff4e5;
  border: 1px solid #efb35c;
  color: #714d19;
}
.member-free-banner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 16px 20px;
  border-radius: 18px;
  text-align: center;
  background: #eaf8f3;
  border: 2px solid #6fb7a8;
  color: #2f5f58;
  box-shadow: 0 8px 22px rgba(67,120,110,.10);
}
.member-free-banner strong {
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  font-weight: 900;
}
.member-free-banner span {
  font-size: 0.92rem;
  line-height: 1.55;
}
@media (max-width: 480px) {
  .auth-free-badge { font-size: .86rem; padding: 7px 11px; }
  .auth-registration-guide { padding: 12px; font-size: .87rem; }
  .member-free-banner { padding: 14px; }
}
