.btn-auth {
    border: 1px solid var(--gray-300);
    padding: 0.5rem 0.7rem;
    border-radius: 0.5rem;
    margin-right: 0.5rem;
    font-size: 0.8rem !important;
    line-height: 1rem;
}

/* ヘッダードロップダウン（registepスタイル） */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-toggle .nav-chevron {
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown.active .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 8px 0;
    margin-top: 4px;
    z-index: 1050;
    overflow: hidden;
}

.nav-dropdown.active .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 12px;
    color: var(--gray-600);
    text-decoration: none;
    font-size: var(--font-size-sm);
    margin: 0 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(32, 174, 229, 0.08);
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 0;
        background: transparent;
    }
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown-menu a {
        color: var(--gray-600);
        padding: 8px 16px;
        margin: 0;
    }
}

/* ========================================
   サブヘッダーメニュー
   ======================================== */
.sub-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 76px;
    z-index: 1019;
}

.sub-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
}

/* PC: メインリンク */
.sub-header-links {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.sub-header-links a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 100%;
    padding: 0 1rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.sub-header-links a:hover {
    color: var(--primary-color);
    background: var(--gray-50);
}

.sub-header-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.sub-header-links a i {
    font-size: 0.85rem;
}

/* PC: ドットメニュー */
.sub-header-more {
    position: relative;
    height: 100%;
    display: flex !important;
    align-items: center;
}

.sub-header-more-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition-fast);
}

.sub-header-more-btn:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.sub-header-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    display: none;
    z-index: 1030;
    overflow: hidden;
}

.sub-header-dropdown.show {
    display: block;
}

.sub-header-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.sub-header-dropdown a:hover {
    background: var(--gray-50);
    color: var(--primary-color);
}

.sub-header-dropdown a i {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.sub-header-dropdown a:hover i {
    color: var(--primary-color);
}

/* ========================================
   スマホ表示
   ======================================== */
@media (max-width: 991px) {
    .sub-header {
        top: 56px;
    }

    .sub-header-links {
        display: none;
    }

    .sub-header-inner {
        height: 42px;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sub-header-more {
        flex-shrink: 0;
        height: 100%;
        display: flex !important;
        align-items: center;
        border-left: 1px solid var(--border-gray);
        padding-left: 4px;
    }

    .sub-header-dropdown {
        right: 0;
        left: auto;
    }

    .sub-header-mobile {
        display: flex;
        overflow-x: auto;
        gap: 0;
        flex: 1;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sub-header-mobile::-webkit-scrollbar {
        display: none;
    }

    .sub-header-mobile a {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        white-space: nowrap;
        color: var(--gray-500);
        text-decoration: none;
        font-size: var(--font-size-sm);
        font-weight: 500;
        padding: 0.65rem 0.85rem;
        border-bottom: 2px solid transparent;
        transition: var(--transition-fast);
    }

    .sub-header-mobile a.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        font-weight: 600;
    }

    .sub-header-mobile a i {
        font-size: 0.8rem;
    }
}

@media (min-width: 992px) {
    .sub-header-mobile {
        display: none;
    }
}
