/* =========================
   age-check.css – 認証ページ専用スタイル（haipro最終対応・整理済み）
   ========================= */

/* フォント設定 */
.font-noto-sans-jp { font-family: 'Noto Sans JP', sans-serif; }
.font-yuji-mai { font-family: "Yuji Mai", serif; }
.font-yuji-syuku { font-family: "Yuji Syuku", serif; }

/* 全体背景と文字色 */
.age-check-body, .auth-content {
  background: #d83434 !important;
  color: #fff;
  margin: 0 auto;
  padding: 0;
  max-width: 960px;
}

/* ヘッダー */
.auth-header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #d83434 !important;
  color: #fff;
  padding: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.auth-header .auth-header-logo {
  max-width: 200px;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* バナー */
.auth-banner-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* メッセージ */
.auth-message {
  font-size: 1.2em;
  text-align: center;
  margin: 20px auto;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 1);
}

/* 認証ボタン配置 */
.auth-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
}

.auth-buttons form,
.auth-buttons a {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 240px;
}

.auth-buttons button[type="submit"],
.auth-button-enter,
.auth-button-exit {
  all: unset;
  display: inline-block;
  width: 100%;
  max-width: 240px;
  min-height: 50px;
  padding: 14px 0;
  background-color: #ff6666;
  color: #fff;
  border: 2px solid #900;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.auth-button-enter.has-image,
.auth-button-exit.has-image {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-button-enter.has-image img,
.auth-button-exit.has-image img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.auth-button-enter:hover,
.auth-button-exit:hover,
.auth-button-enter.has-image:hover img,
.auth-button-exit.has-image:hover img {
  opacity: 0.9;
  transform: scale(1.02);
}

/* スマホ対応 */
@media (max-width: 767px) {
  .auth-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ロゴ */
.auth-logo-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.auth-logo-image {
  max-width: 350px;
  height: auto;
}

/* 補足メッセージ */
.auth-message-2 {
  text-align: center;
  font-size: 1em;
  margin-top: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 1);
}

/* 任意セクション */
.auth-extra-sections {
  background: #d83434;
  padding: 20px;
  margin-top: 40px;
  border-top: 4px solid #900;
}
.auth-section-block {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
}
.auth-section-title {
  text-align: center;
  font-size: 1.3em;
  color: #fff;
}
.auth-section-text {
  text-align: center;
  color: #fff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 1);
  line-height: 1.5;
}
.auth-section-link {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}
.auth-section-link:hover {
  background-color: #eee;
}