@charset "UTF-8";
/* ==========================================================================
   SSLストア ログイン画面用 — renewal-auth.css
   --------------------------------------------------------------------------
   auth/signinSuccess.php と auth/forgotSuccess.php からのみ読み込まれます。
   layout_guest.php がクリーンなシェルなので、フルブリードでスプリットレイアウト
   を作ります。
   ========================================================================== */

/* シェル — position:fixed で外部から挿入される要素 (NIJIMO group header 等) の影響を受けないようにする */
.rn-auth-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--rn-bg);
  z-index: 9999;
  overflow-y: auto;
}
@media (max-width: 980px) {
  .rn-auth-shell {
    grid-template-columns: 1fr;
    position: relative;
    min-height: 100vh;
  }
}

/* ============ 左ペイン: ブランド ============ */
.rn-auth-brand {
  position: relative;
  background: #0e0b0a;
  color: #f5f3ee;
  padding: 56px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 1280px) {
  .rn-auth-brand { padding: 48px 56px; }
}
@media (max-width: 980px) {
  .rn-auth-brand {
    padding: 40px 28px;
    min-height: 360px;
  }
}

/* 動く背景 — 文字の可読性確保のため彩度を抑え、上に暗いレイヤーを敷く */
.rn-auth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(at 15% 90%, rgba(192, 57, 43, 0.22) 0%, transparent 45%),
    radial-gradient(at 95% 15%, rgba(192, 57, 43, 0.10) 0%, transparent 55%),
    radial-gradient(at 65% 75%, rgba(60, 35, 25, 0.35) 0%, transparent 65%);
  animation: rn-auth-pulse 18s ease-in-out infinite;
}
.rn-auth-bg::before,
.rn-auth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rn-auth-bg::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'><g fill='none' stroke='%23ffffff' stroke-width='.6' opacity='.5'><circle cx='0' cy='20' r='20'/><circle cx='0' cy='20' r='13'/><circle cx='40' cy='20' r='20'/><circle cx='40' cy='20' r='13'/><circle cx='80' cy='20' r='20'/><circle cx='80' cy='20' r='13'/><circle cx='20' cy='40' r='20'/><circle cx='20' cy='40' r='13'/><circle cx='60' cy='40' r='20'/><circle cx='60' cy='40' r='13'/></g></svg>");
  background-size: 80px 40px;
  opacity: .025;
}
.rn-auth-bg::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .04;
  mix-blend-mode: overlay;
}
/* 文字の可読性を確保する暗いオーバーレイ (内容のあるエリアにだけかかる) */
.rn-auth-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.15) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}
@keyframes rn-auth-pulse {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.05) translate(1.5%, -1.5%); }
}

.rn-auth-brand-inner {
  position: relative;
  z-index: 2;
  max-width: 540px;
  width: 100%;
  animation: rn-auth-fade-up .8s ease both;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ロゴ */
.rn-auth-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  color: #f5f3ee !important;
  text-decoration: none !important;
  margin-bottom: 48px;
}
.rn-auth-logo-mark {
  width: 48px; height: 48px;
  border-radius: 11px;
  background: linear-gradient(180deg, #c0392b 0%, var(--rn-brand-deep) 100%);
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -2px 0 rgba(0,0,0,.25),
    0 4px 14px rgba(192,57,43,.35),
    0 0 0 1px rgba(255,255,255,.04);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.rn-auth-logo-mark::after {
  content: "";
  width: 26px; height: 26px;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 1a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-1V6a5 5 0 0 0-5-5zm-3 5a3 3 0 0 1 6 0v3H9V6zm3 7.5a1.5 1.5 0 0 1 .75 2.8V18a.75.75 0 0 1-1.5 0v-1.7A1.5 1.5 0 0 1 12 13.5z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 1a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-1V6a5 5 0 0 0-5-5zm-3 5a3 3 0 0 1 6 0v3H9V6zm3 7.5a1.5 1.5 0 0 1 .75 2.8V18a.75.75 0 0 1-1.5 0v-1.7A1.5 1.5 0 0 1 12 13.5z'/></svg>");
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}
.rn-auth-logo-text {
  font-family: var(--rn-font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
  line-height: 1.1;
}
.rn-auth-logo-text small {
  display: block;
  font-family: var(--rn-font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .25em;
  color: rgba(255,255,255,.75);
  margin-top: 3px;
}

/* eyebrow */
.rn-auth-eyebrow {
  font-family: var(--rn-font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  background: rgba(0,0,0,.2);
}

/* headline */
.rn-auth-headline,
.renewal-body h1.rn-auth-headline {
  font-family: var(--rn-font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .005em;
  margin: 0 0 22px;
  color: #ffffff !important;
}
.rn-auth-headline em {
  font-style: normal;
  color: #fda4af !important;
  background: linear-gradient(transparent 65%, rgba(251,113,133,.28) 65%);
  padding: 0 6px;
  display: inline-block;
}
@media (min-width: 1400px) {
  .rn-auth-headline { font-size: 36px; }
}
@media (max-width: 1180px) {
  .rn-auth-headline { font-size: 28px; }
}
@media (max-width: 980px) {
  .rn-auth-headline { font-size: 24px; }
}

/* lede */
.rn-auth-lede {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,.85);
  margin: 0 0 36px;
  max-width: 480px;
}

/* stats row */
.rn-auth-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 36px;
}
.rn-auth-stat {
  padding: 0 14px 0 0;
}
.rn-auth-stat .num {
  font-family: var(--rn-font-mono);
  font-size: 22px;
  font-weight: 600;
  color: #f5f3ee;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.rn-auth-stat .num .u {
  font-family: var(--rn-font-sans);
  font-size: 11px;
  color: rgba(255,255,255,.7);
  margin-left: 2px;
  font-weight: 500;
}
.rn-auth-stat .lbl {
  font-size: 10.5px;
  color: rgba(255,255,255,.7);
  margin-top: 3px;
  letter-spacing: .04em;
}
@media (max-width: 980px) {
  .rn-auth-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rn-auth-stat { padding: 0; }
}

/* FujiSSL ACME strip */
.rn-auth-acme {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.18) 0%, rgba(192, 57, 43, 0.06) 100%);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: var(--rn-radius-md);
  text-decoration: none !important;
  color: #f5f3ee !important;
  transition: background .15s, border-color .15s, transform .15s;
}
.rn-auth-acme:hover {
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.28) 0%, rgba(192, 57, 43, 0.12) 100%);
  border-color: rgba(192, 57, 43, 0.55);
  transform: translateY(-1px);
  color: #f5f3ee !important;
}
.rn-auth-acme-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rn-auth-acme-circle {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e85d4a, var(--rn-brand-deep));
  box-shadow: 0 0 12px rgba(232, 93, 74, .6);
  animation: rn-auth-glow 2s ease-in-out infinite;
}
@keyframes rn-auth-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(232, 93, 74, .4); }
  50% { box-shadow: 0 0 18px rgba(232, 93, 74, .8); }
}
.rn-auth-acme-body { flex: 1; min-width: 0; }
.rn-auth-acme-eyebrow {
  font-family: var(--rn-font-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: #fb7185;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.rn-auth-acme-title {
  font-family: var(--rn-font-display);
  font-weight: 700;
  font-size: 14px;
  color: #f5f3ee;
}
.rn-auth-acme-sub {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}
.rn-auth-acme-arrow {
  font-family: var(--rn-font-mono);
  font-size: 18px;
  color: #fb7185;
  flex-shrink: 0;
}

/* ============ 右ペイン: ログインフォーム ============ */
.rn-auth-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 80px;
  position: relative;
  background: var(--rn-bg);
  overflow-y: auto;
}
@media (max-width: 1280px) {
  .rn-auth-pane { padding: 48px 56px; }
}
@media (max-width: 980px) {
  .rn-auth-pane { padding: 32px 20px; }
}

.rn-auth-pane-inner {
  width: 100%;
  max-width: 420px;
  animation: rn-auth-fade-up .8s .15s ease both;
}

.rn-auth-form-head { margin-bottom: 28px; }
.rn-auth-form-eyebrow {
  font-family: var(--rn-font-mono);
  font-size: 10.5px;
  letter-spacing: .3em;
  color: var(--rn-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rn-auth-form-title {
  font-family: var(--rn-font-display);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--rn-ink);
  letter-spacing: .01em;
}
.rn-auth-form-sub {
  font-size: 13px;
  color: var(--rn-muted);
  margin: 0;
  line-height: 1.6;
}

/* form */
.rn-auth-form { width: 100%; }
.rn-auth-form .alert {
  margin-bottom: 18px;
  border-radius: var(--rn-radius-md);
  padding: 12px 14px;
  font-size: 12.5px;
}

.rn-auth-field {
  margin-bottom: 16px;
}
.rn-auth-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--rn-ink-2);
  margin-bottom: 7px;
  letter-spacing: .02em;
}
.rn-auth-field .form-control {
  width: 100%;
  height: 48px !important;
  border: 1px solid var(--rn-border-strong) !important;
  background: var(--rn-surface) !important;
  border-radius: var(--rn-radius-sm) !important;
  font-size: 14px !important;
  padding: 0 16px !important;
  color: var(--rn-ink) !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.rn-auth-field .form-control:focus {
  outline: none !important;
  border-color: var(--rn-ink) !important;
  box-shadow: 0 0 0 4px rgba(26, 26, 26, .07) !important;
}
.rn-auth-field .form-control::placeholder {
  color: var(--rn-faint);
  font-size: 13.5px;
}

.rn-auth-forgot {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--rn-brand) !important;
  text-decoration: none !important;
}
.rn-auth-forgot:hover { color: var(--rn-brand-deep) !important; text-decoration: underline !important; }

.rn-auth-submit {
  width: 100%;
  height: 48px !important;
  background: var(--rn-ink) !important;
  border: none !important;
  border-radius: var(--rn-radius-sm) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, transform .05s;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.rn-auth-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(192,57,43,0.4) 100%);
  opacity: 0;
  transition: opacity .25s;
}
.rn-auth-submit:hover {
  background: var(--rn-brand) !important;
}
.rn-auth-submit:hover::before {
  opacity: 1;
}
.rn-auth-submit:active { transform: translateY(1px); }

/* divider */
.rn-auth-divider {
  display: flex;
  align-items: center;
  margin: 22px 0;
  color: var(--rn-faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-family: var(--rn-font-mono);
}
.rn-auth-divider::before,
.rn-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rn-border);
}
.rn-auth-divider span { padding: 0 14px; }

/* register CTA */
.rn-auth-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius-sm);
}
.rn-auth-cta-label {
  font-size: 12.5px;
  color: var(--rn-muted);
}
.rn-auth-cta-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--rn-brand) !important;
  text-decoration: none !important;
}
.rn-auth-cta-link:hover { color: var(--rn-brand-deep) !important; text-decoration: underline !important; }

/* footer */
.rn-auth-footer {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--rn-muted);
}
.rn-auth-footer a { color: var(--rn-ink-2) !important; }
.rn-auth-footer a:hover { color: var(--rn-brand) !important; }
.rn-auth-footer span { color: var(--rn-faint); }
.rn-auth-copy {
  text-align: center;
  margin-top: 8px;
  font-family: var(--rn-font-mono);
  font-size: 10px;
  color: var(--rn-faint);
  letter-spacing: .03em;
}

/* keyframes */
@keyframes rn-auth-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
