/*
Theme Name: MIUX
Theme URI: https://miux.co.jp/
Author: MIUX Inc.
Description: MIUX SaaS管理システム用テーマ（bet.miux.co.jp）
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: miux
*/

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0b1020;
  color: #111827;
}


/* ============================================
   固定ページ（利用規約／プライバシーポリシー／特商法）
   ページ全体のデザイン最適化
============================================ */

.miux-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
}

.miux-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 左ロゴ */
.miux-footer-logo img {
    width: 150px;   /* 任意で調整 */
    height: auto;
}

/* 右メニュー（縦並び） */
.miux-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.miux-footer-menu li {
    margin-bottom: 8px;
}

.miux-footer-menu li:last-child {
    margin-bottom: 0;
}

.miux-footer-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.miux-footer-menu a:hover {
    opacity: 0.7;
}

/* スマホ最適化 */
@media (max-width: 480px) {
    .miux-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .miux-footer-menu {
        margin-top: 16px;
        text-align: center;
    }
}


/* ======================
 * MIUX アプリ共通ヘッダーバー
 * ====================== */
.miux-app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #020617; /* ダークネイビー */
  border-bottom: 1px solid rgba(148,163,184,0.3);
  z-index: 1000;
}

.miux-app-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ロゴ */
.miux-app-logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  text-decoration: none;
}

.miux-logo-main {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.miux-logo-sub {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ナビ（PC） */
.miux-app-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.miux-app-nav a {
  color: #cbd5f5;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.miux-app-nav a:hover {
  color: #ffffff;
}

.miux-app-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D45746, #23C6C2);
}

/* ハンバーガー（スマホ） */
.miux-app-nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: transparent;
  padding: 0;
  margin-left: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.miux-app-nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.miux-app-nav-toggle span + span {
  margin-top: 3px;
}

/* 開閉時の簡易アニメーション */
.miux-app-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.miux-app-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.miux-app-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* レスポンシブ制御 */
@media (max-width: 768px) {
  .miux-app-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    padding: 0.75rem 1.2rem 1rem;
    background: #020617;
    border-bottom: 1px solid rgba(148,163,184,0.25);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    display: none;
  }
  .miux-app-nav.is-open {
    display: flex;
  }

  .miux-app-nav-toggle {
    display: inline-flex;
  }
}
