/************************************************
 * UMJ Footer – 完全独立版（PC / Mobile 対応）
 ************************************************/

/* =============================
   共通デザイン
============================= */

.footer-main {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  color: #333;
  padding: 40px 20px 20px;
}

.footer-main a {
  color: #444 !important;
  text-decoration: none !important;
}
.footer-main a:hover {
  color: #ff8c42 !important;
}

.footer-about p {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 600;
  color: #ff8c42;
  margin-top: 4px;
  margin-bottom: 8px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

/* お問い合わせボタン（PC 基本形） */
.footer-contact-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff8c42 0%, #ff7b29 100%) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px !important;
  border-radius: 28px !important;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.25) !important;
  transition: all 0.3s ease;
}

.footer-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35) !important;
}

/* SNS アイコン */
.footer-sns {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.sns-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
  transition: all 0.2s ease;
}
.sns-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* YouTube */
.sns-icon.youtube {
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' stroke='%23666' stroke-width='1.2' viewBox='0 0 24 24'><path d='M19.6 3.2H4.4A4.4 4.4 0 000 7.6v8.8a4.4 4.4 0 004.4 4.4h15.2a4.4 4.4 0 004.4-4.4V7.6a4.4 4.4 0 00-4.4-4.4zM9.6 16V8l6.4 4-6.4 4z'/></svg>");
}

/* X */
.sns-icon.x {
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' stroke='%23666' stroke-width='1.4' viewBox='0 0 24 24'><path d='M18.3 2H21l-6.9 7.9L22 22h-7.1l-4.5-5.9L4.8 22H2l7.4-8.4L2.2 2h7.1l4.1 5.5L18.3 2z'/></svg>");
}

/* Facebook */
.sns-icon.facebook {
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' stroke='%23666' stroke-width='1.2' viewBox='0 0 24 24'><path d='M22 12a10 10 0 11-11.5 9.9v-7h-2v-3h2V9.7c0-2 1.2-3.1 3-3.1.9 0 1.8.2 1.8.2v2h-1c-1 0-1.3.6-1.3 1.2V12h2.2l-.4 3h-1.8v7A10 10 0 0022 12z'/></svg>");
}

/* コピーライト帯 共通 */
.footer-bottom {
  background: linear-gradient(135deg, #ff9a50 0%, #ff7b29 100%) !important;
  padding: 6px 0 !important;
}

.footer-bottom-container {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-bottom-container p {
  font-size: 12px !important;
  opacity: 0.8 !important;
  margin: 0 !important;
}

.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}


/* =============================
   PC レイアウト
============================= */
@media (min-width: 1025px) {

  .footer-container {
    display: grid !important;
    grid-template-columns: 1.2fr 0.9fr 0.9fr !important;
    gap: 40px !important;
    max-width: 1180px;
    margin: 0 auto !important;
    align-items: flex-start;
  }

  .footer-right-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }

  .footer-sns {
    grid-column: 1 / span 2;
  }

  .footer-bottom-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 16px;
  }

  .footer-legal-links {
    display: flex !important;
    gap: 22px !important;
  }

  .footer-legal-links a {
    font-size: 12px !important;
    color: #ffffffcc !important;
    white-space: nowrap;
  }
}


/* =============================
   スマホレイアウト（完全版）
============================= */
@media (max-width: 1024px) {

  .footer-container {
    padding: 0 18px !important;
    display: block !important;
  }

  .footer-about {
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .footer-logo img {
    height: 34px !important;
    width: auto !important;
    margin-bottom: 10px !important;
  }

  /* スマホ版お問い合わせボタン：白地＋オレンジ文字 */
  .footer-contact-btn {
    background: #ffffff !important;
    border: 2px solid #ff8c42 !important;
    color: #ff8c42 !important;
    padding: 12px 0 !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    width: 100% !important;
    box-shadow: none !important;
  }

  .footer-sns {
    display: flex !important;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .footer-right-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-top: 20px !important;
  }

  .footer-section {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  .footer-section h3 {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }

  .footer-bottom {
    padding: 10px 0 12px !important;
  }

  .footer-bottom-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: center !important;
  }

  .footer-bottom-container p,
  .footer-bottom-container a {
    color: #ffffff !important;
    opacity: 0.9 !important;
  }

  .footer-legal-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .footer-legal-links a {
    font-size: 12px !important;
  }
}
/* ============================================================
   PC版 お問い合わせボタン - 視認性強化バージョン
   （スマホはそのまま・PCのみ変更）
============================================================ */
@media (min-width: 1025px) {

  .footer-contact-btn {
      background: linear-gradient(135deg, #FF8A3C 0%, #FF6F1A 100%) !important;
      color: #ffffff !important;          /* ← 黒 → 白 に変更 */
      border: none !important;
      padding: 16px 36px !important;       /* 少し大きく */
      font-size: 18px !important;
      font-weight: 800 !important;
      border-radius: 40px !important;

      /* しっかり浮かせる影 */
      box-shadow: 0 6px 22px rgba(255, 120, 40, 0.35) !important;

      transition: all .25s ease-in-out !important;
  }

  /* ホバー（PCのみ） */
  .footer-contact-btn:hover {
      background: linear-gradient(135deg, #FF9A50 0%, #FF7B29 100%) !important;
      transform: translateY(-3px) !important;
      box-shadow: 0 10px 28px rgba(255, 120, 40, 0.45) !important;
  }
}
/* ============================================================
   PC版 お問い合わせボタン - 100% 上書きされる強制スタイル
============================================================ */
@media (min-width: 1025px) {

  .footer-main .footer-contact-btn,
  .footer-contact-btn,
  .footer-main a.footer-contact-btn {
      background: linear-gradient(135deg, #FF8A3C 0%, #FF6F1A 100%) !important;
      color: #ffffff !important;      
      border: none !important;

      padding: 18px 40px !important;
      font-size: 18px !important;
      font-weight: 800 !important;

      border-radius: 40px !important;

      box-shadow: 0 6px 22px rgba(255, 120, 40, 0.35) !important;

      display: inline-flex !important;
      justify-content: center !important;
      align-items: center !important;

      transition: all .25s ease-in-out !important;
  }

  .footer-main .footer-contact-btn:hover,
  .footer-contact-btn:hover {
      background: linear-gradient(135deg, #FF9A50 0%, #FF7B29 100%) !important;
      transform: translateY(-3px) !important;
      box-shadow: 0 10px 28px rgba(255, 120, 40, 0.45) !important;
  }
}
/************************************************
 * UMJ – スマホ版 お問い合わせボタン 中央揃え強制
 ************************************************/
@media (max-width: 768px) {

  .footer-contact-btn,
  .footer-main .footer-contact-btn,
  a.footer-contact-btn {

      display: flex !important;
      justify-content: center !important;
      align-items: center !important;

      width: 100% !important;
      text-align: center !important;

      padding: 16px 20px !important;
      font-size: 18px !important;
      font-weight: 700 !important;
      line-height: 1.4 !important;

      /* ボタンの視認性アップ */
      background: #fff !important;
      border: 2px solid var(--umj-orange) !important;
      color: var(--umj-orange) !important;
      border-radius: 32px !important;

      white-space: nowrap !important;
  }
}