/* =====★【 rectangle 「あっちゃくまん」logo ★===== */

#top-bear {
  position: fixed;
  bottom: 80px;
  right: 40px;
  z-index: 999;
}

#top-bear img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-8px) scale(1.05); }
}

/* ===== あっちゃくまん正式ロゴ ===== */

.accha-logo {
  margin-top: 30px;
  padding: 12px 18px;
  background: linear-gradient(
      135deg,
      rgba(255,255,255,0.9),
      rgba(240,247,255,0.9)
  );
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.accha-logo img {
  width: 70px;
  height: auto;
}

/* ===== 【品格アップ版】 ===== */

.accha-logo {
  padding: 16px 24px;
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.accha-text {
  line-height: 1.2;
}

.accha-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.accha-sub {
  font-size: 12px;
  color: #334155;
  margin-top: 4px;
}

.accha-sub span {
  color: #64748b;
  font-weight: 500;
}

#top-bear {
  position: fixed;
  bottom: 80px;
  right: 40px;
  z-index: 999;
}

#top-bear img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-8px) scale(1.05); }
}

/* ===== あっちゃくまん正式ロゴ ===== */

.accha-logo {
  margin-top: 30px;
  padding: 12px 18px;
  background: linear-gradient(
      135deg,
      rgba(255,255,255,0.9),
      rgba(240,247,255,0.9)
  );
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.accha-logo img {
  width: 70px;
  height: auto;
}

/* ===== 【品格アップ版】 ===== */

.accha-logo {
  padding: 16px 24px;
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.accha-text {
  line-height: 1.2;
}

.accha-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.accha-sub {
  font-size: 12px;
  color: #334155;
  margin-top: 4px;
}

.accha-sub span {
  color: #64748b;
  font-weight: 500;
}

/* =====★【 あっちゃくまん 正方形logo ★===== */

.accha-logo-square {
  width: 260px;
  aspect-ratio: 1 / 1;
  margin-top: -10px;
  margin-bottom: 160px;
  margin: 6px auto;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  gap: 12px;
}

.accha-logo-square img {
  width: 100px;
  height: auto;
}

.accha-square-name {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 1px;
  margin-top: 6px;
}

.accha-square-sub {
  font-size: 13px;
  color: #334155;
}

.accha-square-by {
  font-size: 11px;
  color: #64748b;
}

/* =====★【 あっちゃくまん 共用 ★===== */

.accha-ai-declare {
  margin-top: 16px;
  margin-bottom: 40px;
  font-size: 13px;
  line-height: 2;
  color: #444;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

#ai-navi {
  margin-top: 30px;
  text-align: center;
}

#ai-navi p,
#ai-navi select,
#ai-navi button,
#result {text-align: center;}

#ai-navi select,
#ai-navi button {
  padding: 6px 10px;
  font-size: 14px;
}

#ai-navi button {
  background: #2f6fdd;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ★【視認性重視・上質版】★ */

.ai-link-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #2f6fdd, #3f8cff);

  color: #ffffff !important;     /* ← 強制 */
  text-decoration: none !important;

  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(47,111,221,0.35);
  transition: 0.3s ease;
}

/* ★【改良版CSS（少し洗練）】★ */

#result {
  margin-top: 20px;
  font-weight: 500;
  line-height: 1.8;
}

/* ===== ヒーロー直下AI導線 ===== */

.hero-ai-entry {
  background: #f4f7fc;
  padding: 40px 0;
}

.hero-ai-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.hero-ai-bear {
  width: 110px;
  height: auto;
}

.hero-ai-title {
  font-size: 22px;
  font-weight: 600;
  color: #2f6fdd;
}

.hero-ai-sub {
  margin: 6px 0 16px;
  color: #666;
  font-size: 14px;
}


// 【★最終版CSS★】
.hero-ai-btn {
  display: inline-block !important;
  padding: 12px 30px !important;
  background: linear-gradient(135deg,#2f6fdd,#3f8cff) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 30px !important;
  font-weight: 600;
  font-size: 14px;
  border: none !important;
  outline: none !important;
  box-shadow: 0 6px 18px rgba(47,111,221,0.35);
  transition: all 0.3s ease;
}

.hero-ai-btn:hover {
  background: linear-gradient(135deg,#1f54b5,#2f6fdd) !important;
  transform: translateY(-2px);
}

// ============================

.hero-ai-btn,
.hero-ai-btn:link,
.hero-ai-btn:visited,
.hero-ai-btn span {
  color: #ffffff !important;
}

.hero-ai-btn {
  display: inline-block;
  padding: 12px 34px;
  background: linear-gradient(135deg,#2f6fdd,#4f95ff);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 22px rgba(47,111,221,0.35);
  transition: all 0.25s ease;
}

.hero-ai-btn:hover {
  background: linear-gradient(135deg,#1f54b5,#2f6fdd);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(47,111,221,0.45);
}
.hero-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

// =========================
.hero-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 12px 34px !important;
  background: linear-gradient(135deg,#2f6fdd,#4f95ff) !important;

  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 22px rgba(47,111,221,0.35);
  transition: all 0.25s ease;
}



/* ★ 完全最終固定版 ★ */

.hero-ai-entry .hero-ai-btn {
  color: #ffffff !important;
}

.hero-ai-entry .hero-ai-btn:link,
.hero-ai-entry .hero-ai-btn:visited,
.hero-ai-entry .hero-ai-btn:hover,
.hero-ai-entry .hero-ai-btn:active {
  color: #ffffff !important;
}