/* AI Welcome ブランド */
:root {
  --aw-navy: #1a2744;
  --aw-gold: #c9a227;
}

.aw-logo {
  display: block;
  line-height: 0;
}

.aw-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* 一般ページ */
.aw-logo--full {
  max-width: 320px;
}

/* ログイン — 幅基準で大きく、上下余白は最小 */
.aw-logo--hero {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.aw-logo--hero img {
  width: 100%;
  height: auto;
}

/* ナビ — アイコンマークのみ（横長ロゴの余白問題を回避） */
.aw-logo--nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aw-logo--nav img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.aw-logo--nav .aw-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.aw-logo--nav .aw-logo__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--aw-navy);
}

.aw-logo--nav .aw-logo__sub {
  font-size: 0.7rem;
  color: #6c757d;
  font-weight: 400;
}

.navbar-brand .aw-logo--nav {
  padding: 0;
}

.aw-login-brand {
  text-align: center;
  margin-bottom: 1rem;
}

.aw-login-brand .aw-logo--hero {
  margin-bottom: 0.35rem;
}

.aw-login-brand__sub {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.3;
}

/* Tabler ログイン画面の上下パディングを詰める */
.page-center .container-tight.py-4 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.aw-login-brand + .card {
  margin-top: 0;
}

@media (min-width: 768px) {
  .aw-logo--hero {
    max-width: 460px;
  }

  .aw-logo--nav img {
    width: 44px;
    height: 44px;
  }

  .aw-logo--nav .aw-logo__title {
    font-size: 1.05rem;
  }
}
