@charset "UTF-8";

/* ==========================================
   ヘッダー＆ナビゲーション
   ========================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #222;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 15px;
}

.header-side-icon {
    width: 40px;
    display: flex;
    align-items: center;
}

.header-kamon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    color: var(--text-sub);
    letter-spacing: 1px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
    height: 65px;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #333;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-sub);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    width: 20%;
    padding: 5px 0;
    transition: color 0.2s;
}

.nav-item.active {
    color: var(--color-gold);
}

.nav-kanji {
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.nav-label {
    font-size: 0.6rem;
}

.btn-center {
    position: relative;
    top: -15px;
    background-color: var(--color-gold);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.btn-center.active {
    color: #000;
}

/* ==========================================
   メインレイアウト
   ========================================== */
#app-views-container {
    padding-top: 56px;
    padding-bottom: 80px;
}

.app-view {
    display: none;
    animation: fadeIn 0.3s ease;
}

.app-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}